llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpr29z2018.c' source_filename = "/tmp/tmpr29z2018.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @singularity_image_bind(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 @_singularity_image_bind(ptr noundef %3) ret i32 %4 } declare i32 @_singularity_image_bind(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr29z2018.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @singularity_image_bind(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 @_singularity_image_bind(ptr noundef %3) ret i32 %4 } declare i32 @_singularity_image_bind(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9ehutsno.c' source_filename = "/tmp/tmp9ehutsno.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rabinStr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %7, align 8 br label %14 14: ; preds = %18, %2 %15 = load ptr, ptr %7, align 8 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %14 %19 = load i32, ptr %10, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %10, align 4 %21 = load ptr, ptr %7, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %7, align 8 br label %14, !llvm.loop !6 23: ; preds = %14 %24 = load ptr, ptr %5, align 8 store ptr %24, ptr %7, align 8 br label %25 25: ; preds = %29, %23 %26 = load ptr, ptr %7, align 8 %27 = load i8, ptr %26, align 1 %28 = icmp ne i8 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %25 %30 = load i32, ptr %11, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %11, align 4 %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %7, align 8 br label %25, !llvm.loop !8 34: ; preds = %25 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %11, align 4 %37 = call i32 @hash_function(ptr noundef %35, i32 noundef %36) store i32 %37, ptr %8, align 4 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %11, align 4 %40 = call i32 @hash_function(ptr noundef %38, i32 noundef %39) store i32 %40, ptr %9, align 4 %41 = load ptr, ptr %4, align 8 store ptr %41, ptr %6, align 8 store i32 0, ptr %12, align 4 br label %42 42: ; preds = %77, %34 %43 = load i32, ptr %12, align 4 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %11, align 4 %46 = sub nsw i32 %44, %45 %47 = add nsw i32 %46, 1 %48 = icmp slt i32 %43, %47 br i1 %48, label %49, label %80 49: ; preds = %42 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %8, align 4 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %58 53: ; preds = %49 %54 = load ptr, ptr %6, align 8 %55 = load i32, ptr %12, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 store ptr %57, ptr %3, align 8 br label %81 58: ; preds = %49 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %12, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = load i32, ptr %9, align 4 %66 = sub nsw i32 %65, %64 store i32 %66, ptr %9, align 4 %67 = load ptr, ptr %4, align 8 %68 = load i32, ptr %12, align 4 %69 = load i32, ptr %11, align 4 %70 = add nsw i32 %68, %69 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %67, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = load i32, ptr %9, align 4 %76 = add nsw i32 %75, %74 store i32 %76, ptr %9, align 4 br label %77 77: ; preds = %58 %78 = load i32, ptr %12, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %12, align 4 br label %42, !llvm.loop !9 80: ; preds = %42 store ptr null, ptr %3, align 8 br label %81 81: ; preds = %80, %53 %82 = load ptr, ptr %3, align 8 ret ptr %82 } declare i32 @hash_function(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ehutsno.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rabinStr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %17 %18 = load i32, ptr %10, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %10, align 4 %20 = load ptr, ptr %7, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 %23 = load i8, ptr %22, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %25 25: ; preds = %._crit_edge, %2 %26 = load ptr, ptr %5, align 8 store ptr %26, ptr %7, align 8 %27 = load ptr, ptr %7, align 8 %28 = load i8, ptr %27, align 1 %29 = icmp ne i8 %28, 0 br i1 %29, label %.lr.ph2, label %38 .lr.ph2: ; preds = %25 br label %30 30: ; preds = %.lr.ph2, %30 %31 = load i32, ptr %11, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %11, align 4 %33 = load ptr, ptr %7, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i8, ptr %35, align 1 %37 = icmp ne i8 %36, 0 br i1 %37, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %38 38: ; preds = %._crit_edge3, %25 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %11, align 4 %41 = call i32 @hash_function(ptr noundef %39, i32 noundef %40) store i32 %41, ptr %8, align 4 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %11, align 4 %44 = call i32 @hash_function(ptr noundef %42, i32 noundef %43) store i32 %44, ptr %9, align 4 %45 = load ptr, ptr %4, align 8 store ptr %45, ptr %6, align 8 store i32 0, ptr %12, align 4 %46 = load i32, ptr %12, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %11, align 4 %49 = sub nsw i32 %47, %48 %50 = add nsw i32 %49, 1 %51 = icmp slt i32 %46, %50 br i1 %51, label %.lr.ph5, label %89 .lr.ph5: ; preds = %38 br label %52 52: ; preds = %.lr.ph5, %80 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %8, align 4 %55 = icmp eq i32 %53, %54 br i1 %55, label %56, label %61 56: ; preds = %52 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %12, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 store ptr %60, ptr %3, align 8 br label %90 61: ; preds = %52 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %12, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = load i32, ptr %9, align 4 %69 = sub nsw i32 %68, %67 store i32 %69, ptr %9, align 4 %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr %12, align 4 %72 = load i32, ptr %11, align 4 %73 = add nsw i32 %71, %72 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %70, i64 %74 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = load i32, ptr %9, align 4 %79 = add nsw i32 %78, %77 store i32 %79, ptr %9, align 4 br label %80 80: ; preds = %61 %81 = load i32, ptr %12, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %12, align 4 %83 = load i32, ptr %12, align 4 %84 = load i32, ptr %10, align 4 %85 = load i32, ptr %11, align 4 %86 = sub nsw i32 %84, %85 %87 = add nsw i32 %86, 1 %88 = icmp slt i32 %83, %87 br i1 %88, label %52, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %80 br label %89 89: ; preds = %._crit_edge6, %38 store ptr null, ptr %3, align 8 br label %90 90: ; preds = %89, %56 %91 = load ptr, ptr %3, align 8 ret ptr %91 } declare i32 @hash_function(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp61pyuort.c' source_filename = "/tmp/tmp61pyuort.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"task.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"task.out\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @fscanf(ptr noundef %8, ptr noundef @.str.4, ptr noundef %4, ptr noundef %5) %10 = load ptr, ptr %2, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @lcm(i32 noundef %13, i32 noundef %14) %16 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.5, i32 noundef %15) %17 = load ptr, ptr %3, align 8 %18 = call i32 @fclose(ptr noundef %17) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @lcm(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/tmp61pyuort.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"task.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"task.out\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @fscanf(ptr noundef %8, ptr noundef @.str.4, ptr noundef %4, ptr noundef %5) %10 = load ptr, ptr %2, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @lcm(i32 noundef %13, i32 noundef %14) %16 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.5, i32 noundef %15) %17 = load ptr, ptr %3, align 8 %18 = call i32 @fclose(ptr noundef %17) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @lcm(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/tmpmlqux70u.c' source_filename = "/tmp/tmpmlqux70u.c" target datalayout = "e-m:e-p270: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/tmpmlqux70u.c" target datalayout = "e-m:e-p270: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/tmpius88iwb.c' source_filename = "/tmp/tmpius88iwb.c" target datalayout = "e-m:e-p270: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.protoent = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pcap_nametoproto(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 ptr @getprotobyname(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds %struct.protoent, ptr %10, i32 0, i32 0 %12 = load i32, ptr %11, align 4 store i32 %12, ptr %2, align 4 br label %14 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %14 14: ; preds = %13, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare ptr @getprotobyname(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpius88iwb.c" target datalayout = "e-m:e-p270: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.protoent = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pcap_nametoproto(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 ptr @getprotobyname(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds %struct.protoent, ptr %10, i32 0, i32 0 %12 = load i32, ptr %11, align 4 store i32 %12, ptr %2, align 4 br label %14 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %14 14: ; preds = %13, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare ptr @getprotobyname(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz0ie084i.c' source_filename = "/tmp/tmpz0ie084i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tms_cal_chksum(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %30, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = sdiv i32 %9, 2 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %33 12: ; preds = %7 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = mul nsw i32 2, %14 %16 = add nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %13, i64 %17 %19 = load i32, ptr %18, align 4 %20 = shl i32 %19, 8 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = mul nsw i32 2, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %21, i64 %24 %26 = load i32, ptr %25, align 4 %27 = add nsw i32 %20, %26 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, %27 store i32 %29, ptr %6, align 4 br label %30 30: ; preds = %12 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %7, !llvm.loop !6 33: ; preds = %7 %34 = load i32, ptr %6, align 4 ret i32 %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpz0ie084i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tms_cal_chksum(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = sdiv i32 %8, 2 %10 = icmp slt i32 %7, %9 br i1 %10, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %29 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 2, %13 %15 = add nsw i32 %14, 1 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %12, i64 %16 %18 = load i32, ptr %17, align 4 %19 = shl i32 %18, 8 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = mul nsw i32 2, %21 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %20, i64 %23 %25 = load i32, ptr %24, align 4 %26 = add nsw i32 %19, %25 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, %26 store i32 %28, ptr %6, align 4 br label %29 29: ; preds = %11 %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 %4, align 4 %34 = sdiv i32 %33, 2 %35 = icmp slt i32 %32, %34 br i1 %35, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %36 36: ; preds = %._crit_edge, %2 %37 = load i32, ptr %6, align 4 ret i32 %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxkt3ngqr.c' source_filename = "/tmp/tmpxkt3ngqr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_cnpj(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.TYPE_3__, align 8 %6 = alloca %struct.TYPE_3__, align 8 %7 = alloca %struct.TYPE_3__, align 8 store i64 %0, ptr %2, align 8 %8 = load i64, ptr %2, align 8 %9 = call { i32, i64 } @lldiv(i64 noundef %8, i32 noundef 1000000) %10 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 0 %11 = extractvalue { i32, i64 } %9, 0 store i32 %11, ptr %10, align 8 %12 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 1 %13 = extractvalue { i32, i64 } %9, 1 store i64 %13, ptr %12, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %6, i64 16, i1 false) %14 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i32 0, i32 0 %15 = load i32, ptr %14, align 8 store i32 %15, ptr %3, align 4 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i32 0, i32 1 %17 = load i64, ptr %16, align 8 %18 = call { i32, i64 } @lldiv(i64 noundef %17, i32 noundef 100) %19 = getelementptr inbounds { i32, i64 }, ptr %7, i32 0, i32 0 %20 = extractvalue { i32, i64 } %18, 0 store i32 %20, ptr %19, align 8 %21 = getelementptr inbounds { i32, i64 }, ptr %7, i32 0, i32 1 %22 = extractvalue { i32, i64 } %18, 1 store i64 %22, ptr %21, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %7, i64 16, i1 false) %23 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i32 0, i32 0 %24 = load i32, ptr %23, align 8 store i32 %24, ptr %4, align 4 %25 = load i64, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = call i64 @calculate_cnpj_digit(i32 noundef %26, i32 noundef %27) %29 = icmp eq i64 %25, %28 %30 = zext i1 %29 to i32 ret i32 %30 } declare { i32, i64 } @lldiv(i64 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i64 @calculate_cnpj_digit(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxkt3ngqr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_cnpj(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.TYPE_3__, align 8 %6 = alloca %struct.TYPE_3__, align 8 %7 = alloca %struct.TYPE_3__, align 8 store i64 %0, ptr %2, align 8 %8 = load i64, ptr %2, align 8 %9 = call { i32, i64 } @lldiv(i64 noundef %8, i32 noundef 1000000) %10 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 0 %11 = extractvalue { i32, i64 } %9, 0 store i32 %11, ptr %10, align 8 %12 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 1 %13 = extractvalue { i32, i64 } %9, 1 store i64 %13, ptr %12, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %6, i64 16, i1 false) %14 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i32 0, i32 0 %15 = load i32, ptr %14, align 8 store i32 %15, ptr %3, align 4 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i32 0, i32 1 %17 = load i64, ptr %16, align 8 %18 = call { i32, i64 } @lldiv(i64 noundef %17, i32 noundef 100) %19 = getelementptr inbounds { i32, i64 }, ptr %7, i32 0, i32 0 %20 = extractvalue { i32, i64 } %18, 0 store i32 %20, ptr %19, align 8 %21 = getelementptr inbounds { i32, i64 }, ptr %7, i32 0, i32 1 %22 = extractvalue { i32, i64 } %18, 1 store i64 %22, ptr %21, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %7, i64 16, i1 false) %23 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i32 0, i32 0 %24 = load i32, ptr %23, align 8 store i32 %24, ptr %4, align 4 %25 = load i64, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = call i64 @calculate_cnpj_digit(i32 noundef %26, i32 noundef %27) %29 = icmp eq i64 %25, %28 %30 = zext i1 %29 to i32 ret i32 %30 } declare { i32, i64 } @lldiv(i64 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i64 @calculate_cnpj_digit(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo12zfv75.c' source_filename = "/tmp/tmpo12zfv75.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVBUF = 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/tmpo12zfv75.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVBUF = 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/tmp2eao51xn.c' source_filename = "/tmp/tmp2eao51xn.c" target datalayout = "e-m:e-p270: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/tmp2eao51xn.c" target datalayout = "e-m:e-p270: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/tmpgkuojeab.c' source_filename = "/tmp/tmpgkuojeab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"(%d, %d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %6, align 4 br label %8 8: ; preds = %63, %0 %9 = load i32, ptr %6, align 4 %10 = icmp sle i32 %9, 1000 br i1 %10, label %11, label %66 11: ; preds = %8 store i32 1, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp eq i32 %12, 10 br i1 %13, label %14, label %15 14: ; preds = %11 br label %66 15: ; preds = %11 store i32 2, ptr %5, align 4 br label %16 16: ; preds = %28, %15 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = sdiv i32 %18, 2 %20 = icmp sle i32 %17, %19 br i1 %20, label %21, label %31 21: ; preds = %16 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %5, align 4 %24 = srem i32 %22, %23 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %21 store i32 0, ptr %3, align 4 br label %31 27: ; preds = %21 br label %28 28: ; preds = %27 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 br label %16, !llvm.loop !6 31: ; preds = %26, %16 %32 = load i32, ptr %3, align 4 %33 = icmp eq i32 %32, 1 br i1 %33, label %34, label %62 34: ; preds = %31 store i32 1, ptr %4, align 4 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 2 store i32 %36, ptr %7, align 4 store i32 2, ptr %5, align 4 br label %37 37: ; preds = %49, %34 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %7, align 4 %40 = sdiv i32 %39, 2 %41 = icmp sle i32 %38, %40 br i1 %41, label %42, label %52 42: ; preds = %37 %43 = load i32, ptr %7, align 4 %44 = load i32, ptr %5, align 4 %45 = srem i32 %43, %44 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %42 store i32 0, ptr %4, align 4 br label %52 48: ; preds = %42 br label %49 49: ; preds = %48 %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %5, align 4 br label %37, !llvm.loop !8 52: ; preds = %47, %37 %53 = load i32, ptr %4, align 4 %54 = icmp eq i32 %53, 1 br i1 %54, label %55, label %61 55: ; preds = %52 %56 = load i32, ptr %2, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %2, align 4 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr %7, align 4 %60 = call i32 @printf(ptr noundef @.str, i32 noundef %58, i32 noundef %59) br label %61 61: ; preds = %55, %52 br label %62 62: ; preds = %61, %31 br label %63 63: ; preds = %62 %64 = load i32, ptr %6, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %6, align 4 br label %8, !llvm.loop !9 66: ; preds = %14, %8 ret i32 0 } declare i32 @printf(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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgkuojeab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"(%d, %d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp sle i32 %8, 1000 br i1 %9, label %.lr.ph4, label %.loopexit2 .lr.ph4: ; preds = %0 br label %10 10: ; preds = %.lr.ph4, %68 store i32 1, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 10 br i1 %12, label %13, label %14 13: ; preds = %10 br label %73 14: ; preds = %10 store i32 2, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = sdiv i32 %16, 2 %18 = icmp sle i32 %15, %17 br i1 %18, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %14 br label %19 19: ; preds = %.lr.ph, %26 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = srem i32 %20, %21 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %19 store i32 0, ptr %3, align 4 br label %33 25: ; preds = %19 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 = load i32, ptr %6, align 4 %31 = sdiv i32 %30, 2 %32 = icmp sle i32 %29, %31 br i1 %32, label %19, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %26 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %14 br label %33 33: ; preds = %.loopexit1, %24 %34 = load i32, ptr %3, align 4 %35 = icmp eq i32 %34, 1 br i1 %35, label %36, label %67 36: ; preds = %33 store i32 1, ptr %4, align 4 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 2 store i32 %38, ptr %7, align 4 store i32 2, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %7, align 4 %41 = sdiv i32 %40, 2 %42 = icmp sle i32 %39, %41 br i1 %42, label %.lr.ph3, label %.loopexit .lr.ph3: ; preds = %36 br label %43 43: ; preds = %.lr.ph3, %50 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %5, align 4 %46 = srem i32 %44, %45 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %49 48: ; preds = %43 store i32 0, ptr %4, align 4 br label %57 49: ; preds = %43 br label %50 50: ; preds = %49 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 %53 = load i32, ptr %5, align 4 %54 = load i32, ptr %7, align 4 %55 = sdiv i32 %54, 2 %56 = icmp sle i32 %53, %55 br i1 %56, label %43, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %50 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %36 br label %57 57: ; preds = %.loopexit, %48 %58 = load i32, ptr %4, align 4 %59 = icmp eq i32 %58, 1 br i1 %59, label %60, label %66 60: ; preds = %57 %61 = load i32, ptr %2, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %2, align 4 %63 = load i32, ptr %6, align 4 %64 = load i32, ptr %7, align 4 %65 = call i32 @printf(ptr noundef @.str, i32 noundef %63, i32 noundef %64) br label %66 66: ; preds = %60, %57 br label %67 67: ; preds = %66, %33 br label %68 68: ; preds = %67 %69 = load i32, ptr %6, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %6, align 4 %71 = load i32, ptr %6, align 4 %72 = icmp sle i32 %71, 1000 br i1 %72, label %10, label %..loopexit2_crit_edge, !llvm.loop !9 ..loopexit2_crit_edge: ; preds = %68 br label %.loopexit2 .loopexit2: ; preds = %..loopexit2_crit_edge, %0 br label %73 73: ; preds = %.loopexit2, %13 ret i32 0 } declare i32 @printf(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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpsxehb7rl.c' source_filename = "/tmp/tmpsxehb7rl.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"usage: %s [file]\0A\00", align 1 @stdin = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"%s: unable to open file %s\0A\00", align 1 @EOF = 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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 2 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) store i32 -1, ptr %3, align 4 br label %60 16: ; preds = %2 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = load ptr, ptr @stdin, align 8 store ptr %20, ptr %7, align 8 br label %37 21: ; preds = %16 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %7, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %36, label %27 27: ; preds = %21 %28 = load i32, ptr @stderr, align 4 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 0 %31 = load ptr, ptr %30, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.2, ptr noundef %31, ptr noundef %34) store i32 -2, ptr %3, align 4 br label %60 36: ; preds = %21 br label %37 37: ; preds = %36, %19 br label %38 38: ; preds = %58, %46, %37 %39 = load ptr, ptr %7, align 8 %40 = call i32 @fgetc(ptr noundef %39) store i32 %40, ptr %6, align 4 %41 = load i32, ptr @EOF, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %43, label %59 43: ; preds = %38 %44 = load i32, ptr %6, align 4 %45 = icmp eq i32 %44, 13 br i1 %45, label %46, label %47 46: ; preds = %43 br label %38, !llvm.loop !6 47: ; preds = %43 %48 = load i32, ptr %6, align 4 %49 = icmp eq i32 %48, 10 br i1 %49, label %50, label %53 50: ; preds = %47 %51 = load i32, ptr @stdout, align 4 %52 = call i32 @fputc(i32 noundef 13, i32 noundef %51) br label %57 53: ; preds = %47 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr @stdout, align 4 %56 = call i32 @fputc(i32 noundef %54, i32 noundef %55) br label %57 57: ; preds = %53, %50 br label %58 58: ; preds = %57 br label %38, !llvm.loop !6 59: ; preds = %38 store i32 0, ptr %3, align 4 br label %60 60: ; preds = %59, %27, %10 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fputc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsxehb7rl.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"usage: %s [file]\0A\00", align 1 @stdin = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"%s: unable to open file %s\0A\00", align 1 @EOF = 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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 2 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) store i32 -1, ptr %3, align 4 br label %63 16: ; preds = %2 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = load ptr, ptr @stdin, align 8 store ptr %20, ptr %7, align 8 br label %37 21: ; preds = %16 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %7, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %36, label %27 27: ; preds = %21 %28 = load i32, ptr @stderr, align 4 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 0 %31 = load ptr, ptr %30, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.2, ptr noundef %31, ptr noundef %34) store i32 -2, ptr %3, align 4 br label %63 36: ; preds = %21 br label %37 37: ; preds = %36, %19 %38 = load ptr, ptr %7, align 8 %39 = call i32 @fgetc(ptr noundef %38) store i32 %39, ptr %6, align 4 %40 = load i32, ptr @EOF, align 4 %41 = icmp ne i32 %39, %40 br i1 %41, label %.lr.ph, label %62 .lr.ph: ; preds = %37 br label %42 42: ; preds = %.lr.ph, %.backedge %43 = load i32, ptr %6, align 4 %44 = icmp eq i32 %43, 13 br i1 %44, label %45, label %50 45: ; preds = %42 br label %.backedge .backedge: ; preds = %45, %61 %46 = load ptr, ptr %7, align 8 %47 = call i32 @fgetc(ptr noundef %46) store i32 %47, ptr %6, align 4 %48 = load i32, ptr @EOF, align 4 %49 = icmp ne i32 %47, %48 br i1 %49, label %42, label %._crit_edge, !llvm.loop !6 50: ; preds = %42 %51 = load i32, ptr %6, align 4 %52 = icmp eq i32 %51, 10 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load i32, ptr @stdout, align 4 %55 = call i32 @fputc(i32 noundef 13, i32 noundef %54) br label %60 56: ; preds = %50 %57 = load i32, ptr %6, align 4 %58 = load i32, ptr @stdout, align 4 %59 = call i32 @fputc(i32 noundef %57, i32 noundef %58) br label %60 60: ; preds = %56, %53 br label %61 61: ; preds = %60 br label %.backedge ._crit_edge: ; preds = %.backedge br label %62 62: ; preds = %._crit_edge, %37 store i32 0, ptr %3, align 4 br label %63 63: ; preds = %62, %27, %10 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fputc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpixobf9xb.c' source_filename = "/tmp/tmpixobf9xb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Input quarts of water:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"The number of water molucules is about %e.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load float, ptr %2, align 4 %6 = fdiv float %5, 3.000000e+00 %7 = fpext float %6 to double %8 = fmul double %7, 0x44B52D02C7E14AF6 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpixobf9xb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Input quarts of water:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"The number of water molucules is about %e.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load float, ptr %2, align 4 %6 = fdiv float %5, 3.000000e+00 %7 = fpext float %6 to double %8 = fmul double %7, 0x44B52D02C7E14AF6 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy15f11bb.c' source_filename = "/tmp/tmpy15f11bb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [100002 x i32], align 16 %18 = alloca [100001 x i8], align 16 %19 = alloca [100001 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %19, i8 0, i64 400004, i1 false) %20 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %4) %21 = getelementptr inbounds [100001 x i8], ptr %18, i64 0, i64 0 %22 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %21) %23 = getelementptr inbounds [100001 x i8], ptr %18, i64 0, i64 0 %24 = call i32 @strlen(ptr noundef %23) store i32 %24, ptr %6, align 4 %25 = getelementptr inbounds [100001 x i8], ptr %18, i64 0, i64 0 %26 = load i8, ptr %25, align 16 %27 = sext i8 %26 to i32 %28 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 1 store i32 %27, ptr %28, align 4 store i32 2, ptr %13, align 4 br label %29 29: ; preds = %50, %0 %30 = load i32, ptr %13, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp sle i32 %30, %31 br i1 %32, label %33, label %53 33: ; preds = %29 %34 = load i32, ptr %13, align 4 %35 = sub nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [100001 x i8], ptr %18, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = sub nsw i32 %39, 48 %41 = load i32, ptr %13, align 4 %42 = sub nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = add nsw i32 %40, %45 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 %48 store i32 %46, ptr %49, align 4 br label %50 50: ; preds = %33 %51 = load i32, ptr %13, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %13, align 4 br label %29, !llvm.loop !6 53: ; preds = %29 br label %54 54: ; preds = %136, %53 %55 = load i32, ptr %4, align 4 %56 = add nsw i32 %55, -1 store i32 %56, ptr %4, align 4 %57 = icmp ne i32 %55, 0 br i1 %57, label %58, label %137 58: ; preds = %54 %59 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %7) %60 = load i32, ptr %7, align 4 %61 = icmp eq i32 %60, 1 br i1 %61, label %62, label %89 62: ; preds = %58 %63 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %8, ptr noundef %9) %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %8, align 4 %66 = sub nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [100001 x i8], ptr %18, i64 0, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = sub nsw i32 %64, %70 %72 = add nsw i32 %71, 48 store i32 %72, ptr %15, align 4 %73 = load i32, ptr %8, align 4 store i32 %73, ptr %13, align 4 br label %74 74: ; preds = %85, %62 %75 = load i32, ptr %13, align 4 %76 = load i32, ptr %6, align 4 %77 = icmp sle i32 %75, %76 br i1 %77, label %78, label %88 78: ; preds = %74 %79 = load i32, ptr %15, align 4 %80 = load i32, ptr %13, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 %81 %83 = load i32, ptr %82, align 4 %84 = add nsw i32 %83, %79 store i32 %84, ptr %82, align 4 br label %85 85: ; preds = %78 %86 = load i32, ptr %13, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %13, align 4 br label %74, !llvm.loop !8 88: ; preds = %74 br label %136 89: ; preds = %58 store i32 0, ptr %10, align 4 %90 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %11, ptr noundef %12) store i32 0, ptr %13, align 4 br label %91 91: ; preds = %130, %89 %92 = load i32, ptr %13, align 4 %93 = load i32, ptr %12, align 4 %94 = load i32, ptr %11, align 4 %95 = sub nsw i32 %93, %94 %96 = add nsw i32 %95, 1 %97 = icmp sle i32 %92, %96 br i1 %97, label %98, label %133 98: ; preds = %91 %99 = load i32, ptr %11, align 4 store i32 %99, ptr %14, align 4 br label %100 100: ; preds = %126, %98 %101 = load i32, ptr %14, align 4 %102 = load i32, ptr %12, align 4 %103 = load i32, ptr %13, align 4 %104 = sub nsw i32 %102, %103 %105 = icmp sle i32 %101, %104 br i1 %105, label %106, label %129 106: ; preds = %100 %107 = load i32, ptr %14, align 4 %108 = load i32, ptr %13, align 4 %109 = add nsw i32 %107, %108 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 %110 %112 = load i32, ptr %111, align 4 %113 = load i32, ptr %14, align 4 %114 = sub nsw i32 %113, 1 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 %115 %117 = load i32, ptr %116, align 4 %118 = sub nsw i32 %112, %117 store i32 %118, ptr %3, align 4 %119 = load i32, ptr %3, align 4 %120 = srem i32 %119, 3 %121 = icmp eq i32 %120, 0 br i1 %121, label %122, label %125 122: ; preds = %106 %123 = load i32, ptr %10, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %10, align 4 br label %125 125: ; preds = %122, %106 br label %126 126: ; preds = %125 %127 = load i32, ptr %14, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %14, align 4 br label %100, !llvm.loop !9 129: ; preds = %100 br label %130 130: ; preds = %129 %131 = load i32, ptr %13, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %13, align 4 br label %91, !llvm.loop !10 133: ; preds = %91 %134 = load i32, ptr %10, align 4 %135 = call i32 @printf(ptr noundef @.str.3, i32 noundef %134) br label %136 136: ; preds = %133, %88 br label %54, !llvm.loop !11 137: ; preds = %54 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ...) #2 declare i32 @strlen(ptr noundef) #2 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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy15f11bb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [100002 x i32], align 16 %18 = alloca [100001 x i8], align 16 %19 = alloca [100001 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %19, i8 0, i64 400004, i1 false) %20 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %4) %21 = getelementptr inbounds [100001 x i8], ptr %18, i64 0, i64 0 %22 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %21) %23 = getelementptr inbounds [100001 x i8], ptr %18, i64 0, i64 0 %24 = call i32 @strlen(ptr noundef %23) store i32 %24, ptr %6, align 4 %25 = getelementptr inbounds [100001 x i8], ptr %18, i64 0, i64 0 %26 = load i8, ptr %25, align 16 %27 = sext i8 %26 to i32 %28 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 1 store i32 %27, ptr %28, align 4 store i32 2, ptr %13, align 4 %29 = load i32, ptr %13, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %.lr.ph, label %55 .lr.ph: ; preds = %0 br label %32 32: ; preds = %.lr.ph, %49 %33 = load i32, ptr %13, align 4 %34 = sub nsw i32 %33, 1 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [100001 x i8], ptr %18, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = sub nsw i32 %38, 48 %40 = load i32, ptr %13, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = add nsw i32 %39, %44 %46 = load i32, ptr %13, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 %47 store i32 %45, ptr %48, align 4 br label %49 49: ; preds = %32 %50 = load i32, ptr %13, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %13, align 4 %52 = load i32, ptr %13, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp sle i32 %52, %53 br i1 %54, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %55 55: ; preds = %._crit_edge, %0 %56 = load i32, ptr %4, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %4, align 4 %58 = icmp ne i32 %56, 0 br i1 %58, label %.lr.ph11, label %152 .lr.ph11: ; preds = %55 br label %59 59: ; preds = %.lr.ph11, %148 %60 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %7) %61 = load i32, ptr %7, align 4 %62 = icmp eq i32 %61, 1 br i1 %62, label %63, label %92 63: ; preds = %59 %64 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %8, ptr noundef %9) %65 = load i32, ptr %9, align 4 %66 = load i32, ptr %8, align 4 %67 = sub nsw i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [100001 x i8], ptr %18, i64 0, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = sub nsw i32 %65, %71 %73 = add nsw i32 %72, 48 store i32 %73, ptr %15, align 4 %74 = load i32, ptr %8, align 4 store i32 %74, ptr %13, align 4 %75 = load i32, ptr %13, align 4 %76 = load i32, ptr %6, align 4 %77 = icmp sle i32 %75, %76 br i1 %77, label %.lr.ph8, label %91 .lr.ph8: ; preds = %63 br label %78 78: ; preds = %.lr.ph8, %85 %79 = load i32, ptr %15, align 4 %80 = load i32, ptr %13, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 %81 %83 = load i32, ptr %82, align 4 %84 = add nsw i32 %83, %79 store i32 %84, ptr %82, align 4 br label %85 85: ; preds = %78 %86 = load i32, ptr %13, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %13, align 4 %88 = load i32, ptr %13, align 4 %89 = load i32, ptr %6, align 4 %90 = icmp sle i32 %88, %89 br i1 %90, label %78, label %._crit_edge9, !llvm.loop !8 ._crit_edge9: ; preds = %85 br label %91 91: ; preds = %._crit_edge9, %63 br label %148 92: ; preds = %59 store i32 0, ptr %10, align 4 %93 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %11, ptr noundef %12) store i32 0, ptr %13, align 4 %94 = load i32, ptr %13, align 4 %95 = load i32, ptr %12, align 4 %96 = load i32, ptr %11, align 4 %97 = sub nsw i32 %95, %96 %98 = add nsw i32 %97, 1 %99 = icmp sle i32 %94, %98 br i1 %99, label %.lr.ph5, label %145 .lr.ph5: ; preds = %92 br label %100 100: ; preds = %.lr.ph5, %136 %101 = load i32, ptr %11, align 4 store i32 %101, ptr %14, align 4 %102 = load i32, ptr %14, align 4 %103 = load i32, ptr %12, align 4 %104 = load i32, ptr %13, align 4 %105 = sub nsw i32 %103, %104 %106 = icmp sle i32 %102, %105 br i1 %106, label %.lr.ph2, label %135 .lr.ph2: ; preds = %100 br label %107 107: ; preds = %.lr.ph2, %127 %108 = load i32, ptr %14, align 4 %109 = load i32, ptr %13, align 4 %110 = add nsw i32 %108, %109 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 %111 %113 = load i32, ptr %112, align 4 %114 = load i32, ptr %14, align 4 %115 = sub nsw i32 %114, 1 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [100001 x i32], ptr %19, i64 0, i64 %116 %118 = load i32, ptr %117, align 4 %119 = sub nsw i32 %113, %118 store i32 %119, ptr %3, align 4 %120 = load i32, ptr %3, align 4 %121 = srem i32 %120, 3 %122 = icmp eq i32 %121, 0 br i1 %122, label %123, label %126 123: ; preds = %107 %124 = load i32, ptr %10, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %10, align 4 br label %126 126: ; preds = %123, %107 br label %127 127: ; preds = %126 %128 = load i32, ptr %14, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %14, align 4 %130 = load i32, ptr %14, align 4 %131 = load i32, ptr %12, align 4 %132 = load i32, ptr %13, align 4 %133 = sub nsw i32 %131, %132 %134 = icmp sle i32 %130, %133 br i1 %134, label %107, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %127 br label %135 135: ; preds = %._crit_edge3, %100 br label %136 136: ; preds = %135 %137 = load i32, ptr %13, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %13, align 4 %139 = load i32, ptr %13, align 4 %140 = load i32, ptr %12, align 4 %141 = load i32, ptr %11, align 4 %142 = sub nsw i32 %140, %141 %143 = add nsw i32 %142, 1 %144 = icmp sle i32 %139, %143 br i1 %144, label %100, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %136 br label %145 145: ; preds = %._crit_edge6, %92 %146 = load i32, ptr %10, align 4 %147 = call i32 @printf(ptr noundef @.str.3, i32 noundef %146) br label %148 148: ; preds = %145, %91 %149 = load i32, ptr %4, align 4 %150 = add nsw i32 %149, -1 store i32 %150, ptr %4, align 4 %151 = icmp ne i32 %149, 0 br i1 %151, label %59, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %148 br label %152 152: ; preds = %._crit_edge12, %55 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ...) #2 declare i32 @strlen(ptr noundef) #2 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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp5oqzo3v1.c' source_filename = "/tmp/tmp5oqzo3v1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"path_quickcut: invalid output\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"path_quickcut: null input\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"path_quickcut: maxlen too long\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @path_quickcut(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %14 = load i64, ptr %8, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %5 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %16, %5 %20 = call i32 @errx(i32 noundef 1, ptr noundef @.str) br label %21 21: ; preds = %19, %16 %22 = load ptr, ptr %7, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @errx(i32 noundef 1, ptr noundef @.str.1) br label %26 26: ; preds = %24, %21 %27 = load i64, ptr %9, align 8 %28 = add i64 %27, 1 %29 = load i64, ptr %8, align 8 %30 = icmp ugt i64 %28, %29 br i1 %30, label %31, label %33 31: ; preds = %26 %32 = call i32 @errx(i32 noundef 1, ptr noundef @.str.2) br label %33 33: ; preds = %31, %26 %34 = load i64, ptr %9, align 8 %35 = add i64 %34, 1 store i64 %35, ptr %8, align 8 %36 = load ptr, ptr %7, align 8 %37 = call i64 @wcslen(ptr noundef %36) store i64 %37, ptr %11, align 8 %38 = load i64, ptr %11, align 8 %39 = load i64, ptr %9, align 8 %40 = icmp ule i64 %38, %39 br i1 %40, label %41, label %46 41: ; preds = %33 %42 = load ptr, ptr %6, align 8 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %8, align 8 %45 = call i64 @wcslcpy(ptr noundef %42, ptr noundef %43, i64 noundef %44) br label %72 46: ; preds = %33 %47 = load ptr, ptr %6, align 8 %48 = load ptr, ptr %10, align 8 %49 = load i64, ptr %8, align 8 %50 = call i64 @wcslcpy(ptr noundef %47, ptr noundef %48, i64 noundef %49) store i64 %50, ptr %12, align 8 %51 = load i64, ptr %12, align 8 %52 = load i64, ptr %9, align 8 %53 = icmp uge i64 %51, %52 br i1 %53, label %54, label %55 54: ; preds = %46 br label %72 55: ; preds = %46 %56 = load i64, ptr %11, align 8 %57 = load i64, ptr %9, align 8 %58 = sub i64 %56, %57 store i64 %58, ptr %13, align 8 %59 = load i64, ptr %13, align 8 %60 = load i64, ptr %12, align 8 %61 = add i64 %59, %60 %62 = load ptr, ptr %7, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 %61 store ptr %63, ptr %7, align 8 %64 = load ptr, ptr %6, align 8 %65 = load i64, ptr %12, align 8 %66 = getelementptr inbounds i32, ptr %64, i64 %65 %67 = load ptr, ptr %7, align 8 %68 = load i64, ptr %8, align 8 %69 = load i64, ptr %12, align 8 %70 = sub i64 %68, %69 %71 = call i64 @wcslcpy(ptr noundef %66, ptr noundef %67, i64 noundef %70) br label %72 72: ; preds = %55, %54, %41 ret void } declare i32 @errx(i32 noundef, ptr noundef) #1 declare i64 @wcslen(ptr noundef) #1 declare i64 @wcslcpy(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/tmp5oqzo3v1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"path_quickcut: invalid output\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"path_quickcut: null input\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"path_quickcut: maxlen too long\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @path_quickcut(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %14 = load i64, ptr %8, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %5 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %16, %5 %20 = call i32 @errx(i32 noundef 1, ptr noundef @.str) br label %21 21: ; preds = %19, %16 %22 = load ptr, ptr %7, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @errx(i32 noundef 1, ptr noundef @.str.1) br label %26 26: ; preds = %24, %21 %27 = load i64, ptr %9, align 8 %28 = add i64 %27, 1 %29 = load i64, ptr %8, align 8 %30 = icmp ugt i64 %28, %29 br i1 %30, label %31, label %33 31: ; preds = %26 %32 = call i32 @errx(i32 noundef 1, ptr noundef @.str.2) br label %33 33: ; preds = %31, %26 %34 = load i64, ptr %9, align 8 %35 = add i64 %34, 1 store i64 %35, ptr %8, align 8 %36 = load ptr, ptr %7, align 8 %37 = call i64 @wcslen(ptr noundef %36) store i64 %37, ptr %11, align 8 %38 = load i64, ptr %11, align 8 %39 = load i64, ptr %9, align 8 %40 = icmp ule i64 %38, %39 br i1 %40, label %41, label %46 41: ; preds = %33 %42 = load ptr, ptr %6, align 8 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %8, align 8 %45 = call i64 @wcslcpy(ptr noundef %42, ptr noundef %43, i64 noundef %44) br label %72 46: ; preds = %33 %47 = load ptr, ptr %6, align 8 %48 = load ptr, ptr %10, align 8 %49 = load i64, ptr %8, align 8 %50 = call i64 @wcslcpy(ptr noundef %47, ptr noundef %48, i64 noundef %49) store i64 %50, ptr %12, align 8 %51 = load i64, ptr %12, align 8 %52 = load i64, ptr %9, align 8 %53 = icmp uge i64 %51, %52 br i1 %53, label %54, label %55 54: ; preds = %46 br label %72 55: ; preds = %46 %56 = load i64, ptr %11, align 8 %57 = load i64, ptr %9, align 8 %58 = sub i64 %56, %57 store i64 %58, ptr %13, align 8 %59 = load i64, ptr %13, align 8 %60 = load i64, ptr %12, align 8 %61 = add i64 %59, %60 %62 = load ptr, ptr %7, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 %61 store ptr %63, ptr %7, align 8 %64 = load ptr, ptr %6, align 8 %65 = load i64, ptr %12, align 8 %66 = getelementptr inbounds i32, ptr %64, i64 %65 %67 = load ptr, ptr %7, align 8 %68 = load i64, ptr %8, align 8 %69 = load i64, ptr %12, align 8 %70 = sub i64 %68, %69 %71 = call i64 @wcslcpy(ptr noundef %66, ptr noundef %67, i64 noundef %70) br label %72 72: ; preds = %55, %54, %41 ret void } declare i32 @errx(i32 noundef, ptr noundef) #1 declare i64 @wcslen(ptr noundef) #1 declare i64 @wcslcpy(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/tmptd52geqy.c' source_filename = "/tmp/tmptd52geqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @order2wrap(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds i64, ptr %10, i64 0 %12 = load i64, ptr %11, align 8 store i64 %12, ptr %7, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i64, ptr %13, i64 0 %15 = load i64, ptr %14, align 8 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i64, ptr %16, i64 0 store i64 %15, ptr %17, align 8 store i64 1, ptr %8, align 8 br label %18 18: ; preds = %48, %3 %19 = load i64, ptr %8, align 8 %20 = load i64, ptr %7, align 8 %21 = icmp sle i64 %19, %20 br i1 %21, label %22, label %51 22: ; preds = %18 %23 = load ptr, ptr %4, align 8 %24 = load i64, ptr %8, align 8 %25 = getelementptr inbounds i64, ptr %23, i64 %24 store i64 1, ptr %25, align 8 store i64 1, ptr %9, align 8 br label %26 26: ; preds = %44, %22 %27 = load i64, ptr %9, align 8 %28 = load ptr, ptr %6, align 8 %29 = load i64, ptr %8, align 8 %30 = getelementptr inbounds i64, ptr %28, i64 %29 %31 = load i64, ptr %30, align 8 %32 = call i64 @labs(i64 noundef %31) #2 %33 = icmp slt i64 %27, %32 br i1 %33, label %34, label %47 34: ; preds = %26 %35 = load ptr, ptr %5, align 8 %36 = load i64, ptr %9, align 8 %37 = getelementptr inbounds i64, ptr %35, i64 %36 %38 = load i64, ptr %37, align 8 %39 = load ptr, ptr %4, align 8 %40 = load i64, ptr %8, align 8 %41 = getelementptr inbounds i64, ptr %39, i64 %40 %42 = load i64, ptr %41, align 8 %43 = mul nsw i64 %42, %38 store i64 %43, ptr %41, align 8 br label %44 44: ; preds = %34 %45 = load i64, ptr %9, align 8 %46 = add nsw i64 %45, 1 store i64 %46, ptr %9, align 8 br label %26, !llvm.loop !6 47: ; preds = %26 br label %48 48: ; preds = %47 %49 = load i64, ptr %8, align 8 %50 = add nsw i64 %49, 1 store i64 %50, ptr %8, align 8 br label %18, !llvm.loop !8 51: ; preds = %18 ret i32 0 } ; Function Attrs: nounwind willreturn memory(none) declare i64 @labs(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptd52geqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @order2wrap(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds i64, ptr %10, i64 0 %12 = load i64, ptr %11, align 8 store i64 %12, ptr %7, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i64, ptr %13, i64 0 %15 = load i64, ptr %14, align 8 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i64, ptr %16, i64 0 store i64 %15, ptr %17, align 8 store i64 1, ptr %8, align 8 %18 = load i64, ptr %8, align 8 %19 = load i64, ptr %7, align 8 %20 = icmp sle i64 %18, %19 br i1 %20, label %.lr.ph2, label %59 .lr.ph2: ; preds = %3 br label %21 21: ; preds = %.lr.ph2, %53 %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %8, align 8 %24 = getelementptr inbounds i64, ptr %22, i64 %23 store i64 1, ptr %24, align 8 store i64 1, ptr %9, align 8 %25 = load i64, ptr %9, align 8 %26 = load ptr, ptr %6, align 8 %27 = load i64, ptr %8, align 8 %28 = getelementptr inbounds i64, ptr %26, i64 %27 %29 = load i64, ptr %28, align 8 %30 = call i64 @labs(i64 noundef %29) #2 %31 = icmp slt i64 %25, %30 br i1 %31, label %.lr.ph, label %52 .lr.ph: ; preds = %21 br label %32 32: ; preds = %.lr.ph, %42 %33 = load ptr, ptr %5, align 8 %34 = load i64, ptr %9, align 8 %35 = getelementptr inbounds i64, ptr %33, i64 %34 %36 = load i64, ptr %35, align 8 %37 = load ptr, ptr %4, align 8 %38 = load i64, ptr %8, align 8 %39 = getelementptr inbounds i64, ptr %37, i64 %38 %40 = load i64, ptr %39, align 8 %41 = mul nsw i64 %40, %36 store i64 %41, ptr %39, align 8 br label %42 42: ; preds = %32 %43 = load i64, ptr %9, align 8 %44 = add nsw i64 %43, 1 store i64 %44, ptr %9, align 8 %45 = load i64, ptr %9, align 8 %46 = load ptr, ptr %6, align 8 %47 = load i64, ptr %8, align 8 %48 = getelementptr inbounds i64, ptr %46, i64 %47 %49 = load i64, ptr %48, align 8 %50 = call i64 @labs(i64 noundef %49) #2 %51 = icmp slt i64 %45, %50 br i1 %51, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %52 52: ; preds = %._crit_edge, %21 br label %53 53: ; preds = %52 %54 = load i64, ptr %8, align 8 %55 = add nsw i64 %54, 1 store i64 %55, ptr %8, align 8 %56 = load i64, ptr %8, align 8 %57 = load i64, ptr %7, align 8 %58 = icmp sle i64 %56, %57 br i1 %58, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %59 59: ; preds = %._crit_edge3, %3 ret i32 0 } ; Function Attrs: nounwind willreturn memory(none) declare i64 @labs(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbo5k6oef.c' source_filename = "/tmp/tmpbo5k6oef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 42, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %24, %1 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %27 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = mul nsw i32 %14, %20 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %12 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %8, !llvm.loop !6 27: ; preds = %8 %28 = load i32, ptr %4, align 4 %29 = call i32 @make_record(i32 noundef %28) %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 ret i64 %31 } declare i32 @strlen(ptr noundef) #1 declare i32 @make_record(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/tmpbo5k6oef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 42, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %23 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = mul nsw i32 %13, %19 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, %20 store i32 %22, ptr %4, align 4 br label %23 23: ; preds = %11 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %1 %30 = load i32, ptr %4, align 4 %31 = call i32 @make_record(i32 noundef %30) %32 = load i32, ptr %4, align 4 %33 = sext i32 %32 to i64 ret i64 %33 } declare i32 @strlen(ptr noundef) #1 declare i32 @make_record(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/tmpk8t5hh7q.c' source_filename = "/tmp/tmpk8t5hh7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TimerIntUnregister(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @_TimerIntNumberGet(i32 noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = call i32 @IntDisable(i32 noundef %9) %11 = load i32, ptr %5, align 4 %12 = call i32 @IntUnregister(i32 noundef %11) ret void } declare i32 @_TimerIntNumberGet(i32 noundef, i32 noundef) #1 declare i32 @IntDisable(i32 noundef) #1 declare i32 @IntUnregister(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/tmpk8t5hh7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TimerIntUnregister(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @_TimerIntNumberGet(i32 noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = call i32 @IntDisable(i32 noundef %9) %11 = load i32, ptr %5, align 4 %12 = call i32 @IntUnregister(i32 noundef %11) ret void } declare i32 @_TimerIntNumberGet(i32 noundef, i32 noundef) #1 declare i32 @IntDisable(i32 noundef) #1 declare i32 @IntUnregister(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/tmpwset35cs.c' source_filename = "/tmp/tmpwset35cs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"HTTP/1.1 404 Not Found\0ADate: \00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"\0AContent-Type: text/html\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Content-Length: 117\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"<html><body>\0A<h2>Document not found\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"</h2>\0AYou asked for a document \00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"that doesn't exist. That is so sad.\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"</body></html>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_NOT_FOUND(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [4096 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 4096, i1 false) %6 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %7 = call i32 @strcat(ptr noundef %6, ptr noundef @.str) %8 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strcat(ptr noundef %8, ptr noundef %9) %11 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str.1) %13 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %14 = call i32 @strcat(ptr noundef %13, ptr noundef @.str.2) %15 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str.3) %17 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %18 = call i32 @strcat(ptr noundef %17, ptr noundef @.str.4) %19 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %20 = call i32 @strcat(ptr noundef %19, ptr noundef @.str.5) %21 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.6) %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %25 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %26 = call i32 @strlen(ptr noundef %25) %27 = call i32 @set_write_content(ptr noundef %23, ptr noundef %24, i32 noundef %26) 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 i32 @strcat(ptr noundef, ptr noundef) #2 declare i32 @set_write_content(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwset35cs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"HTTP/1.1 404 Not Found\0ADate: \00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"\0AContent-Type: text/html\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Content-Length: 117\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"<html><body>\0A<h2>Document not found\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"</h2>\0AYou asked for a document \00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"that doesn't exist. That is so sad.\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"</body></html>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_NOT_FOUND(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [4096 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 4096, i1 false) %6 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %7 = call i32 @strcat(ptr noundef %6, ptr noundef @.str) %8 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strcat(ptr noundef %8, ptr noundef %9) %11 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str.1) %13 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %14 = call i32 @strcat(ptr noundef %13, ptr noundef @.str.2) %15 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str.3) %17 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %18 = call i32 @strcat(ptr noundef %17, ptr noundef @.str.4) %19 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %20 = call i32 @strcat(ptr noundef %19, ptr noundef @.str.5) %21 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.6) %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %25 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %26 = call i32 @strlen(ptr noundef %25) %27 = call i32 @set_write_content(ptr noundef %23, ptr noundef %24, i32 noundef %26) 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 i32 @strcat(ptr noundef, ptr noundef) #2 declare i32 @set_write_content(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjptdgihv.c' source_filename = "/tmp/tmpjptdgihv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"max(%d,%d)=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"2*pi = %lf\0A\00", align 1 @M_PI = dso_local global double 0.000000e+00, align 8 ; 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 12, ptr %2, align 4 store i32 -2, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = sitofp i32 %4 to double %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp sgt i32 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %0 %11 = load i32, ptr %2, align 4 br label %14 12: ; preds = %0 %13 = load i32, ptr %3, align 4 br label %14 14: ; preds = %12, %10 %15 = phi i32 [ %11, %10 ], [ %13, %12 ] %16 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %5, i32 noundef %6, i32 noundef %15) %17 = load double, ptr @M_PI, align 8 %18 = fmul double %17, 2.000000e+00 %19 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, double noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjptdgihv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"max(%d,%d)=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"2*pi = %lf\0A\00", align 1 @M_PI = dso_local global double 0.000000e+00, align 8 ; 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 12, ptr %2, align 4 store i32 -2, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = sitofp i32 %4 to double %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp sgt i32 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %0 %11 = load i32, ptr %2, align 4 br label %14 12: ; preds = %0 %13 = load i32, ptr %3, align 4 br label %14 14: ; preds = %12, %10 %15 = phi i32 [ %11, %10 ], [ %13, %12 ] %16 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %5, i32 noundef %6, i32 noundef %15) %17 = load double, ptr @M_PI, align 8 %18 = fmul double %17, 2.000000e+00 %19 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, double noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy9s8f2y2.c' source_filename = "/tmp/tmpy9s8f2y2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c">%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fasta_aln_print(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [61 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load ptr, ptr %4, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %13 13: ; preds = %50, %2 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %53 17: ; preds = %13 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 32 br i1 %24, label %25, label %30 25: ; preds = %17 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 %28 store i8 88, ptr %29, align 1 br label %40 30: ; preds = %17 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = sext i32 %36 to i64 %39 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 %38 store i8 %35, ptr %39, align 1 br label %40 40: ; preds = %30, %25 %41 = load i32, ptr %7, align 4 %42 = icmp eq i32 %41, 60 br i1 %42, label %43, label %49 43: ; preds = %40 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 %45 store i8 0, ptr %46, align 1 %47 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 0 %48 = call i32 @printf(ptr noundef @.str.1, ptr noundef %47) store i32 0, ptr %7, align 4 br label %49 49: ; preds = %43, %40 br label %50 50: ; preds = %49 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 br label %13, !llvm.loop !6 53: ; preds = %13 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 %55 store i8 0, ptr %56, align 1 %57 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 0 %58 = call i32 @printf(ptr noundef @.str.1, ptr noundef %57) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy9s8f2y2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c">%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fasta_aln_print(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [61 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load ptr, ptr %4, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %55 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %49 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 32 br i1 %23, label %24, label %29 24: ; preds = %16 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 %27 store i8 88, ptr %28, align 1 br label %39 29: ; preds = %16 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 %37 = sext i32 %35 to i64 %38 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 %37 store i8 %34, ptr %38, align 1 br label %39 39: ; preds = %29, %24 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %40, 60 br i1 %41, label %42, label %48 42: ; preds = %39 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 %44 store i8 0, ptr %45, align 1 %46 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 0 %47 = call i32 @printf(ptr noundef @.str.1, ptr noundef %46) store i32 0, ptr %7, align 4 br label %48 48: ; preds = %42, %39 br label %49 49: ; preds = %48 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %5, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %55 55: ; preds = %._crit_edge, %2 %56 = load i32, ptr %7, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 %57 store i8 0, ptr %58, align 1 %59 = getelementptr inbounds [61 x i8], ptr %8, i64 0, i64 0 %60 = call i32 @printf(ptr noundef @.str.1, ptr noundef %59) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpamrmc86c.c' source_filename = "/tmp/tmpamrmc86c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_5() #0 { %1 = call i32 (...) @fn_ptr() ret void } declare i32 @fn_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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpamrmc86c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_5() #0 { %1 = call i32 (...) @fn_ptr() ret void } declare i32 @fn_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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpan2dnw19.c' source_filename = "/tmp/tmpan2dnw19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"pdiff\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\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 i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 br label %7 7: ; preds = %18, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %21 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %12 = call double (...) @benchmark() store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call i32 @print_results(double noundef %13) %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpan2dnw19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"pdiff\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\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 i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %11 = call double (...) @benchmark() store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call i32 @print_results(double noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu0bo07pr.c' source_filename = "/tmp/tmpu0bo07pr.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @STDERR_FILENO, align 4 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = call i32 @write(i32 noundef %3, ptr noundef %4, i32 noundef %6) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu0bo07pr.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @STDERR_FILENO, align 4 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = call i32 @write(i32 noundef %3, ptr noundef %4, i32 noundef %6) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq3fumf1r.c' source_filename = "/tmp/tmpq3fumf1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QZ_Ability_init() #0 { %1 = call i32 (...) @HanBingJianFa_bind() %2 = call i32 (...) @HuoYanJianFa_bind() %3 = call i32 (...) @LieYanJianFa_bind() %4 = call i32 (...) @LiuShuiJianFa_bind() %5 = call i32 (...) @WuWoJianQi_bind() %6 = call i32 (...) @XuanYinJianQi_bind() ret void } declare i32 @HanBingJianFa_bind(...) #1 declare i32 @HuoYanJianFa_bind(...) #1 declare i32 @LieYanJianFa_bind(...) #1 declare i32 @LiuShuiJianFa_bind(...) #1 declare i32 @WuWoJianQi_bind(...) #1 declare i32 @XuanYinJianQi_bind(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq3fumf1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QZ_Ability_init() #0 { %1 = call i32 (...) @HanBingJianFa_bind() %2 = call i32 (...) @HuoYanJianFa_bind() %3 = call i32 (...) @LieYanJianFa_bind() %4 = call i32 (...) @LiuShuiJianFa_bind() %5 = call i32 (...) @WuWoJianQi_bind() %6 = call i32 (...) @XuanYinJianQi_bind() ret void } declare i32 @HanBingJianFa_bind(...) #1 declare i32 @HuoYanJianFa_bind(...) #1 declare i32 @LieYanJianFa_bind(...) #1 declare i32 @LiuShuiJianFa_bind(...) #1 declare i32 @WuWoJianQi_bind(...) #1 declare i32 @XuanYinJianQi_bind(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzjkt9wb4.c' source_filename = "/tmp/tmpzjkt9wb4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SM2_sign_ex(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store i32 %0, ptr %10, align 4 store ptr %1, ptr %11, align 8 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 %19 = load ptr, ptr %11, align 8 %20 = load i32, ptr %12, align 4 %21 = call i32 @RAND_seed(ptr noundef %19, i32 noundef %20) %22 = load ptr, ptr %11, align 8 %23 = load i32, ptr %12, align 4 %24 = load ptr, ptr %15, align 8 %25 = load ptr, ptr %16, align 8 %26 = load ptr, ptr %17, align 8 %27 = call ptr @sm2_do_sign(ptr noundef %22, i32 noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26) store ptr %27, ptr %18, align 8 %28 = load ptr, ptr %18, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %8 %31 = load ptr, ptr %14, align 8 store i32 0, ptr %31, align 4 store i32 0, ptr %9, align 4 br label %38 32: ; preds = %8 %33 = load ptr, ptr %18, align 8 %34 = call i32 @i2d_ECDSA_SIG(ptr noundef %33, ptr noundef %13) %35 = load ptr, ptr %14, align 8 store i32 %34, ptr %35, align 4 %36 = load ptr, ptr %18, align 8 %37 = call i32 @ECDSA_SIG_free(ptr noundef %36) store i32 1, ptr %9, align 4 br label %38 38: ; preds = %32, %30 %39 = load i32, ptr %9, align 4 ret i32 %39 } declare i32 @RAND_seed(ptr noundef, i32 noundef) #1 declare ptr @sm2_do_sign(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @i2d_ECDSA_SIG(ptr noundef, ptr noundef) #1 declare i32 @ECDSA_SIG_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/tmpzjkt9wb4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SM2_sign_ex(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store i32 %0, ptr %10, align 4 store ptr %1, ptr %11, align 8 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 %19 = load ptr, ptr %11, align 8 %20 = load i32, ptr %12, align 4 %21 = call i32 @RAND_seed(ptr noundef %19, i32 noundef %20) %22 = load ptr, ptr %11, align 8 %23 = load i32, ptr %12, align 4 %24 = load ptr, ptr %15, align 8 %25 = load ptr, ptr %16, align 8 %26 = load ptr, ptr %17, align 8 %27 = call ptr @sm2_do_sign(ptr noundef %22, i32 noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26) store ptr %27, ptr %18, align 8 %28 = load ptr, ptr %18, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %8 %31 = load ptr, ptr %14, align 8 store i32 0, ptr %31, align 4 store i32 0, ptr %9, align 4 br label %38 32: ; preds = %8 %33 = load ptr, ptr %18, align 8 %34 = call i32 @i2d_ECDSA_SIG(ptr noundef %33, ptr noundef %13) %35 = load ptr, ptr %14, align 8 store i32 %34, ptr %35, align 4 %36 = load ptr, ptr %18, align 8 %37 = call i32 @ECDSA_SIG_free(ptr noundef %36) store i32 1, ptr %9, align 4 br label %38 38: ; preds = %32, %30 %39 = load i32, ptr %9, align 4 ret i32 %39 } declare i32 @RAND_seed(ptr noundef, i32 noundef) #1 declare ptr @sm2_do_sign(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @i2d_ECDSA_SIG(ptr noundef, ptr noundef) #1 declare i32 @ECDSA_SIG_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/tmpc1d_pkcf.c' source_filename = "/tmp/tmpc1d_pkcf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_or21_int32_t(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 = %21, %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 %24 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 i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = or i32 %15, 21 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 store i32 %16, ptr %20, align 4 br label %21 21: ; preds = %10 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc1d_pkcf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_or21_int32_t(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 %26 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %20 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = or i32 %14, 21 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 %15, ptr %19, align 4 br label %20 20: ; preds = %9 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6i4ynzp7.c' source_filename = "/tmp/tmp6i4ynzp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_bit_val(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = sdiv i32 %7, 32 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %6, i64 %9 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = srem i32 %12, 32 %14 = shl i32 1, %13 %15 = load i32, ptr %5, align 4 %16 = or i32 %15, %14 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = sdiv i32 %19, 32 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %18, i64 %21 store i32 %17, ptr %22, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6i4ynzp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_bit_val(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = sdiv i32 %7, 32 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %6, i64 %9 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = srem i32 %12, 32 %14 = shl i32 1, %13 %15 = load i32, ptr %5, align 4 %16 = or i32 %15, %14 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = sdiv i32 %19, 32 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %18, i64 %21 store i32 %17, ptr %22, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl_5hsku3.c' source_filename = "/tmp/tmpl_5hsku3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @CAN2_RX0_IRQHandler() #0 { %1 = call i32 (...) @default_handler() ret void } declare i32 @default_handler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl_5hsku3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @CAN2_RX0_IRQHandler() #0 { %1 = call i32 (...) @default_handler() ret void } declare i32 @default_handler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu1fpt6gk.c' source_filename = "/tmp/tmpu1fpt6gk.c" target datalayout = "e-m:e-p270: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/tmpu1fpt6gk.c" target datalayout = "e-m:e-p270: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/tmpx_jbe5td.c' source_filename = "/tmp/tmpx_jbe5td.c" target datalayout = "e-m:e-p270: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/tmpx_jbe5td.c" target datalayout = "e-m:e-p270: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/tmpmjq8zxhz.c' source_filename = "/tmp/tmpmjq8zxhz.c" target datalayout = "e-m:e-p270: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/tmpmjq8zxhz.c" target datalayout = "e-m:e-p270: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/tmp27paznxq.c' source_filename = "/tmp/tmp27paznxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s/%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"uevent\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [22 x i8] c"File: %s open failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"DVB_ADAPTER_NUM\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"DVB_DEVICE_NUM\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_frontend_uevent(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [64 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca [128 x i8], align 16 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %11, align 8 %12 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %13 = load ptr, ptr %5, align 8 %14 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef @.str.1) %15 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.2) store ptr %16, ptr %9, align 8 %17 = load ptr, ptr %9, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %3 %20 = load i32, ptr @stderr, align 4 %21 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.3, ptr noundef %21) store i32 -1, ptr %4, align 4 br label %53 23: ; preds = %3 br label %24 24: ; preds = %23, %52 %25 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %26 = load ptr, ptr %9, align 8 %27 = call ptr @fgets(ptr noundef %25, i32 noundef 128, ptr noundef %26) %28 = icmp eq ptr %27, null br i1 %28, label %29, label %30 29: ; preds = %24 store i32 -1, ptr %4, align 4 br label %53 30: ; preds = %24 %31 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %32 = call i64 @strstr(ptr noundef %31, ptr noundef @.str.4) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %41 34: ; preds = %30 %35 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %36 = call ptr @strtok(ptr noundef %35, ptr noundef @.str.5) store ptr %36, ptr %11, align 8 %37 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5) store ptr %37, ptr %11, align 8 %38 = load ptr, ptr %11, align 8 %39 = call i32 @atoi(ptr noundef %38) %40 = load ptr, ptr %7, align 8 store i32 %39, ptr %40, align 4 br label %41 41: ; preds = %34, %30 %42 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %43 = call i64 @strstr(ptr noundef %42, ptr noundef @.str.6) %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %52 45: ; preds = %41 %46 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %47 = call ptr @strtok(ptr noundef %46, ptr noundef @.str.5) store ptr %47, ptr %11, align 8 %48 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5) store ptr %48, ptr %11, align 8 %49 = load ptr, ptr %11, align 8 %50 = call i32 @atoi(ptr noundef %49) %51 = load ptr, ptr %6, align 8 store i32 %50, ptr %51, align 4 br label %52 52: ; preds = %45, %41 br label %24 53: ; preds = %29, %19 %54 = load i32, ptr %4, align 4 ret i32 %54 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp27paznxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s/%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"uevent\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [22 x i8] c"File: %s open failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"DVB_ADAPTER_NUM\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"DVB_DEVICE_NUM\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_frontend_uevent(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [64 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca [128 x i8], align 16 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %11, align 8 %12 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %13 = load ptr, ptr %5, align 8 %14 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef @.str.1) %15 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.2) store ptr %16, ptr %9, align 8 %17 = load ptr, ptr %9, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %3 %20 = load i32, ptr @stderr, align 4 %21 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.3, ptr noundef %21) store i32 -1, ptr %4, align 4 br label %55 23: ; preds = %3 %24 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %25 = load ptr, ptr %9, align 8 %26 = call ptr @fgets(ptr noundef %24, i32 noundef 128, ptr noundef %25) %27 = icmp eq ptr %26, null br i1 %27, label %28, label %.lr.ph .lr.ph: ; preds = %23 br label %29 ._crit_edge: ; preds = %51 br label %28 28: ; preds = %._crit_edge, %23 store i32 -1, ptr %4, align 4 br label %55 29: ; preds = %.lr.ph, %51 %30 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %31 = call i64 @strstr(ptr noundef %30, ptr noundef @.str.4) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %40 33: ; preds = %29 %34 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %35 = call ptr @strtok(ptr noundef %34, ptr noundef @.str.5) store ptr %35, ptr %11, align 8 %36 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5) store ptr %36, ptr %11, align 8 %37 = load ptr, ptr %11, align 8 %38 = call i32 @atoi(ptr noundef %37) %39 = load ptr, ptr %7, align 8 store i32 %38, ptr %39, align 4 br label %40 40: ; preds = %33, %29 %41 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %42 = call i64 @strstr(ptr noundef %41, ptr noundef @.str.6) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %51 44: ; preds = %40 %45 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %46 = call ptr @strtok(ptr noundef %45, ptr noundef @.str.5) store ptr %46, ptr %11, align 8 %47 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5) store ptr %47, ptr %11, align 8 %48 = load ptr, ptr %11, align 8 %49 = call i32 @atoi(ptr noundef %48) %50 = load ptr, ptr %6, align 8 store i32 %49, ptr %50, align 4 br label %51 51: ; preds = %44, %40 %52 = load ptr, ptr %9, align 8 %53 = call ptr @fgets(ptr noundef %24, i32 noundef 128, ptr noundef %52) %54 = icmp eq ptr %53, null br i1 %54, label %._crit_edge, label %29 55: ; preds = %28, %19 %56 = load i32, ptr %4, align 4 ret i32 %56 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5yudzosy.c' source_filename = "/tmp/tmp5yudzosy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"--create-key\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Is now kreating a new key\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"argv[2] = %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"argv[3] = %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"argv[4] = %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"--encrypt\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"-e\00", align 1 @F_OK = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [10 x i8] c"--decrypt\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"-d\00", align 1 @.str.10 = private unnamed_addr constant [42 x i8] c"Invalid Input! Please give 5 parameters!\0A\00", align 1 @.str.11 = private unnamed_addr constant [25 x i8] c"possible program calls:\0A\00", align 1 @.str.12 = private unnamed_addr constant [58 x i8] c"./program (-c|--create-key) filename-key exponent rounds\0A\00", align 1 @.str.13 = private unnamed_addr constant [70 x i8] c"./program (-e|--encrypt) filename-key filename-input filename-output\0A\00", align 1 @.str.14 = private unnamed_addr constant [70 x i8] c"./program (-d|--decrypt) filename-key filename-input filename-output\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 5 br i1 %9, label %10, label %142 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str) %15 = icmp eq i64 %14, 0 br i1 %15, label %22, label %16 16: ; preds = %10 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.1) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %63 22: ; preds = %16, %10 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %26) %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 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %30) %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 4 %34 = load ptr, ptr %33, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %34) %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 3 %38 = load ptr, ptr %37, align 8 %39 = call i64 @isnumber(ptr noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %62 41: ; preds = %22 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 4 %44 = load ptr, ptr %43, align 8 %45 = call i64 @isnumber(ptr noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %62 47: ; preds = %41 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 3 %50 = load ptr, ptr %49, align 8 %51 = call i32 @atoi(ptr noundef %50) store i32 %51, ptr %6, align 4 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 4 %54 = load ptr, ptr %53, align 8 %55 = call i32 @atoi(ptr noundef %54) store i32 %55, ptr %7, align 4 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds ptr, ptr %56, i64 2 %58 = load ptr, ptr %57, align 8 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr %7, align 4 %61 = call i32 @create_2B_ctr_key(ptr noundef %58, i32 noundef %59, i32 noundef %60) br label %62 62: ; preds = %47, %41, %22 br label %141 63: ; preds = %16 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds ptr, ptr %64, i64 1 %66 = load ptr, ptr %65, align 8 %67 = call i64 @strcmp(ptr noundef %66, ptr noundef @.str.6) %68 = icmp eq i64 %67, 0 br i1 %68, label %75, label %69 69: ; preds = %63 %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds ptr, ptr %70, i64 1 %72 = load ptr, ptr %71, align 8 %73 = call i64 @strcmp(ptr noundef %72, ptr noundef @.str.7) %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %101 75: ; preds = %69, %63 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 2 %78 = load ptr, ptr %77, align 8 %79 = load i32, ptr @F_OK, align 4 %80 = call i32 @access(ptr noundef %78, i32 noundef %79) %81 = icmp ne i32 %80, -1 br i1 %81, label %82, label %100 82: ; preds = %75 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds ptr, ptr %83, i64 3 %85 = load ptr, ptr %84, align 8 %86 = load i32, ptr @F_OK, align 4 %87 = call i32 @access(ptr noundef %85, i32 noundef %86) %88 = icmp ne i32 %87, -1 br i1 %88, label %89, label %100 89: ; preds = %82 %90 = load ptr, ptr %5, align 8 %91 = getelementptr inbounds ptr, ptr %90, i64 2 %92 = load ptr, ptr %91, align 8 %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 3 %95 = load ptr, ptr %94, align 8 %96 = load ptr, ptr %5, align 8 %97 = getelementptr inbounds ptr, ptr %96, i64 4 %98 = load ptr, ptr %97, align 8 %99 = call i32 @crypt_program(i32 noundef 1, ptr noundef %92, ptr noundef %95, ptr noundef %98) br label %100 100: ; preds = %89, %82, %75 br label %140 101: ; preds = %69 %102 = load ptr, ptr %5, align 8 %103 = getelementptr inbounds ptr, ptr %102, i64 1 %104 = load ptr, ptr %103, align 8 %105 = call i64 @strcmp(ptr noundef %104, ptr noundef @.str.8) %106 = icmp eq i64 %105, 0 br i1 %106, label %113, label %107 107: ; preds = %101 %108 = load ptr, ptr %5, align 8 %109 = getelementptr inbounds ptr, ptr %108, i64 1 %110 = load ptr, ptr %109, align 8 %111 = call i64 @strcmp(ptr noundef %110, ptr noundef @.str.9) %112 = icmp eq i64 %111, 0 br i1 %112, label %113, label %139 113: ; preds = %107, %101 %114 = load ptr, ptr %5, align 8 %115 = getelementptr inbounds ptr, ptr %114, i64 2 %116 = load ptr, ptr %115, align 8 %117 = load i32, ptr @F_OK, align 4 %118 = call i32 @access(ptr noundef %116, i32 noundef %117) %119 = icmp ne i32 %118, -1 br i1 %119, label %120, label %138 120: ; preds = %113 %121 = load ptr, ptr %5, align 8 %122 = getelementptr inbounds ptr, ptr %121, i64 3 %123 = load ptr, ptr %122, align 8 %124 = load i32, ptr @F_OK, align 4 %125 = call i32 @access(ptr noundef %123, i32 noundef %124) %126 = icmp ne i32 %125, -1 br i1 %126, label %127, label %138 127: ; preds = %120 %128 = load ptr, ptr %5, align 8 %129 = getelementptr inbounds ptr, ptr %128, i64 2 %130 = load ptr, ptr %129, align 8 %131 = load ptr, ptr %5, align 8 %132 = getelementptr inbounds ptr, ptr %131, i64 3 %133 = load ptr, ptr %132, align 8 %134 = load ptr, ptr %5, align 8 %135 = getelementptr inbounds ptr, ptr %134, i64 4 %136 = load ptr, ptr %135, align 8 %137 = call i32 @crypt_program(i32 noundef 2, ptr noundef %130, ptr noundef %133, ptr noundef %136) br label %138 138: ; preds = %127, %120, %113 br label %139 139: ; preds = %138, %107 br label %140 140: ; preds = %139, %100 br label %141 141: ; preds = %140, %62 br label %148 142: ; preds = %2 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %148 148: ; preds = %142, %141 ret i32 0 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @isnumber(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @create_2B_ctr_key(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @access(ptr noundef, i32 noundef) #1 declare i32 @crypt_program(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5yudzosy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"--create-key\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Is now kreating a new key\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"argv[2] = %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"argv[3] = %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"argv[4] = %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"--encrypt\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"-e\00", align 1 @F_OK = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [10 x i8] c"--decrypt\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"-d\00", align 1 @.str.10 = private unnamed_addr constant [42 x i8] c"Invalid Input! Please give 5 parameters!\0A\00", align 1 @.str.11 = private unnamed_addr constant [25 x i8] c"possible program calls:\0A\00", align 1 @.str.12 = private unnamed_addr constant [58 x i8] c"./program (-c|--create-key) filename-key exponent rounds\0A\00", align 1 @.str.13 = private unnamed_addr constant [70 x i8] c"./program (-e|--encrypt) filename-key filename-input filename-output\0A\00", align 1 @.str.14 = private unnamed_addr constant [70 x i8] c"./program (-d|--decrypt) filename-key filename-input filename-output\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 5 br i1 %9, label %10, label %142 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str) %15 = icmp eq i64 %14, 0 br i1 %15, label %22, label %16 16: ; preds = %10 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.1) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %63 22: ; preds = %16, %10 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %26) %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 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %30) %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 4 %34 = load ptr, ptr %33, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %34) %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 3 %38 = load ptr, ptr %37, align 8 %39 = call i64 @isnumber(ptr noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %62 41: ; preds = %22 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 4 %44 = load ptr, ptr %43, align 8 %45 = call i64 @isnumber(ptr noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %62 47: ; preds = %41 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 3 %50 = load ptr, ptr %49, align 8 %51 = call i32 @atoi(ptr noundef %50) store i32 %51, ptr %6, align 4 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 4 %54 = load ptr, ptr %53, align 8 %55 = call i32 @atoi(ptr noundef %54) store i32 %55, ptr %7, align 4 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds ptr, ptr %56, i64 2 %58 = load ptr, ptr %57, align 8 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr %7, align 4 %61 = call i32 @create_2B_ctr_key(ptr noundef %58, i32 noundef %59, i32 noundef %60) br label %62 62: ; preds = %47, %41, %22 br label %141 63: ; preds = %16 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds ptr, ptr %64, i64 1 %66 = load ptr, ptr %65, align 8 %67 = call i64 @strcmp(ptr noundef %66, ptr noundef @.str.6) %68 = icmp eq i64 %67, 0 br i1 %68, label %75, label %69 69: ; preds = %63 %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds ptr, ptr %70, i64 1 %72 = load ptr, ptr %71, align 8 %73 = call i64 @strcmp(ptr noundef %72, ptr noundef @.str.7) %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %101 75: ; preds = %69, %63 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 2 %78 = load ptr, ptr %77, align 8 %79 = load i32, ptr @F_OK, align 4 %80 = call i32 @access(ptr noundef %78, i32 noundef %79) %81 = icmp ne i32 %80, -1 br i1 %81, label %82, label %100 82: ; preds = %75 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds ptr, ptr %83, i64 3 %85 = load ptr, ptr %84, align 8 %86 = load i32, ptr @F_OK, align 4 %87 = call i32 @access(ptr noundef %85, i32 noundef %86) %88 = icmp ne i32 %87, -1 br i1 %88, label %89, label %100 89: ; preds = %82 %90 = load ptr, ptr %5, align 8 %91 = getelementptr inbounds ptr, ptr %90, i64 2 %92 = load ptr, ptr %91, align 8 %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 3 %95 = load ptr, ptr %94, align 8 %96 = load ptr, ptr %5, align 8 %97 = getelementptr inbounds ptr, ptr %96, i64 4 %98 = load ptr, ptr %97, align 8 %99 = call i32 @crypt_program(i32 noundef 1, ptr noundef %92, ptr noundef %95, ptr noundef %98) br label %100 100: ; preds = %89, %82, %75 br label %140 101: ; preds = %69 %102 = load ptr, ptr %5, align 8 %103 = getelementptr inbounds ptr, ptr %102, i64 1 %104 = load ptr, ptr %103, align 8 %105 = call i64 @strcmp(ptr noundef %104, ptr noundef @.str.8) %106 = icmp eq i64 %105, 0 br i1 %106, label %113, label %107 107: ; preds = %101 %108 = load ptr, ptr %5, align 8 %109 = getelementptr inbounds ptr, ptr %108, i64 1 %110 = load ptr, ptr %109, align 8 %111 = call i64 @strcmp(ptr noundef %110, ptr noundef @.str.9) %112 = icmp eq i64 %111, 0 br i1 %112, label %113, label %139 113: ; preds = %107, %101 %114 = load ptr, ptr %5, align 8 %115 = getelementptr inbounds ptr, ptr %114, i64 2 %116 = load ptr, ptr %115, align 8 %117 = load i32, ptr @F_OK, align 4 %118 = call i32 @access(ptr noundef %116, i32 noundef %117) %119 = icmp ne i32 %118, -1 br i1 %119, label %120, label %138 120: ; preds = %113 %121 = load ptr, ptr %5, align 8 %122 = getelementptr inbounds ptr, ptr %121, i64 3 %123 = load ptr, ptr %122, align 8 %124 = load i32, ptr @F_OK, align 4 %125 = call i32 @access(ptr noundef %123, i32 noundef %124) %126 = icmp ne i32 %125, -1 br i1 %126, label %127, label %138 127: ; preds = %120 %128 = load ptr, ptr %5, align 8 %129 = getelementptr inbounds ptr, ptr %128, i64 2 %130 = load ptr, ptr %129, align 8 %131 = load ptr, ptr %5, align 8 %132 = getelementptr inbounds ptr, ptr %131, i64 3 %133 = load ptr, ptr %132, align 8 %134 = load ptr, ptr %5, align 8 %135 = getelementptr inbounds ptr, ptr %134, i64 4 %136 = load ptr, ptr %135, align 8 %137 = call i32 @crypt_program(i32 noundef 2, ptr noundef %130, ptr noundef %133, ptr noundef %136) br label %138 138: ; preds = %127, %120, %113 br label %139 139: ; preds = %138, %107 br label %140 140: ; preds = %139, %100 br label %141 141: ; preds = %140, %62 br label %148 142: ; preds = %2 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %148 148: ; preds = %142, %141 ret i32 0 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @isnumber(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @create_2B_ctr_key(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @access(ptr noundef, i32 noundef) #1 declare i32 @crypt_program(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpss6e3noe.c' source_filename = "/tmp/tmpss6e3noe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @printMat(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %28, %1 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %8, label %31 8: ; preds = %5 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %23, %8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %26 12: ; preds = %9 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [3 x i32], ptr %13, i64 %15 %17 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 0 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21) br label %23 23: ; preds = %12 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %9, !llvm.loop !6 26: ; preds = %9 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %28 28: ; preds = %26 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %5, !llvm.loop !8 31: ; preds = %5 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpss6e3noe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @printMat(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 3 br i1 %6, label %.lr.ph2, label %33 .lr.ph2: ; preds = %1 br label %7 7: ; preds = %.lr.ph2, %28 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %21 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [3 x i32], ptr %11, i64 %13 %15 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) br label %21 21: ; preds = %10 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 3 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %7 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %28 28: ; preds = %26 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %31, 3 br i1 %32, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %28 br label %33 33: ; preds = %._crit_edge3, %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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpshjs0o3x.c' source_filename = "/tmp/tmpshjs0o3x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n >= 1\00", align 1 @.str.1 = 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/Erez-Buchnik/Bouma2/refs/heads/master/dep/glpk/glplib01.c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"m >= 1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_glp_lib_bigmul(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %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 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %12 = load i32, ptr %5, align 4 %13 = icmp sge i32 %12, 1 br i1 %13, label %16, label %14 14: ; preds = %4 %15 = call i32 @glp_assert_(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 78) br label %16 16: ; preds = %14, %4 %17 = phi i1 [ true, %4 ], [ true, %14 ] %18 = zext i1 %17 to i32 %19 = load i32, ptr %6, align 4 %20 = icmp sge i32 %19, 1 br i1 %20, label %23, label %21 21: ; preds = %16 %22 = call i32 @glp_assert_(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 79) br label %23 23: ; preds = %21, %16 %24 = phi i1 [ true, %16 ], [ true, %21 ] %25 = zext i1 %24 to i32 store i32 0, ptr %10, align 4 br label %26 26: ; preds = %35, %23 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %38 30: ; preds = %26 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %10, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i16, ptr %31, i64 %33 store i16 0, ptr %34, align 2 br label %35 35: ; preds = %30 %36 = load i32, ptr %10, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %10, align 4 br label %26, !llvm.loop !6 38: ; preds = %26 store i32 0, ptr %9, align 4 br label %39 39: ; preds = %107, %38 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %110 43: ; preds = %39 %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %9, align 4 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i16, ptr %44, i64 %48 %50 = load i16, ptr %49, align 2 %51 = icmp ne i16 %50, 0 br i1 %51, label %52, label %106 52: ; preds = %43 store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 br label %53 53: ; preds = %94, %52 %54 = load i32, ptr %10, align 4 %55 = load i32, ptr %6, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %97 57: ; preds = %53 %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %59, %60 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i16, ptr %58, i64 %62 %64 = load i16, ptr %63, align 2 %65 = zext i16 %64 to i32 %66 = load ptr, ptr %8, align 8 %67 = load i32, ptr %10, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i16, ptr %66, i64 %68 %70 = load i16, ptr %69, align 2 %71 = zext i16 %70 to i32 %72 = mul i32 %65, %71 %73 = load ptr, ptr %7, align 8 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %10, align 4 %76 = add nsw i32 %74, %75 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i16, ptr %73, i64 %77 %79 = load i16, ptr %78, align 2 %80 = zext i16 %79 to i32 %81 = add i32 %72, %80 %82 = load i32, ptr %11, align 4 %83 = add i32 %82, %81 store i32 %83, ptr %11, align 4 %84 = load i32, ptr %11, align 4 %85 = trunc i32 %84 to i16 %86 = load ptr, ptr %7, align 8 %87 = load i32, ptr %9, align 4 %88 = load i32, ptr %10, align 4 %89 = add nsw i32 %87, %88 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i16, ptr %86, i64 %90 store i16 %85, ptr %91, align 2 %92 = load i32, ptr %11, align 4 %93 = lshr i32 %92, 16 store i32 %93, ptr %11, align 4 br label %94 94: ; preds = %57 %95 = load i32, ptr %10, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %10, align 4 br label %53, !llvm.loop !8 97: ; preds = %53 %98 = load i32, ptr %11, align 4 %99 = trunc i32 %98 to i16 %100 = load ptr, ptr %7, align 8 %101 = load i32, ptr %9, align 4 %102 = load i32, ptr %6, align 4 %103 = add nsw i32 %101, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i16, ptr %100, i64 %104 store i16 %99, ptr %105, align 2 br label %106 106: ; preds = %97, %43 br label %107 107: ; preds = %106 %108 = load i32, ptr %9, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %9, align 4 br label %39, !llvm.loop !9 110: ; preds = %39 ret void } declare i32 @glp_assert_(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpshjs0o3x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n >= 1\00", align 1 @.str.1 = 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/Erez-Buchnik/Bouma2/refs/heads/master/dep/glpk/glplib01.c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"m >= 1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_glp_lib_bigmul(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %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 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %12 = load i32, ptr %5, align 4 %13 = icmp sge i32 %12, 1 br i1 %13, label %16, label %14 14: ; preds = %4 %15 = call i32 @glp_assert_(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 78) br label %16 16: ; preds = %14, %4 %17 = phi i1 [ true, %4 ], [ true, %14 ] %18 = zext i1 %17 to i32 %19 = load i32, ptr %6, align 4 %20 = icmp sge i32 %19, 1 br i1 %20, label %23, label %21 21: ; preds = %16 %22 = call i32 @glp_assert_(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 79) br label %23 23: ; preds = %21, %16 %24 = phi i1 [ true, %16 ], [ true, %21 ] %25 = zext i1 %24 to i32 store i32 0, ptr %10, align 4 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %40 .lr.ph: ; preds = %23 br label %29 29: ; preds = %.lr.ph, %34 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i16, ptr %30, i64 %32 store i16 0, ptr %33, align 2 br label %34 34: ; preds = %29 %35 = load i32, ptr %10, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %10, align 4 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %23 store i32 0, ptr %9, align 4 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph5, label %116 .lr.ph5: ; preds = %40 br label %44 44: ; preds = %.lr.ph5, %110 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %9, align 4 %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %46, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i16, ptr %45, i64 %49 %51 = load i16, ptr %50, align 2 %52 = icmp ne i16 %51, 0 br i1 %52, label %53, label %109 53: ; preds = %44 store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 %54 = load i32, ptr %10, align 4 %55 = load i32, ptr %6, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %.lr.ph2, label %100 .lr.ph2: ; preds = %53 br label %57 57: ; preds = %.lr.ph2, %94 %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %59, %60 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i16, ptr %58, i64 %62 %64 = load i16, ptr %63, align 2 %65 = zext i16 %64 to i32 %66 = load ptr, ptr %8, align 8 %67 = load i32, ptr %10, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i16, ptr %66, i64 %68 %70 = load i16, ptr %69, align 2 %71 = zext i16 %70 to i32 %72 = mul i32 %65, %71 %73 = load ptr, ptr %7, align 8 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %10, align 4 %76 = add nsw i32 %74, %75 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i16, ptr %73, i64 %77 %79 = load i16, ptr %78, align 2 %80 = zext i16 %79 to i32 %81 = add i32 %72, %80 %82 = load i32, ptr %11, align 4 %83 = add i32 %82, %81 store i32 %83, ptr %11, align 4 %84 = load i32, ptr %11, align 4 %85 = trunc i32 %84 to i16 %86 = load ptr, ptr %7, align 8 %87 = load i32, ptr %9, align 4 %88 = load i32, ptr %10, align 4 %89 = add nsw i32 %87, %88 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i16, ptr %86, i64 %90 store i16 %85, ptr %91, align 2 %92 = load i32, ptr %11, align 4 %93 = lshr i32 %92, 16 store i32 %93, ptr %11, align 4 br label %94 94: ; preds = %57 %95 = load i32, ptr %10, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %10, align 4 %97 = load i32, ptr %10, align 4 %98 = load i32, ptr %6, align 4 %99 = icmp slt i32 %97, %98 br i1 %99, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %94 br label %100 100: ; preds = %._crit_edge3, %53 %101 = load i32, ptr %11, align 4 %102 = trunc i32 %101 to i16 %103 = load ptr, ptr %7, align 8 %104 = load i32, ptr %9, align 4 %105 = load i32, ptr %6, align 4 %106 = add nsw i32 %104, %105 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i16, ptr %103, i64 %107 store i16 %102, ptr %108, align 2 br label %109 109: ; preds = %100, %44 br label %110 110: ; preds = %109 %111 = load i32, ptr %9, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %9, align 4 %113 = load i32, ptr %9, align 4 %114 = load i32, ptr %5, align 4 %115 = icmp slt i32 %113, %114 br i1 %115, label %44, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %110 br label %116 116: ; preds = %._crit_edge6, %40 ret void } declare i32 @glp_assert_(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp5q1_7ibj.c' source_filename = "/tmp/tmp5q1_7ibj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, ptr, ptr } %struct.TYPE_2__ = type { ptr } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_BROADCAST = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"setsockopt - SO_SOCKET \00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Socket created\0A\00", align 1 @AF_INET = dso_local global ptr null, align 8 @INADDR_ANY = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"./st key push s1\00", align 1 @.str.7 = private unnamed_addr constant [59 x i8] c"./st key push s2; ./st key release s2; ./st key release s1\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"./st key release s2; ./st key release s1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @receiver_run() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca %struct.sockaddr_in, align 8 %4 = alloca %struct.sockaddr_in, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 1, ptr %7, align 4 %8 = load i32, ptr @PF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %1, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 @perror(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %0 %16 = load i32, ptr %1, align 4 %17 = load i32, ptr @SOL_SOCKET, align 4 %18 = load i32, ptr @SO_BROADCAST, align 4 %19 = call i32 @setsockopt(i32 noundef %16, i32 noundef %17, i32 noundef %18, ptr noundef %7, i32 noundef 4) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %24 21: ; preds = %15 %22 = call i32 @perror(ptr noundef @.str.1) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %15 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %26 = load ptr, ptr @AF_INET, align 8 %27 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 3 store ptr %26, ptr %27, align 8 %28 = call ptr @htons(i32 noundef 8000) %29 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store ptr %28, ptr %29, align 8 %30 = load ptr, ptr @INADDR_ANY, align 8 %31 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 %32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0 store ptr %30, ptr %32, align 8 %33 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %34 = load i32, ptr %33, align 8 %35 = call i32 @memset(i32 noundef %34, i8 noundef signext 0, i32 noundef 4) %36 = load ptr, ptr @AF_INET, align 8 %37 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 3 store ptr %36, ptr %37, align 8 %38 = call ptr @htons(i32 noundef 8000) %39 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store ptr %38, ptr %39, align 8 %40 = load ptr, ptr @INADDR_ANY, align 8 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %42 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i32 0, i32 0 store ptr %40, ptr %42, align 8 %43 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %44 = load i32, ptr %43, align 8 %45 = call i32 @memset(i32 noundef %44, i8 noundef signext 0, i32 noundef 4) %46 = load i32, ptr %1, align 4 %47 = call i32 @bind(i32 noundef %46, ptr noundef %4, i32 noundef 32) %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %52 49: ; preds = %24 %50 = call i32 @perror(ptr noundef @.str.3) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %24 br label %53 53: ; preds = %52, %100 store i32 32, ptr %6, align 4 %54 = load i32, ptr %1, align 4 %55 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %56 = call i32 @recvfrom(i32 noundef %54, ptr noundef %55, i32 noundef 10, i32 noundef 0, ptr noundef %3, ptr noundef %6) store i32 %56, ptr %5, align 4 %57 = icmp eq i32 %56, -1 br i1 %57, label %58, label %61 58: ; preds = %53 %59 = call i32 @perror(ptr noundef @.str.4) %60 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 store i8 1, ptr %60, align 1 br label %101 61: ; preds = %53 %62 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %62) %64 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %69 68: ; preds = %61 br label %101 69: ; preds = %61 %70 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 70 br i1 %73, label %74, label %76 74: ; preds = %69 %75 = call i32 @system(ptr noundef @.str.6) br label %99 76: ; preds = %69 %77 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 %79, 83 br i1 %80, label %81, label %83 81: ; preds = %76 %82 = call i32 @system(ptr noundef @.str.7) br label %98 83: ; preds = %76 %84 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 82 br i1 %87, label %88, label %90 88: ; preds = %83 %89 = call i32 @system(ptr noundef @.str.8) br label %97 90: ; preds = %83 %91 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 88 br i1 %94, label %95, label %96 95: ; preds = %90 br label %101 96: ; preds = %90 br label %97 97: ; preds = %96, %88 br label %98 98: ; preds = %97, %81 br label %99 99: ; preds = %98, %74 br label %100 100: ; preds = %99 br label %53 101: ; preds = %95, %68, %58 %102 = load i32, ptr %1, align 4 %103 = call i32 @close(i32 noundef %102) %104 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %105 = load i8, ptr %104, align 1 %106 = sext i8 %105 to i32 ret i32 %106 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @htons(i32 noundef) #1 declare i32 @memset(i32 noundef, i8 noundef signext, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @system(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" } 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/tmp5q1_7ibj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, ptr, ptr } %struct.TYPE_2__ = type { ptr } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_BROADCAST = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"setsockopt - SO_SOCKET \00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Socket created\0A\00", align 1 @AF_INET = dso_local global ptr null, align 8 @INADDR_ANY = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"./st key push s1\00", align 1 @.str.7 = private unnamed_addr constant [59 x i8] c"./st key push s2; ./st key release s2; ./st key release s1\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"./st key release s2; ./st key release s1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @receiver_run() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca %struct.sockaddr_in, align 8 %4 = alloca %struct.sockaddr_in, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 1, ptr %7, align 4 %8 = load i32, ptr @PF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %1, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 @perror(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %0 %16 = load i32, ptr %1, align 4 %17 = load i32, ptr @SOL_SOCKET, align 4 %18 = load i32, ptr @SO_BROADCAST, align 4 %19 = call i32 @setsockopt(i32 noundef %16, i32 noundef %17, i32 noundef %18, ptr noundef %7, i32 noundef 4) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %24 21: ; preds = %15 %22 = call i32 @perror(ptr noundef @.str.1) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %15 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %26 = load ptr, ptr @AF_INET, align 8 %27 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 3 store ptr %26, ptr %27, align 8 %28 = call ptr @htons(i32 noundef 8000) %29 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store ptr %28, ptr %29, align 8 %30 = load ptr, ptr @INADDR_ANY, align 8 %31 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 %32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0 store ptr %30, ptr %32, align 8 %33 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %34 = load i32, ptr %33, align 8 %35 = call i32 @memset(i32 noundef %34, i8 noundef signext 0, i32 noundef 4) %36 = load ptr, ptr @AF_INET, align 8 %37 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 3 store ptr %36, ptr %37, align 8 %38 = call ptr @htons(i32 noundef 8000) %39 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store ptr %38, ptr %39, align 8 %40 = load ptr, ptr @INADDR_ANY, align 8 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %42 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i32 0, i32 0 store ptr %40, ptr %42, align 8 %43 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %44 = load i32, ptr %43, align 8 %45 = call i32 @memset(i32 noundef %44, i8 noundef signext 0, i32 noundef 4) %46 = load i32, ptr %1, align 4 %47 = call i32 @bind(i32 noundef %46, ptr noundef %4, i32 noundef 32) %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %52 49: ; preds = %24 %50 = call i32 @perror(ptr noundef @.str.3) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %24 store i32 32, ptr %6, align 4 %53 = load i32, ptr %1, align 4 %54 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %55 = call i32 @recvfrom(i32 noundef %53, ptr noundef %54, i32 noundef 10, i32 noundef 0, ptr noundef %3, ptr noundef %6) store i32 %55, ptr %5, align 4 %56 = icmp eq i32 %55, -1 br i1 %56, label %57, label %.lr.ph .lr.ph: ; preds = %52 br label %60 ._crit_edge: ; preds = %99 br label %57 57: ; preds = %._crit_edge, %52 %58 = call i32 @perror(ptr noundef @.str.4) %59 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 store i8 1, ptr %59, align 1 br label %103 60: ; preds = %.lr.ph, %99 %61 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %61) %63 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %60 br label %103 68: ; preds = %60 %69 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 70 br i1 %72, label %73, label %75 73: ; preds = %68 %74 = call i32 @system(ptr noundef @.str.6) br label %98 75: ; preds = %68 %76 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 83 br i1 %79, label %80, label %82 80: ; preds = %75 %81 = call i32 @system(ptr noundef @.str.7) br label %97 82: ; preds = %75 %83 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 82 br i1 %86, label %87, label %89 87: ; preds = %82 %88 = call i32 @system(ptr noundef @.str.8) br label %96 89: ; preds = %82 %90 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 88 br i1 %93, label %94, label %95 94: ; preds = %89 br label %103 95: ; preds = %89 br label %96 96: ; preds = %95, %87 br label %97 97: ; preds = %96, %80 br label %98 98: ; preds = %97, %73 br label %99 99: ; preds = %98 store i32 32, ptr %6, align 4 %100 = load i32, ptr %1, align 4 %101 = call i32 @recvfrom(i32 noundef %100, ptr noundef %54, i32 noundef 10, i32 noundef 0, ptr noundef %3, ptr noundef %6) store i32 %101, ptr %5, align 4 %102 = icmp eq i32 %101, -1 br i1 %102, label %._crit_edge, label %60 103: ; preds = %94, %67, %57 %104 = load i32, ptr %1, align 4 %105 = call i32 @close(i32 noundef %104) %106 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 ret i32 %108 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @htons(i32 noundef) #1 declare i32 @memset(i32 noundef, i8 noundef signext, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @system(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" } 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/tmpw2snttg9.c' source_filename = "/tmp/tmpw2snttg9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Digite 3 inteiros distintos: \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"Ordem ascendente: %d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2, ptr noundef %3) %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sgt i32 %9, %10 br i1 %11, label %12, label %28 12: ; preds = %0 %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp sgt i32 %13, %14 br i1 %15, label %16, label %28 16: ; preds = %12 %17 = load i32, ptr %1, align 4 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr %2, align 4 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %3, align 4 store i32 %23, ptr %5, align 4 br label %27 24: ; preds = %16 %25 = load i32, ptr %3, align 4 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %2, align 4 store i32 %26, ptr %5, align 4 br label %27 27: ; preds = %24, %21 br label %61 28: ; preds = %12, %0 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %1, align 4 %31 = icmp sgt i32 %29, %30 br i1 %31, label %32, label %48 32: ; preds = %28 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp sgt i32 %33, %34 br i1 %35, label %36, label %48 36: ; preds = %32 %37 = load i32, ptr %2, align 4 store i32 %37, ptr %4, align 4 %38 = load i32, ptr %1, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %44 41: ; preds = %36 %42 = load i32, ptr %1, align 4 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %3, align 4 store i32 %43, ptr %5, align 4 br label %47 44: ; preds = %36 %45 = load i32, ptr %3, align 4 store i32 %45, ptr %6, align 4 %46 = load i32, ptr %1, align 4 store i32 %46, ptr %5, align 4 br label %47 47: ; preds = %44, %41 br label %60 48: ; preds = %32, %28 %49 = load i32, ptr %3, align 4 store i32 %49, ptr %4, align 4 %50 = load i32, ptr %1, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %56 53: ; preds = %48 %54 = load i32, ptr %1, align 4 store i32 %54, ptr %6, align 4 %55 = load i32, ptr %2, align 4 store i32 %55, ptr %5, align 4 br label %59 56: ; preds = %48 %57 = load i32, ptr %2, align 4 store i32 %57, ptr %6, align 4 %58 = load i32, ptr %1, align 4 store i32 %58, ptr %5, align 4 br label %59 59: ; preds = %56, %53 br label %60 60: ; preds = %59, %47 br label %61 61: ; preds = %60, %27 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %4, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %62, i32 noundef %63, i32 noundef %64) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw2snttg9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Digite 3 inteiros distintos: \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"Ordem ascendente: %d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2, ptr noundef %3) %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sgt i32 %9, %10 br i1 %11, label %12, label %28 12: ; preds = %0 %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp sgt i32 %13, %14 br i1 %15, label %16, label %28 16: ; preds = %12 %17 = load i32, ptr %1, align 4 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr %2, align 4 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %3, align 4 store i32 %23, ptr %5, align 4 br label %27 24: ; preds = %16 %25 = load i32, ptr %3, align 4 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %2, align 4 store i32 %26, ptr %5, align 4 br label %27 27: ; preds = %24, %21 br label %61 28: ; preds = %12, %0 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %1, align 4 %31 = icmp sgt i32 %29, %30 br i1 %31, label %32, label %48 32: ; preds = %28 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp sgt i32 %33, %34 br i1 %35, label %36, label %48 36: ; preds = %32 %37 = load i32, ptr %2, align 4 store i32 %37, ptr %4, align 4 %38 = load i32, ptr %1, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %44 41: ; preds = %36 %42 = load i32, ptr %1, align 4 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %3, align 4 store i32 %43, ptr %5, align 4 br label %47 44: ; preds = %36 %45 = load i32, ptr %3, align 4 store i32 %45, ptr %6, align 4 %46 = load i32, ptr %1, align 4 store i32 %46, ptr %5, align 4 br label %47 47: ; preds = %44, %41 br label %60 48: ; preds = %32, %28 %49 = load i32, ptr %3, align 4 store i32 %49, ptr %4, align 4 %50 = load i32, ptr %1, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %56 53: ; preds = %48 %54 = load i32, ptr %1, align 4 store i32 %54, ptr %6, align 4 %55 = load i32, ptr %2, align 4 store i32 %55, ptr %5, align 4 br label %59 56: ; preds = %48 %57 = load i32, ptr %2, align 4 store i32 %57, ptr %6, align 4 %58 = load i32, ptr %1, align 4 store i32 %58, ptr %5, align 4 br label %59 59: ; preds = %56, %53 br label %60 60: ; preds = %59, %47 br label %61 61: ; preds = %60, %27 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %4, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %62, i32 noundef %63, i32 noundef %64) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcziv23wx.c' source_filename = "/tmp/tmpcziv23wx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i8, align 1 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = trunc i32 %9 to i8 store i8 %10, ptr %7, align 1 store i64 0, ptr %8, align 8 br label %11 11: ; preds = %15, %3 %12 = load i64, ptr %8, align 8 %13 = load i64, ptr %6, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %15, label %22 15: ; preds = %11 %16 = load i8, ptr %7, align 1 %17 = load ptr, ptr %4, align 8 %18 = load i64, ptr %8, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 store i8 %16, ptr %19, align 1 %20 = load i64, ptr %8, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %8, align 8 br label %11, !llvm.loop !6 22: ; preds = %11 %23 = load ptr, ptr %4, align 8 ret ptr %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpcziv23wx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i8, align 1 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = trunc i32 %9 to i8 store i8 %10, ptr %7, align 1 store i64 0, ptr %8, align 8 %11 = load i64, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %14 %15 = load i8, ptr %7, align 1 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %16, i64 %17 store i8 %15, ptr %18, align 1 %19 = load i64, ptr %8, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %8, align 8 %21 = load i64, ptr %8, align 8 %22 = load i64, ptr %6, align 8 %23 = icmp ult i64 %21, %22 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %24 24: ; preds = %._crit_edge, %3 %25 = load ptr, ptr %4, align 8 ret ptr %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmprvjfhi3i.c' source_filename = "/tmp/tmprvjfhi3i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32 } @.str = private unnamed_addr constant [8 x i8] c"%d %llu\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 i64, align 8 %4 = alloca %struct.timeval, align 4 %5 = alloca %struct.timeval, align 4 %6 = alloca double, align 8 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %8 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) %9 = load i32, ptr %2, align 4 %10 = load i64, ptr %3, align 8 %11 = call double @pi_parallel(i32 noundef %9, i64 noundef %10) store double %11, ptr %6, align 8 %12 = call i32 @gettimeofday(ptr noundef %5, ptr noundef null) %13 = load double, ptr %6, align 8 %14 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = call i32 @print_results(double noundef %13, i32 %15, i32 %17) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare double @pi_parallel(i32 noundef, i64 noundef) #1 declare i32 @print_results(double noundef, i32, i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprvjfhi3i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32 } @.str = private unnamed_addr constant [8 x i8] c"%d %llu\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 i64, align 8 %4 = alloca %struct.timeval, align 4 %5 = alloca %struct.timeval, align 4 %6 = alloca double, align 8 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %8 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null) %9 = load i32, ptr %2, align 4 %10 = load i64, ptr %3, align 8 %11 = call double @pi_parallel(i32 noundef %9, i64 noundef %10) store double %11, ptr %6, align 8 %12 = call i32 @gettimeofday(ptr noundef %5, ptr noundef null) %13 = load double, ptr %6, align 8 %14 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = call i32 @print_results(double noundef %13, i32 %15, i32 %17) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare double @pi_parallel(i32 noundef, i64 noundef) #1 declare i32 @print_results(double noundef, i32, i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpidoniuke.c' source_filename = "/tmp/tmpidoniuke.c" target datalayout = "e-m:e-p270: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 @O_WRONLY = 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/tmpidoniuke.c" target datalayout = "e-m:e-p270: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 @O_WRONLY = 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/tmpjppz9_bu.c' source_filename = "/tmp/tmpjppz9_bu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test13a(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjppz9_bu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test13a(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy4we72us.c' source_filename = "/tmp/tmpy4we72us.c" target datalayout = "e-m:e-p270: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 = type { i32 } @.str = private unnamed_addr constant [18 x i8] c"socket failed %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"setsockopt error %d\0A\00", align 1 @SO_OOBINLINE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"bind error %d\0A\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @SOCK_SEQPACKET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"listen error %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @initserver(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %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 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 0, ptr %11, align 4 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds %struct.sockaddr, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr %6, align 4 %18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %10, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %4 %22 = load i32, ptr @errno, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) store i32 -1, ptr %5, align 4 br label %78 24: ; preds = %4 store i32 1, ptr %12, align 4 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr @SOL_SOCKET, align 4 %27 = load i32, ptr @SO_REUSEADDR, align 4 %28 = call i64 @setsockopt(i32 noundef %25, i32 noundef %26, i32 noundef %27, ptr noundef %12, i32 noundef 4) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %24 %31 = load i32, ptr @errno, align 4 store i32 %31, ptr %11, align 4 %32 = load i32, ptr %11, align 4 %33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32) br label %74 34: ; preds = %24 store i32 1, ptr %13, align 4 %35 = load i32, ptr %10, align 4 %36 = load i32, ptr @SOL_SOCKET, align 4 %37 = load i32, ptr @SO_OOBINLINE, align 4 %38 = call i64 @setsockopt(i32 noundef %35, i32 noundef %36, i32 noundef %37, ptr noundef %13, i32 noundef 4) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %34 %41 = load i32, ptr @errno, align 4 store i32 %41, ptr %11, align 4 %42 = load i32, ptr %11, align 4 %43 = call i32 @printf(ptr noundef @.str.1, i32 noundef %42) br label %74 44: ; preds = %34 %45 = load i32, ptr %10, align 4 %46 = load ptr, ptr %7, align 8 %47 = load i32, ptr %8, align 4 %48 = call i64 @bind(i32 noundef %45, ptr noundef %46, i32 noundef %47) %49 = icmp slt i64 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %44 %51 = load i32, ptr @errno, align 4 store i32 %51, ptr %11, align 4 %52 = load i32, ptr %11, align 4 %53 = call i32 @printf(ptr noundef @.str.2, i32 noundef %52) br label %74 54: ; preds = %44 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr @SOCK_STREAM, align 4 %57 = icmp eq i32 %55, %56 br i1 %57, label %62, label %58 58: ; preds = %54 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr @SOCK_SEQPACKET, align 4 %61 = icmp eq i32 %59, %60 br i1 %61, label %62, label %72 62: ; preds = %58, %54 %63 = load i32, ptr %10, align 4 %64 = load i32, ptr %9, align 4 %65 = call i64 @listen(i32 noundef %63, i32 noundef %64) %66 = icmp slt i64 %65, 0 br i1 %66, label %67, label %71 67: ; preds = %62 %68 = load i32, ptr @errno, align 4 store i32 %68, ptr %11, align 4 %69 = load i32, ptr %11, align 4 %70 = call i32 @printf(ptr noundef @.str.3, i32 noundef %69) br label %74 71: ; preds = %62 br label %72 72: ; preds = %71, %58 %73 = load i32, ptr %10, align 4 store i32 %73, ptr %5, align 4 br label %78 74: ; preds = %67, %50, %40, %30 %75 = load i32, ptr %10, align 4 %76 = call i32 @close(i32 noundef %75) %77 = load i32, ptr %11, align 4 store i32 %77, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %78 78: ; preds = %74, %72, %21 %79 = load i32, ptr %5, align 4 ret i32 %79 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy4we72us.c" target datalayout = "e-m:e-p270: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 = type { i32 } @.str = private unnamed_addr constant [18 x i8] c"socket failed %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"setsockopt error %d\0A\00", align 1 @SO_OOBINLINE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"bind error %d\0A\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @SOCK_SEQPACKET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"listen error %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @initserver(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %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 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 0, ptr %11, align 4 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds %struct.sockaddr, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr %6, align 4 %18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %10, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %4 %22 = load i32, ptr @errno, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) store i32 -1, ptr %5, align 4 br label %78 24: ; preds = %4 store i32 1, ptr %12, align 4 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr @SOL_SOCKET, align 4 %27 = load i32, ptr @SO_REUSEADDR, align 4 %28 = call i64 @setsockopt(i32 noundef %25, i32 noundef %26, i32 noundef %27, ptr noundef %12, i32 noundef 4) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %24 %31 = load i32, ptr @errno, align 4 store i32 %31, ptr %11, align 4 %32 = load i32, ptr %11, align 4 %33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32) br label %74 34: ; preds = %24 store i32 1, ptr %13, align 4 %35 = load i32, ptr %10, align 4 %36 = load i32, ptr @SOL_SOCKET, align 4 %37 = load i32, ptr @SO_OOBINLINE, align 4 %38 = call i64 @setsockopt(i32 noundef %35, i32 noundef %36, i32 noundef %37, ptr noundef %13, i32 noundef 4) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %34 %41 = load i32, ptr @errno, align 4 store i32 %41, ptr %11, align 4 %42 = load i32, ptr %11, align 4 %43 = call i32 @printf(ptr noundef @.str.1, i32 noundef %42) br label %74 44: ; preds = %34 %45 = load i32, ptr %10, align 4 %46 = load ptr, ptr %7, align 8 %47 = load i32, ptr %8, align 4 %48 = call i64 @bind(i32 noundef %45, ptr noundef %46, i32 noundef %47) %49 = icmp slt i64 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %44 %51 = load i32, ptr @errno, align 4 store i32 %51, ptr %11, align 4 %52 = load i32, ptr %11, align 4 %53 = call i32 @printf(ptr noundef @.str.2, i32 noundef %52) br label %74 54: ; preds = %44 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr @SOCK_STREAM, align 4 %57 = icmp eq i32 %55, %56 br i1 %57, label %62, label %58 58: ; preds = %54 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr @SOCK_SEQPACKET, align 4 %61 = icmp eq i32 %59, %60 br i1 %61, label %62, label %72 62: ; preds = %58, %54 %63 = load i32, ptr %10, align 4 %64 = load i32, ptr %9, align 4 %65 = call i64 @listen(i32 noundef %63, i32 noundef %64) %66 = icmp slt i64 %65, 0 br i1 %66, label %67, label %71 67: ; preds = %62 %68 = load i32, ptr @errno, align 4 store i32 %68, ptr %11, align 4 %69 = load i32, ptr %11, align 4 %70 = call i32 @printf(ptr noundef @.str.3, i32 noundef %69) br label %74 71: ; preds = %62 br label %72 72: ; preds = %71, %58 %73 = load i32, ptr %10, align 4 store i32 %73, ptr %5, align 4 br label %78 74: ; preds = %67, %50, %40, %30 %75 = load i32, ptr %10, align 4 %76 = call i32 @close(i32 noundef %75) %77 = load i32, ptr %11, align 4 store i32 %77, ptr @errno, align 4 store i32 -1, ptr %5, align 4 br label %78 78: ; preds = %74, %72, %21 %79 = load i32, ptr %5, align 4 ret i32 %79 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(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"}
; ModuleID = '/tmp/tmp3z84kiby.c' source_filename = "/tmp/tmp3z84kiby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @DMA0_DMA16_IRQHandler() #0 { %1 = call i32 (...) @DMA0_DMA16_DriverIRQHandler() ret void } declare i32 @DMA0_DMA16_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3z84kiby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @DMA0_DMA16_IRQHandler() #0 { %1 = call i32 (...) @DMA0_DMA16_DriverIRQHandler() ret void } declare i32 @DMA0_DMA16_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk8bb0qkw.c' source_filename = "/tmp/tmpk8bb0qkw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pcloseRWE(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 0 %9 = load i32, ptr %8, align 4 %10 = call i32 @close(i32 noundef %9) %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 1 %13 = load i32, ptr %12, align 4 %14 = call i32 @close(i32 noundef %13) %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 2 %17 = load i32, ptr %16, align 4 %18 = call i32 @close(i32 noundef %17) br label %19 19: ; preds = %30, %2 %20 = load i32, ptr %3, align 4 %21 = call i32 @waitpid(i32 noundef %20, ptr noundef %6, i32 noundef 0) store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load i32, ptr %6, align 4 %27 = call i32 @WIFEXITED(i32 noundef %26) %28 = icmp ne i32 %27, 0 %29 = xor i1 %28, true br label %30 30: ; preds = %25, %22 %31 = phi i1 [ false, %22 ], [ %29, %25 ] br i1 %31, label %19, label %32, !llvm.loop !6 32: ; preds = %30 %33 = load i32, ptr %6, align 4 ret i32 %33 } declare i32 @close(i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(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/tmpk8bb0qkw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pcloseRWE(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 0 %9 = load i32, ptr %8, align 4 %10 = call i32 @close(i32 noundef %9) %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 1 %13 = load i32, ptr %12, align 4 %14 = call i32 @close(i32 noundef %13) %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 2 %17 = load i32, ptr %16, align 4 %18 = call i32 @close(i32 noundef %17) br label %19 19: ; preds = %30, %2 %20 = load i32, ptr %3, align 4 %21 = call i32 @waitpid(i32 noundef %20, ptr noundef %6, i32 noundef 0) store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load i32, ptr %6, align 4 %27 = call i32 @WIFEXITED(i32 noundef %26) %28 = icmp ne i32 %27, 0 %29 = xor i1 %28, true br label %30 30: ; preds = %25, %22 %31 = phi i1 [ false, %22 ], [ %29, %25 ] br i1 %31, label %19, label %32, !llvm.loop !6 32: ; preds = %30 %33 = load i32, ptr %6, align 4 ret i32 %33 } declare i32 @close(i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(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/tmpq0p9wnvi.c' source_filename = "/tmp/tmpq0p9wnvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @char_to_int(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 i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %12, %2 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %31 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %4, align 4 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 store i8 %19, ptr %8, align 1 %20 = load i32, ptr %6, align 4 %21 = call i32 @power_10(i32 noundef %20) store i32 %21, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = load i8, ptr %8, align 1 %24 = sext i8 %23 to i32 %25 = sub nsw i32 %24, 48 %26 = load i32, ptr %7, align 4 %27 = mul nsw i32 %25, %26 %28 = add nsw i32 %22, %27 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %9, !llvm.loop !6 31: ; preds = %9 %32 = load i32, ptr %5, align 4 ret i32 %32 } declare i32 @power_10(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/tmpq0p9wnvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @char_to_int(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 i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %4, align 4 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 store i8 %18, ptr %8, align 1 %19 = load i32, ptr %6, align 4 %20 = call i32 @power_10(i32 noundef %19) store i32 %20, ptr %7, align 4 %21 = load i32, ptr %5, align 4 %22 = load i8, ptr %8, align 1 %23 = sext i8 %22 to i32 %24 = sub nsw i32 %23, 48 %25 = load i32, ptr %7, align 4 %26 = mul nsw i32 %24, %25 %27 = add nsw i32 %21, %26 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp sgt i32 %30, 0 br i1 %31, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %32 32: ; preds = %._crit_edge, %2 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare i32 @power_10(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/tmpwftdj8of.c' source_filename = "/tmp/tmpwftdj8of.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"This is your turn. Enter number to place your piece.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Invalid input. Try again.\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Invalid choice. Try again.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_human_response(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str) br label %6 6: ; preds = %1, %10, %16 %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %6 %11 = call i32 @printf(ptr noundef @.str.2) br label %6 12: ; preds = %6 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp sge i32 %13, %14 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 @printf(ptr noundef @.str.3) br label %6 18: ; preds = %12 br label %19 19: ; preds = %18 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwftdj8of.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"This is your turn. Enter number to place your piece.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Invalid input. Try again.\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Invalid choice. Try again.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_human_response(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str) br label %6 6: ; preds = %.backedge, %1 %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %6 %11 = call i32 @printf(ptr noundef @.str.2) br label %.backedge .backedge: ; preds = %10, %16 br label %6 12: ; preds = %6 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp sge i32 %13, %14 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 @printf(ptr noundef @.str.3) br label %.backedge 18: ; preds = %12 br label %19 19: ; preds = %18 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb82798kj.c' source_filename = "/tmp/tmpb82798kj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnrcmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %8, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %9, align 4 store i32 1, ptr %10, align 4 br label %16 16: ; preds = %66, %3 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %20, label %69 20: ; preds = %16 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %10, align 4 %23 = sub nsw i32 %21, %22 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %20 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %10, align 4 %28 = sub nsw i32 %26, %27 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %25 store i32 0, ptr %4, align 4 br label %70 31: ; preds = %25, %20 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %10, align 4 %34 = sub nsw i32 %32, %33 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %31 store i32 -1, ptr %4, align 4 br label %70 37: ; preds = %31 %38 = load i32, ptr %9, align 4 %39 = load i32, ptr %10, align 4 %40 = sub nsw i32 %38, %39 %41 = icmp slt i32 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %37 store i32 1, ptr %4, align 4 br label %70 43: ; preds = %37 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr %10, align 4 %47 = sub nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %44, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %10, align 4 %55 = sub nsw i32 %53, %54 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %52, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = sub nsw i32 %51, %59 store i32 %60, ptr %11, align 4 %61 = load i32, ptr %11, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %65 63: ; preds = %43 %64 = load i32, ptr %11, align 4 store i32 %64, ptr %4, align 4 br label %70 65: ; preds = %43 br label %66 66: ; preds = %65 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %10, align 4 br label %16, !llvm.loop !6 69: ; preds = %16 store i32 0, ptr %4, align 4 br label %70 70: ; preds = %69, %63, %42, %36, %30 %71 = load i32, ptr %4, align 4 ret i32 %71 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb82798kj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnrcmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %8, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %9, align 4 store i32 1, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %.lr.ph, label %71 .lr.ph: ; preds = %3 br label %19 19: ; preds = %.lr.ph, %65 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %10, align 4 %22 = sub nsw i32 %20, %21 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %30 24: ; preds = %19 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %10, align 4 %27 = sub nsw i32 %25, %26 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %24 store i32 0, ptr %4, align 4 br label %72 30: ; preds = %24, %19 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %10, align 4 %33 = sub nsw i32 %31, %32 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %30 store i32 -1, ptr %4, align 4 br label %72 36: ; preds = %30 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %10, align 4 %39 = sub nsw i32 %37, %38 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %36 store i32 1, ptr %4, align 4 br label %72 42: ; preds = %36 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %10, align 4 %46 = sub nsw i32 %44, %45 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %43, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %10, align 4 %54 = sub nsw i32 %52, %53 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %51, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = sub nsw i32 %50, %58 store i32 %59, ptr %11, align 4 %60 = load i32, ptr %11, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %64 62: ; preds = %42 %63 = load i32, ptr %11, align 4 store i32 %63, ptr %4, align 4 br label %72 64: ; preds = %42 br label %65 65: ; preds = %64 %66 = load i32, ptr %10, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %10, align 4 %68 = load i32, ptr %10, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp sle i32 %68, %69 br i1 %70, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %71 71: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %72 72: ; preds = %71, %62, %41, %35, %29 %73 = load i32, ptr %4, align 4 ret i32 %73 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnkqfe7kx.c' source_filename = "/tmp/tmpnkqfe7kx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [37 x i8] c"Output for data set %ld, %ld bytes:\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c" Time remaining: stalled\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c" Time remaining: %ld seconds\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Total time: %ld seconds\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %6, align 8 br label %9 9: ; preds = %58, %0 %10 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %11 = load i64, ptr @EOF, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i64, ptr %2, align 8 %15 = icmp ne i64 %14, 0 br label %16 16: ; preds = %13, %9 %17 = phi i1 [ false, %9 ], [ %15, %13 ] br i1 %17, label %18, label %62 18: ; preds = %16 %19 = load i64, ptr %2, align 8 store i64 %19, ptr %3, align 8 store i64 0, ptr %4, align 8 store i64 0, ptr %5, align 8 %20 = load i64, ptr %6, align 8 %21 = add nsw i64 %20, 1 store i64 %21, ptr %6, align 8 %22 = load i64, ptr %2, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %21, i64 noundef %22) br label %24 24: ; preds = %57, %18 %25 = load i64, ptr %3, align 8 %26 = icmp sgt i64 %25, 0 br i1 %26, label %27, label %58 27: ; preds = %24 %28 = call i64 @scanf(ptr noundef @.str, ptr noundef %7) %29 = load i64, ptr %7, align 8 %30 = load i64, ptr %3, align 8 %31 = sub nsw i64 %30, %29 store i64 %31, ptr %3, align 8 %32 = load i64, ptr %7, align 8 %33 = load i64, ptr %4, align 8 %34 = add nsw i64 %33, %32 store i64 %34, ptr %4, align 8 %35 = load i64, ptr %5, align 8 %36 = add nsw i64 %35, 1 store i64 %36, ptr %5, align 8 %37 = load i64, ptr %5, align 8 %38 = srem i64 %37, 5 %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %57 40: ; preds = %27 %41 = load i64, ptr %4, align 8 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %56 45: ; preds = %40 %46 = load i64, ptr %3, align 8 %47 = sitofp i64 %46 to double %48 = load i64, ptr %4, align 8 %49 = sitofp i64 %48 to double %50 = fdiv double %49, 5.000000e+00 %51 = fdiv double %47, %50 store double %51, ptr %8, align 8 %52 = load double, ptr %8, align 8 %53 = fadd double %52, 0x3FEFFFFFCA501ACB %54 = fptosi double %53 to i64 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %54) store i64 0, ptr %4, align 8 br label %56 56: ; preds = %45, %43 br label %57 57: ; preds = %56, %27 br label %24, !llvm.loop !6 58: ; preds = %24 %59 = load i64, ptr %5, align 8 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %59) %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %9, !llvm.loop !8 62: ; preds = %16 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnkqfe7kx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [37 x i8] c"Output for data set %ld, %ld bytes:\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c" Time remaining: stalled\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c" Time remaining: %ld seconds\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Total time: %ld seconds\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %6, align 8 br label %9 9: ; preds = %59, %0 %10 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %11 = load i64, ptr @EOF, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i64, ptr %2, align 8 %15 = icmp ne i64 %14, 0 br label %16 16: ; preds = %13, %9 %17 = phi i1 [ false, %9 ], [ %15, %13 ] br i1 %17, label %18, label %63 18: ; preds = %16 %19 = load i64, ptr %2, align 8 store i64 %19, ptr %3, align 8 store i64 0, ptr %4, align 8 store i64 0, ptr %5, align 8 %20 = load i64, ptr %6, align 8 %21 = add nsw i64 %20, 1 store i64 %21, ptr %6, align 8 %22 = load i64, ptr %2, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %21, i64 noundef %22) %24 = load i64, ptr %3, align 8 %25 = icmp sgt i64 %24, 0 br i1 %25, label %.lr.ph, label %59 .lr.ph: ; preds = %18 br label %26 26: ; preds = %.lr.ph, %56 %27 = call i64 @scanf(ptr noundef @.str, ptr noundef %7) %28 = load i64, ptr %7, align 8 %29 = load i64, ptr %3, align 8 %30 = sub nsw i64 %29, %28 store i64 %30, ptr %3, align 8 %31 = load i64, ptr %7, align 8 %32 = load i64, ptr %4, align 8 %33 = add nsw i64 %32, %31 store i64 %33, ptr %4, align 8 %34 = load i64, ptr %5, align 8 %35 = add nsw i64 %34, 1 store i64 %35, ptr %5, align 8 %36 = load i64, ptr %5, align 8 %37 = srem i64 %36, 5 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %56 39: ; preds = %26 %40 = load i64, ptr %4, align 8 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %39 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %55 44: ; preds = %39 %45 = load i64, ptr %3, align 8 %46 = sitofp i64 %45 to double %47 = load i64, ptr %4, align 8 %48 = sitofp i64 %47 to double %49 = fdiv double %48, 5.000000e+00 %50 = fdiv double %46, %49 store double %50, ptr %8, align 8 %51 = load double, ptr %8, align 8 %52 = fadd double %51, 0x3FEFFFFFCA501ACB %53 = fptosi double %52 to i64 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %53) store i64 0, ptr %4, align 8 br label %55 55: ; preds = %44, %42 br label %56 56: ; preds = %55, %26 %57 = load i64, ptr %3, align 8 %58 = icmp sgt i64 %57, 0 br i1 %58, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %59 59: ; preds = %._crit_edge, %18 %60 = load i64, ptr %5, align 8 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %60) %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %9, !llvm.loop !8 63: ; preds = %16 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpdwn_6csi.c' source_filename = "/tmp/tmpdwn_6csi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vprintf_help(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @putchar(i32 noundef %6) ret i32 0 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdwn_6csi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vprintf_help(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @putchar(i32 noundef %6) ret i32 0 } 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"}
; ModuleID = '/tmp/tmpyoc2x5a4.c' source_filename = "/tmp/tmpyoc2x5a4.c" target datalayout = "e-m:e-p270: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/tmpyoc2x5a4.c" target datalayout = "e-m:e-p270: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/tmp5vxwvoat.c' source_filename = "/tmp/tmp5vxwvoat.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puterr(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 @strlen(ptr noundef %4) %6 = call i32 @write(i32 noundef 2, ptr noundef %3, i32 noundef %5) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5vxwvoat.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puterr(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 @strlen(ptr noundef %4) %6 = call i32 @write(i32 noundef 2, ptr noundef %3, i32 noundef %5) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_hvywtv1.c' source_filename = "/tmp/tmp_hvywtv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mapcon_number_of_maps(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @_ada_use_c2phc4c(i32 noundef 434, ptr noundef %3, ptr noundef %7, ptr noundef %8, i32 noundef 0) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_hvywtv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mapcon_number_of_maps(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @_ada_use_c2phc4c(i32 noundef 434, ptr noundef %3, ptr noundef %7, ptr noundef %8, i32 noundef 0) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx706dpen.c' source_filename = "/tmp/tmpx706dpen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @wcslen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 br label %4 4: ; preds = %9, %1 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i32, ptr %5, i32 1 store ptr %6, ptr %2, align 8 %7 = load i32, ptr %5, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %4 %10 = load i64, ptr %3, align 8 %11 = add i64 %10, 1 store i64 %11, ptr %3, align 8 br label %4, !llvm.loop !6 12: ; preds = %4 %13 = load i64, ptr %3, align 8 ret i64 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpx706dpen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @wcslen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i32, ptr %4, i32 1 store ptr %5, ptr %2, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i64, ptr %3, align 8 %10 = add i64 %9, 1 store i64 %10, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i32, ptr %11, i32 1 store ptr %12, ptr %2, align 8 %13 = load i32, ptr %11, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %15 15: ; preds = %._crit_edge, %1 %16 = load i64, ptr %3, align 8 ret i64 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppelyatt_.c' source_filename = "/tmp/tmppelyatt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0AIl vous reste %d coups a jouer\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @afficherCoups(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 @printf(ptr noundef @.str, i32 noundef %3) 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/tmppelyatt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0AIl vous reste %d coups a jouer\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @afficherCoups(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 @printf(ptr noundef @.str, i32 noundef %3) 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/tmpj48mp6cw.c' source_filename = "/tmp/tmpj48mp6cw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32 (...) @TestRotK() %7 = call i32 (...) @TestCrack() ret i32 0 } declare i32 @TestRotK(...) #1 declare i32 @TestCrack(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj48mp6cw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32 (...) @TestRotK() %7 = call i32 (...) @TestCrack() ret i32 0 } declare i32 @TestRotK(...) #1 declare i32 @TestCrack(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv2jq5xlv.c' source_filename = "/tmp/tmpv2jq5xlv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f146(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 @f145(ptr noundef %3) ret i32 %4 } declare i32 @f145(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv2jq5xlv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f146(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 @f145(ptr noundef %3) ret i32 %4 } declare i32 @f145(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa7ldx9py.c' source_filename = "/tmp/tmpa7ldx9py.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_string(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 store i8 0, ptr %6, align 1 br label %7 7: ; preds = %53, %2 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %4, align 8 %10 = sub i64 %9, 1 %11 = icmp ult i64 %8, %10 br i1 %11, label %12, label %20 12: ; preds = %7 %13 = load i8, ptr %6, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 10 br i1 %15, label %16, label %20 16: ; preds = %12 %17 = load i8, ptr %6, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 13 br label %20 20: ; preds = %16, %12, %7 %21 = phi i1 [ false, %12 ], [ false, %7 ], [ %19, %16 ] br i1 %21, label %22, label %54 22: ; preds = %20 %23 = call signext i8 (...) @get_char() store i8 %23, ptr %6, align 1 %24 = load i8, ptr %6, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 10 br i1 %26, label %27, label %39 27: ; preds = %22 %28 = load i8, ptr %6, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 13 br i1 %30, label %31, label %39 31: ; preds = %27 %32 = load i8, ptr %6, align 1 %33 = call i32 @put_char(i8 noundef signext %32) %34 = load i8, ptr %6, align 1 %35 = load ptr, ptr %3, align 8 %36 = load i64, ptr %5, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %35, i64 %36 store i8 %34, ptr %38, align 1 br label %53 39: ; preds = %27, %22 %40 = load i8, ptr %6, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 13 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = call i32 @put_string(ptr noundef @.str) br label %52 45: ; preds = %39 %46 = load i8, ptr %6, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 10 br i1 %48, label %49, label %51 49: ; preds = %45 %50 = call i32 @put_string(ptr noundef @.str) br label %51 51: ; preds = %49, %45 br label %52 52: ; preds = %51, %43 br label %53 53: ; preds = %52, %31 br label %7, !llvm.loop !6 54: ; preds = %20 %55 = load ptr, ptr %3, align 8 %56 = load i64, ptr %5, align 8 %57 = getelementptr inbounds i8, ptr %55, i64 %56 store i8 0, ptr %57, align 1 %58 = load i64, ptr %5, align 8 ret i64 %58 } declare signext i8 @get_char(...) #1 declare i32 @put_char(i8 noundef signext) #1 declare i32 @put_string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa7ldx9py.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_string(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 store i8 0, ptr %6, align 1 br label %7 7: ; preds = %53, %2 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %4, align 8 %10 = sub i64 %9, 1 %11 = icmp ult i64 %8, %10 br i1 %11, label %12, label %20 12: ; preds = %7 %13 = load i8, ptr %6, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 10 br i1 %15, label %16, label %20 16: ; preds = %12 %17 = load i8, ptr %6, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 13 br label %20 20: ; preds = %16, %12, %7 %21 = phi i1 [ false, %12 ], [ false, %7 ], [ %19, %16 ] br i1 %21, label %22, label %54 22: ; preds = %20 %23 = call signext i8 (...) @get_char() store i8 %23, ptr %6, align 1 %24 = load i8, ptr %6, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 10 br i1 %26, label %27, label %39 27: ; preds = %22 %28 = load i8, ptr %6, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 13 br i1 %30, label %31, label %39 31: ; preds = %27 %32 = load i8, ptr %6, align 1 %33 = call i32 @put_char(i8 noundef signext %32) %34 = load i8, ptr %6, align 1 %35 = load ptr, ptr %3, align 8 %36 = load i64, ptr %5, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %35, i64 %36 store i8 %34, ptr %38, align 1 br label %53 39: ; preds = %27, %22 %40 = load i8, ptr %6, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 13 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = call i32 @put_string(ptr noundef @.str) br label %52 45: ; preds = %39 %46 = load i8, ptr %6, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 10 br i1 %48, label %49, label %51 49: ; preds = %45 %50 = call i32 @put_string(ptr noundef @.str) br label %51 51: ; preds = %49, %45 br label %52 52: ; preds = %51, %43 br label %53 53: ; preds = %52, %31 br label %7, !llvm.loop !6 54: ; preds = %20 %55 = load ptr, ptr %3, align 8 %56 = load i64, ptr %5, align 8 %57 = getelementptr inbounds i8, ptr %55, i64 %56 store i8 0, ptr %57, align 1 %58 = load i64, ptr %5, align 8 ret i64 %58 } declare signext i8 @get_char(...) #1 declare i32 @put_char(i8 noundef signext) #1 declare i32 @put_string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_7dtddmb.c' source_filename = "/tmp/tmp_7dtddmb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"wordlist too large.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @overflo() #0 { %1 = call i32 @die(ptr noundef @.str) ret void } declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_7dtddmb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"wordlist too large.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @overflo() #0 { %1 = call i32 @die(ptr noundef @.str) ret void } declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8y9gqcwx.c' source_filename = "/tmp/tmp8y9gqcwx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"getsockopt() failed: %s\0A.\00", align 1 @EXIT_SUCCESS = 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 @AF_INET, align 4 %6 = load i32, ptr @SOCK_DGRAM, align 4 %7 = load i32, ptr @IPPROTO_UDP, align 4 %8 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef %7) store i32 %8, ptr %2, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %0 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr @errno, align 4 %13 = call ptr @strerror(i32 noundef %12) %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %15, ptr %1, align 4 br label %30 16: ; preds = %0 store i32 4, ptr %4, align 4 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr @SOL_SOCKET, align 4 %19 = load i32, ptr @SO_REUSEADDR, align 4 %20 = call i64 @getsockopt(i32 noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %3, ptr noundef %4) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %16 %23 = load i32, ptr @stderr, align 4 %24 = load i32, ptr @errno, align 4 %25 = call ptr @strerror(i32 noundef %24) %26 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1, ptr noundef %25) %27 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %27, ptr %1, align 4 br label %30 28: ; preds = %16 %29 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %29, ptr %1, align 4 br label %30 30: ; preds = %28, %22, %10 %31 = load i32, ptr %1, align 4 ret i32 %31 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8y9gqcwx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"getsockopt() failed: %s\0A.\00", align 1 @EXIT_SUCCESS = 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 @AF_INET, align 4 %6 = load i32, ptr @SOCK_DGRAM, align 4 %7 = load i32, ptr @IPPROTO_UDP, align 4 %8 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef %7) store i32 %8, ptr %2, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %0 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr @errno, align 4 %13 = call ptr @strerror(i32 noundef %12) %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %15, ptr %1, align 4 br label %30 16: ; preds = %0 store i32 4, ptr %4, align 4 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr @SOL_SOCKET, align 4 %19 = load i32, ptr @SO_REUSEADDR, align 4 %20 = call i64 @getsockopt(i32 noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %3, ptr noundef %4) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %16 %23 = load i32, ptr @stderr, align 4 %24 = load i32, ptr @errno, align 4 %25 = call ptr @strerror(i32 noundef %24) %26 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1, ptr noundef %25) %27 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %27, ptr %1, align 4 br label %30 28: ; preds = %16 %29 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %29, ptr %1, align 4 br label %30 30: ; preds = %28, %22, %10 %31 = load i32, ptr %1, align 4 ret i32 %31 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3be0tv8q.c' source_filename = "/tmp/tmp3be0tv8q.c" target datalayout = "e-m:e-p270: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/tmp3be0tv8q.c" target datalayout = "e-m:e-p270: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/tmpuu9o5qft.c' source_filename = "/tmp/tmpuu9o5qft.c" target datalayout = "e-m:e-p270: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/tmpuu9o5qft.c" target datalayout = "e-m:e-p270: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/tmp8m9rwd0v.c' source_filename = "/tmp/tmp8m9rwd0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCBusy(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 0 %5 = sext i32 %4 to i64 %6 = inttoptr i64 %5 to ptr %7 = load volatile i32, ptr %6, align 4 %8 = and i32 %7, 65536 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i64 %11 = select i1 %9, i32 1, i32 0 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8m9rwd0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCBusy(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 0 %5 = sext i32 %4 to i64 %6 = inttoptr i64 %5 to ptr %7 = load volatile i32, ptr %6, align 4 %8 = and i32 %7, 65536 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i64 %11 = select i1 %9, i32 1, i32 0 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpygj1gyk4.c' source_filename = "/tmp/tmpygj1gyk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"firmware/rom00_patch.016.bin\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"firmware/fmhd_radio_5_0_4.bin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @si46xx_init_fm() #0 { %1 = call i32 (...) @si46xx_reset() %2 = call i32 (...) @si46xx_powerup() %3 = call i32 @si46xx_hostload(ptr noundef @.str) %4 = call i32 @si46xx_hostload(ptr noundef @.str.1) %5 = call i32 (...) @si46xx_boot() %6 = call i32 (...) @si46xx_get_sys_state() %7 = call i32 (...) @si46xx_get_partinfo() %8 = call i32 @si46xx_set_property(i32 noundef 2048, i32 noundef 2) %9 = call i32 @si46xx_set_property(i32 noundef 15362, i32 noundef 1) %10 = call i32 @si46xx_set_property(i32 noundef 14592, i32 noundef 1) ret void } declare i32 @si46xx_reset(...) #1 declare i32 @si46xx_powerup(...) #1 declare i32 @si46xx_hostload(ptr noundef) #1 declare i32 @si46xx_boot(...) #1 declare i32 @si46xx_get_sys_state(...) #1 declare i32 @si46xx_get_partinfo(...) #1 declare i32 @si46xx_set_property(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/tmpygj1gyk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"firmware/rom00_patch.016.bin\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"firmware/fmhd_radio_5_0_4.bin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @si46xx_init_fm() #0 { %1 = call i32 (...) @si46xx_reset() %2 = call i32 (...) @si46xx_powerup() %3 = call i32 @si46xx_hostload(ptr noundef @.str) %4 = call i32 @si46xx_hostload(ptr noundef @.str.1) %5 = call i32 (...) @si46xx_boot() %6 = call i32 (...) @si46xx_get_sys_state() %7 = call i32 (...) @si46xx_get_partinfo() %8 = call i32 @si46xx_set_property(i32 noundef 2048, i32 noundef 2) %9 = call i32 @si46xx_set_property(i32 noundef 15362, i32 noundef 1) %10 = call i32 @si46xx_set_property(i32 noundef 14592, i32 noundef 1) ret void } declare i32 @si46xx_reset(...) #1 declare i32 @si46xx_powerup(...) #1 declare i32 @si46xx_hostload(ptr noundef) #1 declare i32 @si46xx_boot(...) #1 declare i32 @si46xx_get_sys_state(...) #1 declare i32 @si46xx_get_partinfo(...) #1 declare i32 @si46xx_set_property(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/tmpg19_hf9u.c' source_filename = "/tmp/tmpg19_hf9u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [859 x i8] c"Usage: nmap-wrapper <host> <mode>\0AList Modes:\0A0 : Scan single host\0A1 : Turn on OS and version detection scanning\0A2 : Find out if a host/network is protected by a firewall\0A3 : Scan a host when protected by the firewall\0A4 : Perform fast scanning\0A5 : Display the reason a port in a particular state\0A6 : Only show open (or possibly open) ports\0A7 : Show all packets sent and received\0A8 : Detect remote operating system\0A9 : Detect remote services (server/daemon) version numbers\0A10: Scan a host using TCP ACK and TCP Syn ping\0A11: Scan a host using IP protocol ping\0A12: Scan a host using UDP ping\0A13: Scan a host for UDP services (UDP Scan)\0A14: Scan for IP protocol\0A15: Scan a firewall for packets fragments\0A16: Scan a firewall for MAC address spoofing\0A90: Intense scan plus UDP\0A91: Intense scan, all TCP ports\0A92: Intense scan, no ping\0A93: Slow comprehensive scan\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 0) #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/tmpg19_hf9u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [859 x i8] c"Usage: nmap-wrapper <host> <mode>\0AList Modes:\0A0 : Scan single host\0A1 : Turn on OS and version detection scanning\0A2 : Find out if a host/network is protected by a firewall\0A3 : Scan a host when protected by the firewall\0A4 : Perform fast scanning\0A5 : Display the reason a port in a particular state\0A6 : Only show open (or possibly open) ports\0A7 : Show all packets sent and received\0A8 : Detect remote operating system\0A9 : Detect remote services (server/daemon) version numbers\0A10: Scan a host using TCP ACK and TCP Syn ping\0A11: Scan a host using IP protocol ping\0A12: Scan a host using UDP ping\0A13: Scan a host for UDP services (UDP Scan)\0A14: Scan for IP protocol\0A15: Scan a firewall for packets fragments\0A16: Scan a firewall for MAC address spoofing\0A90: Intense scan plus UDP\0A91: Intense scan, all TCP ports\0A92: Intense scan, no ping\0A93: Slow comprehensive scan\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 0) #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/tmpdvfs4j0a.c' source_filename = "/tmp/tmpdvfs4j0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_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/tmpdvfs4j0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_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/tmpjwa8_0pc.c' source_filename = "/tmp/tmpjwa8_0pc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"non disegno nulla\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @disegnati_fg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjwa8_0pc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"non disegno nulla\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @disegnati_fg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg1dz1h36.c' source_filename = "/tmp/tmpg1dz1h36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @print_json_restart.sep = internal global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c",\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"\22restarts\22: [\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"{\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"\22boot\22: {\22date\22: \22%s\22, \22time\22: \22%s\22, \22utc\22: %d}\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"}\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_json_restart(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %13 = load i32, ptr %8, align 4 %14 = and i32 %13, 1 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %6 %17 = call i32 @printf(ptr noundef @.str) %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %18, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %18, align 4 %21 = call i32 (i32, ptr, ...) @xprintf(i32 noundef %19, ptr noundef @.str.1) br label %22 22: ; preds = %16, %6 %23 = load i32, ptr %8, align 4 %24 = and i32 %23, 2 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %49 26: ; preds = %22 %27 = load i32, ptr @print_json_restart.sep, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @printf(ptr noundef @.str) br label %31 31: ; preds = %29, %26 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %32, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %32, align 4 %35 = call i32 (i32, ptr, ...) @xprintf(i32 noundef %33, ptr noundef @.str.2) %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %9, align 8 %39 = load ptr, ptr %10, align 8 %40 = load i32, ptr %11, align 4 %41 = icmp ne i32 %40, 0 %42 = zext i1 %41 to i64 %43 = select i1 %41, i32 1, i32 0 %44 = call i32 (i32, ptr, ...) @xprintf(i32 noundef %37, ptr noundef @.str.3, ptr noundef %38, ptr noundef %39, i32 noundef %43) %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %45, align 4 %47 = add nsw i32 %46, -1 store i32 %47, ptr %45, align 4 %48 = call i32 @xprintf0(i32 noundef %47, ptr noundef @.str.4) store i32 1, ptr @print_json_restart.sep, align 4 br label %49 49: ; preds = %31, %22 %50 = load i32, ptr %8, align 4 %51 = and i32 %50, 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %63 53: ; preds = %49 %54 = load i32, ptr @print_json_restart.sep, align 4 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %53 %57 = call i32 @printf(ptr noundef @.str.5) store i32 0, ptr @print_json_restart.sep, align 4 br label %58 58: ; preds = %56, %53 %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %59, align 4 %61 = add nsw i32 %60, -1 store i32 %61, ptr %59, align 4 %62 = call i32 @xprintf0(i32 noundef %61, ptr noundef @.str.6) br label %63 63: ; preds = %58, %49 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @xprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @xprintf0(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg1dz1h36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @print_json_restart.sep = internal global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c",\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"\22restarts\22: [\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"{\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"\22boot\22: {\22date\22: \22%s\22, \22time\22: \22%s\22, \22utc\22: %d}\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"}\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_json_restart(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %13 = load i32, ptr %8, align 4 %14 = and i32 %13, 1 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %6 %17 = call i32 @printf(ptr noundef @.str) %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %18, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %18, align 4 %21 = call i32 (i32, ptr, ...) @xprintf(i32 noundef %19, ptr noundef @.str.1) br label %22 22: ; preds = %16, %6 %23 = load i32, ptr %8, align 4 %24 = and i32 %23, 2 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %49 26: ; preds = %22 %27 = load i32, ptr @print_json_restart.sep, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @printf(ptr noundef @.str) br label %31 31: ; preds = %29, %26 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %32, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %32, align 4 %35 = call i32 (i32, ptr, ...) @xprintf(i32 noundef %33, ptr noundef @.str.2) %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %9, align 8 %39 = load ptr, ptr %10, align 8 %40 = load i32, ptr %11, align 4 %41 = icmp ne i32 %40, 0 %42 = zext i1 %41 to i64 %43 = select i1 %41, i32 1, i32 0 %44 = call i32 (i32, ptr, ...) @xprintf(i32 noundef %37, ptr noundef @.str.3, ptr noundef %38, ptr noundef %39, i32 noundef %43) %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %45, align 4 %47 = add nsw i32 %46, -1 store i32 %47, ptr %45, align 4 %48 = call i32 @xprintf0(i32 noundef %47, ptr noundef @.str.4) store i32 1, ptr @print_json_restart.sep, align 4 br label %49 49: ; preds = %31, %22 %50 = load i32, ptr %8, align 4 %51 = and i32 %50, 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %63 53: ; preds = %49 %54 = load i32, ptr @print_json_restart.sep, align 4 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %53 %57 = call i32 @printf(ptr noundef @.str.5) store i32 0, ptr @print_json_restart.sep, align 4 br label %58 58: ; preds = %56, %53 %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %59, align 4 %61 = add nsw i32 %60, -1 store i32 %61, ptr %59, align 4 %62 = call i32 @xprintf0(i32 noundef %61, ptr noundef @.str.6) br label %63 63: ; preds = %58, %49 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @xprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @xprintf0(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa3s10_47.c' source_filename = "/tmp/tmpa3s10_47.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @l1() %7 = call i32 (...) @l2() %8 = call i32 (...) @l3() %9 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %9 } declare i32 @l1(...) #1 declare i32 @l2(...) #1 declare i32 @l3(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa3s10_47.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @l1() %7 = call i32 (...) @l2() %8 = call i32 (...) @l3() %9 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %9 } declare i32 @l1(...) #1 declare i32 @l2(...) #1 declare i32 @l3(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp08793z81.c' source_filename = "/tmp/tmp08793z81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FreeArray2D(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds ptr, ptr %3, i64 0 %5 = load ptr, ptr %4, align 8 %6 = call i32 @free(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) 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/tmp08793z81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FreeArray2D(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds ptr, ptr %3, i64 0 %5 = load ptr, ptr %4, align 8 %6 = call i32 @free(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) 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/tmpd27rbo7y.c' source_filename = "/tmp/tmpd27rbo7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sig_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %8 [ i32 129, label %4 i32 128, label %4 i32 130, label %4 i32 131, label %6 ] 4: ; preds = %1, %1, %1 %5 = call i32 (...) @shutdown() br label %8 6: ; preds = %1 %7 = call i32 @wait(ptr noundef null) br label %8 8: ; preds = %1, %6, %4 ret void } declare i32 @shutdown(...) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd27rbo7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sig_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %8 [ i32 129, label %4 i32 128, label %4 i32 130, label %4 i32 131, label %6 ] 4: ; preds = %1, %1, %1 %5 = call i32 (...) @shutdown() br label %8 6: ; preds = %1 %7 = call i32 @wait(ptr noundef null) br label %8 8: ; preds = %6, %4, %1 ret void } declare i32 @shutdown(...) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp88fqj0r0.c' source_filename = "/tmp/tmp88fqj0r0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Happily ignoring signal %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sighandler(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 @printf(ptr noundef @.str, i32 noundef %3) 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/tmp88fqj0r0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Happily ignoring signal %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sighandler(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 @printf(ptr noundef @.str, i32 noundef %3) 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/tmp1698bpq8.c' source_filename = "/tmp/tmp1698bpq8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tanh(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__nv_tanh(double noundef %3) ret double %4 } declare double @__nv_tanh(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1698bpq8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tanh(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__nv_tanh(double noundef %3) ret double %4 } declare double @__nv_tanh(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx__5gt2l.c' source_filename = "/tmp/tmpx__5gt2l.c" target datalayout = "e-m:e-p270: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/tmpx__5gt2l.c" target datalayout = "e-m:e-p270: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/tmpf3drsxgj.c' source_filename = "/tmp/tmpf3drsxgj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_range(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 = call i32 (...) @rand() %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 %10 = srem i32 %5, %9 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %10, %11 ret i32 %12 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf3drsxgj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_range(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 = call i32 (...) @rand() %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 %10 = srem i32 %5, %9 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %10, %11 ret i32 %12 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphllli833.c' source_filename = "/tmp/tmphllli833.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i64, i64 } @diff(i64 %0, i64 %1, i64 %2, i64 %3) #0 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca %struct.timespec, align 8 %8 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0 store i64 %0, ptr %8, align 8 %9 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1 store i64 %1, ptr %9, align 8 %10 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 0 store i64 %2, ptr %10, align 8 %11 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 1 store i64 %3, ptr %11, align 8 %12 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %15 = load i64, ptr %14, align 8 %16 = sub nsw i64 %13, %15 %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %33 18: ; preds = %4 %19 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %20 = load i64, ptr %19, align 8 %21 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %22 = load i64, ptr %21, align 8 %23 = sub nsw i64 %20, %22 %24 = sub nsw i64 %23, 1 %25 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 %24, ptr %25, align 8 %26 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %27 = load i64, ptr %26, align 8 %28 = add nsw i64 1000000000, %27 %29 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %30 = load i64, ptr %29, align 8 %31 = sub nsw i64 %28, %30 %32 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i64 %31, ptr %32, align 8 br label %46 33: ; preds = %4 %34 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %35 = load i64, ptr %34, align 8 %36 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %37 = load i64, ptr %36, align 8 %38 = sub nsw i64 %35, %37 %39 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 %38, ptr %39, align 8 %40 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %41 = load i64, ptr %40, align 8 %42 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %43 = load i64, ptr %42, align 8 %44 = sub nsw i64 %41, %43 %45 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i64 %44, ptr %45, align 8 br label %46 46: ; preds = %33, %18 %47 = load { i64, i64 }, ptr %5, align 8 ret { i64, i64 } %47 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphllli833.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i64, i64 } @diff(i64 %0, i64 %1, i64 %2, i64 %3) #0 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca %struct.timespec, align 8 %8 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0 store i64 %0, ptr %8, align 8 %9 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1 store i64 %1, ptr %9, align 8 %10 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 0 store i64 %2, ptr %10, align 8 %11 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 1 store i64 %3, ptr %11, align 8 %12 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %15 = load i64, ptr %14, align 8 %16 = sub nsw i64 %13, %15 %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %33 18: ; preds = %4 %19 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %20 = load i64, ptr %19, align 8 %21 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %22 = load i64, ptr %21, align 8 %23 = sub nsw i64 %20, %22 %24 = sub nsw i64 %23, 1 %25 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 %24, ptr %25, align 8 %26 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %27 = load i64, ptr %26, align 8 %28 = add nsw i64 1000000000, %27 %29 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %30 = load i64, ptr %29, align 8 %31 = sub nsw i64 %28, %30 %32 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i64 %31, ptr %32, align 8 br label %46 33: ; preds = %4 %34 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %35 = load i64, ptr %34, align 8 %36 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %37 = load i64, ptr %36, align 8 %38 = sub nsw i64 %35, %37 %39 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 %38, ptr %39, align 8 %40 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %41 = load i64, ptr %40, align 8 %42 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %43 = load i64, ptr %42, align 8 %44 = sub nsw i64 %41, %43 %45 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i64 %44, ptr %45, align 8 br label %46 46: ; preds = %33, %18 %47 = load { i64, i64 }, ptr %5, align 8 ret { i64, i64 } %47 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0e4qc88q.c' source_filename = "/tmp/tmp0e4qc88q.c" target datalayout = "e-m:e-p270: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/tmp0e4qc88q.c" target datalayout = "e-m:e-p270: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/tmp937sn1ji.c' source_filename = "/tmp/tmp937sn1ji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chartsdata_store() #0 { %1 = call i32 (...) @charts_store() ret void } declare i32 @charts_store(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp937sn1ji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chartsdata_store() #0 { %1 = call i32 (...) @charts_store() ret void } declare i32 @charts_store(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy8ordsg_.c' source_filename = "/tmp/tmpy8ordsg_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32, i32 } %struct.timeval = type { i32, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @EventWait(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca %struct.timespec, align 4 %8 = alloca %struct.timeval, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %35 12: ; preds = %3 %13 = call i32 @bzero(ptr noundef %7, i32 noundef 12) %14 = call i32 @bzero(ptr noundef %8, i32 noundef 12) %15 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null) %16 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = mul nsw i32 %17, 1000000 %19 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1 %20 = load i32, ptr %19, align 4 %21 = add nsw i32 %18, %20 %22 = sdiv i32 %21, 1000 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %22, %23 store i32 %24, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = sdiv i32 %25, 1000 %27 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 store i32 %26, ptr %27, align 4 %28 = load i32, ptr %9, align 4 %29 = srem i32 %28, 1000 %30 = mul nsw i32 %29, 1000000 %31 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 2 store i32 %30, ptr %31, align 4 %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %6, align 8 %34 = call i32 @pthread_cond_timedwait(ptr noundef %32, ptr noundef %33, ptr noundef %7) br label %39 35: ; preds = %3 %36 = load ptr, ptr %4, align 8 %37 = load ptr, ptr %6, align 8 %38 = call i32 @pthread_cond_wait(ptr noundef %36, ptr noundef %37) br label %39 39: ; preds = %35, %12 ret i32 1 } declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @pthread_cond_timedwait(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @pthread_cond_wait(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/tmpy8ordsg_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32, i32 } %struct.timeval = type { i32, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @EventWait(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca %struct.timespec, align 4 %8 = alloca %struct.timeval, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %35 12: ; preds = %3 %13 = call i32 @bzero(ptr noundef %7, i32 noundef 12) %14 = call i32 @bzero(ptr noundef %8, i32 noundef 12) %15 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null) %16 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = mul nsw i32 %17, 1000000 %19 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1 %20 = load i32, ptr %19, align 4 %21 = add nsw i32 %18, %20 %22 = sdiv i32 %21, 1000 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %22, %23 store i32 %24, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = sdiv i32 %25, 1000 %27 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 store i32 %26, ptr %27, align 4 %28 = load i32, ptr %9, align 4 %29 = srem i32 %28, 1000 %30 = mul nsw i32 %29, 1000000 %31 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 2 store i32 %30, ptr %31, align 4 %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %6, align 8 %34 = call i32 @pthread_cond_timedwait(ptr noundef %32, ptr noundef %33, ptr noundef %7) br label %39 35: ; preds = %3 %36 = load ptr, ptr %4, align 8 %37 = load ptr, ptr %6, align 8 %38 = call i32 @pthread_cond_wait(ptr noundef %36, ptr noundef %37) br label %39 39: ; preds = %35, %12 ret i32 1 } declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @pthread_cond_timedwait(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @pthread_cond_wait(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/tmpml4gefds.c' source_filename = "/tmp/tmpml4gefds.c" target datalayout = "e-m:e-p270: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/tmpml4gefds.c" target datalayout = "e-m:e-p270: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/tmp42doawaz.c' source_filename = "/tmp/tmp42doawaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wt\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Can't open file in write_usvector\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_usvector_T_number(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %12, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %5 %18 = call i32 @nrerror(ptr noundef @.str.1) br label %19 19: ; preds = %17, %5 %20 = load i64, ptr %7, align 8 store i64 %20, ptr %11, align 8 br label %21 21: ; preds = %38, %19 %22 = load i64, ptr %11, align 8 %23 = load i64, ptr %8, align 8 %24 = icmp sle i64 %22, %23 br i1 %24, label %25, label %41 25: ; preds = %21 %26 = load ptr, ptr %12, align 8 %27 = load i64, ptr %11, align 8 %28 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.2, i64 noundef %27) %29 = load ptr, ptr %12, align 8 %30 = load ptr, ptr %9, align 8 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %11, align 8 %33 = getelementptr inbounds i64, ptr %31, i64 %32 %34 = load i64, ptr %33, align 8 %35 = call i32 @fprintf(ptr noundef %29, ptr noundef %30, i64 noundef %34) %36 = load ptr, ptr %12, align 8 %37 = call i32 @fputc(i8 noundef signext 10, ptr noundef %36) br label %38 38: ; preds = %25 %39 = load i64, ptr %11, align 8 %40 = add nsw i64 %39, 1 store i64 %40, ptr %11, align 8 br label %21, !llvm.loop !6 41: ; preds = %21 %42 = load ptr, ptr %12, align 8 %43 = call i32 @fclose(ptr noundef %42) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp42doawaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wt\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Can't open file in write_usvector\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_usvector_T_number(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %12, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %5 %18 = call i32 @nrerror(ptr noundef @.str.1) br label %19 19: ; preds = %17, %5 %20 = load i64, ptr %7, align 8 store i64 %20, ptr %11, align 8 %21 = load i64, ptr %11, align 8 %22 = load i64, ptr %8, align 8 %23 = icmp sle i64 %21, %22 br i1 %23, label %.lr.ph, label %43 .lr.ph: ; preds = %19 br label %24 24: ; preds = %.lr.ph, %37 %25 = load ptr, ptr %12, align 8 %26 = load i64, ptr %11, align 8 %27 = call i32 @fprintf(ptr noundef %25, ptr noundef @.str.2, i64 noundef %26) %28 = load ptr, ptr %12, align 8 %29 = load ptr, ptr %9, align 8 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %11, align 8 %32 = getelementptr inbounds i64, ptr %30, i64 %31 %33 = load i64, ptr %32, align 8 %34 = call i32 @fprintf(ptr noundef %28, ptr noundef %29, i64 noundef %33) %35 = load ptr, ptr %12, align 8 %36 = call i32 @fputc(i8 noundef signext 10, ptr noundef %35) br label %37 37: ; preds = %24 %38 = load i64, ptr %11, align 8 %39 = add nsw i64 %38, 1 store i64 %39, ptr %11, align 8 %40 = load i64, ptr %11, align 8 %41 = load i64, ptr %8, align 8 %42 = icmp sle i64 %40, %41 br i1 %42, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %19 %44 = load ptr, ptr %12, align 8 %45 = call i32 @fclose(ptr noundef %44) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @nrerror(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp04pbnfe3.c' source_filename = "/tmp/tmp04pbnfe3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @drm_block(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 %3, ptr %8, align 8 %9 = call i32 @DRM_DEBUG(ptr noundef @.str) ret i32 0 } declare i32 @DRM_DEBUG(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp04pbnfe3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @drm_block(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 %3, ptr %8, align 8 %9 = call i32 @DRM_DEBUG(ptr noundef @.str) ret i32 0 } declare i32 @DRM_DEBUG(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc5ar036n.c' source_filename = "/tmp/tmpc5ar036n.c" target datalayout = "e-m:e-p270: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/tmpc5ar036n.c" target datalayout = "e-m:e-p270: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/tmpz2aueq5a.c' source_filename = "/tmp/tmpz2aueq5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fftss_r4_u1_b(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %10, align 8 %15 = mul nsw i64 %13, %14 %16 = mul nsw i64 %15, 2 %17 = getelementptr inbounds double, ptr %12, i64 %16 %18 = load ptr, ptr %7, align 8 %19 = load i64, ptr %9, align 8 %20 = load i64, ptr %10, align 8 %21 = mul nsw i64 %19, %20 %22 = mul nsw i64 %21, 4 %23 = getelementptr inbounds double, ptr %18, i64 %22 %24 = load ptr, ptr %7, align 8 %25 = load i64, ptr %9, align 8 %26 = load i64, ptr %10, align 8 %27 = mul nsw i64 %25, %26 %28 = mul nsw i64 %27, 6 %29 = getelementptr inbounds double, ptr %24, i64 %28 %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %9, align 8 %33 = mul nsw i64 %32, 2 %34 = getelementptr inbounds double, ptr %31, i64 %33 %35 = load ptr, ptr %6, align 8 %36 = load i64, ptr %9, align 8 %37 = mul nsw i64 %36, 4 %38 = getelementptr inbounds double, ptr %35, i64 %37 %39 = load ptr, ptr %6, align 8 %40 = load i64, ptr %9, align 8 %41 = mul nsw i64 %40, 6 %42 = getelementptr inbounds double, ptr %39, i64 %41 %43 = load ptr, ptr %8, align 8 %44 = load i64, ptr %9, align 8 %45 = load i64, ptr %10, align 8 %46 = call i32 @kern_r4_u1_b(ptr noundef %11, ptr noundef %17, ptr noundef %23, ptr noundef %29, ptr noundef %30, ptr noundef %34, ptr noundef %38, ptr noundef %42, ptr noundef %43, i64 noundef %44, i64 noundef %45) ret void } declare i32 @kern_r4_u1_b(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 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/tmpz2aueq5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fftss_r4_u1_b(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %10, align 8 %15 = mul nsw i64 %13, %14 %16 = mul nsw i64 %15, 2 %17 = getelementptr inbounds double, ptr %12, i64 %16 %18 = load ptr, ptr %7, align 8 %19 = load i64, ptr %9, align 8 %20 = load i64, ptr %10, align 8 %21 = mul nsw i64 %19, %20 %22 = mul nsw i64 %21, 4 %23 = getelementptr inbounds double, ptr %18, i64 %22 %24 = load ptr, ptr %7, align 8 %25 = load i64, ptr %9, align 8 %26 = load i64, ptr %10, align 8 %27 = mul nsw i64 %25, %26 %28 = mul nsw i64 %27, 6 %29 = getelementptr inbounds double, ptr %24, i64 %28 %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %9, align 8 %33 = mul nsw i64 %32, 2 %34 = getelementptr inbounds double, ptr %31, i64 %33 %35 = load ptr, ptr %6, align 8 %36 = load i64, ptr %9, align 8 %37 = mul nsw i64 %36, 4 %38 = getelementptr inbounds double, ptr %35, i64 %37 %39 = load ptr, ptr %6, align 8 %40 = load i64, ptr %9, align 8 %41 = mul nsw i64 %40, 6 %42 = getelementptr inbounds double, ptr %39, i64 %41 %43 = load ptr, ptr %8, align 8 %44 = load i64, ptr %9, align 8 %45 = load i64, ptr %10, align 8 %46 = call i32 @kern_r4_u1_b(ptr noundef %11, ptr noundef %17, ptr noundef %23, ptr noundef %29, ptr noundef %30, ptr noundef %34, ptr noundef %38, ptr noundef %42, ptr noundef %43, i64 noundef %44, i64 noundef %45) ret void } declare i32 @kern_r4_u1_b(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 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/tmpd911h7g0.c' source_filename = "/tmp/tmpd911h7g0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @permuteUnique(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 store i32 0, ptr %14, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %8, align 4 br label %15 15: ; preds = %23, %3 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %26 19: ; preds = %15 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %7, align 4 %22 = mul nsw i32 %21, %20 store i32 %22, ptr %7, align 4 br label %23 23: ; preds = %19 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %8, align 4 br label %15, !llvm.loop !6 26: ; preds = %15 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = mul i64 8, %28 %30 = trunc i64 %29 to i32 %31 = call i64 @malloc(i32 noundef %30) %32 = inttoptr i64 %31 to ptr store ptr %32, ptr %9, align 8 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %5, align 4 %35 = call i32 @shellSort(ptr noundef %33, i32 noundef %34) %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = mul i64 4, %37 %39 = trunc i64 %38 to i32 %40 = call i64 @malloc(i32 noundef %39) %41 = inttoptr i64 %40 to ptr %42 = load ptr, ptr %9, align 8 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %43, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %42, i64 %45 store ptr %41, ptr %46, align 8 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %66, %26 %48 = load i32, ptr %10, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %69 51: ; preds = %47 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load ptr, ptr %9, align 8 %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %58, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %57, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %10, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 store i32 %56, ptr %65, align 4 br label %66 66: ; preds = %51 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %10, align 4 br label %47, !llvm.loop !8 69: ; preds = %47 %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %70, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %70, align 4 %73 = load i32, ptr %5, align 4 %74 = sub nsw i32 %73, 1 store i32 %74, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %75 75: ; preds = %69, %192 %76 = load i32, ptr %5, align 4 %77 = sub nsw i32 %76, 1 store i32 %77, ptr %11, align 4 br label %78 78: ; preds = %96, %75 %79 = load i32, ptr %11, align 4 %80 = icmp sgt i32 %79, 0 br i1 %80, label %81, label %99 81: ; preds = %78 %82 = load ptr, ptr %4, align 8 %83 = load i32, ptr %11, align 4 %84 = sub nsw i32 %83, 1 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %82, i64 %85 %87 = load i32, ptr %86, align 4 %88 = load ptr, ptr %4, align 8 %89 = load i32, ptr %11, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 %92 = load i32, ptr %91, align 4 %93 = icmp slt i32 %87, %92 br i1 %93, label %94, label %95 94: ; preds = %81 br label %99 95: ; preds = %81 br label %96 96: ; preds = %95 %97 = load i32, ptr %11, align 4 %98 = add nsw i32 %97, -1 store i32 %98, ptr %11, align 4 br label %78, !llvm.loop !9 99: ; preds = %94, %78 %100 = load i32, ptr %11, align 4 %101 = icmp eq i32 %100, 0 br i1 %101, label %102, label %103 102: ; preds = %99 br label %196 103: ; preds = %99 %104 = load i32, ptr %5, align 4 %105 = sub nsw i32 %104, 1 store i32 %105, ptr %12, align 4 br label %106 106: ; preds = %126, %103 %107 = load i32, ptr %12, align 4 %108 = load i32, ptr %11, align 4 %109 = sub nsw i32 %108, 1 %110 = icmp sgt i32 %107, %109 br i1 %110, label %111, label %129 111: ; preds = %106 %112 = load ptr, ptr %4, align 8 %113 = load i32, ptr %12, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i32, ptr %112, i64 %114 %116 = load i32, ptr %115, align 4 %117 = load ptr, ptr %4, align 8 %118 = load i32, ptr %11, align 4 %119 = sub nsw i32 %118, 1 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %117, i64 %120 %122 = load i32, ptr %121, align 4 %123 = icmp sgt i32 %116, %122 br i1 %123, label %124, label %125 124: ; preds = %111 br label %129 125: ; preds = %111 br label %126 126: ; preds = %125 %127 = load i32, ptr %12, align 4 %128 = add nsw i32 %127, -1 store i32 %128, ptr %12, align 4 br label %106, !llvm.loop !10 129: ; preds = %124, %106 %130 = load ptr, ptr %4, align 8 %131 = load i32, ptr %11, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i32, ptr %130, i64 %132 %134 = getelementptr inbounds i32, ptr %133, i64 -1 %135 = load ptr, ptr %4, align 8 %136 = load i32, ptr %12, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i32, ptr %135, i64 %137 %139 = call i32 @swap(ptr noundef %134, ptr noundef %138) %140 = load i32, ptr %5, align 4 %141 = sub nsw i32 %140, 1 store i32 %141, ptr %12, align 4 br label %142 142: ; preds = %146, %129 %143 = load i32, ptr %11, align 4 %144 = load i32, ptr %12, align 4 %145 = icmp slt i32 %143, %144 br i1 %145, label %146, label %158 146: ; preds = %142 %147 = load ptr, ptr %4, align 8 %148 = load i32, ptr %11, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %11, align 4 %150 = sext i32 %148 to i64 %151 = getelementptr inbounds i32, ptr %147, i64 %150 %152 = load ptr, ptr %4, align 8 %153 = load i32, ptr %12, align 4 %154 = add nsw i32 %153, -1 store i32 %154, ptr %12, align 4 %155 = sext i32 %153 to i64 %156 = getelementptr inbounds i32, ptr %152, i64 %155 %157 = call i32 @swap(ptr noundef %151, ptr noundef %156) br label %142, !llvm.loop !11 158: ; preds = %142 %159 = load i32, ptr %5, align 4 %160 = sext i32 %159 to i64 %161 = mul i64 4, %160 %162 = trunc i64 %161 to i32 %163 = call i64 @malloc(i32 noundef %162) %164 = inttoptr i64 %163 to ptr %165 = load ptr, ptr %9, align 8 %166 = load ptr, ptr %6, align 8 %167 = load i32, ptr %166, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds ptr, ptr %165, i64 %168 store ptr %164, ptr %169, align 8 store i32 0, ptr %13, align 4 br label %170 170: ; preds = %189, %158 %171 = load i32, ptr %13, align 4 %172 = load i32, ptr %5, align 4 %173 = icmp slt i32 %171, %172 br i1 %173, label %174, label %192 174: ; preds = %170 %175 = load ptr, ptr %4, align 8 %176 = load i32, ptr %13, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i32, ptr %175, i64 %177 %179 = load i32, ptr %178, align 4 %180 = load ptr, ptr %9, align 8 %181 = load ptr, ptr %6, align 8 %182 = load i32, ptr %181, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds ptr, ptr %180, i64 %183 %185 = load ptr, ptr %184, align 8 %186 = load i32, ptr %13, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i32, ptr %185, i64 %187 store i32 %179, ptr %188, align 4 br label %189 189: ; preds = %174 %190 = load i32, ptr %13, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %13, align 4 br label %170, !llvm.loop !12 192: ; preds = %170 %193 = load ptr, ptr %6, align 8 %194 = load i32, ptr %193, align 4 %195 = add nsw i32 %194, 1 store i32 %195, ptr %193, align 4 br label %75 196: ; preds = %102 %197 = load ptr, ptr %9, align 8 ret ptr %197 } declare i64 @malloc(i32 noundef) #1 declare i32 @shellSort(ptr noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd911h7g0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @permuteUnique(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 store i32 0, ptr %14, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph, label %28 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %22 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %7, align 4 %21 = mul nsw i32 %20, %19 store i32 %21, ptr %7, align 4 br label %22 22: ; preds = %18 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp sle i32 %25, %26 br i1 %27, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %3 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = mul i64 8, %30 %32 = trunc i64 %31 to i32 %33 = call i64 @malloc(i32 noundef %32) %34 = inttoptr i64 %33 to ptr store ptr %34, ptr %9, align 8 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %5, align 4 %37 = call i32 @shellSort(ptr noundef %35, i32 noundef %36) %38 = load i32, ptr %5, align 4 %39 = sext i32 %38 to i64 %40 = mul i64 4, %39 %41 = trunc i64 %40 to i32 %42 = call i64 @malloc(i32 noundef %41) %43 = inttoptr i64 %42 to ptr %44 = load ptr, ptr %9, align 8 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %45, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds ptr, ptr %44, i64 %47 store ptr %43, ptr %48, align 8 store i32 0, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = load i32, ptr %5, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %.lr.ph3, label %73 .lr.ph3: ; preds = %28 br label %52 52: ; preds = %.lr.ph3, %67 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %10, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load ptr, ptr %9, align 8 %59 = load ptr, ptr %6, align 8 %60 = load i32, ptr %59, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %58, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = load i32, ptr %10, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 store i32 %57, ptr %66, align 4 br label %67 67: ; preds = %52 %68 = load i32, ptr %10, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %10, align 4 %70 = load i32, ptr %10, align 4 %71 = load i32, ptr %5, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %52, label %._crit_edge4, !llvm.loop !8 ._crit_edge4: ; preds = %67 br label %73 73: ; preds = %._crit_edge4, %28 %74 = load ptr, ptr %6, align 8 %75 = load i32, ptr %74, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %74, align 4 %77 = load i32, ptr %5, align 4 %78 = sub nsw i32 %77, 1 store i32 %78, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %79 79: ; preds = %204, %73 %80 = load i32, ptr %5, align 4 %81 = sub nsw i32 %80, 1 store i32 %81, ptr %11, align 4 %82 = load i32, ptr %11, align 4 %83 = icmp sgt i32 %82, 0 br i1 %83, label %.lr.ph6, label %.loopexit1 .lr.ph6: ; preds = %79 br label %84 84: ; preds = %.lr.ph6, %99 %85 = load ptr, ptr %4, align 8 %86 = load i32, ptr %11, align 4 %87 = sub nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %85, i64 %88 %90 = load i32, ptr %89, align 4 %91 = load ptr, ptr %4, align 8 %92 = load i32, ptr %11, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 %95 = load i32, ptr %94, align 4 %96 = icmp slt i32 %90, %95 br i1 %96, label %97, label %98 97: ; preds = %84 br label %104 98: ; preds = %84 br label %99 99: ; preds = %98 %100 = load i32, ptr %11, align 4 %101 = add nsw i32 %100, -1 store i32 %101, ptr %11, align 4 %102 = load i32, ptr %11, align 4 %103 = icmp sgt i32 %102, 0 br i1 %103, label %84, label %..loopexit1_crit_edge, !llvm.loop !9 ..loopexit1_crit_edge: ; preds = %99 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %79 br label %104 104: ; preds = %.loopexit1, %97 %105 = load i32, ptr %11, align 4 %106 = icmp eq i32 %105, 0 br i1 %106, label %107, label %108 107: ; preds = %104 br label %208 108: ; preds = %104 %109 = load i32, ptr %5, align 4 %110 = sub nsw i32 %109, 1 store i32 %110, ptr %12, align 4 %111 = load i32, ptr %12, align 4 %112 = load i32, ptr %11, align 4 %113 = sub nsw i32 %112, 1 %114 = icmp sgt i32 %111, %113 br i1 %114, label %.lr.ph8, label %.loopexit .lr.ph8: ; preds = %108 br label %115 115: ; preds = %.lr.ph8, %130 %116 = load ptr, ptr %4, align 8 %117 = load i32, ptr %12, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i32, ptr %116, i64 %118 %120 = load i32, ptr %119, align 4 %121 = load ptr, ptr %4, align 8 %122 = load i32, ptr %11, align 4 %123 = sub nsw i32 %122, 1 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %121, i64 %124 %126 = load i32, ptr %125, align 4 %127 = icmp sgt i32 %120, %126 br i1 %127, label %128, label %129 128: ; preds = %115 br label %137 129: ; preds = %115 br label %130 130: ; preds = %129 %131 = load i32, ptr %12, align 4 %132 = add nsw i32 %131, -1 store i32 %132, ptr %12, align 4 %133 = load i32, ptr %12, align 4 %134 = load i32, ptr %11, align 4 %135 = sub nsw i32 %134, 1 %136 = icmp sgt i32 %133, %135 br i1 %136, label %115, label %..loopexit_crit_edge, !llvm.loop !10 ..loopexit_crit_edge: ; preds = %130 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %108 br label %137 137: ; preds = %.loopexit, %128 %138 = load ptr, ptr %4, align 8 %139 = load i32, ptr %11, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i32, ptr %138, i64 %140 %142 = getelementptr inbounds i32, ptr %141, i64 -1 %143 = load ptr, ptr %4, align 8 %144 = load i32, ptr %12, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds i32, ptr %143, i64 %145 %147 = call i32 @swap(ptr noundef %142, ptr noundef %146) %148 = load i32, ptr %5, align 4 %149 = sub nsw i32 %148, 1 store i32 %149, ptr %12, align 4 %150 = load i32, ptr %11, align 4 %151 = load i32, ptr %12, align 4 %152 = icmp slt i32 %150, %151 br i1 %152, label %.lr.ph10, label %168 .lr.ph10: ; preds = %137 br label %153 153: ; preds = %.lr.ph10, %153 %154 = load ptr, ptr %4, align 8 %155 = load i32, ptr %11, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %11, align 4 %157 = sext i32 %155 to i64 %158 = getelementptr inbounds i32, ptr %154, i64 %157 %159 = load ptr, ptr %4, align 8 %160 = load i32, ptr %12, align 4 %161 = add nsw i32 %160, -1 store i32 %161, ptr %12, align 4 %162 = sext i32 %160 to i64 %163 = getelementptr inbounds i32, ptr %159, i64 %162 %164 = call i32 @swap(ptr noundef %158, ptr noundef %163) %165 = load i32, ptr %11, align 4 %166 = load i32, ptr %12, align 4 %167 = icmp slt i32 %165, %166 br i1 %167, label %153, label %._crit_edge11, !llvm.loop !11 ._crit_edge11: ; preds = %153 br label %168 168: ; preds = %._crit_edge11, %137 %169 = load i32, ptr %5, align 4 %170 = sext i32 %169 to i64 %171 = mul i64 4, %170 %172 = trunc i64 %171 to i32 %173 = call i64 @malloc(i32 noundef %172) %174 = inttoptr i64 %173 to ptr %175 = load ptr, ptr %9, align 8 %176 = load ptr, ptr %6, align 8 %177 = load i32, ptr %176, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds ptr, ptr %175, i64 %178 store ptr %174, ptr %179, align 8 store i32 0, ptr %13, align 4 %180 = load i32, ptr %13, align 4 %181 = load i32, ptr %5, align 4 %182 = icmp slt i32 %180, %181 br i1 %182, label %.lr.ph13, label %204 .lr.ph13: ; preds = %168 br label %183 183: ; preds = %.lr.ph13, %198 %184 = load ptr, ptr %4, align 8 %185 = load i32, ptr %13, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds i32, ptr %184, i64 %186 %188 = load i32, ptr %187, align 4 %189 = load ptr, ptr %9, align 8 %190 = load ptr, ptr %6, align 8 %191 = load i32, ptr %190, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds ptr, ptr %189, i64 %192 %194 = load ptr, ptr %193, align 8 %195 = load i32, ptr %13, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i32, ptr %194, i64 %196 store i32 %188, ptr %197, align 4 br label %198 198: ; preds = %183 %199 = load i32, ptr %13, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %13, align 4 %201 = load i32, ptr %13, align 4 %202 = load i32, ptr %5, align 4 %203 = icmp slt i32 %201, %202 br i1 %203, label %183, label %._crit_edge14, !llvm.loop !12 ._crit_edge14: ; preds = %198 br label %204 204: ; preds = %._crit_edge14, %168 %205 = load ptr, ptr %6, align 8 %206 = load i32, ptr %205, align 4 %207 = add nsw i32 %206, 1 store i32 %207, ptr %205, align 4 br label %79 208: ; preds = %107 %209 = load ptr, ptr %9, align 8 ret ptr %209 } declare i64 @malloc(i32 noundef) #1 declare i32 @shellSort(ptr noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpvo7_1dca.c' source_filename = "/tmp/tmpvo7_1dca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_FAILED = dso_local global ptr null, align 8 @MAP_SHARED = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @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/tmpvo7_1dca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_FAILED = dso_local global ptr null, align 8 @MAP_SHARED = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @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/tmpmto2lhnk.c' source_filename = "/tmp/tmpmto2lhnk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spamm_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 %5 = call i32 @exit(i32 noundef %4) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmpmto2lhnk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spamm_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 %5 = call i32 @exit(i32 noundef %4) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmpkl9g69wq.c' source_filename = "/tmp/tmpkl9g69wq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @Var_Bytes_Count.xrzk_bytescnt = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Var_Bytes_Count(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 = %18, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %21 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 i64, ptr %8, i64 %10 %12 = load i64, ptr %11, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %7 %15 = load i32, ptr @Var_Bytes_Count.xrzk_bytescnt, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr @Var_Bytes_Count.xrzk_bytescnt, align 4 br label %17 17: ; preds = %14, %7 br label %18 18: ; preds = %17 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %4, !llvm.loop !6 21: ; preds = %4 %22 = load i32, ptr @Var_Bytes_Count.xrzk_bytescnt, align 4 ret i32 %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpkl9g69wq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @Var_Bytes_Count.xrzk_bytescnt = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Var_Bytes_Count(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 %22 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %17 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i64, ptr %7, i64 %9 %11 = load i64, ptr %10, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %6 %14 = load i32, ptr @Var_Bytes_Count.xrzk_bytescnt, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr @Var_Bytes_Count.xrzk_bytescnt, align 4 br label %16 16: ; preds = %13, %6 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 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 10 br i1 %21, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %1 %23 = load i32, ptr @Var_Bytes_Count.xrzk_bytescnt, align 4 ret i32 %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp21hw6c9y.c' source_filename = "/tmp/tmp21hw6c9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"want\00", align 1 @IP_PMTUDISC_WANT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"dont\00", align 1 @IP_PMTUDISC_DONT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"do\00", align 1 @IP_PMTUDISC_DO = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [6 x i8] c"probe\00", align 1 @IP_PMTUDISC_PROBE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pmtudisc_val(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp ne i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = load i32, ptr @IP_PMTUDISC_WANT, align 4 store i32 %8, ptr %2, align 4 br label %28 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strcmp(ptr noundef %10, ptr noundef @.str.1) %12 = icmp ne i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9 %14 = load i32, ptr @IP_PMTUDISC_DONT, align 4 store i32 %14, ptr %2, align 4 br label %28 15: ; preds = %9 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.2) %18 = icmp ne i32 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %15 %20 = load i32, ptr @IP_PMTUDISC_DO, align 4 store i32 %20, ptr %2, align 4 br label %28 21: ; preds = %15 %22 = load ptr, ptr %3, align 8 %23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.3) %24 = icmp ne i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %21 %26 = load i32, ptr @IP_PMTUDISC_PROBE, align 4 store i32 %26, ptr %2, align 4 br label %28 27: ; preds = %21 store i32 -1, ptr %2, align 4 br label %28 28: ; preds = %27, %25, %19, %13, %7 %29 = load i32, ptr %2, align 4 ret i32 %29 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp21hw6c9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"want\00", align 1 @IP_PMTUDISC_WANT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"dont\00", align 1 @IP_PMTUDISC_DONT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"do\00", align 1 @IP_PMTUDISC_DO = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [6 x i8] c"probe\00", align 1 @IP_PMTUDISC_PROBE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pmtudisc_val(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp ne i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = load i32, ptr @IP_PMTUDISC_WANT, align 4 store i32 %8, ptr %2, align 4 br label %28 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strcmp(ptr noundef %10, ptr noundef @.str.1) %12 = icmp ne i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9 %14 = load i32, ptr @IP_PMTUDISC_DONT, align 4 store i32 %14, ptr %2, align 4 br label %28 15: ; preds = %9 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.2) %18 = icmp ne i32 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %15 %20 = load i32, ptr @IP_PMTUDISC_DO, align 4 store i32 %20, ptr %2, align 4 br label %28 21: ; preds = %15 %22 = load ptr, ptr %3, align 8 %23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.3) %24 = icmp ne i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %21 %26 = load i32, ptr @IP_PMTUDISC_PROBE, align 4 store i32 %26, ptr %2, align 4 br label %28 27: ; preds = %21 store i32 -1, ptr %2, align 4 br label %28 28: ; preds = %27, %25, %19, %13, %7 %29 = load i32, ptr %2, align 4 ret i32 %29 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0qqincbj.c' source_filename = "/tmp/tmp0qqincbj.c" target datalayout = "e-m:e-p270: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/tmp0qqincbj.c" target datalayout = "e-m:e-p270: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/tmpm_ciz4q2.c' source_filename = "/tmp/tmpm_ciz4q2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @motor(i32 noundef 0, i32 noundef 95) %3 = call i32 @motor(i32 noundef 2, i32 noundef 100) %4 = call i32 @msleep(i32 noundef 2500) %5 = call i32 @motor(i32 noundef 0, i32 noundef 100) %6 = call i32 @motor(i32 noundef 2, i32 noundef 0) %7 = call i32 @msleep(i32 noundef 800) %8 = call i32 @motor(i32 noundef 0, i32 noundef 30) %9 = call i32 @motor(i32 noundef 2, i32 noundef 100) %10 = call i32 @msleep(i32 noundef 7000) %11 = call i32 @motor(i32 noundef 0, i32 noundef 95) %12 = call i32 @motor(i32 noundef 2, i32 noundef 100) %13 = call i32 @msleep(i32 noundef 4500) %14 = call i32 (...) @ao() ret i32 0 } declare i32 @motor(i32 noundef, i32 noundef) #1 declare i32 @msleep(i32 noundef) #1 declare i32 @ao(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm_ciz4q2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @motor(i32 noundef 0, i32 noundef 95) %3 = call i32 @motor(i32 noundef 2, i32 noundef 100) %4 = call i32 @msleep(i32 noundef 2500) %5 = call i32 @motor(i32 noundef 0, i32 noundef 100) %6 = call i32 @motor(i32 noundef 2, i32 noundef 0) %7 = call i32 @msleep(i32 noundef 800) %8 = call i32 @motor(i32 noundef 0, i32 noundef 30) %9 = call i32 @motor(i32 noundef 2, i32 noundef 100) %10 = call i32 @msleep(i32 noundef 7000) %11 = call i32 @motor(i32 noundef 0, i32 noundef 95) %12 = call i32 @motor(i32 noundef 2, i32 noundef 100) %13 = call i32 @msleep(i32 noundef 4500) %14 = call i32 (...) @ao() ret i32 0 } declare i32 @motor(i32 noundef, i32 noundef) #1 declare i32 @msleep(i32 noundef) #1 declare i32 @ao(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf_l_yss2.c' source_filename = "/tmp/tmpf_l_yss2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_vswscanf() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = load ptr, ptr %1, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @vswscanf(ptr noundef %4, ptr noundef %5, i32 noundef %6) ret void } declare i32 @vswscanf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf_l_yss2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_vswscanf() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = load ptr, ptr %1, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @vswscanf(ptr noundef %4, ptr noundef %5, i32 noundef %6) ret void } declare i32 @vswscanf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr9dzhice.c' source_filename = "/tmp/tmpr9dzhice.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeTTY(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @write(i32 noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr9dzhice.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeTTY(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @write(i32 noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } 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"}
; ModuleID = '/tmp/tmpkiq4srjx.c' source_filename = "/tmp/tmpkiq4srjx.c" target datalayout = "e-m:e-p270: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.tm = type { i32 } @.str = private unnamed_addr constant [15 x i8] c"%C%y-%m-%eT%TZ\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%C%y-%m-%eT%T\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-%R\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"+%R\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"%C%y-%m-%e\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parse_datetime(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.tm, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [128 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %14 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 4) %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 %17 = call ptr @strptime(ptr noundef %15, ptr noundef @.str, ptr noundef %16) store ptr %17, ptr %8, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = call i32 @make_time(ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %8, align 8 store ptr %23, ptr %4, align 8 br label %106 24: ; preds = %3 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %6, align 8 %27 = call ptr @strptime(ptr noundef %25, ptr noundef @.str.1, ptr noundef %26) store ptr %27, ptr %8, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %95 29: ; preds = %24 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %7, align 4 %32 = call i32 @make_time(ptr noundef %30, i32 noundef %31) store i32 9, ptr %11, align 4 br label %33 33: ; preds = %54, %29 %34 = load i32, ptr %11, align 4 %35 = icmp slt i32 %34, 128 br i1 %35, label %36, label %57 36: ; preds = %33 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 43 br i1 %43, label %52, label %44 44: ; preds = %36 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 45 br i1 %51, label %52, label %53 52: ; preds = %44, %36 br label %57 53: ; preds = %44 br label %54 54: ; preds = %53 %55 = load i32, ptr %11, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %11, align 4 br label %33, !llvm.loop !6 57: ; preds = %52, %33 %58 = load i32, ptr %11, align 4 store i32 %58, ptr %12, align 4 %59 = load i32, ptr %12, align 4 store i32 %59, ptr %11, align 4 br label %60 60: ; preds = %74, %57 %61 = load i32, ptr %11, align 4 %62 = icmp slt i32 %61, 128 br i1 %62, label %63, label %77 63: ; preds = %60 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = load i8, ptr %67, align 1 %69 = load i32, ptr %11, align 4 %70 = load i32, ptr %12, align 4 %71 = sub nsw i32 %69, %70 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 %72 store i8 %68, ptr %73, align 1 br label %74 74: ; preds = %63 %75 = load i32, ptr %11, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %11, align 4 br label %60, !llvm.loop !8 77: ; preds = %60 %78 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0 %79 = call ptr @strptime(ptr noundef %78, ptr noundef @.str.2, ptr noundef %10) store ptr %79, ptr %9, align 8 %80 = icmp ne ptr %79, null br i1 %80, label %81, label %85 81: ; preds = %77 %82 = load ptr, ptr %6, align 8 %83 = call i32 @subtract_time(ptr noundef %82, ptr noundef %10) %84 = load ptr, ptr %9, align 8 store ptr %84, ptr %4, align 8 br label %106 85: ; preds = %77 %86 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0 %87 = call ptr @strptime(ptr noundef %86, ptr noundef @.str.3, ptr noundef %10) store ptr %87, ptr %9, align 8 %88 = icmp ne ptr %87, null br i1 %88, label %89, label %93 89: ; preds = %85 %90 = load ptr, ptr %6, align 8 %91 = call i32 @add_time(ptr noundef %90, ptr noundef %10) %92 = load ptr, ptr %9, align 8 store ptr %92, ptr %4, align 8 br label %106 93: ; preds = %85 %94 = load ptr, ptr %8, align 8 store ptr %94, ptr %4, align 8 br label %106 95: ; preds = %24 %96 = load ptr, ptr %5, align 8 %97 = load ptr, ptr %6, align 8 %98 = call ptr @strptime(ptr noundef %96, ptr noundef @.str.4, ptr noundef %97) store ptr %98, ptr %8, align 8 %99 = icmp ne ptr %98, null br i1 %99, label %100, label %105 100: ; preds = %95 %101 = load ptr, ptr %6, align 8 %102 = load i32, ptr %7, align 4 %103 = call i32 @make_time(ptr noundef %101, i32 noundef %102) %104 = load ptr, ptr %8, align 8 store ptr %104, ptr %4, align 8 br label %106 105: ; preds = %95 store ptr null, ptr %4, align 8 br label %106 106: ; preds = %105, %100, %93, %89, %81, %19 %107 = load ptr, ptr %4, align 8 ret ptr %107 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strptime(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @make_time(ptr noundef, i32 noundef) #1 declare i32 @subtract_time(ptr noundef, ptr noundef) #1 declare i32 @add_time(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkiq4srjx.c" target datalayout = "e-m:e-p270: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.tm = type { i32 } @.str = private unnamed_addr constant [15 x i8] c"%C%y-%m-%eT%TZ\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%C%y-%m-%eT%T\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-%R\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"+%R\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"%C%y-%m-%e\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parse_datetime(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.tm, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [128 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %14 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 4) %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 %17 = call ptr @strptime(ptr noundef %15, ptr noundef @.str, ptr noundef %16) store ptr %17, ptr %8, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = call i32 @make_time(ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %8, align 8 store ptr %23, ptr %4, align 8 br label %108 24: ; preds = %3 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %6, align 8 %27 = call ptr @strptime(ptr noundef %25, ptr noundef @.str.1, ptr noundef %26) store ptr %27, ptr %8, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %97 29: ; preds = %24 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %7, align 4 %32 = call i32 @make_time(ptr noundef %30, i32 noundef %31) store i32 9, ptr %11, align 4 %33 = load i32, ptr %11, align 4 %34 = icmp slt i32 %33, 128 br i1 %34, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %29 br label %35 35: ; preds = %.lr.ph, %53 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %11, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 43 br i1 %42, label %51, label %43 43: ; preds = %35 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %11, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 45 br i1 %50, label %51, label %52 51: ; preds = %43, %35 br label %58 52: ; preds = %43 br label %53 53: ; preds = %52 %54 = load i32, ptr %11, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %11, align 4 %56 = load i32, ptr %11, align 4 %57 = icmp slt i32 %56, 128 br i1 %57, label %35, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %53 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %29 br label %58 58: ; preds = %.loopexit, %51 %59 = load i32, ptr %11, align 4 store i32 %59, ptr %12, align 4 %60 = load i32, ptr %12, align 4 store i32 %60, ptr %11, align 4 %61 = load i32, ptr %11, align 4 %62 = icmp slt i32 %61, 128 br i1 %62, label %.lr.ph1, label %79 .lr.ph1: ; preds = %58 br label %63 63: ; preds = %.lr.ph1, %74 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = load i8, ptr %67, align 1 %69 = load i32, ptr %11, align 4 %70 = load i32, ptr %12, align 4 %71 = sub nsw i32 %69, %70 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 %72 store i8 %68, ptr %73, align 1 br label %74 74: ; preds = %63 %75 = load i32, ptr %11, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %11, align 4 %77 = load i32, ptr %11, align 4 %78 = icmp slt i32 %77, 128 br i1 %78, label %63, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %74 br label %79 79: ; preds = %._crit_edge, %58 %80 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0 %81 = call ptr @strptime(ptr noundef %80, ptr noundef @.str.2, ptr noundef %10) store ptr %81, ptr %9, align 8 %82 = icmp ne ptr %81, null br i1 %82, label %83, label %87 83: ; preds = %79 %84 = load ptr, ptr %6, align 8 %85 = call i32 @subtract_time(ptr noundef %84, ptr noundef %10) %86 = load ptr, ptr %9, align 8 store ptr %86, ptr %4, align 8 br label %108 87: ; preds = %79 %88 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0 %89 = call ptr @strptime(ptr noundef %88, ptr noundef @.str.3, ptr noundef %10) store ptr %89, ptr %9, align 8 %90 = icmp ne ptr %89, null br i1 %90, label %91, label %95 91: ; preds = %87 %92 = load ptr, ptr %6, align 8 %93 = call i32 @add_time(ptr noundef %92, ptr noundef %10) %94 = load ptr, ptr %9, align 8 store ptr %94, ptr %4, align 8 br label %108 95: ; preds = %87 %96 = load ptr, ptr %8, align 8 store ptr %96, ptr %4, align 8 br label %108 97: ; preds = %24 %98 = load ptr, ptr %5, align 8 %99 = load ptr, ptr %6, align 8 %100 = call ptr @strptime(ptr noundef %98, ptr noundef @.str.4, ptr noundef %99) store ptr %100, ptr %8, align 8 %101 = icmp ne ptr %100, null br i1 %101, label %102, label %107 102: ; preds = %97 %103 = load ptr, ptr %6, align 8 %104 = load i32, ptr %7, align 4 %105 = call i32 @make_time(ptr noundef %103, i32 noundef %104) %106 = load ptr, ptr %8, align 8 store ptr %106, ptr %4, align 8 br label %108 107: ; preds = %97 store ptr null, ptr %4, align 8 br label %108 108: ; preds = %107, %102, %95, %91, %83, %19 %109 = load ptr, ptr %4, align 8 ret ptr %109 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strptime(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @make_time(ptr noundef, i32 noundef) #1 declare i32 @subtract_time(ptr noundef, ptr noundef) #1 declare i32 @add_time(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpg0b7pyj_.c' source_filename = "/tmp/tmpg0b7pyj_.c" target datalayout = "e-m:e-p270: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/tmpg0b7pyj_.c" target datalayout = "e-m:e-p270: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/tmpxqbbm0z6.c' source_filename = "/tmp/tmpxqbbm0z6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @zomp_writeCString(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) ret i32 %7 } declare i32 @fprintf(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/tmpxqbbm0z6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @zomp_writeCString(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) ret i32 %7 } declare i32 @fprintf(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/tmpqfmx9wdv.c' source_filename = "/tmp/tmpqfmx9wdv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_daemon(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 -1, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @os_daemon_return(i32 noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr %5, align 4 ret i32 %12 13: ; preds = %2 %14 = call i32 @_exit(i32 noundef 0) #3 unreachable } declare i32 @os_daemon_return(i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqfmx9wdv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_daemon(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 -1, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @os_daemon_return(i32 noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr %5, align 4 ret i32 %12 13: ; preds = %2 %14 = call i32 @_exit(i32 noundef 0) #3 unreachable } declare i32 @os_daemon_return(i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvq7we916.c' source_filename = "/tmp/tmpvq7we916.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"\0AValid usage for lesyange\0A\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"\09lesyange [-OPTION1, -OPTION2, ...] ebnf_file\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"OPTIONS:\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"\09-h: print this help text and exit.\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"\09-v: print the lesyange version and exit.\0A\00", align 1 @.str.5 = private unnamed_addr constant [86 x i8] c"\09-d[=(*|a|l|s): print debug information into the parse process, possible values are:\0A\00", align 1 @.str.6 = private unnamed_addr constant [57 x i8] c"\09\09*: means any information, this is the default option.\0A\00", align 1 @.str.7 = private unnamed_addr constant [70 x i8] c"\09\09a: just print informations about the semantic actions being fired.\0A\00", align 1 @.str.8 = private unnamed_addr constant [54 x i8] c"\09\09l: just print informations about the lexer module.\0A\00", align 1 @.str.9 = private unnamed_addr constant [57 x i8] c"\09\09s: just print informations about the syntatic module.\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_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) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @exit(i32 noundef 0) #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/tmpvq7we916.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"\0AValid usage for lesyange\0A\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"\09lesyange [-OPTION1, -OPTION2, ...] ebnf_file\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"OPTIONS:\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"\09-h: print this help text and exit.\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"\09-v: print the lesyange version and exit.\0A\00", align 1 @.str.5 = private unnamed_addr constant [86 x i8] c"\09-d[=(*|a|l|s): print debug information into the parse process, possible values are:\0A\00", align 1 @.str.6 = private unnamed_addr constant [57 x i8] c"\09\09*: means any information, this is the default option.\0A\00", align 1 @.str.7 = private unnamed_addr constant [70 x i8] c"\09\09a: just print informations about the semantic actions being fired.\0A\00", align 1 @.str.8 = private unnamed_addr constant [54 x i8] c"\09\09l: just print informations about the lexer module.\0A\00", align 1 @.str.9 = private unnamed_addr constant [57 x i8] c"\09\09s: just print informations about the syntatic module.\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_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) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @exit(i32 noundef 0) #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/tmp1x6blvsv.c' source_filename = "/tmp/tmp1x6blvsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @candy(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %142 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 4, %15 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %5, align 4 %22 = sub nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %20, i64 %23 store i32 1, ptr %24, align 4 %25 = load i32, ptr %5, align 4 %26 = sub nsw i32 %25, 2 store i32 %26, ptr %7, align 4 br label %27 27: ; preds = %61, %13 %28 = load i32, ptr %7, align 4 %29 = icmp sgt i32 %28, -1 br i1 %29, label %30, label %64 30: ; preds = %27 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %36, i64 %39 %41 = load i32, ptr %40, align 4 %42 = icmp sgt i32 %35, %41 br i1 %42, label %43, label %55 43: ; preds = %30 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %44, i64 %47 %49 = load i32, ptr %48, align 4 %50 = add nsw i32 %49, 1 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %7, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 store i32 %50, ptr %54, align 4 br label %60 55: ; preds = %30 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %7, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 store i32 1, ptr %59, align 4 br label %60 60: ; preds = %55, %43 br label %61 61: ; preds = %60 %62 = load i32, ptr %7, align 4 %63 = add nsw i32 %62, -1 store i32 %63, ptr %7, align 4 br label %27, !llvm.loop !6 64: ; preds = %27 %65 = load ptr, ptr %6, align 8 %66 = getelementptr inbounds i32, ptr %65, i64 0 %67 = load i32, ptr %66, align 4 store i32 %67, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %68 68: ; preds = %137, %64 %69 = load i32, ptr %9, align 4 %70 = load i32, ptr %5, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %72, label %140 72: ; preds = %68 %73 = load ptr, ptr %4, align 8 %74 = load i32, ptr %9, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 %77 = load i32, ptr %76, align 4 %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %9, align 4 %80 = sub nsw i32 %79, 1 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %78, i64 %81 %83 = load i32, ptr %82, align 4 %84 = icmp sgt i32 %77, %83 br i1 %84, label %85, label %119 85: ; preds = %72 %86 = load ptr, ptr %6, align 8 %87 = load i32, ptr %9, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %9, align 4 %93 = sub nsw i32 %92, 1 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %91, i64 %94 %96 = load i32, ptr %95, align 4 %97 = add nsw i32 %96, 1 %98 = icmp sgt i32 %90, %97 br i1 %98, label %99, label %105 99: ; preds = %85 %100 = load ptr, ptr %6, align 8 %101 = load i32, ptr %9, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 %104 = load i32, ptr %103, align 4 br label %113 105: ; preds = %85 %106 = load ptr, ptr %6, align 8 %107 = load i32, ptr %9, align 4 %108 = sub nsw i32 %107, 1 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %106, i64 %109 %111 = load i32, ptr %110, align 4 %112 = add nsw i32 %111, 1 br label %113 113: ; preds = %105, %99 %114 = phi i32 [ %104, %99 ], [ %112, %105 ] %115 = load ptr, ptr %6, align 8 %116 = load i32, ptr %9, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %115, i64 %117 store i32 %114, ptr %118, align 4 br label %129 119: ; preds = %72 %120 = load ptr, ptr %6, align 8 %121 = load i32, ptr %9, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i32, ptr %120, i64 %122 %124 = load i32, ptr %123, align 4 %125 = load ptr, ptr %6, align 8 %126 = load i32, ptr %9, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i32, ptr %125, i64 %127 store i32 %124, ptr %128, align 4 br label %129 129: ; preds = %119, %113 %130 = load ptr, ptr %6, align 8 %131 = load i32, ptr %9, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i32, ptr %130, i64 %132 %134 = load i32, ptr %133, align 4 %135 = load i32, ptr %8, align 4 %136 = add nsw i32 %135, %134 store i32 %136, ptr %8, align 4 br label %137 137: ; preds = %129 %138 = load i32, ptr %9, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %9, align 4 br label %68, !llvm.loop !8 140: ; preds = %68 %141 = load i32, ptr %8, align 4 store i32 %141, ptr %3, align 4 br label %142 142: ; preds = %140, %12 %143 = load i32, ptr %3, align 4 ret i32 %143 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1x6blvsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @candy(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %145 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 4, %15 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %5, align 4 %22 = sub nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %20, i64 %23 store i32 1, ptr %24, align 4 %25 = load i32, ptr %5, align 4 %26 = sub nsw i32 %25, 2 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp sgt i32 %27, -1 br i1 %28, label %.lr.ph, label %65 .lr.ph: ; preds = %13 br label %29 29: ; preds = %.lr.ph, %60 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %35, i64 %38 %40 = load i32, ptr %39, align 4 %41 = icmp sgt i32 %34, %40 br i1 %41, label %42, label %54 42: ; preds = %29 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %43, i64 %46 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, 1 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 store i32 %49, ptr %53, align 4 br label %59 54: ; preds = %29 %55 = load ptr, ptr %6, align 8 %56 = load i32, ptr %7, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 store i32 1, ptr %58, align 4 br label %59 59: ; preds = %54, %42 br label %60 60: ; preds = %59 %61 = load i32, ptr %7, align 4 %62 = add nsw i32 %61, -1 store i32 %62, ptr %7, align 4 %63 = load i32, ptr %7, align 4 %64 = icmp sgt i32 %63, -1 br i1 %64, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %60 br label %65 65: ; preds = %._crit_edge, %13 %66 = load ptr, ptr %6, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 0 %68 = load i32, ptr %67, align 4 store i32 %68, ptr %8, align 4 store i32 1, ptr %9, align 4 %69 = load i32, ptr %9, align 4 %70 = load i32, ptr %5, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %.lr.ph2, label %143 .lr.ph2: ; preds = %65 br label %72 72: ; preds = %.lr.ph2, %137 %73 = load ptr, ptr %4, align 8 %74 = load i32, ptr %9, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 %77 = load i32, ptr %76, align 4 %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %9, align 4 %80 = sub nsw i32 %79, 1 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %78, i64 %81 %83 = load i32, ptr %82, align 4 %84 = icmp sgt i32 %77, %83 br i1 %84, label %85, label %119 85: ; preds = %72 %86 = load ptr, ptr %6, align 8 %87 = load i32, ptr %9, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %9, align 4 %93 = sub nsw i32 %92, 1 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %91, i64 %94 %96 = load i32, ptr %95, align 4 %97 = add nsw i32 %96, 1 %98 = icmp sgt i32 %90, %97 br i1 %98, label %99, label %105 99: ; preds = %85 %100 = load ptr, ptr %6, align 8 %101 = load i32, ptr %9, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 %104 = load i32, ptr %103, align 4 br label %113 105: ; preds = %85 %106 = load ptr, ptr %6, align 8 %107 = load i32, ptr %9, align 4 %108 = sub nsw i32 %107, 1 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %106, i64 %109 %111 = load i32, ptr %110, align 4 %112 = add nsw i32 %111, 1 br label %113 113: ; preds = %105, %99 %114 = phi i32 [ %104, %99 ], [ %112, %105 ] %115 = load ptr, ptr %6, align 8 %116 = load i32, ptr %9, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %115, i64 %117 store i32 %114, ptr %118, align 4 br label %129 119: ; preds = %72 %120 = load ptr, ptr %6, align 8 %121 = load i32, ptr %9, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i32, ptr %120, i64 %122 %124 = load i32, ptr %123, align 4 %125 = load ptr, ptr %6, align 8 %126 = load i32, ptr %9, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i32, ptr %125, i64 %127 store i32 %124, ptr %128, align 4 br label %129 129: ; preds = %119, %113 %130 = load ptr, ptr %6, align 8 %131 = load i32, ptr %9, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i32, ptr %130, i64 %132 %134 = load i32, ptr %133, align 4 %135 = load i32, ptr %8, align 4 %136 = add nsw i32 %135, %134 store i32 %136, ptr %8, align 4 br label %137 137: ; preds = %129 %138 = load i32, ptr %9, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %9, align 4 %140 = load i32, ptr %9, align 4 %141 = load i32, ptr %5, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %72, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %137 br label %143 143: ; preds = %._crit_edge3, %65 %144 = load i32, ptr %8, align 4 store i32 %144, ptr %3, align 4 br label %145 145: ; preds = %143, %12 %146 = load i32, ptr %3, align 4 ret i32 %146 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpzda5tdyp.c' source_filename = "/tmp/tmpzda5tdyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"\0A\09Requires one string of characters to be input\0A\0A\00", align 1 @NAME_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"%s/.config/jumble/wordlist\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = 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 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %72 15: ; preds = %2 %16 = load i32, ptr @NAME_MAX, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %9, align 8 %19 = alloca i8, i64 %17, align 16 store i64 %17, ptr %10, align 8 %20 = call ptr @getenv(ptr noundef @.str.2) %21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20) %22 = call ptr @safeopen(ptr noundef %19, ptr noundef @.str.3) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = call i32 @fgetc(ptr noundef %23) store i32 %24, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %25 25: ; preds = %52, %15 %26 = load ptr, ptr %6, align 8 %27 = call i32 @feof(ptr noundef %26) %28 = icmp ne i32 %27, 0 %29 = xor i1 %28, true br i1 %29, label %30, label %55 30: ; preds = %25 %31 = load i32, ptr %8, align 4 %32 = icmp eq i32 %31, 10 br i1 %32, label %33, label %45 33: ; preds = %30 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %19, i64 %35 store i8 0, ptr %36, align 1 store i32 0, ptr %7, align 4 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i64 @compare(ptr noundef %19, ptr noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %33 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %19) br label %44 44: ; preds = %42, %33 br label %52 45: ; preds = %30 %46 = load i32, ptr %8, align 4 %47 = trunc i32 %46 to i8 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = sext i32 %48 to i64 %51 = getelementptr inbounds i8, ptr %19, i64 %50 store i8 %47, ptr %51, align 1 br label %52 52: ; preds = %45, %44 %53 = load ptr, ptr %6, align 8 %54 = call i32 @fgetc(ptr noundef %53) store i32 %54, ptr %8, align 4 br label %25, !llvm.loop !6 55: ; preds = %25 %56 = load i32, ptr %7, align 4 %57 = icmp sgt i32 %56, 0 br i1 %57, label %58, label %70 58: ; preds = %55 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %19, i64 %60 store i8 0, ptr %61, align 1 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 1 %64 = load ptr, ptr %63, align 8 %65 = call i64 @compare(ptr noundef %19, ptr noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %69 67: ; preds = %58 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %19) br label %69 69: ; preds = %67, %58 br label %70 70: ; preds = %69, %55 store i32 0, ptr %3, align 4 %71 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %71) br label %72 72: ; preds = %70, %13 %73 = load i32, ptr %3, align 4 ret i32 %73 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare ptr @safeopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @compare(ptr noundef, ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzda5tdyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"\0A\09Requires one string of characters to be input\0A\0A\00", align 1 @NAME_MAX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"%s/.config/jumble/wordlist\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = 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 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %75 15: ; preds = %2 %16 = load i32, ptr @NAME_MAX, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %9, align 8 %19 = alloca i8, i64 %17, align 16 store i64 %17, ptr %10, align 8 %20 = call ptr @getenv(ptr noundef @.str.2) %21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20) %22 = call ptr @safeopen(ptr noundef %19, ptr noundef @.str.3) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = call i32 @fgetc(ptr noundef %23) store i32 %24, ptr %8, align 4 store i32 0, ptr %7, align 4 %25 = load ptr, ptr %6, align 8 %26 = call i32 @feof(ptr noundef %25) %27 = icmp ne i32 %26, 0 %28 = xor i1 %27, true br i1 %28, label %.lr.ph, label %58 .lr.ph: ; preds = %15 br label %29 29: ; preds = %.lr.ph, %51 %30 = load i32, ptr %8, align 4 %31 = icmp eq i32 %30, 10 br i1 %31, label %32, label %44 32: ; preds = %29 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %19, i64 %34 store i8 0, ptr %35, align 1 store i32 0, ptr %7, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i64 @compare(ptr noundef %19, ptr noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %32 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %19) br label %43 43: ; preds = %41, %32 br label %51 44: ; preds = %29 %45 = load i32, ptr %8, align 4 %46 = trunc i32 %45 to i8 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 %49 = sext i32 %47 to i64 %50 = getelementptr inbounds i8, ptr %19, i64 %49 store i8 %46, ptr %50, align 1 br label %51 51: ; preds = %44, %43 %52 = load ptr, ptr %6, align 8 %53 = call i32 @fgetc(ptr noundef %52) store i32 %53, ptr %8, align 4 %54 = load ptr, ptr %6, align 8 %55 = call i32 @feof(ptr noundef %54) %56 = icmp ne i32 %55, 0 %57 = xor i1 %56, true br i1 %57, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %58 58: ; preds = %._crit_edge, %15 %59 = load i32, ptr %7, align 4 %60 = icmp sgt i32 %59, 0 br i1 %60, label %61, label %73 61: ; preds = %58 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %19, i64 %63 store i8 0, ptr %64, align 1 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds ptr, ptr %65, i64 1 %67 = load ptr, ptr %66, align 8 %68 = call i64 @compare(ptr noundef %19, ptr noundef %67) %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %72 70: ; preds = %61 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %19) br label %72 72: ; preds = %70, %61 br label %73 73: ; preds = %72, %58 store i32 0, ptr %3, align 4 %74 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %74) br label %75 75: ; preds = %73, %13 %76 = load i32, ptr %3, align 4 ret i32 %76 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare ptr @safeopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @compare(ptr noundef, ptr 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"}
; ModuleID = '/tmp/tmpoivapf94.c' source_filename = "/tmp/tmpoivapf94.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn7\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fn7() #0 { %1 = alloca ptr, align 8 %2 = call i32 (...) @rand() %3 = srem i32 %2, 20 %4 = add nsw i32 20, %3 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = call i32 (...) @rand() %8 = srem i32 %7, 20 %9 = add nsw i32 30, %8 %10 = call ptr @realloc(ptr noundef %6, i32 noundef %9) store ptr %10, ptr %1, align 8 %11 = load ptr, ptr %1, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str) %13 = load ptr, ptr %1, align 8 ret ptr %13 } declare ptr @malloc(i32 noundef) #1 declare i32 @rand(...) #1 declare ptr @realloc(ptr noundef, i32 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/tmpoivapf94.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn7\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fn7() #0 { %1 = alloca ptr, align 8 %2 = call i32 (...) @rand() %3 = srem i32 %2, 20 %4 = add nsw i32 20, %3 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = call i32 (...) @rand() %8 = srem i32 %7, 20 %9 = add nsw i32 30, %8 %10 = call ptr @realloc(ptr noundef %6, i32 noundef %9) store ptr %10, ptr %1, align 8 %11 = load ptr, ptr %1, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str) %13 = load ptr, ptr %1, align 8 ret ptr %13 } declare ptr @malloc(i32 noundef) #1 declare i32 @rand(...) #1 declare ptr @realloc(ptr noundef, i32 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"}