llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp5efrxchz.c' source_filename = "/tmp/tmp5efrxchz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Is the customer married (1=married, 0=unmarried)?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [52 x i8] c"Is the customer male of female (0=male, 1=female)?\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"What is the customer's age?\0A\00", align 1 @.str.4 = private unnamed_addr constant [41 x i8] c"The daily rate for the customer is:$%.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 1.000000e+02, ptr %9, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %16 = load i32, ptr %6, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %0 %19 = load float, ptr %9, align 4 %20 = fsub float %19, 1.000000e+01 store float %20, ptr %9, align 4 br label %21 21: ; preds = %18, %0 %22 = load i32, ptr %7, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %39 24: ; preds = %21 %25 = load i32, ptr %8, align 4 %26 = icmp slt i32 %25, 25 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load float, ptr %9, align 4 %29 = fmul float %28, 2.000000e+00 store float %29, ptr %9, align 4 br label %30 30: ; preds = %27, %24 %31 = load i32, ptr %8, align 4 %32 = icmp sgt i32 %31, 25 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load float, ptr %9, align 4 %35 = fpext float %34 to double %36 = fmul double %35, 1.500000e+00 %37 = fptrunc double %36 to float store float %37, ptr %9, align 4 br label %38 38: ; preds = %33, %30 br label %48 39: ; preds = %21 %40 = load i32, ptr %8, align 4 %41 = icmp slt i32 %40, 25 br i1 %41, label %42, label %47 42: ; preds = %39 %43 = load float, ptr %9, align 4 %44 = fpext float %43 to double %45 = fmul double %44, 1.500000e+00 %46 = fptrunc double %45 to float store float %46, ptr %9, align 4 br label %47 47: ; preds = %42, %39 br label %48 48: ; preds = %47, %38 %49 = load float, ptr %9, align 4 %50 = fpext float %49 to double %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %50) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5efrxchz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Is the customer married (1=married, 0=unmarried)?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [52 x i8] c"Is the customer male of female (0=male, 1=female)?\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"What is the customer's age?\0A\00", align 1 @.str.4 = private unnamed_addr constant [41 x i8] c"The daily rate for the customer is:$%.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 1.000000e+02, ptr %9, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %16 = load i32, ptr %6, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %0 %19 = load float, ptr %9, align 4 %20 = fsub float %19, 1.000000e+01 store float %20, ptr %9, align 4 br label %21 21: ; preds = %18, %0 %22 = load i32, ptr %7, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %39 24: ; preds = %21 %25 = load i32, ptr %8, align 4 %26 = icmp slt i32 %25, 25 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load float, ptr %9, align 4 %29 = fmul float %28, 2.000000e+00 store float %29, ptr %9, align 4 br label %30 30: ; preds = %27, %24 %31 = load i32, ptr %8, align 4 %32 = icmp sgt i32 %31, 25 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load float, ptr %9, align 4 %35 = fpext float %34 to double %36 = fmul double %35, 1.500000e+00 %37 = fptrunc double %36 to float store float %37, ptr %9, align 4 br label %38 38: ; preds = %33, %30 br label %48 39: ; preds = %21 %40 = load i32, ptr %8, align 4 %41 = icmp slt i32 %40, 25 br i1 %41, label %42, label %47 42: ; preds = %39 %43 = load float, ptr %9, align 4 %44 = fpext float %43 to double %45 = fmul double %44, 1.500000e+00 %46 = fptrunc double %45 to float store float %46, ptr %9, align 4 br label %47 47: ; preds = %42, %39 br label %48 48: ; preds = %47, %38 %49 = load float, ptr %9, align 4 %50 = fpext float %49 to double %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %50) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7q4_47p3.c' source_filename = "/tmp/tmp7q4_47p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"buffer size: %d MiB\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @assert(i32 noundef 1) store i64 67108864, ptr %6, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp sge i32 %12, 2 br i1 %13, label %14, label %26 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @atoi(ptr noundef %17) %19 = mul nsw i32 %18, 1024 %20 = mul nsw i32 %19, 1024 %21 = sext i32 %20 to i64 store i64 %21, ptr %6, align 8 %22 = load i64, ptr %6, align 8 %23 = icmp ugt i64 %22, 0 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) br label %26 26: ; preds = %14, %2 %27 = load i64, ptr %6, align 8 %28 = load i64, ptr %6, align 8 %29 = sub i64 %28, 1 %30 = and i64 %27, %29 %31 = icmp eq i64 %30, 0 %32 = zext i1 %31 to i32 %33 = call i32 @assert(i32 noundef %32) %34 = load i32, ptr @stdout, align 4 %35 = load i64, ptr %6, align 8 %36 = udiv i64 %35, 1024 %37 = udiv i64 %36, 1024 %38 = trunc i64 %37 to i32 %39 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str, i32 noundef %38) %40 = load i64, ptr %6, align 8 %41 = udiv i64 %40, 2 store i64 %41, ptr %7, align 8 %42 = load i64, ptr %6, align 8 %43 = call ptr @malloc(i64 noundef %42) store ptr %43, ptr %8, align 8 %44 = load ptr, ptr %8, align 8 %45 = load i64, ptr %7, align 8 %46 = getelementptr inbounds i16, ptr %44, i64 %45 store ptr %46, ptr %9, align 8 %47 = call i32 @srandom(i32 noundef 1234) store i64 0, ptr %10, align 8 br label %48 48: ; preds = %57, %26 %49 = load i64, ptr %10, align 8 %50 = load i64, ptr %7, align 8 %51 = icmp ult i64 %49, %50 br i1 %51, label %52, label %60 52: ; preds = %48 %53 = call zeroext i16 (...) @random() %54 = load ptr, ptr %8, align 8 %55 = load i64, ptr %10, align 8 %56 = getelementptr inbounds i16, ptr %54, i64 %55 store i16 %53, ptr %56, align 2 br label %57 57: ; preds = %52 %58 = load i64, ptr %10, align 8 %59 = add i64 %58, 1 store i64 %59, ptr %10, align 8 br label %48, !llvm.loop !6 60: ; preds = %48 %61 = load ptr, ptr %8, align 8 %62 = load ptr, ptr %9, align 8 %63 = load i64, ptr %7, align 8 %64 = load i64, ptr %7, align 8 %65 = call i32 @basic_test(ptr noundef %61, ptr noundef %62, i64 noundef %63, i64 noundef %64) %66 = load ptr, ptr %8, align 8 %67 = load ptr, ptr %9, align 8 %68 = load i64, ptr %7, align 8 %69 = load i64, ptr %7, align 8 %70 = call i32 @prefetch_test(ptr noundef %66, ptr noundef %67, i64 noundef %68, i64 noundef %69, i32 noundef 2) %71 = load ptr, ptr %8, align 8 %72 = load ptr, ptr %9, align 8 %73 = load i64, ptr %7, align 8 %74 = load i64, ptr %7, align 8 %75 = call i32 @prefetch_test(ptr noundef %71, ptr noundef %72, i64 noundef %73, i64 noundef %74, i32 noundef 3) %76 = load ptr, ptr %8, align 8 %77 = load ptr, ptr %9, align 8 %78 = load i64, ptr %7, align 8 %79 = load i64, ptr %7, align 8 %80 = call i32 @prefetch_test(ptr noundef %76, ptr noundef %77, i64 noundef %78, i64 noundef %79, i32 noundef 4) %81 = load ptr, ptr %8, align 8 %82 = load ptr, ptr %9, align 8 %83 = load i64, ptr %7, align 8 %84 = load i64, ptr %7, align 8 %85 = call i32 @prefetch_test(ptr noundef %81, ptr noundef %82, i64 noundef %83, i64 noundef %84, i32 noundef 6) %86 = load ptr, ptr %8, align 8 %87 = load ptr, ptr %9, align 8 %88 = load i64, ptr %7, align 8 %89 = load i64, ptr %7, align 8 %90 = call i32 @prefetch_test(ptr noundef %86, ptr noundef %87, i64 noundef %88, i64 noundef %89, i32 noundef 8) %91 = load ptr, ptr %8, align 8 %92 = load ptr, ptr %9, align 8 %93 = load i64, ptr %7, align 8 %94 = load i64, ptr %7, align 8 %95 = call i32 @prefetch_test(ptr noundef %91, ptr noundef %92, i64 noundef %93, i64 noundef %94, i32 noundef 12) %96 = load ptr, ptr %8, align 8 %97 = load ptr, ptr %9, align 8 %98 = load i64, ptr %7, align 8 %99 = load i64, ptr %7, align 8 %100 = call i32 @prefetch_test(ptr noundef %96, ptr noundef %97, i64 noundef %98, i64 noundef %99, i32 noundef 16) %101 = load ptr, ptr %8, align 8 %102 = call i32 @free(ptr noundef %101) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @srandom(i32 noundef) #1 declare zeroext i16 @random(...) #1 declare i32 @basic_test(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @prefetch_test(ptr noundef, ptr noundef, i64 noundef, i64 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/tmp7q4_47p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"buffer size: %d MiB\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @assert(i32 noundef 1) store i64 67108864, ptr %6, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp sge i32 %12, 2 br i1 %13, label %14, label %26 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @atoi(ptr noundef %17) %19 = mul nsw i32 %18, 1024 %20 = mul nsw i32 %19, 1024 %21 = sext i32 %20 to i64 store i64 %21, ptr %6, align 8 %22 = load i64, ptr %6, align 8 %23 = icmp ugt i64 %22, 0 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) br label %26 26: ; preds = %14, %2 %27 = load i64, ptr %6, align 8 %28 = load i64, ptr %6, align 8 %29 = sub i64 %28, 1 %30 = and i64 %27, %29 %31 = icmp eq i64 %30, 0 %32 = zext i1 %31 to i32 %33 = call i32 @assert(i32 noundef %32) %34 = load i32, ptr @stdout, align 4 %35 = load i64, ptr %6, align 8 %36 = udiv i64 %35, 1024 %37 = udiv i64 %36, 1024 %38 = trunc i64 %37 to i32 %39 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str, i32 noundef %38) %40 = load i64, ptr %6, align 8 %41 = udiv i64 %40, 2 store i64 %41, ptr %7, align 8 %42 = load i64, ptr %6, align 8 %43 = call ptr @malloc(i64 noundef %42) store ptr %43, ptr %8, align 8 %44 = load ptr, ptr %8, align 8 %45 = load i64, ptr %7, align 8 %46 = getelementptr inbounds i16, ptr %44, i64 %45 store ptr %46, ptr %9, align 8 %47 = call i32 @srandom(i32 noundef 1234) store i64 0, ptr %10, align 8 %48 = load i64, ptr %10, align 8 %49 = load i64, ptr %7, align 8 %50 = icmp ult i64 %48, %49 br i1 %50, label %.lr.ph, label %62 .lr.ph: ; preds = %26 br label %51 51: ; preds = %.lr.ph, %56 %52 = call zeroext i16 (...) @random() %53 = load ptr, ptr %8, align 8 %54 = load i64, ptr %10, align 8 %55 = getelementptr inbounds i16, ptr %53, i64 %54 store i16 %52, ptr %55, align 2 br label %56 56: ; preds = %51 %57 = load i64, ptr %10, align 8 %58 = add i64 %57, 1 store i64 %58, ptr %10, align 8 %59 = load i64, ptr %10, align 8 %60 = load i64, ptr %7, align 8 %61 = icmp ult i64 %59, %60 br i1 %61, label %51, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %26 %63 = load ptr, ptr %8, align 8 %64 = load ptr, ptr %9, align 8 %65 = load i64, ptr %7, align 8 %66 = load i64, ptr %7, align 8 %67 = call i32 @basic_test(ptr noundef %63, ptr noundef %64, i64 noundef %65, i64 noundef %66) %68 = load ptr, ptr %8, align 8 %69 = load ptr, ptr %9, align 8 %70 = load i64, ptr %7, align 8 %71 = load i64, ptr %7, align 8 %72 = call i32 @prefetch_test(ptr noundef %68, ptr noundef %69, i64 noundef %70, i64 noundef %71, i32 noundef 2) %73 = load ptr, ptr %8, align 8 %74 = load ptr, ptr %9, align 8 %75 = load i64, ptr %7, align 8 %76 = load i64, ptr %7, align 8 %77 = call i32 @prefetch_test(ptr noundef %73, ptr noundef %74, i64 noundef %75, i64 noundef %76, i32 noundef 3) %78 = load ptr, ptr %8, align 8 %79 = load ptr, ptr %9, align 8 %80 = load i64, ptr %7, align 8 %81 = load i64, ptr %7, align 8 %82 = call i32 @prefetch_test(ptr noundef %78, ptr noundef %79, i64 noundef %80, i64 noundef %81, i32 noundef 4) %83 = load ptr, ptr %8, align 8 %84 = load ptr, ptr %9, align 8 %85 = load i64, ptr %7, align 8 %86 = load i64, ptr %7, align 8 %87 = call i32 @prefetch_test(ptr noundef %83, ptr noundef %84, i64 noundef %85, i64 noundef %86, i32 noundef 6) %88 = load ptr, ptr %8, align 8 %89 = load ptr, ptr %9, align 8 %90 = load i64, ptr %7, align 8 %91 = load i64, ptr %7, align 8 %92 = call i32 @prefetch_test(ptr noundef %88, ptr noundef %89, i64 noundef %90, i64 noundef %91, i32 noundef 8) %93 = load ptr, ptr %8, align 8 %94 = load ptr, ptr %9, align 8 %95 = load i64, ptr %7, align 8 %96 = load i64, ptr %7, align 8 %97 = call i32 @prefetch_test(ptr noundef %93, ptr noundef %94, i64 noundef %95, i64 noundef %96, i32 noundef 12) %98 = load ptr, ptr %8, align 8 %99 = load ptr, ptr %9, align 8 %100 = load i64, ptr %7, align 8 %101 = load i64, ptr %7, align 8 %102 = call i32 @prefetch_test(ptr noundef %98, ptr noundef %99, i64 noundef %100, i64 noundef %101, i32 noundef 16) %103 = load ptr, ptr %8, align 8 %104 = call i32 @free(ptr noundef %103) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @srandom(i32 noundef) #1 declare zeroext i16 @random(...) #1 declare i32 @basic_test(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @prefetch_test(ptr noundef, ptr noundef, i64 noundef, i64 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/tmpctbvfo8r.c' source_filename = "/tmp/tmpctbvfo8r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"LC_ALL\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"LC_CTYPE\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"LANG\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"ASCII\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @locale_charset() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr null, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %0 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 0 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %36 12: ; preds = %6, %0 %13 = call ptr @getenv(ptr noundef @.str) store ptr %13, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %22, label %16 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %35 22: ; preds = %16, %12 %23 = call ptr @getenv(ptr noundef @.str.1) store ptr %23, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %32, label %26 26: ; preds = %22 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 0 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %26, %22 %33 = call ptr @getenv(ptr noundef @.str.2) store ptr %33, ptr %3, align 8 br label %34 34: ; preds = %32, %26 br label %35 35: ; preds = %34, %16 br label %36 36: ; preds = %35, %6 %37 = load ptr, ptr %3, align 8 store ptr %37, ptr %1, align 8 %38 = load ptr, ptr %1, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %41 40: ; preds = %36 store ptr @.str.3, ptr %1, align 8 br label %41 41: ; preds = %40, %36 %42 = call ptr (...) @get_charset_aliases() store ptr %42, ptr %2, align 8 br label %43 43: ; preds = %73, %41 %44 = load ptr, ptr %2, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %86 48: ; preds = %43 %49 = load ptr, ptr %1, align 8 %50 = load ptr, ptr %2, align 8 %51 = call i64 @strcmp(ptr noundef %49, ptr noundef %50) %52 = icmp eq i64 %51, 0 br i1 %52, label %65, label %53 53: ; preds = %48 %54 = load ptr, ptr %2, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 0 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 42 br i1 %58, label %59, label %72 59: ; preds = %53 %60 = load ptr, ptr %2, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 1 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 0 br i1 %64, label %65, label %72 65: ; preds = %59, %48 %66 = load ptr, ptr %2, align 8 %67 = load ptr, ptr %2, align 8 %68 = call i32 @strlen(ptr noundef %67) %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %66, i64 %69 %71 = getelementptr inbounds i8, ptr %70, i64 1 store ptr %71, ptr %1, align 8 br label %86 72: ; preds = %59, %53 br label %73 73: ; preds = %72 %74 = load ptr, ptr %2, align 8 %75 = call i32 @strlen(ptr noundef %74) %76 = add nsw i32 %75, 1 %77 = load ptr, ptr %2, align 8 %78 = sext i32 %76 to i64 %79 = getelementptr inbounds i8, ptr %77, i64 %78 store ptr %79, ptr %2, align 8 %80 = load ptr, ptr %2, align 8 %81 = call i32 @strlen(ptr noundef %80) %82 = add nsw i32 %81, 1 %83 = load ptr, ptr %2, align 8 %84 = sext i32 %82 to i64 %85 = getelementptr inbounds i8, ptr %83, i64 %84 store ptr %85, ptr %2, align 8 br label %43, !llvm.loop !6 86: ; preds = %65, %43 %87 = load ptr, ptr %1, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 0 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i32 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %93 92: ; preds = %86 store ptr @.str.4, ptr %1, align 8 br label %93 93: ; preds = %92, %86 %94 = load ptr, ptr %1, align 8 ret ptr %94 } declare ptr @getenv(ptr noundef) #1 declare ptr @get_charset_aliases(...) #1 declare i64 @strcmp(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpctbvfo8r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"LC_ALL\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"LC_CTYPE\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"LANG\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"ASCII\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @locale_charset() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr null, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %0 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 0 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %36 12: ; preds = %6, %0 %13 = call ptr @getenv(ptr noundef @.str) store ptr %13, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %22, label %16 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %35 22: ; preds = %16, %12 %23 = call ptr @getenv(ptr noundef @.str.1) store ptr %23, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %32, label %26 26: ; preds = %22 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 0 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %26, %22 %33 = call ptr @getenv(ptr noundef @.str.2) store ptr %33, ptr %3, align 8 br label %34 34: ; preds = %32, %26 br label %35 35: ; preds = %34, %16 br label %36 36: ; preds = %35, %6 %37 = load ptr, ptr %3, align 8 store ptr %37, ptr %1, align 8 %38 = load ptr, ptr %1, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %41 40: ; preds = %36 store ptr @.str.3, ptr %1, align 8 br label %41 41: ; preds = %40, %36 %42 = call ptr (...) @get_charset_aliases() store ptr %42, ptr %2, align 8 %43 = load ptr, ptr %2, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 0 br i1 %46, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %41 br label %47 47: ; preds = %.lr.ph, %72 %48 = load ptr, ptr %1, align 8 %49 = load ptr, ptr %2, align 8 %50 = call i64 @strcmp(ptr noundef %48, ptr noundef %49) %51 = icmp eq i64 %50, 0 br i1 %51, label %64, label %52 52: ; preds = %47 %53 = load ptr, ptr %2, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 0 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 42 br i1 %57, label %58, label %71 58: ; preds = %52 %59 = load ptr, ptr %2, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %71 64: ; preds = %58, %47 %65 = load ptr, ptr %2, align 8 %66 = load ptr, ptr %2, align 8 %67 = call i32 @strlen(ptr noundef %66) %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 %70 = getelementptr inbounds i8, ptr %69, i64 1 store ptr %70, ptr %1, align 8 br label %89 71: ; preds = %58, %52 br label %72 72: ; preds = %71 %73 = load ptr, ptr %2, align 8 %74 = call i32 @strlen(ptr noundef %73) %75 = add nsw i32 %74, 1 %76 = load ptr, ptr %2, align 8 %77 = sext i32 %75 to i64 %78 = getelementptr inbounds i8, ptr %76, i64 %77 store ptr %78, ptr %2, align 8 %79 = load ptr, ptr %2, align 8 %80 = call i32 @strlen(ptr noundef %79) %81 = add nsw i32 %80, 1 %82 = load ptr, ptr %2, align 8 %83 = sext i32 %81 to i64 %84 = getelementptr inbounds i8, ptr %82, i64 %83 store ptr %84, ptr %2, align 8 %85 = load ptr, ptr %2, align 8 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = icmp ne i32 %87, 0 br i1 %88, label %47, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %72 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %41 br label %89 89: ; preds = %.loopexit, %64 %90 = load ptr, ptr %1, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 0 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 0 br i1 %94, label %95, label %96 95: ; preds = %89 store ptr @.str.4, ptr %1, align 8 br label %96 96: ; preds = %95, %89 %97 = load ptr, ptr %1, align 8 ret ptr %97 } declare ptr @getenv(ptr noundef) #1 declare ptr @get_charset_aliases(...) #1 declare i64 @strcmp(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"}
; ModuleID = '/tmp/tmpiweh7gr8.c' source_filename = "/tmp/tmpiweh7gr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiweh7gr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwgesmaqo.c' source_filename = "/tmp/tmpwgesmaqo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_millisleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.timespec, align 4 %5 = alloca %struct.timespec, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ugt i32 %6, 999 br i1 %7, label %8, label %22 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = udiv i32 %9, 1000 %11 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 store i32 %10, ptr %11, align 4 %12 = load i32, ptr %3, align 4 %13 = zext i32 %12 to i64 %14 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = sext i32 %15 to i64 %17 = mul nsw i64 %16, 1000 %18 = sub nsw i64 %13, %17 %19 = mul nsw i64 %18, 1000000 %20 = trunc i64 %19 to i32 %21 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 store i32 %20, ptr %21, align 4 br label %27 22: ; preds = %1 %23 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 store i32 0, ptr %23, align 4 %24 = load i32, ptr %3, align 4 %25 = mul i32 %24, 1000000 %26 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 store i32 %25, ptr %26, align 4 br label %27 27: ; preds = %22, %8 %28 = call i64 @nanosleep(ptr noundef %4, ptr noundef %5) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 0, ptr %2, align 4 br label %39 31: ; preds = %27 %32 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %33 = load i32, ptr %32, align 4 %34 = mul nsw i32 %33, 1000 %35 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %36 = load i32, ptr %35, align 4 %37 = udiv i32 %36, 1000000 %38 = add i32 %34, %37 store i32 %38, ptr %2, align 4 br label %39 39: ; preds = %31, %30 %40 = load i32, ptr %2, align 4 ret i32 %40 } declare i64 @nanosleep(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/tmpwgesmaqo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_millisleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.timespec, align 4 %5 = alloca %struct.timespec, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ugt i32 %6, 999 br i1 %7, label %8, label %22 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = udiv i32 %9, 1000 %11 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 store i32 %10, ptr %11, align 4 %12 = load i32, ptr %3, align 4 %13 = zext i32 %12 to i64 %14 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = sext i32 %15 to i64 %17 = mul nsw i64 %16, 1000 %18 = sub nsw i64 %13, %17 %19 = mul nsw i64 %18, 1000000 %20 = trunc i64 %19 to i32 %21 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 store i32 %20, ptr %21, align 4 br label %27 22: ; preds = %1 %23 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 store i32 0, ptr %23, align 4 %24 = load i32, ptr %3, align 4 %25 = mul i32 %24, 1000000 %26 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 store i32 %25, ptr %26, align 4 br label %27 27: ; preds = %22, %8 %28 = call i64 @nanosleep(ptr noundef %4, ptr noundef %5) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 0, ptr %2, align 4 br label %39 31: ; preds = %27 %32 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %33 = load i32, ptr %32, align 4 %34 = mul nsw i32 %33, 1000 %35 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %36 = load i32, ptr %35, align 4 %37 = udiv i32 %36, 1000000 %38 = add i32 %34, %37 store i32 %38, ptr %2, align 4 br label %39 39: ; preds = %31, %30 %40 = load i32, ptr %2, align 4 ret i32 %40 } declare i64 @nanosleep(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/tmpcom264wk.c' source_filename = "/tmp/tmpcom264wk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Jogo de Dados, (c) 2015\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"=======================\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 [7 x i8] c"*FIM*\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) %7 = call i32 (...) @rand() %8 = srem i32 %7, 6 %9 = add nsw i32 %8, 1 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %13 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %13 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcom264wk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Jogo de Dados, (c) 2015\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"=======================\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 [7 x i8] c"*FIM*\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) %7 = call i32 (...) @rand() %8 = srem i32 %7, 6 %9 = add nsw i32 %8, 1 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %13 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %13 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvyml__34.c' source_filename = "/tmp/tmpvyml__34.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"ERROR: Invalid input_file\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"ERROR: Invalid buff\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"ERROR: Fail to open %s (%s)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [12 x i8] c"Reading %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"ERROR: Fail to read %s (%s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @file2buff(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %3 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %53 14: ; preds = %3 %15 = load ptr, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1) store i32 -1, ptr %4, align 4 br label %53 20: ; preds = %14 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr @O_RDONLY, align 4 %23 = call i32 @open(ptr noundef %21, i32 noundef %22) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %32 26: ; preds = %20 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr @errno, align 4 %30 = call ptr @strerror(i32 noundef %29) %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.2, ptr noundef %28, ptr noundef %30) store i32 -1, ptr %4, align 4 br label %53 32: ; preds = %20 %33 = load i32, ptr @stdout, align 4 %34 = load ptr, ptr %5, align 8 %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.3, ptr noundef %34) %36 = load i32, ptr %8, align 4 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %7, align 4 %39 = call i32 @read(i32 noundef %36, ptr noundef %37, i32 noundef %38) %40 = load i32, ptr %7, align 4 %41 = icmp ne i32 %39, %40 br i1 %41, label %42, label %50 42: ; preds = %32 %43 = load i32, ptr @stderr, align 4 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr @errno, align 4 %46 = call ptr @strerror(i32 noundef %45) %47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.4, ptr noundef %44, ptr noundef %46) %48 = load i32, ptr %8, align 4 %49 = call i32 @close(i32 noundef %48) store i32 -1, ptr %4, align 4 br label %53 50: ; preds = %32 %51 = load i32, ptr %8, align 4 %52 = call i32 @close(i32 noundef %51) store i32 0, ptr %4, align 4 br label %53 53: ; preds = %50, %42, %26, %17, %11 %54 = load i32, ptr %4, align 4 ret i32 %54 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvyml__34.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"ERROR: Invalid input_file\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"ERROR: Invalid buff\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"ERROR: Fail to open %s (%s)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [12 x i8] c"Reading %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"ERROR: Fail to read %s (%s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @file2buff(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %3 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %53 14: ; preds = %3 %15 = load ptr, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1) store i32 -1, ptr %4, align 4 br label %53 20: ; preds = %14 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr @O_RDONLY, align 4 %23 = call i32 @open(ptr noundef %21, i32 noundef %22) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %32 26: ; preds = %20 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr @errno, align 4 %30 = call ptr @strerror(i32 noundef %29) %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.2, ptr noundef %28, ptr noundef %30) store i32 -1, ptr %4, align 4 br label %53 32: ; preds = %20 %33 = load i32, ptr @stdout, align 4 %34 = load ptr, ptr %5, align 8 %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.3, ptr noundef %34) %36 = load i32, ptr %8, align 4 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %7, align 4 %39 = call i32 @read(i32 noundef %36, ptr noundef %37, i32 noundef %38) %40 = load i32, ptr %7, align 4 %41 = icmp ne i32 %39, %40 br i1 %41, label %42, label %50 42: ; preds = %32 %43 = load i32, ptr @stderr, align 4 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr @errno, align 4 %46 = call ptr @strerror(i32 noundef %45) %47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.4, ptr noundef %44, ptr noundef %46) %48 = load i32, ptr %8, align 4 %49 = call i32 @close(i32 noundef %48) store i32 -1, ptr %4, align 4 br label %53 50: ; preds = %32 %51 = load i32, ptr %8, align 4 %52 = call i32 @close(i32 noundef %51) store i32 0, ptr %4, align 4 br label %53 53: ; preds = %50, %42, %26, %17, %11 %54 = load i32, ptr %4, align 4 ret i32 %54 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp501momfw.c' source_filename = "/tmp/tmp501momfw.c" target datalayout = "e-m:e-p270: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 { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XFontProp_card32(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 ret i64 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp501momfw.c" target datalayout = "e-m:e-p270: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 { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XFontProp_card32(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 ret i64 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoe2m2xyp.c' source_filename = "/tmp/tmpoe2m2xyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"free_mem5Dint: trying to free unused memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @free_mem5Dint(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 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 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %32 12: ; preds = %4 store i32 0, ptr %9, align 4 br label %13 13: ; preds = %26, %12 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %29 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %8, align 4 %25 = call i32 @free_mem4Dint(ptr noundef %22, i32 noundef %23, i32 noundef %24) br label %26 26: ; preds = %17 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 br label %13, !llvm.loop !6 29: ; preds = %13 %30 = load ptr, ptr %5, align 8 %31 = call i32 @free(ptr noundef %30) br label %34 32: ; preds = %4 %33 = call i32 @error(ptr noundef @.str, i32 noundef 100) br label %34 34: ; preds = %32, %29 ret void } declare i32 @free_mem4Dint(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @error(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoe2m2xyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"free_mem5Dint: trying to free unused memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @free_mem5Dint(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 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 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %34 12: ; preds = %4 store i32 0, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %31 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %25 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %8, align 4 %24 = call i32 @free_mem4Dint(ptr noundef %21, i32 noundef %22, i32 noundef %23) br label %25 25: ; preds = %16 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %12 %32 = load ptr, ptr %5, align 8 %33 = call i32 @free(ptr noundef %32) br label %36 34: ; preds = %4 %35 = call i32 @error(ptr noundef @.str, i32 noundef 100) br label %36 36: ; preds = %34, %31 ret void } declare i32 @free_mem4Dint(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @error(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpuk1j7ijq.c' source_filename = "/tmp/tmpuk1j7ijq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"divrem\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"/ or %\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__ubsan_handle_divrem_overflow(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @ubsan_report_overflow(ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef @.str, ptr noundef @.str.1) ret void } declare i32 @ubsan_report_overflow(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/tmpuk1j7ijq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"divrem\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"/ or %\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__ubsan_handle_divrem_overflow(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @ubsan_report_overflow(ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef @.str, ptr noundef @.str.1) ret void } declare i32 @ubsan_report_overflow(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/tmpnxjif315.c' source_filename = "/tmp/tmpnxjif315.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 -81985529216486896, ptr %2, align 8 br i1 true, label %5, label %3 3: ; preds = %0 %4 = call i32 (...) @abort() #2 unreachable 5: ; preds = %0 %6 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @abort(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnxjif315.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 -81985529216486896, ptr %2, align 8 br i1 true, label %5, label %3 3: ; preds = %0 %4 = call i32 (...) @abort() #2 unreachable 5: ; preds = %0 %6 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @abort(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvd6dj1o0.c' source_filename = "/tmp/tmpvd6dj1o0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"pkexec lxqt-backlight_backend --stdin\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @lxqt_backlight_backend_get_write_stream() #0 { %1 = alloca ptr, align 8 %2 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 ret ptr %3 } declare ptr @popen(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/tmpvd6dj1o0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"pkexec lxqt-backlight_backend --stdin\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @lxqt_backlight_backend_get_write_stream() #0 { %1 = alloca ptr, align 8 %2 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 ret ptr %3 } declare ptr @popen(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/tmpoktrv04_.c' source_filename = "/tmp/tmpoktrv04_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @str_from_int.buf = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_from_int(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @sprintf(ptr noundef @str_from_int.buf, ptr noundef @.str, i32 noundef %3) ret ptr @str_from_int.buf } declare i32 @sprintf(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/tmpoktrv04_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @str_from_int.buf = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_from_int(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @sprintf(ptr noundef @str_from_int.buf, ptr noundef @.str, i32 noundef %3) ret ptr @str_from_int.buf } declare i32 @sprintf(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/tmpunw628x8.c' source_filename = "/tmp/tmpunw628x8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dummy_note_on() #0 { ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpunw628x8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dummy_note_on() #0 { ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpymggv2rr.c' source_filename = "/tmp/tmpymggv2rr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2funyz(ptr noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store float %3, ptr %12, align 4 store float %4, ptr %13, align 4 store float %5, ptr %14, align 4 store float %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %11, align 4 %20 = load float, ptr %12, align 4 %21 = load float, ptr %13, align 4 %22 = load float, ptr %14, align 4 %23 = load float, ptr %15, align 4 %24 = load i32, ptr %16, align 4 %25 = call i32 @_s2priv_funab(ptr noundef %17, i32 noundef %18, i32 noundef %19, float noundef %20, float noundef %21, float noundef %22, float noundef %23, i32 noundef 1, i32 noundef 2, i32 noundef %24, double noundef 0.000000e+00, double noundef -1.000000e+00) ret void } declare i32 @_s2priv_funab(ptr noundef, i32 noundef, i32 noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmpymggv2rr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2funyz(ptr noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store float %3, ptr %12, align 4 store float %4, ptr %13, align 4 store float %5, ptr %14, align 4 store float %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %11, align 4 %20 = load float, ptr %12, align 4 %21 = load float, ptr %13, align 4 %22 = load float, ptr %14, align 4 %23 = load float, ptr %15, align 4 %24 = load i32, ptr %16, align 4 %25 = call i32 @_s2priv_funab(ptr noundef %17, i32 noundef %18, i32 noundef %19, float noundef %20, float noundef %21, float noundef %22, float noundef %23, i32 noundef 1, i32 noundef 2, i32 noundef %24, double noundef 0.000000e+00, double noundef -1.000000e+00) ret void } declare i32 @_s2priv_funab(ptr noundef, i32 noundef, i32 noundef, float noundef, float noundef, float noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmpi1_jnq8n.c' source_filename = "/tmp/tmpi1_jnq8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"radius_earth: code_table 3.2 is unknown\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"radius of earth is %d m\00", align 1 @.str.3 = private unnamed_addr constant [66 x i8] c"Grid defintion 101 does not support user-defined major/minor axes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @radius_earth(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call ptr @code_table_3_2_location(ptr noundef %8) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %1 %13 = call i32 @fatal_error(ptr noundef @.str, ptr noundef @.str.1) br label %14 14: ; preds = %12, %1 %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 store i32 %17, ptr %3, align 4 store double 6.367470e+06, ptr %4, align 8 %18 = load i32, ptr %3, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %14 store double 6.367470e+06, ptr %4, align 8 br label %184 21: ; preds = %14 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %62 24: ; preds = %21 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 1 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = and i32 %28, 128 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %24 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = and i32 %35, 127 %37 = sub nsw i32 0, %36 br label %44 38: ; preds = %24 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 1 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = and i32 %42, 127 br label %44 44: ; preds = %38, %31 %45 = phi i32 [ %37, %31 ], [ %43, %38 ] store i32 %45, ptr %6, align 4 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 2 %48 = call i32 @int4(ptr noundef %47) store i32 %48, ptr %7, align 4 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %7, align 4 %51 = call double @scaled2dbl(i32 noundef %49, i32 noundef %50) store double %51, ptr %4, align 8 %52 = load double, ptr %4, align 8 %53 = fcmp olt double %52, 6.300000e+06 br i1 %53, label %57, label %54 54: ; preds = %44 %55 = load double, ptr %4, align 8 %56 = fcmp ogt double %55, 6.400000e+06 br i1 %56, label %57, label %61 57: ; preds = %54, %44 %58 = load double, ptr %4, align 8 %59 = fptosi double %58 to i32 %60 = call i32 @fatal_error_i(ptr noundef @.str.2, i32 noundef %59) br label %61 61: ; preds = %57, %54 br label %183 62: ; preds = %21 %63 = load i32, ptr %3, align 4 %64 = icmp eq i32 %63, 2 br i1 %64, label %65, label %66 65: ; preds = %62 store double 0x41584A3AE0000000, ptr %4, align 8 br label %182 66: ; preds = %62 %67 = load i32, ptr %3, align 4 %68 = icmp eq i32 %67, 3 br i1 %68, label %72, label %69 69: ; preds = %66 %70 = load i32, ptr %3, align 4 %71 = icmp eq i32 %70, 7 br i1 %71, label %72, label %156 72: ; preds = %69, %66 %73 = load ptr, ptr %2, align 8 %74 = getelementptr inbounds ptr, ptr %73, i64 3 %75 = load ptr, ptr %74, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 5 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = icmp eq i32 %78, 101 br i1 %79, label %80, label %82 80: ; preds = %72 %81 = call i32 @fatal_error(ptr noundef @.str.3, ptr noundef @.str.1) br label %82 82: ; preds = %80, %72 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 6 %85 = load i8, ptr %84, align 1 %86 = zext i8 %85 to i32 %87 = and i32 %86, 128 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %96 89: ; preds = %82 %90 = load ptr, ptr %5, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 6 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = and i32 %93, 127 %95 = sub nsw i32 0, %94 br label %102 96: ; preds = %82 %97 = load ptr, ptr %5, align 8 %98 = getelementptr inbounds i8, ptr %97, i64 6 %99 = load i8, ptr %98, align 1 %100 = zext i8 %99 to i32 %101 = and i32 %100, 127 br label %102 102: ; preds = %96, %89 %103 = phi i32 [ %95, %89 ], [ %101, %96 ] store i32 %103, ptr %6, align 4 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 7 %106 = call i32 @int4(ptr noundef %105) store i32 %106, ptr %7, align 4 %107 = load i32, ptr %6, align 4 %108 = load i32, ptr %7, align 4 %109 = call double @scaled2dbl(i32 noundef %107, i32 noundef %108) store double %109, ptr %4, align 8 %110 = load ptr, ptr %5, align 8 %111 = getelementptr inbounds i8, ptr %110, i64 11 %112 = load i8, ptr %111, align 1 %113 = zext i8 %112 to i32 %114 = and i32 %113, 128 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %123 116: ; preds = %102 %117 = load ptr, ptr %5, align 8 %118 = getelementptr inbounds i8, ptr %117, i64 11 %119 = load i8, ptr %118, align 1 %120 = zext i8 %119 to i32 %121 = and i32 %120, 127 %122 = sub nsw i32 0, %121 br label %129 123: ; preds = %102 %124 = load ptr, ptr %5, align 8 %125 = getelementptr inbounds i8, ptr %124, i64 11 %126 = load i8, ptr %125, align 1 %127 = zext i8 %126 to i32 %128 = and i32 %127, 127 br label %129 129: ; preds = %123, %116 %130 = phi i32 [ %122, %116 ], [ %128, %123 ] store i32 %130, ptr %6, align 4 %131 = load ptr, ptr %5, align 8 %132 = getelementptr inbounds i8, ptr %131, i64 12 %133 = call i32 @int4(ptr noundef %132) store i32 %133, ptr %7, align 4 %134 = load double, ptr %4, align 8 %135 = load i32, ptr %6, align 4 %136 = load i32, ptr %7, align 4 %137 = call double @scaled2dbl(i32 noundef %135, i32 noundef %136) %138 = fadd double %134, %137 %139 = fmul double %138, 5.000000e-01 store double %139, ptr %4, align 8 %140 = load i32, ptr %3, align 4 %141 = icmp eq i32 %140, 3 br i1 %141, label %142, label %145 142: ; preds = %129 %143 = load double, ptr %4, align 8 %144 = fmul double %143, 1.000000e+03 store double %144, ptr %4, align 8 br label %145 145: ; preds = %142, %129 %146 = load double, ptr %4, align 8 %147 = fcmp olt double %146, 6.300000e+06 br i1 %147, label %151, label %148 148: ; preds = %145 %149 = load double, ptr %4, align 8 %150 = fcmp ogt double %149, 6.400000e+06 br i1 %150, label %151, label %155 151: ; preds = %148, %145 %152 = load double, ptr %4, align 8 %153 = fptosi double %152 to i32 %154 = call i32 @fatal_error_i(ptr noundef @.str.2, i32 noundef %153) br label %155 155: ; preds = %151, %148 br label %181 156: ; preds = %69 %157 = load i32, ptr %3, align 4 %158 = icmp eq i32 %157, 4 br i1 %158, label %159, label %160 159: ; preds = %156 store double 0x41584A352A0C49BA, ptr %4, align 8 br label %180 160: ; preds = %156 %161 = load i32, ptr %3, align 4 %162 = icmp eq i32 %161, 5 br i1 %162, label %163, label %164 163: ; preds = %160 store double 0x41584A3527D70A3D, ptr %4, align 8 br label %179 164: ; preds = %160 %165 = load i32, ptr %3, align 4 %166 = icmp eq i32 %165, 6 br i1 %166, label %167, label %168 167: ; preds = %164 store double 0x41584DE740000000, ptr %4, align 8 br label %178 168: ; preds = %164 %169 = load i32, ptr %3, align 4 %170 = icmp eq i32 %169, 8 br i1 %170, label %171, label %172 171: ; preds = %168 store double 6.371200e+06, ptr %4, align 8 br label %177 172: ; preds = %168 %173 = load i32, ptr %3, align 4 %174 = icmp eq i32 %173, 9 br i1 %174, label %175, label %176 175: ; preds = %172 store double 0x415849AF89C28F5C, ptr %4, align 8 br label %176 176: ; preds = %175, %172 br label %177 177: ; preds = %176, %171 br label %178 178: ; preds = %177, %167 br label %179 179: ; preds = %178, %163 br label %180 180: ; preds = %179, %159 br label %181 181: ; preds = %180, %155 br label %182 182: ; preds = %181, %65 br label %183 183: ; preds = %182, %61 br label %184 184: ; preds = %183, %20 %185 = load double, ptr %4, align 8 ret double %185 } declare ptr @code_table_3_2_location(ptr noundef) #1 declare i32 @fatal_error(ptr noundef, ptr noundef) #1 declare i32 @int4(ptr noundef) #1 declare double @scaled2dbl(i32 noundef, i32 noundef) #1 declare i32 @fatal_error_i(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/tmpi1_jnq8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"radius_earth: code_table 3.2 is unknown\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"radius of earth is %d m\00", align 1 @.str.3 = private unnamed_addr constant [66 x i8] c"Grid defintion 101 does not support user-defined major/minor axes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @radius_earth(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call ptr @code_table_3_2_location(ptr noundef %8) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %1 %13 = call i32 @fatal_error(ptr noundef @.str, ptr noundef @.str.1) br label %14 14: ; preds = %12, %1 %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 store i32 %17, ptr %3, align 4 store double 6.367470e+06, ptr %4, align 8 %18 = load i32, ptr %3, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %14 store double 6.367470e+06, ptr %4, align 8 br label %184 21: ; preds = %14 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %62 24: ; preds = %21 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 1 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = and i32 %28, 128 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %24 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = and i32 %35, 127 %37 = sub nsw i32 0, %36 br label %44 38: ; preds = %24 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 1 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = and i32 %42, 127 br label %44 44: ; preds = %38, %31 %45 = phi i32 [ %37, %31 ], [ %43, %38 ] store i32 %45, ptr %6, align 4 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 2 %48 = call i32 @int4(ptr noundef %47) store i32 %48, ptr %7, align 4 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %7, align 4 %51 = call double @scaled2dbl(i32 noundef %49, i32 noundef %50) store double %51, ptr %4, align 8 %52 = load double, ptr %4, align 8 %53 = fcmp olt double %52, 6.300000e+06 br i1 %53, label %57, label %54 54: ; preds = %44 %55 = load double, ptr %4, align 8 %56 = fcmp ogt double %55, 6.400000e+06 br i1 %56, label %57, label %61 57: ; preds = %54, %44 %58 = load double, ptr %4, align 8 %59 = fptosi double %58 to i32 %60 = call i32 @fatal_error_i(ptr noundef @.str.2, i32 noundef %59) br label %61 61: ; preds = %57, %54 br label %183 62: ; preds = %21 %63 = load i32, ptr %3, align 4 %64 = icmp eq i32 %63, 2 br i1 %64, label %65, label %66 65: ; preds = %62 store double 0x41584A3AE0000000, ptr %4, align 8 br label %182 66: ; preds = %62 %67 = load i32, ptr %3, align 4 %68 = icmp eq i32 %67, 3 br i1 %68, label %72, label %69 69: ; preds = %66 %70 = load i32, ptr %3, align 4 %71 = icmp eq i32 %70, 7 br i1 %71, label %72, label %156 72: ; preds = %69, %66 %73 = load ptr, ptr %2, align 8 %74 = getelementptr inbounds ptr, ptr %73, i64 3 %75 = load ptr, ptr %74, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 5 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = icmp eq i32 %78, 101 br i1 %79, label %80, label %82 80: ; preds = %72 %81 = call i32 @fatal_error(ptr noundef @.str.3, ptr noundef @.str.1) br label %82 82: ; preds = %80, %72 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 6 %85 = load i8, ptr %84, align 1 %86 = zext i8 %85 to i32 %87 = and i32 %86, 128 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %96 89: ; preds = %82 %90 = load ptr, ptr %5, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 6 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = and i32 %93, 127 %95 = sub nsw i32 0, %94 br label %102 96: ; preds = %82 %97 = load ptr, ptr %5, align 8 %98 = getelementptr inbounds i8, ptr %97, i64 6 %99 = load i8, ptr %98, align 1 %100 = zext i8 %99 to i32 %101 = and i32 %100, 127 br label %102 102: ; preds = %96, %89 %103 = phi i32 [ %95, %89 ], [ %101, %96 ] store i32 %103, ptr %6, align 4 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 7 %106 = call i32 @int4(ptr noundef %105) store i32 %106, ptr %7, align 4 %107 = load i32, ptr %6, align 4 %108 = load i32, ptr %7, align 4 %109 = call double @scaled2dbl(i32 noundef %107, i32 noundef %108) store double %109, ptr %4, align 8 %110 = load ptr, ptr %5, align 8 %111 = getelementptr inbounds i8, ptr %110, i64 11 %112 = load i8, ptr %111, align 1 %113 = zext i8 %112 to i32 %114 = and i32 %113, 128 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %123 116: ; preds = %102 %117 = load ptr, ptr %5, align 8 %118 = getelementptr inbounds i8, ptr %117, i64 11 %119 = load i8, ptr %118, align 1 %120 = zext i8 %119 to i32 %121 = and i32 %120, 127 %122 = sub nsw i32 0, %121 br label %129 123: ; preds = %102 %124 = load ptr, ptr %5, align 8 %125 = getelementptr inbounds i8, ptr %124, i64 11 %126 = load i8, ptr %125, align 1 %127 = zext i8 %126 to i32 %128 = and i32 %127, 127 br label %129 129: ; preds = %123, %116 %130 = phi i32 [ %122, %116 ], [ %128, %123 ] store i32 %130, ptr %6, align 4 %131 = load ptr, ptr %5, align 8 %132 = getelementptr inbounds i8, ptr %131, i64 12 %133 = call i32 @int4(ptr noundef %132) store i32 %133, ptr %7, align 4 %134 = load double, ptr %4, align 8 %135 = load i32, ptr %6, align 4 %136 = load i32, ptr %7, align 4 %137 = call double @scaled2dbl(i32 noundef %135, i32 noundef %136) %138 = fadd double %134, %137 %139 = fmul double %138, 5.000000e-01 store double %139, ptr %4, align 8 %140 = load i32, ptr %3, align 4 %141 = icmp eq i32 %140, 3 br i1 %141, label %142, label %145 142: ; preds = %129 %143 = load double, ptr %4, align 8 %144 = fmul double %143, 1.000000e+03 store double %144, ptr %4, align 8 br label %145 145: ; preds = %142, %129 %146 = load double, ptr %4, align 8 %147 = fcmp olt double %146, 6.300000e+06 br i1 %147, label %151, label %148 148: ; preds = %145 %149 = load double, ptr %4, align 8 %150 = fcmp ogt double %149, 6.400000e+06 br i1 %150, label %151, label %155 151: ; preds = %148, %145 %152 = load double, ptr %4, align 8 %153 = fptosi double %152 to i32 %154 = call i32 @fatal_error_i(ptr noundef @.str.2, i32 noundef %153) br label %155 155: ; preds = %151, %148 br label %181 156: ; preds = %69 %157 = load i32, ptr %3, align 4 %158 = icmp eq i32 %157, 4 br i1 %158, label %159, label %160 159: ; preds = %156 store double 0x41584A352A0C49BA, ptr %4, align 8 br label %180 160: ; preds = %156 %161 = load i32, ptr %3, align 4 %162 = icmp eq i32 %161, 5 br i1 %162, label %163, label %164 163: ; preds = %160 store double 0x41584A3527D70A3D, ptr %4, align 8 br label %179 164: ; preds = %160 %165 = load i32, ptr %3, align 4 %166 = icmp eq i32 %165, 6 br i1 %166, label %167, label %168 167: ; preds = %164 store double 0x41584DE740000000, ptr %4, align 8 br label %178 168: ; preds = %164 %169 = load i32, ptr %3, align 4 %170 = icmp eq i32 %169, 8 br i1 %170, label %171, label %172 171: ; preds = %168 store double 6.371200e+06, ptr %4, align 8 br label %177 172: ; preds = %168 %173 = load i32, ptr %3, align 4 %174 = icmp eq i32 %173, 9 br i1 %174, label %175, label %176 175: ; preds = %172 store double 0x415849AF89C28F5C, ptr %4, align 8 br label %176 176: ; preds = %175, %172 br label %177 177: ; preds = %176, %171 br label %178 178: ; preds = %177, %167 br label %179 179: ; preds = %178, %163 br label %180 180: ; preds = %179, %159 br label %181 181: ; preds = %180, %155 br label %182 182: ; preds = %181, %65 br label %183 183: ; preds = %182, %61 br label %184 184: ; preds = %183, %20 %185 = load double, ptr %4, align 8 ret double %185 } declare ptr @code_table_3_2_location(ptr noundef) #1 declare i32 @fatal_error(ptr noundef, ptr noundef) #1 declare i32 @int4(ptr noundef) #1 declare double @scaled2dbl(i32 noundef, i32 noundef) #1 declare i32 @fatal_error_i(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/tmp44i8hk2y.c' source_filename = "/tmp/tmp44i8hk2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"LD_PRELOAD\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ldpreload_get() #0 { %1 = call ptr @getenv(ptr noundef @.str) ret ptr %1 } declare ptr @getenv(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/tmp44i8hk2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"LD_PRELOAD\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ldpreload_get() #0 { %1 = call ptr @getenv(ptr noundef @.str) ret ptr %1 } declare ptr @getenv(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/tmpleobg70q.c' source_filename = "/tmp/tmpleobg70q.c" target datalayout = "e-m:e-p270: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/tmpleobg70q.c" target datalayout = "e-m:e-p270: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/tmpoi26w2yl.c' source_filename = "/tmp/tmpoi26w2yl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tek1_getlt0(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @tek1_getdat(ptr noundef %6, i32 noundef 1) %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %73 9: ; preds = %2 %10 = load ptr, ptr %3, align 8 %11 = call i32 @tek1_getdat(ptr noundef %10, i32 noundef 2) store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %15, 2 store i32 %16, ptr %4, align 4 br label %17 17: ; preds = %14, %9 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = sdiv i32 %21, 2 store i32 %22, ptr %4, align 4 br label %23 23: ; preds = %20, %17 %24 = load i32, ptr %5, align 4 %25 = icmp eq i32 %24, 3 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load ptr, ptr %3, align 8 %28 = call i32 @tek1_getdat(ptr noundef %27, i32 noundef 1) store i32 2147483647, ptr %4, align 4 br label %29 29: ; preds = %26, %23 %30 = load i32, ptr %5, align 4 %31 = icmp eq i32 %30, 2 br i1 %31, label %32, label %72 32: ; preds = %29 %33 = load ptr, ptr %3, align 8 %34 = call i32 @tek1_getdat(ptr noundef %33, i32 noundef 4) store i32 %34, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp sle i32 %35, 6 br i1 %36, label %37, label %52 37: ; preds = %32 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %5, align 4 %40 = mul nsw i32 %39, 4 %41 = call i32 @tek1_getdat(ptr noundef %38, i32 noundef %40) %42 = load i32, ptr %5, align 4 %43 = mul nsw i32 %42, 4 %44 = sub nsw i32 32, %43 %45 = shl i32 %41, %44 %46 = load i32, ptr %5, align 4 %47 = mul nsw i32 %46, 4 %48 = sub nsw i32 32, %47 %49 = ashr i32 %45, %48 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, %49 store i32 %51, ptr %4, align 4 br label %52 52: ; preds = %37, %32 %53 = load i32, ptr %5, align 4 %54 = icmp sle i32 8, %53 br i1 %54, label %55, label %63 55: ; preds = %52 %56 = load i32, ptr %5, align 4 %57 = icmp sle i32 %56, 11 br i1 %57, label %58, label %63 58: ; preds = %55 %59 = load i32, ptr %5, align 4 %60 = sub nsw i32 %59, 6 %61 = load i32, ptr %4, align 4 %62 = shl i32 %61, %60 store i32 %62, ptr %4, align 4 br label %63 63: ; preds = %58, %55, %52 %64 = load i32, ptr %5, align 4 %65 = icmp sle i32 12, %64 br i1 %65, label %66, label %71 66: ; preds = %63 %67 = load i32, ptr %5, align 4 %68 = sub nsw i32 %67, 10 %69 = load i32, ptr %4, align 4 %70 = ashr i32 %69, %68 store i32 %70, ptr %4, align 4 br label %71 71: ; preds = %66, %63 br label %72 72: ; preds = %71, %29 br label %73 73: ; preds = %72, %2 %74 = load i32, ptr %4, align 4 ret i32 %74 } declare i32 @tek1_getdat(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/tmpoi26w2yl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tek1_getlt0(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @tek1_getdat(ptr noundef %6, i32 noundef 1) %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %73 9: ; preds = %2 %10 = load ptr, ptr %3, align 8 %11 = call i32 @tek1_getdat(ptr noundef %10, i32 noundef 2) store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %15, 2 store i32 %16, ptr %4, align 4 br label %17 17: ; preds = %14, %9 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = sdiv i32 %21, 2 store i32 %22, ptr %4, align 4 br label %23 23: ; preds = %20, %17 %24 = load i32, ptr %5, align 4 %25 = icmp eq i32 %24, 3 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load ptr, ptr %3, align 8 %28 = call i32 @tek1_getdat(ptr noundef %27, i32 noundef 1) store i32 2147483647, ptr %4, align 4 br label %29 29: ; preds = %26, %23 %30 = load i32, ptr %5, align 4 %31 = icmp eq i32 %30, 2 br i1 %31, label %32, label %72 32: ; preds = %29 %33 = load ptr, ptr %3, align 8 %34 = call i32 @tek1_getdat(ptr noundef %33, i32 noundef 4) store i32 %34, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp sle i32 %35, 6 br i1 %36, label %37, label %52 37: ; preds = %32 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %5, align 4 %40 = mul nsw i32 %39, 4 %41 = call i32 @tek1_getdat(ptr noundef %38, i32 noundef %40) %42 = load i32, ptr %5, align 4 %43 = mul nsw i32 %42, 4 %44 = sub nsw i32 32, %43 %45 = shl i32 %41, %44 %46 = load i32, ptr %5, align 4 %47 = mul nsw i32 %46, 4 %48 = sub nsw i32 32, %47 %49 = ashr i32 %45, %48 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, %49 store i32 %51, ptr %4, align 4 br label %52 52: ; preds = %37, %32 %53 = load i32, ptr %5, align 4 %54 = icmp sle i32 8, %53 br i1 %54, label %55, label %63 55: ; preds = %52 %56 = load i32, ptr %5, align 4 %57 = icmp sle i32 %56, 11 br i1 %57, label %58, label %63 58: ; preds = %55 %59 = load i32, ptr %5, align 4 %60 = sub nsw i32 %59, 6 %61 = load i32, ptr %4, align 4 %62 = shl i32 %61, %60 store i32 %62, ptr %4, align 4 br label %63 63: ; preds = %58, %55, %52 %64 = load i32, ptr %5, align 4 %65 = icmp sle i32 12, %64 br i1 %65, label %66, label %71 66: ; preds = %63 %67 = load i32, ptr %5, align 4 %68 = sub nsw i32 %67, 10 %69 = load i32, ptr %4, align 4 %70 = ashr i32 %69, %68 store i32 %70, ptr %4, align 4 br label %71 71: ; preds = %66, %63 br label %72 72: ; preds = %71, %29 br label %73 73: ; preds = %72, %2 %74 = load i32, ptr %4, align 4 ret i32 %74 } declare i32 @tek1_getdat(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/tmp4htngepm.c' source_filename = "/tmp/tmp4htngepm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4htngepm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2n93obql.c' source_filename = "/tmp/tmp2n93obql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test2(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i32 8, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %13 13: ; preds = %75, %3 %14 = load i32, ptr %10, align 4 %15 = sext i32 %14 to i64 %16 = load i64, ptr %6, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %18, label %78 18: ; preds = %13 %19 = load ptr, ptr %9, align 8 %20 = load ptr, ptr %8, align 8 %21 = call i32 @memcpy(ptr noundef %19, ptr noundef %20, i32 noundef 1) %22 = load ptr, ptr %8, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 1 store ptr %23, ptr %8, align 8 %24 = load ptr, ptr %9, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 1 store ptr %25, ptr %9, align 8 %26 = load ptr, ptr %9, align 8 %27 = load ptr, ptr %8, align 8 %28 = call i32 @memcpy(ptr noundef %26, ptr noundef %27, i32 noundef 1) %29 = load ptr, ptr %8, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 1 store ptr %32, ptr %9, align 8 %33 = load ptr, ptr %9, align 8 %34 = load ptr, ptr %8, align 8 %35 = call i32 @memcpy(ptr noundef %33, ptr noundef %34, i32 noundef 1) %36 = load ptr, ptr %8, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 1 store ptr %37, ptr %8, align 8 %38 = load ptr, ptr %9, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 1 store ptr %39, ptr %9, align 8 %40 = load ptr, ptr %9, align 8 %41 = load ptr, ptr %8, align 8 %42 = call i32 @memcpy(ptr noundef %40, ptr noundef %41, i32 noundef 1) %43 = load ptr, ptr %8, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 1 store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %9, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 1 store ptr %46, ptr %9, align 8 %47 = load ptr, ptr %9, align 8 %48 = load ptr, ptr %8, align 8 %49 = call i32 @memcpy(ptr noundef %47, ptr noundef %48, i32 noundef 1) %50 = load ptr, ptr %8, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 1 store ptr %51, ptr %8, align 8 %52 = load ptr, ptr %9, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 1 store ptr %53, ptr %9, align 8 %54 = load ptr, ptr %9, align 8 %55 = load ptr, ptr %8, align 8 %56 = call i32 @memcpy(ptr noundef %54, ptr noundef %55, i32 noundef 1) %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 1 store ptr %58, ptr %8, align 8 %59 = load ptr, ptr %9, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 store ptr %60, ptr %9, align 8 %61 = load ptr, ptr %9, align 8 %62 = load ptr, ptr %8, align 8 %63 = call i32 @memcpy(ptr noundef %61, ptr noundef %62, i32 noundef 1) %64 = load ptr, ptr %8, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 1 store ptr %65, ptr %8, align 8 %66 = load ptr, ptr %9, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 1 store ptr %67, ptr %9, align 8 %68 = load ptr, ptr %9, align 8 %69 = load ptr, ptr %8, align 8 %70 = call i32 @memcpy(ptr noundef %68, ptr noundef %69, i32 noundef 1) %71 = load ptr, ptr %8, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 1 store ptr %72, ptr %8, align 8 %73 = load ptr, ptr %9, align 8 %74 = getelementptr inbounds i8, ptr %73, i64 1 store ptr %74, ptr %9, align 8 br label %75 75: ; preds = %18 %76 = load i32, ptr %10, align 4 %77 = add nsw i32 %76, 8 store i32 %77, ptr %10, align 4 br label %13, !llvm.loop !6 78: ; preds = %13 %79 = load ptr, ptr %4, align 8 ret ptr %79 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2n93obql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test2(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i32 8, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %9, align 8 store i32 0, ptr %10, align 4 %13 = load i32, ptr %10, align 4 %14 = sext i32 %13 to i64 %15 = load i64, ptr %6, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %.lr.ph, label %81 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %74 %18 = load ptr, ptr %9, align 8 %19 = load ptr, ptr %8, align 8 %20 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef 1) %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 store ptr %22, ptr %8, align 8 %23 = load ptr, ptr %9, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 store ptr %24, ptr %9, align 8 %25 = load ptr, ptr %9, align 8 %26 = load ptr, ptr %8, align 8 %27 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i32 noundef 1) %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 store ptr %29, ptr %8, align 8 %30 = load ptr, ptr %9, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 store ptr %31, ptr %9, align 8 %32 = load ptr, ptr %9, align 8 %33 = load ptr, ptr %8, align 8 %34 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef 1) %35 = load ptr, ptr %8, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 1 store ptr %36, ptr %8, align 8 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 store ptr %38, ptr %9, align 8 %39 = load ptr, ptr %9, align 8 %40 = load ptr, ptr %8, align 8 %41 = call i32 @memcpy(ptr noundef %39, ptr noundef %40, i32 noundef 1) %42 = load ptr, ptr %8, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 1 store ptr %43, ptr %8, align 8 %44 = load ptr, ptr %9, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 1 store ptr %45, ptr %9, align 8 %46 = load ptr, ptr %9, align 8 %47 = load ptr, ptr %8, align 8 %48 = call i32 @memcpy(ptr noundef %46, ptr noundef %47, i32 noundef 1) %49 = load ptr, ptr %8, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 1 store ptr %50, ptr %8, align 8 %51 = load ptr, ptr %9, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 1 store ptr %52, ptr %9, align 8 %53 = load ptr, ptr %9, align 8 %54 = load ptr, ptr %8, align 8 %55 = call i32 @memcpy(ptr noundef %53, ptr noundef %54, i32 noundef 1) %56 = load ptr, ptr %8, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 1 store ptr %57, ptr %8, align 8 %58 = load ptr, ptr %9, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 1 store ptr %59, ptr %9, align 8 %60 = load ptr, ptr %9, align 8 %61 = load ptr, ptr %8, align 8 %62 = call i32 @memcpy(ptr noundef %60, ptr noundef %61, i32 noundef 1) %63 = load ptr, ptr %8, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 1 store ptr %64, ptr %8, align 8 %65 = load ptr, ptr %9, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 1 store ptr %66, ptr %9, align 8 %67 = load ptr, ptr %9, align 8 %68 = load ptr, ptr %8, align 8 %69 = call i32 @memcpy(ptr noundef %67, ptr noundef %68, i32 noundef 1) %70 = load ptr, ptr %8, align 8 %71 = getelementptr inbounds i8, ptr %70, i64 1 store ptr %71, ptr %8, align 8 %72 = load ptr, ptr %9, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 1 store ptr %73, ptr %9, align 8 br label %74 74: ; preds = %17 %75 = load i32, ptr %10, align 4 %76 = add nsw i32 %75, 8 store i32 %76, ptr %10, align 4 %77 = load i32, ptr %10, align 4 %78 = sext i32 %77 to i64 %79 = load i64, ptr %6, align 8 %80 = icmp ult i64 %78, %79 br i1 %80, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %81 81: ; preds = %._crit_edge, %3 %82 = load ptr, ptr %4, align 8 ret ptr %82 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpze25phe7.c' source_filename = "/tmp/tmpze25phe7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msgu_string_size_frag(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 i64 @msgu_string_size(ptr noundef %3) ret i64 %4 } declare i64 @msgu_string_size(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/tmpze25phe7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msgu_string_size_frag(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 i64 @msgu_string_size(ptr noundef %3) ret i64 %4 } declare i64 @msgu_string_size(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/tmpfgcwfle7.c' source_filename = "/tmp/tmpfgcwfle7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @urldecode(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %6, align 8 br label %15 15: ; preds = %59, %2 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %7, align 8 %18 = icmp ule ptr %16, %17 br i1 %18, label %19, label %62 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %4, align 8 %22 = load i8, ptr %20, align 1 %23 = sext i8 %22 to i32 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, 43 br i1 %25, label %26, label %27 26: ; preds = %19 store i32 32, ptr %8, align 4 br label %51 27: ; preds = %19 %28 = load i32, ptr %8, align 4 %29 = icmp eq i32 %28, 37 br i1 %29, label %30, label %50 30: ; preds = %27 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %4, align 8 %33 = load i8, ptr %31, align 1 %34 = sext i8 %33 to i32 %35 = call i32 @ishex(i32 noundef %34) %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %49 37: ; preds = %30 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %4, align 8 %40 = load i8, ptr %38, align 1 %41 = sext i8 %40 to i32 %42 = call i32 @ishex(i32 noundef %41) %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %37 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 -2 %47 = call i32 @sscanf(ptr noundef %46, ptr noundef @.str, ptr noundef %8) %48 = icmp ne i32 %47, 0 br i1 %48, label %50, label %49 49: ; preds = %44, %37, %30 store i32 -1, ptr %3, align 4 br label %69 50: ; preds = %44, %27 br label %51 51: ; preds = %50, %26 %52 = load ptr, ptr %5, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %58 54: ; preds = %51 %55 = load i32, ptr %8, align 4 %56 = trunc i32 %55 to i8 %57 = load ptr, ptr %6, align 8 store i8 %56, ptr %57, align 1 br label %58 58: ; preds = %54, %51 br label %59 59: ; preds = %58 %60 = load ptr, ptr %6, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %6, align 8 br label %15, !llvm.loop !6 62: ; preds = %15 %63 = load ptr, ptr %6, align 8 %64 = load ptr, ptr %5, align 8 %65 = ptrtoint ptr %63 to i64 %66 = ptrtoint ptr %64 to i64 %67 = sub i64 %65, %66 %68 = trunc i64 %67 to i32 store i32 %68, ptr %3, align 4 br label %69 69: ; preds = %62, %49 %70 = load i32, ptr %3, align 4 ret i32 %70 } declare i32 @strlen(ptr noundef) #1 declare i32 @ishex(i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfgcwfle7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @urldecode(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %7, align 8 %17 = icmp ule ptr %15, %16 br i1 %17, label %.lr.ph, label %64 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %58 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %4, align 8 %21 = load i8, ptr %19, align 1 %22 = sext i8 %21 to i32 store i32 %22, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp eq i32 %23, 43 br i1 %24, label %25, label %26 25: ; preds = %18 store i32 32, ptr %8, align 4 br label %50 26: ; preds = %18 %27 = load i32, ptr %8, align 4 %28 = icmp eq i32 %27, 37 br i1 %28, label %29, label %49 29: ; preds = %26 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %4, align 8 %32 = load i8, ptr %30, align 1 %33 = sext i8 %32 to i32 %34 = call i32 @ishex(i32 noundef %33) %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %48 36: ; preds = %29 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %4, align 8 %39 = load i8, ptr %37, align 1 %40 = sext i8 %39 to i32 %41 = call i32 @ishex(i32 noundef %40) %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %48 43: ; preds = %36 %44 = load ptr, ptr %4, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 -2 %46 = call i32 @sscanf(ptr noundef %45, ptr noundef @.str, ptr noundef %8) %47 = icmp ne i32 %46, 0 br i1 %47, label %49, label %48 48: ; preds = %43, %36, %29 store i32 -1, ptr %3, align 4 br label %71 49: ; preds = %43, %26 br label %50 50: ; preds = %49, %25 %51 = load ptr, ptr %5, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %53, label %57 53: ; preds = %50 %54 = load i32, ptr %8, align 4 %55 = trunc i32 %54 to i8 %56 = load ptr, ptr %6, align 8 store i8 %55, ptr %56, align 1 br label %57 57: ; preds = %53, %50 br label %58 58: ; preds = %57 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %6, align 8 %61 = load ptr, ptr %4, align 8 %62 = load ptr, ptr %7, align 8 %63 = icmp ule ptr %61, %62 br i1 %63, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %64 64: ; preds = %._crit_edge, %2 %65 = load ptr, ptr %6, align 8 %66 = load ptr, ptr %5, align 8 %67 = ptrtoint ptr %65 to i64 %68 = ptrtoint ptr %66 to i64 %69 = sub i64 %67, %68 %70 = trunc i64 %69 to i32 store i32 %70, ptr %3, align 4 br label %71 71: ; preds = %64, %48 %72 = load i32, ptr %3, align 4 ret i32 %72 } declare i32 @strlen(ptr noundef) #1 declare i32 @ishex(i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbn33mwlp.c' source_filename = "/tmp/tmpbn33mwlp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 br label %4 4: ; preds = %9, %1 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i32 1 store ptr %6, ptr %2, align 8 %7 = load i8, ptr %5, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %4 %10 = load i64, ptr %3, align 8 %11 = add i64 %10, 1 store i64 %11, ptr %3, align 8 br label %4, !llvm.loop !6 12: ; preds = %4 %13 = load i64, ptr %3, align 8 ret i64 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbn33mwlp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i32 1 store ptr %5, ptr %2, align 8 %6 = load i8, ptr %4, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i64, ptr %3, align 8 %10 = add i64 %9, 1 store i64 %10, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %2, align 8 %13 = load i8, ptr %11, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %15 15: ; preds = %._crit_edge, %1 %16 = load i64, ptr %3, align 8 ret i64 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2pnomb91.c' source_filename = "/tmp/tmp2pnomb91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Digite um numero decimal:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"o numero em bin\C3\A1rio \C3\A9: \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [20 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %8 8: ; preds = %11, %0 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %21 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 2 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [20 x i32], ptr %5, i64 0, i64 %15 store i32 %13, ptr %16, align 4 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = sdiv i32 %19, 2 store i32 %20, ptr %2, align 4 br label %8, !llvm.loop !6 21: ; preds = %8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %23 = load i32, ptr %3, align 4 %24 = sub nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %25 25: ; preds = %34, %21 %26 = load i32, ptr %4, align 4 %27 = icmp sge i32 %26, 0 br i1 %27, label %28, label %37 28: ; preds = %25 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [20 x i32], ptr %5, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32) br label %34 34: ; preds = %28 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %4, align 4 br label %25, !llvm.loop !8 37: ; preds = %25 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2pnomb91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Digite um numero decimal:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"o numero em bin\C3\A1rio \C3\A9: \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [20 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 2 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [20 x i32], ptr %5, i64 0, i64 %14 store i32 %12, ptr %15, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = sdiv i32 %18, 2 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %24 = load i32, ptr %3, align 4 %25 = sub nsw i32 %24, 1 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp sge i32 %26, 0 br i1 %27, label %.lr.ph2, label %39 .lr.ph2: ; preds = %22 br label %28 28: ; preds = %.lr.ph2, %34 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [20 x i32], ptr %5, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32) br label %34 34: ; preds = %28 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %4, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp sge i32 %37, 0 br i1 %38, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %22 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptouk261i.c' source_filename = "/tmp/tmptouk261i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPURegionSet(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = or i32 %7, %8 %10 = or i32 %9, 16 %11 = sext i32 %10 to i64 store volatile i64 %11, ptr inttoptr (i64 3758157212 to ptr), align 8 %12 = load i32, ptr %6, align 4 %13 = and i32 %12, -3801089 %14 = or i32 %13, 262144 %15 = or i32 %14, 65536 %16 = sext i32 %15 to i64 store volatile i64 %16, ptr inttoptr (i64 3758157216 to ptr), 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/tmptouk261i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPURegionSet(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = or i32 %7, %8 %10 = or i32 %9, 16 %11 = sext i32 %10 to i64 store volatile i64 %11, ptr inttoptr (i64 3758157212 to ptr), align 8 %12 = load i32, ptr %6, align 4 %13 = and i32 %12, -3801089 %14 = or i32 %13, 262144 %15 = or i32 %14, 65536 %16 = sext i32 %15 to i64 store volatile i64 %16, ptr inttoptr (i64 3758157216 to ptr), 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/tmpxz4sbssg.c' source_filename = "/tmp/tmpxz4sbssg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osInitStacks() #0 { %1 = call i32 (...) @osInitSystemStack() %2 = call i32 (...) @osInitTaskStacks() %3 = call i32 (...) @osInitISRStacks() ret void } declare i32 @osInitSystemStack(...) #1 declare i32 @osInitTaskStacks(...) #1 declare i32 @osInitISRStacks(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxz4sbssg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osInitStacks() #0 { %1 = call i32 (...) @osInitSystemStack() %2 = call i32 (...) @osInitTaskStacks() %3 = call i32 (...) @osInitISRStacks() ret void } declare i32 @osInitSystemStack(...) #1 declare i32 @osInitTaskStacks(...) #1 declare i32 @osInitISRStacks(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1tpko5hf.c' source_filename = "/tmp/tmp1tpko5hf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract_files(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, 3 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (...) @extract_all_files() br label %29 11: ; preds = %2 store i32 3, ptr %5, align 4 br label %12 12: ; preds = %25, %11 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %28 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i32 @find_file(ptr noundef %21) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @extract_file(i32 noundef %23) br label %25 25: ; preds = %16 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %12, !llvm.loop !6 28: ; preds = %12 br label %29 29: ; preds = %28, %9 ret void } declare i32 @extract_all_files(...) #1 declare i32 @find_file(ptr noundef) #1 declare i32 @extract_file(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/tmp1tpko5hf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract_files(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, 3 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (...) @extract_all_files() br label %31 11: ; preds = %2 store i32 3, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %30 .lr.ph: ; preds = %11 br label %15 15: ; preds = %.lr.ph, %24 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 @find_file(ptr noundef %20) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = call i32 @extract_file(i32 noundef %22) br label %24 24: ; preds = %15 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %11 br label %31 31: ; preds = %30, %9 ret void } declare i32 @extract_all_files(...) #1 declare i32 @find_file(ptr noundef) #1 declare i32 @extract_file(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/tmphlk4bdg1.c' source_filename = "/tmp/tmphlk4bdg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdp1_progressive(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i64 @fdp1_run_progressive_frames(ptr noundef %4) %6 = load i32, ptr %3, align 4 %7 = zext i32 %6 to i64 %8 = add nsw i64 %7, %5 %9 = trunc i64 %8 to i32 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 ret i32 %10 } declare i64 @fdp1_run_progressive_frames(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/tmphlk4bdg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdp1_progressive(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i64 @fdp1_run_progressive_frames(ptr noundef %4) %6 = load i32, ptr %3, align 4 %7 = zext i32 %6 to i64 %8 = add nsw i64 %7, %5 %9 = trunc i64 %8 to i32 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 ret i32 %10 } declare i64 @fdp1_run_progressive_frames(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/tmp9z1carht.c' source_filename = "/tmp/tmp9z1carht.c" target datalayout = "e-m:e-p270: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/tmp9z1carht.c" target datalayout = "e-m:e-p270: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/tmpkaugj_ut.c' source_filename = "/tmp/tmpkaugj_ut.c" target datalayout = "e-m:e-p270: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_ANON = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [26 x i8] c"mmap anon fp_ptr3 failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"anon fp_ptr3 = %p\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"after unmap anon fp_ptr3 = %p\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"[%x]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 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_ANON, align 4 %9 = or i32 %7, %8 %10 = call ptr @mmap(ptr noundef null, i32 noundef 40960, 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 %17 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 @perror(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %56 17: ; preds = %0 %18 = load ptr, ptr %2, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18) %20 = load ptr, ptr %2, align 8 %21 = call i32 @memset(ptr noundef %20, i32 noundef 170, i32 noundef 40960) %22 = load ptr, ptr %2, align 8 %23 = call i32 @munmap(ptr noundef %22, i32 noundef 40960) %24 = load i32, ptr @PROT_READ, align 4 %25 = load i32, ptr @PROT_WRITE, align 4 %26 = or i32 %24, %25 %27 = load i32, ptr @MAP_SHARED, align 4 %28 = load i32, ptr @MAP_ANON, align 4 %29 = or i32 %27, %28 %30 = call ptr @mmap(ptr noundef null, i32 noundef 40960, i32 noundef %26, i32 noundef %29, i32 noundef -1, i32 noundef 0) store ptr %30, ptr %2, align 8 %31 = load ptr, ptr %2, align 8 %32 = load ptr, ptr @MAP_FAILED, align 8 %33 = icmp eq ptr %31, %32 br i1 %33, label %34, label %37 34: ; preds = %17 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str) %36 = call i32 @perror(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %56 37: ; preds = %17 %38 = load ptr, ptr %2, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %38) %40 = load ptr, ptr %2, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 0 store i8 -52, ptr %41, align 1 store i32 0, ptr %3, align 4 br label %42 42: ; preds = %52, %37 %43 = load i32, ptr %3, align 4 %44 = icmp slt i32 %43, 100 br i1 %44, label %45, label %55 45: ; preds = %42 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %3, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %50) br label %52 52: ; preds = %45 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 4 store i32 %54, ptr %3, align 4 br label %42, !llvm.loop !6 55: ; preds = %42 store i32 0, ptr %1, align 4 br label %56 56: ; preds = %55, %34, %14 %57 = load i32, ptr %1, align 4 ret i32 %57 } declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkaugj_ut.c" target datalayout = "e-m:e-p270: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_ANON = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [26 x i8] c"mmap anon fp_ptr3 failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"anon fp_ptr3 = %p\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"after unmap anon fp_ptr3 = %p\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"[%x]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 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_ANON, align 4 %9 = or i32 %7, %8 %10 = call ptr @mmap(ptr noundef null, i32 noundef 40960, 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 %17 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 @perror(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %57 17: ; preds = %0 %18 = load ptr, ptr %2, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18) %20 = load ptr, ptr %2, align 8 %21 = call i32 @memset(ptr noundef %20, i32 noundef 170, i32 noundef 40960) %22 = load ptr, ptr %2, align 8 %23 = call i32 @munmap(ptr noundef %22, i32 noundef 40960) %24 = load i32, ptr @PROT_READ, align 4 %25 = load i32, ptr @PROT_WRITE, align 4 %26 = or i32 %24, %25 %27 = load i32, ptr @MAP_SHARED, align 4 %28 = load i32, ptr @MAP_ANON, align 4 %29 = or i32 %27, %28 %30 = call ptr @mmap(ptr noundef null, i32 noundef 40960, i32 noundef %26, i32 noundef %29, i32 noundef -1, i32 noundef 0) store ptr %30, ptr %2, align 8 %31 = load ptr, ptr %2, align 8 %32 = load ptr, ptr @MAP_FAILED, align 8 %33 = icmp eq ptr %31, %32 br i1 %33, label %34, label %37 34: ; preds = %17 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str) %36 = call i32 @perror(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %57 37: ; preds = %17 %38 = load ptr, ptr %2, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %38) %40 = load ptr, ptr %2, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 0 store i8 -52, ptr %41, align 1 store i32 0, ptr %3, align 4 %42 = load i32, ptr %3, align 4 %43 = icmp slt i32 %42, 100 br i1 %43, label %.lr.ph, label %56 .lr.ph: ; preds = %37 br label %44 44: ; preds = %.lr.ph, %51 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %49) br label %51 51: ; preds = %44 %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %52, 4 store i32 %53, ptr %3, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp slt i32 %54, 100 br i1 %55, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %56 56: ; preds = %._crit_edge, %37 store i32 0, ptr %1, align 4 br label %57 57: ; preds = %56, %34, %14 %58 = load i32, ptr %1, align 4 ret i32 %58 } declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfrhwngji.c' source_filename = "/tmp/tmpfrhwngji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pvSetPortName(i8 noundef signext %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store ptr %1, ptr %4, align 8 %5 = call i32 @notify_pvcall(ptr noundef @.str) ret i32 0 } declare i32 @notify_pvcall(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/tmpfrhwngji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pvSetPortName(i8 noundef signext %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store ptr %1, ptr %4, align 8 %5 = call i32 @notify_pvcall(ptr noundef @.str) ret i32 0 } declare i32 @notify_pvcall(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_7gc2cxm.c' source_filename = "/tmp/tmp_7gc2cxm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Bot_ScriptLoad() #0 { %1 = call i32 (...) @Bot_ScriptParseAllCharacters() ret void } declare i32 @Bot_ScriptParseAllCharacters(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_7gc2cxm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Bot_ScriptLoad() #0 { %1 = call i32 (...) @Bot_ScriptParseAllCharacters() ret void } declare i32 @Bot_ScriptParseAllCharacters(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpni_qyz1y.c' source_filename = "/tmp/tmpni_qyz1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"./dat/debug.log\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"ERROR: Could not open dat/debug.log in append mode\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"ERROR: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"In function %s\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [39 x i8] c"An error occurred and has been logged.\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c" Check dat/debug.log for more details.\0A\00", align 1 @.str.7 = private unnamed_addr constant [62 x i8] c"Your previous command may have been voided due to the error.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @logError(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 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str.2) br label %23 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.3, ptr noundef %13) %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %4, align 8 %17 = call i32 @fprintf(ptr noundef %15, ptr noundef @.str.4, ptr noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i32 @fclose(ptr noundef %18) %20 = call i32 @printf(ptr noundef @.str.5) %21 = call i32 @printf(ptr noundef @.str.6) %22 = call i32 @printf(ptr noundef @.str.7) br label %23 23: ; preds = %11, %9 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpni_qyz1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"./dat/debug.log\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"ERROR: Could not open dat/debug.log in append mode\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"ERROR: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"In function %s\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [39 x i8] c"An error occurred and has been logged.\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c" Check dat/debug.log for more details.\0A\00", align 1 @.str.7 = private unnamed_addr constant [62 x i8] c"Your previous command may have been voided due to the error.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @logError(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 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str.2) br label %23 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.3, ptr noundef %13) %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %4, align 8 %17 = call i32 @fprintf(ptr noundef %15, ptr noundef @.str.4, ptr noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i32 @fclose(ptr noundef %18) %20 = call i32 @printf(ptr noundef @.str.5) %21 = call i32 @printf(ptr noundef @.str.6) %22 = call i32 @printf(ptr noundef @.str.7) br label %23 23: ; preds = %11, %9 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7skc9z10.c' source_filename = "/tmp/tmp7skc9z10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define dso_local void @android_atomic_release_store(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @android_memory_barrier() %6 = load i32, ptr %3, align 4 %7 = load ptr, ptr %4, align 8 store volatile i32 %6, ptr %7, align 4 ret void } declare i32 @android_memory_barrier(...) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7skc9z10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define dso_local void @android_atomic_release_store(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @android_memory_barrier() %6 = load i32, ptr %3, align 4 %7 = load ptr, ptr %4, align 8 store volatile i32 %6, ptr %7, align 4 ret void } declare i32 @android_memory_barrier(...) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqvcbeskv.c' source_filename = "/tmp/tmpqvcbeskv.c" target datalayout = "e-m:e-p270: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/tmpqvcbeskv.c" target datalayout = "e-m:e-p270: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/tmpaiviig9z.c' source_filename = "/tmp/tmpaiviig9z.c" target datalayout = "e-m:e-p270: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 } @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tm_diffisoyears(i32 %0, i32 %1) #0 { %3 = alloca i32, align 4 %4 = alloca %struct.tm, align 4 %5 = alloca %struct.tm, align 4 %6 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0 store i32 %0, ptr %6, align 4 %7 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0 store i32 %1, ptr %7, align 4 %8 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = call i64 @tm_getrepresentation(i32 %9) %11 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = call i64 @tm_getrepresentation(i32 %12) %14 = icmp ne i64 %10, %13 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = load i32, ptr @EINVAL, align 4 store i32 %16, ptr @errno, align 4 store i32 0, ptr %3, align 4 br label %25 17: ; preds = %2 %18 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = call i32 @tm_getisoyear(i32 %19) %21 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = call i32 @tm_getisoyear(i32 %22) %24 = sub nsw i32 %20, %23 store i32 %24, ptr %3, align 4 br label %25 25: ; preds = %17, %15 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i64 @tm_getrepresentation(i32) #1 declare i32 @tm_getisoyear(i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaiviig9z.c" target datalayout = "e-m:e-p270: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 } @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tm_diffisoyears(i32 %0, i32 %1) #0 { %3 = alloca i32, align 4 %4 = alloca %struct.tm, align 4 %5 = alloca %struct.tm, align 4 %6 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0 store i32 %0, ptr %6, align 4 %7 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0 store i32 %1, ptr %7, align 4 %8 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = call i64 @tm_getrepresentation(i32 %9) %11 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = call i64 @tm_getrepresentation(i32 %12) %14 = icmp ne i64 %10, %13 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = load i32, ptr @EINVAL, align 4 store i32 %16, ptr @errno, align 4 store i32 0, ptr %3, align 4 br label %25 17: ; preds = %2 %18 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = call i32 @tm_getisoyear(i32 %19) %21 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = call i32 @tm_getisoyear(i32 %22) %24 = sub nsw i32 %20, %23 store i32 %24, ptr %3, align 4 br label %25 25: ; preds = %17, %15 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i64 @tm_getrepresentation(i32) #1 declare i32 @tm_getisoyear(i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdleku1v2.c' source_filename = "/tmp/tmpdleku1v2.c" target datalayout = "e-m:e-p270: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/tmpdleku1v2.c" target datalayout = "e-m:e-p270: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/tmpw9zoy0yp.c' source_filename = "/tmp/tmpw9zoy0yp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @timeval_to_usec(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 store i64 %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %9 = load i64, ptr %8, align 8 %10 = mul i64 %9, 1000000 %11 = load i64, ptr %3, align 8 %12 = add i64 %11, %10 store i64 %12, ptr %3, align 8 %13 = load i64, ptr %3, align 8 ret i64 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw9zoy0yp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @timeval_to_usec(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 store i64 %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %9 = load i64, ptr %8, align 8 %10 = mul i64 %9, 1000000 %11 = load i64, ptr %3, align 8 %12 = add i64 %11, %10 store i64 %12, ptr %3, align 8 %13 = load i64, ptr %3, align 8 ret i64 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpndxek88o.c' source_filename = "/tmp/tmpndxek88o.c" target datalayout = "e-m:e-p270: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/tmpndxek88o.c" target datalayout = "e-m:e-p270: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/tmp1y9q8ctf.c' source_filename = "/tmp/tmp1y9q8ctf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Memory was not allocated. Exiting...\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mem_alloc(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i64, ptr %4, align 8 %9 = icmp ugt i64 %8, 0 %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load i64, ptr %4, align 8 %13 = call ptr @malloc(i64 noundef %12) #4 store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %20, label %16 16: ; preds = %3 %17 = call i32 @printf(ptr noundef @.str) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #5 unreachable 20: ; preds = %3 %21 = load ptr, ptr %7, align 8 ret ptr %21 } declare i32 @assert(i32 noundef) #1 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #2 declare i32 @printf(ptr noundef) #1 ; 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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(0) } 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/tmp1y9q8ctf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Memory was not allocated. Exiting...\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mem_alloc(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i64, ptr %4, align 8 %9 = icmp ugt i64 %8, 0 %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load i64, ptr %4, align 8 %13 = call ptr @malloc(i64 noundef %12) #4 store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %20, label %16 16: ; preds = %3 %17 = call i32 @printf(ptr noundef @.str) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #5 unreachable 20: ; preds = %3 %21 = load ptr, ptr %7, align 8 ret ptr %21 } declare i32 @assert(i32 noundef) #1 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #2 declare i32 @printf(ptr noundef) #1 ; 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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(0) } 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/tmp1gn58mm9.c' source_filename = "/tmp/tmp1gn58mm9.c" target datalayout = "e-m:e-p270: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 [14 x i8] c"Erro no tubo\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Erro no fork\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"./ex2_son\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"Son\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"2\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca [12 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [20 x i8], align 16 %11 = alloca [20 x i8], align 16 store i32 0, ptr %1, align 4 %12 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %13 = call i64 @pipe(ptr noundef %12) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %0 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) %18 = call i32 @_exit(i32 noundef 1) #3 unreachable 19: ; preds = %0 %20 = call i64 (...) @fork() store i64 %20, ptr %3, align 8 %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load i32, ptr @stderr, align 4 %24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1) %25 = call i32 @_exit(i32 noundef 1) #3 unreachable 26: ; preds = %19 %27 = load i64, ptr %3, align 8 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %39 29: ; preds = %26 %30 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %31 = load i32, ptr %30, align 4 %32 = call i32 @close(i32 noundef %31) %33 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %34 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %35 = load i32, ptr %34, align 4 %36 = call i32 @sprintf(ptr noundef %33, ptr noundef @.str.2, i32 noundef %35) %37 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %38 = call i32 @execl(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %37, ptr noundef @.str.5, ptr noundef null) br label %39 39: ; preds = %29, %26 %40 = load i64, ptr %3, align 8 store i64 %40, ptr %4, align 8 %41 = call i64 (...) @fork() store i64 %41, ptr %3, align 8 %42 = icmp slt i64 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %39 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str.1) %46 = call i32 @_exit(i32 noundef 1) #3 unreachable 47: ; preds = %39 %48 = load i64, ptr %3, align 8 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %60 50: ; preds = %47 %51 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) %54 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %55 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %56 = load i32, ptr %55, align 4 %57 = call i32 @sprintf(ptr noundef %54, ptr noundef @.str.2, i32 noundef %56) %58 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %59 = call i32 @execl(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %58, ptr noundef @.str.6, ptr noundef null) br label %60 60: ; preds = %50, %47 %61 = load i64, ptr %3, align 8 store i64 %61, ptr %5, align 8 %62 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %63 = load i32, ptr %62, align 4 %64 = call i32 @close(i32 noundef %63) %65 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %66 = load i32, ptr %65, align 4 %67 = getelementptr inbounds [12 x i8], ptr %6, i64 0, i64 0 %68 = call i32 @read(i32 noundef %66, ptr noundef %67, i32 noundef 12) store i32 %68, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %69 69: ; preds = %79, %60 %70 = load i32, ptr %7, align 4 %71 = icmp slt i32 %70, 12 br i1 %71, label %72, label %82 72: ; preds = %69 %73 = load i32, ptr %7, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [12 x i8], ptr %6, i64 0, i64 %74 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %77) br label %79 79: ; preds = %72 %80 = load i32, ptr %7, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %7, align 4 br label %69, !llvm.loop !6 82: ; preds = %69 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %84 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %85 = load i32, ptr %84, align 4 %86 = getelementptr inbounds [12 x i8], ptr %6, i64 0, i64 0 %87 = call i32 @read(i32 noundef %85, ptr noundef %86, i32 noundef 12) store i32 %87, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %88 88: ; preds = %98, %82 %89 = load i32, ptr %7, align 4 %90 = icmp slt i32 %89, 12 br i1 %90, label %91, label %101 91: ; preds = %88 %92 = load i32, ptr %7, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [12 x i8], ptr %6, i64 0, i64 %93 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %96) br label %98 98: ; preds = %91 %99 = load i32, ptr %7, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %7, align 4 br label %88, !llvm.loop !8 101: ; preds = %88 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %103 = load i64, ptr %4, align 8 %104 = call i32 @waitpid(i64 noundef %103, ptr noundef %9, i32 noundef 0) %105 = load i64, ptr %5, align 8 %106 = call i32 @waitpid(i64 noundef %105, ptr noundef %9, i32 noundef 0) %107 = call i32 @_exit(i32 noundef 0) #3 unreachable } declare i64 @pipe(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i64 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1gn58mm9.c" target datalayout = "e-m:e-p270: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 [14 x i8] c"Erro no tubo\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Erro no fork\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"./ex2_son\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"Son\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"2\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca [12 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [20 x i8], align 16 %11 = alloca [20 x i8], align 16 store i32 0, ptr %1, align 4 %12 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %13 = call i64 @pipe(ptr noundef %12) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %0 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) %18 = call i32 @_exit(i32 noundef 1) #3 unreachable 19: ; preds = %0 %20 = call i64 (...) @fork() store i64 %20, ptr %3, align 8 %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load i32, ptr @stderr, align 4 %24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1) %25 = call i32 @_exit(i32 noundef 1) #3 unreachable 26: ; preds = %19 %27 = load i64, ptr %3, align 8 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %39 29: ; preds = %26 %30 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %31 = load i32, ptr %30, align 4 %32 = call i32 @close(i32 noundef %31) %33 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %34 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %35 = load i32, ptr %34, align 4 %36 = call i32 @sprintf(ptr noundef %33, ptr noundef @.str.2, i32 noundef %35) %37 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %38 = call i32 @execl(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %37, ptr noundef @.str.5, ptr noundef null) br label %39 39: ; preds = %29, %26 %40 = load i64, ptr %3, align 8 store i64 %40, ptr %4, align 8 %41 = call i64 (...) @fork() store i64 %41, ptr %3, align 8 %42 = icmp slt i64 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %39 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str.1) %46 = call i32 @_exit(i32 noundef 1) #3 unreachable 47: ; preds = %39 %48 = load i64, ptr %3, align 8 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %60 50: ; preds = %47 %51 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) %54 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %55 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %56 = load i32, ptr %55, align 4 %57 = call i32 @sprintf(ptr noundef %54, ptr noundef @.str.2, i32 noundef %56) %58 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %59 = call i32 @execl(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef %58, ptr noundef @.str.6, ptr noundef null) br label %60 60: ; preds = %50, %47 %61 = load i64, ptr %3, align 8 store i64 %61, ptr %5, align 8 %62 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %63 = load i32, ptr %62, align 4 %64 = call i32 @close(i32 noundef %63) %65 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %66 = load i32, ptr %65, align 4 %67 = getelementptr inbounds [12 x i8], ptr %6, i64 0, i64 0 %68 = call i32 @read(i32 noundef %66, ptr noundef %67, i32 noundef 12) store i32 %68, ptr %8, align 4 store i32 0, ptr %7, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp slt i32 %69, 12 br i1 %70, label %.lr.ph, label %83 .lr.ph: ; preds = %60 br label %71 71: ; preds = %.lr.ph, %78 %72 = load i32, ptr %7, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [12 x i8], ptr %6, i64 0, i64 %73 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %76) br label %78 78: ; preds = %71 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %7, align 4 %81 = load i32, ptr %7, align 4 %82 = icmp slt i32 %81, 12 br i1 %82, label %71, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %78 br label %83 83: ; preds = %._crit_edge, %60 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %85 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %86 = load i32, ptr %85, align 4 %87 = getelementptr inbounds [12 x i8], ptr %6, i64 0, i64 0 %88 = call i32 @read(i32 noundef %86, ptr noundef %87, i32 noundef 12) store i32 %88, ptr %8, align 4 store i32 0, ptr %7, align 4 %89 = load i32, ptr %7, align 4 %90 = icmp slt i32 %89, 12 br i1 %90, label %.lr.ph2, label %103 .lr.ph2: ; preds = %83 br label %91 91: ; preds = %.lr.ph2, %98 %92 = load i32, ptr %7, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [12 x i8], ptr %6, i64 0, i64 %93 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %96) br label %98 98: ; preds = %91 %99 = load i32, ptr %7, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %7, align 4 %101 = load i32, ptr %7, align 4 %102 = icmp slt i32 %101, 12 br i1 %102, label %91, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %98 br label %103 103: ; preds = %._crit_edge3, %83 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %105 = load i64, ptr %4, align 8 %106 = call i32 @waitpid(i64 noundef %105, ptr noundef %9, i32 noundef 0) %107 = load i64, ptr %5, align 8 %108 = call i32 @waitpid(i64 noundef %107, ptr noundef %9, i32 noundef 0) %109 = call i32 @_exit(i32 noundef 0) #3 unreachable } declare i64 @pipe(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i64 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpe0kswriv.c' source_filename = "/tmp/tmpe0kswriv.c" target datalayout = "e-m:e-p270: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 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"socket create : %m\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"create socket succecs......\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"192.168.137.3\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"socket connet : %m\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"connet socket succecs......\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"socket read: %m\0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"socket closed: %m\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 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 %struct.sockaddr_in, align 4 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = load i32, ptr @SOCK_STREAM, align 4 %8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0) store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %14 11: ; preds = %0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @exit(i32 noundef -1) #3 unreachable 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = call i32 @htons(i32 noundef 8686) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %21 = call i32 @inet_aton(ptr noundef @.str.2, ptr noundef %20) %22 = load i32, ptr %2, align 4 %23 = call i32 @connect(i32 noundef %22, ptr noundef %3, i32 noundef 12) store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %30 26: ; preds = %14 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %28 = load i32, ptr %2, align 4 %29 = call i32 @close(i32 noundef %28) store i32 -1, ptr %1, align 4 br label %58 30: ; preds = %14 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %32 32: ; preds = %30, %54 %33 = load i32, ptr %2, align 4 %34 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %35 = call i32 @read(i32 noundef %33, ptr noundef %34, i32 noundef 100) store i32 %35, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %40 38: ; preds = %32 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %55 40: ; preds = %32 %41 = load i32, ptr %4, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %55 45: ; preds = %40 %46 = load i32, ptr %4, align 4 %47 = icmp sgt i32 %46, 0 br i1 %47, label %48, label %54 48: ; preds = %45 %49 = load i32, ptr %4, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %50 store i8 0, ptr %51, align 1 %52 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %52) br label %54 54: ; preds = %48, %45 br label %32 55: ; preds = %43, %38 %56 = load i32, ptr %2, align 4 %57 = call i32 @close(i32 noundef %56) store i32 0, ptr %1, align 4 br label %58 58: ; preds = %55, %26 %59 = load i32, ptr %1, align 4 ret i32 %59 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @htons(i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 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/tmpe0kswriv.c" target datalayout = "e-m:e-p270: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 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"socket create : %m\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"create socket succecs......\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"192.168.137.3\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"socket connet : %m\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"connet socket succecs......\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"socket read: %m\0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"socket closed: %m\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 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 %struct.sockaddr_in, align 4 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = load i32, ptr @SOCK_STREAM, align 4 %8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0) store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %14 11: ; preds = %0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @exit(i32 noundef -1) #3 unreachable 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = call i32 @htons(i32 noundef 8686) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %21 = call i32 @inet_aton(ptr noundef @.str.2, ptr noundef %20) %22 = load i32, ptr %2, align 4 %23 = call i32 @connect(i32 noundef %22, ptr noundef %3, i32 noundef 12) store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %30 26: ; preds = %14 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %28 = load i32, ptr %2, align 4 %29 = call i32 @close(i32 noundef %28) store i32 -1, ptr %1, align 4 br label %61 30: ; preds = %14 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %32 = load i32, ptr %2, align 4 %33 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %34 = call i32 @read(i32 noundef %32, ptr noundef %33, i32 noundef 100) store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp eq i32 %35, -1 br i1 %36, label %37, label %.lr.ph .lr.ph: ; preds = %30 br label %39 ._crit_edge: ; preds = %53 br label %37 37: ; preds = %._crit_edge, %30 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %58 39: ; preds = %.lr.ph, %53 %40 = load i32, ptr %4, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %39 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %58 44: ; preds = %39 %45 = load i32, ptr %4, align 4 %46 = icmp sgt i32 %45, 0 br i1 %46, label %47, label %53 47: ; preds = %44 %48 = load i32, ptr %4, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %49 store i8 0, ptr %50, align 1 %51 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %51) br label %53 53: ; preds = %47, %44 %54 = load i32, ptr %2, align 4 %55 = call i32 @read(i32 noundef %54, ptr noundef %33, i32 noundef 100) store i32 %55, ptr %4, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp eq i32 %56, -1 br i1 %57, label %._crit_edge, label %39 58: ; preds = %42, %37 %59 = load i32, ptr %2, align 4 %60 = call i32 @close(i32 noundef %59) store i32 0, ptr %1, align 4 br label %61 61: ; preds = %58, %26 %62 = load i32, ptr %1, align 4 ret i32 %62 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @htons(i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 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/tmpdq017s1t.c' source_filename = "/tmp/tmpdq017s1t.c" target datalayout = "e-m:e-p270: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/tmpdq017s1t.c" target datalayout = "e-m:e-p270: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/tmpxz6ibcr4.c' source_filename = "/tmp/tmpxz6ibcr4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @filesize(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @stat(ptr noundef %5, ptr noundef %4) %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %10 = load i64, ptr %9, align 8 %11 = trunc i64 %10 to i32 store i32 %11, ptr %2, align 4 br label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %13 13: ; preds = %12, %8 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @stat(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/tmpxz6ibcr4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @filesize(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @stat(ptr noundef %5, ptr noundef %4) %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %10 = load i64, ptr %9, align 8 %11 = trunc i64 %10 to i32 store i32 %11, ptr %2, align 4 br label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %13 13: ; preds = %12, %8 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @stat(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/tmpz4lo0bzo.c' source_filename = "/tmp/tmpz4lo0bzo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kill: not implemented\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kill(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @puts(ptr noundef @.str) ret i32 -1 } declare i32 @puts(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/tmpz4lo0bzo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kill: not implemented\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kill(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @puts(ptr noundef @.str) ret i32 -1 } declare i32 @puts(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/tmpq0ar595d.c' source_filename = "/tmp/tmpq0ar595d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { ptr } @EINVAL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"/proc\00", align 1 @EIO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"/proc/%u/cmdline\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getPIDbyName(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca [256 x i8], align 16 %16 = alloca [256 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %10, align 4 store ptr null, ptr %13, align 8 store ptr null, ptr %14, align 8 %17 = load ptr, ptr %5, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %19, %3 %23 = load i32, ptr @EINVAL, align 4 %24 = sub nsw i32 0, %23 store i32 %24, ptr %4, align 4 br label %105 25: ; preds = %19 %26 = load ptr, ptr %5, align 8 %27 = call ptr @basename(ptr noundef %26) store ptr %27, ptr %13, align 8 %28 = load ptr, ptr %13, align 8 %29 = call i64 @strlen(ptr noundef %28) %30 = icmp sle i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %25 %32 = load i32, ptr @EINVAL, align 4 %33 = sub nsw i32 0, %32 store i32 %33, ptr %4, align 4 br label %105 34: ; preds = %25 %35 = call ptr @opendir(ptr noundef @.str) store ptr %35, ptr %8, align 8 %36 = load ptr, ptr %8, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %41, label %38 38: ; preds = %34 %39 = load i32, ptr @EIO, align 4 %40 = sub nsw i32 0, %39 store i32 %40, ptr %4, align 4 br label %105 41: ; preds = %34 br label %42 42: ; preds = %100, %74, %66, %53, %41 %43 = load ptr, ptr %8, align 8 %44 = call ptr @readdir(ptr noundef %43) store ptr %44, ptr %9, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %101 46: ; preds = %42 %47 = load ptr, ptr %9, align 8 %48 = getelementptr inbounds %struct.dirent, ptr %47, i32 0, i32 0 %49 = load ptr, ptr %48, align 8 %50 = load i32, ptr %49, align 4 %51 = call i32 @isdigit(i32 noundef %50) #3 %52 = icmp ne i32 %51, 0 br i1 %52, label %54, label %53 53: ; preds = %46 br label %42, !llvm.loop !6 54: ; preds = %46 %55 = load ptr, ptr %9, align 8 %56 = getelementptr inbounds %struct.dirent, ptr %55, i32 0, i32 0 %57 = load ptr, ptr %56, align 8 %58 = call i32 @strtol(ptr noundef %57, ptr noundef null, i32 noundef 0) store i32 %58, ptr %11, align 4 %59 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %60 = load i32, ptr %11, align 4 %61 = call i32 @sprintf(ptr noundef %59, ptr noundef @.str.1, i32 noundef %60) %62 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %63 = call ptr @fopen(ptr noundef %62, ptr noundef @.str.2) store ptr %63, ptr %12, align 8 %64 = load ptr, ptr %12, align 8 %65 = icmp eq ptr %64, null br i1 %65, label %66, label %67 66: ; preds = %54 br label %42, !llvm.loop !6 67: ; preds = %54 %68 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %69 = call i32 @memset(ptr noundef %68, i32 noundef 0, i32 noundef 256) %70 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %71 = load ptr, ptr %12, align 8 %72 = call i64 @fread(ptr noundef %70, i32 noundef 255, i32 noundef 1, ptr noundef %71) %73 = icmp slt i64 %72, 0 br i1 %73, label %74, label %77 74: ; preds = %67 %75 = load ptr, ptr %12, align 8 %76 = call i32 @fclose(ptr noundef %75) br label %42, !llvm.loop !6 77: ; preds = %67 %78 = load ptr, ptr %12, align 8 %79 = call i32 @fclose(ptr noundef %78) %80 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %81 = call ptr @basename(ptr noundef %80) store ptr %81, ptr %14, align 8 %82 = load ptr, ptr %14, align 8 %83 = load ptr, ptr %13, align 8 %84 = call i64 @strcmp(ptr noundef %82, ptr noundef %83) %85 = icmp eq i64 %84, 0 br i1 %85, label %86, label %100 86: ; preds = %77 %87 = load i32, ptr %10, align 4 %88 = load i32, ptr %7, align 4 %89 = icmp sge i32 %87, %88 br i1 %89, label %90, label %91 90: ; preds = %86 br label %101 91: ; preds = %86 %92 = load i32, ptr %11, align 4 %93 = load ptr, ptr %6, align 8 %94 = load i32, ptr %10, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 store i32 %92, ptr %96, align 4 %97 = load i32, ptr %10, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %10, align 4 br label %99 99: ; preds = %91 br label %100 100: ; preds = %99, %77 br label %42, !llvm.loop !6 101: ; preds = %90, %42 %102 = load ptr, ptr %8, align 8 %103 = call i32 @closedir(ptr noundef %102) %104 = load i32, ptr %10, align 4 store i32 %104, ptr %4, align 4 br label %105 105: ; preds = %101, %38, %31, %22 %106 = load i32, ptr %4, align 4 ret i32 %106 } declare ptr @basename(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isdigit(i32 noundef) #2 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @closedir(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpq0ar595d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { ptr } @EINVAL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"/proc\00", align 1 @EIO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"/proc/%u/cmdline\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getPIDbyName(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca [256 x i8], align 16 %16 = alloca [256 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %10, align 4 store ptr null, ptr %13, align 8 store ptr null, ptr %14, align 8 %17 = load ptr, ptr %5, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %19, %3 %23 = load i32, ptr @EINVAL, align 4 %24 = sub nsw i32 0, %23 store i32 %24, ptr %4, align 4 br label %107 25: ; preds = %19 %26 = load ptr, ptr %5, align 8 %27 = call ptr @basename(ptr noundef %26) store ptr %27, ptr %13, align 8 %28 = load ptr, ptr %13, align 8 %29 = call i64 @strlen(ptr noundef %28) %30 = icmp sle i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %25 %32 = load i32, ptr @EINVAL, align 4 %33 = sub nsw i32 0, %32 store i32 %33, ptr %4, align 4 br label %107 34: ; preds = %25 %35 = call ptr @opendir(ptr noundef @.str) store ptr %35, ptr %8, align 8 %36 = load ptr, ptr %8, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %41, label %38 38: ; preds = %34 %39 = load i32, ptr @EIO, align 4 %40 = sub nsw i32 0, %39 store i32 %40, ptr %4, align 4 br label %107 41: ; preds = %34 %42 = load ptr, ptr %8, align 8 %43 = call ptr @readdir(ptr noundef %42) store ptr %43, ptr %9, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %41 br label %45 45: ; preds = %.lr.ph, %.backedge %46 = load ptr, ptr %9, align 8 %47 = getelementptr inbounds %struct.dirent, ptr %46, i32 0, i32 0 %48 = load ptr, ptr %47, align 8 %49 = load i32, ptr %48, align 4 %50 = call i32 @isdigit(i32 noundef %49) #3 %51 = icmp ne i32 %50, 0 br i1 %51, label %56, label %52 52: ; preds = %45 br label %.backedge .backedge: ; preds = %52, %68, %76, %102 %53 = load ptr, ptr %8, align 8 %54 = call ptr @readdir(ptr noundef %53) store ptr %54, ptr %9, align 8 %55 = icmp ne ptr %54, null br i1 %55, label %45, label %..loopexit_crit_edge, !llvm.loop !6 56: ; preds = %45 %57 = load ptr, ptr %9, align 8 %58 = getelementptr inbounds %struct.dirent, ptr %57, i32 0, i32 0 %59 = load ptr, ptr %58, align 8 %60 = call i32 @strtol(ptr noundef %59, ptr noundef null, i32 noundef 0) store i32 %60, ptr %11, align 4 %61 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %62 = load i32, ptr %11, align 4 %63 = call i32 @sprintf(ptr noundef %61, ptr noundef @.str.1, i32 noundef %62) %64 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %65 = call ptr @fopen(ptr noundef %64, ptr noundef @.str.2) store ptr %65, ptr %12, align 8 %66 = load ptr, ptr %12, align 8 %67 = icmp eq ptr %66, null br i1 %67, label %68, label %69 68: ; preds = %56 br label %.backedge 69: ; preds = %56 %70 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %71 = call i32 @memset(ptr noundef %70, i32 noundef 0, i32 noundef 256) %72 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %73 = load ptr, ptr %12, align 8 %74 = call i64 @fread(ptr noundef %72, i32 noundef 255, i32 noundef 1, ptr noundef %73) %75 = icmp slt i64 %74, 0 br i1 %75, label %76, label %79 76: ; preds = %69 %77 = load ptr, ptr %12, align 8 %78 = call i32 @fclose(ptr noundef %77) br label %.backedge 79: ; preds = %69 %80 = load ptr, ptr %12, align 8 %81 = call i32 @fclose(ptr noundef %80) %82 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %83 = call ptr @basename(ptr noundef %82) store ptr %83, ptr %14, align 8 %84 = load ptr, ptr %14, align 8 %85 = load ptr, ptr %13, align 8 %86 = call i64 @strcmp(ptr noundef %84, ptr noundef %85) %87 = icmp eq i64 %86, 0 br i1 %87, label %88, label %102 88: ; preds = %79 %89 = load i32, ptr %10, align 4 %90 = load i32, ptr %7, align 4 %91 = icmp sge i32 %89, %90 br i1 %91, label %92, label %93 92: ; preds = %88 br label %103 93: ; preds = %88 %94 = load i32, ptr %11, align 4 %95 = load ptr, ptr %6, align 8 %96 = load i32, ptr %10, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 store i32 %94, ptr %98, align 4 %99 = load i32, ptr %10, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %10, align 4 br label %101 101: ; preds = %93 br label %102 102: ; preds = %101, %79 br label %.backedge ..loopexit_crit_edge: ; preds = %.backedge br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %41 br label %103 103: ; preds = %.loopexit, %92 %104 = load ptr, ptr %8, align 8 %105 = call i32 @closedir(ptr noundef %104) %106 = load i32, ptr %10, align 4 store i32 %106, ptr %4, align 4 br label %107 107: ; preds = %103, %38, %31, %22 %108 = load i32, ptr %4, align 4 ret i32 %108 } declare ptr @basename(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isdigit(i32 noundef) #2 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @closedir(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpinqpbq2c.c' source_filename = "/tmp/tmpinqpbq2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @fl(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i32 @pow(float noundef %3, i32 noundef 2) %5 = mul nsw i32 6, %4 %6 = sitofp i32 %5 to float %7 = load float, ptr %2, align 4 %8 = fdiv float 1.000000e+00, %7 %9 = fadd float %6, %8 ret float %9 } declare i32 @pow(float 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/tmpinqpbq2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @fl(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i32 @pow(float noundef %3, i32 noundef 2) %5 = mul nsw i32 6, %4 %6 = sitofp i32 %5 to float %7 = load float, ptr %2, align 4 %8 = fdiv float 1.000000e+00, %7 %9 = fadd float %6, %8 ret float %9 } declare i32 @pow(float 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/tmpipogiq7q.c' source_filename = "/tmp/tmpipogiq7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fa_levinson_hp(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca [65 x double], align 16 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %15 = getelementptr inbounds [65 x double], ptr %14, i64 0, i64 0 %16 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 520) %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds double, ptr %17, i64 0 %19 = load double, ptr %18, align 8 %20 = fcmp oeq double %19, 0.000000e+00 br i1 %20, label %21, label %40 21: ; preds = %5 store i32 1, ptr %11, align 4 br label %22 22: ; preds = %35, %21 %23 = load i32, ptr %11, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp sle i32 %23, %24 br i1 %25, label %26, label %38 26: ; preds = %22 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %11, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %27, i64 %29 store double 0.000000e+00, ptr %30, align 8 %31 = load ptr, ptr %9, align 8 %32 = load i32, ptr %11, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %31, i64 %33 store double 0.000000e+00, ptr %34, align 8 br label %35 35: ; preds = %26 %36 = load i32, ptr %11, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %11, align 4 br label %22, !llvm.loop !6 38: ; preds = %22 %39 = load ptr, ptr %10, align 8 store double 0.000000e+00, ptr %39, align 8 br label %166 40: ; preds = %5 %41 = load ptr, ptr %8, align 8 %42 = getelementptr inbounds double, ptr %41, i64 0 store double 1.000000e+00, ptr %42, align 8 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds double, ptr %43, i64 0 %45 = load double, ptr %44, align 8 %46 = load ptr, ptr %10, align 8 store double %45, ptr %46, align 8 store i32 1, ptr %11, align 4 br label %47 47: ; preds = %162, %40 %48 = load i32, ptr %11, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp sle i32 %48, %49 br i1 %50, label %51, label %165 51: ; preds = %47 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %11, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 %56 = load double, ptr %55, align 8 store double %56, ptr %13, align 8 store i32 1, ptr %12, align 4 br label %57 57: ; preds = %77, %51 %58 = load i32, ptr %12, align 4 %59 = load i32, ptr %11, align 4 %60 = sub nsw i32 %59, 1 %61 = icmp sle i32 %58, %60 br i1 %61, label %62, label %80 62: ; preds = %57 %63 = load ptr, ptr %8, align 8 %64 = load i32, ptr %12, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %63, i64 %65 %67 = load double, ptr %66, align 8 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %11, align 4 %70 = load i32, ptr %12, align 4 %71 = sub nsw i32 %69, %70 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %68, i64 %72 %74 = load double, ptr %73, align 8 %75 = load double, ptr %13, align 8 %76 = call double @llvm.fmuladd.f64(double %67, double %74, double %75) store double %76, ptr %13, align 8 br label %77 77: ; preds = %62 %78 = load i32, ptr %12, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %12, align 4 br label %57, !llvm.loop !8 80: ; preds = %57 %81 = load double, ptr %13, align 8 %82 = fneg double %81 %83 = load ptr, ptr %10, align 8 %84 = load double, ptr %83, align 8 %85 = fdiv double %82, %84 %86 = load ptr, ptr %9, align 8 %87 = load i32, ptr %11, align 4 %88 = sub nsw i32 %87, 1 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds double, ptr %86, i64 %89 store double %85, ptr %90, align 8 %91 = load ptr, ptr %9, align 8 %92 = load i32, ptr %11, align 4 %93 = sub nsw i32 %92, 1 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %91, i64 %94 %96 = load double, ptr %95, align 8 %97 = load ptr, ptr %8, align 8 %98 = load i32, ptr %11, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %97, i64 %99 store double %96, ptr %100, align 8 store i32 0, ptr %12, align 4 br label %101 101: ; preds = %114, %80 %102 = load i32, ptr %12, align 4 %103 = load i32, ptr %7, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %105, label %117 105: ; preds = %101 %106 = load ptr, ptr %8, align 8 %107 = load i32, ptr %12, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds double, ptr %106, i64 %108 %110 = load double, ptr %109, align 8 %111 = load i32, ptr %12, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [65 x double], ptr %14, i64 0, i64 %112 store double %110, ptr %113, align 8 br label %114 114: ; preds = %105 %115 = load i32, ptr %12, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %12, align 4 br label %101, !llvm.loop !9 117: ; preds = %101 store i32 1, ptr %12, align 4 br label %118 118: ; preds = %141, %117 %119 = load i32, ptr %12, align 4 %120 = load i32, ptr %11, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %122, label %144 122: ; preds = %118 %123 = load ptr, ptr %9, align 8 %124 = load i32, ptr %11, align 4 %125 = sub nsw i32 %124, 1 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %123, i64 %126 %128 = load double, ptr %127, align 8 %129 = load i32, ptr %11, align 4 %130 = load i32, ptr %12, align 4 %131 = sub nsw i32 %129, %130 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [65 x double], ptr %14, i64 0, i64 %132 %134 = load double, ptr %133, align 8 %135 = load ptr, ptr %8, align 8 %136 = load i32, ptr %12, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %135, i64 %137 %139 = load double, ptr %138, align 8 %140 = call double @llvm.fmuladd.f64(double %128, double %134, double %139) store double %140, ptr %138, align 8 br label %141 141: ; preds = %122 %142 = load i32, ptr %12, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %12, align 4 br label %118, !llvm.loop !10 144: ; preds = %118 %145 = load ptr, ptr %9, align 8 %146 = load i32, ptr %11, align 4 %147 = sub nsw i32 %146, 1 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds double, ptr %145, i64 %148 %150 = load double, ptr %149, align 8 %151 = load ptr, ptr %9, align 8 %152 = load i32, ptr %11, align 4 %153 = sub nsw i32 %152, 1 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %151, i64 %154 %156 = load double, ptr %155, align 8 %157 = fneg double %150 %158 = call double @llvm.fmuladd.f64(double %157, double %156, double 1.000000e+00) %159 = load ptr, ptr %10, align 8 %160 = load double, ptr %159, align 8 %161 = fmul double %160, %158 store double %161, ptr %159, align 8 br label %162 162: ; preds = %144 %163 = load i32, ptr %11, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %11, align 4 br label %47, !llvm.loop !11 165: ; preds = %47 br label %166 166: ; preds = %165, %38 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpipogiq7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fa_levinson_hp(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca [65 x double], align 16 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %15 = getelementptr inbounds [65 x double], ptr %14, i64 0, i64 0 %16 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 520) %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds double, ptr %17, i64 0 %19 = load double, ptr %18, align 8 %20 = fcmp oeq double %19, 0.000000e+00 br i1 %20, label %21, label %42 21: ; preds = %5 store i32 1, ptr %11, align 4 %22 = load i32, ptr %11, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %.lr.ph11, label %40 .lr.ph11: ; preds = %21 br label %25 25: ; preds = %.lr.ph11, %34 %26 = load ptr, ptr %8, align 8 %27 = load i32, ptr %11, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 store double 0.000000e+00, ptr %29, align 8 %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr %11, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %30, i64 %32 store double 0.000000e+00, ptr %33, align 8 br label %34 34: ; preds = %25 %35 = load i32, ptr %11, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %11, align 4 %37 = load i32, ptr %11, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp sle i32 %37, %38 br i1 %39, label %25, label %._crit_edge12, !llvm.loop !6 ._crit_edge12: ; preds = %34 br label %40 40: ; preds = %._crit_edge12, %21 %41 = load ptr, ptr %10, align 8 store double 0.000000e+00, ptr %41, align 8 br label %177 42: ; preds = %5 %43 = load ptr, ptr %8, align 8 %44 = getelementptr inbounds double, ptr %43, i64 0 store double 1.000000e+00, ptr %44, align 8 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds double, ptr %45, i64 0 %47 = load double, ptr %46, align 8 %48 = load ptr, ptr %10, align 8 store double %47, ptr %48, align 8 store i32 1, ptr %11, align 4 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %7, align 4 %51 = icmp sle i32 %49, %50 br i1 %51, label %.lr.ph8, label %176 .lr.ph8: ; preds = %42 br label %52 52: ; preds = %.lr.ph8, %170 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %11, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 %57 = load double, ptr %56, align 8 store double %57, ptr %13, align 8 store i32 1, ptr %12, align 4 %58 = load i32, ptr %12, align 4 %59 = load i32, ptr %11, align 4 %60 = sub nsw i32 %59, 1 %61 = icmp sle i32 %58, %60 br i1 %61, label %.lr.ph, label %84 .lr.ph: ; preds = %52 br label %62 62: ; preds = %.lr.ph, %77 %63 = load ptr, ptr %8, align 8 %64 = load i32, ptr %12, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %63, i64 %65 %67 = load double, ptr %66, align 8 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %11, align 4 %70 = load i32, ptr %12, align 4 %71 = sub nsw i32 %69, %70 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %68, i64 %72 %74 = load double, ptr %73, align 8 %75 = load double, ptr %13, align 8 %76 = call double @llvm.fmuladd.f64(double %67, double %74, double %75) store double %76, ptr %13, align 8 br label %77 77: ; preds = %62 %78 = load i32, ptr %12, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %12, align 4 %80 = load i32, ptr %12, align 4 %81 = load i32, ptr %11, align 4 %82 = sub nsw i32 %81, 1 %83 = icmp sle i32 %80, %82 br i1 %83, label %62, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %77 br label %84 84: ; preds = %._crit_edge, %52 %85 = load double, ptr %13, align 8 %86 = fneg double %85 %87 = load ptr, ptr %10, align 8 %88 = load double, ptr %87, align 8 %89 = fdiv double %86, %88 %90 = load ptr, ptr %9, align 8 %91 = load i32, ptr %11, align 4 %92 = sub nsw i32 %91, 1 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %90, i64 %93 store double %89, ptr %94, align 8 %95 = load ptr, ptr %9, align 8 %96 = load i32, ptr %11, align 4 %97 = sub nsw i32 %96, 1 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds double, ptr %95, i64 %98 %100 = load double, ptr %99, align 8 %101 = load ptr, ptr %8, align 8 %102 = load i32, ptr %11, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %101, i64 %103 store double %100, ptr %104, align 8 store i32 0, ptr %12, align 4 %105 = load i32, ptr %12, align 4 %106 = load i32, ptr %7, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %.lr.ph2, label %123 .lr.ph2: ; preds = %84 br label %108 108: ; preds = %.lr.ph2, %117 %109 = load ptr, ptr %8, align 8 %110 = load i32, ptr %12, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds double, ptr %109, i64 %111 %113 = load double, ptr %112, align 8 %114 = load i32, ptr %12, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [65 x double], ptr %14, i64 0, i64 %115 store double %113, ptr %116, align 8 br label %117 117: ; preds = %108 %118 = load i32, ptr %12, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %12, align 4 %120 = load i32, ptr %12, align 4 %121 = load i32, ptr %7, align 4 %122 = icmp slt i32 %120, %121 br i1 %122, label %108, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %117 br label %123 123: ; preds = %._crit_edge3, %84 store i32 1, ptr %12, align 4 %124 = load i32, ptr %12, align 4 %125 = load i32, ptr %11, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %.lr.ph5, label %152 .lr.ph5: ; preds = %123 br label %127 127: ; preds = %.lr.ph5, %146 %128 = load ptr, ptr %9, align 8 %129 = load i32, ptr %11, align 4 %130 = sub nsw i32 %129, 1 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %128, i64 %131 %133 = load double, ptr %132, align 8 %134 = load i32, ptr %11, align 4 %135 = load i32, ptr %12, align 4 %136 = sub nsw i32 %134, %135 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [65 x double], ptr %14, i64 0, i64 %137 %139 = load double, ptr %138, align 8 %140 = load ptr, ptr %8, align 8 %141 = load i32, ptr %12, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds double, ptr %140, i64 %142 %144 = load double, ptr %143, align 8 %145 = call double @llvm.fmuladd.f64(double %133, double %139, double %144) store double %145, ptr %143, align 8 br label %146 146: ; preds = %127 %147 = load i32, ptr %12, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %12, align 4 %149 = load i32, ptr %12, align 4 %150 = load i32, ptr %11, align 4 %151 = icmp slt i32 %149, %150 br i1 %151, label %127, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %146 br label %152 152: ; preds = %._crit_edge6, %123 %153 = load ptr, ptr %9, align 8 %154 = load i32, ptr %11, align 4 %155 = sub nsw i32 %154, 1 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds double, ptr %153, i64 %156 %158 = load double, ptr %157, align 8 %159 = load ptr, ptr %9, align 8 %160 = load i32, ptr %11, align 4 %161 = sub nsw i32 %160, 1 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds double, ptr %159, i64 %162 %164 = load double, ptr %163, align 8 %165 = fneg double %158 %166 = call double @llvm.fmuladd.f64(double %165, double %164, double 1.000000e+00) %167 = load ptr, ptr %10, align 8 %168 = load double, ptr %167, align 8 %169 = fmul double %168, %166 store double %169, ptr %167, align 8 br label %170 170: ; preds = %152 %171 = load i32, ptr %11, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %11, align 4 %173 = load i32, ptr %11, align 4 %174 = load i32, ptr %7, align 4 %175 = icmp sle i32 %173, %174 br i1 %175, label %52, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %170 br label %176 176: ; preds = %._crit_edge9, %42 br label %177 177: ; preds = %176, %40 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpebd2_kq_.c' source_filename = "/tmp/tmpebd2_kq_.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_unix_datetime(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [3 x i8], align 1 %10 = alloca [5 x i8], align 1 %11 = alloca %struct.tm, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %6, align 4 store i32 0, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp eq i32 %14, 4 br i1 %15, label %16, label %22 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = call i64 @get_int(ptr noundef %17, ptr noundef %8) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %16 store i32 1, ptr %3, align 4 br label %138 21: ; preds = %16 br label %114 22: ; preds = %2 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, 7 br i1 %24, label %25, label %112 25: ; preds = %22 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 2 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 47 br i1 %30, label %31, label %44 31: ; preds = %25 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 2 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 45 br i1 %36, label %37, label %44 37: ; preds = %31 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 2 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 46 br i1 %42, label %43, label %44 43: ; preds = %37 store i32 1, ptr %3, align 4 br label %138 44: ; preds = %37, %31, %25 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 0 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 48 br i1 %49, label %50, label %56 50: ; preds = %44 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 1 %53 = load i8, ptr %52, align 1 %54 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0 store i8 %53, ptr %54, align 1 %55 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 1 store i8 0, ptr %55, align 1 br label %66 56: ; preds = %44 %57 = load ptr, ptr %4, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 0 %59 = load i8, ptr %58, align 1 %60 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0 store i8 %59, ptr %60, align 1 %61 = load ptr, ptr %4, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 1 %63 = load i8, ptr %62, align 1 %64 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 1 store i8 %63, ptr %64, align 1 %65 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 2 store i8 0, ptr %65, align 1 br label %66 66: ; preds = %56, %50 %67 = load ptr, ptr %4, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 3 %69 = load i8, ptr %68, align 1 %70 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 store i8 %69, ptr %70, align 1 %71 = load ptr, ptr %4, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 4 %73 = load i8, ptr %72, align 1 %74 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 1 store i8 %73, ptr %74, align 1 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 5 %77 = load i8, ptr %76, align 1 %78 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 2 store i8 %77, ptr %78, align 1 %79 = load ptr, ptr %4, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 6 %81 = load i8, ptr %80, align 1 %82 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 3 store i8 %81, ptr %82, align 1 %83 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 4 store i8 0, ptr %83, align 1 %84 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0 %85 = call i64 @get_int(ptr noundef %84, ptr noundef %7) %86 = icmp ne i64 %85, 0 br i1 %86, label %91, label %87 87: ; preds = %66 %88 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %89 = call i64 @get_int(ptr noundef %88, ptr noundef %8) %90 = icmp ne i64 %89, 0 br i1 %90, label %91, label %92 91: ; preds = %87, %66 store i32 1, ptr %3, align 4 br label %138 92: ; preds = %87 %93 = load i32, ptr %8, align 4 %94 = icmp slt i32 %93, 1970 br i1 %94, label %110, label %95 95: ; preds = %92 %96 = load i32, ptr %8, align 4 %97 = icmp sgt i32 %96, 2038 br i1 %97, label %110, label %98 98: ; preds = %95 %99 = load i32, ptr %7, align 4 %100 = icmp slt i32 %99, 1 br i1 %100, label %110, label %101 101: ; preds = %98 %102 = load i32, ptr %7, align 4 %103 = icmp sgt i32 %102, 12 br i1 %103, label %110, label %104 104: ; preds = %101 %105 = load i32, ptr %7, align 4 %106 = icmp sgt i32 %105, 2 br i1 %106, label %107, label %111 107: ; preds = %104 %108 = load i32, ptr %8, align 4 %109 = icmp eq i32 %108, 2038 br i1 %109, label %110, label %111 110: ; preds = %107, %101, %98, %95, %92 store i32 1, ptr %3, align 4 br label %138 111: ; preds = %107, %104 br label %113 112: ; preds = %22 store i32 1, ptr %3, align 4 br label %138 113: ; preds = %111 br label %114 114: ; preds = %113, %21 %115 = load i32, ptr %8, align 4 %116 = icmp eq i32 %115, 2038 br i1 %116, label %117, label %122 117: ; preds = %114 %118 = load i32, ptr %7, align 4 %119 = icmp eq i32 %118, 2 br i1 %119, label %120, label %122 120: ; preds = %117 %121 = load ptr, ptr %5, align 8 store i64 2147483647, ptr %121, align 8 br label %137 122: ; preds = %117, %114 %123 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 0 %124 = load i32, ptr %8, align 4 %125 = sub nsw i32 %124, 1900 store i32 %125, ptr %123, align 4 %126 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 1 %127 = load i32, ptr %7, align 4 %128 = sub nsw i32 %127, 1 store i32 %128, ptr %126, align 4 %129 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 2 store i32 1, ptr %129, align 4 %130 = call i64 @c_timegm(ptr noundef %11) %131 = load ptr, ptr %5, align 8 store i64 %130, ptr %131, align 8 %132 = load ptr, ptr %5, align 8 %133 = load i64, ptr %132, align 8 %134 = icmp slt i64 %133, 0 br i1 %134, label %135, label %136 135: ; preds = %122 store i32 1, ptr %3, align 4 br label %138 136: ; preds = %122 br label %137 137: ; preds = %136, %120 store i32 0, ptr %3, align 4 br label %138 138: ; preds = %137, %135, %112, %110, %91, %43, %20 %139 = load i32, ptr %3, align 4 ret i32 %139 } declare i32 @strlen(ptr noundef) #1 declare i64 @get_int(ptr noundef, ptr noundef) #1 declare i64 @c_timegm(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/tmpebd2_kq_.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_unix_datetime(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [3 x i8], align 1 %10 = alloca [5 x i8], align 1 %11 = alloca %struct.tm, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %6, align 4 store i32 0, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp eq i32 %14, 4 br i1 %15, label %16, label %22 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = call i64 @get_int(ptr noundef %17, ptr noundef %8) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %16 store i32 1, ptr %3, align 4 br label %138 21: ; preds = %16 br label %114 22: ; preds = %2 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, 7 br i1 %24, label %25, label %112 25: ; preds = %22 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 2 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 47 br i1 %30, label %31, label %44 31: ; preds = %25 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 2 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 45 br i1 %36, label %37, label %44 37: ; preds = %31 %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 2 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 46 br i1 %42, label %43, label %44 43: ; preds = %37 store i32 1, ptr %3, align 4 br label %138 44: ; preds = %37, %31, %25 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 0 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 48 br i1 %49, label %50, label %56 50: ; preds = %44 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 1 %53 = load i8, ptr %52, align 1 %54 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0 store i8 %53, ptr %54, align 1 %55 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 1 store i8 0, ptr %55, align 1 br label %66 56: ; preds = %44 %57 = load ptr, ptr %4, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 0 %59 = load i8, ptr %58, align 1 %60 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0 store i8 %59, ptr %60, align 1 %61 = load ptr, ptr %4, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 1 %63 = load i8, ptr %62, align 1 %64 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 1 store i8 %63, ptr %64, align 1 %65 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 2 store i8 0, ptr %65, align 1 br label %66 66: ; preds = %56, %50 %67 = load ptr, ptr %4, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 3 %69 = load i8, ptr %68, align 1 %70 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 store i8 %69, ptr %70, align 1 %71 = load ptr, ptr %4, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 4 %73 = load i8, ptr %72, align 1 %74 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 1 store i8 %73, ptr %74, align 1 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 5 %77 = load i8, ptr %76, align 1 %78 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 2 store i8 %77, ptr %78, align 1 %79 = load ptr, ptr %4, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 6 %81 = load i8, ptr %80, align 1 %82 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 3 store i8 %81, ptr %82, align 1 %83 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 4 store i8 0, ptr %83, align 1 %84 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0 %85 = call i64 @get_int(ptr noundef %84, ptr noundef %7) %86 = icmp ne i64 %85, 0 br i1 %86, label %91, label %87 87: ; preds = %66 %88 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %89 = call i64 @get_int(ptr noundef %88, ptr noundef %8) %90 = icmp ne i64 %89, 0 br i1 %90, label %91, label %92 91: ; preds = %87, %66 store i32 1, ptr %3, align 4 br label %138 92: ; preds = %87 %93 = load i32, ptr %8, align 4 %94 = icmp slt i32 %93, 1970 br i1 %94, label %110, label %95 95: ; preds = %92 %96 = load i32, ptr %8, align 4 %97 = icmp sgt i32 %96, 2038 br i1 %97, label %110, label %98 98: ; preds = %95 %99 = load i32, ptr %7, align 4 %100 = icmp slt i32 %99, 1 br i1 %100, label %110, label %101 101: ; preds = %98 %102 = load i32, ptr %7, align 4 %103 = icmp sgt i32 %102, 12 br i1 %103, label %110, label %104 104: ; preds = %101 %105 = load i32, ptr %7, align 4 %106 = icmp sgt i32 %105, 2 br i1 %106, label %107, label %111 107: ; preds = %104 %108 = load i32, ptr %8, align 4 %109 = icmp eq i32 %108, 2038 br i1 %109, label %110, label %111 110: ; preds = %107, %101, %98, %95, %92 store i32 1, ptr %3, align 4 br label %138 111: ; preds = %107, %104 br label %113 112: ; preds = %22 store i32 1, ptr %3, align 4 br label %138 113: ; preds = %111 br label %114 114: ; preds = %113, %21 %115 = load i32, ptr %8, align 4 %116 = icmp eq i32 %115, 2038 br i1 %116, label %117, label %122 117: ; preds = %114 %118 = load i32, ptr %7, align 4 %119 = icmp eq i32 %118, 2 br i1 %119, label %120, label %122 120: ; preds = %117 %121 = load ptr, ptr %5, align 8 store i64 2147483647, ptr %121, align 8 br label %137 122: ; preds = %117, %114 %123 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 0 %124 = load i32, ptr %8, align 4 %125 = sub nsw i32 %124, 1900 store i32 %125, ptr %123, align 4 %126 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 1 %127 = load i32, ptr %7, align 4 %128 = sub nsw i32 %127, 1 store i32 %128, ptr %126, align 4 %129 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 2 store i32 1, ptr %129, align 4 %130 = call i64 @c_timegm(ptr noundef %11) %131 = load ptr, ptr %5, align 8 store i64 %130, ptr %131, align 8 %132 = load ptr, ptr %5, align 8 %133 = load i64, ptr %132, align 8 %134 = icmp slt i64 %133, 0 br i1 %134, label %135, label %136 135: ; preds = %122 store i32 1, ptr %3, align 4 br label %138 136: ; preds = %122 br label %137 137: ; preds = %136, %120 store i32 0, ptr %3, align 4 br label %138 138: ; preds = %137, %135, %112, %110, %91, %43, %20 %139 = load i32, ptr %3, align 4 ret i32 %139 } declare i32 @strlen(ptr noundef) #1 declare i64 @get_int(ptr noundef, ptr noundef) #1 declare i64 @c_timegm(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/tmp45am0brx.c' source_filename = "/tmp/tmp45am0brx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xdr_des_block(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = ptrtoint ptr %14 to i32 %16 = call i32 @xdr_opaque(ptr noundef %13, i32 noundef %15, i32 noundef 4) ret i32 %16 } declare i32 @assert(i32 noundef) #1 declare i32 @xdr_opaque(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/tmp45am0brx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xdr_des_block(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = ptrtoint ptr %14 to i32 %16 = call i32 @xdr_opaque(ptr noundef %13, i32 noundef %15, i32 noundef 4) ret i32 %16 } declare i32 @assert(i32 noundef) #1 declare i32 @xdr_opaque(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/tmpzxzxjzv2.c' source_filename = "/tmp/tmpzxzxjzv2.c" target datalayout = "e-m:e-p270: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/tmpzxzxjzv2.c" target datalayout = "e-m:e-p270: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/tmpbvalw9y9.c' source_filename = "/tmp/tmpbvalw9y9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Disc0\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"Konnte Datei nicht finden bzw. \C3\B6ffnen!\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 %4 = call i32 @usleep(i32 noundef 5000000) %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %21 8: ; preds = %0 br label %9 9: ; preds = %14, %8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fgetc(ptr noundef %10) store i32 %11, ptr %2, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %14, label %20 14: ; preds = %9 %15 = load i32, ptr %2, align 4 %16 = call i32 @putchar(i32 noundef %15) %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fflush(i32 noundef %17) %19 = call i32 @usleep(i32 noundef 50000) br label %9, !llvm.loop !6 20: ; preds = %9 br label %23 21: ; preds = %0 %22 = call i32 @printf(ptr noundef @.str.2) br label %23 23: ; preds = %21, %20 ret i32 0 } declare i32 @usleep(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbvalw9y9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Disc0\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"Konnte Datei nicht finden bzw. \C3\B6ffnen!\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 %4 = call i32 @usleep(i32 noundef 5000000) %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %24 8: ; preds = %0 %9 = load ptr, ptr %3, align 8 %10 = call i32 @fgetc(ptr noundef %9) store i32 %10, ptr %2, align 4 %11 = load i32, ptr @EOF, align 4 %12 = icmp ne i32 %10, %11 br i1 %12, label %.lr.ph, label %23 .lr.ph: ; preds = %8 br label %13 13: ; preds = %.lr.ph, %13 %14 = load i32, ptr %2, align 4 %15 = call i32 @putchar(i32 noundef %14) %16 = load i32, ptr @stdout, align 4 %17 = call i32 @fflush(i32 noundef %16) %18 = call i32 @usleep(i32 noundef 50000) %19 = load ptr, ptr %3, align 8 %20 = call i32 @fgetc(ptr noundef %19) store i32 %20, ptr %2, align 4 %21 = load i32, ptr @EOF, align 4 %22 = icmp ne i32 %20, %21 br i1 %22, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %23 23: ; preds = %._crit_edge, %8 br label %26 24: ; preds = %0 %25 = call i32 @printf(ptr noundef @.str.2) br label %26 26: ; preds = %24, %23 ret i32 0 } declare i32 @usleep(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4bn4_ixh.c' source_filename = "/tmp/tmp4bn4_ixh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHF_EXECINSTR = dso_local global i64 0, align 8 @SHT_PROGBITS = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4bn4_ixh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHF_EXECINSTR = dso_local global i64 0, align 8 @SHT_PROGBITS = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6knfl68a.c' source_filename = "/tmp/tmp6knfl68a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 1 call void @qsort(ptr noundef %16, i32 noundef %17, i32 noundef %19) %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 %23 = load i32, ptr %6, align 4 call void @qsort(ptr noundef %20, i32 noundef %22, i32 noundef %23) br label %24 24: ; preds = %11, %3 ret void } declare i32 @partition(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/tmp6knfl68a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 1 call void @qsort(ptr noundef %16, i32 noundef %17, i32 noundef %19) %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 %23 = load i32, ptr %6, align 4 call void @qsort(ptr noundef %20, i32 noundef %22, i32 noundef %23) br label %24 24: ; preds = %11, %3 ret void } declare i32 @partition(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/tmpvdg3_1wx.c' source_filename = "/tmp/tmpvdg3_1wx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"No such directory: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"Stat Error\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [21 x i8] c"Not a directory: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dircheck(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @stat(ptr noundef %4, ptr noundef %3) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %21 7: ; preds = %1 %8 = load i64, ptr @errno, align 8 %9 = load i64, ptr @ENOENT, align 8 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %17 11: ; preds = %7 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %2, align 8 %14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %7 %18 = call i32 @perror(ptr noundef @.str.1) %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %1 %22 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %23 = load i32, ptr %22, align 4 %24 = call i64 @S_ISDIR(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %21 %27 = load i32, ptr @EXIT_SUCCESS, align 4 %28 = call i32 @exit(i32 noundef %27) #3 unreachable 29: ; preds = %21 %30 = load i32, ptr @stderr, align 4 %31 = load ptr, ptr %2, align 8 %32 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.2, ptr noundef %31) %33 = load i32, ptr @EXIT_FAILURE, align 4 %34 = call i32 @exit(i32 noundef %33) #3 unreachable } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @perror(ptr noundef) #1 declare i64 @S_ISDIR(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/tmpvdg3_1wx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"No such directory: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"Stat Error\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [21 x i8] c"Not a directory: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dircheck(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @stat(ptr noundef %4, ptr noundef %3) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %21 7: ; preds = %1 %8 = load i64, ptr @errno, align 8 %9 = load i64, ptr @ENOENT, align 8 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %17 11: ; preds = %7 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %2, align 8 %14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %7 %18 = call i32 @perror(ptr noundef @.str.1) %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %1 %22 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %23 = load i32, ptr %22, align 4 %24 = call i64 @S_ISDIR(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %21 %27 = load i32, ptr @EXIT_SUCCESS, align 4 %28 = call i32 @exit(i32 noundef %27) #3 unreachable 29: ; preds = %21 %30 = load i32, ptr @stderr, align 4 %31 = load ptr, ptr %2, align 8 %32 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.2, ptr noundef %31) %33 = load i32, ptr @EXIT_FAILURE, align 4 %34 = call i32 @exit(i32 noundef %33) #3 unreachable } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @perror(ptr noundef) #1 declare i64 @S_ISDIR(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/tmpn213e058.c' source_filename = "/tmp/tmpn213e058.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_gettimeofday(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = call i32 (...) @board_ticks() store i32 %6, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = sdiv i32 %7, 1000000 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0 store i32 %8, ptr %10, align 4 %11 = load i32, ptr %5, align 4 %12 = srem i32 %11, 1000000 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store i32 %12, ptr %14, align 4 ret i32 0 } declare i32 @board_ticks(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn213e058.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_gettimeofday(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = call i32 (...) @board_ticks() store i32 %6, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = sdiv i32 %7, 1000000 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0 store i32 %8, ptr %10, align 4 %11 = load i32, ptr %5, align 4 %12 = srem i32 %11, 1000000 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store i32 %12, ptr %14, align 4 ret i32 0 } declare i32 @board_ticks(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptg111sit.c' source_filename = "/tmp/tmptg111sit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_params(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @spcf_read_config() %6 = call i32 (...) @spcf_read_xresources() %7 = load i32, ptr %3, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @spcf_read_command_line(i32 noundef %7, ptr noundef %8) ret void } declare i32 @spcf_read_config(...) #1 declare i32 @spcf_read_xresources(...) #1 declare i32 @spcf_read_command_line(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptg111sit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_params(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @spcf_read_config() %6 = call i32 (...) @spcf_read_xresources() %7 = load i32, ptr %3, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @spcf_read_command_line(i32 noundef %7, ptr noundef %8) ret void } declare i32 @spcf_read_config(...) #1 declare i32 @spcf_read_xresources(...) #1 declare i32 @spcf_read_command_line(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqpqv8wxe.c' source_filename = "/tmp/tmpqpqv8wxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"temp.fifo\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"open() error for read end\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"read() error\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"read '%s' from the FIFO\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 [20 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr @O_RDONLY, align 4 %7 = call i32 @open(ptr noundef %5, i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str.1) br label %24 11: ; preds = %0 %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 20) %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %11 %17 = call i32 @perror(ptr noundef @.str.2) br label %23 18: ; preds = %11 %19 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @printf(ptr noundef @.str.3, ptr noundef %19) %21 = load i32, ptr %4, align 4 %22 = call i32 @close(i32 noundef %21) br label %23 23: ; preds = %18, %16 br label %24 24: ; preds = %23, %9 %25 = load ptr, ptr %2, align 8 %26 = call i32 @unlink(ptr noundef %25) %27 = load i32, ptr %1, align 4 ret i32 %27 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @unlink(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/tmpqpqv8wxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"temp.fifo\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"open() error for read end\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"read() error\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"read '%s' from the FIFO\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 [20 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr @O_RDONLY, align 4 %7 = call i32 @open(ptr noundef %5, i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str.1) br label %24 11: ; preds = %0 %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 20) %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %11 %17 = call i32 @perror(ptr noundef @.str.2) br label %23 18: ; preds = %11 %19 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @printf(ptr noundef @.str.3, ptr noundef %19) %21 = load i32, ptr %4, align 4 %22 = call i32 @close(i32 noundef %21) br label %23 23: ; preds = %18, %16 br label %24 24: ; preds = %23, %9 %25 = load ptr, ptr %2, align 8 %26 = call i32 @unlink(ptr noundef %25) %27 = load i32, ptr %1, align 4 ret i32 %27 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @unlink(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/tmpy4fmfof3.c' source_filename = "/tmp/tmpy4fmfof3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"%s\09po=%d\09ps=%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 ptr, align 8 %7 = alloca ptr, align 8 %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 %8, align 4 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %7, align 8 %16 = call i32 @checkNReads(i32 noundef 10000, ptr noundef %15, ptr noundef %8, ptr noundef %9) %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %9, align 4 %21 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.1, ptr noundef %18, i32 noundef %19, i32 noundef %20) %22 = load ptr, ptr %7, align 8 %23 = call i32 @fclose(ptr noundef %22) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @checkNReads(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy4fmfof3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"%s\09po=%d\09ps=%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 ptr, align 8 %7 = alloca ptr, align 8 %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 %8, align 4 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %7, align 8 %16 = call i32 @checkNReads(i32 noundef 10000, ptr noundef %15, ptr noundef %8, ptr noundef %9) %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %9, align 4 %21 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.1, ptr noundef %18, i32 noundef %19, i32 noundef %20) %22 = load ptr, ptr %7, align 8 %23 = call i32 @fclose(ptr noundef %22) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @checkNReads(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz9eofi0m.c' source_filename = "/tmp/tmpz9eofi0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_parse_string(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ne i64 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %3 store i32 2, ptr %4, align 4 br label %29 12: ; preds = %3 %13 = load i64, ptr %6, align 8 %14 = add i64 %13, 1 %15 = call ptr @malloc(i64 noundef %14) store ptr %15, ptr %8, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %12 store i32 1, ptr %4, align 4 br label %29 19: ; preds = %12 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %5, align 8 %22 = load i64, ptr %6, align 8 %23 = call i32 @memcpy(ptr noundef %20, ptr noundef %21, i64 noundef %22) %24 = load ptr, ptr %8, align 8 %25 = load i64, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 store i8 0, ptr %26, align 1 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %7, align 8 store ptr %27, ptr %28, align 8 store i32 0, ptr %4, align 4 br label %29 29: ; preds = %19, %18, %11 %30 = load i32, ptr %4, align 4 ret i32 %30 } declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz9eofi0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_parse_string(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ne i64 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %3 store i32 2, ptr %4, align 4 br label %29 12: ; preds = %3 %13 = load i64, ptr %6, align 8 %14 = add i64 %13, 1 %15 = call ptr @malloc(i64 noundef %14) store ptr %15, ptr %8, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %12 store i32 1, ptr %4, align 4 br label %29 19: ; preds = %12 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %5, align 8 %22 = load i64, ptr %6, align 8 %23 = call i32 @memcpy(ptr noundef %20, ptr noundef %21, i64 noundef %22) %24 = load ptr, ptr %8, align 8 %25 = load i64, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 store i8 0, ptr %26, align 1 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %7, align 8 store ptr %27, ptr %28, align 8 store i32 0, ptr %4, align 4 br label %29 29: ; preds = %19, %18, %11 %30 = load i32, ptr %4, align 4 ret i32 %30 } declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprwtfftdi.c' source_filename = "/tmp/tmprwtfftdi.c" target datalayout = "e-m:e-p270: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/tmprwtfftdi.c" target datalayout = "e-m:e-p270: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/tmp14l5ohvo.c' source_filename = "/tmp/tmp14l5ohvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @report_fatal_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 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp14l5ohvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @report_fatal_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 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9oaiba_m.c' source_filename = "/tmp/tmp9oaiba_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpid() #0 { %1 = call i32 (...) @__infer_nondet_int() ret i32 %1 } declare i32 @__infer_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9oaiba_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getpid() #0 { %1 = call i32 (...) @__infer_nondet_int() ret i32 %1 } declare i32 @__infer_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmv16xec9.c' source_filename = "/tmp/tmpmv16xec9.c" target datalayout = "e-m:e-p270: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/tmpmv16xec9.c" target datalayout = "e-m:e-p270: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/tmp9746ybfj.c' source_filename = "/tmp/tmp9746ybfj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmp9746ybfj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmpkrmytxzc.c' source_filename = "/tmp/tmpkrmytxzc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split_digits(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @clear_ndigits(ptr noundef %7) store i32 0, ptr %5, align 4 br label %9 9: ; preds = %26, %2 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 10 br i1 %11, label %12, label %29 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = srem i32 %13, 10 %15 = trunc i32 %14 to i8 store i8 %15, ptr %6, align 1 %16 = load i8, ptr %6, align 1 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 %16, ptr %20, align 1 %21 = load i32, ptr %3, align 4 %22 = load i8, ptr %6, align 1 %23 = zext i8 %22 to i32 %24 = sub nsw i32 %21, %23 %25 = sdiv i32 %24, 10 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %12 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %9, !llvm.loop !6 29: ; preds = %9 ret void } declare i32 @clear_ndigits(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/tmpkrmytxzc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split_digits(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @clear_ndigits(ptr noundef %7) store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 10 br i1 %10, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %25 %12 = load i32, ptr %3, align 4 %13 = srem i32 %12, 10 %14 = trunc i32 %13 to i8 store i8 %14, ptr %6, align 1 %15 = load i8, ptr %6, align 1 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 %15, ptr %19, align 1 %20 = load i32, ptr %3, align 4 %21 = load i8, ptr %6, align 1 %22 = zext i8 %21 to i32 %23 = sub nsw i32 %20, %22 %24 = sdiv i32 %23, 10 store i32 %24, ptr %3, align 4 br label %25 25: ; preds = %11 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp slt i32 %28, 10 br i1 %29, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %2 ret void } declare i32 @clear_ndigits(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/tmptq0y84zw.c' source_filename = "/tmp/tmptq0y84zw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { br label %1 1: ; preds = %0, %1 %2 = call i32 (...) @show_title() %3 = call i32 (...) @show_select_map() %4 = call i32 (...) @show_select_weapon() %5 = call i32 (...) @game_loop() %6 = call i32 (...) @show_endgame() %7 = call i32 (...) @show_credits() br label %1 } declare i32 @show_title(...) #1 declare i32 @show_select_map(...) #1 declare i32 @show_select_weapon(...) #1 declare i32 @game_loop(...) #1 declare i32 @show_endgame(...) #1 declare i32 @show_credits(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptq0y84zw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 (...) @show_title() %3 = call i32 (...) @show_select_map() %4 = call i32 (...) @show_select_weapon() %5 = call i32 (...) @game_loop() %6 = call i32 (...) @show_endgame() %7 = call i32 (...) @show_credits() br label %1 } declare i32 @show_title(...) #1 declare i32 @show_select_map(...) #1 declare i32 @show_select_weapon(...) #1 declare i32 @game_loop(...) #1 declare i32 @show_endgame(...) #1 declare i32 @show_credits(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyiz1zb5j.c' source_filename = "/tmp/tmpyiz1zb5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"Resistance value of zero!! Setting Hflux to -9999.9!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @hfluxresist(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %12 = load double, ptr %8, align 8 %13 = fcmp oeq double %12, 0.000000e+00 br i1 %13, label %14, label %16 14: ; preds = %5 %15 = call i32 @printf(ptr noundef @.str) store double 0xC0C387F333333333, ptr %11, align 8 br label %26 16: ; preds = %5 %17 = load double, ptr %6, align 8 %18 = load double, ptr %7, align 8 %19 = fsub double %17, %18 %20 = load double, ptr %9, align 8 %21 = fmul double %19, %20 %22 = load double, ptr %10, align 8 %23 = fmul double %21, %22 %24 = load double, ptr %8, align 8 %25 = fdiv double %23, %24 store double %25, ptr %11, align 8 br label %26 26: ; preds = %16, %14 %27 = load double, ptr %11, align 8 ret double %27 } 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/tmpyiz1zb5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"Resistance value of zero!! Setting Hflux to -9999.9!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @hfluxresist(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %12 = load double, ptr %8, align 8 %13 = fcmp oeq double %12, 0.000000e+00 br i1 %13, label %14, label %16 14: ; preds = %5 %15 = call i32 @printf(ptr noundef @.str) store double 0xC0C387F333333333, ptr %11, align 8 br label %26 16: ; preds = %5 %17 = load double, ptr %6, align 8 %18 = load double, ptr %7, align 8 %19 = fsub double %17, %18 %20 = load double, ptr %9, align 8 %21 = fmul double %19, %20 %22 = load double, ptr %10, align 8 %23 = fmul double %21, %22 %24 = load double, ptr %8, align 8 %25 = fdiv double %23, %24 store double %25, ptr %11, align 8 br label %26 26: ; preds = %16, %14 %27 = load double, ptr %11, align 8 ret double %27 } 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/tmpyyfc7pin.c' source_filename = "/tmp/tmpyyfc7pin.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %7, align 8 %11 = load ptr, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = sub i64 %12, 1 %14 = call i32 @qsort_r(ptr noundef %9, i64 noundef %10, ptr noundef %11, i32 noundef 0, i64 noundef %13) ret void } declare i32 @qsort_r(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyyfc7pin.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %7, align 8 %11 = load ptr, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = sub i64 %12, 1 %14 = call i32 @qsort_r(ptr noundef %9, i64 noundef %10, ptr noundef %11, i32 noundef 0, i64 noundef %13) ret void } declare i32 @qsort_r(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl6slw0gn.c' source_filename = "/tmp/tmpl6slw0gn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_64(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl6slw0gn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_64(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz040l1e7.c' source_filename = "/tmp/tmpz040l1e7.c" target datalayout = "e-m:e-p270: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/tmpz040l1e7.c" target datalayout = "e-m:e-p270: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/tmplxtpw45o.c' source_filename = "/tmp/tmplxtpw45o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"/file\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"/file0\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"/file1\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"/file2\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"/file3\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"/file4\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"/file5\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"/file6\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"/file7\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"/file8\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"/file9\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"/file10\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"/file11\00", align 1 @.str.14 = private unnamed_addr constant [8 x i8] c"/file12\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"/file13\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"/file14\00", align 1 @.str.17 = private unnamed_addr constant [8 x i8] c"/file15\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"/file16\00", align 1 @.str.19 = private unnamed_addr constant [8 x i8] c"/file17\00", align 1 @.str.20 = private unnamed_addr constant [8 x i8] c"/file18\00", align 1 @.str.21 = private unnamed_addr constant [8 x i8] c"/file19\00", align 1 @.str.22 = private unnamed_addr constant [8 x i8] c"/file20\00", align 1 @.str.23 = private unnamed_addr constant [6 x i8] c"/dir1\00", align 1 @.str.24 = private unnamed_addr constant [6 x i8] c"/dir2\00", align 1 @.str.25 = private unnamed_addr constant [6 x i8] c"/dir3\00", align 1 @.str.26 = private unnamed_addr constant [9 x i8] c"/sub/dir\00", align 1 @.str.27 = private unnamed_addr constant [5 x i8] c"/sub\00", align 1 @.str.28 = private unnamed_addr constant [5 x i8] c"file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 1, i32 noundef 0) %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 1, i32 noundef 2) %10 = call i32 @printf(ptr noundef @.str) %11 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 0, i32 noundef 0) %12 = call i32 @create2(ptr noundef @.str.1) %13 = call i32 @create2(ptr noundef @.str.2) %14 = call i32 @create2(ptr noundef @.str.3) %15 = call i32 @create2(ptr noundef @.str.4) %16 = call i32 @create2(ptr noundef @.str.5) %17 = call i32 @create2(ptr noundef @.str.6) %18 = call i32 @create2(ptr noundef @.str.7) %19 = call i32 @create2(ptr noundef @.str.8) %20 = call i32 @create2(ptr noundef @.str.9) %21 = call i32 @create2(ptr noundef @.str.10) %22 = call i32 @create2(ptr noundef @.str.11) %23 = call i32 @create2(ptr noundef @.str.12) %24 = call i32 @create2(ptr noundef @.str.13) %25 = call i32 @create2(ptr noundef @.str.14) %26 = call i32 @create2(ptr noundef @.str.15) %27 = call i32 @create2(ptr noundef @.str.16) %28 = call i32 @create2(ptr noundef @.str.17) %29 = call i32 @create2(ptr noundef @.str.18) %30 = call i32 @create2(ptr noundef @.str.19) %31 = call i32 @create2(ptr noundef @.str.20) %32 = call i32 @create2(ptr noundef @.str.21) %33 = call i32 @create2(ptr noundef @.str.22) %34 = call i32 @mkdir2(ptr noundef @.str.23) %35 = call i32 @mkdir2(ptr noundef @.str.24) %36 = call i32 @mkdir2(ptr noundef @.str.25) %37 = call i32 @mkdir2(ptr noundef @.str.26) %38 = call i32 @opendir2(ptr noundef @.str.27) %39 = call i32 @open2(ptr noundef @.str.28) %40 = call i32 @open2(ptr noundef @.str.2) %41 = call i32 @open2(ptr noundef @.str.3) %42 = call i32 @open2(ptr noundef @.str.4) %43 = call i32 @open2(ptr noundef @.str.5) %44 = call i32 @open2(ptr noundef @.str.6) %45 = call i32 @open2(ptr noundef @.str.7) %46 = call i32 @open2(ptr noundef @.str.8) %47 = call i32 @open2(ptr noundef @.str.9) %48 = call i32 @open2(ptr noundef @.str.10) %49 = call i32 @open2(ptr noundef @.str.11) %50 = call i32 @open2(ptr noundef @.str.12) %51 = call i32 @open2(ptr noundef @.str.13) %52 = call i32 @open2(ptr noundef @.str.14) %53 = call i32 @open2(ptr noundef @.str.15) %54 = call i32 @open2(ptr noundef @.str.16) %55 = call i32 @open2(ptr noundef @.str.17) %56 = call i32 @open2(ptr noundef @.str.18) %57 = call i32 @open2(ptr noundef @.str.19) %58 = call i32 @open2(ptr noundef @.str.20) %59 = call i32 @open2(ptr noundef @.str.21) %60 = call i32 @open2(ptr noundef @.str.22) %61 = call i32 @printf(ptr noundef @.str) %62 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 1, i32 noundef 0) %63 = call i32 @printf(ptr noundef @.str) %64 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 1, i32 noundef 2) %65 = call i32 @printf(ptr noundef @.str) %66 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 0, i32 noundef 0) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @debug_buffer_disk(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @create2(ptr noundef) #1 declare i32 @mkdir2(ptr noundef) #1 declare i32 @opendir2(ptr noundef) #1 declare i32 @open2(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/tmplxtpw45o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"/file\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"/file0\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"/file1\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"/file2\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"/file3\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"/file4\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"/file5\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"/file6\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"/file7\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"/file8\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"/file9\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"/file10\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"/file11\00", align 1 @.str.14 = private unnamed_addr constant [8 x i8] c"/file12\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"/file13\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"/file14\00", align 1 @.str.17 = private unnamed_addr constant [8 x i8] c"/file15\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"/file16\00", align 1 @.str.19 = private unnamed_addr constant [8 x i8] c"/file17\00", align 1 @.str.20 = private unnamed_addr constant [8 x i8] c"/file18\00", align 1 @.str.21 = private unnamed_addr constant [8 x i8] c"/file19\00", align 1 @.str.22 = private unnamed_addr constant [8 x i8] c"/file20\00", align 1 @.str.23 = private unnamed_addr constant [6 x i8] c"/dir1\00", align 1 @.str.24 = private unnamed_addr constant [6 x i8] c"/dir2\00", align 1 @.str.25 = private unnamed_addr constant [6 x i8] c"/dir3\00", align 1 @.str.26 = private unnamed_addr constant [9 x i8] c"/sub/dir\00", align 1 @.str.27 = private unnamed_addr constant [5 x i8] c"/sub\00", align 1 @.str.28 = private unnamed_addr constant [5 x i8] c"file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 1, i32 noundef 0) %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 1, i32 noundef 2) %10 = call i32 @printf(ptr noundef @.str) %11 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 0, i32 noundef 0) %12 = call i32 @create2(ptr noundef @.str.1) %13 = call i32 @create2(ptr noundef @.str.2) %14 = call i32 @create2(ptr noundef @.str.3) %15 = call i32 @create2(ptr noundef @.str.4) %16 = call i32 @create2(ptr noundef @.str.5) %17 = call i32 @create2(ptr noundef @.str.6) %18 = call i32 @create2(ptr noundef @.str.7) %19 = call i32 @create2(ptr noundef @.str.8) %20 = call i32 @create2(ptr noundef @.str.9) %21 = call i32 @create2(ptr noundef @.str.10) %22 = call i32 @create2(ptr noundef @.str.11) %23 = call i32 @create2(ptr noundef @.str.12) %24 = call i32 @create2(ptr noundef @.str.13) %25 = call i32 @create2(ptr noundef @.str.14) %26 = call i32 @create2(ptr noundef @.str.15) %27 = call i32 @create2(ptr noundef @.str.16) %28 = call i32 @create2(ptr noundef @.str.17) %29 = call i32 @create2(ptr noundef @.str.18) %30 = call i32 @create2(ptr noundef @.str.19) %31 = call i32 @create2(ptr noundef @.str.20) %32 = call i32 @create2(ptr noundef @.str.21) %33 = call i32 @create2(ptr noundef @.str.22) %34 = call i32 @mkdir2(ptr noundef @.str.23) %35 = call i32 @mkdir2(ptr noundef @.str.24) %36 = call i32 @mkdir2(ptr noundef @.str.25) %37 = call i32 @mkdir2(ptr noundef @.str.26) %38 = call i32 @opendir2(ptr noundef @.str.27) %39 = call i32 @open2(ptr noundef @.str.28) %40 = call i32 @open2(ptr noundef @.str.2) %41 = call i32 @open2(ptr noundef @.str.3) %42 = call i32 @open2(ptr noundef @.str.4) %43 = call i32 @open2(ptr noundef @.str.5) %44 = call i32 @open2(ptr noundef @.str.6) %45 = call i32 @open2(ptr noundef @.str.7) %46 = call i32 @open2(ptr noundef @.str.8) %47 = call i32 @open2(ptr noundef @.str.9) %48 = call i32 @open2(ptr noundef @.str.10) %49 = call i32 @open2(ptr noundef @.str.11) %50 = call i32 @open2(ptr noundef @.str.12) %51 = call i32 @open2(ptr noundef @.str.13) %52 = call i32 @open2(ptr noundef @.str.14) %53 = call i32 @open2(ptr noundef @.str.15) %54 = call i32 @open2(ptr noundef @.str.16) %55 = call i32 @open2(ptr noundef @.str.17) %56 = call i32 @open2(ptr noundef @.str.18) %57 = call i32 @open2(ptr noundef @.str.19) %58 = call i32 @open2(ptr noundef @.str.20) %59 = call i32 @open2(ptr noundef @.str.21) %60 = call i32 @open2(ptr noundef @.str.22) %61 = call i32 @printf(ptr noundef @.str) %62 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 1, i32 noundef 0) %63 = call i32 @printf(ptr noundef @.str) %64 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 1, i32 noundef 2) %65 = call i32 @printf(ptr noundef @.str) %66 = call i32 @debug_buffer_disk(i32 noundef 0, i32 noundef 0, i32 noundef 0) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @debug_buffer_disk(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @create2(ptr noundef) #1 declare i32 @mkdir2(ptr noundef) #1 declare i32 @opendir2(ptr noundef) #1 declare i32 @open2(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/tmp00rhrcwg.c' source_filename = "/tmp/tmp00rhrcwg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__ompc_task_firstprivates_alloc(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 = call ptr @aligned_malloc(i32 noundef %5, i32 noundef 64) %7 = load ptr, ptr %3, align 8 store ptr %6, ptr %7, align 8 ret void } declare ptr @aligned_malloc(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/tmp00rhrcwg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__ompc_task_firstprivates_alloc(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 = call ptr @aligned_malloc(i32 noundef %5, i32 noundef 64) %7 = load ptr, ptr %3, align 8 store ptr %6, ptr %7, align 8 ret void } declare ptr @aligned_malloc(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/tmp64kdagxd.c' source_filename = "/tmp/tmp64kdagxd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_22(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 0 %12 = zext i1 %11 to i32 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 0 %15 = zext i1 %14 to i32 %16 = icmp eq i32 %12, %15 br i1 %16, label %17, label %21 17: ; preds = %4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 @other_func_a(i32 noundef %18, i32 noundef %19) store i32 %20, ptr %5, align 4 br label %25 21: ; preds = %4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %9, align 4 %24 = call i32 @other_func_b(i32 noundef %22, i32 noundef %23) store i32 %24, ptr %5, align 4 br label %25 25: ; preds = %21, %17 %26 = load i32, ptr %5, align 4 ret i32 %26 } declare i32 @other_func_a(i32 noundef, i32 noundef) #1 declare i32 @other_func_b(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/tmp64kdagxd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_22(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 0 %12 = zext i1 %11 to i32 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 0 %15 = zext i1 %14 to i32 %16 = icmp eq i32 %12, %15 br i1 %16, label %17, label %21 17: ; preds = %4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 @other_func_a(i32 noundef %18, i32 noundef %19) store i32 %20, ptr %5, align 4 br label %25 21: ; preds = %4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %9, align 4 %24 = call i32 @other_func_b(i32 noundef %22, i32 noundef %23) store i32 %24, ptr %5, align 4 br label %25 25: ; preds = %21, %17 %26 = load i32, ptr %5, align 4 ret i32 %26 } declare i32 @other_func_a(i32 noundef, i32 noundef) #1 declare i32 @other_func_b(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/tmp1yu1yy8j.c' source_filename = "/tmp/tmp1yu1yy8j.c" target datalayout = "e-m:e-p270: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/tmp1yu1yy8j.c" target datalayout = "e-m:e-p270: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/tmpyhlw78dv.c' source_filename = "/tmp/tmpyhlw78dv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array(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 = %17, %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 %20 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 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyhlw78dv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array(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 %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %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 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzaklmr9q.c' source_filename = "/tmp/tmpzaklmr9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"%60sPOCKET-DB\0A%59s+---------+\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"INSERT DATA\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"SEARCH KEY\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"DUMP TABLE\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"FILE MERGER\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"QUIT\00", align 1 @__const.screen_initialize.option_menu = private unnamed_addr constant [5 x ptr] [ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"\0A|| %-20s --> %d ||\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @screen_initialize() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x ptr], align 16 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.screen_initialize.option_menu, i64 40, i1 false) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %1, align 4 br label %5 5: ; preds = %16, %0 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %8, label %19 8: ; preds = %5 %9 = load i32, ptr %1, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [5 x ptr], ptr %2, i64 0, i64 %10 %12 = load ptr, ptr %11, align 8 %13 = load i32, ptr %1, align 4 %14 = add nsw i32 %13, 1 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %12, i32 noundef %14) br label %16 16: ; preds = %8 %17 = load i32, ptr %1, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %1, align 4 br label %5, !llvm.loop !6 19: ; preds = %5 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) ret void } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzaklmr9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"%60sPOCKET-DB\0A%59s+---------+\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"INSERT DATA\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"SEARCH KEY\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"DUMP TABLE\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"FILE MERGER\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"QUIT\00", align 1 @__const.screen_initialize.option_menu = private unnamed_addr constant [5 x ptr] [ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"\0A|| %-20s --> %d ||\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @screen_initialize() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x ptr], align 16 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.screen_initialize.option_menu, i64 40, i1 false) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %15 %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [5 x ptr], ptr %2, i64 0, i64 %9 %11 = load ptr, ptr %10, align 8 %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, 1 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %11, i32 noundef %13) br label %15 15: ; preds = %7 %16 = load i32, ptr %1, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %1, align 4 %18 = load i32, ptr %1, align 4 %19 = icmp slt i32 %18, 5 br i1 %19, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %0 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) ret void } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5slfkc0o.c' source_filename = "/tmp/tmp5slfkc0o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pwd: error: can't get working dir\0A\00", align 1 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @getcwd(i32 noundef 0, i32 noundef 0) store ptr %3, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %0 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fputs(ptr noundef @.str, i32 noundef %6) store i32 1, ptr %1, align 4 br label %11 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 @puts(ptr noundef %9) store i32 0, ptr %1, align 4 br label %11 11: ; preds = %8, %5 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare ptr @getcwd(i32 noundef, i32 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @puts(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/tmp5slfkc0o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pwd: error: can't get working dir\0A\00", align 1 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @getcwd(i32 noundef 0, i32 noundef 0) store ptr %3, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %0 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fputs(ptr noundef @.str, i32 noundef %6) store i32 1, ptr %1, align 4 br label %11 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 @puts(ptr noundef %9) store i32 0, ptr %1, align 4 br label %11 11: ; preds = %8, %5 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare ptr @getcwd(i32 noundef, i32 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @puts(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/tmp49q6d80y.c' source_filename = "/tmp/tmp49q6d80y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.sizes = private unnamed_addr constant [3 x i64] [i64 3, i64 2, i64 2], align 16 @.str = private unnamed_addr constant [17 x i8] c"test linearize:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"sizes\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%02u\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"\0Atest de-linearize:\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"x-product = %u\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"failure: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"\0Atest endpoint:\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"|edge count| = %lu\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 i64, align 8 %4 = alloca i64, align 8 %5 = alloca [3 x i64], align 16 %6 = alloca [3 x i64], align 16 %7 = alloca i64, align 8 %8 = alloca [64 x i8], align 16 %9 = alloca i64, align 8 %10 = alloca [64 x i8], align 16 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca [3 x i64], align 16 %15 = alloca [3 x i64], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.sizes, i64 24, i1 false) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) %17 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %18 = call i32 @dump(ptr noundef @.str.1, i32 noundef 3, ptr noundef %17) %19 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 24) br label %21 21: ; preds = %26, %0 %22 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %23 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %24 = call i64 @more(i32 noundef 3, ptr noundef %22, ptr noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %39 26: ; preds = %21 %27 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %28 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %29 = call i64 @linearize(i32 noundef 3, ptr noundef %27, ptr noundef %28) store i64 %29, ptr %9, align 8 %30 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %31 = load i64, ptr %9, align 8 %32 = call i32 @sprintf(ptr noundef %30, ptr noundef @.str.2, i64 noundef %31) %33 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %34 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %35 = call i32 @dump(ptr noundef %33, i32 noundef 3, ptr noundef %34) %36 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %37 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %38 = call i32 @next(i32 noundef 3, ptr noundef %36, ptr noundef %37) br label %21, !llvm.loop !6 39: ; preds = %21 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i64 1, ptr %7, align 8 store i64 0, ptr %3, align 8 br label %41 41: ; preds = %50, %39 %42 = load i64, ptr %3, align 8 %43 = icmp ult i64 %42, 3 br i1 %43, label %44, label %53 44: ; preds = %41 %45 = load i64, ptr %3, align 8 %46 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 %45 %47 = load i64, ptr %46, align 8 %48 = load i64, ptr %7, align 8 %49 = mul i64 %48, %47 store i64 %49, ptr %7, align 8 br label %50 50: ; preds = %44 %51 = load i64, ptr %3, align 8 %52 = add i64 %51, 1 store i64 %52, ptr %3, align 8 br label %41, !llvm.loop !8 53: ; preds = %41 %54 = load i64, ptr %7, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %54) %56 = load i64, ptr %7, align 8 %57 = trunc i64 %56 to i32 %58 = sub nsw i32 %57, 1 store i32 %58, ptr %2, align 4 br label %59 59: ; preds = %85, %53 %60 = load i32, ptr %2, align 4 %61 = icmp sge i32 %60, 0 br i1 %61, label %62, label %88 62: ; preds = %59 %63 = load i32, ptr %2, align 4 %64 = sext i32 %63 to i64 store i64 %64, ptr %12, align 8 %65 = load i64, ptr %12, align 8 %66 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %67 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %68 = call i32 @delinearize(i64 noundef %65, i32 noundef 3, ptr noundef %66, ptr noundef %67) %69 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %70 = load i64, ptr %12, align 8 %71 = call i32 @sprintf(ptr noundef %69, ptr noundef @.str.2, i64 noundef %70) %72 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %73 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %74 = call i32 @dump(ptr noundef %72, i32 noundef 3, ptr noundef %73) %75 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %76 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %77 = call i64 @linearize(i32 noundef 3, ptr noundef %75, ptr noundef %76) store i64 %77, ptr %11, align 8 %78 = load i64, ptr %11, align 8 %79 = load i64, ptr %12, align 8 %80 = icmp ne i64 %78, %79 br i1 %80, label %81, label %84 81: ; preds = %62 %82 = load i32, ptr %2, align 4 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %82) br label %84 84: ; preds = %81, %62 br label %85 85: ; preds = %84 %86 = load i32, ptr %2, align 4 %87 = add nsw i32 %86, -1 store i32 %87, ptr %2, align 4 br label %59, !llvm.loop !9 88: ; preds = %59 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %90 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %91 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %92 = call i64 @edgeoffset(i32 noundef 3, ptr noundef %90, ptr noundef %91) store i64 %92, ptr %13, align 8 %93 = load i64, ptr %13, align 8 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %93) br label %95 95: ; preds = %88 %96 = call i32 @exit(i32 noundef 0) #4 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 declare i32 @printf(ptr noundef, ...) #2 declare i32 @dump(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i64 @more(i32 noundef, ptr noundef, ptr noundef) #2 declare i64 @linearize(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #2 declare i32 @next(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @delinearize(i64 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i64 @edgeoffset(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp49q6d80y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.sizes = private unnamed_addr constant [3 x i64] [i64 3, i64 2, i64 2], align 16 @.str = private unnamed_addr constant [17 x i8] c"test linearize:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"sizes\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%02u\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"\0Atest de-linearize:\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"x-product = %u\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"failure: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"\0Atest endpoint:\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"|edge count| = %lu\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 i64, align 8 %4 = alloca i64, align 8 %5 = alloca [3 x i64], align 16 %6 = alloca [3 x i64], align 16 %7 = alloca i64, align 8 %8 = alloca [64 x i8], align 16 %9 = alloca i64, align 8 %10 = alloca [64 x i8], align 16 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca [3 x i64], align 16 %15 = alloca [3 x i64], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.sizes, i64 24, i1 false) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) %17 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %18 = call i32 @dump(ptr noundef @.str.1, i32 noundef 3, ptr noundef %17) %19 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 24) %21 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %22 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %23 = call i64 @more(i32 noundef 3, ptr noundef %21, ptr noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %.lr.ph, label %40 .lr.ph: ; preds = %0 br label %25 25: ; preds = %.lr.ph, %25 %26 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %27 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %28 = call i64 @linearize(i32 noundef 3, ptr noundef %26, ptr noundef %27) store i64 %28, ptr %9, align 8 %29 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %30 = load i64, ptr %9, align 8 %31 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.2, i64 noundef %30) %32 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %33 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %34 = call i32 @dump(ptr noundef %32, i32 noundef 3, ptr noundef %33) %35 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %36 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %37 = call i32 @next(i32 noundef 3, ptr noundef %35, ptr noundef %36) %38 = call i64 @more(i32 noundef 3, ptr noundef %21, ptr noundef %22) %39 = icmp ne i64 %38, 0 br i1 %39, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %40 40: ; preds = %._crit_edge, %0 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i64 1, ptr %7, align 8 store i64 0, ptr %3, align 8 %42 = load i64, ptr %3, align 8 %43 = icmp ult i64 %42, 3 br i1 %43, label %.lr.ph2, label %55 .lr.ph2: ; preds = %40 br label %44 44: ; preds = %.lr.ph2, %50 %45 = load i64, ptr %3, align 8 %46 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 %45 %47 = load i64, ptr %46, align 8 %48 = load i64, ptr %7, align 8 %49 = mul i64 %48, %47 store i64 %49, ptr %7, align 8 br label %50 50: ; preds = %44 %51 = load i64, ptr %3, align 8 %52 = add i64 %51, 1 store i64 %52, ptr %3, align 8 %53 = load i64, ptr %3, align 8 %54 = icmp ult i64 %53, 3 br i1 %54, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %55 55: ; preds = %._crit_edge3, %40 %56 = load i64, ptr %7, align 8 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %56) %58 = load i64, ptr %7, align 8 %59 = trunc i64 %58 to i32 %60 = sub nsw i32 %59, 1 store i32 %60, ptr %2, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp sge i32 %61, 0 br i1 %62, label %.lr.ph5, label %91 .lr.ph5: ; preds = %55 br label %63 63: ; preds = %.lr.ph5, %86 %64 = load i32, ptr %2, align 4 %65 = sext i32 %64 to i64 store i64 %65, ptr %12, align 8 %66 = load i64, ptr %12, align 8 %67 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %68 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %69 = call i32 @delinearize(i64 noundef %66, i32 noundef 3, ptr noundef %67, ptr noundef %68) %70 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %71 = load i64, ptr %12, align 8 %72 = call i32 @sprintf(ptr noundef %70, ptr noundef @.str.2, i64 noundef %71) %73 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %74 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %75 = call i32 @dump(ptr noundef %73, i32 noundef 3, ptr noundef %74) %76 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %77 = getelementptr inbounds [3 x i64], ptr %6, i64 0, i64 0 %78 = call i64 @linearize(i32 noundef 3, ptr noundef %76, ptr noundef %77) store i64 %78, ptr %11, align 8 %79 = load i64, ptr %11, align 8 %80 = load i64, ptr %12, align 8 %81 = icmp ne i64 %79, %80 br i1 %81, label %82, label %85 82: ; preds = %63 %83 = load i32, ptr %2, align 4 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %83) br label %85 85: ; preds = %82, %63 br label %86 86: ; preds = %85 %87 = load i32, ptr %2, align 4 %88 = add nsw i32 %87, -1 store i32 %88, ptr %2, align 4 %89 = load i32, ptr %2, align 4 %90 = icmp sge i32 %89, 0 br i1 %90, label %63, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %86 br label %91 91: ; preds = %._crit_edge6, %55 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %93 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %94 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 0 %95 = call i64 @edgeoffset(i32 noundef 3, ptr noundef %93, ptr noundef %94) store i64 %95, ptr %13, align 8 %96 = load i64, ptr %13, align 8 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %96) br label %98 98: ; preds = %91 %99 = call i32 @exit(i32 noundef 0) #4 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 declare i32 @printf(ptr noundef, ...) #2 declare i32 @dump(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i64 @more(i32 noundef, ptr noundef, ptr noundef) #2 declare i64 @linearize(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #2 declare i32 @next(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @delinearize(i64 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i64 @edgeoffset(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp1i3_f5jt.c' source_filename = "/tmp/tmp1i3_f5jt.c" target datalayout = "e-m:e-p270: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/tmp1i3_f5jt.c" target datalayout = "e-m:e-p270: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/tmpmpixhh64.c' source_filename = "/tmp/tmpmpixhh64.c" target datalayout = "e-m:e-p270: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/tmpmpixhh64.c" target datalayout = "e-m:e-p270: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/tmpkrkadhot.c' source_filename = "/tmp/tmpkrkadhot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dist(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %7, align 8 %10 = load double, ptr %5, align 8 %11 = fsub double %9, %10 %12 = load double, ptr %7, align 8 %13 = load double, ptr %5, align 8 %14 = fsub double %12, %13 %15 = load double, ptr %8, align 8 %16 = load double, ptr %6, align 8 %17 = fsub double %15, %16 %18 = load double, ptr %8, align 8 %19 = load double, ptr %6, align 8 %20 = fsub double %18, %19 %21 = fmul double %17, %20 %22 = call double @llvm.fmuladd.f64(double %11, double %14, double %21) %23 = call double @sqrt(double noundef %22) #3 ret double %23 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkrkadhot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dist(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %7, align 8 %10 = load double, ptr %5, align 8 %11 = fsub double %9, %10 %12 = load double, ptr %7, align 8 %13 = load double, ptr %5, align 8 %14 = fsub double %12, %13 %15 = load double, ptr %8, align 8 %16 = load double, ptr %6, align 8 %17 = fsub double %15, %16 %18 = load double, ptr %8, align 8 %19 = load double, ptr %6, align 8 %20 = fsub double %18, %19 %21 = fmul double %17, %20 %22 = call double @llvm.fmuladd.f64(double %11, double %14, double %21) %23 = call double @sqrt(double noundef %22) #3 ret double %23 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5_o2w0qn.c' source_filename = "/tmp/tmp5_o2w0qn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.buf = internal global [4096 x i8] zeroinitializer, align 16 @main.data = internal global [33554432 x i8] zeroinitializer, align 16 @main.md5str = internal global [33 x i8] zeroinitializer, align 16 @stdin = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [29 x i8] c"usage: %s [script_file_name]\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"can't open script file: %s\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"/*\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"*/\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"//\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"can't calculate md5\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"||\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"md5sum mismatch\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.12 = private unnamed_addr constant [26 x i8] c"can't open input file: %s\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"read failed\00", align 1 @.str.14 = private unnamed_addr constant [25 x i8] c"data buffer is too small\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.16 = private unnamed_addr constant [27 x i8] c"can't open output file: %s\00", align 1 @.str.17 = private unnamed_addr constant [13 x i8] c"write failed\00", align 1 @.str.18 = private unnamed_addr constant [7 x i8] c":%x/%x\00", align 1 @.str.19 = private unnamed_addr constant [5 x i8] c":/%x\00", align 1 @.str.20 = private unnamed_addr constant [4 x i8] c":%x\00", align 1 @.str.21 = private unnamed_addr constant [33 x i8] c"invalid position instruction: %s\00", align 1 @.str.22 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.23 = private unnamed_addr constant [17 x i8] c"invalid byte: %s\00", align 1 @.str.24 = private unnamed_addr constant [29 x i8] c"unrecognized instruction: %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 ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = 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 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = load ptr, ptr @stdin, align 8 store ptr %19, ptr %8, align 8 br label %41 20: ; preds = %2 %21 = load i32, ptr %4, align 4 %22 = icmp ne i32 %21, 2 br i1 %22, label %23, label %28 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 %26 = load ptr, ptr %25, align 8 %27 = call i32 (ptr, ...) @fail(ptr noundef @.str, ptr noundef %26) br label %28 28: ; preds = %23, %20 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.1) store ptr %32, ptr %8, align 8 %33 = load ptr, ptr %8, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %40, label %35 35: ; preds = %28 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 (ptr, ...) @fail(ptr noundef @.str.2, ptr noundef %38) br label %40 40: ; preds = %35, %28 br label %41 41: ; preds = %40, %18 br label %42 42: ; preds = %207, %41 %43 = load ptr, ptr %8, align 8 %44 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %43, ptr noundef @.str.3, ptr noundef @main.buf) %45 = icmp eq i32 %44, 1 br i1 %45, label %46, label %208 46: ; preds = %42 %47 = call i64 @strncmp(ptr noundef @main.buf, ptr noundef @.str.4, i32 noundef 2) %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %60 49: ; preds = %46 br label %50 50: ; preds = %58, %49 %51 = load ptr, ptr %8, align 8 %52 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %51, ptr noundef @.str.3, ptr noundef @main.buf) %53 = icmp eq i32 %52, 1 br i1 %53, label %54, label %59 54: ; preds = %50 %55 = call ptr @strstr(ptr noundef @main.buf, ptr noundef @.str.5) %56 = icmp ne ptr %55, null br i1 %56, label %57, label %58 57: ; preds = %54 br label %59 58: ; preds = %54 br label %50, !llvm.loop !6 59: ; preds = %57, %50 br label %207 60: ; preds = %46 %61 = load i8, ptr @main.buf, align 16 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 35 br i1 %63, label %71, label %64 64: ; preds = %60 %65 = load i8, ptr @main.buf, align 16 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 59 br i1 %67, label %71, label %68 68: ; preds = %64 %69 = call i64 @strncmp(ptr noundef @main.buf, ptr noundef @.str.6, i32 noundef 2) %70 = icmp eq i64 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %68, %64, %60 %72 = load ptr, ptr %8, align 8 %73 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %72, ptr noundef @.str.7) br label %206 74: ; preds = %68 %75 = load i8, ptr @main.buf, align 16 %76 = sext i8 %75 to i32 %77 = icmp eq i32 %76, 63 br i1 %77, label %78, label %106 78: ; preds = %74 %79 = load i32, ptr %9, align 4 %80 = call i64 @md5(ptr noundef @main.data, i32 noundef %79, ptr noundef @main.md5str) %81 = icmp slt i64 %80, 0 br i1 %81, label %82, label %84 82: ; preds = %78 %83 = call i32 (ptr, ...) @fail(ptr noundef @.str.8) br label %84 84: ; preds = %82, %78 store i32 0, ptr %12, align 4 store ptr getelementptr inbounds (i8, ptr @main.buf, i64 1), ptr %6, align 8 br label %85 85: ; preds = %84, %97 %86 = load ptr, ptr %6, align 8 %87 = call i32 @strlen(ptr noundef @main.md5str) %88 = call i64 @strnicmp(ptr noundef @main.md5str, ptr noundef %86, i32 noundef %87) %89 = icmp eq i64 %88, 0 br i1 %89, label %90, label %91 90: ; preds = %85 store i32 1, ptr %12, align 4 br label %100 91: ; preds = %85 %92 = load ptr, ptr %6, align 8 %93 = call ptr @strstr(ptr noundef %92, ptr noundef @.str.9) store ptr %93, ptr %6, align 8 %94 = load ptr, ptr %6, align 8 %95 = icmp ne ptr %94, null br i1 %95, label %97, label %96 96: ; preds = %91 br label %100 97: ; preds = %91 %98 = load ptr, ptr %6, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 2 store ptr %99, ptr %6, align 8 br label %85 100: ; preds = %96, %90 %101 = load i32, ptr %12, align 4 %102 = icmp ne i32 %101, 0 br i1 %102, label %105, label %103 103: ; preds = %100 %104 = call i32 (ptr, ...) @fail(ptr noundef @.str.10) br label %105 105: ; preds = %103, %100 br label %205 106: ; preds = %74 %107 = load i8, ptr @main.buf, align 16 %108 = sext i8 %107 to i32 %109 = icmp eq i32 %108, 60 br i1 %109, label %110, label %131 110: ; preds = %106 %111 = call ptr @fopen(ptr noundef getelementptr inbounds (i8, ptr @main.buf, i64 1), ptr noundef @.str.11) store ptr %111, ptr %7, align 8 %112 = load ptr, ptr %7, align 8 %113 = icmp ne ptr %112, null br i1 %113, label %116, label %114 114: ; preds = %110 %115 = call i32 (ptr, ...) @fail(ptr noundef @.str.12, ptr noundef getelementptr inbounds (i8, ptr @main.buf, i64 1)) br label %116 116: ; preds = %114, %110 %117 = load ptr, ptr %7, align 8 %118 = call i32 @fread(ptr noundef @main.data, i32 noundef 1, i32 noundef 33554432, ptr noundef %117) store i32 %118, ptr %9, align 4 %119 = load i32, ptr %9, align 4 %120 = icmp sle i32 %119, 0 br i1 %120, label %121, label %123 121: ; preds = %116 %122 = call i32 (ptr, ...) @fail(ptr noundef @.str.13, ptr noundef getelementptr inbounds (i8, ptr @main.buf, i64 1)) br label %123 123: ; preds = %121, %116 %124 = load i32, ptr %9, align 4 %125 = icmp sge i32 %124, 33554432 br i1 %125, label %126, label %128 126: ; preds = %123 %127 = call i32 (ptr, ...) @fail(ptr noundef @.str.14) br label %128 128: ; preds = %126, %123 %129 = load ptr, ptr %7, align 8 %130 = call i32 @fclose(ptr noundef %129) br label %204 131: ; preds = %106 %132 = load i8, ptr @main.buf, align 16 %133 = sext i8 %132 to i32 %134 = icmp eq i32 %133, 62 br i1 %134, label %135, label %152 135: ; preds = %131 %136 = call ptr @fopen(ptr noundef getelementptr inbounds (i8, ptr @main.buf, i64 1), ptr noundef @.str.15) store ptr %136, ptr %7, align 8 %137 = load ptr, ptr %7, align 8 %138 = icmp ne ptr %137, null br i1 %138, label %141, label %139 139: ; preds = %135 %140 = call i32 (ptr, ...) @fail(ptr noundef @.str.16, ptr noundef getelementptr inbounds (i8, ptr @main.buf, i64 1)) br label %141 141: ; preds = %139, %135 %142 = load i32, ptr %9, align 4 %143 = load ptr, ptr %7, align 8 %144 = call i32 @fwrite(ptr noundef @main.data, i32 noundef 1, i32 noundef %142, ptr noundef %143) %145 = load i32, ptr %9, align 4 %146 = icmp ne i32 %144, %145 br i1 %146, label %147, label %149 147: ; preds = %141 %148 = call i32 (ptr, ...) @fail(ptr noundef @.str.17) br label %149 149: ; preds = %147, %141 %150 = load ptr, ptr %7, align 8 %151 = call i32 @fclose(ptr noundef %150) br label %203 152: ; preds = %131 %153 = load i8, ptr @main.buf, align 16 %154 = sext i8 %153 to i32 %155 = icmp eq i32 %154, 58 br i1 %155, label %156, label %181 156: ; preds = %152 %157 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @main.buf, ptr noundef @.str.18, ptr noundef %13, ptr noundef %14) %158 = icmp eq i32 %157, 2 br i1 %158, label %159, label %164 159: ; preds = %156 %160 = load i32, ptr %13, align 4 %161 = load i32, ptr %14, align 4 %162 = sub nsw i32 %160, %161 store i32 %162, ptr %11, align 4 %163 = load i32, ptr %13, align 4 store i32 %163, ptr %10, align 4 br label %180 164: ; preds = %156 %165 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @main.buf, ptr noundef @.str.19, ptr noundef %14) %166 = icmp eq i32 %165, 1 br i1 %166, label %167, label %171 167: ; preds = %164 %168 = load i32, ptr %14, align 4 %169 = load i32, ptr %11, align 4 %170 = add nsw i32 %168, %169 store i32 %170, ptr %10, align 4 br label %179 171: ; preds = %164 %172 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @main.buf, ptr noundef @.str.20, ptr noundef %13) %173 = icmp eq i32 %172, 1 br i1 %173, label %174, label %176 174: ; preds = %171 %175 = load i32, ptr %13, align 4 store i32 %175, ptr %10, align 4 br label %178 176: ; preds = %171 %177 = call i32 (ptr, ...) @fail(ptr noundef @.str.21, ptr noundef @main.buf) br label %178 178: ; preds = %176, %174 br label %179 179: ; preds = %178, %167 br label %180 180: ; preds = %179, %159 br label %202 181: ; preds = %152 %182 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @main.buf, ptr noundef @.str.22, ptr noundef %15) %183 = icmp eq i32 %182, 1 br i1 %183, label %184, label %199 184: ; preds = %181 %185 = load i32, ptr %15, align 4 %186 = icmp slt i32 %185, 0 br i1 %186, label %190, label %187 187: ; preds = %184 %188 = load i32, ptr %15, align 4 %189 = icmp sgt i32 %188, 255 br i1 %189, label %190, label %192 190: ; preds = %187, %184 %191 = call i32 (ptr, ...) @fail(ptr noundef @.str.23, ptr noundef @main.buf) br label %192 192: ; preds = %190, %187 %193 = load i32, ptr %15, align 4 %194 = trunc i32 %193 to i8 %195 = load i32, ptr %10, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %10, align 4 %197 = sext i32 %195 to i64 %198 = getelementptr inbounds [33554432 x i8], ptr @main.data, i64 0, i64 %197 store i8 %194, ptr %198, align 1 br label %201 199: ; preds = %181 %200 = call i32 (ptr, ...) @fail(ptr noundef @.str.24, ptr noundef @main.buf) br label %201 201: ; preds = %199, %192 br label %202 202: ; preds = %201, %180 br label %203 203: ; preds = %202, %149 br label %204 204: ; preds = %203, %128 br label %205 205: ; preds = %204, %105 br label %206 206: ; preds = %205, %71 br label %207 207: ; preds = %206, %59 br label %42, !llvm.loop !8 208: ; preds = %42 ret i32 0 } declare i32 @fail(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i64 @md5(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strnicmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5_o2w0qn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.buf = internal global [4096 x i8] zeroinitializer, align 16 @main.data = internal global [33554432 x i8] zeroinitializer, align 16 @main.md5str = internal global [33 x i8] zeroinitializer, align 16 @stdin = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [29 x i8] c"usage: %s [script_file_name]\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"can't open script file: %s\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"/*\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"*/\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"//\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"can't calculate md5\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"||\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"md5sum mismatch\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.12 = private unnamed_addr constant [26 x i8] c"can't open input file: %s\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"read failed\00", align 1 @.str.14 = private unnamed_addr constant [25 x i8] c"data buffer is too small\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.16 = private unnamed_addr constant [27 x i8] c"can't open output file: %s\00", align 1 @.str.17 = private unnamed_addr constant [13 x i8] c"write failed\00", align 1 @.str.18 = private unnamed_addr constant [7 x i8] c":%x/%x\00", align 1 @.str.19 = private unnamed_addr constant [5 x i8] c":/%x\00", align 1 @.str.20 = private unnamed_addr constant [4 x i8] c":%x\00", align 1 @.str.21 = private unnamed_addr constant [33 x i8] c"invalid position instruction: %s\00", align 1 @.str.22 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.23 = private unnamed_addr constant [17 x i8] c"invalid byte: %s\00", align 1 @.str.24 = private unnamed_addr constant [29 x i8] c"unrecognized instruction: %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 ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = 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 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = load ptr, ptr @stdin, align 8 store ptr %19, ptr %8, align 8 br label %41 20: ; preds = %2 %21 = load i32, ptr %4, align 4 %22 = icmp ne i32 %21, 2 br i1 %22, label %23, label %28 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 %26 = load ptr, ptr %25, align 8 %27 = call i32 (ptr, ...) @fail(ptr noundef @.str, ptr noundef %26) br label %28 28: ; preds = %23, %20 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.1) store ptr %32, ptr %8, align 8 %33 = load ptr, ptr %8, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %40, label %35 35: ; preds = %28 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 (ptr, ...) @fail(ptr noundef @.str.2, ptr noundef %38) br label %40 40: ; preds = %35, %28 br label %41 41: ; preds = %40, %18 %42 = load ptr, ptr %8, align 8 %43 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %42, ptr noundef @.str.3, ptr noundef @main.buf) %44 = icmp eq i32 %43, 1 br i1 %44, label %.lr.ph4, label %215 .lr.ph4: ; preds = %41 br label %45 45: ; preds = %.lr.ph4, %211 %46 = call i64 @strncmp(ptr noundef @main.buf, ptr noundef @.str.4, i32 noundef 2) %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %61 48: ; preds = %45 %49 = load ptr, ptr %8, align 8 %50 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %49, ptr noundef @.str.3, ptr noundef @main.buf) %51 = icmp eq i32 %50, 1 br i1 %51, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %48 br label %56 52: ; preds = %56 %53 = load ptr, ptr %8, align 8 %54 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %53, ptr noundef @.str.3, ptr noundef @main.buf) %55 = icmp eq i32 %54, 1 br i1 %55, label %56, label %..loopexit_crit_edge, !llvm.loop !6 56: ; preds = %.lr.ph2, %52 %57 = call ptr @strstr(ptr noundef @main.buf, ptr noundef @.str.5) %58 = icmp ne ptr %57, null br i1 %58, label %59, label %52 59: ; preds = %56 br label %60 ..loopexit_crit_edge: ; preds = %52 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %48 br label %60 60: ; preds = %.loopexit, %59 br label %211 61: ; preds = %45 %62 = load i8, ptr @main.buf, align 16 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 35 br i1 %64, label %72, label %65 65: ; preds = %61 %66 = load i8, ptr @main.buf, align 16 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 59 br i1 %68, label %72, label %69 69: ; preds = %65 %70 = call i64 @strncmp(ptr noundef @main.buf, ptr noundef @.str.6, i32 noundef 2) %71 = icmp eq i64 %70, 0 br i1 %71, label %72, label %75 72: ; preds = %69, %65, %61 %73 = load ptr, ptr %8, align 8 %74 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %73, ptr noundef @.str.7) br label %210 75: ; preds = %69 %76 = load i8, ptr @main.buf, align 16 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 63 br i1 %78, label %79, label %110 79: ; preds = %75 %80 = load i32, ptr %9, align 4 %81 = call i64 @md5(ptr noundef @main.data, i32 noundef %80, ptr noundef @main.md5str) %82 = icmp slt i64 %81, 0 br i1 %82, label %83, label %85 83: ; preds = %79 %84 = call i32 (ptr, ...) @fail(ptr noundef @.str.8) br label %85 85: ; preds = %83, %79 store i32 0, ptr %12, align 4 store ptr getelementptr inbounds (i8, ptr @main.buf, i64 1), ptr %6, align 8 %86 = load ptr, ptr %6, align 8 %87 = call i32 @strlen(ptr noundef @main.md5str) %88 = call i64 @strnicmp(ptr noundef @main.md5str, ptr noundef %86, i32 noundef %87) %89 = icmp eq i64 %88, 0 br i1 %89, label %90, label %.lr.ph .lr.ph: ; preds = %85 br label %91 ._crit_edge: ; preds = %97 br label %90 90: ; preds = %._crit_edge, %85 store i32 1, ptr %12, align 4 br label %104 91: ; preds = %.lr.ph, %97 %92 = load ptr, ptr %6, align 8 %93 = call ptr @strstr(ptr noundef %92, ptr noundef @.str.9) store ptr %93, ptr %6, align 8 %94 = load ptr, ptr %6, align 8 %95 = icmp ne ptr %94, null br i1 %95, label %97, label %96 96: ; preds = %91 br label %104 97: ; preds = %91 %98 = load ptr, ptr %6, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 2 store ptr %99, ptr %6, align 8 %100 = load ptr, ptr %6, align 8 %101 = call i32 @strlen(ptr noundef @main.md5str) %102 = call i64 @strnicmp(ptr noundef @main.md5str, ptr noundef %100, i32 noundef %101) %103 = icmp eq i64 %102, 0 br i1 %103, label %._crit_edge, label %91 104: ; preds = %96, %90 %105 = load i32, ptr %12, align 4 %106 = icmp ne i32 %105, 0 br i1 %106, label %109, label %107 107: ; preds = %104 %108 = call i32 (ptr, ...) @fail(ptr noundef @.str.10) br label %109 109: ; preds = %107, %104 br label %209 110: ; preds = %75 %111 = load i8, ptr @main.buf, align 16 %112 = sext i8 %111 to i32 %113 = icmp eq i32 %112, 60 br i1 %113, label %114, label %135 114: ; preds = %110 %115 = call ptr @fopen(ptr noundef getelementptr inbounds (i8, ptr @main.buf, i64 1), ptr noundef @.str.11) store ptr %115, ptr %7, align 8 %116 = load ptr, ptr %7, align 8 %117 = icmp ne ptr %116, null br i1 %117, label %120, label %118 118: ; preds = %114 %119 = call i32 (ptr, ...) @fail(ptr noundef @.str.12, ptr noundef getelementptr inbounds (i8, ptr @main.buf, i64 1)) br label %120 120: ; preds = %118, %114 %121 = load ptr, ptr %7, align 8 %122 = call i32 @fread(ptr noundef @main.data, i32 noundef 1, i32 noundef 33554432, ptr noundef %121) store i32 %122, ptr %9, align 4 %123 = load i32, ptr %9, align 4 %124 = icmp sle i32 %123, 0 br i1 %124, label %125, label %127 125: ; preds = %120 %126 = call i32 (ptr, ...) @fail(ptr noundef @.str.13, ptr noundef getelementptr inbounds (i8, ptr @main.buf, i64 1)) br label %127 127: ; preds = %125, %120 %128 = load i32, ptr %9, align 4 %129 = icmp sge i32 %128, 33554432 br i1 %129, label %130, label %132 130: ; preds = %127 %131 = call i32 (ptr, ...) @fail(ptr noundef @.str.14) br label %132 132: ; preds = %130, %127 %133 = load ptr, ptr %7, align 8 %134 = call i32 @fclose(ptr noundef %133) br label %208 135: ; preds = %110 %136 = load i8, ptr @main.buf, align 16 %137 = sext i8 %136 to i32 %138 = icmp eq i32 %137, 62 br i1 %138, label %139, label %156 139: ; preds = %135 %140 = call ptr @fopen(ptr noundef getelementptr inbounds (i8, ptr @main.buf, i64 1), ptr noundef @.str.15) store ptr %140, ptr %7, align 8 %141 = load ptr, ptr %7, align 8 %142 = icmp ne ptr %141, null br i1 %142, label %145, label %143 143: ; preds = %139 %144 = call i32 (ptr, ...) @fail(ptr noundef @.str.16, ptr noundef getelementptr inbounds (i8, ptr @main.buf, i64 1)) br label %145 145: ; preds = %143, %139 %146 = load i32, ptr %9, align 4 %147 = load ptr, ptr %7, align 8 %148 = call i32 @fwrite(ptr noundef @main.data, i32 noundef 1, i32 noundef %146, ptr noundef %147) %149 = load i32, ptr %9, align 4 %150 = icmp ne i32 %148, %149 br i1 %150, label %151, label %153 151: ; preds = %145 %152 = call i32 (ptr, ...) @fail(ptr noundef @.str.17) br label %153 153: ; preds = %151, %145 %154 = load ptr, ptr %7, align 8 %155 = call i32 @fclose(ptr noundef %154) br label %207 156: ; preds = %135 %157 = load i8, ptr @main.buf, align 16 %158 = sext i8 %157 to i32 %159 = icmp eq i32 %158, 58 br i1 %159, label %160, label %185 160: ; preds = %156 %161 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @main.buf, ptr noundef @.str.18, ptr noundef %13, ptr noundef %14) %162 = icmp eq i32 %161, 2 br i1 %162, label %163, label %168 163: ; preds = %160 %164 = load i32, ptr %13, align 4 %165 = load i32, ptr %14, align 4 %166 = sub nsw i32 %164, %165 store i32 %166, ptr %11, align 4 %167 = load i32, ptr %13, align 4 store i32 %167, ptr %10, align 4 br label %184 168: ; preds = %160 %169 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @main.buf, ptr noundef @.str.19, ptr noundef %14) %170 = icmp eq i32 %169, 1 br i1 %170, label %171, label %175 171: ; preds = %168 %172 = load i32, ptr %14, align 4 %173 = load i32, ptr %11, align 4 %174 = add nsw i32 %172, %173 store i32 %174, ptr %10, align 4 br label %183 175: ; preds = %168 %176 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @main.buf, ptr noundef @.str.20, ptr noundef %13) %177 = icmp eq i32 %176, 1 br i1 %177, label %178, label %180 178: ; preds = %175 %179 = load i32, ptr %13, align 4 store i32 %179, ptr %10, align 4 br label %182 180: ; preds = %175 %181 = call i32 (ptr, ...) @fail(ptr noundef @.str.21, ptr noundef @main.buf) br label %182 182: ; preds = %180, %178 br label %183 183: ; preds = %182, %171 br label %184 184: ; preds = %183, %163 br label %206 185: ; preds = %156 %186 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef @main.buf, ptr noundef @.str.22, ptr noundef %15) %187 = icmp eq i32 %186, 1 br i1 %187, label %188, label %203 188: ; preds = %185 %189 = load i32, ptr %15, align 4 %190 = icmp slt i32 %189, 0 br i1 %190, label %194, label %191 191: ; preds = %188 %192 = load i32, ptr %15, align 4 %193 = icmp sgt i32 %192, 255 br i1 %193, label %194, label %196 194: ; preds = %191, %188 %195 = call i32 (ptr, ...) @fail(ptr noundef @.str.23, ptr noundef @main.buf) br label %196 196: ; preds = %194, %191 %197 = load i32, ptr %15, align 4 %198 = trunc i32 %197 to i8 %199 = load i32, ptr %10, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %10, align 4 %201 = sext i32 %199 to i64 %202 = getelementptr inbounds [33554432 x i8], ptr @main.data, i64 0, i64 %201 store i8 %198, ptr %202, align 1 br label %205 203: ; preds = %185 %204 = call i32 (ptr, ...) @fail(ptr noundef @.str.24, ptr noundef @main.buf) br label %205 205: ; preds = %203, %196 br label %206 206: ; preds = %205, %184 br label %207 207: ; preds = %206, %153 br label %208 208: ; preds = %207, %132 br label %209 209: ; preds = %208, %109 br label %210 210: ; preds = %209, %72 br label %211 211: ; preds = %210, %60 %212 = load ptr, ptr %8, align 8 %213 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %212, ptr noundef @.str.3, ptr noundef @main.buf) %214 = icmp eq i32 %213, 1 br i1 %214, label %45, label %._crit_edge5, !llvm.loop !8 ._crit_edge5: ; preds = %211 br label %215 215: ; preds = %._crit_edge5, %41 ret i32 0 } declare i32 @fail(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i64 @md5(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strnicmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkr07hsje.c' source_filename = "/tmp/tmpkr07hsje.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @BOB_MCBOB() ret i32 %6 } declare i32 @BOB_MCBOB(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkr07hsje.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @BOB_MCBOB() ret i32 %6 } declare i32 @BOB_MCBOB(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphgr4uza2.c' source_filename = "/tmp/tmphgr4uza2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterBusy(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = add nsw i32 %4, 4 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = load volatile i32, ptr %7, align 4 %9 = and i32 %8, 1 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 1, ptr %2, align 4 br label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %2, align 4 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphgr4uza2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterBusy(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = add nsw i32 %4, 4 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = load volatile i32, ptr %7, align 4 %9 = and i32 %8, 1 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 1, ptr %2, align 4 br label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %2, align 4 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1hxx_5pi.c' source_filename = "/tmp/tmp1hxx_5pi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nil\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"t\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_reserved_words() #0 { %1 = call i32 @make_symbol(ptr noundef @.str, ptr noundef null) %2 = call i32 @make_symbol(ptr noundef @.str.1, ptr noundef null) ret void } declare i32 @make_symbol(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/tmp1hxx_5pi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nil\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"t\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_reserved_words() #0 { %1 = call i32 @make_symbol(ptr noundef @.str, ptr noundef null) %2 = call i32 @make_symbol(ptr noundef @.str.1, ptr noundef null) ret void } declare i32 @make_symbol(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/tmpbswd9ten.c' source_filename = "/tmp/tmpbswd9ten.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"HBASIC v0.1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @intro() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(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/tmpbswd9ten.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"HBASIC v0.1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @intro() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(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/tmpf92y5_y1.c' source_filename = "/tmp/tmpf92y5_y1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @f() %2 = call i32 (...) @g() ret i32 0 } declare i32 @f(...) #1 declare i32 @g(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf92y5_y1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @f() %2 = call i32 (...) @g() ret i32 0 } declare i32 @f(...) #1 declare i32 @g(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0mm4k9xh.c' source_filename = "/tmp/tmp0mm4k9xh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ConvertInstrumentOut16(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 i32 @ConvertInstrument16(ptr noundef %5, i64 noundef %6) ret void } declare i32 @ConvertInstrument16(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0mm4k9xh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ConvertInstrumentOut16(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 i32 @ConvertInstrument16(ptr noundef %5, i64 noundef %6) ret void } declare i32 @ConvertInstrument16(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv56eq48m.c' source_filename = "/tmp/tmpv56eq48m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MD5_DIGEST_LENGTH = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @md5sum_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %45 11: ; preds = %1 %12 = call i32 @MD5_Init(ptr noundef %4) %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = call i32 @MD5_Update(ptr noundef %4, ptr noundef %13, i32 noundef %15) %17 = load i32, ptr @MD5_DIGEST_LENGTH, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %5, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %6, align 8 %21 = call i32 @MD5_Final(ptr noundef %20, ptr noundef %4) %22 = call i64 @malloc(i32 noundef 33) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %24 24: ; preds = %39, %11 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr @MD5_DIGEST_LENGTH, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %42 28: ; preds = %24 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %8, align 4 %31 = mul nsw i32 %30, 2 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %20, i64 %35 %37 = load i8, ptr %36, align 1 %38 = call i32 @sprintf(ptr noundef %33, ptr noundef @.str, i8 noundef zeroext %37) br label %39 39: ; preds = %28 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %8, align 4 br label %24, !llvm.loop !6 42: ; preds = %24 %43 = load ptr, ptr %7, align 8 store ptr %43, ptr %2, align 8 %44 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %44) br label %46 45: ; preds = %1 store ptr null, ptr %2, align 8 br label %46 46: ; preds = %45, %42 %47 = load ptr, ptr %2, align 8 ret ptr %47 } declare i32 @MD5_Init(ptr noundef) #1 declare i32 @MD5_Update(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @MD5_Final(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv56eq48m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MD5_DIGEST_LENGTH = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @md5sum_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %47 11: ; preds = %1 %12 = call i32 @MD5_Init(ptr noundef %4) %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = call i32 @MD5_Update(ptr noundef %4, ptr noundef %13, i32 noundef %15) %17 = load i32, ptr @MD5_DIGEST_LENGTH, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %5, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %6, align 8 %21 = call i32 @MD5_Final(ptr noundef %20, ptr noundef %4) %22 = call i64 @malloc(i32 noundef 33) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %7, align 8 store i32 0, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr @MD5_DIGEST_LENGTH, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %44 .lr.ph: ; preds = %11 br label %27 27: ; preds = %.lr.ph, %38 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %8, align 4 %30 = mul nsw i32 %29, 2 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %20, i64 %34 %36 = load i8, ptr %35, align 1 %37 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str, i8 noundef zeroext %36) br label %38 38: ; preds = %27 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr @MD5_DIGEST_LENGTH, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %11 %45 = load ptr, ptr %7, align 8 store ptr %45, ptr %2, align 8 %46 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %46) br label %48 47: ; preds = %1 store ptr null, ptr %2, align 8 br label %48 48: ; preds = %47, %44 %49 = load ptr, ptr %2, align 8 ret ptr %49 } declare i32 @MD5_Init(ptr noundef) #1 declare i32 @MD5_Update(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @MD5_Final(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfxhnpvc_.c' source_filename = "/tmp/tmpfxhnpvc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_del(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds double, ptr %3, i64 -1 %5 = call i32 @free(ptr noundef %4) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfxhnpvc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_del(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds double, ptr %3, i64 -1 %5 = call i32 @free(ptr noundef %4) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5bh64lws.c' source_filename = "/tmp/tmp5bh64lws.c" target datalayout = "e-m:e-p270: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/tmp5bh64lws.c" target datalayout = "e-m:e-p270: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/tmp5s5wxuxk.c' source_filename = "/tmp/tmp5s5wxuxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phPlaceCall(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @phPlaceCall2(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 0) ret i32 %10 } declare i32 @phPlaceCall2(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/tmp5s5wxuxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phPlaceCall(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @phPlaceCall2(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 0) ret i32 %10 } declare i32 @phPlaceCall2(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/tmplc745_p7.c' source_filename = "/tmp/tmplc745_p7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @demo_sleep() #0 { br label %1 1: ; preds = %0, %1 %2 = call i32 @usleep(i32 noundef 10) br label %1 } declare i32 @usleep(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/tmplc745_p7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @demo_sleep() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 @usleep(i32 noundef 10) br label %1 } declare i32 @usleep(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/tmp1vpscnqq.c' source_filename = "/tmp/tmp1vpscnqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Child %d terminated with exit status %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Child %d terminate abnormally\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fork10() #0 { %1 = alloca [5 x i32], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %19, %0 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %8, label %22 8: ; preds = %5 %9 = call i32 (...) @fork() %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %11 store i32 %9, ptr %12, align 4 %13 = icmp eq i32 %9, 0 br i1 %13, label %14, label %18 14: ; preds = %8 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 100, %15 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %8 br label %19 19: ; preds = %18 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 br label %5, !llvm.loop !6 22: ; preds = %5 store i32 0, ptr %2, align 4 br label %23 23: ; preds = %40, %22 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %24, 5 br i1 %25, label %26, label %43 26: ; preds = %23 %27 = call i32 @wait(ptr noundef %3) store i32 %27, ptr %4, align 4 %28 = load i32, ptr %3, align 4 %29 = call i64 @WIFEXITED(i32 noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %26 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %3, align 4 %34 = call i32 @WEXITSTATUS(i32 noundef %33) %35 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %34) br label %39 36: ; preds = %26 %37 = load i32, ptr %4, align 4 %38 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %37) br label %39 39: ; preds = %36, %31 br label %40 40: ; preds = %39 %41 = load i32, ptr %2, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %2, align 4 br label %23, !llvm.loop !8 43: ; preds = %23 ret void } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @wait(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @WEXITSTATUS(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1vpscnqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Child %d terminated with exit status %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Child %d terminate abnormally\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fork10() #0 { %1 = alloca [5 x i32], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %18 %8 = call i32 (...) @fork() %9 = load i32, ptr %2, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %10 store i32 %8, ptr %11, align 4 %12 = icmp eq i32 %8, 0 br i1 %12, label %13, label %17 13: ; preds = %7 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 100, %14 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %7 br label %18 18: ; preds = %17 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp slt i32 %21, 5 br i1 %22, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %24, 5 br i1 %25, label %.lr.ph2, label %45 .lr.ph2: ; preds = %23 br label %26 26: ; preds = %.lr.ph2, %40 %27 = call i32 @wait(ptr noundef %3) store i32 %27, ptr %4, align 4 %28 = load i32, ptr %3, align 4 %29 = call i64 @WIFEXITED(i32 noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %26 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %3, align 4 %34 = call i32 @WEXITSTATUS(i32 noundef %33) %35 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %34) br label %39 36: ; preds = %26 %37 = load i32, ptr %4, align 4 %38 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %37) br label %39 39: ; preds = %36, %31 br label %40 40: ; preds = %39 %41 = load i32, ptr %2, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %2, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp slt i32 %43, 5 br i1 %44, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %45 45: ; preds = %._crit_edge3, %23 ret void } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @wait(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @WEXITSTATUS(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmppxdcad12.c' source_filename = "/tmp/tmppxdcad12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_hanning(ptr noundef %0, i32 noundef %1, float noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store float %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = sitofp i32 %10 to double %12 = fdiv double 0x400921FB5A7ED197, %11 %13 = fptrunc double %12 to float store float %13, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %14 14: ; preds = %32, %3 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %18, label %35 18: ; preds = %14 %19 = load i32, ptr %9, align 4 %20 = sitofp i32 %19 to float %21 = load float, ptr %8, align 4 %22 = fmul float %20, %21 %23 = fptosi float %22 to i32 %24 = call float @sin(i32 noundef %23) store float %24, ptr %7, align 4 %25 = load float, ptr %6, align 4 %26 = load float, ptr %7, align 4 %27 = fmul float %25, %26 %28 = load float, ptr %7, align 4 %29 = fmul float %27, %28 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds float, ptr %30, i32 1 store ptr %31, ptr %4, align 8 store float %29, ptr %30, align 4 br label %32 32: ; preds = %18 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %9, align 4 br label %14, !llvm.loop !6 35: ; preds = %14 ret void } declare float @sin(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/tmppxdcad12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_hanning(ptr noundef %0, i32 noundef %1, float noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store float %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = sitofp i32 %10 to double %12 = fdiv double 0x400921FB5A7ED197, %11 %13 = fptrunc double %12 to float store float %13, ptr %8, align 4 store i32 1, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %.lr.ph, label %37 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %31 %18 = load i32, ptr %9, align 4 %19 = sitofp i32 %18 to float %20 = load float, ptr %8, align 4 %21 = fmul float %19, %20 %22 = fptosi float %21 to i32 %23 = call float @sin(i32 noundef %22) store float %23, ptr %7, align 4 %24 = load float, ptr %6, align 4 %25 = load float, ptr %7, align 4 %26 = fmul float %24, %25 %27 = load float, ptr %7, align 4 %28 = fmul float %26, %27 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds float, ptr %29, i32 1 store ptr %30, ptr %4, align 8 store float %28, ptr %29, align 4 br label %31 31: ; preds = %17 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp sle i32 %34, %35 br i1 %36, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %3 ret void } declare float @sin(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/tmpzu5sk6ql.c' source_filename = "/tmp/tmpzu5sk6ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintTree(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %31, %1 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %35 9: ; preds = %5 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %16, %9 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %12, %13 %15 = icmp slt i32 %11, %14 br i1 %15, label %16, label %20 16: ; preds = %10 %17 = call i32 @printf(ptr noundef @.str) %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %10, !llvm.loop !6 20: ; preds = %10 store i32 0, ptr %3, align 4 br label %21 21: ; preds = %25, %20 %22 = call i32 @printf(ptr noundef @.str.1) %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %25 25: ; preds = %21 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = mul nsw i32 %27, 2 %29 = add nsw i32 %28, 1 %30 = icmp slt i32 %26, %29 br i1 %30, label %21, label %31, !llvm.loop !8 31: ; preds = %25 %32 = call i32 @printf(ptr noundef @.str.2) %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 br label %5, !llvm.loop !9 35: ; preds = %5 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzu5sk6ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintTree(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph2, label %41 .lr.ph2: ; preds = %1 br label %8 8: ; preds = %.lr.ph2, %34 store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %10, %11 %13 = icmp slt i32 %9, %12 br i1 %13, label %.lr.ph, label %23 .lr.ph: ; preds = %8 br label %14 14: ; preds = %.lr.ph, %14 %15 = call i32 @printf(ptr noundef @.str) %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %4, align 4 %21 = sub nsw i32 %19, %20 %22 = icmp slt i32 %18, %21 br i1 %22, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %23 23: ; preds = %._crit_edge, %8 store i32 0, ptr %3, align 4 br label %24 24: ; preds = %28, %23 %25 = call i32 @printf(ptr noundef @.str.1) %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %28 28: ; preds = %24 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %4, align 4 %31 = mul nsw i32 %30, 2 %32 = add nsw i32 %31, 1 %33 = icmp slt i32 %29, %32 br i1 %33, label %24, label %34, !llvm.loop !8 34: ; preds = %28 %35 = call i32 @printf(ptr noundef @.str.2) %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %8, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %34 br label %41 41: ; preds = %._crit_edge3, %1 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp82nv18ac.c' source_filename = "/tmp/tmp82nv18ac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Int Matrix Test Failed!\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"String Matrix Test Failed!\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i64 (...) @testIntMatrix() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %16 10: ; preds = %2 %11 = call i64 (...) @testStringMatrix() %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %16 15: ; preds = %10 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %13, %8 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @testIntMatrix(...) #1 declare i32 @printf(ptr noundef) #1 declare i64 @testStringMatrix(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp82nv18ac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Int Matrix Test Failed!\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"String Matrix Test Failed!\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i64 (...) @testIntMatrix() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %16 10: ; preds = %2 %11 = call i64 (...) @testStringMatrix() %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %16 15: ; preds = %10 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %13, %8 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @testIntMatrix(...) #1 declare i32 @printf(ptr noundef) #1 declare i64 @testStringMatrix(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgybburbc.c' source_filename = "/tmp/tmpgybburbc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SSL_FILETYPE_PEM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgybburbc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SSL_FILETYPE_PEM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}