llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpcm805cew.c' source_filename = "/tmp/tmpcm805cew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FD_SETSIZE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getFDSetSize() #0 { %1 = load i32, ptr @FD_SETSIZE, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcm805cew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FD_SETSIZE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getFDSetSize() #0 { %1 = load i32, ptr @FD_SETSIZE, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzdqw0se2.c' source_filename = "/tmp/tmpzdqw0se2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BN_FLG_CONSTTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @BN_div(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load ptr, ptr %8, align 8 %13 = load i32, ptr @BN_FLG_CONSTTIME, align 4 %14 = call i64 @BN_get_flags(ptr noundef %12, i32 noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %5 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr @BN_FLG_CONSTTIME, align 4 %19 = call i64 @BN_get_flags(ptr noundef %17, i32 noundef %18) %20 = icmp ne i64 %19, 0 br label %21 21: ; preds = %16, %5 %22 = phi i1 [ true, %5 ], [ %20, %16 ] %23 = zext i1 %22 to i32 store i32 %23, ptr %11, align 4 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %9, align 8 %28 = load ptr, ptr %10, align 8 %29 = load i32, ptr %11, align 4 %30 = call i32 @BN_div_internal(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, i32 noundef %29) ret i32 %30 } declare i64 @BN_get_flags(ptr noundef, i32 noundef) #1 declare i32 @BN_div_internal(ptr noundef, ptr 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/tmpzdqw0se2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BN_FLG_CONSTTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @BN_div(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load ptr, ptr %8, align 8 %13 = load i32, ptr @BN_FLG_CONSTTIME, align 4 %14 = call i64 @BN_get_flags(ptr noundef %12, i32 noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %5 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr @BN_FLG_CONSTTIME, align 4 %19 = call i64 @BN_get_flags(ptr noundef %17, i32 noundef %18) %20 = icmp ne i64 %19, 0 br label %21 21: ; preds = %16, %5 %22 = phi i1 [ true, %5 ], [ %20, %16 ] %23 = zext i1 %22 to i32 store i32 %23, ptr %11, align 4 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %9, align 8 %28 = load ptr, ptr %10, align 8 %29 = load i32, ptr %11, align 4 %30 = call i32 @BN_div_internal(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, i32 noundef %29) ret i32 %30 } declare i64 @BN_get_flags(ptr noundef, i32 noundef) #1 declare i32 @BN_div_internal(ptr noundef, ptr 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/tmpze3qp2lj.c' source_filename = "/tmp/tmpze3qp2lj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Alocando %d bytes em vetor[%d]\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Num Operacoes: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Realocando %d bytes em vetor[%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [17 x ptr], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %17, %2 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 16 br i1 %12, label %13, label %20 13: ; preds = %10 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %15 store ptr null, ptr %16, align 8 br label %17 17: ; preds = %13 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 br label %10, !llvm.loop !6 20: ; preds = %10 %21 = call i32 @time(i32 noundef 0) %22 = call i32 @srand(i32 noundef %21) store i32 0, ptr %7, align 4 br label %23 23: ; preds = %41, %20 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %24, 8 br i1 %25, label %26, label %44 26: ; preds = %23 %27 = call i32 (...) @rand() %28 = srem i32 %27, 64 store i32 %28, ptr %9, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 %32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %29, i32 noundef %31) %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 %35 = call ptr @meuAlocaMem(i32 noundef %34) %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %37 store ptr %35, ptr %38, align 8 %39 = call i32 (...) @imprMapaB() %40 = call i32 (...) @imprMapaA() br label %41 41: ; preds = %26 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 br label %23, !llvm.loop !8 44: ; preds = %23 %45 = load i32, ptr %7, align 4 %46 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %45) store i32 0, ptr %7, align 4 br label %47 47: ; preds = %91, %44 %48 = load i32, ptr %7, align 4 %49 = icmp slt i32 %48, 32 br i1 %49, label %50, label %94 50: ; preds = %47 %51 = call i32 (...) @rand() %52 = srem i32 %51, 16 store i32 %52, ptr %8, align 4 %53 = load i32, ptr %8, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %54 %56 = load ptr, ptr %55, align 8 %57 = icmp eq ptr %56, null br i1 %57, label %58, label %71 58: ; preds = %50 %59 = call i32 (...) @rand() %60 = srem i32 %59, 64 store i32 %60, ptr %9, align 4 %61 = load i32, ptr %9, align 4 %62 = load i32, ptr %8, align 4 %63 = add nsw i32 %62, 1 %64 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %61, i32 noundef %63) %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 %67 = call ptr @meuCalocaMem(i32 noundef 2, i32 noundef %66) %68 = load i32, ptr %8, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %69 store ptr %67, ptr %70, align 8 br label %88 71: ; preds = %50 %72 = call i32 (...) @rand() %73 = srem i32 %72, 64 store i32 %73, ptr %9, align 4 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %75, 1 %77 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %74, i32 noundef %76) %78 = load i32, ptr %8, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = load i32, ptr %9, align 4 %83 = add nsw i32 %82, 1 %84 = call ptr @meuRealocaMem(ptr noundef %81, i32 noundef %83) %85 = load i32, ptr %8, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %86 store ptr %84, ptr %87, align 8 br label %88 88: ; preds = %71, %58 %89 = call i32 (...) @imprMapaB() %90 = call i32 (...) @imprMapaA() br label %91 91: ; preds = %88 %92 = load i32, ptr %7, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %7, align 4 br label %47, !llvm.loop !9 94: ; preds = %47 store i32 0, ptr %7, align 4 br label %95 95: ; preds = %111, %94 %96 = load i32, ptr %7, align 4 %97 = icmp slt i32 %96, 16 br i1 %97, label %98, label %114 98: ; preds = %95 %99 = load i32, ptr %7, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %100 %102 = load ptr, ptr %101, align 8 %103 = icmp ne ptr %102, null br i1 %103, label %104, label %110 104: ; preds = %98 %105 = load i32, ptr %7, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %106 %108 = load ptr, ptr %107, align 8 %109 = call i32 @meuLiberaMem(ptr noundef %108) br label %110 110: ; preds = %104, %98 br label %111 111: ; preds = %110 %112 = load i32, ptr %7, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %7, align 4 br label %95, !llvm.loop !10 114: ; preds = %95 %115 = load i32, ptr %3, align 4 ret i32 %115 } declare i32 @srand(i32 noundef) #1 declare i32 @time(i32 noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare ptr @meuAlocaMem(i32 noundef) #1 declare i32 @imprMapaB(...) #1 declare i32 @imprMapaA(...) #1 declare ptr @meuCalocaMem(i32 noundef, i32 noundef) #1 declare ptr @meuRealocaMem(ptr noundef, i32 noundef) #1 declare i32 @meuLiberaMem(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpze3qp2lj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Alocando %d bytes em vetor[%d]\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Num Operacoes: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Realocando %d bytes em vetor[%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [17 x ptr], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %10, 16 br i1 %11, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %16 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %14 store ptr null, ptr %15, align 8 br label %16 16: ; preds = %12 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 16 br i1 %20, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %2 %22 = call i32 @time(i32 noundef 0) %23 = call i32 @srand(i32 noundef %22) store i32 0, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %24, 8 br i1 %25, label %.lr.ph2, label %46 .lr.ph2: ; preds = %21 br label %26 26: ; preds = %.lr.ph2, %41 %27 = call i32 (...) @rand() %28 = srem i32 %27, 64 store i32 %28, ptr %9, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 %32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %29, i32 noundef %31) %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 %35 = call ptr @meuAlocaMem(i32 noundef %34) %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %37 store ptr %35, ptr %38, align 8 %39 = call i32 (...) @imprMapaB() %40 = call i32 (...) @imprMapaA() br label %41 41: ; preds = %26 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %44, 8 br i1 %45, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %21 %47 = load i32, ptr %7, align 4 %48 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %47) store i32 0, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp slt i32 %49, 32 br i1 %50, label %.lr.ph5, label %97 .lr.ph5: ; preds = %46 br label %51 51: ; preds = %.lr.ph5, %92 %52 = call i32 (...) @rand() %53 = srem i32 %52, 16 store i32 %53, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = icmp eq ptr %57, null br i1 %58, label %59, label %72 59: ; preds = %51 %60 = call i32 (...) @rand() %61 = srem i32 %60, 64 store i32 %61, ptr %9, align 4 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %63, 1 %65 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %62, i32 noundef %64) %66 = load i32, ptr %9, align 4 %67 = add nsw i32 %66, 1 %68 = call ptr @meuCalocaMem(i32 noundef 2, i32 noundef %67) %69 = load i32, ptr %8, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %70 store ptr %68, ptr %71, align 8 br label %89 72: ; preds = %51 %73 = call i32 (...) @rand() %74 = srem i32 %73, 64 store i32 %74, ptr %9, align 4 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %76, 1 %78 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %75, i32 noundef %77) %79 = load i32, ptr %8, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = load i32, ptr %9, align 4 %84 = add nsw i32 %83, 1 %85 = call ptr @meuRealocaMem(ptr noundef %82, i32 noundef %84) %86 = load i32, ptr %8, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %87 store ptr %85, ptr %88, align 8 br label %89 89: ; preds = %72, %59 %90 = call i32 (...) @imprMapaB() %91 = call i32 (...) @imprMapaA() br label %92 92: ; preds = %89 %93 = load i32, ptr %7, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %7, align 4 %95 = load i32, ptr %7, align 4 %96 = icmp slt i32 %95, 32 br i1 %96, label %51, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %92 br label %97 97: ; preds = %._crit_edge6, %46 store i32 0, ptr %7, align 4 %98 = load i32, ptr %7, align 4 %99 = icmp slt i32 %98, 16 br i1 %99, label %.lr.ph8, label %118 .lr.ph8: ; preds = %97 br label %100 100: ; preds = %.lr.ph8, %113 %101 = load i32, ptr %7, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %102 %104 = load ptr, ptr %103, align 8 %105 = icmp ne ptr %104, null br i1 %105, label %106, label %112 106: ; preds = %100 %107 = load i32, ptr %7, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 %108 %110 = load ptr, ptr %109, align 8 %111 = call i32 @meuLiberaMem(ptr noundef %110) br label %112 112: ; preds = %106, %100 br label %113 113: ; preds = %112 %114 = load i32, ptr %7, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %7, align 4 %116 = load i32, ptr %7, align 4 %117 = icmp slt i32 %116, 16 br i1 %117, label %100, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %113 br label %118 118: ; preds = %._crit_edge9, %97 %119 = load i32, ptr %3, align 4 ret i32 %119 } declare i32 @srand(i32 noundef) #1 declare i32 @time(i32 noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare ptr @meuAlocaMem(i32 noundef) #1 declare i32 @imprMapaB(...) #1 declare i32 @imprMapaA(...) #1 declare ptr @meuCalocaMem(i32 noundef, i32 noundef) #1 declare ptr @meuRealocaMem(ptr noundef, i32 noundef) #1 declare i32 @meuLiberaMem(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpuqi8v7mt.c' source_filename = "/tmp/tmpuqi8v7mt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @edsf_merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = call i32 @edsf_canonify(ptr noundef %12, i32 noundef %13, ptr noundef %9) store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = and i32 %19, 2 %21 = call i32 @assert(i32 noundef %20) %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %8, align 4 %24 = xor i32 %23, %22 store i32 %24, ptr %8, align 4 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %7, align 4 %27 = call i32 @edsf_canonify(ptr noundef %25, i32 noundef %26, ptr noundef %10) store i32 %27, ptr %7, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = and i32 %32, 2 %34 = call i32 @assert(i32 noundef %33) %35 = load i32, ptr %10, align 4 %36 = load i32, ptr %8, align 4 %37 = xor i32 %36, %35 store i32 %37, ptr %8, align 4 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %47 41: ; preds = %4 %42 = load i32, ptr %8, align 4 %43 = icmp ne i32 %42, 0 %44 = xor i1 %43, true %45 = zext i1 %44 to i32 %46 = call i32 @assert(i32 noundef %45) br label %90 47: ; preds = %4 %48 = load i32, ptr %8, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %53, label %50 50: ; preds = %47 %51 = load i32, ptr %8, align 4 %52 = icmp eq i32 %51, 1 br label %53 53: ; preds = %50, %47 %54 = phi i1 [ true, %47 ], [ %52, %50 ] %55 = zext i1 %54 to i32 %56 = call i32 @assert(i32 noundef %55) %57 = load i32, ptr %6, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %60, label %64 60: ; preds = %53 %61 = load i32, ptr %6, align 4 store i32 %61, ptr %11, align 4 %62 = load i32, ptr %7, align 4 store i32 %62, ptr %6, align 4 %63 = load i32, ptr %11, align 4 store i32 %63, ptr %7, align 4 br label %64 64: ; preds = %60, %53 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load i32, ptr %68, align 4 %70 = ashr i32 %69, 2 %71 = shl i32 %70, 2 %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr %6, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 %76 = load i32, ptr %75, align 4 %77 = add nsw i32 %76, %71 store i32 %77, ptr %75, align 4 %78 = load i32, ptr %6, align 4 %79 = shl i32 %78, 2 %80 = load i32, ptr %8, align 4 %81 = icmp ne i32 %80, 0 %82 = xor i1 %81, true %83 = xor i1 %82, true %84 = zext i1 %83 to i32 %85 = or i32 %79, %84 %86 = load ptr, ptr %5, align 8 %87 = load i32, ptr %7, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 store i32 %85, ptr %89, align 4 br label %90 90: ; preds = %64, %41 %91 = load ptr, ptr %5, align 8 %92 = load i32, ptr %7, align 4 %93 = call i32 @edsf_canonify(ptr noundef %91, i32 noundef %92, ptr noundef %10) store i32 %93, ptr %7, align 4 %94 = load i32, ptr %7, align 4 %95 = load i32, ptr %6, align 4 %96 = icmp eq i32 %94, %95 %97 = zext i1 %96 to i32 %98 = call i32 @assert(i32 noundef %97) %99 = load i32, ptr %10, align 4 %100 = load i32, ptr %8, align 4 %101 = icmp eq i32 %99, %100 %102 = zext i1 %101 to i32 %103 = call i32 @assert(i32 noundef %102) ret void } declare i32 @edsf_canonify(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @assert(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/tmpuqi8v7mt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @edsf_merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = call i32 @edsf_canonify(ptr noundef %12, i32 noundef %13, ptr noundef %9) store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = and i32 %19, 2 %21 = call i32 @assert(i32 noundef %20) %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %8, align 4 %24 = xor i32 %23, %22 store i32 %24, ptr %8, align 4 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %7, align 4 %27 = call i32 @edsf_canonify(ptr noundef %25, i32 noundef %26, ptr noundef %10) store i32 %27, ptr %7, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = and i32 %32, 2 %34 = call i32 @assert(i32 noundef %33) %35 = load i32, ptr %10, align 4 %36 = load i32, ptr %8, align 4 %37 = xor i32 %36, %35 store i32 %37, ptr %8, align 4 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %47 41: ; preds = %4 %42 = load i32, ptr %8, align 4 %43 = icmp ne i32 %42, 0 %44 = xor i1 %43, true %45 = zext i1 %44 to i32 %46 = call i32 @assert(i32 noundef %45) br label %90 47: ; preds = %4 %48 = load i32, ptr %8, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %53, label %50 50: ; preds = %47 %51 = load i32, ptr %8, align 4 %52 = icmp eq i32 %51, 1 br label %53 53: ; preds = %50, %47 %54 = phi i1 [ true, %47 ], [ %52, %50 ] %55 = zext i1 %54 to i32 %56 = call i32 @assert(i32 noundef %55) %57 = load i32, ptr %6, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %60, label %64 60: ; preds = %53 %61 = load i32, ptr %6, align 4 store i32 %61, ptr %11, align 4 %62 = load i32, ptr %7, align 4 store i32 %62, ptr %6, align 4 %63 = load i32, ptr %11, align 4 store i32 %63, ptr %7, align 4 br label %64 64: ; preds = %60, %53 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load i32, ptr %68, align 4 %70 = ashr i32 %69, 2 %71 = shl i32 %70, 2 %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr %6, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 %76 = load i32, ptr %75, align 4 %77 = add nsw i32 %76, %71 store i32 %77, ptr %75, align 4 %78 = load i32, ptr %6, align 4 %79 = shl i32 %78, 2 %80 = load i32, ptr %8, align 4 %81 = icmp ne i32 %80, 0 %82 = xor i1 %81, true %83 = xor i1 %82, true %84 = zext i1 %83 to i32 %85 = or i32 %79, %84 %86 = load ptr, ptr %5, align 8 %87 = load i32, ptr %7, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 store i32 %85, ptr %89, align 4 br label %90 90: ; preds = %64, %41 %91 = load ptr, ptr %5, align 8 %92 = load i32, ptr %7, align 4 %93 = call i32 @edsf_canonify(ptr noundef %91, i32 noundef %92, ptr noundef %10) store i32 %93, ptr %7, align 4 %94 = load i32, ptr %7, align 4 %95 = load i32, ptr %6, align 4 %96 = icmp eq i32 %94, %95 %97 = zext i1 %96 to i32 %98 = call i32 @assert(i32 noundef %97) %99 = load i32, ptr %10, align 4 %100 = load i32, ptr %8, align 4 %101 = icmp eq i32 %99, %100 %102 = zext i1 %101 to i32 %103 = call i32 @assert(i32 noundef %102) ret void } declare i32 @edsf_canonify(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @assert(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/tmpsxyg2ppz.c' source_filename = "/tmp/tmpsxyg2ppz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @frame_number_from_pagemap(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = and i64 %3, 18014398509481983 ret i64 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsxyg2ppz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @frame_number_from_pagemap(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = and i64 %3, 18014398509481983 ret i64 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphjbmxjhi.c' source_filename = "/tmp/tmphjbmxjhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/bash\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"xxyy\00", align 1 @__const.main.newargv = private unnamed_addr constant [2 x ptr] [ptr @.str.1, ptr null], align 16 @.str.2 = private unnamed_addr constant [6 x i8] c"-xxyy\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"execve\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [2 x ptr], align 16 %8 = alloca [1 x ptr], align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.newargv, i64 16, i1 false) call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 8, i1 false) %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %21 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 45 br i1 %18, label %19, label %21 19: ; preds = %11 %20 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 store ptr @.str.2, ptr %20, align 16 br label %21 21: ; preds = %19, %11, %2 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 %24 = getelementptr inbounds [1 x ptr], ptr %8, i64 0, i64 0 %25 = call i32 @execve(ptr noundef %22, ptr noundef %23, ptr noundef %24) %26 = call i32 @perror(ptr noundef @.str.3) %27 = load i32, ptr @EXIT_FAILURE, align 4 %28 = call i32 @exit(i32 noundef %27) #5 unreachable } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #3 declare i32 @perror(ptr noundef) #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 #5 = { 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/tmphjbmxjhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/bash\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"xxyy\00", align 1 @__const.main.newargv = private unnamed_addr constant [2 x ptr] [ptr @.str.1, ptr null], align 16 @.str.2 = private unnamed_addr constant [6 x i8] c"-xxyy\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"execve\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [2 x ptr], align 16 %8 = alloca [1 x ptr], align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.newargv, i64 16, i1 false) call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 8, i1 false) %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %21 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 45 br i1 %18, label %19, label %21 19: ; preds = %11 %20 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 store ptr @.str.2, ptr %20, align 16 br label %21 21: ; preds = %19, %11, %2 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 %24 = getelementptr inbounds [1 x ptr], ptr %8, i64 0, i64 0 %25 = call i32 @execve(ptr noundef %22, ptr noundef %23, ptr noundef %24) %26 = call i32 @perror(ptr noundef @.str.3) %27 = load i32, ptr @EXIT_FAILURE, align 4 %28 = call i32 @exit(i32 noundef %27) #5 unreachable } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #3 declare i32 @perror(ptr noundef) #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 #5 = { 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/tmpaf5yglie.c' source_filename = "/tmp/tmpaf5yglie.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"http://\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"ftp://\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"telnet://\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"mailto:\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"news:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @qCheckURL(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 @strncmp(ptr noundef %4, ptr noundef @.str, i32 noundef 7) %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %33 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strncmp(ptr noundef %9, ptr noundef @.str.1, i32 noundef 6) %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %33 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strncmp(ptr noundef %14, ptr noundef @.str.2, i32 noundef 9) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %33 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strncmp(ptr noundef %19, ptr noundef @.str.3, i32 noundef 7) %21 = icmp ne i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %33 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strncmp(ptr noundef %24, ptr noundef @.str.4, i32 noundef 5) %26 = icmp ne i32 %25, 0 br i1 %26, label %28, label %27 27: ; preds = %23 store i32 1, ptr %2, align 4 br label %33 28: ; preds = %23 br label %29 29: ; preds = %28 br label %30 30: ; preds = %29 br label %31 31: ; preds = %30 br label %32 32: ; preds = %31 store i32 0, ptr %2, align 4 br label %33 33: ; preds = %32, %27, %22, %17, %12, %7 %34 = load i32, ptr %2, align 4 ret i32 %34 } declare i32 @strncmp(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/tmpaf5yglie.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"http://\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"ftp://\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"telnet://\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"mailto:\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"news:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @qCheckURL(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 @strncmp(ptr noundef %4, ptr noundef @.str, i32 noundef 7) %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %33 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strncmp(ptr noundef %9, ptr noundef @.str.1, i32 noundef 6) %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %33 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strncmp(ptr noundef %14, ptr noundef @.str.2, i32 noundef 9) %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %33 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strncmp(ptr noundef %19, ptr noundef @.str.3, i32 noundef 7) %21 = icmp ne i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %33 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strncmp(ptr noundef %24, ptr noundef @.str.4, i32 noundef 5) %26 = icmp ne i32 %25, 0 br i1 %26, label %28, label %27 27: ; preds = %23 store i32 1, ptr %2, align 4 br label %33 28: ; preds = %23 br label %29 29: ; preds = %28 br label %30 30: ; preds = %29 br label %31 31: ; preds = %30 br label %32 32: ; preds = %31 store i32 0, ptr %2, align 4 br label %33 33: ; preds = %32, %27, %22, %17, %12, %7 %34 = load i32, ptr %2, align 4 ret i32 %34 } declare i32 @strncmp(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/tmps4q0towt.c' source_filename = "/tmp/tmps4q0towt.c" target datalayout = "e-m:e-p270: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/tmps4q0towt.c" target datalayout = "e-m:e-p270: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/tmpdc9w0v4t.c' source_filename = "/tmp/tmpdc9w0v4t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UFFDIO_COPY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdc9w0v4t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UFFDIO_COPY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp324lqwn0.c' source_filename = "/tmp/tmp324lqwn0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcmp_ignore_case(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 br label %5 5: ; preds = %25, %2 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %23 10: ; preds = %5 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %23 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = load i8, ptr %16, align 1 %18 = call i64 @tolower(i8 noundef signext %17) %19 = load ptr, ptr %4, align 8 %20 = load i8, ptr %19, align 1 %21 = call i64 @tolower(i8 noundef signext %20) %22 = icmp eq i64 %18, %21 br label %23 23: ; preds = %15, %10, %5 %24 = phi i1 [ false, %10 ], [ false, %5 ], [ %22, %15 ] br i1 %24, label %25, label %30 25: ; preds = %23 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %3, align 8 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %4, align 8 br label %5, !llvm.loop !6 30: ; preds = %23 %31 = load ptr, ptr %3, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load ptr, ptr %4, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = sub nsw i32 %33, %36 ret i32 %37 } declare i64 @tolower(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp324lqwn0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcmp_ignore_case(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 br label %5 5: ; preds = %25, %2 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %23 10: ; preds = %5 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %23 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = load i8, ptr %16, align 1 %18 = call i64 @tolower(i8 noundef signext %17) %19 = load ptr, ptr %4, align 8 %20 = load i8, ptr %19, align 1 %21 = call i64 @tolower(i8 noundef signext %20) %22 = icmp eq i64 %18, %21 br label %23 23: ; preds = %15, %10, %5 %24 = phi i1 [ false, %10 ], [ false, %5 ], [ %22, %15 ] br i1 %24, label %25, label %30 25: ; preds = %23 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %3, align 8 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %4, align 8 br label %5, !llvm.loop !6 30: ; preds = %23 %31 = load ptr, ptr %3, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load ptr, ptr %4, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = sub nsw i32 %33, %36 ret i32 %37 } declare i64 @tolower(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr8o5g0ti.c' source_filename = "/tmp/tmpr8o5g0ti.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tap_plan(i32 noundef 20, ptr noundef null) %3 = call i32 (...) @test_portalFloatHandler() %4 = call i32 (...) @test_portalUintHandler() %5 = call i32 (...) @test_portalUlongHandler() %6 = call i32 (...) @test_portalBoolHandler() %7 = call i32 (...) @exit_status() ret i32 %7 } declare i32 @tap_plan(i32 noundef, ptr noundef) #1 declare i32 @test_portalFloatHandler(...) #1 declare i32 @test_portalUintHandler(...) #1 declare i32 @test_portalUlongHandler(...) #1 declare i32 @test_portalBoolHandler(...) #1 declare i32 @exit_status(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr8o5g0ti.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tap_plan(i32 noundef 20, ptr noundef null) %3 = call i32 (...) @test_portalFloatHandler() %4 = call i32 (...) @test_portalUintHandler() %5 = call i32 (...) @test_portalUlongHandler() %6 = call i32 (...) @test_portalBoolHandler() %7 = call i32 (...) @exit_status() ret i32 %7 } declare i32 @tap_plan(i32 noundef, ptr noundef) #1 declare i32 @test_portalFloatHandler(...) #1 declare i32 @test_portalUintHandler(...) #1 declare i32 @test_portalUlongHandler(...) #1 declare i32 @test_portalBoolHandler(...) #1 declare i32 @exit_status(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_vllyty3.c' source_filename = "/tmp/tmp_vllyty3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_shrt_range(i16 noundef signext %0) #0 { %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca i16, align 2 store i16 %0, ptr %2, align 2 store i16 -32768, ptr %3, align 2 store i16 32767, ptr %4, align 2 %5 = load i16, ptr %2, align 2 %6 = call i32 @f_shrt_1(i16 noundef signext %5) %7 = call i32 @sink(i32 noundef %6) %8 = call signext i16 @signed_range(i16 noundef signext -32768, i16 noundef signext -32767) %9 = call i32 @f_shrt_1(i16 noundef signext %8) %10 = call i32 @sink(i32 noundef %9) %11 = call signext i16 @signed_range(i16 noundef signext -32768, i16 noundef signext 0) %12 = call i32 @f_shrt_1(i16 noundef signext %11) %13 = call i32 @sink(i32 noundef %12) %14 = call signext i16 @signed_range(i16 noundef signext -1, i16 noundef signext 0) %15 = call i32 @f_shrt_1(i16 noundef signext %14) %16 = call i32 @sink(i32 noundef %15) %17 = call signext i16 @signed_range(i16 noundef signext -1, i16 noundef signext 1) %18 = call i32 @f_shrt_1(i16 noundef signext %17) %19 = call i32 @sink(i32 noundef %18) %20 = call signext i16 @signed_range(i16 noundef signext 0, i16 noundef signext 1) %21 = call i32 @f_shrt_1(i16 noundef signext %20) %22 = call i32 @sink(i32 noundef %21) %23 = call signext i16 @signed_range(i16 noundef signext 0, i16 noundef signext 32766) %24 = call i32 @f_shrt_1(i16 noundef signext %23) %25 = call i32 @sink(i32 noundef %24) %26 = call signext i16 @signed_range(i16 noundef signext 1, i16 noundef signext 32767) %27 = call i32 @f_shrt_1(i16 noundef signext %26) %28 = call i32 @sink(i32 noundef %27) %29 = call signext i16 @signed_range(i16 noundef signext 32766, i16 noundef signext 32767) %30 = call i32 @f_shrt_1(i16 noundef signext %29) %31 = call i32 @sink(i32 noundef %30) ret void } declare i32 @sink(i32 noundef) #1 declare i32 @f_shrt_1(i16 noundef signext) #1 declare signext i16 @signed_range(i16 noundef signext, i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_vllyty3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_shrt_range(i16 noundef signext %0) #0 { %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca i16, align 2 store i16 %0, ptr %2, align 2 store i16 -32768, ptr %3, align 2 store i16 32767, ptr %4, align 2 %5 = load i16, ptr %2, align 2 %6 = call i32 @f_shrt_1(i16 noundef signext %5) %7 = call i32 @sink(i32 noundef %6) %8 = call signext i16 @signed_range(i16 noundef signext -32768, i16 noundef signext -32767) %9 = call i32 @f_shrt_1(i16 noundef signext %8) %10 = call i32 @sink(i32 noundef %9) %11 = call signext i16 @signed_range(i16 noundef signext -32768, i16 noundef signext 0) %12 = call i32 @f_shrt_1(i16 noundef signext %11) %13 = call i32 @sink(i32 noundef %12) %14 = call signext i16 @signed_range(i16 noundef signext -1, i16 noundef signext 0) %15 = call i32 @f_shrt_1(i16 noundef signext %14) %16 = call i32 @sink(i32 noundef %15) %17 = call signext i16 @signed_range(i16 noundef signext -1, i16 noundef signext 1) %18 = call i32 @f_shrt_1(i16 noundef signext %17) %19 = call i32 @sink(i32 noundef %18) %20 = call signext i16 @signed_range(i16 noundef signext 0, i16 noundef signext 1) %21 = call i32 @f_shrt_1(i16 noundef signext %20) %22 = call i32 @sink(i32 noundef %21) %23 = call signext i16 @signed_range(i16 noundef signext 0, i16 noundef signext 32766) %24 = call i32 @f_shrt_1(i16 noundef signext %23) %25 = call i32 @sink(i32 noundef %24) %26 = call signext i16 @signed_range(i16 noundef signext 1, i16 noundef signext 32767) %27 = call i32 @f_shrt_1(i16 noundef signext %26) %28 = call i32 @sink(i32 noundef %27) %29 = call signext i16 @signed_range(i16 noundef signext 32766, i16 noundef signext 32767) %30 = call i32 @f_shrt_1(i16 noundef signext %29) %31 = call i32 @sink(i32 noundef %30) ret void } declare i32 @sink(i32 noundef) #1 declare i32 @f_shrt_1(i16 noundef signext) #1 declare signext i16 @signed_range(i16 noundef signext, i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo8ti403x.c' source_filename = "/tmp/tmpo8ti403x.c" target datalayout = "e-m:e-p270: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/tmpo8ti403x.c" target datalayout = "e-m:e-p270: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/tmpognuir0z.c' source_filename = "/tmp/tmpognuir0z.c" target datalayout = "e-m:e-p270: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/tmpognuir0z.c" target datalayout = "e-m:e-p270: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/tmpru08dxpc.c' source_filename = "/tmp/tmpru08dxpc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 576, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, 576 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 4, %11 store i64 %12, ptr %6, align 8 %13 = load i64, ptr %6, align 8 %14 = call i64 @malloc(i64 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %3, align 8 store i32 0, ptr %7, align 4 br label %16 16: ; preds = %31, %1 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %34 20: ; preds = %16 %21 = load i32, ptr %7, align 4 %22 = sitofp i32 %21 to float %23 = load i32, ptr %5, align 4 %24 = sub nsw i32 %23, 1 %25 = sitofp i32 %24 to float %26 = fdiv float %22, %25 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds float, ptr %27, i64 %29 store float %26, ptr %30, align 4 br label %31 31: ; preds = %20 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %16, !llvm.loop !6 34: ; preds = %16 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %2, align 4 %37 = mul nsw i32 %36, 576 %38 = call i32 @FloatComputeBound(ptr noundef %35, i32 noundef %37, float noundef 1.125000e+00, float noundef 1.250000e-01, float noundef 5.000000e-01, float noundef 1.250000e+00, float noundef 1.250000e+00, i32 noundef 0) %39 = load ptr, ptr %3, align 8 %40 = call i32 @free(ptr noundef %39) ret void } declare i64 @malloc(i64 noundef) #1 declare i32 @FloatComputeBound(ptr noundef, i32 noundef, float noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpru08dxpc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 576, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, 576 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 4, %11 store i64 %12, ptr %6, align 8 %13 = load i64, ptr %6, align 8 %14 = call i64 @malloc(i64 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %3, align 8 store i32 0, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %19 19: ; preds = %.lr.ph, %30 %20 = load i32, ptr %7, align 4 %21 = sitofp i32 %20 to float %22 = load i32, ptr %5, align 4 %23 = sub nsw i32 %22, 1 %24 = sitofp i32 %23 to float %25 = fdiv float %21, %24 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds float, ptr %26, i64 %28 store float %25, ptr %29, align 4 br label %30 30: ; preds = %19 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %1 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %2, align 4 %39 = mul nsw i32 %38, 576 %40 = call i32 @FloatComputeBound(ptr noundef %37, i32 noundef %39, float noundef 1.125000e+00, float noundef 1.250000e-01, float noundef 5.000000e-01, float noundef 1.250000e+00, float noundef 1.250000e+00, i32 noundef 0) %41 = load ptr, ptr %3, align 8 %42 = call i32 @free(ptr noundef %41) ret void } declare i64 @malloc(i64 noundef) #1 declare i32 @FloatComputeBound(ptr noundef, i32 noundef, float noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0lulo2hd.c' source_filename = "/tmp/tmp0lulo2hd.c" target datalayout = "e-m:e-p270: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.option = type { ptr, i32, ptr, i32, i32 } @optind = dso_local global i32 0, align 4 @main.long_options = internal global [7 x %struct.option] [%struct.option { ptr @.str, i32 1, ptr null, i32 0, i32 0 }, %struct.option { ptr @.str.1, i32 0, ptr null, i32 0, i32 0 }, %struct.option { ptr @.str.2, i32 1, ptr null, i32 0, i32 0 }, %struct.option { ptr @.str.3, i32 0, ptr null, i32 0, i32 0 }, %struct.option { ptr @.str.4, i32 0, ptr null, i32 0, i32 0 }, %struct.option { ptr @.str.5, i32 1, ptr null, i32 0, i32 0 }, %struct.option zeroinitializer], align 16 @.str = private unnamed_addr constant [4 x i8] c"add\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"append\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"delete\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"verbose\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"create\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"file\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"abc:d:0123456789\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [10 x i8] c"option %s\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.8 = private unnamed_addr constant [13 x i8] c" with arg %s\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [46 x i8] c"digits occur in two different argv-elements.\0A\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"option %c\0A\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"option a\0A\00", align 1 @.str.13 = private unnamed_addr constant [10 x i8] c"option b\0A\00", align 1 @.str.14 = private unnamed_addr constant [26 x i8] c"option c with value `%s'\0A\00", align 1 @.str.15 = private unnamed_addr constant [26 x i8] c"option d with value `%s'\0A\00", align 1 @.str.16 = private unnamed_addr constant [42 x i8] c"?? getopt returned character code 0%o ??\0A\00", align 1 @.str.17 = private unnamed_addr constant [27 x i8] c"non-option ARGV-elements: \00", align 1 @.str.18 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %2, %68 %11 = load i32, ptr @optind, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = load i32, ptr @optind, align 4 br label %16 15: ; preds = %10 br label %16 16: ; preds = %15, %13 %17 = phi i32 [ %14, %13 ], [ 1, %15 ] store i32 %17, ptr %8, align 4 store i32 0, ptr %9, align 4 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @getopt_long(i32 noundef %18, ptr noundef %19, ptr noundef @.str.6, ptr noundef @main.long_options, ptr noundef %9) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr @EOF, align 4 %23 = icmp eq i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %16 br label %69 25: ; preds = %16 %26 = load i32, ptr %6, align 4 switch i32 %26, label %65 [ i32 0, label %27 i32 48, label %41 i32 49, label %41 i32 50, label %41 i32 51, label %41 i32 52, label %41 i32 53, label %41 i32 54, label %41 i32 55, label %41 i32 56, label %41 i32 57, label %41 i32 97, label %54 i32 98, label %56 i32 99, label %58 i32 100, label %61 i32 63, label %64 ] 27: ; preds = %25 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [7 x %struct.option], ptr @main.long_options, i64 0, i64 %29 %31 = getelementptr inbounds %struct.option, ptr %30, i32 0, i32 2 %32 = load ptr, ptr %31, align 16 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %32) %34 = load ptr, ptr @optarg, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %39 36: ; preds = %27 %37 = load ptr, ptr @optarg, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %37) br label %39 39: ; preds = %36, %27 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %68 41: ; preds = %25, %25, %25, %25, %25, %25, %25, %25, %25, %25 %42 = load i32, ptr %7, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %50 44: ; preds = %41 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %8, align 4 %47 = icmp ne i32 %45, %46 br i1 %47, label %48, label %50 48: ; preds = %44 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %50 50: ; preds = %48, %44, %41 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %7, align 4 %52 = load i32, ptr %6, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %52) br label %68 54: ; preds = %25 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %68 56: ; preds = %25 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %68 58: ; preds = %25 %59 = load ptr, ptr @optarg, align 8 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %59) br label %68 61: ; preds = %25 %62 = load ptr, ptr @optarg, align 8 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef %62) br label %68 64: ; preds = %25 br label %68 65: ; preds = %25 %66 = load i32, ptr %6, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %66) br label %68 68: ; preds = %65, %64, %61, %58, %56, %54, %50, %39 br label %10 69: ; preds = %24 %70 = load i32, ptr @optind, align 4 %71 = load i32, ptr %4, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %73, label %89 73: ; preds = %69 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %75 75: ; preds = %79, %73 %76 = load i32, ptr @optind, align 4 %77 = load i32, ptr %4, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %79, label %87 79: ; preds = %75 %80 = load ptr, ptr %5, align 8 %81 = load i32, ptr @optind, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr @optind, align 4 %83 = sext i32 %81 to i64 %84 = getelementptr inbounds ptr, ptr %80, i64 %83 %85 = load ptr, ptr %84, align 8 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %85) br label %75, !llvm.loop !6 87: ; preds = %75 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %89 89: ; preds = %87, %69 %90 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0lulo2hd.c" target datalayout = "e-m:e-p270: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.option = type { ptr, i32, ptr, i32, i32 } @optind = dso_local global i32 0, align 4 @main.long_options = internal global [7 x %struct.option] [%struct.option { ptr @.str, i32 1, ptr null, i32 0, i32 0 }, %struct.option { ptr @.str.1, i32 0, ptr null, i32 0, i32 0 }, %struct.option { ptr @.str.2, i32 1, ptr null, i32 0, i32 0 }, %struct.option { ptr @.str.3, i32 0, ptr null, i32 0, i32 0 }, %struct.option { ptr @.str.4, i32 0, ptr null, i32 0, i32 0 }, %struct.option { ptr @.str.5, i32 1, ptr null, i32 0, i32 0 }, %struct.option zeroinitializer], align 16 @.str = private unnamed_addr constant [4 x i8] c"add\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"append\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"delete\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"verbose\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"create\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"file\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"abc:d:0123456789\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [10 x i8] c"option %s\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.8 = private unnamed_addr constant [13 x i8] c" with arg %s\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [46 x i8] c"digits occur in two different argv-elements.\0A\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"option %c\0A\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"option a\0A\00", align 1 @.str.13 = private unnamed_addr constant [10 x i8] c"option b\0A\00", align 1 @.str.14 = private unnamed_addr constant [26 x i8] c"option c with value `%s'\0A\00", align 1 @.str.15 = private unnamed_addr constant [26 x i8] c"option d with value `%s'\0A\00", align 1 @.str.16 = private unnamed_addr constant [42 x i8] c"?? getopt returned character code 0%o ??\0A\00", align 1 @.str.17 = private unnamed_addr constant [27 x i8] c"non-option ARGV-elements: \00", align 1 @.str.18 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %68, %2 %11 = load i32, ptr @optind, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = load i32, ptr @optind, align 4 br label %16 15: ; preds = %10 br label %16 16: ; preds = %15, %13 %17 = phi i32 [ %14, %13 ], [ 1, %15 ] store i32 %17, ptr %8, align 4 store i32 0, ptr %9, align 4 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @getopt_long(i32 noundef %18, ptr noundef %19, ptr noundef @.str.6, ptr noundef @main.long_options, ptr noundef %9) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr @EOF, align 4 %23 = icmp eq i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %16 br label %69 25: ; preds = %16 %26 = load i32, ptr %6, align 4 switch i32 %26, label %65 [ i32 0, label %27 i32 48, label %41 i32 49, label %41 i32 50, label %41 i32 51, label %41 i32 52, label %41 i32 53, label %41 i32 54, label %41 i32 55, label %41 i32 56, label %41 i32 57, label %41 i32 97, label %54 i32 98, label %56 i32 99, label %58 i32 100, label %61 i32 63, label %64 ] 27: ; preds = %25 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [7 x %struct.option], ptr @main.long_options, i64 0, i64 %29 %31 = getelementptr inbounds %struct.option, ptr %30, i32 0, i32 2 %32 = load ptr, ptr %31, align 16 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %32) %34 = load ptr, ptr @optarg, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %39 36: ; preds = %27 %37 = load ptr, ptr @optarg, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %37) br label %39 39: ; preds = %36, %27 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %68 41: ; preds = %25, %25, %25, %25, %25, %25, %25, %25, %25, %25 %42 = load i32, ptr %7, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %50 44: ; preds = %41 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %8, align 4 %47 = icmp ne i32 %45, %46 br i1 %47, label %48, label %50 48: ; preds = %44 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %50 50: ; preds = %48, %44, %41 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %7, align 4 %52 = load i32, ptr %6, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %52) br label %68 54: ; preds = %25 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %68 56: ; preds = %25 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %68 58: ; preds = %25 %59 = load ptr, ptr @optarg, align 8 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %59) br label %68 61: ; preds = %25 %62 = load ptr, ptr @optarg, align 8 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef %62) br label %68 64: ; preds = %25 br label %68 65: ; preds = %25 %66 = load i32, ptr %6, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %66) br label %68 68: ; preds = %65, %64, %61, %58, %56, %54, %50, %39 br label %10 69: ; preds = %24 %70 = load i32, ptr @optind, align 4 %71 = load i32, ptr %4, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %73, label %91 73: ; preds = %69 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %75 = load i32, ptr @optind, align 4 %76 = load i32, ptr %4, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %.lr.ph, label %89 .lr.ph: ; preds = %73 br label %78 78: ; preds = %.lr.ph, %78 %79 = load ptr, ptr %5, align 8 %80 = load i32, ptr @optind, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr @optind, align 4 %82 = sext i32 %80 to i64 %83 = getelementptr inbounds ptr, ptr %79, i64 %82 %84 = load ptr, ptr %83, align 8 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %84) %86 = load i32, ptr @optind, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %78, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %78 br label %89 89: ; preds = %._crit_edge, %73 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %91 91: ; preds = %89, %69 %92 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpagzgqjck.c' source_filename = "/tmp/tmpagzgqjck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x0b\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0x0b() #0 { %1 = call i64 @isalpha(i32 noundef 11) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 60, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(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/tmpagzgqjck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x0b\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0x0b() #0 { %1 = call i64 @isalpha(i32 noundef 11) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 60, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(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/tmpivp_szvw.c' source_filename = "/tmp/tmpivp_szvw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOG_WARNING = 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/tmpivp_szvw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOG_WARNING = 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/tmpg6ct8cef.c' source_filename = "/tmp/tmpg6ct8cef.c" target datalayout = "e-m:e-p270: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/tmpg6ct8cef.c" target datalayout = "e-m:e-p270: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/tmpsuvi7r0i.c' source_filename = "/tmp/tmpsuvi7r0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"please input the key\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"please input the plantext\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"\E5\8A\A0\E5\AF\86:\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"\E8\A7\A3\E5\AF\86:\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca 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 [30 x i32], align 16 %8 = alloca [30 x i8], align 16 %9 = alloca [100 x i8], align 16 %10 = alloca [100 x i8], align 16 %11 = alloca [100 x i8], align 16 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0 %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14) %16 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %4, align 4 store i32 0, ptr %2, align 4 br label %18 18: ; preds = %75, %0 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %78 22: ; preds = %18 %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [30 x i32], ptr %7, i64 0, i64 %24 store i32 0, ptr %25, align 4 store i32 0, ptr %3, align 4 br label %26 26: ; preds = %71, %22 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %74 30: ; preds = %26 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = load i32, ptr %2, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp sle i32 %35, %40 br i1 %41, label %42, label %48 42: ; preds = %30 %43 = load i32, ptr %2, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [30 x i32], ptr %7, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %45, align 4 br label %48 48: ; preds = %42, %30 %49 = load i32, ptr %3, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = load i32, ptr %2, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %53, %58 br i1 %59, label %60, label %70 60: ; preds = %48 %61 = load i32, ptr %3, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp sgt i32 %61, %62 br i1 %63, label %64, label %70 64: ; preds = %60 %65 = load i32, ptr %2, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [30 x i32], ptr %7, i64 0, i64 %66 %68 = load i32, ptr %67, align 4 %69 = add nsw i32 %68, -1 store i32 %69, ptr %67, align 4 br label %70 70: ; preds = %64, %60, %48 br label %71 71: ; preds = %70 %72 = load i32, ptr %3, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %3, align 4 br label %26, !llvm.loop !6 74: ; preds = %26 br label %75 75: ; preds = %74 %76 = load i32, ptr %2, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %2, align 4 br label %18, !llvm.loop !8 78: ; preds = %18 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %80 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %81 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %80) %82 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %83 = call i32 @strlen(ptr noundef %82) store i32 %83, ptr %5, align 4 store i32 0, ptr %2, align 4 %84 = load i32, ptr %5, align 4 %85 = load i32, ptr %4, align 4 %86 = srem i32 %84, %85 store i32 %86, ptr %6, align 4 br label %87 87: ; preds = %99, %78 %88 = load i32, ptr %6, align 4 %89 = load i32, ptr %4, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %91, label %102 91: ; preds = %87 %92 = load i32, ptr %5, align 4 %93 = load i32, ptr %2, align 4 %94 = add nsw i32 %92, %93 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %95 store i8 120, ptr %96, align 1 %97 = load i32, ptr %2, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %2, align 4 br label %99 99: ; preds = %91 %100 = load i32, ptr %6, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %6, align 4 br label %87, !llvm.loop !9 102: ; preds = %87 %103 = load i32, ptr %2, align 4 store i32 %103, ptr %12, align 4 %104 = load i32, ptr %5, align 4 %105 = load i32, ptr %4, align 4 %106 = srem i32 %104, %105 %107 = icmp eq i32 %106, 0 br i1 %107, label %108, label %112 108: ; preds = %102 %109 = load i32, ptr %5, align 4 %110 = load i32, ptr %4, align 4 %111 = sdiv i32 %109, %110 store i32 %111, ptr %6, align 4 br label %117 112: ; preds = %102 %113 = load i32, ptr %5, align 4 %114 = load i32, ptr %4, align 4 %115 = sdiv i32 %113, %114 %116 = add nsw i32 %115, 1 store i32 %116, ptr %6, align 4 br label %117 117: ; preds = %112, %108 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %2, align 4 br label %119 119: ; preds = %152, %117 %120 = load i32, ptr %2, align 4 %121 = load i32, ptr %6, align 4 %122 = icmp slt i32 %120, %121 br i1 %122, label %123, label %155 123: ; preds = %119 store i32 0, ptr %3, align 4 br label %124 124: ; preds = %148, %123 %125 = load i32, ptr %3, align 4 %126 = load i32, ptr %4, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %128, label %151 128: ; preds = %124 %129 = load i32, ptr %2, align 4 %130 = load i32, ptr %4, align 4 %131 = mul nsw i32 %129, %130 %132 = load i32, ptr %3, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [30 x i32], ptr %7, i64 0, i64 %133 %135 = load i32, ptr %134, align 4 %136 = add nsw i32 %131, %135 %137 = sub nsw i32 %136, 1 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %138 %140 = load i8, ptr %139, align 1 %141 = load i32, ptr %2, align 4 %142 = load i32, ptr %4, align 4 %143 = mul nsw i32 %141, %142 %144 = load i32, ptr %3, align 4 %145 = add nsw i32 %143, %144 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 %146 store i8 %140, ptr %147, align 1 br label %148 148: ; preds = %128 %149 = load i32, ptr %3, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %3, align 4 br label %124, !llvm.loop !10 151: ; preds = %124 br label %152 152: ; preds = %151 %153 = load i32, ptr %2, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %2, align 4 br label %119, !llvm.loop !11 155: ; preds = %119 store i32 0, ptr %2, align 4 br label %156 156: ; preds = %180, %155 %157 = load i32, ptr %2, align 4 %158 = load i32, ptr %4, align 4 %159 = icmp slt i32 %157, %158 br i1 %159, label %160, label %183 160: ; preds = %156 store i32 0, ptr %3, align 4 br label %161 161: ; preds = %176, %160 %162 = load i32, ptr %3, align 4 %163 = load i32, ptr %6, align 4 %164 = icmp slt i32 %162, %163 br i1 %164, label %165, label %179 165: ; preds = %161 %166 = load i32, ptr %3, align 4 %167 = load i32, ptr %4, align 4 %168 = mul nsw i32 %166, %167 %169 = load i32, ptr %2, align 4 %170 = add nsw i32 %168, %169 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 %171 %173 = load i8, ptr %172, align 1 %174 = sext i8 %173 to i32 %175 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %174) br label %176 176: ; preds = %165 %177 = load i32, ptr %3, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %3, align 4 br label %161, !llvm.loop !12 179: ; preds = %161 br label %180 180: ; preds = %179 %181 = load i32, ptr %2, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %2, align 4 br label %156, !llvm.loop !13 183: ; preds = %156 %184 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %185 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %2, align 4 br label %186 186: ; preds = %219, %183 %187 = load i32, ptr %2, align 4 %188 = load i32, ptr %6, align 4 %189 = icmp slt i32 %187, %188 br i1 %189, label %190, label %222 190: ; preds = %186 store i32 0, ptr %3, align 4 br label %191 191: ; preds = %215, %190 %192 = load i32, ptr %3, align 4 %193 = load i32, ptr %4, align 4 %194 = icmp slt i32 %192, %193 br i1 %194, label %195, label %218 195: ; preds = %191 %196 = load i32, ptr %2, align 4 %197 = load i32, ptr %4, align 4 %198 = mul nsw i32 %196, %197 %199 = load i32, ptr %3, align 4 %200 = add nsw i32 %198, %199 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 %201 %203 = load i8, ptr %202, align 1 %204 = load i32, ptr %2, align 4 %205 = load i32, ptr %4, align 4 %206 = mul nsw i32 %204, %205 %207 = load i32, ptr %3, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds [30 x i32], ptr %7, i64 0, i64 %208 %210 = load i32, ptr %209, align 4 %211 = add nsw i32 %206, %210 %212 = sub nsw i32 %211, 1 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 %213 store i8 %203, ptr %214, align 1 br label %215 215: ; preds = %195 %216 = load i32, ptr %3, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %3, align 4 br label %191, !llvm.loop !14 218: ; preds = %191 br label %219 219: ; preds = %218 %220 = load i32, ptr %2, align 4 %221 = add nsw i32 %220, 1 store i32 %221, ptr %2, align 4 br label %186, !llvm.loop !15 222: ; preds = %186 %223 = load i32, ptr %2, align 4 %224 = sub nsw i32 %223, 1 %225 = load i32, ptr %4, align 4 %226 = mul nsw i32 %224, %225 %227 = load i32, ptr %3, align 4 %228 = add nsw i32 %226, %227 %229 = load i32, ptr %12, align 4 %230 = sub nsw i32 %228, %229 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 %231 store i8 0, ptr %232, align 1 %233 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %234 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %233) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsuvi7r0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"please input the key\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"please input the plantext\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"\E5\8A\A0\E5\AF\86:\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"\E8\A7\A3\E5\AF\86:\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca 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 [30 x i32], align 16 %8 = alloca [30 x i8], align 16 %9 = alloca [100 x i8], align 16 %10 = alloca [100 x i8], align 16 %11 = alloca [100 x i8], align 16 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0 %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14) %16 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %4, align 4 store i32 0, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph2, label %82 .lr.ph2: ; preds = %0 br label %21 21: ; preds = %.lr.ph2, %76 %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [30 x i32], ptr %7, i64 0, i64 %23 store i32 0, ptr %24, align 4 store i32 0, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %75 .lr.ph: ; preds = %21 br label %28 28: ; preds = %.lr.ph, %69 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load i32, ptr %2, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp sle i32 %33, %38 br i1 %39, label %40, label %46 40: ; preds = %28 %41 = load i32, ptr %2, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [30 x i32], ptr %7, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %43, align 4 br label %46 46: ; preds = %40, %28 %47 = load i32, ptr %3, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = load i32, ptr %2, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %51, %56 br i1 %57, label %58, label %68 58: ; preds = %46 %59 = load i32, ptr %3, align 4 %60 = load i32, ptr %2, align 4 %61 = icmp sgt i32 %59, %60 br i1 %61, label %62, label %68 62: ; preds = %58 %63 = load i32, ptr %2, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [30 x i32], ptr %7, i64 0, i64 %64 %66 = load i32, ptr %65, align 4 %67 = add nsw i32 %66, -1 store i32 %67, ptr %65, align 4 br label %68 68: ; preds = %62, %58, %46 br label %69 69: ; preds = %68 %70 = load i32, ptr %3, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %3, align 4 %72 = load i32, ptr %3, align 4 %73 = load i32, ptr %4, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %69 br label %75 75: ; preds = %._crit_edge, %21 br label %76 76: ; preds = %75 %77 = load i32, ptr %2, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %2, align 4 %79 = load i32, ptr %2, align 4 %80 = load i32, ptr %4, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %76 br label %82 82: ; preds = %._crit_edge3, %0 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %84 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %85 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %84) %86 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %87 = call i32 @strlen(ptr noundef %86) store i32 %87, ptr %5, align 4 store i32 0, ptr %2, align 4 %88 = load i32, ptr %5, align 4 %89 = load i32, ptr %4, align 4 %90 = srem i32 %88, %89 store i32 %90, ptr %6, align 4 %91 = load i32, ptr %6, align 4 %92 = load i32, ptr %4, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %.lr.ph5, label %108 .lr.ph5: ; preds = %82 br label %94 94: ; preds = %.lr.ph5, %102 %95 = load i32, ptr %5, align 4 %96 = load i32, ptr %2, align 4 %97 = add nsw i32 %95, %96 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %98 store i8 120, ptr %99, align 1 %100 = load i32, ptr %2, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %2, align 4 br label %102 102: ; preds = %94 %103 = load i32, ptr %6, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %6, align 4 %105 = load i32, ptr %6, align 4 %106 = load i32, ptr %4, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %94, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %102 br label %108 108: ; preds = %._crit_edge6, %82 %109 = load i32, ptr %2, align 4 store i32 %109, ptr %12, align 4 %110 = load i32, ptr %5, align 4 %111 = load i32, ptr %4, align 4 %112 = srem i32 %110, %111 %113 = icmp eq i32 %112, 0 br i1 %113, label %114, label %118 114: ; preds = %108 %115 = load i32, ptr %5, align 4 %116 = load i32, ptr %4, align 4 %117 = sdiv i32 %115, %116 store i32 %117, ptr %6, align 4 br label %123 118: ; preds = %108 %119 = load i32, ptr %5, align 4 %120 = load i32, ptr %4, align 4 %121 = sdiv i32 %119, %120 %122 = add nsw i32 %121, 1 store i32 %122, ptr %6, align 4 br label %123 123: ; preds = %118, %114 %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %2, align 4 %125 = load i32, ptr %2, align 4 %126 = load i32, ptr %6, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %.lr.ph11, label %165 .lr.ph11: ; preds = %123 br label %128 128: ; preds = %.lr.ph11, %159 store i32 0, ptr %3, align 4 %129 = load i32, ptr %3, align 4 %130 = load i32, ptr %4, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %.lr.ph8, label %158 .lr.ph8: ; preds = %128 br label %132 132: ; preds = %.lr.ph8, %152 %133 = load i32, ptr %2, align 4 %134 = load i32, ptr %4, align 4 %135 = mul nsw i32 %133, %134 %136 = load i32, ptr %3, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [30 x i32], ptr %7, i64 0, i64 %137 %139 = load i32, ptr %138, align 4 %140 = add nsw i32 %135, %139 %141 = sub nsw i32 %140, 1 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %142 %144 = load i8, ptr %143, align 1 %145 = load i32, ptr %2, align 4 %146 = load i32, ptr %4, align 4 %147 = mul nsw i32 %145, %146 %148 = load i32, ptr %3, align 4 %149 = add nsw i32 %147, %148 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 %150 store i8 %144, ptr %151, align 1 br label %152 152: ; preds = %132 %153 = load i32, ptr %3, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %3, align 4 %155 = load i32, ptr %3, align 4 %156 = load i32, ptr %4, align 4 %157 = icmp slt i32 %155, %156 br i1 %157, label %132, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %152 br label %158 158: ; preds = %._crit_edge9, %128 br label %159 159: ; preds = %158 %160 = load i32, ptr %2, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %2, align 4 %162 = load i32, ptr %2, align 4 %163 = load i32, ptr %6, align 4 %164 = icmp slt i32 %162, %163 br i1 %164, label %128, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %159 br label %165 165: ; preds = %._crit_edge12, %123 store i32 0, ptr %2, align 4 %166 = load i32, ptr %2, align 4 %167 = load i32, ptr %4, align 4 %168 = icmp slt i32 %166, %167 br i1 %168, label %.lr.ph17, label %197 .lr.ph17: ; preds = %165 br label %169 169: ; preds = %.lr.ph17, %191 store i32 0, ptr %3, align 4 %170 = load i32, ptr %3, align 4 %171 = load i32, ptr %6, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %.lr.ph14, label %190 .lr.ph14: ; preds = %169 br label %173 173: ; preds = %.lr.ph14, %184 %174 = load i32, ptr %3, align 4 %175 = load i32, ptr %4, align 4 %176 = mul nsw i32 %174, %175 %177 = load i32, ptr %2, align 4 %178 = add nsw i32 %176, %177 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 %179 %181 = load i8, ptr %180, align 1 %182 = sext i8 %181 to i32 %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %182) br label %184 184: ; preds = %173 %185 = load i32, ptr %3, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %3, align 4 %187 = load i32, ptr %3, align 4 %188 = load i32, ptr %6, align 4 %189 = icmp slt i32 %187, %188 br i1 %189, label %173, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %184 br label %190 190: ; preds = %._crit_edge15, %169 br label %191 191: ; preds = %190 %192 = load i32, ptr %2, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %2, align 4 %194 = load i32, ptr %2, align 4 %195 = load i32, ptr %4, align 4 %196 = icmp slt i32 %194, %195 br i1 %196, label %169, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %191 br label %197 197: ; preds = %._crit_edge18, %165 %198 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %2, align 4 %200 = load i32, ptr %2, align 4 %201 = load i32, ptr %6, align 4 %202 = icmp slt i32 %200, %201 br i1 %202, label %.lr.ph23, label %240 .lr.ph23: ; preds = %197 br label %203 203: ; preds = %.lr.ph23, %234 store i32 0, ptr %3, align 4 %204 = load i32, ptr %3, align 4 %205 = load i32, ptr %4, align 4 %206 = icmp slt i32 %204, %205 br i1 %206, label %.lr.ph20, label %233 .lr.ph20: ; preds = %203 br label %207 207: ; preds = %.lr.ph20, %227 %208 = load i32, ptr %2, align 4 %209 = load i32, ptr %4, align 4 %210 = mul nsw i32 %208, %209 %211 = load i32, ptr %3, align 4 %212 = add nsw i32 %210, %211 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 %213 %215 = load i8, ptr %214, align 1 %216 = load i32, ptr %2, align 4 %217 = load i32, ptr %4, align 4 %218 = mul nsw i32 %216, %217 %219 = load i32, ptr %3, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds [30 x i32], ptr %7, i64 0, i64 %220 %222 = load i32, ptr %221, align 4 %223 = add nsw i32 %218, %222 %224 = sub nsw i32 %223, 1 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 %225 store i8 %215, ptr %226, align 1 br label %227 227: ; preds = %207 %228 = load i32, ptr %3, align 4 %229 = add nsw i32 %228, 1 store i32 %229, ptr %3, align 4 %230 = load i32, ptr %3, align 4 %231 = load i32, ptr %4, align 4 %232 = icmp slt i32 %230, %231 br i1 %232, label %207, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %227 br label %233 233: ; preds = %._crit_edge21, %203 br label %234 234: ; preds = %233 %235 = load i32, ptr %2, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %2, align 4 %237 = load i32, ptr %2, align 4 %238 = load i32, ptr %6, align 4 %239 = icmp slt i32 %237, %238 br i1 %239, label %203, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %234 br label %240 240: ; preds = %._crit_edge24, %197 %241 = load i32, ptr %2, align 4 %242 = sub nsw i32 %241, 1 %243 = load i32, ptr %4, align 4 %244 = mul nsw i32 %242, %243 %245 = load i32, ptr %3, align 4 %246 = add nsw i32 %244, %245 %247 = load i32, ptr %12, align 4 %248 = sub nsw i32 %246, %247 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 %249 store i8 0, ptr %250, align 1 %251 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %252 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %251) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '/tmp/tmpfkbmlqzl.c' source_filename = "/tmp/tmpfkbmlqzl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i64 0, align 8 @HUGE_VAL = dso_local global double 0.000000e+00, align 8 @INT_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @scalbln(double noundef %0, i64 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i64, align 8 store double %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = load i64, ptr @INT_MAX, align 8 %8 = icmp sgt i64 %6, %7 br i1 %8, label %9, label %19 9: ; preds = %2 %10 = load double, ptr %4, align 8 %11 = fcmp ogt double %10, 0.000000e+00 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = load double, ptr @HUGE_VAL, align 8 br label %17 14: ; preds = %9 %15 = load double, ptr @HUGE_VAL, align 8 %16 = fneg double %15 br label %17 17: ; preds = %14, %12 %18 = phi double [ %13, %12 ], [ %16, %14 ] store double %18, ptr %3, align 8 br label %33 19: ; preds = %2 %20 = load i64, ptr %5, align 8 %21 = load i64, ptr @INT_MIN, align 8 %22 = icmp slt i64 %20, %21 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = load double, ptr %4, align 8 %25 = fcmp ogt double %24, 0.000000e+00 %26 = zext i1 %25 to i64 %27 = select i1 %25, double 0.000000e+00, double -0.000000e+00 store double %27, ptr %3, align 8 br label %33 28: ; preds = %19 %29 = load double, ptr %4, align 8 %30 = load i64, ptr %5, align 8 %31 = trunc i64 %30 to i32 %32 = call double @scalbn(double noundef %29, i32 noundef %31) #2 store double %32, ptr %3, align 8 br label %33 33: ; preds = %28, %23, %17 %34 = load double, ptr %3, align 8 ret double %34 } ; Function Attrs: nounwind declare double @scalbn(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfkbmlqzl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i64 0, align 8 @HUGE_VAL = dso_local global double 0.000000e+00, align 8 @INT_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @scalbln(double noundef %0, i64 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i64, align 8 store double %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = load i64, ptr @INT_MAX, align 8 %8 = icmp sgt i64 %6, %7 br i1 %8, label %9, label %19 9: ; preds = %2 %10 = load double, ptr %4, align 8 %11 = fcmp ogt double %10, 0.000000e+00 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = load double, ptr @HUGE_VAL, align 8 br label %17 14: ; preds = %9 %15 = load double, ptr @HUGE_VAL, align 8 %16 = fneg double %15 br label %17 17: ; preds = %14, %12 %18 = phi double [ %13, %12 ], [ %16, %14 ] store double %18, ptr %3, align 8 br label %33 19: ; preds = %2 %20 = load i64, ptr %5, align 8 %21 = load i64, ptr @INT_MIN, align 8 %22 = icmp slt i64 %20, %21 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = load double, ptr %4, align 8 %25 = fcmp ogt double %24, 0.000000e+00 %26 = zext i1 %25 to i64 %27 = select i1 %25, double 0.000000e+00, double -0.000000e+00 store double %27, ptr %3, align 8 br label %33 28: ; preds = %19 %29 = load double, ptr %4, align 8 %30 = load i64, ptr %5, align 8 %31 = trunc i64 %30 to i32 %32 = call double @scalbn(double noundef %29, i32 noundef %31) #2 store double %32, ptr %3, align 8 br label %33 33: ; preds = %28, %23, %17 %34 = load double, ptr %3, align 8 ret double %34 } ; Function Attrs: nounwind declare double @scalbn(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu61m5nm5.c' source_filename = "/tmp/tmpu61m5nm5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trampoline() #0 { call void asm sideeffect "mov $$getroot, %rax; call *%rax;", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !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" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 453}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu61m5nm5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trampoline() #0 { call void asm sideeffect "mov $$getroot, %rax; call *%rax;", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !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" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 453}
; ModuleID = '/tmp/tmp_f3udrkz.c' source_filename = "/tmp/tmp_f3udrkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getClasses(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = add nsw i32 %11, 1 %13 = call ptr @int_vec_alloc(i32 noundef %12) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %10, align 8 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 @init_int_vec(ptr noundef %14, i32 noundef %16) store i32 0, ptr %9, align 4 br label %18 18: ; preds = %42, %4 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %45 22: ; preds = %18 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp sge i32 %28, 0 br i1 %29, label %30, label %41 30: ; preds = %22 %31 = load ptr, ptr %10, align 8 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i64 %38 = getelementptr inbounds i32, ptr %31, i64 %37 %39 = load i32, ptr %38, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %38, align 4 br label %41 41: ; preds = %30, %22 br label %42 42: ; preds = %41 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 br label %18, !llvm.loop !6 45: ; preds = %18 store i32 0, ptr %9, align 4 br label %46 46: ; preds = %68, %45 %47 = load i32, ptr %9, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp sle i32 %47, %48 br i1 %49, label %50, label %71 50: ; preds = %46 %51 = load ptr, ptr %10, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = add nsw i32 %55, 1 %57 = call ptr @int_vec_alloc(i32 noundef %56) %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %58, i64 %60 store ptr %57, ptr %61, align 8 %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 0 store i32 0, ptr %67, align 4 br label %68 68: ; preds = %50 %69 = load i32, ptr %9, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %9, align 4 br label %46, !llvm.loop !8 71: ; preds = %46 store i32 0, ptr %9, align 4 br label %72 72: ; preds = %110, %71 %73 = load i32, ptr %9, align 4 %74 = load i32, ptr %6, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %76, label %113 76: ; preds = %72 %77 = load ptr, ptr %5, align 8 %78 = load i32, ptr %9, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp sge i32 %82, 0 br i1 %83, label %84, label %109 84: ; preds = %76 %85 = load i32, ptr %9, align 4 %86 = load ptr, ptr %7, align 8 %87 = load ptr, ptr %5, align 8 %88 = load i32, ptr %9, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i64 %93 = getelementptr inbounds ptr, ptr %86, i64 %92 %94 = load ptr, ptr %93, align 8 %95 = load ptr, ptr %7, align 8 %96 = load ptr, ptr %5, align 8 %97 = load i32, ptr %9, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i8, ptr %96, i64 %98 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i64 %102 = getelementptr inbounds ptr, ptr %95, i64 %101 %103 = load ptr, ptr %102, align 8 %104 = getelementptr inbounds i32, ptr %103, i64 0 %105 = load i32, ptr %104, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %104, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %94, i64 %107 store i32 %85, ptr %108, align 4 br label %109 109: ; preds = %84, %76 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 br label %72, !llvm.loop !9 113: ; preds = %72 %114 = load ptr, ptr %10, align 8 %115 = call i32 @free(ptr noundef %114) ret void } declare ptr @int_vec_alloc(i32 noundef) #1 declare i32 @init_int_vec(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_f3udrkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getClasses(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = add nsw i32 %11, 1 %13 = call ptr @int_vec_alloc(i32 noundef %12) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %10, align 8 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 @init_int_vec(ptr noundef %14, i32 noundef %16) store i32 0, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %47 .lr.ph: ; preds = %4 br label %21 21: ; preds = %.lr.ph, %41 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp sge i32 %27, 0 br i1 %28, label %29, label %40 29: ; preds = %21 %30 = load ptr, ptr %10, align 8 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i64 %37 = getelementptr inbounds i32, ptr %30, i64 %36 %38 = load i32, ptr %37, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %37, align 4 br label %40 40: ; preds = %29, %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %9, align 4 %44 = load i32, ptr %9, align 4 %45 = load i32, ptr %6, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %4 store i32 0, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %8, align 4 %50 = icmp sle i32 %48, %49 br i1 %50, label %.lr.ph2, label %75 .lr.ph2: ; preds = %47 br label %51 51: ; preds = %.lr.ph2, %69 %52 = load ptr, ptr %10, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = add nsw i32 %56, 1 %58 = call ptr @int_vec_alloc(i32 noundef %57) %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 store ptr %58, ptr %62, align 8 %63 = load ptr, ptr %7, align 8 %64 = load i32, ptr %9, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = getelementptr inbounds i32, ptr %67, i64 0 store i32 0, ptr %68, align 4 br label %69 69: ; preds = %51 %70 = load i32, ptr %9, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %9, align 4 %72 = load i32, ptr %9, align 4 %73 = load i32, ptr %8, align 4 %74 = icmp sle i32 %72, %73 br i1 %74, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %75 75: ; preds = %._crit_edge3, %47 store i32 0, ptr %9, align 4 %76 = load i32, ptr %9, align 4 %77 = load i32, ptr %6, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %.lr.ph5, label %119 .lr.ph5: ; preds = %75 br label %79 79: ; preds = %.lr.ph5, %113 %80 = load ptr, ptr %5, align 8 %81 = load i32, ptr %9, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp sge i32 %85, 0 br i1 %86, label %87, label %112 87: ; preds = %79 %88 = load i32, ptr %9, align 4 %89 = load ptr, ptr %7, align 8 %90 = load ptr, ptr %5, align 8 %91 = load i32, ptr %9, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %90, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i64 %96 = getelementptr inbounds ptr, ptr %89, i64 %95 %97 = load ptr, ptr %96, align 8 %98 = load ptr, ptr %7, align 8 %99 = load ptr, ptr %5, align 8 %100 = load i32, ptr %9, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %99, i64 %101 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i64 %105 = getelementptr inbounds ptr, ptr %98, i64 %104 %106 = load ptr, ptr %105, align 8 %107 = getelementptr inbounds i32, ptr %106, i64 0 %108 = load i32, ptr %107, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %107, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %97, i64 %110 store i32 %88, ptr %111, align 4 br label %112 112: ; preds = %87, %79 br label %113 113: ; preds = %112 %114 = load i32, ptr %9, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %9, align 4 %116 = load i32, ptr %9, align 4 %117 = load i32, ptr %6, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %79, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %113 br label %119 119: ; preds = %._crit_edge6, %75 %120 = load ptr, ptr %10, align 8 %121 = call i32 @free(ptr noundef %120) ret void } declare ptr @int_vec_alloc(i32 noundef) #1 declare i32 @init_int_vec(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpvkxjchzs.c' source_filename = "/tmp/tmpvkxjchzs.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"realloc() failed: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #4 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %17 10: ; preds = %2 %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 %16 = call i32 @exit(i32 noundef %15) #5 unreachable 17: ; preds = %2 %18 = load ptr, ptr %3, align 8 ret ptr %18 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { 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/tmpvkxjchzs.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"realloc() failed: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #4 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %17 10: ; preds = %2 %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 %16 = call i32 @exit(i32 noundef %15) #5 unreachable 17: ; preds = %2 %18 = load ptr, ptr %3, align 8 ret ptr %18 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { 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/tmppjfdipkz.c' source_filename = "/tmp/tmppjfdipkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clrscr() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = load i32, ptr @stdout, align 4 %3 = call i32 @fflush(i32 noundef %2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(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/tmppjfdipkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\1B[2J\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clrscr() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = load i32, ptr @stdout, align 4 %3 = call i32 @fflush(i32 noundef %2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(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/tmplysoh9s1.c' source_filename = "/tmp/tmplysoh9s1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplysoh9s1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3pds5dda.c' source_filename = "/tmp/tmp3pds5dda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @stdout = 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 i8, align 1 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %33, %0 %4 = call signext i8 (...) @getchar() store i8 %4, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = load i8, ptr @EOF, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %5, %7 br i1 %8, label %9, label %34 9: ; preds = %3 %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = icmp sge i32 %11, 97 br i1 %12, label %13, label %23 13: ; preds = %9 %14 = load i8, ptr %2, align 1 %15 = sext i8 %14 to i32 %16 = icmp sle i32 %15, 122 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load i8, ptr %2, align 1 %19 = sext i8 %18 to i32 %20 = sub nsw i32 %19, 32 %21 = trunc i32 %20 to i8 %22 = call i32 @putchar(i8 noundef signext %21) br label %33 23: ; preds = %13, %9 %24 = load i8, ptr %2, align 1 %25 = call i32 @putchar(i8 noundef signext %24) %26 = load i8, ptr %2, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 10 br i1 %28, label %29, label %32 29: ; preds = %23 %30 = load i32, ptr @stdout, align 4 %31 = call i32 @fflush(i32 noundef %30) br label %32 32: ; preds = %29, %23 br label %33 33: ; preds = %32, %17 br label %3, !llvm.loop !6 34: ; preds = %3 ret i32 0 } declare signext i8 @getchar(...) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @fflush(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/tmp3pds5dda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @stdout = 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 i8, align 1 store i32 0, ptr %1, align 4 %3 = call signext i8 (...) @getchar() store i8 %3, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = load i8, ptr @EOF, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %4, %6 br i1 %7, label %.lr.ph, label %38 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %32 %9 = load i8, ptr %2, align 1 %10 = sext i8 %9 to i32 %11 = icmp sge i32 %10, 97 br i1 %11, label %12, label %22 12: ; preds = %8 %13 = load i8, ptr %2, align 1 %14 = sext i8 %13 to i32 %15 = icmp sle i32 %14, 122 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load i8, ptr %2, align 1 %18 = sext i8 %17 to i32 %19 = sub nsw i32 %18, 32 %20 = trunc i32 %19 to i8 %21 = call i32 @putchar(i8 noundef signext %20) br label %32 22: ; preds = %12, %8 %23 = load i8, ptr %2, align 1 %24 = call i32 @putchar(i8 noundef signext %23) %25 = load i8, ptr %2, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 10 br i1 %27, label %28, label %31 28: ; preds = %22 %29 = load i32, ptr @stdout, align 4 %30 = call i32 @fflush(i32 noundef %29) br label %31 31: ; preds = %28, %22 br label %32 32: ; preds = %31, %16 %33 = call signext i8 (...) @getchar() store i8 %33, ptr %2, align 1 %34 = sext i8 %33 to i32 %35 = load i8, ptr @EOF, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %34, %36 br i1 %37, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %0 ret i32 0 } declare signext i8 @getchar(...) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @fflush(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/tmp0on6ircp.c' source_filename = "/tmp/tmp0on6ircp.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @_write_r(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i8, align 1 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr @STDOUT_FILENO, align 4 %14 = icmp eq i32 %12, %13 br i1 %14, label %19, label %15 15: ; preds = %4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr @STDERR_FILENO, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %42 19: ; preds = %15, %4 store i64 0, ptr %10, align 8 br label %20 20: ; preds = %37, %19 %21 = load i64, ptr %10, align 8 %22 = load i64, ptr %9, align 8 %23 = icmp ult i64 %21, %22 br i1 %23, label %24, label %40 24: ; preds = %20 %25 = load ptr, ptr %8, align 8 %26 = load i64, ptr %10, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i8, ptr %27, align 1 store i8 %28, ptr %11, align 1 %29 = load i8, ptr %11, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 10 br i1 %31, label %32, label %34 32: ; preds = %24 %33 = call i32 @rs232_transmitchar(i8 noundef signext 13) br label %34 34: ; preds = %32, %24 %35 = load i8, ptr %11, align 1 %36 = call i32 @rs232_transmitchar(i8 noundef signext %35) br label %37 37: ; preds = %34 %38 = load i64, ptr %10, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %10, align 8 br label %20, !llvm.loop !6 40: ; preds = %20 %41 = load i64, ptr %9, align 8 store i64 %41, ptr %5, align 8 br label %43 42: ; preds = %15 store i64 0, ptr %5, align 8 br label %43 43: ; preds = %42, %40 %44 = load i64, ptr %5, align 8 ret i64 %44 } declare i32 @rs232_transmitchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0on6ircp.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @_write_r(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i8, align 1 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr @STDOUT_FILENO, align 4 %14 = icmp eq i32 %12, %13 br i1 %14, label %19, label %15 15: ; preds = %4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr @STDERR_FILENO, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %44 19: ; preds = %15, %4 store i64 0, ptr %10, align 8 %20 = load i64, ptr %10, align 8 %21 = load i64, ptr %9, align 8 %22 = icmp ult i64 %20, %21 br i1 %22, label %.lr.ph, label %42 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %36 %24 = load ptr, ptr %8, align 8 %25 = load i64, ptr %10, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 %27 = load i8, ptr %26, align 1 store i8 %27, ptr %11, align 1 %28 = load i8, ptr %11, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 10 br i1 %30, label %31, label %33 31: ; preds = %23 %32 = call i32 @rs232_transmitchar(i8 noundef signext 13) br label %33 33: ; preds = %31, %23 %34 = load i8, ptr %11, align 1 %35 = call i32 @rs232_transmitchar(i8 noundef signext %34) br label %36 36: ; preds = %33 %37 = load i64, ptr %10, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %10, align 8 %39 = load i64, ptr %10, align 8 %40 = load i64, ptr %9, align 8 %41 = icmp ult i64 %39, %40 br i1 %41, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %19 %43 = load i64, ptr %9, align 8 store i64 %43, ptr %5, align 8 br label %45 44: ; preds = %15 store i64 0, ptr %5, align 8 br label %45 45: ; preds = %44, %42 %46 = load i64, ptr %5, align 8 ret i64 %46 } declare i32 @rs232_transmitchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_b65bnd4.c' source_filename = "/tmp/tmp_b65bnd4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error(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) %7 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmp_b65bnd4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error(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) %7 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmpwz05a91u.c' source_filename = "/tmp/tmpwz05a91u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%le\00", align 1 @EOF = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [45 x i8] c"%s: Allocation error while reading, exiting\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%g\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = alloca double, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 2 br i1 %16, label %20, label %17 17: ; preds = %2 %18 = load i32, ptr %3, align 4 %19 = icmp sgt i32 %18, 2 br i1 %19, label %20, label %26 20: ; preds = %17, %2 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 @error_print(ptr noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %17 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str) store ptr %30, ptr %13, align 8 %31 = call i64 @calloc(i32 noundef 1, i32 noundef 8) %32 = inttoptr i64 %31 to ptr store ptr %32, ptr %5, align 8 store i64 0, ptr %12, align 8 br label %33 33: ; preds = %55, %26 %34 = load ptr, ptr %13, align 8 %35 = call i64 @fscanf(ptr noundef %34, ptr noundef @.str.1, ptr noundef %6) %36 = load i64, ptr @EOF, align 8 %37 = icmp ne i64 %35, %36 br i1 %37, label %38, label %62 38: ; preds = %33 %39 = load ptr, ptr %5, align 8 %40 = load i64, ptr %12, align 8 %41 = add nsw i64 %40, 1 %42 = mul i64 8, %41 %43 = trunc i64 %42 to i32 %44 = call i64 @realloc(ptr noundef %39, i32 noundef %43) %45 = inttoptr i64 %44 to ptr store ptr %45, ptr %5, align 8 %46 = load ptr, ptr %5, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %55 48: ; preds = %38 %49 = load i32, ptr @stderr, align 4 %50 = load ptr, ptr %4, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 0 %52 = load ptr, ptr %51, align 8 %53 = call i32 @fprintf(i32 noundef %49, ptr noundef @.str.2, ptr noundef %52) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %38 %56 = load double, ptr %6, align 8 %57 = load ptr, ptr %5, align 8 %58 = load i64, ptr %12, align 8 %59 = getelementptr inbounds double, ptr %57, i64 %58 store double %56, ptr %59, align 8 %60 = load i64, ptr %12, align 8 %61 = add nsw i64 %60, 1 store i64 %61, ptr %12, align 8 br label %33, !llvm.loop !6 62: ; preds = %33 %63 = load i64, ptr %12, align 8 %64 = sitofp i64 %63 to double %65 = call i64 @sqrt(double noundef %64) %66 = trunc i64 %65 to i32 store i32 %66, ptr %8, align 4 %67 = load ptr, ptr %13, align 8 %68 = call i32 @fclose(ptr noundef %67) store i32 1, ptr %7, align 4 br label %69 69: ; preds = %150, %62 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %8, align 4 %72 = icmp sle i32 %70, %71 br i1 %72, label %73, label %153 73: ; preds = %69 %74 = load i32, ptr %8, align 4 %75 = add nsw i32 %74, 1 %76 = load i32, ptr %7, align 4 %77 = sub nsw i32 %75, %76 store i32 %77, ptr %10, align 4 store i32 1, ptr %9, align 4 br label %78 78: ; preds = %145, %73 %79 = load i32, ptr %9, align 4 %80 = load i32, ptr %8, align 4 %81 = icmp sle i32 %79, %80 br i1 %81, label %82, label %148 82: ; preds = %78 store double 0.000000e+00, ptr %14, align 8 %83 = load i32, ptr %8, align 4 %84 = add nsw i32 %83, 1 %85 = load i32, ptr %9, align 4 %86 = sub nsw i32 %84, %85 store i32 %86, ptr %11, align 4 %87 = load i32, ptr %7, align 4 %88 = sub nsw i32 %87, 1 %89 = load i32, ptr %8, align 4 %90 = mul nsw i32 %88, %89 %91 = load i32, ptr %9, align 4 %92 = add nsw i32 %90, %91 %93 = sub nsw i32 %92, 1 %94 = sext i32 %93 to i64 store i64 %94, ptr %12, align 8 %95 = load ptr, ptr %5, align 8 %96 = load i64, ptr %12, align 8 %97 = getelementptr inbounds double, ptr %95, i64 %96 %98 = load double, ptr %97, align 8 %99 = load double, ptr %14, align 8 %100 = fadd double %99, %98 store double %100, ptr %14, align 8 %101 = load i32, ptr %9, align 4 %102 = sub nsw i32 %101, 1 %103 = load i32, ptr %8, align 4 %104 = mul nsw i32 %102, %103 %105 = load i32, ptr %7, align 4 %106 = add nsw i32 %104, %105 %107 = sub nsw i32 %106, 1 %108 = sext i32 %107 to i64 store i64 %108, ptr %12, align 8 %109 = load ptr, ptr %5, align 8 %110 = load i64, ptr %12, align 8 %111 = getelementptr inbounds double, ptr %109, i64 %110 %112 = load double, ptr %111, align 8 %113 = load double, ptr %14, align 8 %114 = fadd double %113, %112 store double %114, ptr %14, align 8 %115 = load i32, ptr %9, align 4 %116 = sub nsw i32 %115, 1 %117 = load i32, ptr %8, align 4 %118 = mul nsw i32 %116, %117 %119 = load i32, ptr %10, align 4 %120 = add nsw i32 %118, %119 %121 = sub nsw i32 %120, 1 %122 = sext i32 %121 to i64 store i64 %122, ptr %12, align 8 %123 = load ptr, ptr %5, align 8 %124 = load i64, ptr %12, align 8 %125 = getelementptr inbounds double, ptr %123, i64 %124 %126 = load double, ptr %125, align 8 %127 = load double, ptr %14, align 8 %128 = fadd double %127, %126 store double %128, ptr %14, align 8 %129 = load i32, ptr %7, align 4 %130 = sub nsw i32 %129, 1 %131 = load i32, ptr %8, align 4 %132 = mul nsw i32 %130, %131 %133 = load i32, ptr %11, align 4 %134 = add nsw i32 %132, %133 %135 = sub nsw i32 %134, 1 %136 = sext i32 %135 to i64 store i64 %136, ptr %12, align 8 %137 = load ptr, ptr %5, align 8 %138 = load i64, ptr %12, align 8 %139 = getelementptr inbounds double, ptr %137, i64 %138 %140 = load double, ptr %139, align 8 %141 = load double, ptr %14, align 8 %142 = fadd double %141, %140 store double %142, ptr %14, align 8 %143 = load double, ptr %14, align 8 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %143) br label %145 145: ; preds = %82 %146 = load i32, ptr %9, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %9, align 4 br label %78, !llvm.loop !8 148: ; preds = %78 %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %150 150: ; preds = %148 %151 = load i32, ptr %7, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %7, align 4 br label %69, !llvm.loop !9 153: ; preds = %69 %154 = load ptr, ptr %5, align 8 %155 = call i32 @free(ptr noundef %154) %156 = load ptr, ptr %13, align 8 %157 = call i32 @fclose(ptr noundef %156) ret void } declare i32 @error_print(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @sqrt(double noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwz05a91u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%le\00", align 1 @EOF = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [45 x i8] c"%s: Allocation error while reading, exiting\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%g\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = alloca double, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 2 br i1 %16, label %20, label %17 17: ; preds = %2 %18 = load i32, ptr %3, align 4 %19 = icmp sgt i32 %18, 2 br i1 %19, label %20, label %26 20: ; preds = %17, %2 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 @error_print(ptr noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %17 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str) store ptr %30, ptr %13, align 8 %31 = call i64 @calloc(i32 noundef 1, i32 noundef 8) %32 = inttoptr i64 %31 to ptr store ptr %32, ptr %5, align 8 store i64 0, ptr %12, align 8 %33 = load ptr, ptr %13, align 8 %34 = call i64 @fscanf(ptr noundef %33, ptr noundef @.str.1, ptr noundef %6) %35 = load i64, ptr @EOF, align 8 %36 = icmp ne i64 %34, %35 br i1 %36, label %.lr.ph, label %65 .lr.ph: ; preds = %26 br label %37 37: ; preds = %.lr.ph, %54 %38 = load ptr, ptr %5, align 8 %39 = load i64, ptr %12, align 8 %40 = add nsw i64 %39, 1 %41 = mul i64 8, %40 %42 = trunc i64 %41 to i32 %43 = call i64 @realloc(ptr noundef %38, i32 noundef %42) %44 = inttoptr i64 %43 to ptr store ptr %44, ptr %5, align 8 %45 = load ptr, ptr %5, align 8 %46 = icmp eq ptr %45, null br i1 %46, label %47, label %54 47: ; preds = %37 %48 = load i32, ptr @stderr, align 4 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 0 %51 = load ptr, ptr %50, align 8 %52 = call i32 @fprintf(i32 noundef %48, ptr noundef @.str.2, ptr noundef %51) %53 = call i32 @exit(i32 noundef 1) #3 unreachable 54: ; preds = %37 %55 = load double, ptr %6, align 8 %56 = load ptr, ptr %5, align 8 %57 = load i64, ptr %12, align 8 %58 = getelementptr inbounds double, ptr %56, i64 %57 store double %55, ptr %58, align 8 %59 = load i64, ptr %12, align 8 %60 = add nsw i64 %59, 1 store i64 %60, ptr %12, align 8 %61 = load ptr, ptr %13, align 8 %62 = call i64 @fscanf(ptr noundef %61, ptr noundef @.str.1, ptr noundef %6) %63 = load i64, ptr @EOF, align 8 %64 = icmp ne i64 %62, %63 br i1 %64, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %65 65: ; preds = %._crit_edge, %26 %66 = load i64, ptr %12, align 8 %67 = sitofp i64 %66 to double %68 = call i64 @sqrt(double noundef %67) %69 = trunc i64 %68 to i32 store i32 %69, ptr %8, align 4 %70 = load ptr, ptr %13, align 8 %71 = call i32 @fclose(ptr noundef %70) store i32 1, ptr %7, align 4 %72 = load i32, ptr %7, align 4 %73 = load i32, ptr %8, align 4 %74 = icmp sle i32 %72, %73 br i1 %74, label %.lr.ph5, label %160 .lr.ph5: ; preds = %65 br label %75 75: ; preds = %.lr.ph5, %154 %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %76, 1 %78 = load i32, ptr %7, align 4 %79 = sub nsw i32 %77, %78 store i32 %79, ptr %10, align 4 store i32 1, ptr %9, align 4 %80 = load i32, ptr %9, align 4 %81 = load i32, ptr %8, align 4 %82 = icmp sle i32 %80, %81 br i1 %82, label %.lr.ph2, label %152 .lr.ph2: ; preds = %75 br label %83 83: ; preds = %.lr.ph2, %146 store double 0.000000e+00, ptr %14, align 8 %84 = load i32, ptr %8, align 4 %85 = add nsw i32 %84, 1 %86 = load i32, ptr %9, align 4 %87 = sub nsw i32 %85, %86 store i32 %87, ptr %11, align 4 %88 = load i32, ptr %7, align 4 %89 = sub nsw i32 %88, 1 %90 = load i32, ptr %8, align 4 %91 = mul nsw i32 %89, %90 %92 = load i32, ptr %9, align 4 %93 = add nsw i32 %91, %92 %94 = sub nsw i32 %93, 1 %95 = sext i32 %94 to i64 store i64 %95, ptr %12, align 8 %96 = load ptr, ptr %5, align 8 %97 = load i64, ptr %12, align 8 %98 = getelementptr inbounds double, ptr %96, i64 %97 %99 = load double, ptr %98, align 8 %100 = load double, ptr %14, align 8 %101 = fadd double %100, %99 store double %101, ptr %14, align 8 %102 = load i32, ptr %9, align 4 %103 = sub nsw i32 %102, 1 %104 = load i32, ptr %8, align 4 %105 = mul nsw i32 %103, %104 %106 = load i32, ptr %7, align 4 %107 = add nsw i32 %105, %106 %108 = sub nsw i32 %107, 1 %109 = sext i32 %108 to i64 store i64 %109, ptr %12, align 8 %110 = load ptr, ptr %5, align 8 %111 = load i64, ptr %12, align 8 %112 = getelementptr inbounds double, ptr %110, i64 %111 %113 = load double, ptr %112, align 8 %114 = load double, ptr %14, align 8 %115 = fadd double %114, %113 store double %115, ptr %14, align 8 %116 = load i32, ptr %9, align 4 %117 = sub nsw i32 %116, 1 %118 = load i32, ptr %8, align 4 %119 = mul nsw i32 %117, %118 %120 = load i32, ptr %10, align 4 %121 = add nsw i32 %119, %120 %122 = sub nsw i32 %121, 1 %123 = sext i32 %122 to i64 store i64 %123, ptr %12, align 8 %124 = load ptr, ptr %5, align 8 %125 = load i64, ptr %12, align 8 %126 = getelementptr inbounds double, ptr %124, i64 %125 %127 = load double, ptr %126, align 8 %128 = load double, ptr %14, align 8 %129 = fadd double %128, %127 store double %129, ptr %14, align 8 %130 = load i32, ptr %7, align 4 %131 = sub nsw i32 %130, 1 %132 = load i32, ptr %8, align 4 %133 = mul nsw i32 %131, %132 %134 = load i32, ptr %11, align 4 %135 = add nsw i32 %133, %134 %136 = sub nsw i32 %135, 1 %137 = sext i32 %136 to i64 store i64 %137, ptr %12, align 8 %138 = load ptr, ptr %5, align 8 %139 = load i64, ptr %12, align 8 %140 = getelementptr inbounds double, ptr %138, i64 %139 %141 = load double, ptr %140, align 8 %142 = load double, ptr %14, align 8 %143 = fadd double %142, %141 store double %143, ptr %14, align 8 %144 = load double, ptr %14, align 8 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %144) br label %146 146: ; preds = %83 %147 = load i32, ptr %9, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %9, align 4 %149 = load i32, ptr %9, align 4 %150 = load i32, ptr %8, align 4 %151 = icmp sle i32 %149, %150 br i1 %151, label %83, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %146 br label %152 152: ; preds = %._crit_edge3, %75 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %154 154: ; preds = %152 %155 = load i32, ptr %7, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %7, align 4 %157 = load i32, ptr %7, align 4 %158 = load i32, ptr %8, align 4 %159 = icmp sle i32 %157, %158 br i1 %159, label %75, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %154 br label %160 160: ; preds = %._crit_edge6, %65 %161 = load ptr, ptr %5, align 8 %162 = call i32 @free(ptr noundef %161) %163 = load ptr, ptr %13, align 8 %164 = call i32 @fclose(ptr noundef %163) ret void } declare i32 @error_print(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @sqrt(double noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpx6eoddzy.c' source_filename = "/tmp/tmpx6eoddzy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"munlock\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @free_buffer(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i64 @munlock(ptr noundef %5, i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @perror(ptr noundef @.str) br label %11 11: ; preds = %9, %2 %12 = load ptr, ptr %3, align 8 %13 = call i32 @free(ptr noundef %12) ret void } declare i64 @munlock(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx6eoddzy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"munlock\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @free_buffer(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i64 @munlock(ptr noundef %5, i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @perror(ptr noundef @.str) br label %11 11: ; preds = %9, %2 %12 = load ptr, ptr %3, align 8 %13 = call i32 @free(ptr noundef %12) ret void } declare i64 @munlock(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7dto0twz.c' source_filename = "/tmp/tmp7dto0twz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReturnFloat() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 4) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 store float -4.500000e+00, ptr %3, align 4 %4 = load ptr, ptr %1, align 8 ret ptr %4 } declare ptr @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7dto0twz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReturnFloat() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 4) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 store float -4.500000e+00, ptr %3, align 4 %4 = load ptr, ptr %1, align 8 ret ptr %4 } declare ptr @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"}
; ModuleID = '/tmp/tmpdbt9o3l8.c' source_filename = "/tmp/tmpdbt9o3l8.c" target datalayout = "e-m:e-p270: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"%s %d: fork error\00", align 1 @.str.1 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/clpsz/linux-ipcs/refs/heads/master/POSIX_sem/process_sem.c\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 i32, align 4 store i32 0, ptr %1, align 4 %4 = call i64 (...) @fork() store i64 %4, ptr %2, align 8 %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %12 6: ; preds = %0 br label %7 7: ; preds = %6 %8 = load i32, ptr @stderr, align 4 %9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 59) br label %10 10: ; preds = %7 %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %0 %13 = load i64, ptr %2, align 8 %14 = icmp sgt i64 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %12 %16 = call i32 (...) @parent() %17 = call i32 @wait(ptr noundef %3) br label %20 18: ; preds = %12 %19 = call i32 (...) @child() br label %20 20: ; preds = %18, %15 br label %21 21: ; preds = %20 %22 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @fork(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @parent(...) #1 declare i32 @wait(ptr noundef) #1 declare i32 @child(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpdbt9o3l8.c" target datalayout = "e-m:e-p270: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"%s %d: fork error\00", align 1 @.str.1 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/clpsz/linux-ipcs/refs/heads/master/POSIX_sem/process_sem.c\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 i32, align 4 store i32 0, ptr %1, align 4 %4 = call i64 (...) @fork() store i64 %4, ptr %2, align 8 %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %12 6: ; preds = %0 br label %7 7: ; preds = %6 %8 = load i32, ptr @stderr, align 4 %9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 59) br label %10 10: ; preds = %7 %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %0 %13 = load i64, ptr %2, align 8 %14 = icmp sgt i64 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %12 %16 = call i32 (...) @parent() %17 = call i32 @wait(ptr noundef %3) br label %20 18: ; preds = %12 %19 = call i32 (...) @child() br label %20 20: ; preds = %18, %15 br label %21 21: ; preds = %20 %22 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @fork(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @parent(...) #1 declare i32 @wait(ptr noundef) #1 declare i32 @child(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpwdu50_9c.c' source_filename = "/tmp/tmpwdu50_9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @add.one = internal global i32 1, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 2, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = add nsw i32 %5, %4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr @add.one, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, %7 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @adagain_more(i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @primary_one(i32 noundef %12) %14 = load i32, ptr %3, align 4 %15 = call i32 @primary_two(i32 noundef %14) %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @adagain_more(i32 noundef) #1 declare i32 @primary_one(i32 noundef) #1 declare i32 @primary_two(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/tmpwdu50_9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @add.one = internal global i32 1, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 2, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = add nsw i32 %5, %4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr @add.one, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, %7 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @adagain_more(i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @primary_one(i32 noundef %12) %14 = load i32, ptr %3, align 4 %15 = call i32 @primary_two(i32 noundef %14) %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @adagain_more(i32 noundef) #1 declare i32 @primary_one(i32 noundef) #1 declare i32 @primary_two(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/tmp14p6wkdj.c' source_filename = "/tmp/tmp14p6wkdj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sum is %d\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"product is %d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"quotient is %d\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"remainder is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %5, %6 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 %10, %11 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = sdiv i32 %15, %16 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18) %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %3, align 4 %22 = srem i32 %20, %21 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = call i32 @printf(ptr noundef @.str.3, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp14p6wkdj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sum is %d\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"product is %d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"quotient is %d\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"remainder is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %5, %6 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 %10, %11 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = sdiv i32 %15, %16 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %18) %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %3, align 4 %22 = srem i32 %20, %21 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = call i32 @printf(ptr noundef @.str.3, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpumwuevbo.c' source_filename = "/tmp/tmpumwuevbo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call double @__ieee754_pow(double noundef %5, double noundef %6) ret double %7 } declare double @__ieee754_pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpumwuevbo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call double @__ieee754_pow(double noundef %5, double noundef %6) ret double %7 } declare double @__ieee754_pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8y54p5c2.c' source_filename = "/tmp/tmp8y54p5c2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rl_append(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %8, align 8 %18 = load i64, ptr %9, align 8 %19 = call i32 @rl_string_get_objects(ptr noundef %16, ptr noundef %17, i64 noundef %18, ptr noundef %14, ptr noundef null, ptr noundef %15) store i32 %19, ptr %13, align 4 %20 = load i32, ptr %13, align 4 %21 = icmp ne i32 0, %20 br i1 %21, label %22, label %26 22: ; preds = %6 %23 = load i32, ptr %13, align 4 %24 = icmp ne i32 3, %23 br i1 %24, label %25, label %26 25: ; preds = %22 br label %78 26: ; preds = %22, %6 %27 = load i32, ptr %13, align 4 %28 = icmp eq i32 %27, 3 br i1 %28, label %29, label %55 29: ; preds = %26 %30 = load ptr, ptr %7, align 8 %31 = load ptr, ptr %10, align 8 %32 = load i64, ptr %11, align 8 %33 = call i32 @rl_multi_string_set(ptr noundef %30, ptr noundef %14, ptr noundef %31, i64 noundef %32) store i32 %33, ptr %13, align 4 %34 = load i32, ptr %13, align 4 %35 = icmp ne i32 0, %34 br i1 %35, label %36, label %37 36: ; preds = %29 br label %78 37: ; preds = %29 %38 = call i64 (...) @rand() store i64 %38, ptr %15, align 8 %39 = load ptr, ptr %7, align 8 %40 = load ptr, ptr %8, align 8 %41 = load i64, ptr %9, align 8 %42 = load i64, ptr %14, align 8 %43 = load i64, ptr %15, align 8 %44 = call i32 @rl_key_set(ptr noundef %39, ptr noundef %40, i64 noundef %41, i8 noundef signext 84, i64 noundef %42, i32 noundef 0, i64 noundef %43) store i32 %44, ptr %13, align 4 %45 = load i32, ptr %13, align 4 %46 = icmp ne i32 0, %45 br i1 %46, label %47, label %48 47: ; preds = %37 br label %78 48: ; preds = %37 %49 = load ptr, ptr %12, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load i64, ptr %11, align 8 %53 = load ptr, ptr %12, align 8 store i64 %52, ptr %53, align 8 br label %54 54: ; preds = %51, %48 br label %77 55: ; preds = %26 %56 = load ptr, ptr %7, align 8 %57 = load ptr, ptr %8, align 8 %58 = load i64, ptr %9, align 8 %59 = load i64, ptr %14, align 8 %60 = load i64, ptr %15, align 8 %61 = add nsw i64 %60, 1 %62 = call i32 @rl_key_set(ptr noundef %56, ptr noundef %57, i64 noundef %58, i8 noundef signext 84, i64 noundef %59, i32 noundef 0, i64 noundef %61) store i32 %62, ptr %13, align 4 %63 = load i32, ptr %13, align 4 %64 = icmp ne i32 0, %63 br i1 %64, label %65, label %66 65: ; preds = %55 br label %78 66: ; preds = %55 %67 = load ptr, ptr %7, align 8 %68 = load i64, ptr %14, align 8 %69 = load ptr, ptr %10, align 8 %70 = load i64, ptr %11, align 8 %71 = load ptr, ptr %12, align 8 %72 = call i32 @rl_multi_string_append(ptr noundef %67, i64 noundef %68, ptr noundef %69, i64 noundef %70, ptr noundef %71) store i32 %72, ptr %13, align 4 %73 = load i32, ptr %13, align 4 %74 = icmp ne i32 0, %73 br i1 %74, label %75, label %76 75: ; preds = %66 br label %78 76: ; preds = %66 br label %77 77: ; preds = %76, %54 store i32 0, ptr %13, align 4 br label %78 78: ; preds = %77, %75, %65, %47, %36, %25 %79 = load i32, ptr %13, align 4 ret i32 %79 } declare i32 @rl_string_get_objects(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @rl_multi_string_set(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @rand(...) #1 declare i32 @rl_key_set(ptr noundef, ptr noundef, i64 noundef, i8 noundef signext, i64 noundef, i32 noundef, i64 noundef) #1 declare i32 @rl_multi_string_append(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8y54p5c2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rl_append(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %8, align 8 %18 = load i64, ptr %9, align 8 %19 = call i32 @rl_string_get_objects(ptr noundef %16, ptr noundef %17, i64 noundef %18, ptr noundef %14, ptr noundef null, ptr noundef %15) store i32 %19, ptr %13, align 4 %20 = load i32, ptr %13, align 4 %21 = icmp ne i32 0, %20 br i1 %21, label %22, label %26 22: ; preds = %6 %23 = load i32, ptr %13, align 4 %24 = icmp ne i32 3, %23 br i1 %24, label %25, label %26 25: ; preds = %22 br label %78 26: ; preds = %22, %6 %27 = load i32, ptr %13, align 4 %28 = icmp eq i32 %27, 3 br i1 %28, label %29, label %55 29: ; preds = %26 %30 = load ptr, ptr %7, align 8 %31 = load ptr, ptr %10, align 8 %32 = load i64, ptr %11, align 8 %33 = call i32 @rl_multi_string_set(ptr noundef %30, ptr noundef %14, ptr noundef %31, i64 noundef %32) store i32 %33, ptr %13, align 4 %34 = load i32, ptr %13, align 4 %35 = icmp ne i32 0, %34 br i1 %35, label %36, label %37 36: ; preds = %29 br label %78 37: ; preds = %29 %38 = call i64 (...) @rand() store i64 %38, ptr %15, align 8 %39 = load ptr, ptr %7, align 8 %40 = load ptr, ptr %8, align 8 %41 = load i64, ptr %9, align 8 %42 = load i64, ptr %14, align 8 %43 = load i64, ptr %15, align 8 %44 = call i32 @rl_key_set(ptr noundef %39, ptr noundef %40, i64 noundef %41, i8 noundef signext 84, i64 noundef %42, i32 noundef 0, i64 noundef %43) store i32 %44, ptr %13, align 4 %45 = load i32, ptr %13, align 4 %46 = icmp ne i32 0, %45 br i1 %46, label %47, label %48 47: ; preds = %37 br label %78 48: ; preds = %37 %49 = load ptr, ptr %12, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load i64, ptr %11, align 8 %53 = load ptr, ptr %12, align 8 store i64 %52, ptr %53, align 8 br label %54 54: ; preds = %51, %48 br label %77 55: ; preds = %26 %56 = load ptr, ptr %7, align 8 %57 = load ptr, ptr %8, align 8 %58 = load i64, ptr %9, align 8 %59 = load i64, ptr %14, align 8 %60 = load i64, ptr %15, align 8 %61 = add nsw i64 %60, 1 %62 = call i32 @rl_key_set(ptr noundef %56, ptr noundef %57, i64 noundef %58, i8 noundef signext 84, i64 noundef %59, i32 noundef 0, i64 noundef %61) store i32 %62, ptr %13, align 4 %63 = load i32, ptr %13, align 4 %64 = icmp ne i32 0, %63 br i1 %64, label %65, label %66 65: ; preds = %55 br label %78 66: ; preds = %55 %67 = load ptr, ptr %7, align 8 %68 = load i64, ptr %14, align 8 %69 = load ptr, ptr %10, align 8 %70 = load i64, ptr %11, align 8 %71 = load ptr, ptr %12, align 8 %72 = call i32 @rl_multi_string_append(ptr noundef %67, i64 noundef %68, ptr noundef %69, i64 noundef %70, ptr noundef %71) store i32 %72, ptr %13, align 4 %73 = load i32, ptr %13, align 4 %74 = icmp ne i32 0, %73 br i1 %74, label %75, label %76 75: ; preds = %66 br label %78 76: ; preds = %66 br label %77 77: ; preds = %76, %54 store i32 0, ptr %13, align 4 br label %78 78: ; preds = %77, %75, %65, %47, %36, %25 %79 = load i32, ptr %13, align 4 ret i32 %79 } declare i32 @rl_string_get_objects(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @rl_multi_string_set(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @rand(...) #1 declare i32 @rl_key_set(ptr noundef, ptr noundef, i64 noundef, i8 noundef signext, i64 noundef, i32 noundef, i64 noundef) #1 declare i32 @rl_multi_string_append(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm3htyo7s.c' source_filename = "/tmp/tmpm3htyo7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mgrow(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i64, ptr %6, align 8 %8 = icmp ule i64 %7, 16 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %10, align 8 %12 = add i64 %11, 4 store i64 %12, ptr %10, align 8 br label %26 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = load i64, ptr %14, align 8 %16 = icmp ult i64 %15, 4084 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load ptr, ptr %4, align 8 %19 = load i64, ptr %18, align 8 %20 = mul i64 %19, 2 store i64 %20, ptr %18, align 8 br label %25 21: ; preds = %13 %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %22, align 8 %24 = add i64 %23, 2048 store i64 %24, ptr %22, align 8 br label %25 25: ; preds = %21, %17 br label %26 26: ; preds = %25, %9 %27 = load ptr, ptr %3, align 8 %28 = load ptr, ptr %4, align 8 %29 = load i64, ptr %28, align 8 %30 = call ptr @realloc(ptr noundef %27, i64 noundef %29) #3 store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %5, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %37, label %33 33: ; preds = %26 %34 = load ptr, ptr %3, align 8 %35 = call i32 @free(ptr noundef %34) %36 = load ptr, ptr %4, align 8 store i64 0, ptr %36, align 8 br label %37 37: ; preds = %33, %26 %38 = load ptr, ptr %5, align 8 ret ptr %38 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @free(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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm3htyo7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mgrow(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i64, ptr %6, align 8 %8 = icmp ule i64 %7, 16 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %10, align 8 %12 = add i64 %11, 4 store i64 %12, ptr %10, align 8 br label %26 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = load i64, ptr %14, align 8 %16 = icmp ult i64 %15, 4084 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load ptr, ptr %4, align 8 %19 = load i64, ptr %18, align 8 %20 = mul i64 %19, 2 store i64 %20, ptr %18, align 8 br label %25 21: ; preds = %13 %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %22, align 8 %24 = add i64 %23, 2048 store i64 %24, ptr %22, align 8 br label %25 25: ; preds = %21, %17 br label %26 26: ; preds = %25, %9 %27 = load ptr, ptr %3, align 8 %28 = load ptr, ptr %4, align 8 %29 = load i64, ptr %28, align 8 %30 = call ptr @realloc(ptr noundef %27, i64 noundef %29) #3 store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %5, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %37, label %33 33: ; preds = %26 %34 = load ptr, ptr %3, align 8 %35 = call i32 @free(ptr noundef %34) %36 = load ptr, ptr %4, align 8 store i64 0, ptr %36, align 8 br label %37 37: ; preds = %33, %26 %38 = load ptr, ptr %5, align 8 ret ptr %38 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @free(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 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppaccqjlu.c' source_filename = "/tmp/tmppaccqjlu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"127.0.0.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @socket_bind(ptr noundef @.str, i32 noundef 8787) store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @listen(i32 noundef %8, i32 noundef 5) %10 = load i32, ptr %6, align 4 %11 = call i32 @do_poll(i32 noundef %10) ret i32 0 } declare i32 @socket_bind(ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @do_poll(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/tmppaccqjlu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"127.0.0.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @socket_bind(ptr noundef @.str, i32 noundef 8787) store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @listen(i32 noundef %8, i32 noundef 5) %10 = load i32, ptr %6, align 4 %11 = call i32 @do_poll(i32 noundef %10) ret i32 0 } declare i32 @socket_bind(ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @do_poll(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_bfp6dly.c' source_filename = "/tmp/tmp_bfp6dly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/stop\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stop() #0 { %1 = call i32 @http_get(ptr noundef @.str) ret void } declare i32 @http_get(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_bfp6dly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/stop\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stop() #0 { %1 = call i32 @http_get(ptr noundef @.str) ret void } declare i32 @http_get(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpan3f7ukb.c' source_filename = "/tmp/tmpan3f7ukb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Not enough args!\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Your number is magical!\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Not enough magic...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %24 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = call i64 @is_magical(i32 noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %11 %20 = call i32 @printf(ptr noundef @.str.1) br label %23 21: ; preds = %11 %22 = call i32 @printf(ptr noundef @.str.2) br label %23 23: ; preds = %21, %19 store i32 0, ptr %3, align 4 br label %24 24: ; preds = %23, %9 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @printf(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i64 @is_magical(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/tmpan3f7ukb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Not enough args!\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Your number is magical!\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Not enough magic...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %24 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = call i64 @is_magical(i32 noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %11 %20 = call i32 @printf(ptr noundef @.str.1) br label %23 21: ; preds = %11 %22 = call i32 @printf(ptr noundef @.str.2) br label %23 23: ; preds = %21, %19 store i32 0, ptr %3, align 4 br label %24 24: ; preds = %23, %9 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @printf(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i64 @is_magical(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/tmpzxlqgp4g.c' source_filename = "/tmp/tmpzxlqgp4g.c" target datalayout = "e-m:e-p270: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/tmpzxlqgp4g.c" target datalayout = "e-m:e-p270: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/tmpswklv617.c' source_filename = "/tmp/tmpswklv617.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Child started, value = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"munmap\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"wait\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"In parent, value = %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 i64, align 8 store i32 0, ptr %1, align 4 %4 = load i32, ptr @PROT_READ, align 4 %5 = load i32, ptr @PROT_WRITE, align 4 %6 = or i32 %4, %5 %7 = load i32, ptr @MAP_SHARED, align 4 %8 = load i32, ptr @MAP_ANONYMOUS, align 4 %9 = or i32 %7, %8 %10 = call ptr @mmap(ptr noundef null, i32 noundef 4, i32 noundef %6, i32 noundef %9, i32 noundef -1, i32 noundef 0) store ptr %10, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = load ptr, ptr @MAP_FAILED, align 8 %13 = icmp eq ptr %11, %12 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @perror(ptr noundef @.str) br label %16 16: ; preds = %14, %0 %17 = load ptr, ptr %2, align 8 store i32 1, ptr %17, align 4 %18 = call i64 (...) @fork() store i64 %18, ptr %3, align 8 %19 = load i64, ptr %3, align 8 %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = call i32 @perror(ptr noundef @.str.1) br label %23 23: ; preds = %21, %16 %24 = load i64, ptr %3, align 8 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %41 26: ; preds = %23 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %27, align 4 %29 = call i32 @printf(ptr noundef @.str.2, i32 noundef %28) %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %30, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %30, align 4 %33 = load ptr, ptr %2, align 8 %34 = call i32 @munmap(ptr noundef %33, i32 noundef 4) %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %26 %37 = call i32 @perror(ptr noundef @.str.3) br label %38 38: ; preds = %36, %26 %39 = load i32, ptr @EXIT_SUCCESS, align 4 %40 = call i32 @exit(i32 noundef %39) #3 unreachable 41: ; preds = %23 %42 = call i32 @wait(ptr noundef null) %43 = icmp eq i32 %42, -1 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 @perror(ptr noundef @.str.4) br label %46 46: ; preds = %44, %41 %47 = load ptr, ptr %2, align 8 %48 = load i32, ptr %47, align 4 %49 = call i32 @printf(ptr noundef @.str.5, i32 noundef %48) %50 = load ptr, ptr %2, align 8 %51 = call i32 @munmap(ptr noundef %50, i32 noundef 4) %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @perror(ptr noundef @.str.3) br label %55 55: ; preds = %53, %46 %56 = load i32, ptr @EXIT_SUCCESS, align 4 %57 = call i32 @exit(i32 noundef %56) #3 unreachable } declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpswklv617.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Child started, value = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"munmap\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"wait\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"In parent, value = %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 i64, align 8 store i32 0, ptr %1, align 4 %4 = load i32, ptr @PROT_READ, align 4 %5 = load i32, ptr @PROT_WRITE, align 4 %6 = or i32 %4, %5 %7 = load i32, ptr @MAP_SHARED, align 4 %8 = load i32, ptr @MAP_ANONYMOUS, align 4 %9 = or i32 %7, %8 %10 = call ptr @mmap(ptr noundef null, i32 noundef 4, i32 noundef %6, i32 noundef %9, i32 noundef -1, i32 noundef 0) store ptr %10, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = load ptr, ptr @MAP_FAILED, align 8 %13 = icmp eq ptr %11, %12 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @perror(ptr noundef @.str) br label %16 16: ; preds = %14, %0 %17 = load ptr, ptr %2, align 8 store i32 1, ptr %17, align 4 %18 = call i64 (...) @fork() store i64 %18, ptr %3, align 8 %19 = load i64, ptr %3, align 8 %20 = icmp slt i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = call i32 @perror(ptr noundef @.str.1) br label %23 23: ; preds = %21, %16 %24 = load i64, ptr %3, align 8 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %41 26: ; preds = %23 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %27, align 4 %29 = call i32 @printf(ptr noundef @.str.2, i32 noundef %28) %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %30, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %30, align 4 %33 = load ptr, ptr %2, align 8 %34 = call i32 @munmap(ptr noundef %33, i32 noundef 4) %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %26 %37 = call i32 @perror(ptr noundef @.str.3) br label %38 38: ; preds = %36, %26 %39 = load i32, ptr @EXIT_SUCCESS, align 4 %40 = call i32 @exit(i32 noundef %39) #3 unreachable 41: ; preds = %23 %42 = call i32 @wait(ptr noundef null) %43 = icmp eq i32 %42, -1 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 @perror(ptr noundef @.str.4) br label %46 46: ; preds = %44, %41 %47 = load ptr, ptr %2, align 8 %48 = load i32, ptr %47, align 4 %49 = call i32 @printf(ptr noundef @.str.5, i32 noundef %48) %50 = load ptr, ptr %2, align 8 %51 = call i32 @munmap(ptr noundef %50, i32 noundef 4) %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @perror(ptr noundef @.str.3) br label %55 55: ; preds = %53, %46 %56 = load i32, ptr @EXIT_SUCCESS, align 4 %57 = call i32 @exit(i32 noundef %56) #3 unreachable } declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpdoygjkad.c' source_filename = "/tmp/tmpdoygjkad.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULLONG_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @ullong(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = load i64, ptr @ULLONG_MAX, align 8 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load i64, ptr %2, align 8 br label %9 8: ; preds = %1 br label %9 9: ; preds = %8, %6 %10 = phi i64 [ %7, %6 ], [ 42, %8 ] ret i64 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdoygjkad.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULLONG_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @ullong(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = load i64, ptr @ULLONG_MAX, align 8 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load i64, ptr %2, align 8 br label %9 8: ; preds = %1 br label %9 9: ; preds = %8, %6 %10 = phi i64 [ %7, %6 ], [ 42, %8 ] ret i64 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu5oe95pv.c' source_filename = "/tmp/tmpu5oe95pv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_prime(i32 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sle i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store i64 -1, ptr %2, align 8 br label %73 13: ; preds = %1 %14 = load i32, ptr %3, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %4, align 8 %17 = alloca i32, i64 %15, align 16 store i64 %15, ptr %5, align 8 store i32 1, ptr %6, align 4 %18 = getelementptr inbounds i32, ptr %17, i64 0 store i32 2, ptr %18, align 16 %19 = getelementptr inbounds i32, ptr %17, i64 1 store i32 3, ptr %19, align 4 store i32 3, ptr %7, align 4 br label %20 20: ; preds = %62, %13 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %65 24: ; preds = %20 %25 = load i32, ptr %7, align 4 %26 = call i32 @sqrt(i32 noundef %25) store i32 %26, ptr %9, align 4 store i32 1, ptr %8, align 4 br label %27 27: ; preds = %45, %24 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %17, i64 %30 %32 = load i32, ptr %31, align 4 %33 = icmp sge i32 %28, %32 br i1 %33, label %34, label %42 34: ; preds = %27 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %17, i64 %37 %39 = load i32, ptr %38, align 4 %40 = srem i32 %35, %39 %41 = icmp ne i32 %40, 0 br label %42 42: ; preds = %34, %27 %43 = phi i1 [ false, %27 ], [ %41, %34 ] br i1 %43, label %44, label %48 44: ; preds = %42 br label %45 45: ; preds = %44 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 br label %27, !llvm.loop !6 48: ; preds = %42 %49 = load i32, ptr %9, align 4 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %17, i64 %51 %53 = load i32, ptr %52, align 4 %54 = icmp slt i32 %49, %53 br i1 %54, label %55, label %61 55: ; preds = %48 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %6, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %6, align 4 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds i32, ptr %17, i64 %59 store i32 %56, ptr %60, align 4 br label %61 61: ; preds = %55, %48 br label %62 62: ; preds = %61 %63 = load i32, ptr %7, align 4 %64 = add nsw i32 %63, 2 store i32 %64, ptr %7, align 4 br label %20, !llvm.loop !8 65: ; preds = %20 %66 = load i32, ptr %6, align 4 %67 = sub nsw i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %17, i64 %68 %70 = load i32, ptr %69, align 4 %71 = sext i32 %70 to i64 store i64 %71, ptr %2, align 8 %72 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %72) br label %73 73: ; preds = %65, %12 %74 = load i64, ptr %2, align 8 ret i64 %74 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @sqrt(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu5oe95pv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_prime(i32 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sle i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store i64 -1, ptr %2, align 8 br label %75 13: ; preds = %1 %14 = load i32, ptr %3, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %4, align 8 %17 = alloca i32, i64 %15, align 16 store i64 %15, ptr %5, align 8 store i32 1, ptr %6, align 4 %18 = getelementptr inbounds i32, ptr %17, i64 0 store i32 2, ptr %18, align 16 %19 = getelementptr inbounds i32, ptr %17, i64 1 store i32 3, ptr %19, align 4 store i32 3, ptr %7, align 4 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %67 .lr.ph: ; preds = %13 br label %23 23: ; preds = %.lr.ph, %61 %24 = load i32, ptr %7, align 4 %25 = call i32 @sqrt(i32 noundef %24) store i32 %25, ptr %9, align 4 store i32 1, ptr %8, align 4 br label %26 26: ; preds = %44, %23 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %17, i64 %29 %31 = load i32, ptr %30, align 4 %32 = icmp sge i32 %27, %31 br i1 %32, label %33, label %41 33: ; preds = %26 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %17, i64 %36 %38 = load i32, ptr %37, align 4 %39 = srem i32 %34, %38 %40 = icmp ne i32 %39, 0 br label %41 41: ; preds = %33, %26 %42 = phi i1 [ false, %26 ], [ %40, %33 ] br i1 %42, label %43, label %47 43: ; preds = %41 br label %44 44: ; preds = %43 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 br label %26, !llvm.loop !6 47: ; preds = %41 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %17, i64 %50 %52 = load i32, ptr %51, align 4 %53 = icmp slt i32 %48, %52 br i1 %53, label %54, label %60 54: ; preds = %47 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 %58 = sext i32 %56 to i64 %59 = getelementptr inbounds i32, ptr %17, i64 %58 store i32 %55, ptr %59, align 4 br label %60 60: ; preds = %54, %47 br label %61 61: ; preds = %60 %62 = load i32, ptr %7, align 4 %63 = add nsw i32 %62, 2 store i32 %63, ptr %7, align 4 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %3, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %23, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %61 br label %67 67: ; preds = %._crit_edge, %13 %68 = load i32, ptr %6, align 4 %69 = sub nsw i32 %68, 1 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %17, i64 %70 %72 = load i32, ptr %71, align 4 %73 = sext i32 %72 to i64 store i64 %73, ptr %2, align 8 %74 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %74) br label %75 75: ; preds = %67, %12 %76 = load i64, ptr %2, align 8 ret i64 %76 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @sqrt(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpcr0ukrew.c' source_filename = "/tmp/tmpcr0ukrew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DEBUG:hello world\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Programming in C is fun:\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/misizeji/StudyNote_201308/refs/heads/master/c/test/define_test_00.c\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Mar 15 2022\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"11:17:47\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = call i32 @SET_x(i32 noundef 10) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10) %12 = call i32 @SET_y(i32 noundef 11) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 68) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.5) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.6) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @SET_x(i32 noundef) #1 declare i32 @SET_y(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/tmpcr0ukrew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DEBUG:hello world\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Programming in C is fun:\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/misizeji/StudyNote_201308/refs/heads/master/c/test/define_test_00.c\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Mar 15 2022\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"11:17:47\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = call i32 @SET_x(i32 noundef 10) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10) %12 = call i32 @SET_y(i32 noundef 11) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 68) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.5) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.6) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @SET_x(i32 noundef) #1 declare i32 @SET_y(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/tmp75gqz571.c' source_filename = "/tmp/tmp75gqz571.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } %struct.timeval = type { i64, i64 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c" /v1.0/device/\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"/sensor/\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"/datapoints HTTP/1.1\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [98 x i8] c"User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0.1) Gecko/20100101 Firefox/9.0.1\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Host: \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"Accept: */*\0D\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"U-ApiKey: \00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"\0D\0A\0D\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"-1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @server(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %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 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca %struct.sockaddr_in, align 4 %25 = alloca [4096 x i8], align 16 %26 = alloca [1024 x i8], align 16 %27 = alloca i32, align 4 %28 = alloca %struct.timeval, align 8 store i32 %0, ptr %11, align 4 store i32 %1, ptr %12, align 4 store ptr %2, ptr %13, align 8 store ptr %3, ptr %14, align 8 store ptr %4, ptr %15, align 8 store ptr %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store ptr %7, ptr %18, align 8 store i32 %8, ptr %19, align 4 %29 = load i32, ptr @AF_INET, align 4 %30 = load i32, ptr @SOCK_STREAM, align 4 %31 = call i32 @socket(i32 noundef %29, i32 noundef %30, i32 noundef 0) store i32 %31, ptr %20, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %9 %34 = call i32 @exit(i32 noundef 0) #3 unreachable 35: ; preds = %9 %36 = call i32 @bzero(ptr noundef %24, i32 noundef 12) %37 = load i32, ptr @AF_INET, align 4 %38 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 2 store i32 %37, ptr %38, align 4 %39 = load i32, ptr %11, align 4 %40 = call i32 @htons(i32 noundef %39) %41 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 1 store i32 %40, ptr %41, align 4 %42 = load i32, ptr @AF_INET, align 4 %43 = load i32, ptr %12, align 4 %44 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 0 %45 = call i64 @inet_pton(i32 noundef %42, i32 noundef %43, ptr noundef %44) %46 = icmp sle i64 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %35 %48 = call i32 @exit(i32 noundef 0) #3 unreachable 49: ; preds = %35 %50 = load i32, ptr %20, align 4 %51 = call i64 @connect(i32 noundef %50, ptr noundef %24, i32 noundef 12) %52 = icmp slt i64 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = call i32 @exit(i32 noundef 0) #3 unreachable 55: ; preds = %49 %56 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %57 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef 4096) %58 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %59 = load ptr, ptr %17, align 8 %60 = call i32 @strcat(ptr noundef %58, ptr noundef %59) %61 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %62 = call i32 @strcat(ptr noundef %61, ptr noundef @.str) %63 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %64 = load ptr, ptr %15, align 8 %65 = call i32 @strcat(ptr noundef %63, ptr noundef %64) %66 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %67 = call i32 @strcat(ptr noundef %66, ptr noundef @.str.1) %68 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %69 = load ptr, ptr %16, align 8 %70 = call i32 @strcat(ptr noundef %68, ptr noundef %69) %71 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %72 = call i32 @strcat(ptr noundef %71, ptr noundef @.str.2) %73 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %74 = call i32 @strcat(ptr noundef %73, ptr noundef @.str.3) %75 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %76 = call i32 @strcat(ptr noundef %75, ptr noundef @.str.4) %77 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %78 = load ptr, ptr %13, align 8 %79 = call i32 @strcat(ptr noundef %77, ptr noundef %78) %80 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %81 = call i32 @strcat(ptr noundef %80, ptr noundef @.str.5) %82 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %83 = call i32 @strcat(ptr noundef %82, ptr noundef @.str.6) %84 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %85 = call i32 @strcat(ptr noundef %84, ptr noundef @.str.7) %86 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %87 = load ptr, ptr %14, align 8 %88 = call i32 @strcat(ptr noundef %86, ptr noundef %87) %89 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %90 = call i32 @strcat(ptr noundef %89, ptr noundef @.str.5) %91 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %92 = load ptr, ptr %18, align 8 %93 = call i32 @strcat(ptr noundef %91, ptr noundef %92) %94 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %95 = call i32 @strcat(ptr noundef %94, ptr noundef @.str.8) %96 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %97 = call i32 @strcat(ptr noundef %96, ptr noundef @.str.9) %98 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %99 = call i32 @strcat(ptr noundef %98, ptr noundef @.str.9) %100 = load i32, ptr %20, align 4 %101 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %102 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %103 = call i32 @strlen(ptr noundef %102) %104 = call i32 @write(i32 noundef %100, ptr noundef %101, i32 noundef %103) store i32 %104, ptr %21, align 4 %105 = load i32, ptr %21, align 4 %106 = icmp slt i32 %105, 0 br i1 %106, label %107, label %109 107: ; preds = %55 %108 = call i32 @exit(i32 noundef 0) #3 unreachable 109: ; preds = %55 br label %110 110: ; preds = %109 %111 = call i32 @FD_ZERO(ptr noundef %27) %112 = load i32, ptr %20, align 4 %113 = call i32 @FD_SET(i32 noundef %112, ptr noundef %27) %114 = load i32, ptr %20, align 4 %115 = call i32 @FD_SET(i32 noundef %114, ptr noundef %27) br label %116 116: ; preds = %110, %146 %117 = load i32, ptr %19, align 4 %118 = call i32 @sleep(i32 noundef %117) %119 = getelementptr inbounds %struct.timeval, ptr %28, i32 0, i32 1 store i64 0, ptr %119, align 8 %120 = getelementptr inbounds %struct.timeval, ptr %28, i32 0, i32 0 store i64 0, ptr %120, align 8 store i32 0, ptr %23, align 4 %121 = load i32, ptr %20, align 4 %122 = add nsw i32 %121, 1 %123 = call i32 @select(i32 noundef %122, ptr noundef %27, ptr noundef null, ptr noundef null, ptr noundef %28) store i32 %123, ptr %23, align 4 %124 = load i32, ptr %23, align 4 %125 = icmp slt i32 %124, 0 br i1 %125, label %126, label %129 126: ; preds = %116 %127 = load i32, ptr %20, align 4 %128 = call i32 @close(i32 noundef %127) store ptr @.str.10, ptr %10, align 8 br label %147 129: ; preds = %116 %130 = load i32, ptr %23, align 4 %131 = icmp sgt i32 %130, 0 br i1 %131, label %132, label %146 132: ; preds = %129 %133 = getelementptr inbounds [1024 x i8], ptr %26, i64 0, i64 0 %134 = call i32 @memset(ptr noundef %133, i32 noundef 0, i32 noundef 4096) %135 = load i32, ptr %20, align 4 %136 = getelementptr inbounds [1024 x i8], ptr %26, i64 0, i64 0 %137 = call i32 @read(i32 noundef %135, ptr noundef %136, i32 noundef 4095) store i32 %137, ptr %22, align 4 %138 = load i32, ptr %22, align 4 %139 = icmp eq i32 %138, 0 br i1 %139, label %140, label %144 140: ; preds = %132 %141 = load i32, ptr %20, align 4 %142 = call i32 @close(i32 noundef %141) %143 = getelementptr inbounds [1024 x i8], ptr %26, i64 0, i64 0 store ptr %143, ptr %10, align 8 br label %147 144: ; preds = %132 %145 = getelementptr inbounds [1024 x i8], ptr %26, i64 0, i64 0 store ptr %145, ptr %10, align 8 br label %147 146: ; preds = %129 br label %116 147: ; preds = %144, %140, %126 %148 = load ptr, ptr %10, align 8 ret ptr %148 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @inet_pton(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp75gqz571.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } %struct.timeval = type { i64, i64 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c" /v1.0/device/\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"/sensor/\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"/datapoints HTTP/1.1\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [98 x i8] c"User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0.1) Gecko/20100101 Firefox/9.0.1\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Host: \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"Accept: */*\0D\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"U-ApiKey: \00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"\0D\0A\0D\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"-1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @server(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %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 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca %struct.sockaddr_in, align 4 %25 = alloca [4096 x i8], align 16 %26 = alloca [1024 x i8], align 16 %27 = alloca i32, align 4 %28 = alloca %struct.timeval, align 8 store i32 %0, ptr %11, align 4 store i32 %1, ptr %12, align 4 store ptr %2, ptr %13, align 8 store ptr %3, ptr %14, align 8 store ptr %4, ptr %15, align 8 store ptr %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store ptr %7, ptr %18, align 8 store i32 %8, ptr %19, align 4 %29 = load i32, ptr @AF_INET, align 4 %30 = load i32, ptr @SOCK_STREAM, align 4 %31 = call i32 @socket(i32 noundef %29, i32 noundef %30, i32 noundef 0) store i32 %31, ptr %20, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %9 %34 = call i32 @exit(i32 noundef 0) #3 unreachable 35: ; preds = %9 %36 = call i32 @bzero(ptr noundef %24, i32 noundef 12) %37 = load i32, ptr @AF_INET, align 4 %38 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 2 store i32 %37, ptr %38, align 4 %39 = load i32, ptr %11, align 4 %40 = call i32 @htons(i32 noundef %39) %41 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 1 store i32 %40, ptr %41, align 4 %42 = load i32, ptr @AF_INET, align 4 %43 = load i32, ptr %12, align 4 %44 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 0 %45 = call i64 @inet_pton(i32 noundef %42, i32 noundef %43, ptr noundef %44) %46 = icmp sle i64 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %35 %48 = call i32 @exit(i32 noundef 0) #3 unreachable 49: ; preds = %35 %50 = load i32, ptr %20, align 4 %51 = call i64 @connect(i32 noundef %50, ptr noundef %24, i32 noundef 12) %52 = icmp slt i64 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = call i32 @exit(i32 noundef 0) #3 unreachable 55: ; preds = %49 %56 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %57 = call i32 @memset(ptr noundef %56, i32 noundef 0, i32 noundef 4096) %58 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %59 = load ptr, ptr %17, align 8 %60 = call i32 @strcat(ptr noundef %58, ptr noundef %59) %61 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %62 = call i32 @strcat(ptr noundef %61, ptr noundef @.str) %63 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %64 = load ptr, ptr %15, align 8 %65 = call i32 @strcat(ptr noundef %63, ptr noundef %64) %66 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %67 = call i32 @strcat(ptr noundef %66, ptr noundef @.str.1) %68 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %69 = load ptr, ptr %16, align 8 %70 = call i32 @strcat(ptr noundef %68, ptr noundef %69) %71 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %72 = call i32 @strcat(ptr noundef %71, ptr noundef @.str.2) %73 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %74 = call i32 @strcat(ptr noundef %73, ptr noundef @.str.3) %75 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %76 = call i32 @strcat(ptr noundef %75, ptr noundef @.str.4) %77 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %78 = load ptr, ptr %13, align 8 %79 = call i32 @strcat(ptr noundef %77, ptr noundef %78) %80 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %81 = call i32 @strcat(ptr noundef %80, ptr noundef @.str.5) %82 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %83 = call i32 @strcat(ptr noundef %82, ptr noundef @.str.6) %84 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %85 = call i32 @strcat(ptr noundef %84, ptr noundef @.str.7) %86 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %87 = load ptr, ptr %14, align 8 %88 = call i32 @strcat(ptr noundef %86, ptr noundef %87) %89 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %90 = call i32 @strcat(ptr noundef %89, ptr noundef @.str.5) %91 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %92 = load ptr, ptr %18, align 8 %93 = call i32 @strcat(ptr noundef %91, ptr noundef %92) %94 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %95 = call i32 @strcat(ptr noundef %94, ptr noundef @.str.8) %96 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %97 = call i32 @strcat(ptr noundef %96, ptr noundef @.str.9) %98 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %99 = call i32 @strcat(ptr noundef %98, ptr noundef @.str.9) %100 = load i32, ptr %20, align 4 %101 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %102 = getelementptr inbounds [4096 x i8], ptr %25, i64 0, i64 0 %103 = call i32 @strlen(ptr noundef %102) %104 = call i32 @write(i32 noundef %100, ptr noundef %101, i32 noundef %103) store i32 %104, ptr %21, align 4 %105 = load i32, ptr %21, align 4 %106 = icmp slt i32 %105, 0 br i1 %106, label %107, label %109 107: ; preds = %55 %108 = call i32 @exit(i32 noundef 0) #3 unreachable 109: ; preds = %55 br label %110 110: ; preds = %109 %111 = call i32 @FD_ZERO(ptr noundef %27) %112 = load i32, ptr %20, align 4 %113 = call i32 @FD_SET(i32 noundef %112, ptr noundef %27) %114 = load i32, ptr %20, align 4 %115 = call i32 @FD_SET(i32 noundef %114, ptr noundef %27) br label %116 116: ; preds = %129, %110 %117 = load i32, ptr %19, align 4 %118 = call i32 @sleep(i32 noundef %117) %119 = getelementptr inbounds %struct.timeval, ptr %28, i32 0, i32 1 store i64 0, ptr %119, align 8 %120 = getelementptr inbounds %struct.timeval, ptr %28, i32 0, i32 0 store i64 0, ptr %120, align 8 store i32 0, ptr %23, align 4 %121 = load i32, ptr %20, align 4 %122 = add nsw i32 %121, 1 %123 = call i32 @select(i32 noundef %122, ptr noundef %27, ptr noundef null, ptr noundef null, ptr noundef %28) store i32 %123, ptr %23, align 4 %124 = load i32, ptr %23, align 4 %125 = icmp slt i32 %124, 0 br i1 %125, label %126, label %129 126: ; preds = %116 %127 = load i32, ptr %20, align 4 %128 = call i32 @close(i32 noundef %127) store ptr @.str.10, ptr %10, align 8 br label %146 129: ; preds = %116 %130 = load i32, ptr %23, align 4 %131 = icmp sgt i32 %130, 0 br i1 %131, label %132, label %116 132: ; preds = %129 %133 = getelementptr inbounds [1024 x i8], ptr %26, i64 0, i64 0 %134 = call i32 @memset(ptr noundef %133, i32 noundef 0, i32 noundef 4096) %135 = load i32, ptr %20, align 4 %136 = getelementptr inbounds [1024 x i8], ptr %26, i64 0, i64 0 %137 = call i32 @read(i32 noundef %135, ptr noundef %136, i32 noundef 4095) store i32 %137, ptr %22, align 4 %138 = load i32, ptr %22, align 4 %139 = icmp eq i32 %138, 0 br i1 %139, label %140, label %144 140: ; preds = %132 %141 = load i32, ptr %20, align 4 %142 = call i32 @close(i32 noundef %141) %143 = getelementptr inbounds [1024 x i8], ptr %26, i64 0, i64 0 store ptr %143, ptr %10, align 8 br label %146 144: ; preds = %132 %145 = getelementptr inbounds [1024 x i8], ptr %26, i64 0, i64 0 store ptr %145, ptr %10, align 8 br label %146 146: ; preds = %144, %140, %126 %147 = load ptr, ptr %10, align 8 ret ptr %147 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @inet_pton(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpa2i3jw8s.c' source_filename = "/tmp/tmpa2i3jw8s.c" target datalayout = "e-m:e-p270: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/tmpa2i3jw8s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_crqbnj7.c' source_filename = "/tmp/tmp_crqbnj7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_double() #0 { %1 = call double (...) @ran1() ret double %1 } declare double @ran1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_crqbnj7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_double() #0 { %1 = call double (...) @ran1() ret double %1 } declare double @ran1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp44ql5na5.c' source_filename = "/tmp/tmp44ql5na5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dspd_dict_value_for_key(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @dspd_dict_find_value(ptr noundef %6, ptr noundef %7, ptr noundef %5) %9 = load ptr, ptr %5, align 8 ret ptr %9 } declare i32 @dspd_dict_find_value(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/tmp44ql5na5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dspd_dict_value_for_key(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @dspd_dict_find_value(ptr noundef %6, ptr noundef %7, ptr noundef %5) %9 = load ptr, ptr %5, align 8 ret ptr %9 } declare i32 @dspd_dict_find_value(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/tmpk_20ipd3.c' source_filename = "/tmp/tmpk_20ipd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter temperature in Celsius\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"The temperature in Fahrenheit: %.2f\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 double, align 8 %3 = alloca double, align 8 store i32 0, ptr %1, align 4 %4 = call double @readd(ptr noundef @.str) store double %4, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = call double @cels2fahr(double noundef %5) store double %6, ptr %3, align 8 %7 = load double, ptr %3, align 8 %8 = call i32 @printf(ptr noundef @.str.1, double noundef %7) %9 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %9 } declare double @readd(ptr noundef) #1 declare double @cels2fahr(double noundef) #1 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/tmpk_20ipd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter temperature in Celsius\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"The temperature in Fahrenheit: %.2f\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 double, align 8 %3 = alloca double, align 8 store i32 0, ptr %1, align 4 %4 = call double @readd(ptr noundef @.str) store double %4, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = call double @cels2fahr(double noundef %5) store double %6, ptr %3, align 8 %7 = load double, ptr %3, align 8 %8 = call i32 @printf(ptr noundef @.str.1, double noundef %7) %9 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %9 } declare double @readd(ptr noundef) #1 declare double @cels2fahr(double noundef) #1 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/tmpb4piac_e.c' source_filename = "/tmp/tmpb4piac_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"\0AMENU for the working precision :\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c" 0. standard double precision;\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c" 1. double double precision;\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c" 2. quad double precision.\0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"Type 0, 1, or 2 to make a choice : \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c"Laurent polynomial system ? (y/n) \00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"Selected precision level is not supported.\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 i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @adainit() %10 = call i32 @printf(ptr noundef @.str) %11 = call i32 @printf(ptr noundef @.str.1) %12 = call i32 @printf(ptr noundef @.str.2) %13 = call i32 @printf(ptr noundef @.str.3) %14 = call i32 @printf(ptr noundef @.str.4) %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %7) %16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6) %17 = call i32 @printf(ptr noundef @.str.7) %18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6) %19 = load i8, ptr %6, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 121 br i1 %21, label %22, label %43 22: ; preds = %2 %23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6) %24 = load i32, ptr %7, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (...) @standard_Laurent_membership_test() store i32 %27, ptr %8, align 4 br label %42 28: ; preds = %22 %29 = load i32, ptr %7, align 4 %30 = icmp eq i32 %29, 1 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 (...) @dobldobl_Laurent_membership_test() store i32 %32, ptr %8, align 4 br label %41 33: ; preds = %28 %34 = load i32, ptr %7, align 4 %35 = icmp eq i32 %34, 2 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 (...) @quaddobl_Laurent_membership_test() store i32 %37, ptr %8, align 4 br label %40 38: ; preds = %33 %39 = call i32 @printf(ptr noundef @.str.8) br label %40 40: ; preds = %38, %36 br label %41 41: ; preds = %40, %31 br label %42 42: ; preds = %41, %26 br label %64 43: ; preds = %2 %44 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6) %45 = load i32, ptr %7, align 4 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %43 %48 = call i32 (...) @standard_membership_test() store i32 %48, ptr %8, align 4 br label %63 49: ; preds = %43 %50 = load i32, ptr %7, align 4 %51 = icmp eq i32 %50, 1 br i1 %51, label %52, label %54 52: ; preds = %49 %53 = call i32 (...) @dobldobl_membership_test() store i32 %53, ptr %8, align 4 br label %62 54: ; preds = %49 %55 = load i32, ptr %7, align 4 %56 = icmp eq i32 %55, 2 br i1 %56, label %57, label %59 57: ; preds = %54 %58 = call i32 (...) @quaddobl_membership_test() store i32 %58, ptr %8, align 4 br label %61 59: ; preds = %54 %60 = call i32 @printf(ptr noundef @.str.8) br label %61 61: ; preds = %59, %57 br label %62 62: ; preds = %61, %52 br label %63 63: ; preds = %62, %47 br label %64 64: ; preds = %63, %42 %65 = call i32 (...) @adafinal() ret i32 0 } declare i32 @adainit(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @standard_Laurent_membership_test(...) #1 declare i32 @dobldobl_Laurent_membership_test(...) #1 declare i32 @quaddobl_Laurent_membership_test(...) #1 declare i32 @standard_membership_test(...) #1 declare i32 @dobldobl_membership_test(...) #1 declare i32 @quaddobl_membership_test(...) #1 declare i32 @adafinal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb4piac_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"\0AMENU for the working precision :\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c" 0. standard double precision;\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c" 1. double double precision;\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c" 2. quad double precision.\0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"Type 0, 1, or 2 to make a choice : \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c"Laurent polynomial system ? (y/n) \00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"Selected precision level is not supported.\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 i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @adainit() %10 = call i32 @printf(ptr noundef @.str) %11 = call i32 @printf(ptr noundef @.str.1) %12 = call i32 @printf(ptr noundef @.str.2) %13 = call i32 @printf(ptr noundef @.str.3) %14 = call i32 @printf(ptr noundef @.str.4) %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %7) %16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6) %17 = call i32 @printf(ptr noundef @.str.7) %18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6) %19 = load i8, ptr %6, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 121 br i1 %21, label %22, label %43 22: ; preds = %2 %23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6) %24 = load i32, ptr %7, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (...) @standard_Laurent_membership_test() store i32 %27, ptr %8, align 4 br label %42 28: ; preds = %22 %29 = load i32, ptr %7, align 4 %30 = icmp eq i32 %29, 1 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 (...) @dobldobl_Laurent_membership_test() store i32 %32, ptr %8, align 4 br label %41 33: ; preds = %28 %34 = load i32, ptr %7, align 4 %35 = icmp eq i32 %34, 2 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 (...) @quaddobl_Laurent_membership_test() store i32 %37, ptr %8, align 4 br label %40 38: ; preds = %33 %39 = call i32 @printf(ptr noundef @.str.8) br label %40 40: ; preds = %38, %36 br label %41 41: ; preds = %40, %31 br label %42 42: ; preds = %41, %26 br label %64 43: ; preds = %2 %44 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %6) %45 = load i32, ptr %7, align 4 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %43 %48 = call i32 (...) @standard_membership_test() store i32 %48, ptr %8, align 4 br label %63 49: ; preds = %43 %50 = load i32, ptr %7, align 4 %51 = icmp eq i32 %50, 1 br i1 %51, label %52, label %54 52: ; preds = %49 %53 = call i32 (...) @dobldobl_membership_test() store i32 %53, ptr %8, align 4 br label %62 54: ; preds = %49 %55 = load i32, ptr %7, align 4 %56 = icmp eq i32 %55, 2 br i1 %56, label %57, label %59 57: ; preds = %54 %58 = call i32 (...) @quaddobl_membership_test() store i32 %58, ptr %8, align 4 br label %61 59: ; preds = %54 %60 = call i32 @printf(ptr noundef @.str.8) br label %61 61: ; preds = %59, %57 br label %62 62: ; preds = %61, %52 br label %63 63: ; preds = %62, %47 br label %64 64: ; preds = %63, %42 %65 = call i32 (...) @adafinal() ret i32 0 } declare i32 @adainit(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @standard_Laurent_membership_test(...) #1 declare i32 @dobldobl_Laurent_membership_test(...) #1 declare i32 @quaddobl_Laurent_membership_test(...) #1 declare i32 @standard_membership_test(...) #1 declare i32 @dobldobl_membership_test(...) #1 declare i32 @quaddobl_membership_test(...) #1 declare i32 @adafinal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnqreg0qr.c' source_filename = "/tmp/tmpnqreg0qr.c" target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xreparent_send_event(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i32 %5, ptr %8, 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/tmpnqreg0qr.c" target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xreparent_send_event(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i32 %5, ptr %8, 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/tmprzldjasp.c' source_filename = "/tmp/tmprzldjasp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_mutex_trylock(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprzldjasp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_mutex_trylock(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprt7urncv.c' source_filename = "/tmp/tmprt7urncv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprt7urncv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7qs5b03q.c' source_filename = "/tmp/tmp7qs5b03q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"pipe() not implemented\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xpipe(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7qs5b03q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"pipe() not implemented\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xpipe(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzsut95x3.c' source_filename = "/tmp/tmpzsut95x3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @receive_float(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @receive_data(i32 noundef %5, ptr noundef %6, i32 noundef 4) ret i32 %7 } declare i32 @receive_data(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/tmpzsut95x3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @receive_float(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @receive_data(i32 noundef %5, ptr noundef %6, i32 noundef 4) ret i32 %7 } declare i32 @receive_data(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/tmp7s1p5rz9.c' source_filename = "/tmp/tmp7s1p5rz9.c" target datalayout = "e-m:e-p270: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/tmp7s1p5rz9.c" target datalayout = "e-m:e-p270: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/tmpm3lcyqj_.c' source_filename = "/tmp/tmpm3lcyqj_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubble(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 1, ptr %5, align 4 br label %7 7: ; preds = %40, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %43 11: ; preds = %7 store i32 0, ptr %6, align 4 br label %12 12: ; preds = %36, %11 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %14, %15 %17 = icmp slt i32 %13, %16 br i1 %17, label %18, label %39 18: ; preds = %12 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %24, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp sgt i32 %23, %29 br i1 %30, label %31, label %35 31: ; preds = %18 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %6, align 4 %34 = call i32 @troca(ptr noundef %32, i32 noundef %33) br label %35 35: ; preds = %31, %18 br label %36 36: ; preds = %35 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 br label %12, !llvm.loop !6 39: ; preds = %12 br label %40 40: ; preds = %39 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 br label %7, !llvm.loop !8 43: ; preds = %7 ret void } declare i32 @troca(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm3lcyqj_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubble(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 1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph2, label %49 .lr.ph2: ; preds = %2 br label %10 10: ; preds = %.lr.ph2, %43 store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = sub nsw i32 %12, %13 %15 = icmp slt i32 %11, %14 br i1 %15, label %.lr.ph, label %42 .lr.ph: ; preds = %10 br label %16 16: ; preds = %.lr.ph, %34 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %22, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp sgt i32 %21, %27 br i1 %28, label %29, label %33 29: ; preds = %16 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %6, align 4 %32 = call i32 @troca(ptr noundef %30, i32 noundef %31) br label %33 33: ; preds = %29, %16 br label %34 34: ; preds = %33 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = sub nsw i32 %38, %39 %41 = icmp slt i32 %37, %40 br i1 %41, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %42 42: ; preds = %._crit_edge, %10 br label %43 43: ; preds = %42 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %49 49: ; preds = %._crit_edge3, %2 ret void } declare i32 @troca(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}
; ModuleID = '/tmp/tmpsm_fzh_k.c' source_filename = "/tmp/tmpsm_fzh_k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcache_add_len(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 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 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %26 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 %16 = call ptr @alloca(i32 noundef %15) store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef %19) %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %5, align 8 store ptr %25, ptr %3, align 8 br label %26 26: ; preds = %13, %2 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = call ptr @add_hash(ptr noundef %27, i32 noundef %28) ret ptr %29 } declare ptr @alloca(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @add_hash(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/tmpsm_fzh_k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcache_add_len(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 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 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %26 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 %16 = call ptr @alloca(i32 noundef %15) store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef %19) %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %5, align 8 store ptr %25, ptr %3, align 8 br label %26 26: ; preds = %13, %2 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = call ptr @add_hash(ptr noundef %27, i32 noundef %28) ret ptr %29 } declare ptr @alloca(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @add_hash(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/tmpuh4uhq_4.c' source_filename = "/tmp/tmpuh4uhq_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuh4uhq_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn6czwn5h.c' source_filename = "/tmp/tmpn6czwn5h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcnet_write_bool(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = ashr i32 %5, 0 %7 = and i32 %6, 1 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 store i32 %7, ptr %9, 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/tmpn6czwn5h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcnet_write_bool(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = ashr i32 %5, 0 %7 = and i32 %6, 1 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 store i32 %7, ptr %9, 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/tmpx426eaz6.c' source_filename = "/tmp/tmpx426eaz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getbyte(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @read(i32 noundef %5, ptr noundef %6, i32 noundef 1) %8 = icmp eq i32 %7, 1 %9 = zext i1 %8 to i32 ret i32 %9 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx426eaz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getbyte(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @read(i32 noundef %5, ptr noundef %6, i32 noundef 1) %8 = icmp eq i32 %7, 1 %9 = zext i1 %8 to i32 ret i32 %9 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpihj9_yip.c' source_filename = "/tmp/tmpihj9_yip.c" target datalayout = "e-m:e-p270: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/tmpihj9_yip.c" target datalayout = "e-m:e-p270: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/tmpjqtil2pv.c' source_filename = "/tmp/tmpjqtil2pv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simple_strtoul(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i64 0, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 48 br i1 %12, label %13, label %34 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 120 br i1 %19, label %20, label %29 20: ; preds = %13 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load i8, ptr %22, align 1 %24 = call i64 @isxdigit(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 store i32 16, ptr %6, align 4 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %4, align 8 br label %29 29: ; preds = %26, %20, %13 %30 = load i32, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %29 store i32 8, ptr %6, align 4 br label %33 33: ; preds = %32, %29 br label %34 34: ; preds = %33, %3 %35 = load i32, ptr %6, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %38, label %37 37: ; preds = %34 store i32 10, ptr %6, align 4 br label %38 38: ; preds = %37, %34 br label %39 39: ; preds = %80, %38 %40 = load ptr, ptr %4, align 8 %41 = load i8, ptr %40, align 1 %42 = call i64 @isxdigit(i8 noundef signext %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %78 44: ; preds = %39 %45 = load ptr, ptr %4, align 8 %46 = load i8, ptr %45, align 1 %47 = call i64 @isdigit(i8 noundef signext %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %54 49: ; preds = %44 %50 = load ptr, ptr %4, align 8 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = sub nsw i32 %52, 48 br label %72 54: ; preds = %44 %55 = load ptr, ptr %4, align 8 %56 = load i8, ptr %55, align 1 %57 = call i64 @islower(i8 noundef signext %56) %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %64 59: ; preds = %54 %60 = load ptr, ptr %4, align 8 %61 = load i8, ptr %60, align 1 %62 = call signext i8 @toupper(i8 noundef signext %61) %63 = sext i8 %62 to i32 br label %68 64: ; preds = %54 %65 = load ptr, ptr %4, align 8 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 br label %68 68: ; preds = %64, %59 %69 = phi i32 [ %63, %59 ], [ %67, %64 ] %70 = sub nsw i32 %69, 65 %71 = add nsw i32 %70, 10 br label %72 72: ; preds = %68, %49 %73 = phi i32 [ %53, %49 ], [ %71, %68 ] %74 = sext i32 %73 to i64 store i64 %74, ptr %8, align 8 %75 = load i32, ptr %6, align 4 %76 = zext i32 %75 to i64 %77 = icmp ult i64 %74, %76 br label %78 78: ; preds = %72, %39 %79 = phi i1 [ false, %39 ], [ %77, %72 ] br i1 %79, label %80, label %89 80: ; preds = %78 %81 = load i64, ptr %7, align 8 %82 = load i32, ptr %6, align 4 %83 = zext i32 %82 to i64 %84 = mul i64 %81, %83 %85 = load i64, ptr %8, align 8 %86 = add i64 %84, %85 store i64 %86, ptr %7, align 8 %87 = load ptr, ptr %4, align 8 %88 = getelementptr inbounds i8, ptr %87, i32 1 store ptr %88, ptr %4, align 8 br label %39, !llvm.loop !6 89: ; preds = %78 %90 = load ptr, ptr %5, align 8 %91 = icmp ne ptr %90, null br i1 %91, label %92, label %95 92: ; preds = %89 %93 = load ptr, ptr %4, align 8 %94 = load ptr, ptr %5, align 8 store ptr %93, ptr %94, align 8 br label %95 95: ; preds = %92, %89 %96 = load i64, ptr %7, align 8 ret i64 %96 } declare i64 @isxdigit(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i64 @islower(i8 noundef signext) #1 declare signext i8 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjqtil2pv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simple_strtoul(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i64 0, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 48 br i1 %12, label %13, label %34 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 120 br i1 %19, label %20, label %29 20: ; preds = %13 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load i8, ptr %22, align 1 %24 = call i64 @isxdigit(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 store i32 16, ptr %6, align 4 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %4, align 8 br label %29 29: ; preds = %26, %20, %13 %30 = load i32, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %29 store i32 8, ptr %6, align 4 br label %33 33: ; preds = %32, %29 br label %34 34: ; preds = %33, %3 %35 = load i32, ptr %6, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %38, label %37 37: ; preds = %34 store i32 10, ptr %6, align 4 br label %38 38: ; preds = %37, %34 br label %39 39: ; preds = %80, %38 %40 = load ptr, ptr %4, align 8 %41 = load i8, ptr %40, align 1 %42 = call i64 @isxdigit(i8 noundef signext %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %78 44: ; preds = %39 %45 = load ptr, ptr %4, align 8 %46 = load i8, ptr %45, align 1 %47 = call i64 @isdigit(i8 noundef signext %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %54 49: ; preds = %44 %50 = load ptr, ptr %4, align 8 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = sub nsw i32 %52, 48 br label %72 54: ; preds = %44 %55 = load ptr, ptr %4, align 8 %56 = load i8, ptr %55, align 1 %57 = call i64 @islower(i8 noundef signext %56) %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %64 59: ; preds = %54 %60 = load ptr, ptr %4, align 8 %61 = load i8, ptr %60, align 1 %62 = call signext i8 @toupper(i8 noundef signext %61) %63 = sext i8 %62 to i32 br label %68 64: ; preds = %54 %65 = load ptr, ptr %4, align 8 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 br label %68 68: ; preds = %64, %59 %69 = phi i32 [ %63, %59 ], [ %67, %64 ] %70 = sub nsw i32 %69, 65 %71 = add nsw i32 %70, 10 br label %72 72: ; preds = %68, %49 %73 = phi i32 [ %53, %49 ], [ %71, %68 ] %74 = sext i32 %73 to i64 store i64 %74, ptr %8, align 8 %75 = load i32, ptr %6, align 4 %76 = zext i32 %75 to i64 %77 = icmp ult i64 %74, %76 br label %78 78: ; preds = %72, %39 %79 = phi i1 [ false, %39 ], [ %77, %72 ] br i1 %79, label %80, label %89 80: ; preds = %78 %81 = load i64, ptr %7, align 8 %82 = load i32, ptr %6, align 4 %83 = zext i32 %82 to i64 %84 = mul i64 %81, %83 %85 = load i64, ptr %8, align 8 %86 = add i64 %84, %85 store i64 %86, ptr %7, align 8 %87 = load ptr, ptr %4, align 8 %88 = getelementptr inbounds i8, ptr %87, i32 1 store ptr %88, ptr %4, align 8 br label %39, !llvm.loop !6 89: ; preds = %78 %90 = load ptr, ptr %5, align 8 %91 = icmp ne ptr %90, null br i1 %91, label %92, label %95 92: ; preds = %89 %93 = load ptr, ptr %4, align 8 %94 = load ptr, ptr %5, align 8 store ptr %93, ptr %94, align 8 br label %95 95: ; preds = %92, %89 %96 = load i64, ptr %7, align 8 ret i64 %96 } declare i64 @isxdigit(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i64 @islower(i8 noundef signext) #1 declare signext i8 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcc1zdw0x.c' source_filename = "/tmp/tmpcc1zdw0x.c" target datalayout = "e-m:e-p270: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_2__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_Screen_root_visual(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store ptr %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcc1zdw0x.c" target datalayout = "e-m:e-p270: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_2__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_Screen_root_visual(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store ptr %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptq7cd_21.c' source_filename = "/tmp/tmptq7cd_21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGFPE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_FPE() #0 { %1 = call i32 (...) @getpid() %2 = load i32, ptr @SIGFPE, align 4 %3 = call i32 @kill(i32 noundef %1, i32 noundef %2) ret i32 0 } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptq7cd_21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGFPE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_FPE() #0 { %1 = call i32 (...) @getpid() %2 = load i32, ptr @SIGFPE, align 4 %3 = call i32 @kill(i32 noundef %1, i32 noundef %2) ret i32 0 } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8a9w_c6p.c' source_filename = "/tmp/tmp8a9w_c6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"y and x unmodified y = %d x = %d\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"on use of modify() (y = x + 4)\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c" y = %d x = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"\0Aon use of modify_x() (x is changed to 2: y = x / 2) \00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"y = %d x = %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 ptr, align 8 store i32 0, ptr %1, align 4 store i32 4, ptr %2, align 4 store ptr %2, ptr %3, align 8 %4 = load i32, ptr %1, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 (ptr, ...) @modify(ptr noundef %7) store i32 %8, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10, i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = call i32 @modify_x(ptr noundef %13) store i32 %14, ptr %1, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %16 = load i32, ptr %1, align 4 %17 = load i32, ptr %2, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %16, i32 noundef %17) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @modify(...) #1 declare i32 @modify_x(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8a9w_c6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"y and x unmodified y = %d x = %d\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"on use of modify() (y = x + 4)\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c" y = %d x = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"\0Aon use of modify_x() (x is changed to 2: y = x / 2) \00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"y = %d x = %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 ptr, align 8 store i32 0, ptr %1, align 4 store i32 4, ptr %2, align 4 store ptr %2, ptr %3, align 8 %4 = load i32, ptr %1, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 (ptr, ...) @modify(ptr noundef %7) store i32 %8, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10, i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = call i32 @modify_x(ptr noundef %13) store i32 %14, ptr %1, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %16 = load i32, ptr %1, align 4 %17 = load i32, ptr %2, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %16, i32 noundef %17) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @modify(...) #1 declare i32 @modify_x(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl2lmgvez.c' source_filename = "/tmp/tmpl2lmgvez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCSBRK = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcsendbreak(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 %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr @TCSBRK, align 4 %11 = call i32 @__ioctl(i32 noundef %9, i32 noundef %10, i32 noundef 0) store i32 %11, ptr %3, align 4 br label %15 12: ; preds = %2 %13 = load i32, ptr @EINVAL, align 4 %14 = call i32 @INLINE_SYSCALL_ERROR_RETURN_VALUE(i32 noundef %13) store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %12, %8 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @__ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @INLINE_SYSCALL_ERROR_RETURN_VALUE(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/tmpl2lmgvez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCSBRK = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcsendbreak(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 %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr @TCSBRK, align 4 %11 = call i32 @__ioctl(i32 noundef %9, i32 noundef %10, i32 noundef 0) store i32 %11, ptr %3, align 4 br label %15 12: ; preds = %2 %13 = load i32, ptr @EINVAL, align 4 %14 = call i32 @INLINE_SYSCALL_ERROR_RETURN_VALUE(i32 noundef %13) store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %12, %8 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @__ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @INLINE_SYSCALL_ERROR_RETURN_VALUE(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/tmpl7w4_12c.c' source_filename = "/tmp/tmpl7w4_12c.c" target datalayout = "e-m:e-p270: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/tmpl7w4_12c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_bibabpt.c' source_filename = "/tmp/tmp_bibabpt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_bibabpt.c" target datalayout = "e-m:e-p270: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/tmp8lecxdzu.c' source_filename = "/tmp/tmp8lecxdzu.c" target datalayout = "e-m:e-p270: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_7__ = type { ptr, ptr, %struct.TYPE_6__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i64, ptr } @.str = private unnamed_addr constant [12 x i8] c".groups_dir\00", align 1 @FOLLOW_LINKS = dso_local global i32 0, align 4 @EXPAND_NAME = dso_local global i32 0, align 4 @NIS_SUCCESS = dso_local global i64 0, align 8 @NIS_GROUP_OBJ = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [32 x i8] c"Group entry for \22%s.%s\22 group:\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c" Explicit members:\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"\09%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c" No explicit members\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c" Implicit members:\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c" No implicit members\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c" Recursive members:\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c" No recursive members\0A\00", align 1 @.str.9 = private unnamed_addr constant [26 x i8] c" Explicit nonmembers:\0A\00", align 1 @.str.10 = private unnamed_addr constant [28 x i8] c" No explicit nonmembers\0A\00", align 1 @.str.11 = private unnamed_addr constant [26 x i8] c" Implicit nonmembers:\0A\00", align 1 @.str.12 = private unnamed_addr constant [28 x i8] c" No implicit nonmembers\0A\00", align 1 @.str.13 = private unnamed_addr constant [27 x i8] c" Recursive nonmembers:\0A\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"\09%s=n\00", align 1 @.str.15 = private unnamed_addr constant [29 x i8] c" No recursive nonmembers\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nis_print_group_entry(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i64, align 8 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 %28 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %29 = load ptr, ptr %2, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %393 31: ; preds = %1 %32 = load ptr, ptr %2, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 0 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %393 37: ; preds = %31 %38 = load ptr, ptr %2, align 8 %39 = call i32 @strlen(ptr noundef %38) %40 = sext i32 %39 to i64 store i64 %40, ptr %3, align 8 %41 = load i64, ptr %3, align 8 %42 = add i64 %41, 50 %43 = call ptr @llvm.stacksave() store ptr %43, ptr %4, align 8 %44 = alloca i8, i64 %42, align 16 store i64 %42, ptr %5, align 8 %45 = load i64, ptr %3, align 8 %46 = add i64 %45, 3 %47 = alloca i8, i64 %46, align 16 store i64 %46, ptr %6, align 8 %48 = load i64, ptr %3, align 8 %49 = add i64 %48, 3 %50 = alloca i8, i64 %49, align 16 store i64 %49, ptr %7, align 8 %51 = load ptr, ptr %2, align 8 %52 = sub i64 %46, 1 %53 = trunc i64 %52 to i32 %54 = call ptr @nis_leaf_of_r(ptr noundef %51, ptr noundef %47, i32 noundef %53) %55 = call ptr @stpcpy(ptr noundef %44, ptr noundef %54) store ptr %55, ptr %9, align 8 %56 = load ptr, ptr %9, align 8 %57 = call ptr @stpcpy(ptr noundef %56, ptr noundef @.str) store ptr %57, ptr %9, align 8 %58 = load ptr, ptr %2, align 8 %59 = sub i64 %49, 1 %60 = trunc i64 %59 to i32 %61 = call ptr @nis_domain_of_r(ptr noundef %58, ptr noundef %50, i32 noundef %60) store ptr %61, ptr %10, align 8 %62 = load ptr, ptr %10, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %64, label %76 64: ; preds = %37 %65 = load ptr, ptr %10, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 0 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %76 70: ; preds = %64 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %9, align 8 store i8 46, ptr %71, align 1 %73 = load ptr, ptr %9, align 8 %74 = load ptr, ptr %10, align 8 %75 = call ptr @stpcpy(ptr noundef %73, ptr noundef %74) br label %76 76: ; preds = %70, %64, %37 %77 = load i32, ptr @FOLLOW_LINKS, align 4 %78 = load i32, ptr @EXPAND_NAME, align 4 %79 = or i32 %77, %78 %80 = call ptr @nis_lookup(ptr noundef %44, i32 noundef %79) store ptr %80, ptr %8, align 8 %81 = load ptr, ptr %8, align 8 %82 = icmp eq ptr %81, null br i1 %82, label %83, label %84 83: ; preds = %76 store i32 1, ptr %12, align 4 br label %389 84: ; preds = %76 %85 = load ptr, ptr %8, align 8 %86 = call i64 @NIS_RES_STATUS(ptr noundef %85) %87 = load i64, ptr @NIS_SUCCESS, align 8 %88 = icmp ne i64 %86, %87 br i1 %88, label %99, label %89 89: ; preds = %84 %90 = load ptr, ptr %8, align 8 %91 = call i32 @NIS_RES_NUMOBJ(ptr noundef %90) %92 = icmp ne i32 %91, 1 br i1 %92, label %99, label %93 93: ; preds = %89 %94 = load ptr, ptr %8, align 8 %95 = call ptr @NIS_RES_OBJECT(ptr noundef %94) %96 = call i64 @__type_of(ptr noundef %95) %97 = load i64, ptr @NIS_GROUP_OBJ, align 8 %98 = icmp ne i64 %96, %97 br i1 %98, label %99, label %102 99: ; preds = %93, %89, %84 %100 = load ptr, ptr %8, align 8 %101 = call i32 @nis_freeresult(ptr noundef %100) store i32 1, ptr %12, align 4 br label %389 102: ; preds = %93 %103 = load ptr, ptr %8, align 8 %104 = call i32 @NIS_RES_NUMOBJ(ptr noundef %103) %105 = zext i32 %104 to i64 %106 = alloca ptr, i64 %105, align 16 store i64 %105, ptr %13, align 8 %107 = load ptr, ptr %8, align 8 %108 = call i32 @NIS_RES_NUMOBJ(ptr noundef %107) %109 = zext i32 %108 to i64 %110 = alloca ptr, i64 %109, align 16 store i64 %109, ptr %14, align 8 %111 = load ptr, ptr %8, align 8 %112 = call i32 @NIS_RES_NUMOBJ(ptr noundef %111) %113 = zext i32 %112 to i64 %114 = alloca ptr, i64 %113, align 16 store i64 %113, ptr %15, align 8 %115 = load ptr, ptr %8, align 8 %116 = call i32 @NIS_RES_NUMOBJ(ptr noundef %115) %117 = zext i32 %116 to i64 %118 = alloca ptr, i64 %117, align 16 store i64 %117, ptr %16, align 8 %119 = load ptr, ptr %8, align 8 %120 = call i32 @NIS_RES_NUMOBJ(ptr noundef %119) %121 = zext i32 %120 to i64 %122 = alloca ptr, i64 %121, align 16 store i64 %121, ptr %17, align 8 %123 = load ptr, ptr %8, align 8 %124 = call i32 @NIS_RES_NUMOBJ(ptr noundef %123) %125 = zext i32 %124 to i64 %126 = alloca ptr, i64 %125, align 16 store i64 %125, ptr %18, align 8 store i64 0, ptr %19, align 8 store i64 0, ptr %20, align 8 store i64 0, ptr %21, align 8 store i64 0, ptr %22, align 8 store i64 0, ptr %23, align 8 store i64 0, ptr %24, align 8 store i64 0, ptr %11, align 8 br label %127 127: ; preds = %207, %102 %128 = load i64, ptr %11, align 8 %129 = load ptr, ptr %8, align 8 %130 = call ptr @NIS_RES_OBJECT(ptr noundef %129) %131 = getelementptr inbounds %struct.TYPE_7__, ptr %130, i32 0, i32 2 %132 = getelementptr inbounds %struct.TYPE_6__, ptr %131, i32 0, i32 0 %133 = getelementptr inbounds %struct.TYPE_5__, ptr %132, i32 0, i32 0 %134 = load i64, ptr %133, align 8 %135 = icmp ult i64 %128, %134 br i1 %135, label %136, label %210 136: ; preds = %127 %137 = load ptr, ptr %8, align 8 %138 = call ptr @NIS_RES_OBJECT(ptr noundef %137) %139 = getelementptr inbounds %struct.TYPE_7__, ptr %138, i32 0, i32 2 %140 = getelementptr inbounds %struct.TYPE_6__, ptr %139, i32 0, i32 0 %141 = getelementptr inbounds %struct.TYPE_5__, ptr %140, i32 0, i32 1 %142 = load ptr, ptr %141, align 8 %143 = load i64, ptr %11, align 8 %144 = getelementptr inbounds ptr, ptr %142, i64 %143 %145 = load ptr, ptr %144, align 8 store ptr %145, ptr %25, align 8 %146 = load ptr, ptr %25, align 8 %147 = getelementptr inbounds i8, ptr %146, i64 0 %148 = load i8, ptr %147, align 1 %149 = sext i8 %148 to i32 %150 = icmp eq i32 %149, 45 %151 = zext i1 %150 to i32 store i32 %151, ptr %26, align 4 %152 = load ptr, ptr %25, align 8 %153 = load i32, ptr %26, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds i8, ptr %152, i64 %154 %156 = load i8, ptr %155, align 1 %157 = sext i8 %156 to i32 switch i32 %157, label %190 [ i32 42, label %158 i32 64, label %174 ] 158: ; preds = %136 %159 = load i32, ptr %26, align 4 %160 = icmp ne i32 %159, 0 br i1 %160, label %161, label %167 161: ; preds = %158 %162 = load ptr, ptr %25, align 8 %163 = load i64, ptr %23, align 8 %164 = getelementptr inbounds ptr, ptr %122, i64 %163 store ptr %162, ptr %164, align 8 %165 = load i64, ptr %23, align 8 %166 = add i64 %165, 1 store i64 %166, ptr %23, align 8 br label %173 167: ; preds = %158 %168 = load ptr, ptr %25, align 8 %169 = load i64, ptr %20, align 8 %170 = getelementptr inbounds ptr, ptr %110, i64 %169 store ptr %168, ptr %170, align 8 %171 = load i64, ptr %20, align 8 %172 = add i64 %171, 1 store i64 %172, ptr %20, align 8 br label %173 173: ; preds = %167, %161 br label %206 174: ; preds = %136 %175 = load i32, ptr %26, align 4 %176 = icmp ne i32 %175, 0 br i1 %176, label %177, label %183 177: ; preds = %174 %178 = load ptr, ptr %25, align 8 %179 = load i64, ptr %24, align 8 %180 = getelementptr inbounds ptr, ptr %126, i64 %179 store ptr %178, ptr %180, align 8 %181 = load i64, ptr %24, align 8 %182 = add i64 %181, 1 store i64 %182, ptr %24, align 8 br label %189 183: ; preds = %174 %184 = load ptr, ptr %25, align 8 %185 = load i64, ptr %21, align 8 %186 = getelementptr inbounds ptr, ptr %114, i64 %185 store ptr %184, ptr %186, align 8 %187 = load i64, ptr %21, align 8 %188 = add i64 %187, 1 store i64 %188, ptr %21, align 8 br label %189 189: ; preds = %183, %177 br label %206 190: ; preds = %136 %191 = load i32, ptr %26, align 4 %192 = icmp ne i32 %191, 0 br i1 %192, label %193, label %199 193: ; preds = %190 %194 = load ptr, ptr %25, align 8 %195 = load i64, ptr %22, align 8 %196 = getelementptr inbounds ptr, ptr %118, i64 %195 store ptr %194, ptr %196, align 8 %197 = load i64, ptr %22, align 8 %198 = add i64 %197, 1 store i64 %198, ptr %22, align 8 br label %205 199: ; preds = %190 %200 = load ptr, ptr %25, align 8 %201 = load i64, ptr %19, align 8 %202 = getelementptr inbounds ptr, ptr %106, i64 %201 store ptr %200, ptr %202, align 8 %203 = load i64, ptr %19, align 8 %204 = add i64 %203, 1 store i64 %204, ptr %19, align 8 br label %205 205: ; preds = %199, %193 br label %206 206: ; preds = %205, %189, %173 br label %207 207: ; preds = %206 %208 = load i64, ptr %11, align 8 %209 = add i64 %208, 1 store i64 %209, ptr %11, align 8 br label %127, !llvm.loop !6 210: ; preds = %127 %211 = load ptr, ptr %8, align 8 %212 = call ptr @NIS_RES_OBJECT(ptr noundef %211) %213 = getelementptr inbounds %struct.TYPE_7__, ptr %212, i32 0, i32 0 %214 = load ptr, ptr %213, align 8 %215 = call i32 @strlen(ptr noundef %214) %216 = add nsw i32 %215, 10 %217 = zext i32 %216 to i64 %218 = call ptr @llvm.stacksave() store ptr %218, ptr %27, align 8 %219 = alloca i8, i64 %217, align 16 store i64 %217, ptr %28, align 8 %220 = call ptr @_(ptr noundef @.str.1) %221 = load ptr, ptr %8, align 8 %222 = call ptr @NIS_RES_OBJECT(ptr noundef %221) %223 = getelementptr inbounds %struct.TYPE_7__, ptr %222, i32 0, i32 1 %224 = load ptr, ptr %223, align 8 %225 = load ptr, ptr %8, align 8 %226 = call ptr @NIS_RES_OBJECT(ptr noundef %225) %227 = getelementptr inbounds %struct.TYPE_7__, ptr %226, i32 0, i32 0 %228 = load ptr, ptr %227, align 8 %229 = load ptr, ptr %8, align 8 %230 = call ptr @NIS_RES_OBJECT(ptr noundef %229) %231 = getelementptr inbounds %struct.TYPE_7__, ptr %230, i32 0, i32 0 %232 = load ptr, ptr %231, align 8 %233 = call i32 @strlen(ptr noundef %232) %234 = add nsw i32 %233, 10 %235 = call ptr @nis_domain_of_r(ptr noundef %228, ptr noundef %219, i32 noundef %234) %236 = call i32 (ptr, ptr, ...) @printf(ptr noundef %220, ptr noundef %224, ptr noundef %235) %237 = load ptr, ptr %27, align 8 call void @llvm.stackrestore(ptr %237) %238 = load i64, ptr %19, align 8 %239 = icmp ne i64 %238, 0 br i1 %239, label %240, label %257 240: ; preds = %210 %241 = call ptr @_(ptr noundef @.str.2) %242 = load i32, ptr @stdout, align 4 %243 = call i32 @fputs(ptr noundef %241, i32 noundef %242) store i64 0, ptr %11, align 8 br label %244 244: ; preds = %253, %240 %245 = load i64, ptr %11, align 8 %246 = load i64, ptr %19, align 8 %247 = icmp ult i64 %245, %246 br i1 %247, label %248, label %256 248: ; preds = %244 %249 = load i64, ptr %11, align 8 %250 = getelementptr inbounds ptr, ptr %106, i64 %249 %251 = load ptr, ptr %250, align 8 %252 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %251) br label %253 253: ; preds = %248 %254 = load i64, ptr %11, align 8 %255 = add i64 %254, 1 store i64 %255, ptr %11, align 8 br label %244, !llvm.loop !8 256: ; preds = %244 br label %261 257: ; preds = %210 %258 = call ptr @_(ptr noundef @.str.4) %259 = load i32, ptr @stdout, align 4 %260 = call i32 @fputs(ptr noundef %258, i32 noundef %259) br label %261 261: ; preds = %257, %256 %262 = load i64, ptr %20, align 8 %263 = icmp ne i64 %262, 0 br i1 %263, label %264, label %282 264: ; preds = %261 %265 = call ptr @_(ptr noundef @.str.5) %266 = load i32, ptr @stdout, align 4 %267 = call i32 @fputs(ptr noundef %265, i32 noundef %266) store i64 0, ptr %11, align 8 br label %268 268: ; preds = %278, %264 %269 = load i64, ptr %11, align 8 %270 = load i64, ptr %20, align 8 %271 = icmp ult i64 %269, %270 br i1 %271, label %272, label %281 272: ; preds = %268 %273 = load i64, ptr %11, align 8 %274 = getelementptr inbounds ptr, ptr %110, i64 %273 %275 = load ptr, ptr %274, align 8 %276 = getelementptr inbounds i8, ptr %275, i64 2 %277 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %276) br label %278 278: ; preds = %272 %279 = load i64, ptr %11, align 8 %280 = add i64 %279, 1 store i64 %280, ptr %11, align 8 br label %268, !llvm.loop !9 281: ; preds = %268 br label %286 282: ; preds = %261 %283 = call ptr @_(ptr noundef @.str.6) %284 = load i32, ptr @stdout, align 4 %285 = call i32 @fputs(ptr noundef %283, i32 noundef %284) br label %286 286: ; preds = %282, %281 %287 = load i64, ptr %21, align 8 %288 = icmp ne i64 %287, 0 br i1 %288, label %289, label %307 289: ; preds = %286 %290 = call ptr @_(ptr noundef @.str.7) %291 = load i32, ptr @stdout, align 4 %292 = call i32 @fputs(ptr noundef %290, i32 noundef %291) store i64 0, ptr %11, align 8 br label %293 293: ; preds = %303, %289 %294 = load i64, ptr %11, align 8 %295 = load i64, ptr %21, align 8 %296 = icmp ult i64 %294, %295 br i1 %296, label %297, label %306 297: ; preds = %293 %298 = load i64, ptr %11, align 8 %299 = getelementptr inbounds ptr, ptr %114, i64 %298 %300 = load ptr, ptr %299, align 8 %301 = getelementptr inbounds i8, ptr %300, i64 1 %302 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %301) br label %303 303: ; preds = %297 %304 = load i64, ptr %11, align 8 %305 = add i64 %304, 1 store i64 %305, ptr %11, align 8 br label %293, !llvm.loop !10 306: ; preds = %293 br label %311 307: ; preds = %286 %308 = call ptr @_(ptr noundef @.str.8) %309 = load i32, ptr @stdout, align 4 %310 = call i32 @fputs(ptr noundef %308, i32 noundef %309) br label %311 311: ; preds = %307, %306 %312 = load i64, ptr %22, align 8 %313 = icmp ne i64 %312, 0 br i1 %313, label %314, label %332 314: ; preds = %311 %315 = call ptr @_(ptr noundef @.str.9) %316 = load i32, ptr @stdout, align 4 %317 = call i32 @fputs(ptr noundef %315, i32 noundef %316) store i64 0, ptr %11, align 8 br label %318 318: ; preds = %328, %314 %319 = load i64, ptr %11, align 8 %320 = load i64, ptr %22, align 8 %321 = icmp ult i64 %319, %320 br i1 %321, label %322, label %331 322: ; preds = %318 %323 = load i64, ptr %11, align 8 %324 = getelementptr inbounds ptr, ptr %118, i64 %323 %325 = load ptr, ptr %324, align 8 %326 = getelementptr inbounds i8, ptr %325, i64 1 %327 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %326) br label %328 328: ; preds = %322 %329 = load i64, ptr %11, align 8 %330 = add i64 %329, 1 store i64 %330, ptr %11, align 8 br label %318, !llvm.loop !11 331: ; preds = %318 br label %336 332: ; preds = %311 %333 = call ptr @_(ptr noundef @.str.10) %334 = load i32, ptr @stdout, align 4 %335 = call i32 @fputs(ptr noundef %333, i32 noundef %334) br label %336 336: ; preds = %332, %331 %337 = load i64, ptr %23, align 8 %338 = icmp ne i64 %337, 0 br i1 %338, label %339, label %357 339: ; preds = %336 %340 = call ptr @_(ptr noundef @.str.11) %341 = load i32, ptr @stdout, align 4 %342 = call i32 @fputs(ptr noundef %340, i32 noundef %341) store i64 0, ptr %11, align 8 br label %343 343: ; preds = %353, %339 %344 = load i64, ptr %11, align 8 %345 = load i64, ptr %23, align 8 %346 = icmp ult i64 %344, %345 br i1 %346, label %347, label %356 347: ; preds = %343 %348 = load i64, ptr %11, align 8 %349 = getelementptr inbounds ptr, ptr %122, i64 %348 %350 = load ptr, ptr %349, align 8 %351 = getelementptr inbounds i8, ptr %350, i64 3 %352 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %351) br label %353 353: ; preds = %347 %354 = load i64, ptr %11, align 8 %355 = add i64 %354, 1 store i64 %355, ptr %11, align 8 br label %343, !llvm.loop !12 356: ; preds = %343 br label %361 357: ; preds = %336 %358 = call ptr @_(ptr noundef @.str.12) %359 = load i32, ptr @stdout, align 4 %360 = call i32 @fputs(ptr noundef %358, i32 noundef %359) br label %361 361: ; preds = %357, %356 %362 = load i64, ptr %24, align 8 %363 = icmp ne i64 %362, 0 br i1 %363, label %364, label %382 364: ; preds = %361 %365 = call ptr @_(ptr noundef @.str.13) %366 = load i32, ptr @stdout, align 4 %367 = call i32 @fputs(ptr noundef %365, i32 noundef %366) store i64 0, ptr %11, align 8 br label %368 368: ; preds = %378, %364 %369 = load i64, ptr %11, align 8 %370 = load i64, ptr %24, align 8 %371 = icmp ult i64 %369, %370 br i1 %371, label %372, label %381 372: ; preds = %368 %373 = load i64, ptr %11, align 8 %374 = getelementptr inbounds ptr, ptr %126, i64 %373 %375 = load ptr, ptr %374, align 8 %376 = getelementptr inbounds i8, ptr %375, i64 2 %377 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %376) br label %378 378: ; preds = %372 %379 = load i64, ptr %11, align 8 %380 = add i64 %379, 1 store i64 %380, ptr %11, align 8 br label %368, !llvm.loop !13 381: ; preds = %368 br label %386 382: ; preds = %361 %383 = call ptr @_(ptr noundef @.str.15) %384 = load i32, ptr @stdout, align 4 %385 = call i32 @fputs(ptr noundef %383, i32 noundef %384) br label %386 386: ; preds = %382, %381 %387 = load ptr, ptr %8, align 8 %388 = call i32 @nis_freeresult(ptr noundef %387) store i32 0, ptr %12, align 4 br label %389 389: ; preds = %386, %99, %83 %390 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %390) %391 = load i32, ptr %12, align 4 switch i32 %391, label %394 [ i32 0, label %392 i32 1, label %393 ] 392: ; preds = %389 br label %393 393: ; preds = %389, %392, %31, %1 ret void 394: ; preds = %389 unreachable } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @stpcpy(ptr noundef, ptr noundef) #1 declare ptr @nis_leaf_of_r(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @nis_domain_of_r(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @nis_lookup(ptr noundef, i32 noundef) #1 declare i64 @NIS_RES_STATUS(ptr noundef) #1 declare i32 @NIS_RES_NUMOBJ(ptr noundef) #1 declare i64 @__type_of(ptr noundef) #1 declare ptr @NIS_RES_OBJECT(ptr noundef) #1 declare i32 @nis_freeresult(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare ptr @_(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 declare i32 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8lecxdzu.c" target datalayout = "e-m:e-p270: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_7__ = type { ptr, ptr, %struct.TYPE_6__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i64, ptr } @.str = private unnamed_addr constant [12 x i8] c".groups_dir\00", align 1 @FOLLOW_LINKS = dso_local global i32 0, align 4 @EXPAND_NAME = dso_local global i32 0, align 4 @NIS_SUCCESS = dso_local global i64 0, align 8 @NIS_GROUP_OBJ = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [32 x i8] c"Group entry for \22%s.%s\22 group:\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c" Explicit members:\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"\09%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c" No explicit members\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c" Implicit members:\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c" No implicit members\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c" Recursive members:\0A\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c" No recursive members\0A\00", align 1 @.str.9 = private unnamed_addr constant [26 x i8] c" Explicit nonmembers:\0A\00", align 1 @.str.10 = private unnamed_addr constant [28 x i8] c" No explicit nonmembers\0A\00", align 1 @.str.11 = private unnamed_addr constant [26 x i8] c" Implicit nonmembers:\0A\00", align 1 @.str.12 = private unnamed_addr constant [28 x i8] c" No implicit nonmembers\0A\00", align 1 @.str.13 = private unnamed_addr constant [27 x i8] c" Recursive nonmembers:\0A\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"\09%s=n\00", align 1 @.str.15 = private unnamed_addr constant [29 x i8] c" No recursive nonmembers\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nis_print_group_entry(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 %24 = alloca i64, align 8 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 %28 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %29 = load ptr, ptr %2, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %410 31: ; preds = %1 %32 = load ptr, ptr %2, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 0 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %410 37: ; preds = %31 %38 = load ptr, ptr %2, align 8 %39 = call i32 @strlen(ptr noundef %38) %40 = sext i32 %39 to i64 store i64 %40, ptr %3, align 8 %41 = load i64, ptr %3, align 8 %42 = add i64 %41, 50 %43 = call ptr @llvm.stacksave() store ptr %43, ptr %4, align 8 %44 = alloca i8, i64 %42, align 16 store i64 %42, ptr %5, align 8 %45 = load i64, ptr %3, align 8 %46 = add i64 %45, 3 %47 = alloca i8, i64 %46, align 16 store i64 %46, ptr %6, align 8 %48 = load i64, ptr %3, align 8 %49 = add i64 %48, 3 %50 = alloca i8, i64 %49, align 16 store i64 %49, ptr %7, align 8 %51 = load ptr, ptr %2, align 8 %52 = sub i64 %46, 1 %53 = trunc i64 %52 to i32 %54 = call ptr @nis_leaf_of_r(ptr noundef %51, ptr noundef %47, i32 noundef %53) %55 = call ptr @stpcpy(ptr noundef %44, ptr noundef %54) store ptr %55, ptr %9, align 8 %56 = load ptr, ptr %9, align 8 %57 = call ptr @stpcpy(ptr noundef %56, ptr noundef @.str) store ptr %57, ptr %9, align 8 %58 = load ptr, ptr %2, align 8 %59 = sub i64 %49, 1 %60 = trunc i64 %59 to i32 %61 = call ptr @nis_domain_of_r(ptr noundef %58, ptr noundef %50, i32 noundef %60) store ptr %61, ptr %10, align 8 %62 = load ptr, ptr %10, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %64, label %76 64: ; preds = %37 %65 = load ptr, ptr %10, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 0 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %76 70: ; preds = %64 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %9, align 8 store i8 46, ptr %71, align 1 %73 = load ptr, ptr %9, align 8 %74 = load ptr, ptr %10, align 8 %75 = call ptr @stpcpy(ptr noundef %73, ptr noundef %74) br label %76 76: ; preds = %70, %64, %37 %77 = load i32, ptr @FOLLOW_LINKS, align 4 %78 = load i32, ptr @EXPAND_NAME, align 4 %79 = or i32 %77, %78 %80 = call ptr @nis_lookup(ptr noundef %44, i32 noundef %79) store ptr %80, ptr %8, align 8 %81 = load ptr, ptr %8, align 8 %82 = icmp eq ptr %81, null br i1 %82, label %83, label %84 83: ; preds = %76 store i32 1, ptr %12, align 4 br label %406 84: ; preds = %76 %85 = load ptr, ptr %8, align 8 %86 = call i64 @NIS_RES_STATUS(ptr noundef %85) %87 = load i64, ptr @NIS_SUCCESS, align 8 %88 = icmp ne i64 %86, %87 br i1 %88, label %99, label %89 89: ; preds = %84 %90 = load ptr, ptr %8, align 8 %91 = call i32 @NIS_RES_NUMOBJ(ptr noundef %90) %92 = icmp ne i32 %91, 1 br i1 %92, label %99, label %93 93: ; preds = %89 %94 = load ptr, ptr %8, align 8 %95 = call ptr @NIS_RES_OBJECT(ptr noundef %94) %96 = call i64 @__type_of(ptr noundef %95) %97 = load i64, ptr @NIS_GROUP_OBJ, align 8 %98 = icmp ne i64 %96, %97 br i1 %98, label %99, label %102 99: ; preds = %93, %89, %84 %100 = load ptr, ptr %8, align 8 %101 = call i32 @nis_freeresult(ptr noundef %100) store i32 1, ptr %12, align 4 br label %406 102: ; preds = %93 %103 = load ptr, ptr %8, align 8 %104 = call i32 @NIS_RES_NUMOBJ(ptr noundef %103) %105 = zext i32 %104 to i64 %106 = alloca ptr, i64 %105, align 16 store i64 %105, ptr %13, align 8 %107 = load ptr, ptr %8, align 8 %108 = call i32 @NIS_RES_NUMOBJ(ptr noundef %107) %109 = zext i32 %108 to i64 %110 = alloca ptr, i64 %109, align 16 store i64 %109, ptr %14, align 8 %111 = load ptr, ptr %8, align 8 %112 = call i32 @NIS_RES_NUMOBJ(ptr noundef %111) %113 = zext i32 %112 to i64 %114 = alloca ptr, i64 %113, align 16 store i64 %113, ptr %15, align 8 %115 = load ptr, ptr %8, align 8 %116 = call i32 @NIS_RES_NUMOBJ(ptr noundef %115) %117 = zext i32 %116 to i64 %118 = alloca ptr, i64 %117, align 16 store i64 %117, ptr %16, align 8 %119 = load ptr, ptr %8, align 8 %120 = call i32 @NIS_RES_NUMOBJ(ptr noundef %119) %121 = zext i32 %120 to i64 %122 = alloca ptr, i64 %121, align 16 store i64 %121, ptr %17, align 8 %123 = load ptr, ptr %8, align 8 %124 = call i32 @NIS_RES_NUMOBJ(ptr noundef %123) %125 = zext i32 %124 to i64 %126 = alloca ptr, i64 %125, align 16 store i64 %125, ptr %18, align 8 store i64 0, ptr %19, align 8 store i64 0, ptr %20, align 8 store i64 0, ptr %21, align 8 store i64 0, ptr %22, align 8 store i64 0, ptr %23, align 8 store i64 0, ptr %24, align 8 store i64 0, ptr %11, align 8 %127 = load i64, ptr %11, align 8 %128 = load ptr, ptr %8, align 8 %129 = call ptr @NIS_RES_OBJECT(ptr noundef %128) %130 = getelementptr inbounds %struct.TYPE_7__, ptr %129, i32 0, i32 2 %131 = load i64, ptr %130, align 8 %132 = icmp ult i64 %127, %131 br i1 %132, label %.lr.ph, label %215 .lr.ph: ; preds = %102 br label %133 133: ; preds = %.lr.ph, %204 %134 = load ptr, ptr %8, align 8 %135 = call ptr @NIS_RES_OBJECT(ptr noundef %134) %136 = getelementptr inbounds %struct.TYPE_7__, ptr %135, i32 0, i32 2 %137 = getelementptr inbounds %struct.TYPE_6__, ptr %136, i32 0, i32 0 %138 = getelementptr inbounds %struct.TYPE_5__, ptr %137, i32 0, i32 1 %139 = load ptr, ptr %138, align 8 %140 = load i64, ptr %11, align 8 %141 = getelementptr inbounds ptr, ptr %139, i64 %140 %142 = load ptr, ptr %141, align 8 store ptr %142, ptr %25, align 8 %143 = load ptr, ptr %25, align 8 %144 = getelementptr inbounds i8, ptr %143, i64 0 %145 = load i8, ptr %144, align 1 %146 = sext i8 %145 to i32 %147 = icmp eq i32 %146, 45 %148 = zext i1 %147 to i32 store i32 %148, ptr %26, align 4 %149 = load ptr, ptr %25, align 8 %150 = load i32, ptr %26, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i8, ptr %149, i64 %151 %153 = load i8, ptr %152, align 1 %154 = sext i8 %153 to i32 switch i32 %154, label %187 [ i32 42, label %155 i32 64, label %171 ] 155: ; preds = %133 %156 = load i32, ptr %26, align 4 %157 = icmp ne i32 %156, 0 br i1 %157, label %158, label %164 158: ; preds = %155 %159 = load ptr, ptr %25, align 8 %160 = load i64, ptr %23, align 8 %161 = getelementptr inbounds ptr, ptr %122, i64 %160 store ptr %159, ptr %161, align 8 %162 = load i64, ptr %23, align 8 %163 = add i64 %162, 1 store i64 %163, ptr %23, align 8 br label %170 164: ; preds = %155 %165 = load ptr, ptr %25, align 8 %166 = load i64, ptr %20, align 8 %167 = getelementptr inbounds ptr, ptr %110, i64 %166 store ptr %165, ptr %167, align 8 %168 = load i64, ptr %20, align 8 %169 = add i64 %168, 1 store i64 %169, ptr %20, align 8 br label %170 170: ; preds = %164, %158 br label %203 171: ; preds = %133 %172 = load i32, ptr %26, align 4 %173 = icmp ne i32 %172, 0 br i1 %173, label %174, label %180 174: ; preds = %171 %175 = load ptr, ptr %25, align 8 %176 = load i64, ptr %24, align 8 %177 = getelementptr inbounds ptr, ptr %126, i64 %176 store ptr %175, ptr %177, align 8 %178 = load i64, ptr %24, align 8 %179 = add i64 %178, 1 store i64 %179, ptr %24, align 8 br label %186 180: ; preds = %171 %181 = load ptr, ptr %25, align 8 %182 = load i64, ptr %21, align 8 %183 = getelementptr inbounds ptr, ptr %114, i64 %182 store ptr %181, ptr %183, align 8 %184 = load i64, ptr %21, align 8 %185 = add i64 %184, 1 store i64 %185, ptr %21, align 8 br label %186 186: ; preds = %180, %174 br label %203 187: ; preds = %133 %188 = load i32, ptr %26, align 4 %189 = icmp ne i32 %188, 0 br i1 %189, label %190, label %196 190: ; preds = %187 %191 = load ptr, ptr %25, align 8 %192 = load i64, ptr %22, align 8 %193 = getelementptr inbounds ptr, ptr %118, i64 %192 store ptr %191, ptr %193, align 8 %194 = load i64, ptr %22, align 8 %195 = add i64 %194, 1 store i64 %195, ptr %22, align 8 br label %202 196: ; preds = %187 %197 = load ptr, ptr %25, align 8 %198 = load i64, ptr %19, align 8 %199 = getelementptr inbounds ptr, ptr %106, i64 %198 store ptr %197, ptr %199, align 8 %200 = load i64, ptr %19, align 8 %201 = add i64 %200, 1 store i64 %201, ptr %19, align 8 br label %202 202: ; preds = %196, %190 br label %203 203: ; preds = %202, %186, %170 br label %204 204: ; preds = %203 %205 = load i64, ptr %11, align 8 %206 = add i64 %205, 1 store i64 %206, ptr %11, align 8 %207 = load i64, ptr %11, align 8 %208 = load ptr, ptr %8, align 8 %209 = call ptr @NIS_RES_OBJECT(ptr noundef %208) %210 = getelementptr inbounds %struct.TYPE_7__, ptr %209, i32 0, i32 2 %211 = getelementptr inbounds %struct.TYPE_6__, ptr %210, i32 0, i32 0 %212 = getelementptr inbounds %struct.TYPE_5__, ptr %211, i32 0, i32 0 %213 = load i64, ptr %212, align 8 %214 = icmp ult i64 %207, %213 br i1 %214, label %133, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %204 br label %215 215: ; preds = %._crit_edge, %102 %216 = load ptr, ptr %8, align 8 %217 = call ptr @NIS_RES_OBJECT(ptr noundef %216) %218 = getelementptr inbounds %struct.TYPE_7__, ptr %217, i32 0, i32 0 %219 = load ptr, ptr %218, align 8 %220 = call i32 @strlen(ptr noundef %219) %221 = add nsw i32 %220, 10 %222 = zext i32 %221 to i64 %223 = call ptr @llvm.stacksave() store ptr %223, ptr %27, align 8 %224 = alloca i8, i64 %222, align 16 store i64 %222, ptr %28, align 8 %225 = call ptr @_(ptr noundef @.str.1) %226 = load ptr, ptr %8, align 8 %227 = call ptr @NIS_RES_OBJECT(ptr noundef %226) %228 = getelementptr inbounds %struct.TYPE_7__, ptr %227, i32 0, i32 1 %229 = load ptr, ptr %228, align 8 %230 = load ptr, ptr %8, align 8 %231 = call ptr @NIS_RES_OBJECT(ptr noundef %230) %232 = getelementptr inbounds %struct.TYPE_7__, ptr %231, i32 0, i32 0 %233 = load ptr, ptr %232, align 8 %234 = load ptr, ptr %8, align 8 %235 = call ptr @NIS_RES_OBJECT(ptr noundef %234) %236 = getelementptr inbounds %struct.TYPE_7__, ptr %235, i32 0, i32 0 %237 = load ptr, ptr %236, align 8 %238 = call i32 @strlen(ptr noundef %237) %239 = add nsw i32 %238, 10 %240 = call ptr @nis_domain_of_r(ptr noundef %233, ptr noundef %224, i32 noundef %239) %241 = call i32 (ptr, ptr, ...) @printf(ptr noundef %225, ptr noundef %229, ptr noundef %240) %242 = load ptr, ptr %27, align 8 call void @llvm.stackrestore(ptr %242) %243 = load i64, ptr %19, align 8 %244 = icmp ne i64 %243, 0 br i1 %244, label %245, label %264 245: ; preds = %215 %246 = call ptr @_(ptr noundef @.str.2) %247 = load i32, ptr @stdout, align 4 %248 = call i32 @fputs(ptr noundef %246, i32 noundef %247) store i64 0, ptr %11, align 8 %249 = load i64, ptr %11, align 8 %250 = load i64, ptr %19, align 8 %251 = icmp ult i64 %249, %250 br i1 %251, label %.lr.ph2, label %263 .lr.ph2: ; preds = %245 br label %252 252: ; preds = %.lr.ph2, %257 %253 = load i64, ptr %11, align 8 %254 = getelementptr inbounds ptr, ptr %106, i64 %253 %255 = load ptr, ptr %254, align 8 %256 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %255) br label %257 257: ; preds = %252 %258 = load i64, ptr %11, align 8 %259 = add i64 %258, 1 store i64 %259, ptr %11, align 8 %260 = load i64, ptr %11, align 8 %261 = load i64, ptr %19, align 8 %262 = icmp ult i64 %260, %261 br i1 %262, label %252, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %257 br label %263 263: ; preds = %._crit_edge3, %245 br label %268 264: ; preds = %215 %265 = call ptr @_(ptr noundef @.str.4) %266 = load i32, ptr @stdout, align 4 %267 = call i32 @fputs(ptr noundef %265, i32 noundef %266) br label %268 268: ; preds = %264, %263 %269 = load i64, ptr %20, align 8 %270 = icmp ne i64 %269, 0 br i1 %270, label %271, label %291 271: ; preds = %268 %272 = call ptr @_(ptr noundef @.str.5) %273 = load i32, ptr @stdout, align 4 %274 = call i32 @fputs(ptr noundef %272, i32 noundef %273) store i64 0, ptr %11, align 8 %275 = load i64, ptr %11, align 8 %276 = load i64, ptr %20, align 8 %277 = icmp ult i64 %275, %276 br i1 %277, label %.lr.ph5, label %290 .lr.ph5: ; preds = %271 br label %278 278: ; preds = %.lr.ph5, %284 %279 = load i64, ptr %11, align 8 %280 = getelementptr inbounds ptr, ptr %110, i64 %279 %281 = load ptr, ptr %280, align 8 %282 = getelementptr inbounds i8, ptr %281, i64 2 %283 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %282) br label %284 284: ; preds = %278 %285 = load i64, ptr %11, align 8 %286 = add i64 %285, 1 store i64 %286, ptr %11, align 8 %287 = load i64, ptr %11, align 8 %288 = load i64, ptr %20, align 8 %289 = icmp ult i64 %287, %288 br i1 %289, label %278, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %284 br label %290 290: ; preds = %._crit_edge6, %271 br label %295 291: ; preds = %268 %292 = call ptr @_(ptr noundef @.str.6) %293 = load i32, ptr @stdout, align 4 %294 = call i32 @fputs(ptr noundef %292, i32 noundef %293) br label %295 295: ; preds = %291, %290 %296 = load i64, ptr %21, align 8 %297 = icmp ne i64 %296, 0 br i1 %297, label %298, label %318 298: ; preds = %295 %299 = call ptr @_(ptr noundef @.str.7) %300 = load i32, ptr @stdout, align 4 %301 = call i32 @fputs(ptr noundef %299, i32 noundef %300) store i64 0, ptr %11, align 8 %302 = load i64, ptr %11, align 8 %303 = load i64, ptr %21, align 8 %304 = icmp ult i64 %302, %303 br i1 %304, label %.lr.ph8, label %317 .lr.ph8: ; preds = %298 br label %305 305: ; preds = %.lr.ph8, %311 %306 = load i64, ptr %11, align 8 %307 = getelementptr inbounds ptr, ptr %114, i64 %306 %308 = load ptr, ptr %307, align 8 %309 = getelementptr inbounds i8, ptr %308, i64 1 %310 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %309) br label %311 311: ; preds = %305 %312 = load i64, ptr %11, align 8 %313 = add i64 %312, 1 store i64 %313, ptr %11, align 8 %314 = load i64, ptr %11, align 8 %315 = load i64, ptr %21, align 8 %316 = icmp ult i64 %314, %315 br i1 %316, label %305, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %311 br label %317 317: ; preds = %._crit_edge9, %298 br label %322 318: ; preds = %295 %319 = call ptr @_(ptr noundef @.str.8) %320 = load i32, ptr @stdout, align 4 %321 = call i32 @fputs(ptr noundef %319, i32 noundef %320) br label %322 322: ; preds = %318, %317 %323 = load i64, ptr %22, align 8 %324 = icmp ne i64 %323, 0 br i1 %324, label %325, label %345 325: ; preds = %322 %326 = call ptr @_(ptr noundef @.str.9) %327 = load i32, ptr @stdout, align 4 %328 = call i32 @fputs(ptr noundef %326, i32 noundef %327) store i64 0, ptr %11, align 8 %329 = load i64, ptr %11, align 8 %330 = load i64, ptr %22, align 8 %331 = icmp ult i64 %329, %330 br i1 %331, label %.lr.ph11, label %344 .lr.ph11: ; preds = %325 br label %332 332: ; preds = %.lr.ph11, %338 %333 = load i64, ptr %11, align 8 %334 = getelementptr inbounds ptr, ptr %118, i64 %333 %335 = load ptr, ptr %334, align 8 %336 = getelementptr inbounds i8, ptr %335, i64 1 %337 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %336) br label %338 338: ; preds = %332 %339 = load i64, ptr %11, align 8 %340 = add i64 %339, 1 store i64 %340, ptr %11, align 8 %341 = load i64, ptr %11, align 8 %342 = load i64, ptr %22, align 8 %343 = icmp ult i64 %341, %342 br i1 %343, label %332, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %338 br label %344 344: ; preds = %._crit_edge12, %325 br label %349 345: ; preds = %322 %346 = call ptr @_(ptr noundef @.str.10) %347 = load i32, ptr @stdout, align 4 %348 = call i32 @fputs(ptr noundef %346, i32 noundef %347) br label %349 349: ; preds = %345, %344 %350 = load i64, ptr %23, align 8 %351 = icmp ne i64 %350, 0 br i1 %351, label %352, label %372 352: ; preds = %349 %353 = call ptr @_(ptr noundef @.str.11) %354 = load i32, ptr @stdout, align 4 %355 = call i32 @fputs(ptr noundef %353, i32 noundef %354) store i64 0, ptr %11, align 8 %356 = load i64, ptr %11, align 8 %357 = load i64, ptr %23, align 8 %358 = icmp ult i64 %356, %357 br i1 %358, label %.lr.ph14, label %371 .lr.ph14: ; preds = %352 br label %359 359: ; preds = %.lr.ph14, %365 %360 = load i64, ptr %11, align 8 %361 = getelementptr inbounds ptr, ptr %122, i64 %360 %362 = load ptr, ptr %361, align 8 %363 = getelementptr inbounds i8, ptr %362, i64 3 %364 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %363) br label %365 365: ; preds = %359 %366 = load i64, ptr %11, align 8 %367 = add i64 %366, 1 store i64 %367, ptr %11, align 8 %368 = load i64, ptr %11, align 8 %369 = load i64, ptr %23, align 8 %370 = icmp ult i64 %368, %369 br i1 %370, label %359, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %365 br label %371 371: ; preds = %._crit_edge15, %352 br label %376 372: ; preds = %349 %373 = call ptr @_(ptr noundef @.str.12) %374 = load i32, ptr @stdout, align 4 %375 = call i32 @fputs(ptr noundef %373, i32 noundef %374) br label %376 376: ; preds = %372, %371 %377 = load i64, ptr %24, align 8 %378 = icmp ne i64 %377, 0 br i1 %378, label %379, label %399 379: ; preds = %376 %380 = call ptr @_(ptr noundef @.str.13) %381 = load i32, ptr @stdout, align 4 %382 = call i32 @fputs(ptr noundef %380, i32 noundef %381) store i64 0, ptr %11, align 8 %383 = load i64, ptr %11, align 8 %384 = load i64, ptr %24, align 8 %385 = icmp ult i64 %383, %384 br i1 %385, label %.lr.ph17, label %398 .lr.ph17: ; preds = %379 br label %386 386: ; preds = %.lr.ph17, %392 %387 = load i64, ptr %11, align 8 %388 = getelementptr inbounds ptr, ptr %126, i64 %387 %389 = load ptr, ptr %388, align 8 %390 = getelementptr inbounds i8, ptr %389, i64 2 %391 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %390) br label %392 392: ; preds = %386 %393 = load i64, ptr %11, align 8 %394 = add i64 %393, 1 store i64 %394, ptr %11, align 8 %395 = load i64, ptr %11, align 8 %396 = load i64, ptr %24, align 8 %397 = icmp ult i64 %395, %396 br i1 %397, label %386, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %392 br label %398 398: ; preds = %._crit_edge18, %379 br label %403 399: ; preds = %376 %400 = call ptr @_(ptr noundef @.str.15) %401 = load i32, ptr @stdout, align 4 %402 = call i32 @fputs(ptr noundef %400, i32 noundef %401) br label %403 403: ; preds = %399, %398 %404 = load ptr, ptr %8, align 8 %405 = call i32 @nis_freeresult(ptr noundef %404) store i32 0, ptr %12, align 4 br label %406 406: ; preds = %403, %99, %83 %407 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %407) %408 = load i32, ptr %12, align 4 switch i32 %408, label %411 [ i32 0, label %409 i32 1, label %410 ] 409: ; preds = %406 br label %410 410: ; preds = %409, %406, %31, %1 ret void 411: ; preds = %406 unreachable } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @stpcpy(ptr noundef, ptr noundef) #1 declare ptr @nis_leaf_of_r(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @nis_domain_of_r(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @nis_lookup(ptr noundef, i32 noundef) #1 declare i64 @NIS_RES_STATUS(ptr noundef) #1 declare i32 @NIS_RES_NUMOBJ(ptr noundef) #1 declare i64 @__type_of(ptr noundef) #1 declare ptr @NIS_RES_OBJECT(ptr noundef) #1 declare i32 @nis_freeresult(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare ptr @_(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 declare i32 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmph_mki_7l.c' source_filename = "/tmp/tmph_mki_7l.c" target datalayout = "e-m:e-p270: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/tmph_mki_7l.c" target datalayout = "e-m:e-p270: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/tmp7yjgkws4.c' source_filename = "/tmp/tmp7yjgkws4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_and5_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 = and i32 %15, 5 %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/tmp7yjgkws4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_and5_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 = and i32 %14, 5 %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/tmp9baf2lsp.c' source_filename = "/tmp/tmp9baf2lsp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetContrast_SP80818(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 switch i32 %4, label %25 [ i32 1, label %5 i32 2, label %9 i32 3, label %13 i32 4, label %17 i32 5, label %21 ] 5: ; preds = %1 %6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 38, i32 noundef 142) %7 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 19, i32 noundef 96) %8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 20, i32 noundef 96) br label %26 9: ; preds = %1 %10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 38, i32 noundef 142) %11 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 19, i32 noundef 112) %12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 20, i32 noundef 112) br label %26 13: ; preds = %1 %14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 38, i32 noundef 142) %15 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 19, i32 noundef 128) %16 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 20, i32 noundef 128) br label %26 17: ; preds = %1 %18 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 38, i32 noundef 142) %19 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 19, i32 noundef 144) %20 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 20, i32 noundef 144) br label %26 21: ; preds = %1 %22 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 38, i32 noundef 142) %23 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 19, i32 noundef 160) %24 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 20, i32 noundef 160) br label %26 25: ; preds = %1 br label %26 26: ; preds = %25, %21, %17, %13, %9, %5 ret void } declare i32 @VIM_SIF_I2cWriteByte(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/tmp9baf2lsp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetContrast_SP80818(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 switch i32 %4, label %25 [ i32 1, label %5 i32 2, label %9 i32 3, label %13 i32 4, label %17 i32 5, label %21 ] 5: ; preds = %1 %6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 38, i32 noundef 142) %7 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 19, i32 noundef 96) %8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 20, i32 noundef 96) br label %26 9: ; preds = %1 %10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 38, i32 noundef 142) %11 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 19, i32 noundef 112) %12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 20, i32 noundef 112) br label %26 13: ; preds = %1 %14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 38, i32 noundef 142) %15 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 19, i32 noundef 128) %16 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 20, i32 noundef 128) br label %26 17: ; preds = %1 %18 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 38, i32 noundef 142) %19 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 19, i32 noundef 144) %20 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 20, i32 noundef 144) br label %26 21: ; preds = %1 %22 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 38, i32 noundef 142) %23 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 19, i32 noundef 160) %24 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 20, i32 noundef 160) br label %26 25: ; preds = %1 br label %26 26: ; preds = %25, %21, %17, %13, %9, %5 ret void } declare i32 @VIM_SIF_I2cWriteByte(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/tmpb54mqc31.c' source_filename = "/tmp/tmpb54mqc31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0xbd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0xbd() #0 { %1 = call i64 @islower(i32 noundef 189) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 950, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(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/tmpb54mqc31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0xbd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0xbd() #0 { %1 = call i64 @islower(i32 noundef 189) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 950, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(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/tmpqj4y33va.c' source_filename = "/tmp/tmpqj4y33va.c" target datalayout = "e-m:e-p270: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/tmpqj4y33va.c" target datalayout = "e-m:e-p270: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/tmpih2izj7t.c' source_filename = "/tmp/tmpih2izj7t.c" target datalayout = "e-m:e-p270: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, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [29 x i8] c"%02d-%02d-%02d.%02d%02d%02d.\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"USER\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Get_File_Spec() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [57 x i8], align 16 %5 = alloca ptr, align 8 store ptr null, ptr %5, align 8 %6 = call i32 @time(ptr noundef null) store i32 %6, ptr %2, align 4 %7 = call ptr @localtime(ptr noundef %2) store ptr %7, ptr %1, align 8 %8 = getelementptr inbounds [57 x i8], ptr %4, i64 0, i64 0 %9 = load ptr, ptr %1, align 8 %10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = load ptr, ptr %1, align 8 %13 = getelementptr inbounds %struct.tm, ptr %12, i32 0, i32 1 %14 = load i32, ptr %13, align 4 %15 = add nsw i32 %14, 1 %16 = load ptr, ptr %1, align 8 %17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 2 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %1, align 8 %20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 3 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %1, align 8 %23 = getelementptr inbounds %struct.tm, ptr %22, i32 0, i32 4 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %1, align 8 %26 = getelementptr inbounds %struct.tm, ptr %25, i32 0, i32 5 %27 = load i32, ptr %26, align 4 %28 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %11, i32 noundef %15, i32 noundef %18, i32 noundef %21, i32 noundef %24, i32 noundef %27) %29 = call ptr @getenv(ptr noundef @.str.1) store ptr %29, ptr %3, align 8 %30 = getelementptr inbounds [57 x i8], ptr %4, i64 0, i64 0 %31 = call i32 @strlen(ptr noundef %30) %32 = load ptr, ptr %3, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = add nsw i32 %31, %33 %35 = add nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = mul i64 1, %36 %38 = trunc i64 %37 to i32 %39 = call i64 @malloc(i32 noundef %38) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %5, align 8 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 0 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds [57 x i8], ptr %4, i64 0, i64 0 %45 = call i32 @strcat(ptr noundef %43, ptr noundef %44) %46 = load ptr, ptr %5, align 8 %47 = load ptr, ptr %3, align 8 %48 = call i32 @strcat(ptr noundef %46, ptr noundef %47) %49 = load ptr, ptr %5, align 8 ret ptr %49 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(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/tmpih2izj7t.c" target datalayout = "e-m:e-p270: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, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [29 x i8] c"%02d-%02d-%02d.%02d%02d%02d.\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"USER\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Get_File_Spec() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [57 x i8], align 16 %5 = alloca ptr, align 8 store ptr null, ptr %5, align 8 %6 = call i32 @time(ptr noundef null) store i32 %6, ptr %2, align 4 %7 = call ptr @localtime(ptr noundef %2) store ptr %7, ptr %1, align 8 %8 = getelementptr inbounds [57 x i8], ptr %4, i64 0, i64 0 %9 = load ptr, ptr %1, align 8 %10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = load ptr, ptr %1, align 8 %13 = getelementptr inbounds %struct.tm, ptr %12, i32 0, i32 1 %14 = load i32, ptr %13, align 4 %15 = add nsw i32 %14, 1 %16 = load ptr, ptr %1, align 8 %17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 2 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %1, align 8 %20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 3 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %1, align 8 %23 = getelementptr inbounds %struct.tm, ptr %22, i32 0, i32 4 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %1, align 8 %26 = getelementptr inbounds %struct.tm, ptr %25, i32 0, i32 5 %27 = load i32, ptr %26, align 4 %28 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %11, i32 noundef %15, i32 noundef %18, i32 noundef %21, i32 noundef %24, i32 noundef %27) %29 = call ptr @getenv(ptr noundef @.str.1) store ptr %29, ptr %3, align 8 %30 = getelementptr inbounds [57 x i8], ptr %4, i64 0, i64 0 %31 = call i32 @strlen(ptr noundef %30) %32 = load ptr, ptr %3, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = add nsw i32 %31, %33 %35 = add nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = mul i64 1, %36 %38 = trunc i64 %37 to i32 %39 = call i64 @malloc(i32 noundef %38) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %5, align 8 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 0 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds [57 x i8], ptr %4, i64 0, i64 0 %45 = call i32 @strcat(ptr noundef %43, ptr noundef %44) %46 = load ptr, ptr %5, align 8 %47 = load ptr, ptr %3, align 8 %48 = call i32 @strcat(ptr noundef %46, ptr noundef %47) %49 = load ptr, ptr %5, align 8 ret ptr %49 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(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/tmpn3smjq0w.c' source_filename = "/tmp/tmpn3smjq0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.4f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2) %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4) %7 = load float, ptr %3, align 4 %8 = load float, ptr %1, align 4 %9 = fsub float %7, %8 %10 = load float, ptr %3, align 4 %11 = load float, ptr %1, align 4 %12 = fsub float %10, %11 %13 = load float, ptr %4, align 4 %14 = load float, ptr %2, align 4 %15 = fsub float %13, %14 %16 = load float, ptr %4, align 4 %17 = load float, ptr %2, align 4 %18 = fsub float %16, %17 %19 = fmul float %15, %18 %20 = call float @llvm.fmuladd.f32(float %9, float %12, float %19) %21 = call double @sqrt(float noundef %20) %22 = call i32 @printf(ptr noundef @.str.1, double noundef %21) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 declare double @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn3smjq0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.4f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2) %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4) %7 = load float, ptr %3, align 4 %8 = load float, ptr %1, align 4 %9 = fsub float %7, %8 %10 = load float, ptr %3, align 4 %11 = load float, ptr %1, align 4 %12 = fsub float %10, %11 %13 = load float, ptr %4, align 4 %14 = load float, ptr %2, align 4 %15 = fsub float %13, %14 %16 = load float, ptr %4, align 4 %17 = load float, ptr %2, align 4 %18 = fsub float %16, %17 %19 = fmul float %15, %18 %20 = call float @llvm.fmuladd.f32(float %9, float %12, float %19) %21 = call double @sqrt(float noundef %20) %22 = call i32 @printf(ptr noundef @.str.1, double noundef %21) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 declare double @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp56zjao1k.c' source_filename = "/tmp/tmp56zjao1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BrzBinaryFuncConstR_ackdown(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = call i32 @SEND_ACKDOWN_DELAYED(i32 noundef 0, i32 noundef 0) ret void } declare i32 @SEND_ACKDOWN_DELAYED(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/tmp56zjao1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BrzBinaryFuncConstR_ackdown(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = call i32 @SEND_ACKDOWN_DELAYED(i32 noundef 0, i32 noundef 0) ret void } declare i32 @SEND_ACKDOWN_DELAYED(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/tmp9a4abgz_.c' source_filename = "/tmp/tmp9a4abgz_.c" target datalayout = "e-m:e-p270: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/tmp9a4abgz_.c" target datalayout = "e-m:e-p270: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/tmpkuzdmuij.c' source_filename = "/tmp/tmpkuzdmuij.c" target datalayout = "e-m:e-p270: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 [25 x i8] c"SmackFS is not mounted.\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"/etc/smack/accesses.d\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"/etc/smack/cipso.d\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"/etc/smack/onlycap\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @smack_load_policy() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @smack_smackfs_path() %4 = icmp ne i32 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %0 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %36 8: ; preds = %0 %9 = call i64 (...) @clear() %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %8 store i32 -1, ptr %1, align 4 br label %36 12: ; preds = %8 %13 = call i64 @apply_rules(ptr noundef @.str.1, i32 noundef 0) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 -1, ptr %1, align 4 br label %36 16: ; preds = %12 %17 = call i64 @apply_cipso(ptr noundef @.str.2) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 -1, ptr %1, align 4 br label %36 20: ; preds = %16 %21 = load i32, ptr @O_RDONLY, align 4 %22 = call i32 @open(ptr noundef @.str.3, i32 noundef %21) store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %20 store i32 -1, ptr %1, align 4 br label %36 26: ; preds = %20 %27 = load i32, ptr %2, align 4 %28 = call i64 @smack_set_onlycap_from_file(i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = load i32, ptr %2, align 4 %32 = call i32 @close(i32 noundef %31) store i32 -1, ptr %1, align 4 br label %36 33: ; preds = %26 %34 = load i32, ptr %2, align 4 %35 = call i32 @close(i32 noundef %34) store i32 0, ptr %1, align 4 br label %36 36: ; preds = %33, %30, %25, %19, %15, %11, %5 %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i32 @smack_smackfs_path(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @clear(...) #1 declare i64 @apply_rules(ptr noundef, i32 noundef) #1 declare i64 @apply_cipso(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @smack_set_onlycap_from_file(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/tmpkuzdmuij.c" target datalayout = "e-m:e-p270: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 [25 x i8] c"SmackFS is not mounted.\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"/etc/smack/accesses.d\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"/etc/smack/cipso.d\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"/etc/smack/onlycap\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @smack_load_policy() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @smack_smackfs_path() %4 = icmp ne i32 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %0 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %36 8: ; preds = %0 %9 = call i64 (...) @clear() %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %8 store i32 -1, ptr %1, align 4 br label %36 12: ; preds = %8 %13 = call i64 @apply_rules(ptr noundef @.str.1, i32 noundef 0) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 -1, ptr %1, align 4 br label %36 16: ; preds = %12 %17 = call i64 @apply_cipso(ptr noundef @.str.2) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 -1, ptr %1, align 4 br label %36 20: ; preds = %16 %21 = load i32, ptr @O_RDONLY, align 4 %22 = call i32 @open(ptr noundef @.str.3, i32 noundef %21) store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %20 store i32 -1, ptr %1, align 4 br label %36 26: ; preds = %20 %27 = load i32, ptr %2, align 4 %28 = call i64 @smack_set_onlycap_from_file(i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = load i32, ptr %2, align 4 %32 = call i32 @close(i32 noundef %31) store i32 -1, ptr %1, align 4 br label %36 33: ; preds = %26 %34 = load i32, ptr %2, align 4 %35 = call i32 @close(i32 noundef %34) store i32 0, ptr %1, align 4 br label %36 36: ; preds = %33, %30, %25, %19, %15, %11, %5 %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i32 @smack_smackfs_path(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @clear(...) #1 declare i64 @apply_rules(ptr noundef, i32 noundef) #1 declare i64 @apply_cipso(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @smack_set_onlycap_from_file(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/tmpx5697hce.c' source_filename = "/tmp/tmpx5697hce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func1(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %27, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %30 11: ; preds = %7 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %12, %13 %15 = sitofp i32 %14 to double %16 = call i64 @sin(double noundef %15) %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %3, align 4 %19 = mul nsw i32 2, %18 %20 = add nsw i32 %17, %19 %21 = sitofp i32 %20 to double %22 = call i64 @cos(double noundef %21) %23 = add nsw i64 %16, %22 %24 = sitofp i64 %23 to double %25 = load double, ptr %6, align 8 %26 = fadd double %25, %24 store double %26, ptr %6, align 8 br label %27 27: ; preds = %11 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %7, !llvm.loop !6 30: ; preds = %7 %31 = load double, ptr %6, align 8 ret double %31 } declare i64 @sin(double noundef) #1 declare i64 @cos(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx5697hce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func1(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %26 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %11, %12 %14 = sitofp i32 %13 to double %15 = call i64 @sin(double noundef %14) %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %3, align 4 %18 = mul nsw i32 2, %17 %19 = add nsw i32 %16, %18 %20 = sitofp i32 %19 to double %21 = call i64 @cos(double noundef %20) %22 = add nsw i64 %15, %21 %23 = sitofp i64 %22 to double %24 = load double, ptr %6, align 8 %25 = fadd double %24, %23 store double %25, ptr %6, align 8 br label %26 26: ; preds = %10 %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 %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %2 %33 = load double, ptr %6, align 8 ret double %33 } declare i64 @sin(double noundef) #1 declare i64 @cos(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvs0l4zm6.c' source_filename = "/tmp/tmpvs0l4zm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i322ptr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @xmalloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 store i32 %5, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare ptr @xmalloc(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/tmpvs0l4zm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i322ptr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @xmalloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 store i32 %5, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare ptr @xmalloc(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/tmpdhfs5sf_.c' source_filename = "/tmp/tmpdhfs5sf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @advance_to_sequence_name(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 @line_length(ptr noundef %3) ret void } declare i32 @line_length(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdhfs5sf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @advance_to_sequence_name(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 @line_length(ptr noundef %3) ret void } declare i32 @line_length(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_g0jc0ts.c' source_filename = "/tmp/tmp_g0jc0ts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_and252_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 = and i32 %15, 252 %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/tmp_g0jc0ts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_and252_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 = and i32 %14, 252 %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/tmpd6msyg_p.c' source_filename = "/tmp/tmpd6msyg_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recursive(i32 noundef 100) ret i32 %2 } declare i32 @recursive(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/tmpd6msyg_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recursive(i32 noundef 100) ret i32 %2 } declare i32 @recursive(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/tmp27uug9_o.c' source_filename = "/tmp/tmp27uug9_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Lo e'\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 1, ptr %4, align 4 store i32 1, ptr %5, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %5, align 4 %10 = mul i32 %9, %8 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = add i32 %11, 1 store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %17, %0 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp ule i32 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2) br label %13, !llvm.loop !6 19: ; preds = %13 %20 = load i32, ptr %5, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp27uug9_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Lo e'\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 1, ptr %4, align 4 store i32 1, ptr %5, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %5, align 4 %10 = mul i32 %9, %8 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = add i32 %11, 1 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp ule i32 %13, %14 br i1 %15, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %16 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2) %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp ule i32 %18, %19 br i1 %20, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = load i32, ptr %5, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzueh7snp.c' source_filename = "/tmp/tmpzueh7snp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @render_sub_arc(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [255 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store double %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = load double, ptr %7, align 8 %14 = call i32 @count_sub_arc(ptr noundef %12, double noundef %13) store i32 %14, ptr %9, align 4 %15 = call i64 (...) @error() %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %3 store i32 0, ptr %4, align 4 br label %31 18: ; preds = %3 %19 = load i32, ptr %9, align 4 %20 = sub nsw i32 %19, 1 store i32 %20, ptr %8, align 4 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %9, align 4 %23 = call ptr @geo_sub_arc(ptr noundef %21, i32 noundef %22) store ptr %23, ptr %10, align 8 %24 = call i64 (...) @error() %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %18 store i32 0, ptr %4, align 4 br label %31 27: ; preds = %18 %28 = load ptr, ptr %10, align 8 %29 = load ptr, ptr %6, align 8 store ptr %28, ptr %29, align 8 %30 = load i32, ptr %9, align 4 store i32 %30, ptr %4, align 4 br label %31 31: ; preds = %27, %26, %17 %32 = load i32, ptr %4, align 4 ret i32 %32 } declare i32 @count_sub_arc(ptr noundef, double noundef) #1 declare i64 @error(...) #1 declare ptr @geo_sub_arc(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/tmpzueh7snp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @render_sub_arc(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [255 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store double %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = load double, ptr %7, align 8 %14 = call i32 @count_sub_arc(ptr noundef %12, double noundef %13) store i32 %14, ptr %9, align 4 %15 = call i64 (...) @error() %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %3 store i32 0, ptr %4, align 4 br label %31 18: ; preds = %3 %19 = load i32, ptr %9, align 4 %20 = sub nsw i32 %19, 1 store i32 %20, ptr %8, align 4 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %9, align 4 %23 = call ptr @geo_sub_arc(ptr noundef %21, i32 noundef %22) store ptr %23, ptr %10, align 8 %24 = call i64 (...) @error() %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %18 store i32 0, ptr %4, align 4 br label %31 27: ; preds = %18 %28 = load ptr, ptr %10, align 8 %29 = load ptr, ptr %6, align 8 store ptr %28, ptr %29, align 8 %30 = load i32, ptr %9, align 4 store i32 %30, ptr %4, align 4 br label %31 31: ; preds = %27, %26, %17 %32 = load i32, ptr %4, align 4 ret i32 %32 } declare i32 @count_sub_arc(ptr noundef, double noundef) #1 declare i64 @error(...) #1 declare ptr @geo_sub_arc(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/tmpq_fhm46d.c' source_filename = "/tmp/tmpq_fhm46d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @cdops_init() %3 = call i32 (...) @init_tmr0() %4 = call i32 (...) @aica_init() %5 = call i32 @clrscr(i32 noundef 31) %6 = call i32 (...) @check_cable() %7 = call i32 @init_video(i32 noundef %6, i32 noundef 1) %8 = call i32 (...) @run_test() br label %9 9: ; preds = %9, %0 br label %9 } declare i32 @cdops_init(...) #1 declare i32 @init_tmr0(...) #1 declare i32 @aica_init(...) #1 declare i32 @clrscr(i32 noundef) #1 declare i32 @init_video(i32 noundef, i32 noundef) #1 declare i32 @check_cable(...) #1 declare i32 @run_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_fhm46d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @cdops_init() %3 = call i32 (...) @init_tmr0() %4 = call i32 (...) @aica_init() %5 = call i32 @clrscr(i32 noundef 31) %6 = call i32 (...) @check_cable() %7 = call i32 @init_video(i32 noundef %6, i32 noundef 1) %8 = call i32 (...) @run_test() br label %9 9: ; preds = %9, %0 br label %9 } declare i32 @cdops_init(...) #1 declare i32 @init_tmr0(...) #1 declare i32 @aica_init(...) #1 declare i32 @clrscr(i32 noundef) #1 declare i32 @init_video(i32 noundef, i32 noundef) #1 declare i32 @check_cable(...) #1 declare i32 @run_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprt3ggvur.c' source_filename = "/tmp/tmprt3ggvur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#### Leak Memory test ####\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 (...) @leak_memory() %4 = call i32 (...) @other_func() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @leak_memory(...) #1 declare i32 @other_func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprt3ggvur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#### Leak Memory test ####\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 (...) @leak_memory() %4 = call i32 (...) @other_func() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @leak_memory(...) #1 declare i32 @other_func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmcngk5x_.c' source_filename = "/tmp/tmpmcngk5x_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmcngk5x_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsc_sylho.c' source_filename = "/tmp/tmpsc_sylho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ddot(i32 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 i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 1, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call double @ddot_(ptr noundef %4, ptr noundef %8, ptr noundef %7, ptr noundef %9, ptr noundef %7) ret double %10 } declare double @ddot_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsc_sylho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ddot(i32 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 i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 1, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call double @ddot_(ptr noundef %4, ptr noundef %8, ptr noundef %7, ptr noundef %9, ptr noundef %7) ret double %10 } declare double @ddot_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpheeyw5tt.c' source_filename = "/tmp/tmpheeyw5tt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGSTOP = dso_local global i32 0, align 4 @SYS_getpid = dso_local global i32 0, align 4 @SYS_getppid = dso_local global i32 0, align 4 @SYS_kill = 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/tmpheeyw5tt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGSTOP = dso_local global i32 0, align 4 @SYS_getpid = dso_local global i32 0, align 4 @SYS_getppid = dso_local global i32 0, align 4 @SYS_kill = 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/tmplnzilwzh.c' source_filename = "/tmp/tmplnzilwzh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cot(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 @cos(double noundef %3) #2 %5 = load double, ptr %2, align 8 %6 = call double @sin(double noundef %5) #2 %7 = fdiv double %4, %6 ret double %7 } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplnzilwzh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cot(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 @cos(double noundef %3) #2 %5 = load double, ptr %2, align 8 %6 = call double @sin(double noundef %5) #2 %7 = fdiv double %4, %6 ret double %7 } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxt1x4bmr.c' source_filename = "/tmp/tmpxt1x4bmr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @hash2(ptr noundef %5, i32 noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @hash2(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxt1x4bmr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @hash2(ptr noundef %5, i32 noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @hash2(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp37e38gy2.c' source_filename = "/tmp/tmp37e38gy2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp37e38gy2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuflelt7x.c' source_filename = "/tmp/tmpuflelt7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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");\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @priv_alloc_end(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 @fprintf(ptr noundef %3, ptr noundef @.str) ret void } declare i32 @fprintf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuflelt7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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");\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @priv_alloc_end(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 @fprintf(ptr noundef %3, ptr noundef @.str) ret void } declare i32 @fprintf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjtjrcdv9.c' source_filename = "/tmp/tmpjtjrcdv9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @stderr = dso_local global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjtjrcdv9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @stderr = dso_local global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcl8f1hn2.c' source_filename = "/tmp/tmpcl8f1hn2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @com_init() #0 { %1 = call i32 (...) @frame_init() %2 = call i32 (...) @enable_spi() %3 = call i32 (...) @enable_latch() ret void } declare i32 @frame_init(...) #1 declare i32 @enable_spi(...) #1 declare i32 @enable_latch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcl8f1hn2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @com_init() #0 { %1 = call i32 (...) @frame_init() %2 = call i32 (...) @enable_spi() %3 = call i32 (...) @enable_latch() ret void } declare i32 @frame_init(...) #1 declare i32 @enable_spi(...) #1 declare i32 @enable_latch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}