llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmppbfww2og.c' source_filename = "/tmp/tmppbfww2og.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 874779487, ptr %3, align 4 store i32 -279694526, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = or i32 %5, %6 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = and i32 %10, %11 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = xor i32 %15, %16 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %20, %21 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = sub nsw i32 %25, %26 store i32 %27, ptr %2, align 4 %28 = load i32, ptr %2, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = ashr i32 %30, %31 store i32 %32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = call i32 @printf(ptr noundef @.str, i32 noundef %33) %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = shl i32 %35, %36 store i32 %37, ptr %2, align 4 %38 = load i32, ptr %2, align 4 %39 = call i32 @printf(ptr noundef @.str, i32 noundef %38) %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %4, align 4 %42 = mul nsw i32 %40, %41 store i32 %42, ptr %2, align 4 %43 = load i32, ptr %2, align 4 %44 = call i32 @printf(ptr noundef @.str, i32 noundef %43) %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %4, align 4 %47 = sdiv i32 %45, %46 store i32 %47, ptr %2, align 4 %48 = load i32, ptr %2, align 4 %49 = call i32 @printf(ptr noundef @.str, i32 noundef %48) %50 = load i32, ptr %3, align 4 %51 = load i32, ptr %4, align 4 %52 = srem i32 %50, %51 store i32 %52, ptr %2, align 4 %53 = load i32, ptr %2, align 4 %54 = call i32 @printf(ptr noundef @.str, i32 noundef %53) %55 = load i32, ptr %3, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp sgt i32 %55, %56 %58 = zext i1 %57 to i32 store i32 %58, ptr %2, align 4 %59 = load i32, ptr %2, align 4 %60 = call i32 @printf(ptr noundef @.str, i32 noundef %59) %61 = load i32, ptr %3, align 4 %62 = load i32, ptr %4, align 4 %63 = icmp slt i32 %61, %62 %64 = zext i1 %63 to i32 store i32 %64, ptr %2, align 4 %65 = load i32, ptr %2, align 4 %66 = call i32 @printf(ptr noundef @.str, i32 noundef %65) %67 = load i32, ptr %3, align 4 %68 = load i32, ptr %4, align 4 %69 = icmp sle i32 %67, %68 %70 = zext i1 %69 to i32 store i32 %70, ptr %2, align 4 %71 = load i32, ptr %2, align 4 %72 = call i32 @printf(ptr noundef @.str, i32 noundef %71) %73 = load i32, ptr %3, align 4 %74 = load i32, ptr %4, align 4 %75 = icmp sge i32 %73, %74 %76 = zext i1 %75 to i32 store i32 %76, ptr %2, align 4 %77 = load i32, ptr %2, align 4 %78 = call i32 @printf(ptr noundef @.str, i32 noundef %77) %79 = load i32, ptr %3, align 4 %80 = load i32, ptr %4, align 4 %81 = icmp eq i32 %79, %80 %82 = zext i1 %81 to i32 store i32 %82, ptr %2, align 4 %83 = load i32, ptr %2, align 4 %84 = call i32 @printf(ptr noundef @.str, i32 noundef %83) %85 = load i32, ptr %3, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp ne i32 %85, %86 %88 = zext i1 %87 to i32 store i32 %88, ptr %2, align 4 %89 = load i32, ptr %2, align 4 %90 = call i32 @printf(ptr noundef @.str, i32 noundef %89) %91 = load i32, ptr %3, align 4 %92 = xor i32 %91, -1 %93 = call i32 @printf(ptr noundef @.str, i32 noundef %92) %94 = load i32, ptr %3, align 4 %95 = icmp ne i32 %94, 0 %96 = xor i1 %95, true %97 = zext i1 %96 to i32 %98 = call i32 @printf(ptr noundef @.str, i32 noundef %97) %99 = load i32, ptr %3, align 4 %100 = sub nsw i32 0, %99 %101 = call i32 @printf(ptr noundef @.str, i32 noundef %100) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppbfww2og.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 874779487, ptr %3, align 4 store i32 -279694526, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = or i32 %5, %6 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = and i32 %10, %11 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = xor i32 %15, %16 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %20, %21 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = sub nsw i32 %25, %26 store i32 %27, ptr %2, align 4 %28 = load i32, ptr %2, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = ashr i32 %30, %31 store i32 %32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = call i32 @printf(ptr noundef @.str, i32 noundef %33) %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = shl i32 %35, %36 store i32 %37, ptr %2, align 4 %38 = load i32, ptr %2, align 4 %39 = call i32 @printf(ptr noundef @.str, i32 noundef %38) %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %4, align 4 %42 = mul nsw i32 %40, %41 store i32 %42, ptr %2, align 4 %43 = load i32, ptr %2, align 4 %44 = call i32 @printf(ptr noundef @.str, i32 noundef %43) %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %4, align 4 %47 = sdiv i32 %45, %46 store i32 %47, ptr %2, align 4 %48 = load i32, ptr %2, align 4 %49 = call i32 @printf(ptr noundef @.str, i32 noundef %48) %50 = load i32, ptr %3, align 4 %51 = load i32, ptr %4, align 4 %52 = srem i32 %50, %51 store i32 %52, ptr %2, align 4 %53 = load i32, ptr %2, align 4 %54 = call i32 @printf(ptr noundef @.str, i32 noundef %53) %55 = load i32, ptr %3, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp sgt i32 %55, %56 %58 = zext i1 %57 to i32 store i32 %58, ptr %2, align 4 %59 = load i32, ptr %2, align 4 %60 = call i32 @printf(ptr noundef @.str, i32 noundef %59) %61 = load i32, ptr %3, align 4 %62 = load i32, ptr %4, align 4 %63 = icmp slt i32 %61, %62 %64 = zext i1 %63 to i32 store i32 %64, ptr %2, align 4 %65 = load i32, ptr %2, align 4 %66 = call i32 @printf(ptr noundef @.str, i32 noundef %65) %67 = load i32, ptr %3, align 4 %68 = load i32, ptr %4, align 4 %69 = icmp sle i32 %67, %68 %70 = zext i1 %69 to i32 store i32 %70, ptr %2, align 4 %71 = load i32, ptr %2, align 4 %72 = call i32 @printf(ptr noundef @.str, i32 noundef %71) %73 = load i32, ptr %3, align 4 %74 = load i32, ptr %4, align 4 %75 = icmp sge i32 %73, %74 %76 = zext i1 %75 to i32 store i32 %76, ptr %2, align 4 %77 = load i32, ptr %2, align 4 %78 = call i32 @printf(ptr noundef @.str, i32 noundef %77) %79 = load i32, ptr %3, align 4 %80 = load i32, ptr %4, align 4 %81 = icmp eq i32 %79, %80 %82 = zext i1 %81 to i32 store i32 %82, ptr %2, align 4 %83 = load i32, ptr %2, align 4 %84 = call i32 @printf(ptr noundef @.str, i32 noundef %83) %85 = load i32, ptr %3, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp ne i32 %85, %86 %88 = zext i1 %87 to i32 store i32 %88, ptr %2, align 4 %89 = load i32, ptr %2, align 4 %90 = call i32 @printf(ptr noundef @.str, i32 noundef %89) %91 = load i32, ptr %3, align 4 %92 = xor i32 %91, -1 %93 = call i32 @printf(ptr noundef @.str, i32 noundef %92) %94 = load i32, ptr %3, align 4 %95 = icmp ne i32 %94, 0 %96 = xor i1 %95, true %97 = zext i1 %96 to i32 %98 = call i32 @printf(ptr noundef @.str, i32 noundef %97) %99 = load i32, ptr %3, align 4 %100 = sub nsw i32 0, %99 %101 = call i32 @printf(ptr noundef @.str, i32 noundef %100) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1ymnqa3i.c' source_filename = "/tmp/tmp1ymnqa3i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = sub nsw i32 %6, %7 %9 = icmp sge i32 %8, 0 br i1 %9, label %10, label %21 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %11, %12 %14 = icmp sle i32 %13, 0 br i1 %14, label %15, label %21 15: ; preds = %10 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = mul nsw i32 100, %17 %19 = sub nsw i32 %16, %18 %20 = icmp sle i32 %19, 0 br label %21 21: ; preds = %15, %10, %0 %22 = phi i1 [ false, %10 ], [ false, %0 ], [ %20, %15 ] %23 = zext i1 %22 to i32 %24 = call i32 @__ESBMC_assume(i32 noundef %23) br label %25 25: ; preds = %64, %21 %26 = call i64 (...) @__VERIFIER_nondet_int() %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %69 28: ; preds = %25 %29 = call i64 (...) @__VERIFIER_nondet_int() %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load i32, ptr %2, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 100 store i32 %35, ptr %3, align 4 br label %64 36: ; preds = %28 %37 = call i64 (...) @__VERIFIER_nondet_int() %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %48 39: ; preds = %36 %40 = load i32, ptr %2, align 4 %41 = icmp sge i32 %40, 4 br i1 %41, label %42, label %47 42: ; preds = %39 %43 = load i32, ptr %2, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %2, align 4 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 br label %47 47: ; preds = %42, %39 br label %63 48: ; preds = %36 %49 = load i32, ptr %3, align 4 %50 = load i32, ptr %5, align 4 %51 = mul nsw i32 10, %50 %52 = icmp sgt i32 %49, %51 br i1 %52, label %53, label %62 53: ; preds = %48 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %2, align 4 %56 = mul nsw i32 100, %55 %57 = icmp sge i32 %54, %56 br i1 %57, label %58, label %61 58: ; preds = %53 %59 = load i32, ptr %3, align 4 %60 = sub nsw i32 0, %59 store i32 %60, ptr %3, align 4 br label %61 61: ; preds = %58, %53 br label %62 62: ; preds = %61, %48 br label %63 63: ; preds = %62, %47 br label %64 64: ; preds = %63, %31 %65 = load i32, ptr %5, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %5, align 4 %67 = load i32, ptr %4, align 4 %68 = add nsw i32 %67, 10 store i32 %68, ptr %4, align 4 br label %25, !llvm.loop !6 69: ; preds = %25 %70 = load i32, ptr %2, align 4 %71 = icmp sge i32 %70, 4 br i1 %71, label %72, label %77 72: ; preds = %69 %73 = load i32, ptr %3, align 4 %74 = icmp sgt i32 %73, 2 %75 = zext i1 %74 to i32 %76 = call i32 @assert(i32 noundef %75) br label %77 77: ; preds = %72, %69 %78 = load i32, ptr %1, align 4 ret i32 %78 } declare i32 @__ESBMC_assume(i32 noundef) #1 declare i64 @__VERIFIER_nondet_int(...) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ymnqa3i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = sub nsw i32 %6, %7 %9 = icmp sge i32 %8, 0 br i1 %9, label %10, label %21 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %11, %12 %14 = icmp sle i32 %13, 0 br i1 %14, label %15, label %21 15: ; preds = %10 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = mul nsw i32 100, %17 %19 = sub nsw i32 %16, %18 %20 = icmp sle i32 %19, 0 br label %21 21: ; preds = %15, %10, %0 %22 = phi i1 [ false, %10 ], [ false, %0 ], [ %20, %15 ] %23 = zext i1 %22 to i32 %24 = call i32 @__ESBMC_assume(i32 noundef %23) %25 = call i64 (...) @__VERIFIER_nondet_int() %26 = icmp ne i64 %25, 0 br i1 %26, label %.lr.ph, label %70 .lr.ph: ; preds = %21 br label %27 27: ; preds = %.lr.ph, %63 %28 = call i64 (...) @__VERIFIER_nondet_int() %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %27 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 100 store i32 %34, ptr %3, align 4 br label %63 35: ; preds = %27 %36 = call i64 (...) @__VERIFIER_nondet_int() %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %47 38: ; preds = %35 %39 = load i32, ptr %2, align 4 %40 = icmp sge i32 %39, 4 br i1 %40, label %41, label %46 41: ; preds = %38 %42 = load i32, ptr %2, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %2, align 4 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 br label %46 46: ; preds = %41, %38 br label %62 47: ; preds = %35 %48 = load i32, ptr %3, align 4 %49 = load i32, ptr %5, align 4 %50 = mul nsw i32 10, %49 %51 = icmp sgt i32 %48, %50 br i1 %51, label %52, label %61 52: ; preds = %47 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %2, align 4 %55 = mul nsw i32 100, %54 %56 = icmp sge i32 %53, %55 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = load i32, ptr %3, align 4 %59 = sub nsw i32 0, %58 store i32 %59, ptr %3, align 4 br label %60 60: ; preds = %57, %52 br label %61 61: ; preds = %60, %47 br label %62 62: ; preds = %61, %46 br label %63 63: ; preds = %62, %30 %64 = load i32, ptr %5, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %5, align 4 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 10 store i32 %67, ptr %4, align 4 %68 = call i64 (...) @__VERIFIER_nondet_int() %69 = icmp ne i64 %68, 0 br i1 %69, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %70 70: ; preds = %._crit_edge, %21 %71 = load i32, ptr %2, align 4 %72 = icmp sge i32 %71, 4 br i1 %72, label %73, label %78 73: ; preds = %70 %74 = load i32, ptr %3, align 4 %75 = icmp sgt i32 %74, 2 %76 = zext i1 %75 to i32 %77 = call i32 @assert(i32 noundef %76) br label %78 78: ; preds = %73, %70 %79 = load i32, ptr %1, align 4 ret i32 %79 } declare i32 @__ESBMC_assume(i32 noundef) #1 declare i64 @__VERIFIER_nondet_int(...) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpm_7nh2ct.c' source_filename = "/tmp/tmpm_7nh2ct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ec_encode_data_base(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i8, align 1 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %15, align 4 br label %17 17: ; preds = %76, %6 %18 = load i32, ptr %15, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %79 21: ; preds = %17 store i32 0, ptr %13, align 4 br label %22 22: ; preds = %72, %21 %23 = load i32, ptr %13, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %75 26: ; preds = %22 store i8 0, ptr %16, align 1 store i32 0, ptr %14, align 4 br label %27 27: ; preds = %59, %26 %28 = load i32, ptr %14, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %62 31: ; preds = %27 %32 = load ptr, ptr %11, align 8 %33 = load i32, ptr %14, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr %13, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr %10, align 8 %42 = load i32, ptr %14, align 4 %43 = mul nsw i32 %42, 32 %44 = load i32, ptr %15, align 4 %45 = load i32, ptr %8, align 4 %46 = mul nsw i32 %44, %45 %47 = mul nsw i32 %46, 32 %48 = add nsw i32 %43, %47 %49 = add nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %41, i64 %50 %52 = load i8, ptr %51, align 1 %53 = call zeroext i8 @gf_mul(i8 noundef zeroext %40, i8 noundef zeroext %52) %54 = zext i8 %53 to i32 %55 = load i8, ptr %16, align 1 %56 = zext i8 %55 to i32 %57 = xor i32 %56, %54 %58 = trunc i32 %57 to i8 store i8 %58, ptr %16, align 1 br label %59 59: ; preds = %31 %60 = load i32, ptr %14, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %14, align 4 br label %27, !llvm.loop !6 62: ; preds = %27 %63 = load i8, ptr %16, align 1 %64 = load ptr, ptr %12, align 8 %65 = load i32, ptr %15, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load i32, ptr %13, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 store i8 %63, ptr %71, align 1 br label %72 72: ; preds = %62 %73 = load i32, ptr %13, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %13, align 4 br label %22, !llvm.loop !8 75: ; preds = %22 br label %76 76: ; preds = %75 %77 = load i32, ptr %15, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %15, align 4 br label %17, !llvm.loop !9 79: ; preds = %17 ret void } declare zeroext i8 @gf_mul(i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm_7nh2ct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ec_encode_data_base(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i8, align 1 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %15, align 4 %17 = load i32, ptr %15, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph5, label %85 .lr.ph5: ; preds = %6 br label %20 20: ; preds = %.lr.ph5, %79 store i32 0, ptr %13, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph2, label %78 .lr.ph2: ; preds = %20 br label %24 24: ; preds = %.lr.ph2, %72 store i8 0, ptr %16, align 1 store i32 0, ptr %14, align 4 %25 = load i32, ptr %14, align 4 %26 = load i32, ptr %8, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %62 .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %56 %29 = load ptr, ptr %11, align 8 %30 = load i32, ptr %14, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %13, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = load ptr, ptr %10, align 8 %39 = load i32, ptr %14, align 4 %40 = mul nsw i32 %39, 32 %41 = load i32, ptr %15, align 4 %42 = load i32, ptr %8, align 4 %43 = mul nsw i32 %41, %42 %44 = mul nsw i32 %43, 32 %45 = add nsw i32 %40, %44 %46 = add nsw i32 %45, 1 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %38, i64 %47 %49 = load i8, ptr %48, align 1 %50 = call zeroext i8 @gf_mul(i8 noundef zeroext %37, i8 noundef zeroext %49) %51 = zext i8 %50 to i32 %52 = load i8, ptr %16, align 1 %53 = zext i8 %52 to i32 %54 = xor i32 %53, %51 %55 = trunc i32 %54 to i8 store i8 %55, ptr %16, align 1 br label %56 56: ; preds = %28 %57 = load i32, ptr %14, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %14, align 4 %59 = load i32, ptr %14, align 4 %60 = load i32, ptr %8, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %24 %63 = load i8, ptr %16, align 1 %64 = load ptr, ptr %12, align 8 %65 = load i32, ptr %15, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load i32, ptr %13, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 store i8 %63, ptr %71, align 1 br label %72 72: ; preds = %62 %73 = load i32, ptr %13, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %13, align 4 %75 = load i32, ptr %13, align 4 %76 = load i32, ptr %7, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %78 78: ; preds = %._crit_edge3, %20 br label %79 79: ; preds = %78 %80 = load i32, ptr %15, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %15, align 4 %82 = load i32, ptr %15, align 4 %83 = load i32, ptr %9, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %20, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %79 br label %85 85: ; preds = %._crit_edge6, %6 ret void } declare zeroext i8 @gf_mul(i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp3bwwm8p1.c' source_filename = "/tmp/tmp3bwwm8p1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %23, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %26 12: ; preds = %4 %13 = load i32, ptr %3, align 4 %14 = srem i32 %13, 2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %23 16: ; preds = %12 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = call i32 @_putchar(i8 noundef signext %21) br label %23 23: ; preds = %16, %12 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %4, !llvm.loop !6 26: ; preds = %4 %27 = call i32 @_putchar(i8 noundef signext 10) ret void } declare i32 @_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3bwwm8p1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %32 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %22 %12 = load i32, ptr %3, align 4 %13 = srem i32 %12, 2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %11 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call i32 @_putchar(i8 noundef signext %20) br label %22 22: ; preds = %15, %11 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %32 32: ; preds = %._crit_edge, %1 %33 = call i32 @_putchar(i8 noundef signext 10) ret void } declare i32 @_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpv6webdvh.c' source_filename = "/tmp/tmpv6webdvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a5(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 @a6(i32 noundef %3) ret void } declare i32 @a6(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/tmpv6webdvh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a5(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 @a6(i32 noundef %3) ret void } declare i32 @a6(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/tmp2hytw4ju.c' source_filename = "/tmp/tmp2hytw4ju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Cannot open file %s \0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"%6.2f %6.2f %6.2f %6.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_data(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11) %13 = call i32 @exit(i32 noundef 0) #3 unreachable 14: ; preds = %2 store i32 0, ptr %6, align 4 br label %15 15: ; preds = %45, %14 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %16, 4749 br i1 %17, label %18, label %48 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [4 x float], ptr %20, i64 %22 %24 = getelementptr inbounds [4 x float], ptr %23, i64 0, i64 0 %25 = load float, ptr %24, align 4 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [4 x float], ptr %26, i64 %28 %30 = getelementptr inbounds [4 x float], ptr %29, i64 0, i64 1 %31 = load float, ptr %30, align 4 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [4 x float], ptr %32, i64 %34 %36 = getelementptr inbounds [4 x float], ptr %35, i64 0, i64 2 %37 = load float, ptr %36, align 4 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [4 x float], ptr %38, i64 %40 %42 = getelementptr inbounds [4 x float], ptr %41, i64 0, i64 3 %43 = load float, ptr %42, align 4 %44 = call i32 @fprintf(ptr noundef %19, ptr noundef @.str.2, float noundef %25, float noundef %31, float noundef %37, float noundef %43) br label %45 45: ; preds = %18 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 br label %15, !llvm.loop !6 48: ; preds = %15 %49 = load ptr, ptr %5, align 8 %50 = call i32 @fclose(ptr noundef %49) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2hytw4ju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Cannot open file %s \0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"%6.2f %6.2f %6.2f %6.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_data(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11) %13 = call i32 @exit(i32 noundef 0) #3 unreachable 14: ; preds = %2 store i32 0, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %15, 4749 br i1 %16, label %.lr.ph, label %49 .lr.ph: ; preds = %14 br label %17 17: ; preds = %.lr.ph, %44 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [4 x float], ptr %19, i64 %21 %23 = getelementptr inbounds [4 x float], ptr %22, i64 0, i64 0 %24 = load float, ptr %23, align 4 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [4 x float], ptr %25, i64 %27 %29 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 1 %30 = load float, ptr %29, align 4 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [4 x float], ptr %31, i64 %33 %35 = getelementptr inbounds [4 x float], ptr %34, i64 0, i64 2 %36 = load float, ptr %35, align 4 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [4 x float], ptr %37, i64 %39 %41 = getelementptr inbounds [4 x float], ptr %40, i64 0, i64 3 %42 = load float, ptr %41, align 4 %43 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.2, float noundef %24, float noundef %30, float noundef %36, float noundef %42) br label %44 44: ; preds = %17 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = icmp slt i32 %47, 4749 br i1 %48, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %49 49: ; preds = %._crit_edge, %14 %50 = load ptr, ptr %5, align 8 %51 = call i32 @fclose(ptr noundef %50) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpf8mq9gk9.c' source_filename = "/tmp/tmpf8mq9gk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_extract_epi16(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 @_mm_extract_epi16(i32 noundef %3, i32 noundef 1) ret i32 %4 } declare i32 @_mm_extract_epi16(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/tmpf8mq9gk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_extract_epi16(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 @_mm_extract_epi16(i32 noundef %3, i32 noundef 1) ret i32 %4 } declare i32 @_mm_extract_epi16(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/tmp9ukp7ivu.c' source_filename = "/tmp/tmp9ukp7ivu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DBL_MAX = dso_local global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @interp1(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 %23 = load i32, ptr %12, align 4 %24 = call i64 @calloc(i32 noundef %23, i32 noundef 4) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %19, align 8 %26 = load i32, ptr %12, align 4 %27 = call i64 @calloc(i32 noundef %26, i32 noundef 4) %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %20, align 8 store i32 0, ptr %21, align 4 br label %29 29: ; preds = %113, %8 %30 = load i32, ptr %21, align 4 %31 = load i32, ptr %12, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %116 33: ; preds = %29 %34 = load i32, ptr %21, align 4 %35 = load i32, ptr %12, align 4 %36 = sub nsw i32 %35, 1 %37 = icmp slt i32 %34, %36 br i1 %37, label %38, label %91 38: ; preds = %33 %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %21, align 4 %41 = add nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds float, ptr %39, i64 %42 %44 = load float, ptr %43, align 4 %45 = load ptr, ptr %11, align 8 %46 = load i32, ptr %21, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %45, i64 %47 %49 = load float, ptr %48, align 4 %50 = fsub float %44, %49 store float %50, ptr %17, align 4 %51 = load ptr, ptr %13, align 8 %52 = load i32, ptr %21, align 4 %53 = add nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds float, ptr %51, i64 %54 %56 = load float, ptr %55, align 4 %57 = load ptr, ptr %13, align 8 %58 = load i32, ptr %21, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds float, ptr %57, i64 %59 %61 = load float, ptr %60, align 4 %62 = fsub float %56, %61 store float %62, ptr %18, align 4 %63 = load float, ptr %18, align 4 %64 = load float, ptr %17, align 4 %65 = fdiv float %63, %64 %66 = load ptr, ptr %19, align 8 %67 = load i32, ptr %21, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds float, ptr %66, i64 %68 store float %65, ptr %69, align 4 %70 = load ptr, ptr %13, align 8 %71 = load i32, ptr %21, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds float, ptr %70, i64 %72 %74 = load float, ptr %73, align 4 %75 = load ptr, ptr %11, align 8 %76 = load i32, ptr %21, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds float, ptr %75, i64 %77 %79 = load float, ptr %78, align 4 %80 = load ptr, ptr %19, align 8 %81 = load i32, ptr %21, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds float, ptr %80, i64 %82 %84 = load float, ptr %83, align 4 %85 = fneg float %79 %86 = call float @llvm.fmuladd.f32(float %85, float %84, float %74) %87 = load ptr, ptr %20, align 8 %88 = load i32, ptr %21, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds float, ptr %87, i64 %89 store float %86, ptr %90, align 4 br label %112 91: ; preds = %33 %92 = load ptr, ptr %19, align 8 %93 = load i32, ptr %21, align 4 %94 = sub nsw i32 %93, 1 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds float, ptr %92, i64 %95 %97 = load float, ptr %96, align 4 %98 = load ptr, ptr %19, align 8 %99 = load i32, ptr %21, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds float, ptr %98, i64 %100 store float %97, ptr %101, align 4 %102 = load ptr, ptr %20, align 8 %103 = load i32, ptr %21, align 4 %104 = sub nsw i32 %103, 1 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds float, ptr %102, i64 %105 %107 = load float, ptr %106, align 4 %108 = load ptr, ptr %20, align 8 %109 = load i32, ptr %21, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds float, ptr %108, i64 %110 store float %107, ptr %111, align 4 br label %112 112: ; preds = %91, %38 br label %113 113: ; preds = %112 %114 = load i32, ptr %21, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %21, align 4 br label %29, !llvm.loop !6 116: ; preds = %29 store i32 0, ptr %21, align 4 br label %117 117: ; preds = %160, %116 %118 = load i32, ptr %21, align 4 %119 = load i32, ptr %16, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %121, label %163 121: ; preds = %117 %122 = load ptr, ptr %11, align 8 %123 = load i32, ptr %12, align 4 %124 = load ptr, ptr %15, align 8 %125 = load i32, ptr %21, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds float, ptr %124, i64 %126 %128 = load float, ptr %127, align 4 %129 = call i32 @binary_search(ptr noundef %122, i32 noundef %123, float noundef %128) store i32 %129, ptr %22, align 4 %130 = load i32, ptr %22, align 4 %131 = icmp ne i32 %130, -1 br i1 %131, label %132, label %153 132: ; preds = %121 %133 = load ptr, ptr %19, align 8 %134 = load i32, ptr %22, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds float, ptr %133, i64 %135 %137 = load float, ptr %136, align 4 %138 = load ptr, ptr %15, align 8 %139 = load i32, ptr %21, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds float, ptr %138, i64 %140 %142 = load float, ptr %141, align 4 %143 = load ptr, ptr %20, align 8 %144 = load i32, ptr %22, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds float, ptr %143, i64 %145 %147 = load float, ptr %146, align 4 %148 = call float @llvm.fmuladd.f32(float %137, float %142, float %147) %149 = load ptr, ptr %9, align 8 %150 = load i32, ptr %21, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds float, ptr %149, i64 %151 store float %148, ptr %152, align 4 br label %159 153: ; preds = %121 %154 = load float, ptr @DBL_MAX, align 4 %155 = load ptr, ptr %9, align 8 %156 = load i32, ptr %21, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds float, ptr %155, i64 %157 store float %154, ptr %158, align 4 br label %159 159: ; preds = %153, %132 br label %160 160: ; preds = %159 %161 = load i32, ptr %21, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %21, align 4 br label %117, !llvm.loop !8 163: ; preds = %117 %164 = load ptr, ptr %19, align 8 %165 = call i32 @free(ptr noundef %164) %166 = load ptr, ptr %20, align 8 %167 = call i32 @free(ptr noundef %166) %168 = load ptr, ptr %9, align 8 ret ptr %168 } declare i64 @calloc(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @binary_search(ptr noundef, i32 noundef, float noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ukp7ivu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DBL_MAX = dso_local global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @interp1(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 %23 = load i32, ptr %12, align 4 %24 = call i64 @calloc(i32 noundef %23, i32 noundef 4) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %19, align 8 %26 = load i32, ptr %12, align 4 %27 = call i64 @calloc(i32 noundef %26, i32 noundef 4) %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %20, align 8 store i32 0, ptr %21, align 4 %29 = load i32, ptr %21, align 4 %30 = load i32, ptr %12, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %118 .lr.ph: ; preds = %8 br label %32 32: ; preds = %.lr.ph, %112 %33 = load i32, ptr %21, align 4 %34 = load i32, ptr %12, align 4 %35 = sub nsw i32 %34, 1 %36 = icmp slt i32 %33, %35 br i1 %36, label %37, label %90 37: ; preds = %32 %38 = load ptr, ptr %11, align 8 %39 = load i32, ptr %21, align 4 %40 = add nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds float, ptr %38, i64 %41 %43 = load float, ptr %42, align 4 %44 = load ptr, ptr %11, align 8 %45 = load i32, ptr %21, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds float, ptr %44, i64 %46 %48 = load float, ptr %47, align 4 %49 = fsub float %43, %48 store float %49, ptr %17, align 4 %50 = load ptr, ptr %13, align 8 %51 = load i32, ptr %21, align 4 %52 = add nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds float, ptr %50, i64 %53 %55 = load float, ptr %54, align 4 %56 = load ptr, ptr %13, align 8 %57 = load i32, ptr %21, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds float, ptr %56, i64 %58 %60 = load float, ptr %59, align 4 %61 = fsub float %55, %60 store float %61, ptr %18, align 4 %62 = load float, ptr %18, align 4 %63 = load float, ptr %17, align 4 %64 = fdiv float %62, %63 %65 = load ptr, ptr %19, align 8 %66 = load i32, ptr %21, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds float, ptr %65, i64 %67 store float %64, ptr %68, align 4 %69 = load ptr, ptr %13, align 8 %70 = load i32, ptr %21, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds float, ptr %69, i64 %71 %73 = load float, ptr %72, align 4 %74 = load ptr, ptr %11, align 8 %75 = load i32, ptr %21, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds float, ptr %74, i64 %76 %78 = load float, ptr %77, align 4 %79 = load ptr, ptr %19, align 8 %80 = load i32, ptr %21, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds float, ptr %79, i64 %81 %83 = load float, ptr %82, align 4 %84 = fneg float %78 %85 = call float @llvm.fmuladd.f32(float %84, float %83, float %73) %86 = load ptr, ptr %20, align 8 %87 = load i32, ptr %21, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds float, ptr %86, i64 %88 store float %85, ptr %89, align 4 br label %111 90: ; preds = %32 %91 = load ptr, ptr %19, align 8 %92 = load i32, ptr %21, align 4 %93 = sub nsw i32 %92, 1 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds float, ptr %91, i64 %94 %96 = load float, ptr %95, align 4 %97 = load ptr, ptr %19, align 8 %98 = load i32, ptr %21, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds float, ptr %97, i64 %99 store float %96, ptr %100, align 4 %101 = load ptr, ptr %20, align 8 %102 = load i32, ptr %21, align 4 %103 = sub nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds float, ptr %101, i64 %104 %106 = load float, ptr %105, align 4 %107 = load ptr, ptr %20, align 8 %108 = load i32, ptr %21, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds float, ptr %107, i64 %109 store float %106, ptr %110, align 4 br label %111 111: ; preds = %90, %37 br label %112 112: ; preds = %111 %113 = load i32, ptr %21, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %21, align 4 %115 = load i32, ptr %21, align 4 %116 = load i32, ptr %12, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %112 br label %118 118: ; preds = %._crit_edge, %8 store i32 0, ptr %21, align 4 %119 = load i32, ptr %21, align 4 %120 = load i32, ptr %16, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %.lr.ph2, label %167 .lr.ph2: ; preds = %118 br label %122 122: ; preds = %.lr.ph2, %161 %123 = load ptr, ptr %11, align 8 %124 = load i32, ptr %12, align 4 %125 = load ptr, ptr %15, align 8 %126 = load i32, ptr %21, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds float, ptr %125, i64 %127 %129 = load float, ptr %128, align 4 %130 = call i32 @binary_search(ptr noundef %123, i32 noundef %124, float noundef %129) store i32 %130, ptr %22, align 4 %131 = load i32, ptr %22, align 4 %132 = icmp ne i32 %131, -1 br i1 %132, label %133, label %154 133: ; preds = %122 %134 = load ptr, ptr %19, align 8 %135 = load i32, ptr %22, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds float, ptr %134, i64 %136 %138 = load float, ptr %137, align 4 %139 = load ptr, ptr %15, align 8 %140 = load i32, ptr %21, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds float, ptr %139, i64 %141 %143 = load float, ptr %142, align 4 %144 = load ptr, ptr %20, align 8 %145 = load i32, ptr %22, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds float, ptr %144, i64 %146 %148 = load float, ptr %147, align 4 %149 = call float @llvm.fmuladd.f32(float %138, float %143, float %148) %150 = load ptr, ptr %9, align 8 %151 = load i32, ptr %21, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds float, ptr %150, i64 %152 store float %149, ptr %153, align 4 br label %160 154: ; preds = %122 %155 = load float, ptr @DBL_MAX, align 4 %156 = load ptr, ptr %9, align 8 %157 = load i32, ptr %21, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds float, ptr %156, i64 %158 store float %155, ptr %159, align 4 br label %160 160: ; preds = %154, %133 br label %161 161: ; preds = %160 %162 = load i32, ptr %21, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %21, align 4 %164 = load i32, ptr %21, align 4 %165 = load i32, ptr %16, align 4 %166 = icmp slt i32 %164, %165 br i1 %166, label %122, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %161 br label %167 167: ; preds = %._crit_edge3, %118 %168 = load ptr, ptr %19, align 8 %169 = call i32 @free(ptr noundef %168) %170 = load ptr, ptr %20, align 8 %171 = call i32 @free(ptr noundef %170) %172 = load ptr, ptr %9, align 8 ret ptr %172 } declare i64 @calloc(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @binary_search(ptr noundef, i32 noundef, float noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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}
; ModuleID = '/tmp/tmplpm8i1qr.c' source_filename = "/tmp/tmplpm8i1qr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @srealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i64, ptr %5, align 8 %11 = call ptr @smalloc(i64 noundef %10) store ptr %11, ptr %3, align 8 br label %22 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = call ptr @realloc(ptr noundef %13, i64 noundef %14) #4 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %12 %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %3, align 8 br label %22 20: ; preds = %12 %21 = call i32 (...) @abort() #5 unreachable 22: ; preds = %18, %9 %23 = load ptr, ptr %3, align 8 ret ptr %23 } declare ptr @smalloc(i64 noundef) #1 ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #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(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplpm8i1qr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @srealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i64, ptr %5, align 8 %11 = call ptr @smalloc(i64 noundef %10) store ptr %11, ptr %3, align 8 br label %22 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = call ptr @realloc(ptr noundef %13, i64 noundef %14) #4 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %12 %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %3, align 8 br label %22 20: ; preds = %12 %21 = call i32 (...) @abort() #5 unreachable 22: ; preds = %18, %9 %23 = load ptr, ptr %3, align 8 ret ptr %23 } declare ptr @smalloc(i64 noundef) #1 ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #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(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo6ydqyv2.c' source_filename = "/tmp/tmpo6ydqyv2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Usage: %s env value\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%s=%s\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"putenv\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c" (deleted)\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"unsetenv %s failed\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"setenv %s failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"2\00", align 1 @.str.8 = private unnamed_addr constant [17 x i8] c"clearenv failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"environ = %p\0A\00", align 1 @environ = external global ptr, align 8 ; 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 [256 x i8], align 16 %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 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @err_sys(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %12, %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @echo_env(ptr noundef %21) %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 store ptr %25, ptr %7, align 8 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 256, i1 false) %26 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %7, align 8 %29 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str.1, ptr noundef %27, ptr noundef %28) %30 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %31 = call i32 @putenv(ptr noundef %30) store i32 %31, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %17 %35 = call i32 (ptr, ...) @err_sys(ptr noundef @.str.2) br label %36 36: ; preds = %34, %17 %37 = load ptr, ptr %6, align 8 %38 = call i32 @echo_env(ptr noundef %37) %39 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %40 = call i32 @strcat(ptr noundef %39, ptr noundef @.str.3) %41 = load ptr, ptr %6, align 8 %42 = call i32 @echo_env(ptr noundef %41) %43 = load ptr, ptr %6, align 8 %44 = call i32 @unsetenv(ptr noundef %43) store i32 %44, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %50 47: ; preds = %36 %48 = load ptr, ptr %6, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %48) br label %50 50: ; preds = %47, %36 %51 = load ptr, ptr %6, align 8 %52 = call i32 @echo_env(ptr noundef %51) %53 = load ptr, ptr %6, align 8 %54 = call i32 @unsetenv(ptr noundef %53) store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %50 %58 = load ptr, ptr %6, align 8 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %58) br label %60 60: ; preds = %57, %50 %61 = load ptr, ptr %6, align 8 %62 = call i32 @echo_env(ptr noundef %61) %63 = load ptr, ptr %6, align 8 %64 = load ptr, ptr %7, align 8 %65 = call i32 @setenv(ptr noundef %63, ptr noundef %64, i32 noundef 0) store i32 %65, ptr %9, align 4 %66 = load i32, ptr %9, align 4 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %60 %69 = load ptr, ptr %6, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %69) br label %71 71: ; preds = %68, %60 %72 = load ptr, ptr %6, align 8 %73 = call i32 @echo_env(ptr noundef %72) %74 = load ptr, ptr %6, align 8 %75 = call i32 @setenv(ptr noundef %74, ptr noundef @.str.6, i32 noundef 0) store i32 %75, ptr %9, align 4 %76 = load i32, ptr %9, align 4 %77 = icmp ne i32 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %71 %79 = load ptr, ptr %6, align 8 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %79) br label %81 81: ; preds = %78, %71 %82 = load ptr, ptr %6, align 8 %83 = call i32 @echo_env(ptr noundef %82) %84 = load ptr, ptr %6, align 8 %85 = call i32 @setenv(ptr noundef %84, ptr noundef @.str.7, i32 noundef 1) store i32 %85, ptr %9, align 4 %86 = load i32, ptr %9, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %91 88: ; preds = %81 %89 = load ptr, ptr %6, align 8 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %89) br label %91 91: ; preds = %88, %81 %92 = load ptr, ptr %6, align 8 %93 = call i32 @echo_env(ptr noundef %92) %94 = call i32 (...) @clearenv() store i32 %94, ptr %9, align 4 %95 = load i32, ptr %9, align 4 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %99 97: ; preds = %91 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %99 99: ; preds = %97, %91 %100 = load ptr, ptr @environ, align 8 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %100) %102 = load ptr, ptr %6, align 8 %103 = call i32 @echo_env(ptr noundef %102) ret i32 0 } declare i32 @err_sys(ptr noundef, ...) #1 declare i32 @echo_env(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @putenv(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @unsetenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @clearenv(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo6ydqyv2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Usage: %s env value\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%s=%s\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"putenv\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c" (deleted)\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"unsetenv %s failed\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"setenv %s failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"2\00", align 1 @.str.8 = private unnamed_addr constant [17 x i8] c"clearenv failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"environ = %p\0A\00", align 1 @environ = external global ptr, align 8 ; 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 [256 x i8], align 16 %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 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @err_sys(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %12, %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @echo_env(ptr noundef %21) %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 store ptr %25, ptr %7, align 8 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 256, i1 false) %26 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %7, align 8 %29 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str.1, ptr noundef %27, ptr noundef %28) %30 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %31 = call i32 @putenv(ptr noundef %30) store i32 %31, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %17 %35 = call i32 (ptr, ...) @err_sys(ptr noundef @.str.2) br label %36 36: ; preds = %34, %17 %37 = load ptr, ptr %6, align 8 %38 = call i32 @echo_env(ptr noundef %37) %39 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %40 = call i32 @strcat(ptr noundef %39, ptr noundef @.str.3) %41 = load ptr, ptr %6, align 8 %42 = call i32 @echo_env(ptr noundef %41) %43 = load ptr, ptr %6, align 8 %44 = call i32 @unsetenv(ptr noundef %43) store i32 %44, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %50 47: ; preds = %36 %48 = load ptr, ptr %6, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %48) br label %50 50: ; preds = %47, %36 %51 = load ptr, ptr %6, align 8 %52 = call i32 @echo_env(ptr noundef %51) %53 = load ptr, ptr %6, align 8 %54 = call i32 @unsetenv(ptr noundef %53) store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %50 %58 = load ptr, ptr %6, align 8 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %58) br label %60 60: ; preds = %57, %50 %61 = load ptr, ptr %6, align 8 %62 = call i32 @echo_env(ptr noundef %61) %63 = load ptr, ptr %6, align 8 %64 = load ptr, ptr %7, align 8 %65 = call i32 @setenv(ptr noundef %63, ptr noundef %64, i32 noundef 0) store i32 %65, ptr %9, align 4 %66 = load i32, ptr %9, align 4 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %60 %69 = load ptr, ptr %6, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %69) br label %71 71: ; preds = %68, %60 %72 = load ptr, ptr %6, align 8 %73 = call i32 @echo_env(ptr noundef %72) %74 = load ptr, ptr %6, align 8 %75 = call i32 @setenv(ptr noundef %74, ptr noundef @.str.6, i32 noundef 0) store i32 %75, ptr %9, align 4 %76 = load i32, ptr %9, align 4 %77 = icmp ne i32 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %71 %79 = load ptr, ptr %6, align 8 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %79) br label %81 81: ; preds = %78, %71 %82 = load ptr, ptr %6, align 8 %83 = call i32 @echo_env(ptr noundef %82) %84 = load ptr, ptr %6, align 8 %85 = call i32 @setenv(ptr noundef %84, ptr noundef @.str.7, i32 noundef 1) store i32 %85, ptr %9, align 4 %86 = load i32, ptr %9, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %91 88: ; preds = %81 %89 = load ptr, ptr %6, align 8 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %89) br label %91 91: ; preds = %88, %81 %92 = load ptr, ptr %6, align 8 %93 = call i32 @echo_env(ptr noundef %92) %94 = call i32 (...) @clearenv() store i32 %94, ptr %9, align 4 %95 = load i32, ptr %9, align 4 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %99 97: ; preds = %91 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %99 99: ; preds = %97, %91 %100 = load ptr, ptr @environ, align 8 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %100) %102 = load ptr, ptr %6, align 8 %103 = call i32 @echo_env(ptr noundef %102) ret i32 0 } declare i32 @err_sys(ptr noundef, ...) #1 declare i32 @echo_env(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @putenv(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @unsetenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @clearenv(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgi6eip4s.c' source_filename = "/tmp/tmpgi6eip4s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgi6eip4s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3f_dft98.c' source_filename = "/tmp/tmp3f_dft98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" %.2f \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%.2f \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printMatrix(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 %8 = 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 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 br label %10 10: ; preds = %81, %3 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %84 14: ; preds = %10 store i32 0, ptr %8, align 4 br label %15 15: ; preds = %76, %14 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %79 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds float, ptr %24, i64 %26 %28 = load float, ptr %27, align 4 %29 = fcmp oge float %28, 0.000000e+00 br i1 %29, label %30, label %63 30: ; preds = %19 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds float, ptr %35, i64 %37 %39 = load float, ptr %38, align 4 %40 = fpext float %39 to double %41 = fcmp oeq double %40, -0.000000e+00 br i1 %41, label %42, label %51 42: ; preds = %30 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds float, ptr %47, i64 %49 store float 0.000000e+00, ptr %50, align 4 br label %51 51: ; preds = %42, %30 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %7, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %52, i64 %54 %56 = load ptr, ptr %55, align 8 %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds float, ptr %56, i64 %58 %60 = load float, ptr %59, align 4 %61 = fpext float %60 to double %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %61) br label %75 63: ; preds = %19 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %7, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load i32, ptr %8, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds float, ptr %68, i64 %70 %72 = load float, ptr %71, align 4 %73 = fpext float %72 to double %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %73) br label %75 75: ; preds = %63, %51 br label %76 76: ; preds = %75 %77 = load i32, ptr %8, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %8, align 4 br label %15, !llvm.loop !6 79: ; preds = %15 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %81 81: ; preds = %79 %82 = load i32, ptr %7, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %7, align 4 br label %10, !llvm.loop !8 84: ; preds = %10 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3f_dft98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" %.2f \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%.2f \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printMatrix(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 %8 = 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 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph2, label %88 .lr.ph2: ; preds = %3 br label %13 13: ; preds = %.lr.ph2, %82 store i32 0, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %80 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %74 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %7, 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 %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds float, ptr %22, i64 %24 %26 = load float, ptr %25, align 4 %27 = fcmp oge float %26, 0.000000e+00 br i1 %27, label %28, label %61 28: ; preds = %17 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds float, ptr %33, i64 %35 %37 = load float, ptr %36, align 4 %38 = fpext float %37 to double %39 = fcmp oeq double %38, -0.000000e+00 br i1 %39, label %40, label %49 40: ; preds = %28 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr %8, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %45, i64 %47 store float 0.000000e+00, ptr %48, align 4 br label %49 49: ; preds = %40, %28 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %50, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds float, ptr %54, i64 %56 %58 = load float, ptr %57, align 4 %59 = fpext float %58 to double %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %59) br label %73 61: ; preds = %17 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = load i32, ptr %8, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds float, ptr %66, i64 %68 %70 = load float, ptr %69, align 4 %71 = fpext float %70 to double %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %71) br label %73 73: ; preds = %61, %49 br label %74 74: ; preds = %73 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %8, align 4 %77 = load i32, ptr %8, align 4 %78 = load i32, ptr %6, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %80 80: ; preds = %._crit_edge, %13 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %82 82: ; preds = %80 %83 = load i32, ptr %7, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %7, align 4 %85 = load i32, ptr %7, align 4 %86 = load i32, ptr %5, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %82 br label %88 88: ; preds = %._crit_edge3, %3 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpsm7sewti.c' source_filename = "/tmp/tmpsm7sewti.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bne(i64 noundef %0, i64 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %13, label %24 13: ; preds = %4 %14 = load i32, ptr %8, align 4 %15 = shl i32 %14, 2 store i32 %15, ptr %8, align 4 %16 = load ptr, ptr %9, align 8 %17 = load i64, ptr %16, align 8 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = add nsw i64 %17, %19 %21 = load ptr, ptr %9, align 8 store i64 %20, ptr %21, align 8 %22 = load ptr, ptr %9, align 8 %23 = load i64, ptr %22, align 8 store i64 %23, ptr %5, align 8 br label %27 24: ; preds = %4 %25 = load ptr, ptr %9, align 8 %26 = load i64, ptr %25, align 8 store i64 %26, ptr %5, align 8 br label %27 27: ; preds = %24, %13 %28 = load i64, ptr %5, align 8 ret i64 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsm7sewti.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bne(i64 noundef %0, i64 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %13, label %24 13: ; preds = %4 %14 = load i32, ptr %8, align 4 %15 = shl i32 %14, 2 store i32 %15, ptr %8, align 4 %16 = load ptr, ptr %9, align 8 %17 = load i64, ptr %16, align 8 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = add nsw i64 %17, %19 %21 = load ptr, ptr %9, align 8 store i64 %20, ptr %21, align 8 %22 = load ptr, ptr %9, align 8 %23 = load i64, ptr %22, align 8 store i64 %23, ptr %5, align 8 br label %27 24: ; preds = %4 %25 = load ptr, ptr %9, align 8 %26 = load i64, ptr %25, align 8 store i64 %26, ptr %5, align 8 br label %27 27: ; preds = %24, %13 %28 = load i64, ptr %5, align 8 ret i64 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu8yljhrs.c' source_filename = "/tmp/tmpu8yljhrs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qstrunchar(ptr noundef %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %3 store ptr null, ptr %4, align 8 br label %51 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp sge i32 %15, 2 br i1 %16, label %17, label %48 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load i8, ptr %6, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %21, %23 br i1 %24, label %25, label %48 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %8, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load i8, ptr %7, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %32, %34 br i1 %35, label %36, label %48 36: ; preds = %25 %37 = load ptr, ptr %5, align 8 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 1 %40 = load i32, ptr %8, align 4 %41 = sub nsw i32 %40, 2 %42 = call i32 @memmove(ptr noundef %37, ptr noundef %39, i32 noundef %41) %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %8, align 4 %45 = sub nsw i32 %44, 2 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 0, ptr %47, align 1 br label %49 48: ; preds = %25, %17, %12 store ptr null, ptr %4, align 8 br label %51 49: ; preds = %36 %50 = load ptr, ptr %5, align 8 store ptr %50, ptr %4, align 8 br label %51 51: ; preds = %49, %48, %11 %52 = load ptr, ptr %4, align 8 ret ptr %52 } declare i32 @strlen(ptr noundef) #1 declare i32 @memmove(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/tmpu8yljhrs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qstrunchar(ptr noundef %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %3 store ptr null, ptr %4, align 8 br label %51 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp sge i32 %15, 2 br i1 %16, label %17, label %48 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load i8, ptr %6, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %21, %23 br i1 %24, label %25, label %48 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %8, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load i8, ptr %7, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %32, %34 br i1 %35, label %36, label %48 36: ; preds = %25 %37 = load ptr, ptr %5, align 8 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 1 %40 = load i32, ptr %8, align 4 %41 = sub nsw i32 %40, 2 %42 = call i32 @memmove(ptr noundef %37, ptr noundef %39, i32 noundef %41) %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %8, align 4 %45 = sub nsw i32 %44, 2 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 0, ptr %47, align 1 br label %49 48: ; preds = %25, %17, %12 store ptr null, ptr %4, align 8 br label %51 49: ; preds = %36 %50 = load ptr, ptr %5, align 8 store ptr %50, ptr %4, align 8 br label %51 51: ; preds = %49, %48, %11 %52 = load ptr, ptr %4, align 8 ret ptr %52 } declare i32 @strlen(ptr noundef) #1 declare i32 @memmove(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/tmpivewy6jv.c' source_filename = "/tmp/tmpivewy6jv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @castle_dup_or_copy(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %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 store ptr %3, ptr %8, align 8 %9 = load i64, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %8, align 8 %12 = call ptr @castle_alloc_maybe(i64 noundef %9, ptr noundef %10, ptr noundef %11) store ptr %12, ptr %7, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %19 14: ; preds = %4 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %6, align 8 %18 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i64 noundef %17) br label %19 19: ; preds = %14, %4 %20 = load ptr, ptr %7, align 8 ret ptr %20 } declare ptr @castle_alloc_maybe(i64 noundef, ptr noundef, ptr 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/tmpivewy6jv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @castle_dup_or_copy(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %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 store ptr %3, ptr %8, align 8 %9 = load i64, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %8, align 8 %12 = call ptr @castle_alloc_maybe(i64 noundef %9, ptr noundef %10, ptr noundef %11) store ptr %12, ptr %7, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %19 14: ; preds = %4 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %6, align 8 %18 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i64 noundef %17) br label %19 19: ; preds = %14, %4 %20 = load ptr, ptr %7, align 8 ret ptr %20 } declare ptr @castle_alloc_maybe(i64 noundef, ptr noundef, ptr 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/tmpeme4ut7l.c' source_filename = "/tmp/tmpeme4ut7l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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/\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [18 x i8] c"error, no memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @realpath_s(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 47 br i1 %18, label %19, label %36 19: ; preds = %1 %20 = call ptr @getcwd(ptr noundef null, i32 noundef 0) store ptr %20, ptr %4, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %19 store ptr null, ptr %2, align 8 br label %214 23: ; preds = %19 %24 = load ptr, ptr %4, align 8 %25 = call i32 @strlen(ptr noundef %24) store i32 %25, ptr %5, align 4 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %5, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 47 br i1 %33, label %34, label %35 34: ; preds = %23 store i32 1, ptr %6, align 4 br label %35 35: ; preds = %34, %23 br label %36 36: ; preds = %35, %1 %37 = load ptr, ptr %3, align 8 %38 = call i32 @strlen(ptr noundef %37) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %49 41: ; preds = %36 %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 0 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 46 br i1 %46, label %47, label %49 47: ; preds = %41 %48 = load ptr, ptr %4, align 8 store ptr %48, ptr %2, align 8 br label %214 49: ; preds = %41, %36 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %50, %51 %53 = add nsw i32 %52, 1 store i32 %53, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = mul i64 1, %56 %58 = trunc i64 %57 to i32 %59 = call ptr @malloc(i32 noundef %58) store ptr %59, ptr %10, align 8 %60 = load ptr, ptr %10, align 8 %61 = load i32, ptr %8, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 store ptr %63, ptr %11, align 8 %64 = load i32, ptr %6, align 4 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %77 66: ; preds = %49 %67 = load ptr, ptr %10, align 8 %68 = load ptr, ptr %4, align 8 %69 = call i32 @sprintf(ptr noundef %67, ptr noundef @.str, ptr noundef %68) %70 = load ptr, ptr %4, align 8 %71 = call i32 @free(ptr noundef %70) %72 = load ptr, ptr %10, align 8 %73 = load i32, ptr %5, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = getelementptr inbounds i8, ptr %75, i64 1 store ptr %76, ptr %9, align 8 br label %95 77: ; preds = %49 %78 = load ptr, ptr %4, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %80, label %90 80: ; preds = %77 %81 = load ptr, ptr %10, align 8 %82 = load ptr, ptr %4, align 8 %83 = call i32 @sprintf(ptr noundef %81, ptr noundef @.str.1, ptr noundef %82) %84 = load ptr, ptr %4, align 8 %85 = call i32 @free(ptr noundef %84) %86 = load ptr, ptr %10, align 8 %87 = load i32, ptr %5, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %86, i64 %88 store ptr %89, ptr %9, align 8 br label %94 90: ; preds = %77 %91 = load ptr, ptr %10, align 8 %92 = getelementptr inbounds i8, ptr %91, i64 0 store i8 0, ptr %92, align 1 %93 = load ptr, ptr %10, align 8 store ptr %93, ptr %9, align 8 br label %94 94: ; preds = %90, %80 br label %95 95: ; preds = %94, %66 %96 = load ptr, ptr %3, align 8 store ptr %96, ptr %12, align 8 store i32 0, ptr %13, align 4 br label %97 97: ; preds = %179, %95 %98 = load ptr, ptr %9, align 8 %99 = load ptr, ptr %11, align 8 %100 = icmp ule ptr %98, %99 br i1 %100, label %101, label %182 101: ; preds = %97 %102 = load ptr, ptr %12, align 8 %103 = load i8, ptr %102, align 1 %104 = load ptr, ptr %9, align 8 store i8 %103, ptr %104, align 1 %105 = load ptr, ptr %12, align 8 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = icmp eq i32 %107, 47 br i1 %108, label %109, label %120 109: ; preds = %101 br label %110 110: ; preds = %116, %109 %111 = load ptr, ptr %12, align 8 %112 = getelementptr inbounds i8, ptr %111, i32 1 store ptr %112, ptr %12, align 8 %113 = load i8, ptr %112, align 1 %114 = sext i8 %113 to i32 %115 = icmp eq i32 %114, 47 br i1 %115, label %116, label %117 116: ; preds = %110 br label %110, !llvm.loop !6 117: ; preds = %110 %118 = load ptr, ptr %12, align 8 %119 = getelementptr inbounds i8, ptr %118, i32 -1 store ptr %119, ptr %12, align 8 br label %120 120: ; preds = %117, %101 %121 = load ptr, ptr %12, align 8 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp eq i32 %123, 47 br i1 %124, label %129, label %125 125: ; preds = %120 %126 = load ptr, ptr %12, align 8 %127 = load i8, ptr %126, align 1 %128 = icmp ne i8 %127, 0 br i1 %128, label %159, label %129 129: ; preds = %125, %120 %130 = load i32, ptr %13, align 4 %131 = icmp eq i32 %130, 1 br i1 %131, label %135, label %132 132: ; preds = %129 %133 = load i32, ptr %13, align 4 %134 = icmp eq i32 %133, 2 br i1 %134, label %135, label %158 135: ; preds = %132, %129 br label %136 136: ; preds = %154, %135 %137 = load i32, ptr %13, align 4 %138 = icmp sgt i32 %137, 0 br i1 %138, label %139, label %144 139: ; preds = %136 %140 = load ptr, ptr %9, align 8 %141 = getelementptr inbounds i8, ptr %140, i32 -1 store ptr %141, ptr %9, align 8 %142 = load ptr, ptr %4, align 8 %143 = icmp ugt ptr %141, %142 br label %144 144: ; preds = %139, %136 %145 = phi i1 [ false, %136 ], [ %143, %139 ] br i1 %145, label %146, label %155 146: ; preds = %144 %147 = load ptr, ptr %9, align 8 %148 = load i8, ptr %147, align 1 %149 = sext i8 %148 to i32 %150 = icmp eq i32 %149, 47 br i1 %150, label %151, label %154 151: ; preds = %146 %152 = load i32, ptr %13, align 4 %153 = add nsw i32 %152, -1 store i32 %153, ptr %13, align 4 br label %154 154: ; preds = %151, %146 br label %136, !llvm.loop !8 155: ; preds = %144 %156 = load ptr, ptr %9, align 8 %157 = getelementptr inbounds i8, ptr %156, i64 1 store i8 0, ptr %157, align 1 br label %158 158: ; preds = %155, %132 store i32 0, ptr %13, align 4 br label %172 159: ; preds = %125 %160 = load ptr, ptr %12, align 8 %161 = load i8, ptr %160, align 1 %162 = sext i8 %161 to i32 %163 = icmp eq i32 %162, 46 br i1 %163, label %164, label %170 164: ; preds = %159 %165 = load i32, ptr %13, align 4 %166 = icmp sgt i32 %165, -1 br i1 %166, label %167, label %170 167: ; preds = %164 %168 = load i32, ptr %13, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %13, align 4 br label %171 170: ; preds = %164, %159 store i32 -1, ptr %13, align 4 br label %171 171: ; preds = %170, %167 br label %172 172: ; preds = %171, %158 %173 = load ptr, ptr %9, align 8 %174 = getelementptr inbounds i8, ptr %173, i32 1 store ptr %174, ptr %9, align 8 %175 = load ptr, ptr %12, align 8 %176 = load i8, ptr %175, align 1 %177 = icmp ne i8 %176, 0 br i1 %177, label %179, label %178 178: ; preds = %172 br label %182 179: ; preds = %172 %180 = load ptr, ptr %12, align 8 %181 = getelementptr inbounds i8, ptr %180, i32 1 store ptr %181, ptr %12, align 8 br label %97, !llvm.loop !9 182: ; preds = %178, %97 %183 = load ptr, ptr %12, align 8 %184 = load i8, ptr %183, align 1 %185 = icmp ne i8 %184, 0 br i1 %185, label %186, label %190 186: ; preds = %182 %187 = load i32, ptr @ENOMEM, align 4 store i32 %187, ptr @errno, align 4 %188 = load i32, ptr @stderr, align 4 %189 = call i32 @fprintf(i32 noundef %188, ptr noundef @.str.2) store ptr null, ptr %2, align 8 br label %214 190: ; preds = %182 br label %191 191: ; preds = %210, %190 %192 = load ptr, ptr %9, align 8 %193 = getelementptr inbounds i8, ptr %192, i32 -1 store ptr %193, ptr %9, align 8 %194 = load ptr, ptr %10, align 8 %195 = icmp ne ptr %193, %194 br i1 %195, label %196, label %208 196: ; preds = %191 %197 = load ptr, ptr %9, align 8 %198 = load i8, ptr %197, align 1 %199 = sext i8 %198 to i32 %200 = icmp eq i32 %199, 47 br i1 %200, label %206, label %201 201: ; preds = %196 %202 = load ptr, ptr %9, align 8 %203 = load i8, ptr %202, align 1 %204 = icmp ne i8 %203, 0 %205 = xor i1 %204, true br label %206 206: ; preds = %201, %196 %207 = phi i1 [ true, %196 ], [ %205, %201 ] br label %208 208: ; preds = %206, %191 %209 = phi i1 [ false, %191 ], [ %207, %206 ] br i1 %209, label %210, label %212 210: ; preds = %208 %211 = load ptr, ptr %9, align 8 store i8 0, ptr %211, align 1 br label %191, !llvm.loop !10 212: ; preds = %208 %213 = load ptr, ptr %10, align 8 store ptr %213, ptr %2, align 8 br label %214 214: ; preds = %212, %186, %47, %22 %215 = load ptr, ptr %2, align 8 ret ptr %215 } declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeme4ut7l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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/\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [18 x i8] c"error, no memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @realpath_s(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 47 br i1 %18, label %19, label %36 19: ; preds = %1 %20 = call ptr @getcwd(ptr noundef null, i32 noundef 0) store ptr %20, ptr %4, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %19 store ptr null, ptr %2, align 8 br label %215 23: ; preds = %19 %24 = load ptr, ptr %4, align 8 %25 = call i32 @strlen(ptr noundef %24) store i32 %25, ptr %5, align 4 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %5, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 47 br i1 %33, label %34, label %35 34: ; preds = %23 store i32 1, ptr %6, align 4 br label %35 35: ; preds = %34, %23 br label %36 36: ; preds = %35, %1 %37 = load ptr, ptr %3, align 8 %38 = call i32 @strlen(ptr noundef %37) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %49 41: ; preds = %36 %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 0 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 46 br i1 %46, label %47, label %49 47: ; preds = %41 %48 = load ptr, ptr %4, align 8 store ptr %48, ptr %2, align 8 br label %215 49: ; preds = %41, %36 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %50, %51 %53 = add nsw i32 %52, 1 store i32 %53, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = mul i64 1, %56 %58 = trunc i64 %57 to i32 %59 = call ptr @malloc(i32 noundef %58) store ptr %59, ptr %10, align 8 %60 = load ptr, ptr %10, align 8 %61 = load i32, ptr %8, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 store ptr %63, ptr %11, align 8 %64 = load i32, ptr %6, align 4 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %77 66: ; preds = %49 %67 = load ptr, ptr %10, align 8 %68 = load ptr, ptr %4, align 8 %69 = call i32 @sprintf(ptr noundef %67, ptr noundef @.str, ptr noundef %68) %70 = load ptr, ptr %4, align 8 %71 = call i32 @free(ptr noundef %70) %72 = load ptr, ptr %10, align 8 %73 = load i32, ptr %5, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = getelementptr inbounds i8, ptr %75, i64 1 store ptr %76, ptr %9, align 8 br label %95 77: ; preds = %49 %78 = load ptr, ptr %4, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %80, label %90 80: ; preds = %77 %81 = load ptr, ptr %10, align 8 %82 = load ptr, ptr %4, align 8 %83 = call i32 @sprintf(ptr noundef %81, ptr noundef @.str.1, ptr noundef %82) %84 = load ptr, ptr %4, align 8 %85 = call i32 @free(ptr noundef %84) %86 = load ptr, ptr %10, align 8 %87 = load i32, ptr %5, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %86, i64 %88 store ptr %89, ptr %9, align 8 br label %94 90: ; preds = %77 %91 = load ptr, ptr %10, align 8 %92 = getelementptr inbounds i8, ptr %91, i64 0 store i8 0, ptr %92, align 1 %93 = load ptr, ptr %10, align 8 store ptr %93, ptr %9, align 8 br label %94 94: ; preds = %90, %80 br label %95 95: ; preds = %94, %66 %96 = load ptr, ptr %3, align 8 store ptr %96, ptr %12, align 8 store i32 0, ptr %13, align 4 %97 = load ptr, ptr %9, align 8 %98 = load ptr, ptr %11, align 8 %99 = icmp ule ptr %97, %98 br i1 %99, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %95 br label %100 100: ; preds = %.lr.ph, %177 %101 = load ptr, ptr %12, align 8 %102 = load i8, ptr %101, align 1 %103 = load ptr, ptr %9, align 8 store i8 %102, ptr %103, align 1 %104 = load ptr, ptr %12, align 8 %105 = load i8, ptr %104, align 1 %106 = sext i8 %105 to i32 %107 = icmp eq i32 %106, 47 br i1 %107, label %108, label %118 108: ; preds = %100 br label %109 109: ; preds = %109, %108 %110 = load ptr, ptr %12, align 8 %111 = getelementptr inbounds i8, ptr %110, i32 1 store ptr %111, ptr %12, align 8 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = icmp eq i32 %113, 47 br i1 %114, label %109, label %115, !llvm.loop !6 115: ; preds = %109 %116 = load ptr, ptr %12, align 8 %117 = getelementptr inbounds i8, ptr %116, i32 -1 store ptr %117, ptr %12, align 8 br label %118 118: ; preds = %115, %100 %119 = load ptr, ptr %12, align 8 %120 = load i8, ptr %119, align 1 %121 = sext i8 %120 to i32 %122 = icmp eq i32 %121, 47 br i1 %122, label %127, label %123 123: ; preds = %118 %124 = load ptr, ptr %12, align 8 %125 = load i8, ptr %124, align 1 %126 = icmp ne i8 %125, 0 br i1 %126, label %157, label %127 127: ; preds = %123, %118 %128 = load i32, ptr %13, align 4 %129 = icmp eq i32 %128, 1 br i1 %129, label %133, label %130 130: ; preds = %127 %131 = load i32, ptr %13, align 4 %132 = icmp eq i32 %131, 2 br i1 %132, label %133, label %156 133: ; preds = %130, %127 br label %134 134: ; preds = %152, %133 %135 = load i32, ptr %13, align 4 %136 = icmp sgt i32 %135, 0 br i1 %136, label %137, label %142 137: ; preds = %134 %138 = load ptr, ptr %9, align 8 %139 = getelementptr inbounds i8, ptr %138, i32 -1 store ptr %139, ptr %9, align 8 %140 = load ptr, ptr %4, align 8 %141 = icmp ugt ptr %139, %140 br label %142 142: ; preds = %137, %134 %143 = phi i1 [ false, %134 ], [ %141, %137 ] br i1 %143, label %144, label %153 144: ; preds = %142 %145 = load ptr, ptr %9, align 8 %146 = load i8, ptr %145, align 1 %147 = sext i8 %146 to i32 %148 = icmp eq i32 %147, 47 br i1 %148, label %149, label %152 149: ; preds = %144 %150 = load i32, ptr %13, align 4 %151 = add nsw i32 %150, -1 store i32 %151, ptr %13, align 4 br label %152 152: ; preds = %149, %144 br label %134, !llvm.loop !8 153: ; preds = %142 %154 = load ptr, ptr %9, align 8 %155 = getelementptr inbounds i8, ptr %154, i64 1 store i8 0, ptr %155, align 1 br label %156 156: ; preds = %153, %130 store i32 0, ptr %13, align 4 br label %170 157: ; preds = %123 %158 = load ptr, ptr %12, align 8 %159 = load i8, ptr %158, align 1 %160 = sext i8 %159 to i32 %161 = icmp eq i32 %160, 46 br i1 %161, label %162, label %168 162: ; preds = %157 %163 = load i32, ptr %13, align 4 %164 = icmp sgt i32 %163, -1 br i1 %164, label %165, label %168 165: ; preds = %162 %166 = load i32, ptr %13, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %13, align 4 br label %169 168: ; preds = %162, %157 store i32 -1, ptr %13, align 4 br label %169 169: ; preds = %168, %165 br label %170 170: ; preds = %169, %156 %171 = load ptr, ptr %9, align 8 %172 = getelementptr inbounds i8, ptr %171, i32 1 store ptr %172, ptr %9, align 8 %173 = load ptr, ptr %12, align 8 %174 = load i8, ptr %173, align 1 %175 = icmp ne i8 %174, 0 br i1 %175, label %177, label %176 176: ; preds = %170 br label %183 177: ; preds = %170 %178 = load ptr, ptr %12, align 8 %179 = getelementptr inbounds i8, ptr %178, i32 1 store ptr %179, ptr %12, align 8 %180 = load ptr, ptr %9, align 8 %181 = load ptr, ptr %11, align 8 %182 = icmp ule ptr %180, %181 br i1 %182, label %100, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %177 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %95 br label %183 183: ; preds = %.loopexit, %176 %184 = load ptr, ptr %12, align 8 %185 = load i8, ptr %184, align 1 %186 = icmp ne i8 %185, 0 br i1 %186, label %187, label %191 187: ; preds = %183 %188 = load i32, ptr @ENOMEM, align 4 store i32 %188, ptr @errno, align 4 %189 = load i32, ptr @stderr, align 4 %190 = call i32 @fprintf(i32 noundef %189, ptr noundef @.str.2) store ptr null, ptr %2, align 8 br label %215 191: ; preds = %183 br label %192 192: ; preds = %211, %191 %193 = load ptr, ptr %9, align 8 %194 = getelementptr inbounds i8, ptr %193, i32 -1 store ptr %194, ptr %9, align 8 %195 = load ptr, ptr %10, align 8 %196 = icmp ne ptr %194, %195 br i1 %196, label %197, label %209 197: ; preds = %192 %198 = load ptr, ptr %9, align 8 %199 = load i8, ptr %198, align 1 %200 = sext i8 %199 to i32 %201 = icmp eq i32 %200, 47 br i1 %201, label %207, label %202 202: ; preds = %197 %203 = load ptr, ptr %9, align 8 %204 = load i8, ptr %203, align 1 %205 = icmp ne i8 %204, 0 %206 = xor i1 %205, true br label %207 207: ; preds = %202, %197 %208 = phi i1 [ true, %197 ], [ %206, %202 ] br label %209 209: ; preds = %207, %192 %210 = phi i1 [ false, %192 ], [ %208, %207 ] br i1 %210, label %211, label %213 211: ; preds = %209 %212 = load ptr, ptr %9, align 8 store i8 0, ptr %212, align 1 br label %192, !llvm.loop !10 213: ; preds = %209 %214 = load ptr, ptr %10, align 8 store ptr %214, ptr %2, align 8 br label %215 215: ; preds = %213, %187, %47, %22 %216 = load ptr, ptr %2, align 8 ret ptr %216 } declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpx_k63rmd.c' source_filename = "/tmp/tmpx_k63rmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx_k63rmd.c" target datalayout = "e-m:e-p270: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/tmptngdyxci.c' source_filename = "/tmp/tmptngdyxci.c" target datalayout = "e-m:e-p270: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/tmptngdyxci.c" target datalayout = "e-m:e-p270: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/tmpr3ggogix.c' source_filename = "/tmp/tmpr3ggogix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%c \09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 97, ptr %2, align 4 br label %3 3: ; preds = %11, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 122 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 97, %7 %9 = trunc i32 %8 to i8 %10 = call i32 @printf(ptr noundef @.str, i8 noundef signext %9) br label %11 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 br label %3, !llvm.loop !6 14: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr3ggogix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%c \09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 97, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 122 br i1 %4, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %10 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 97, %6 %8 = trunc i32 %7 to i8 %9 = call i32 @printf(ptr noundef @.str, i8 noundef signext %8) br label %10 10: ; preds = %5 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 122 br i1 %14, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7whcxohx.c' source_filename = "/tmp/tmp7whcxohx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"unable to reallocate %zu bytes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @erealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = call i32 @err(i32 noundef 1, ptr noundef @.str, i64 noundef %12) br label %14 14: ; preds = %11, %2 %15 = load ptr, ptr %5, align 8 ret ptr %15 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @err(i32 noundef, ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7whcxohx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"unable to reallocate %zu bytes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @erealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = call i32 @err(i32 noundef 1, ptr noundef @.str, i64 noundef %12) br label %14 14: ; preds = %11, %2 %15 = load ptr, ptr %5, align 8 ret ptr %15 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @err(i32 noundef, ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5k1m95_r.c' source_filename = "/tmp/tmp5k1m95_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"gb2312\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"utf-8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @code_conv_g2u(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store ptr null, ptr %2, align 8 br label %35 13: ; preds = %1 %14 = load i64, ptr %4, align 8 %15 = mul i64 %14, 2 %16 = sub i64 %15, 1 store i64 %16, ptr %5, align 8 %17 = load i64, ptr %5, align 8 %18 = call ptr @calloc(i32 noundef 1, i64 noundef %17) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %13 store ptr null, ptr %2, align 8 br label %35 22: ; preds = %13 %23 = load ptr, ptr %3, align 8 %24 = load i64, ptr %4, align 8 %25 = load ptr, ptr %6, align 8 %26 = load i64, ptr %5, align 8 %27 = call i32 @code_conv(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %23, i64 noundef %24, ptr noundef %25, i64 noundef %26) store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %33 30: ; preds = %22 %31 = load ptr, ptr %6, align 8 %32 = call i32 @free(ptr noundef %31) store ptr null, ptr %2, align 8 br label %35 33: ; preds = %22 %34 = load ptr, ptr %6, align 8 store ptr %34, ptr %2, align 8 br label %35 35: ; preds = %33, %30, %21, %12 %36 = load ptr, ptr %2, align 8 ret ptr %36 } declare i64 @strlen(ptr noundef) #1 declare ptr @calloc(i32 noundef, i64 noundef) #1 declare i32 @code_conv(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5k1m95_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"gb2312\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"utf-8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @code_conv_g2u(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store ptr null, ptr %2, align 8 br label %35 13: ; preds = %1 %14 = load i64, ptr %4, align 8 %15 = mul i64 %14, 2 %16 = sub i64 %15, 1 store i64 %16, ptr %5, align 8 %17 = load i64, ptr %5, align 8 %18 = call ptr @calloc(i32 noundef 1, i64 noundef %17) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %13 store ptr null, ptr %2, align 8 br label %35 22: ; preds = %13 %23 = load ptr, ptr %3, align 8 %24 = load i64, ptr %4, align 8 %25 = load ptr, ptr %6, align 8 %26 = load i64, ptr %5, align 8 %27 = call i32 @code_conv(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %23, i64 noundef %24, ptr noundef %25, i64 noundef %26) store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %33 30: ; preds = %22 %31 = load ptr, ptr %6, align 8 %32 = call i32 @free(ptr noundef %31) store ptr null, ptr %2, align 8 br label %35 33: ; preds = %22 %34 = load ptr, ptr %6, align 8 store ptr %34, ptr %2, align 8 br label %35 35: ; preds = %33, %30, %21, %12 %36 = load ptr, ptr %2, align 8 ret ptr %36 } declare i64 @strlen(ptr noundef) #1 declare ptr @calloc(i32 noundef, i64 noundef) #1 declare i32 @code_conv(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbf6weu2h.c' source_filename = "/tmp/tmpbf6weu2h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Nombre de param\C3\A8tres insuffisants\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 2, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %51 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) store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %14 %22 = load i32, ptr %6, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %26 24: ; preds = %21, %14 %25 = call i32 @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %51 26: ; preds = %21 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 2, ptr %7, align 4 br label %27 27: ; preds = %38, %26 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %43 31: ; preds = %27 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %7, align 4 %34 = srem i32 %32, %33 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %31 store i32 1, ptr %9, align 4 br label %37 37: ; preds = %36, %31 br label %38 38: ; preds = %37 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 br label %27, !llvm.loop !6 43: ; preds = %27 %44 = load i32, ptr %9, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %43 %47 = call i32 @printf(ptr noundef @.str.2) br label %50 48: ; preds = %43 %49 = call i32 @printf(ptr noundef @.str.1) br label %50 50: ; preds = %48, %46 store i32 0, ptr %3, align 4 br label %51 51: ; preds = %50, %24, %12 %52 = load i32, ptr %3, align 4 ret i32 %52 } declare i32 @printf(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbf6weu2h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Nombre de param\C3\A8tres insuffisants\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 2, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %53 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) store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %14 %22 = load i32, ptr %6, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %26 24: ; preds = %21, %14 %25 = call i32 @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %53 26: ; preds = %21 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 2, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %45 .lr.ph: ; preds = %26 br label %30 30: ; preds = %.lr.ph, %37 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = srem i32 %31, %32 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %30 store i32 1, ptr %9, align 4 br label %36 36: ; preds = %35, %30 br label %37 37: ; preds = %36 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %8, align 4 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %45 45: ; preds = %._crit_edge, %26 %46 = load i32, ptr %9, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %45 %49 = call i32 @printf(ptr noundef @.str.2) br label %52 50: ; preds = %45 %51 = call i32 @printf(ptr noundef @.str.1) br label %52 52: ; preds = %50, %48 store i32 0, ptr %3, align 4 br label %53 53: ; preds = %52, %24, %12 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @printf(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpm4hrn945.c' source_filename = "/tmp/tmpm4hrn945.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_symlink() #0 { %1 = call i32 (...) @test_symlink_paths() %2 = call i32 (...) @symlink_empty1() %3 = call i32 (...) @symlink_empty2() ret void } declare i32 @test_symlink_paths(...) #1 declare i32 @symlink_empty1(...) #1 declare i32 @symlink_empty2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm4hrn945.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_symlink() #0 { %1 = call i32 (...) @test_symlink_paths() %2 = call i32 (...) @symlink_empty1() %3 = call i32 (...) @symlink_empty2() ret void } declare i32 @test_symlink_paths(...) #1 declare i32 @symlink_empty1(...) #1 declare i32 @symlink_empty2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyaj917os.c' source_filename = "/tmp/tmpyaj917os.c" target datalayout = "e-m:e-p270: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/tmpyaj917os.c" target datalayout = "e-m:e-p270: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/tmp4_faiymv.c' source_filename = "/tmp/tmp4_faiymv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"cfg.bin\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"ncfg.bin\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [41 x i8] c"BEFORE REMOVAL OF OLDFRAME FILE LEN %ld\0A\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [57 x i8] c"IDcode of new cfg MATCHED with old cfg in file cfg.bin!\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Error deleting file\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"File successfully renamed\0A\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"Error renaming file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @remove_old_cfg(i32 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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [3 x i8], align 1 %12 = alloca ptr, align 8 %13 = alloca [2 x i8], align 1 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %17 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %17, ptr %5, align 8 %18 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %159 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr @SEEK_END, align 4 %24 = call i32 @fseek(ptr noundef %22, i32 noundef 0, i32 noundef %23) %25 = load ptr, ptr %5, align 8 %26 = call i64 @ftell(ptr noundef %25) store i64 %26, ptr %14, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr @SEEK_SET, align 4 %29 = call i32 @fseek(ptr noundef %27, i32 noundef 0, i32 noundef %28) %30 = load i64, ptr %14, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %30) br label %32 32: ; preds = %83, %21 %33 = load i64, ptr %14, align 8 %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %84 35: ; preds = %32 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr @SEEK_CUR, align 4 %38 = call i32 @fseek(ptr noundef %36, i32 noundef 2, i32 noundef %37) %39 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %40 = load ptr, ptr %5, align 8 %41 = call i32 @fread(ptr noundef %39, i32 noundef 1, i32 noundef 2, ptr noundef %40) %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr @SEEK_CUR, align 4 %44 = call i32 @fseek(ptr noundef %42, i32 noundef -4, i32 noundef %43) %45 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %46 = call i32 @to_intconvertor(ptr noundef %45) store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = zext i32 %47 to i64 %49 = mul i64 %48, 1 %50 = trunc i64 %49 to i32 %51 = call ptr @malloc(i32 noundef %50) store ptr %51, ptr %12, align 8 %52 = load ptr, ptr %12, align 8 %53 = call i32 @memset(ptr noundef %52, i8 noundef signext 0, i32 noundef 8) %54 = load ptr, ptr %12, align 8 %55 = load i32, ptr %9, align 4 %56 = load ptr, ptr %5, align 8 %57 = call i32 @fread(ptr noundef %54, i32 noundef 1, i32 noundef %55, ptr noundef %56) %58 = load ptr, ptr %12, align 8 store ptr %58, ptr %10, align 8 %59 = load ptr, ptr %10, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 4 store ptr %60, ptr %10, align 8 %61 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %62 = load ptr, ptr %10, align 8 %63 = call i32 @copy_cbyc(ptr noundef %61, ptr noundef %62, i32 noundef 2) %64 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 2 store i8 0, ptr %64, align 1 %65 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %66 = call i32 @to_intconvertor(ptr noundef %65) store i32 %66, ptr %8, align 4 %67 = load i32, ptr %8, align 4 %68 = load i32, ptr %3, align 4 %69 = icmp eq i32 %67, %68 br i1 %69, label %70, label %72 70: ; preds = %35 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %84 72: ; preds = %35 %73 = load ptr, ptr %12, align 8 %74 = load i32, ptr %9, align 4 %75 = load ptr, ptr %6, align 8 %76 = call i32 @fwrite(ptr noundef %73, i32 noundef 1, i32 noundef %74, ptr noundef %75) %77 = load ptr, ptr %12, align 8 %78 = call i32 @free(ptr noundef %77) %79 = load i32, ptr %9, align 4 %80 = zext i32 %79 to i64 %81 = load i64, ptr %14, align 8 %82 = sub i64 %81, %80 store i64 %82, ptr %14, align 8 br label %83 83: ; preds = %72 br label %32, !llvm.loop !6 84: ; preds = %70, %32 %85 = load ptr, ptr %4, align 8 store ptr %85, ptr %16, align 8 %86 = load ptr, ptr %16, align 8 %87 = getelementptr inbounds i8, ptr %86, i64 2 store ptr %87, ptr %16, align 8 %88 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %89 = load ptr, ptr %16, align 8 %90 = call i32 @copy_cbyc(ptr noundef %88, ptr noundef %89, i32 noundef 2) %91 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %92 = call i32 @to_intconvertor(ptr noundef %91) store i32 %92, ptr %15, align 4 %93 = load ptr, ptr %4, align 8 %94 = load i32, ptr %15, align 4 %95 = load ptr, ptr %6, align 8 %96 = call i32 @fwrite(ptr noundef %93, i32 noundef 1, i32 noundef %94, ptr noundef %95) br label %97 97: ; preds = %140, %84 %98 = load i64, ptr %14, align 8 %99 = icmp ne i64 %98, 0 br i1 %99, label %100, label %141 100: ; preds = %97 %101 = load ptr, ptr %5, align 8 %102 = load i32, ptr @SEEK_CUR, align 4 %103 = call i32 @fseek(ptr noundef %101, i32 noundef 2, i32 noundef %102) %104 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %105 = load ptr, ptr %5, align 8 %106 = call i32 @fread(ptr noundef %104, i32 noundef 1, i32 noundef 2, ptr noundef %105) %107 = load ptr, ptr %5, align 8 %108 = load i32, ptr @SEEK_CUR, align 4 %109 = call i32 @fseek(ptr noundef %107, i32 noundef -4, i32 noundef %108) %110 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %111 = call i32 @to_intconvertor(ptr noundef %110) store i32 %111, ptr %9, align 4 %112 = load i32, ptr %9, align 4 %113 = zext i32 %112 to i64 %114 = mul i64 %113, 1 %115 = trunc i64 %114 to i32 %116 = call ptr @malloc(i32 noundef %115) store ptr %116, ptr %12, align 8 %117 = load ptr, ptr %12, align 8 %118 = call i32 @memset(ptr noundef %117, i8 noundef signext 0, i32 noundef 8) %119 = load ptr, ptr %12, align 8 %120 = load i32, ptr %9, align 4 %121 = load ptr, ptr %5, align 8 %122 = call i32 @fread(ptr noundef %119, i32 noundef 1, i32 noundef %120, ptr noundef %121) %123 = load ptr, ptr %12, align 8 %124 = load ptr, ptr %4, align 8 %125 = load i32, ptr %9, align 4 %126 = call i32 @ncmp_cbyc(ptr noundef %123, ptr noundef %124, i32 noundef %125) %127 = icmp ne i32 %126, 0 br i1 %127, label %129, label %128 128: ; preds = %100 br label %141 129: ; preds = %100 %130 = load ptr, ptr %4, align 8 %131 = load i32, ptr %9, align 4 %132 = load ptr, ptr %6, align 8 %133 = call i32 @fwrite(ptr noundef %130, i32 noundef 1, i32 noundef %131, ptr noundef %132) %134 = load ptr, ptr %12, align 8 %135 = call i32 @free(ptr noundef %134) %136 = load i32, ptr %9, align 4 %137 = zext i32 %136 to i64 %138 = load i64, ptr %14, align 8 %139 = sub i64 %138, %137 store i64 %139, ptr %14, align 8 br label %140 140: ; preds = %129 br label %97, !llvm.loop !8 141: ; preds = %128, %97 %142 = load ptr, ptr %5, align 8 %143 = call i32 @fclose(ptr noundef %142) %144 = load ptr, ptr %6, align 8 %145 = call i32 @fclose(ptr noundef %144) %146 = call i64 @remove(ptr noundef @.str) %147 = icmp ne i64 %146, 0 br i1 %147, label %148, label %150 148: ; preds = %141 %149 = call i32 @perror(ptr noundef @.str.6) br label %150 150: ; preds = %148, %141 %151 = call i32 @rename(ptr noundef @.str.2, ptr noundef @.str) store i32 %151, ptr %7, align 4 %152 = load i32, ptr %7, align 4 %153 = icmp eq i32 %152, 0 br i1 %153, label %154, label %156 154: ; preds = %150 %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %158 156: ; preds = %150 %157 = call i32 @perror(ptr noundef @.str.8) br label %158 158: ; preds = %156, %154 br label %161 159: ; preds = %2 %160 = call i32 @perror(ptr noundef @.str) br label %161 161: ; preds = %159, %158 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @to_intconvertor(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @copy_cbyc(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @ncmp_cbyc(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @remove(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp4_faiymv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"cfg.bin\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"ncfg.bin\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [41 x i8] c"BEFORE REMOVAL OF OLDFRAME FILE LEN %ld\0A\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [57 x i8] c"IDcode of new cfg MATCHED with old cfg in file cfg.bin!\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Error deleting file\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"File successfully renamed\0A\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"Error renaming file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @remove_old_cfg(i32 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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [3 x i8], align 1 %12 = alloca ptr, align 8 %13 = alloca [2 x i8], align 1 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %17 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %17, ptr %5, align 8 %18 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %161 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr @SEEK_END, align 4 %24 = call i32 @fseek(ptr noundef %22, i32 noundef 0, i32 noundef %23) %25 = load ptr, ptr %5, align 8 %26 = call i64 @ftell(ptr noundef %25) store i64 %26, ptr %14, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr @SEEK_SET, align 4 %29 = call i32 @fseek(ptr noundef %27, i32 noundef 0, i32 noundef %28) %30 = load i64, ptr %14, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %30) %32 = load i64, ptr %14, align 8 %33 = icmp ne i64 %32, 0 br i1 %33, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %21 br label %34 34: ; preds = %.lr.ph, %82 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr @SEEK_CUR, align 4 %37 = call i32 @fseek(ptr noundef %35, i32 noundef 2, i32 noundef %36) %38 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %39 = load ptr, ptr %5, align 8 %40 = call i32 @fread(ptr noundef %38, i32 noundef 1, i32 noundef 2, ptr noundef %39) %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr @SEEK_CUR, align 4 %43 = call i32 @fseek(ptr noundef %41, i32 noundef -4, i32 noundef %42) %44 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %45 = call i32 @to_intconvertor(ptr noundef %44) store i32 %45, ptr %9, align 4 %46 = load i32, ptr %9, align 4 %47 = zext i32 %46 to i64 %48 = mul i64 %47, 1 %49 = trunc i64 %48 to i32 %50 = call ptr @malloc(i32 noundef %49) store ptr %50, ptr %12, align 8 %51 = load ptr, ptr %12, align 8 %52 = call i32 @memset(ptr noundef %51, i8 noundef signext 0, i32 noundef 8) %53 = load ptr, ptr %12, align 8 %54 = load i32, ptr %9, align 4 %55 = load ptr, ptr %5, align 8 %56 = call i32 @fread(ptr noundef %53, i32 noundef 1, i32 noundef %54, ptr noundef %55) %57 = load ptr, ptr %12, align 8 store ptr %57, ptr %10, align 8 %58 = load ptr, ptr %10, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 4 store ptr %59, ptr %10, align 8 %60 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %61 = load ptr, ptr %10, align 8 %62 = call i32 @copy_cbyc(ptr noundef %60, ptr noundef %61, i32 noundef 2) %63 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 2 store i8 0, ptr %63, align 1 %64 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %65 = call i32 @to_intconvertor(ptr noundef %64) store i32 %65, ptr %8, align 4 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr %3, align 4 %68 = icmp eq i32 %66, %67 br i1 %68, label %69, label %71 69: ; preds = %34 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %85 71: ; preds = %34 %72 = load ptr, ptr %12, align 8 %73 = load i32, ptr %9, align 4 %74 = load ptr, ptr %6, align 8 %75 = call i32 @fwrite(ptr noundef %72, i32 noundef 1, i32 noundef %73, ptr noundef %74) %76 = load ptr, ptr %12, align 8 %77 = call i32 @free(ptr noundef %76) %78 = load i32, ptr %9, align 4 %79 = zext i32 %78 to i64 %80 = load i64, ptr %14, align 8 %81 = sub i64 %80, %79 store i64 %81, ptr %14, align 8 br label %82 82: ; preds = %71 %83 = load i64, ptr %14, align 8 %84 = icmp ne i64 %83, 0 br i1 %84, label %34, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %82 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %21 br label %85 85: ; preds = %.loopexit1, %69 %86 = load ptr, ptr %4, align 8 store ptr %86, ptr %16, align 8 %87 = load ptr, ptr %16, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 2 store ptr %88, ptr %16, align 8 %89 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %90 = load ptr, ptr %16, align 8 %91 = call i32 @copy_cbyc(ptr noundef %89, ptr noundef %90, i32 noundef 2) %92 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %93 = call i32 @to_intconvertor(ptr noundef %92) store i32 %93, ptr %15, align 4 %94 = load ptr, ptr %4, align 8 %95 = load i32, ptr %15, align 4 %96 = load ptr, ptr %6, align 8 %97 = call i32 @fwrite(ptr noundef %94, i32 noundef 1, i32 noundef %95, ptr noundef %96) %98 = load i64, ptr %14, align 8 %99 = icmp ne i64 %98, 0 br i1 %99, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %85 br label %100 100: ; preds = %.lr.ph2, %140 %101 = load ptr, ptr %5, align 8 %102 = load i32, ptr @SEEK_CUR, align 4 %103 = call i32 @fseek(ptr noundef %101, i32 noundef 2, i32 noundef %102) %104 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %105 = load ptr, ptr %5, align 8 %106 = call i32 @fread(ptr noundef %104, i32 noundef 1, i32 noundef 2, ptr noundef %105) %107 = load ptr, ptr %5, align 8 %108 = load i32, ptr @SEEK_CUR, align 4 %109 = call i32 @fseek(ptr noundef %107, i32 noundef -4, i32 noundef %108) %110 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %111 = call i32 @to_intconvertor(ptr noundef %110) store i32 %111, ptr %9, align 4 %112 = load i32, ptr %9, align 4 %113 = zext i32 %112 to i64 %114 = mul i64 %113, 1 %115 = trunc i64 %114 to i32 %116 = call ptr @malloc(i32 noundef %115) store ptr %116, ptr %12, align 8 %117 = load ptr, ptr %12, align 8 %118 = call i32 @memset(ptr noundef %117, i8 noundef signext 0, i32 noundef 8) %119 = load ptr, ptr %12, align 8 %120 = load i32, ptr %9, align 4 %121 = load ptr, ptr %5, align 8 %122 = call i32 @fread(ptr noundef %119, i32 noundef 1, i32 noundef %120, ptr noundef %121) %123 = load ptr, ptr %12, align 8 %124 = load ptr, ptr %4, align 8 %125 = load i32, ptr %9, align 4 %126 = call i32 @ncmp_cbyc(ptr noundef %123, ptr noundef %124, i32 noundef %125) %127 = icmp ne i32 %126, 0 br i1 %127, label %129, label %128 128: ; preds = %100 br label %143 129: ; preds = %100 %130 = load ptr, ptr %4, align 8 %131 = load i32, ptr %9, align 4 %132 = load ptr, ptr %6, align 8 %133 = call i32 @fwrite(ptr noundef %130, i32 noundef 1, i32 noundef %131, ptr noundef %132) %134 = load ptr, ptr %12, align 8 %135 = call i32 @free(ptr noundef %134) %136 = load i32, ptr %9, align 4 %137 = zext i32 %136 to i64 %138 = load i64, ptr %14, align 8 %139 = sub i64 %138, %137 store i64 %139, ptr %14, align 8 br label %140 140: ; preds = %129 %141 = load i64, ptr %14, align 8 %142 = icmp ne i64 %141, 0 br i1 %142, label %100, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %140 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %85 br label %143 143: ; preds = %.loopexit, %128 %144 = load ptr, ptr %5, align 8 %145 = call i32 @fclose(ptr noundef %144) %146 = load ptr, ptr %6, align 8 %147 = call i32 @fclose(ptr noundef %146) %148 = call i64 @remove(ptr noundef @.str) %149 = icmp ne i64 %148, 0 br i1 %149, label %150, label %152 150: ; preds = %143 %151 = call i32 @perror(ptr noundef @.str.6) br label %152 152: ; preds = %150, %143 %153 = call i32 @rename(ptr noundef @.str.2, ptr noundef @.str) store i32 %153, ptr %7, align 4 %154 = load i32, ptr %7, align 4 %155 = icmp eq i32 %154, 0 br i1 %155, label %156, label %158 156: ; preds = %152 %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %160 158: ; preds = %152 %159 = call i32 @perror(ptr noundef @.str.8) br label %160 160: ; preds = %158, %156 br label %163 161: ; preds = %2 %162 = call i32 @perror(ptr noundef @.str) br label %163 163: ; preds = %161, %160 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @to_intconvertor(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @copy_cbyc(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @ncmp_cbyc(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @remove(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpjnl60ozt.c' source_filename = "/tmp/tmpjnl60ozt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AIngrese un n\C3\BAmero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [66 x i8] c"\0ALos n\C3\BAmeros de orden par proporcionan la mayor suma\09TOTAL: %d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"\0ANingun grupo es mayor que el otro\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [69 x i8] c"\0ALos n\C3\BAmeros de orden impar proporcionan la mayor suma:\09TOTAL: %d\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %24, %0 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 100 br i1 %8, label %9, label %27 9: ; preds = %6 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %12 = load i32, ptr %5, align 4 %13 = srem i32 %12, 2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %16, %17 store i32 %18, ptr %3, align 4 br label %23 19: ; preds = %9 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %20, %21 store i32 %22, ptr %4, align 4 br label %23 23: ; preds = %19, %15 br label %24 24: ; preds = %23 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %6, !llvm.loop !6 27: ; preds = %6 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp sgt i32 %28, %29 br i1 %30, label %31, label %34 31: ; preds = %27 %32 = load i32, ptr %3, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32) br label %44 34: ; preds = %27 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %43 40: ; preds = %34 %41 = load i32, ptr %4, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %41) br label %43 43: ; preds = %40, %38 br label %44 44: ; preds = %43, %31 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjnl60ozt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AIngrese un n\C3\BAmero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [66 x i8] c"\0ALos n\C3\BAmeros de orden par proporcionan la mayor suma\09TOTAL: %d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"\0ANingun grupo es mayor que el otro\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [69 x i8] c"\0ALos n\C3\BAmeros de orden impar proporcionan la mayor suma:\09TOTAL: %d\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 100 br i1 %7, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %23 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = load i32, ptr %5, align 4 %12 = srem i32 %11, 2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %3, align 4 br label %22 18: ; preds = %8 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %19, %20 store i32 %21, ptr %4, align 4 br label %22 22: ; preds = %18, %14 br label %23 23: ; preds = %22 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %26, 100 br i1 %27, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %0 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp sgt i32 %29, %30 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = load i32, ptr %3, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33) br label %45 35: ; preds = %28 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp eq i32 %36, %37 br i1 %38, label %39, label %41 39: ; preds = %35 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %44 41: ; preds = %35 %42 = load i32, ptr %4, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42) br label %44 44: ; preds = %41, %39 br label %45 45: ; preds = %44, %32 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"}
; ModuleID = '/tmp/tmpng29fv6d.c' source_filename = "/tmp/tmpng29fv6d.c" target datalayout = "e-m:e-p270: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/tmpng29fv6d.c" target datalayout = "e-m:e-p270: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/tmpmag6szjc.c' source_filename = "/tmp/tmpmag6szjc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @None = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @moveTo(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 %8 = 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 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @coords(ptr noundef %9, ptr noundef %7, ptr noundef %8) %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr @None, align 4 %13 = load i32, ptr @None, align 4 %14 = load i32, ptr %7, align 4 %15 = sub nsw i32 0, %14 %16 = load i32, ptr %8, align 4 %17 = sub nsw i32 0, %16 %18 = call i32 @XWarpPointer(ptr noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %15, i32 noundef %17) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr @None, align 4 %21 = load i32, ptr @None, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @XWarpPointer(ptr noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %22, i32 noundef %23) %25 = load ptr, ptr %4, align 8 %26 = call i32 @XFlush(ptr noundef %25) %27 = call i32 @usleep(i32 noundef 1) ret void } declare i32 @coords(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @XWarpPointer(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @XFlush(ptr noundef) #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/tmpmag6szjc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @None = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @moveTo(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 %8 = 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 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @coords(ptr noundef %9, ptr noundef %7, ptr noundef %8) %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr @None, align 4 %13 = load i32, ptr @None, align 4 %14 = load i32, ptr %7, align 4 %15 = sub nsw i32 0, %14 %16 = load i32, ptr %8, align 4 %17 = sub nsw i32 0, %16 %18 = call i32 @XWarpPointer(ptr noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %15, i32 noundef %17) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr @None, align 4 %21 = load i32, ptr @None, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @XWarpPointer(ptr noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %22, i32 noundef %23) %25 = load ptr, ptr %4, align 8 %26 = call i32 @XFlush(ptr noundef %25) %27 = call i32 @usleep(i32 noundef 1) ret void } declare i32 @coords(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @XWarpPointer(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @XFlush(ptr noundef) #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/tmpq0ea110l.c' source_filename = "/tmp/tmpq0ea110l.c" target datalayout = "e-m:e-p270: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/tmpq0ea110l.c" target datalayout = "e-m:e-p270: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/tmpj0fnobuy.c' source_filename = "/tmp/tmpj0fnobuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [73 x i8] c"Enter thresholds for A, B, C, D\0Ain that order, decreasing percentages > \00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%lf%lf%lf%lf\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Thank you. Now enter student score (percent) >\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Student has an A grade\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Student has an B grade\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"Student has an C grade\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"Student has an D grade\0A\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"Student has an F grade\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store i32 0, ptr %1, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6) %11 = load double, ptr %6, align 8 %12 = load double, ptr %2, align 8 %13 = fcmp oge double %11, %12 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.4) br label %56 16: ; preds = %0 %17 = load double, ptr %6, align 8 %18 = load double, ptr %3, align 8 %19 = fcmp oge double %17, %18 br i1 %19, label %20, label %26 20: ; preds = %16 %21 = load double, ptr %6, align 8 %22 = load double, ptr %2, align 8 %23 = fcmp olt double %21, %22 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 @printf(ptr noundef @.str.5) br label %55 26: ; preds = %20, %16 %27 = load double, ptr %6, align 8 %28 = load double, ptr %4, align 8 %29 = fcmp oge double %27, %28 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load double, ptr %6, align 8 %32 = load double, ptr %3, align 8 %33 = fcmp olt double %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @printf(ptr noundef @.str.6) br label %54 36: ; preds = %30, %26 %37 = load double, ptr %6, align 8 %38 = load double, ptr %5, align 8 %39 = fcmp oge double %37, %38 br i1 %39, label %40, label %46 40: ; preds = %36 %41 = load double, ptr %6, align 8 %42 = load double, ptr %4, align 8 %43 = fcmp olt double %41, %42 br i1 %43, label %44, label %46 44: ; preds = %40 %45 = call i32 @printf(ptr noundef @.str.7) br label %53 46: ; preds = %40, %36 %47 = load double, ptr %6, align 8 %48 = load double, ptr %5, align 8 %49 = fcmp olt double %47, %48 br i1 %49, label %50, label %52 50: ; preds = %46 %51 = call i32 @printf(ptr noundef @.str.8) br label %52 52: ; preds = %50, %46 br label %53 53: ; preds = %52, %44 br label %54 54: ; preds = %53, %34 br label %55 55: ; preds = %54, %24 br label %56 56: ; preds = %55, %14 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/tmpj0fnobuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [73 x i8] c"Enter thresholds for A, B, C, D\0Ain that order, decreasing percentages > \00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%lf%lf%lf%lf\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"Thank you. Now enter student score (percent) >\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Student has an A grade\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Student has an B grade\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"Student has an C grade\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"Student has an D grade\0A\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"Student has an F grade\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store i32 0, ptr %1, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6) %11 = load double, ptr %6, align 8 %12 = load double, ptr %2, align 8 %13 = fcmp oge double %11, %12 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.4) br label %56 16: ; preds = %0 %17 = load double, ptr %6, align 8 %18 = load double, ptr %3, align 8 %19 = fcmp oge double %17, %18 br i1 %19, label %20, label %26 20: ; preds = %16 %21 = load double, ptr %6, align 8 %22 = load double, ptr %2, align 8 %23 = fcmp olt double %21, %22 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 @printf(ptr noundef @.str.5) br label %55 26: ; preds = %20, %16 %27 = load double, ptr %6, align 8 %28 = load double, ptr %4, align 8 %29 = fcmp oge double %27, %28 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load double, ptr %6, align 8 %32 = load double, ptr %3, align 8 %33 = fcmp olt double %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @printf(ptr noundef @.str.6) br label %54 36: ; preds = %30, %26 %37 = load double, ptr %6, align 8 %38 = load double, ptr %5, align 8 %39 = fcmp oge double %37, %38 br i1 %39, label %40, label %46 40: ; preds = %36 %41 = load double, ptr %6, align 8 %42 = load double, ptr %4, align 8 %43 = fcmp olt double %41, %42 br i1 %43, label %44, label %46 44: ; preds = %40 %45 = call i32 @printf(ptr noundef @.str.7) br label %53 46: ; preds = %40, %36 %47 = load double, ptr %6, align 8 %48 = load double, ptr %5, align 8 %49 = fcmp olt double %47, %48 br i1 %49, label %50, label %52 50: ; preds = %46 %51 = call i32 @printf(ptr noundef @.str.8) br label %52 52: ; preds = %50, %46 br label %53 53: ; preds = %52, %44 br label %54 54: ; preds = %53, %34 br label %55 55: ; preds = %54, %24 br label %56 56: ; preds = %55, %14 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/tmpz59gm5lc.c' source_filename = "/tmp/tmpz59gm5lc.c" target datalayout = "e-m:e-p270: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/tmpz59gm5lc.c" target datalayout = "e-m:e-p270: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/tmpiry9c4n7.c' source_filename = "/tmp/tmpiry9c4n7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dsc_copy_until(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca [258 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = load i64, ptr %9, align 8 %18 = load i64, ptr %10, align 8 %19 = getelementptr inbounds [258 x i8], ptr %12, i64 0, i64 0 %20 = load ptr, ptr %11, align 8 %21 = call i32 @dsc_copy_section(ptr noundef %15, ptr noundef %16, i64 noundef %17, i64 noundef %18, ptr noundef %19, ptr noundef %20) store i32 %21, ptr %13, align 4 %22 = load i32, ptr %13, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %33 24: ; preds = %5 %25 = getelementptr inbounds [258 x i8], ptr %12, i64 0, i64 0 %26 = call i64 @strlen(ptr noundef %25) %27 = add nsw i64 %26, 1 %28 = call ptr @dsc_malloc(i64 noundef %27) store ptr %28, ptr %14, align 8 %29 = load ptr, ptr %14, align 8 %30 = getelementptr inbounds [258 x i8], ptr %12, i64 0, i64 0 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) %32 = load ptr, ptr %14, align 8 store ptr %32, ptr %6, align 8 br label %34 33: ; preds = %5 store ptr null, ptr %6, align 8 br label %34 34: ; preds = %33, %24 %35 = load ptr, ptr %6, align 8 ret ptr %35 } declare i32 @dsc_copy_section(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @dsc_malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiry9c4n7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dsc_copy_until(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca [258 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = load i64, ptr %9, align 8 %18 = load i64, ptr %10, align 8 %19 = getelementptr inbounds [258 x i8], ptr %12, i64 0, i64 0 %20 = load ptr, ptr %11, align 8 %21 = call i32 @dsc_copy_section(ptr noundef %15, ptr noundef %16, i64 noundef %17, i64 noundef %18, ptr noundef %19, ptr noundef %20) store i32 %21, ptr %13, align 4 %22 = load i32, ptr %13, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %33 24: ; preds = %5 %25 = getelementptr inbounds [258 x i8], ptr %12, i64 0, i64 0 %26 = call i64 @strlen(ptr noundef %25) %27 = add nsw i64 %26, 1 %28 = call ptr @dsc_malloc(i64 noundef %27) store ptr %28, ptr %14, align 8 %29 = load ptr, ptr %14, align 8 %30 = getelementptr inbounds [258 x i8], ptr %12, i64 0, i64 0 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) %32 = load ptr, ptr %14, align 8 store ptr %32, ptr %6, align 8 br label %34 33: ; preds = %5 store ptr null, ptr %6, align 8 br label %34 34: ; preds = %33, %24 %35 = load ptr, ptr %6, align 8 ret ptr %35 } declare i32 @dsc_copy_section(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @dsc_malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprta9s3my.c' source_filename = "/tmp/tmprta9s3my.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-1: pptr=%p\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"-1: &pptr[0] = %p\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"-1: pptr+1 = %p\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"-1: pptr+2 = %p\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"0: pptr[0] = %p\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"0: *pptr=%p\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"0: &pptr[0][0]=%p\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"1: pptr[1]=%p\0A\00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c"1: *(pptr + 1) = %p\0A\00", align 1 @.str.10 = private unnamed_addr constant [21 x i8] c"1: &pptr[0][1] = %p\0A\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"2: *pptr + 1 = %p\0A\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c"2: *(pptr+0) + 1 = %p\0A\00", align 1 @.str.13 = private unnamed_addr constant [21 x i8] c"2: &pptr[0][1] = %p\0A\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"3: *(pptr[1]+1) = %d\0A\00", align 1 @.str.15 = private unnamed_addr constant [25 x i8] c"3: *(*(pptr+1)+1) = %d\0A\00", align 1 @.str.16 = private unnamed_addr constant [20 x i8] c"3: pptr[1][1] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = 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 store i32 0, ptr %8, align 4 %11 = call i64 @malloc(i32 noundef 40) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %9, align 8 %13 = call i64 @malloc(i32 noundef 16) %14 = inttoptr i64 %13 to ptr %15 = load ptr, ptr %9, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 store ptr %14, ptr %16, align 8 %17 = call i64 @malloc(i32 noundef 16) %18 = inttoptr i64 %17 to ptr %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 store ptr %18, ptr %20, align 8 %21 = call i64 @malloc(i32 noundef 16) %22 = inttoptr i64 %21 to ptr %23 = load ptr, ptr %9, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 store ptr %22, ptr %24, align 8 %25 = call i64 @malloc(i32 noundef 16) %26 = inttoptr i64 %25 to ptr %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 3 store ptr %26, ptr %28, align 8 %29 = call i64 @malloc(i32 noundef 16) %30 = inttoptr i64 %29 to ptr %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 4 store ptr %30, ptr %32, align 8 store i32 0, ptr %6, align 4 br label %33 33: ; preds = %55, %2 %34 = load i32, ptr %6, align 4 %35 = icmp slt i32 %34, 5 br i1 %35, label %36, label %58 36: ; preds = %33 store i32 0, ptr %7, align 4 br label %37 37: ; preds = %51, %36 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %38, 4 br i1 %39, label %40, label %54 40: ; preds = %37 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 store i32 %41, ptr %50, align 4 br label %51 51: ; preds = %40 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 br label %37, !llvm.loop !6 54: ; preds = %37 br label %55 55: ; preds = %54 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 br label %33, !llvm.loop !8 58: ; preds = %33 %59 = load ptr, ptr %9, align 8 store ptr %59, ptr %10, align 8 %60 = load ptr, ptr %10, align 8 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %60) %62 = load ptr, ptr %10, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 0 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %63) %65 = load ptr, ptr %10, align 8 %66 = getelementptr inbounds ptr, ptr %65, i64 1 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %66) %68 = load ptr, ptr %10, align 8 %69 = getelementptr inbounds ptr, ptr %68, i64 2 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %69) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %72 = load ptr, ptr %10, align 8 %73 = getelementptr inbounds ptr, ptr %72, i64 0 %74 = load ptr, ptr %73, align 8 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %74) %76 = load ptr, ptr %10, align 8 %77 = load ptr, ptr %76, align 8 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %77) %79 = load ptr, ptr %10, align 8 %80 = getelementptr inbounds ptr, ptr %79, i64 0 %81 = load ptr, ptr %80, align 8 %82 = getelementptr inbounds i32, ptr %81, i64 0 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %82) %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %85 = load ptr, ptr %10, align 8 %86 = getelementptr inbounds ptr, ptr %85, i64 1 %87 = load ptr, ptr %86, align 8 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %87) %89 = load ptr, ptr %10, align 8 %90 = getelementptr inbounds ptr, ptr %89, i64 1 %91 = load ptr, ptr %90, align 8 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %91) %93 = load ptr, ptr %10, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 1 %95 = load ptr, ptr %94, align 8 %96 = getelementptr inbounds i32, ptr %95, i64 0 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %96) %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %99 = load ptr, ptr %10, align 8 %100 = load ptr, ptr %99, align 8 %101 = getelementptr inbounds i32, ptr %100, i64 1 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %101) %103 = load ptr, ptr %10, align 8 %104 = getelementptr inbounds ptr, ptr %103, i64 0 %105 = load ptr, ptr %104, align 8 %106 = getelementptr inbounds i32, ptr %105, i64 1 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %106) %108 = load ptr, ptr %10, align 8 %109 = getelementptr inbounds ptr, ptr %108, i64 1 %110 = load ptr, ptr %109, align 8 %111 = getelementptr inbounds i32, ptr %110, i64 0 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %111) %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %114 = load ptr, ptr %10, align 8 %115 = getelementptr inbounds ptr, ptr %114, i64 1 %116 = load ptr, ptr %115, align 8 %117 = getelementptr inbounds i32, ptr %116, i64 1 %118 = load i32, ptr %117, align 4 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %118) %120 = load ptr, ptr %10, align 8 %121 = getelementptr inbounds ptr, ptr %120, i64 1 %122 = load ptr, ptr %121, align 8 %123 = getelementptr inbounds i32, ptr %122, i64 1 %124 = load i32, ptr %123, align 4 %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %124) %126 = load ptr, ptr %10, align 8 %127 = getelementptr inbounds ptr, ptr %126, i64 1 %128 = load ptr, ptr %127, align 8 %129 = getelementptr inbounds i32, ptr %128, i64 1 %130 = load i32, ptr %129, align 4 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %130) ret i32 0 } declare i64 @malloc(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprta9s3my.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-1: pptr=%p\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"-1: &pptr[0] = %p\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"-1: pptr+1 = %p\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"-1: pptr+2 = %p\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"0: pptr[0] = %p\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"0: *pptr=%p\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"0: &pptr[0][0]=%p\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"1: pptr[1]=%p\0A\00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c"1: *(pptr + 1) = %p\0A\00", align 1 @.str.10 = private unnamed_addr constant [21 x i8] c"1: &pptr[0][1] = %p\0A\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"2: *pptr + 1 = %p\0A\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c"2: *(pptr+0) + 1 = %p\0A\00", align 1 @.str.13 = private unnamed_addr constant [21 x i8] c"2: &pptr[0][1] = %p\0A\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"3: *(pptr[1]+1) = %d\0A\00", align 1 @.str.15 = private unnamed_addr constant [25 x i8] c"3: *(*(pptr+1)+1) = %d\0A\00", align 1 @.str.16 = private unnamed_addr constant [20 x i8] c"3: pptr[1][1] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = 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 store i32 0, ptr %8, align 4 %11 = call i64 @malloc(i32 noundef 40) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %9, align 8 %13 = call i64 @malloc(i32 noundef 16) %14 = inttoptr i64 %13 to ptr %15 = load ptr, ptr %9, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 store ptr %14, ptr %16, align 8 %17 = call i64 @malloc(i32 noundef 16) %18 = inttoptr i64 %17 to ptr %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 store ptr %18, ptr %20, align 8 %21 = call i64 @malloc(i32 noundef 16) %22 = inttoptr i64 %21 to ptr %23 = load ptr, ptr %9, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 store ptr %22, ptr %24, align 8 %25 = call i64 @malloc(i32 noundef 16) %26 = inttoptr i64 %25 to ptr %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 3 store ptr %26, ptr %28, align 8 %29 = call i64 @malloc(i32 noundef 16) %30 = inttoptr i64 %29 to ptr %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 4 store ptr %30, ptr %32, align 8 store i32 0, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %33, 5 br i1 %34, label %.lr.ph2, label %60 .lr.ph2: ; preds = %2 br label %35 35: ; preds = %.lr.ph2, %55 store i32 0, ptr %7, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp slt i32 %36, 4 br i1 %37, label %.lr.ph, label %54 .lr.ph: ; preds = %35 br label %38 38: ; preds = %.lr.ph, %49 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 %41 = load ptr, ptr %9, align 8 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 store i32 %39, ptr %48, align 4 br label %49 49: ; preds = %38 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp slt i32 %52, 4 br i1 %53, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %54 54: ; preds = %._crit_edge, %35 br label %55 55: ; preds = %54 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 %58 = load i32, ptr %6, align 4 %59 = icmp slt i32 %58, 5 br i1 %59, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %60 60: ; preds = %._crit_edge3, %2 %61 = load ptr, ptr %9, align 8 store ptr %61, ptr %10, align 8 %62 = load ptr, ptr %10, align 8 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %62) %64 = load ptr, ptr %10, align 8 %65 = getelementptr inbounds ptr, ptr %64, i64 0 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %65) %67 = load ptr, ptr %10, align 8 %68 = getelementptr inbounds ptr, ptr %67, i64 1 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %68) %70 = load ptr, ptr %10, align 8 %71 = getelementptr inbounds ptr, ptr %70, i64 2 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %71) %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %74 = load ptr, ptr %10, align 8 %75 = getelementptr inbounds ptr, ptr %74, i64 0 %76 = load ptr, ptr %75, align 8 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %76) %78 = load ptr, ptr %10, align 8 %79 = load ptr, ptr %78, align 8 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %79) %81 = load ptr, ptr %10, align 8 %82 = getelementptr inbounds ptr, ptr %81, i64 0 %83 = load ptr, ptr %82, align 8 %84 = getelementptr inbounds i32, ptr %83, i64 0 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %84) %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %87 = load ptr, ptr %10, align 8 %88 = getelementptr inbounds ptr, ptr %87, i64 1 %89 = load ptr, ptr %88, align 8 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %89) %91 = load ptr, ptr %10, align 8 %92 = getelementptr inbounds ptr, ptr %91, i64 1 %93 = load ptr, ptr %92, align 8 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %93) %95 = load ptr, ptr %10, align 8 %96 = getelementptr inbounds ptr, ptr %95, i64 1 %97 = load ptr, ptr %96, align 8 %98 = getelementptr inbounds i32, ptr %97, i64 0 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %98) %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %101 = load ptr, ptr %10, align 8 %102 = load ptr, ptr %101, align 8 %103 = getelementptr inbounds i32, ptr %102, i64 1 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %103) %105 = load ptr, ptr %10, align 8 %106 = getelementptr inbounds ptr, ptr %105, i64 0 %107 = load ptr, ptr %106, align 8 %108 = getelementptr inbounds i32, ptr %107, i64 1 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %108) %110 = load ptr, ptr %10, align 8 %111 = getelementptr inbounds ptr, ptr %110, i64 1 %112 = load ptr, ptr %111, align 8 %113 = getelementptr inbounds i32, ptr %112, i64 0 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %113) %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %116 = load ptr, ptr %10, align 8 %117 = getelementptr inbounds ptr, ptr %116, i64 1 %118 = load ptr, ptr %117, align 8 %119 = getelementptr inbounds i32, ptr %118, i64 1 %120 = load i32, ptr %119, align 4 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %120) %122 = load ptr, ptr %10, align 8 %123 = getelementptr inbounds ptr, ptr %122, i64 1 %124 = load ptr, ptr %123, align 8 %125 = getelementptr inbounds i32, ptr %124, i64 1 %126 = load i32, ptr %125, align 4 %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %126) %128 = load ptr, ptr %10, align 8 %129 = getelementptr inbounds ptr, ptr %128, i64 1 %130 = load ptr, ptr %129, align 8 %131 = getelementptr inbounds i32, ptr %130, i64 1 %132 = load i32, ptr %131, align 4 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %132) ret i32 0 } declare i64 @malloc(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjw0ipnb0.c' source_filename = "/tmp/tmpjw0ipnb0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"everyone\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @hello(ptr noundef @.str) ret i32 0 } declare i32 @hello(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjw0ipnb0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"everyone\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @hello(ptr noundef @.str) ret i32 0 } declare i32 @hello(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu3ivbkrb.c' source_filename = "/tmp/tmpu3ivbkrb.c" target datalayout = "e-m:e-p270: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/tmpu3ivbkrb.c" target datalayout = "e-m:e-p270: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/tmpo6i0vdxf.c' source_filename = "/tmp/tmpo6i0vdxf.c" target datalayout = "e-m:e-p270: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 [451 x i8] c"Usage: %s [OPTIONS] DIR [CMD [ARG]...]\0AOptions:\0A -c disable console emulation in the container\0A -g MAP set the container-to-host GID map\0A -i CMD run a helper child inside the new namespaces\0A -n share the host network unprivileged in the container\0A -o CMD run a helper child outside the new namespaces\0A -u MAP set the container-to-host UID map\0AGID and UID maps are specified as START:LOWER:COUNT[,START:LOWER:COUNT]...\0A\00", align 1 @EX_USAGE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @EX_USAGE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo6i0vdxf.c" target datalayout = "e-m:e-p270: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 [451 x i8] c"Usage: %s [OPTIONS] DIR [CMD [ARG]...]\0AOptions:\0A -c disable console emulation in the container\0A -g MAP set the container-to-host GID map\0A -i CMD run a helper child inside the new namespaces\0A -n share the host network unprivileged in the container\0A -o CMD run a helper child outside the new namespaces\0A -u MAP set the container-to-host UID map\0AGID and UID maps are specified as START:LOWER:COUNT[,START:LOWER:COUNT]...\0A\00", align 1 @EX_USAGE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @EX_USAGE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7kh3w2db.c' source_filename = "/tmp/tmp7kh3w2db.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"usage: mfault npages\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"couldn't allocate region\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"cycles/fault %F\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %13 = load i32, ptr %3, align 4 %14 = icmp ne i32 %13, 2 br i1 %14, label %15, label %19 15: ; preds = %2 %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 = %2 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @strtoull(ptr noundef %22, ptr noundef null, i32 noundef 10) store i32 %23, ptr %8, align 4 %24 = call i32 (...) @getpagesize() store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %8, align 4 %27 = mul nsw i32 %25, %26 %28 = call ptr @malloc(i32 noundef %27) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %35 31: ; preds = %19 %32 = load i32, ptr @stderr, align 4 %33 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.1) %34 = call i32 @exit(i32 noundef 1) #3 unreachable 35: ; preds = %19 %36 = call i64 (...) @fork() %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %35 %39 = call i32 @exit(i32 noundef 0) #3 unreachable 40: ; preds = %35 %41 = call i64 @rdtscp(ptr noundef %12) store i64 %41, ptr %10, align 8 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 0 store i8 1, ptr %43, align 1 %44 = load i32, ptr %8, align 4 store i32 %44, ptr %7, align 4 br label %45 45: ; preds = %63, %40 %46 = load i32, ptr %7, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %66 48: ; preds = %45 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %7, align 4 %51 = sub nsw i32 %50, 1 %52 = load i32, ptr %5, align 4 %53 = mul nsw i32 %51, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %49, i64 %54 %56 = load i8, ptr %55, align 1 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %5, align 4 %60 = mul nsw i32 %58, %59 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %57, i64 %61 store i8 %56, ptr %62, align 1 br label %63 63: ; preds = %48 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %7, align 4 br label %45, !llvm.loop !6 66: ; preds = %45 %67 = call i64 @rdtscp(ptr noundef %12) store i64 %67, ptr %11, align 8 %68 = load i64, ptr %11, align 8 %69 = load i64, ptr %10, align 8 %70 = sub i64 %68, %69 store i64 %70, ptr %9, align 8 %71 = load i64, ptr %9, align 8 %72 = uitofp i64 %71 to double %73 = load i32, ptr %8, align 4 %74 = sitofp i32 %73 to double %75 = fdiv double %72, %74 %76 = call i32 @printf(ptr noundef @.str.2, double noundef %75) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strtoull(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpagesize(...) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @fork(...) #1 declare i64 @rdtscp(ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7kh3w2db.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"usage: mfault npages\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"couldn't allocate region\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"cycles/fault %F\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %13 = load i32, ptr %3, align 4 %14 = icmp ne i32 %13, 2 br i1 %14, label %15, label %19 15: ; preds = %2 %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 = %2 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @strtoull(ptr noundef %22, ptr noundef null, i32 noundef 10) store i32 %23, ptr %8, align 4 %24 = call i32 (...) @getpagesize() store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %8, align 4 %27 = mul nsw i32 %25, %26 %28 = call ptr @malloc(i32 noundef %27) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %35 31: ; preds = %19 %32 = load i32, ptr @stderr, align 4 %33 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.1) %34 = call i32 @exit(i32 noundef 1) #3 unreachable 35: ; preds = %19 %36 = call i64 (...) @fork() %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %35 %39 = call i32 @exit(i32 noundef 0) #3 unreachable 40: ; preds = %35 %41 = call i64 @rdtscp(ptr noundef %12) store i64 %41, ptr %10, align 8 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 0 store i8 1, ptr %43, align 1 %44 = load i32, ptr %8, align 4 store i32 %44, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %.lr.ph, label %67 .lr.ph: ; preds = %40 br label %47 47: ; preds = %.lr.ph, %62 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %7, align 4 %50 = sub nsw i32 %49, 1 %51 = load i32, ptr %5, align 4 %52 = mul nsw i32 %50, %51 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %48, i64 %53 %55 = load i8, ptr %54, align 1 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr %5, align 4 %59 = mul nsw i32 %57, %58 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %56, i64 %60 store i8 %55, ptr %61, align 1 br label %62 62: ; preds = %47 %63 = load i32, ptr %7, align 4 %64 = add nsw i32 %63, -1 store i32 %64, ptr %7, align 4 %65 = load i32, ptr %7, align 4 %66 = icmp ne i32 %65, 0 br i1 %66, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %67 67: ; preds = %._crit_edge, %40 %68 = call i64 @rdtscp(ptr noundef %12) store i64 %68, ptr %11, align 8 %69 = load i64, ptr %11, align 8 %70 = load i64, ptr %10, align 8 %71 = sub i64 %69, %70 store i64 %71, ptr %9, align 8 %72 = load i64, ptr %9, align 8 %73 = uitofp i64 %72 to double %74 = load i32, ptr %8, align 4 %75 = sitofp i32 %74 to double %76 = fdiv double %73, %75 %77 = call i32 @printf(ptr noundef @.str.2, double noundef %76) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strtoull(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpagesize(...) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @fork(...) #1 declare i64 @rdtscp(ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl0xeea30.c' source_filename = "/tmp/tmpl0xeea30.c" target datalayout = "e-m:e-p270: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/tmpl0xeea30.c" target datalayout = "e-m:e-p270: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/tmpt6z8wdsx.c' source_filename = "/tmp/tmpt6z8wdsx.c" target datalayout = "e-m:e-p270: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/tmpt6z8wdsx.c" target datalayout = "e-m:e-p270: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/tmpwmfojqco.c' source_filename = "/tmp/tmpwmfojqco.c" target datalayout = "e-m:e-p270: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/tmpwmfojqco.c" target datalayout = "e-m:e-p270: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/tmpwsq5gp23.c' source_filename = "/tmp/tmpwsq5gp23.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_huffman_code_block_stateless(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @decode_huffman_code_block_stateless_base(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @decode_huffman_code_block_stateless_base(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/tmpwsq5gp23.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_huffman_code_block_stateless(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @decode_huffman_code_block_stateless_base(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @decode_huffman_code_block_stateless_base(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/tmpt1ni3opi.c' source_filename = "/tmp/tmpt1ni3opi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @gets(ptr noundef %6) store i32 0, ptr %5, align 4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %86, %0 %9 = load i32, ptr %3, align 4 %10 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %89 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 115 br i1 %19, label %20, label %85 20: ; preds = %13 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 116 br i1 %27, label %28, label %85 28: ; preds = %20 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 2 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 111 br i1 %35, label %36, label %85 36: ; preds = %28 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 3 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 112 br i1 %43, label %44, label %85 44: ; preds = %36 store i32 0, ptr %4, align 4 br label %45 45: ; preds = %81, %44 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %3, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %84 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp sle i32 %54, 122 br i1 %55, label %56, label %74 56: ; preds = %49 %57 = load i32, ptr %4, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp sge i32 %61, 97 br i1 %62, label %63, label %74 63: ; preds = %56 %64 = load i32, ptr %4, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = sub nsw i32 %68, 32 %70 = trunc i32 %69 to i8 %71 = load i32, ptr %4, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %72 store i8 %70, ptr %73, align 1 br label %74 74: ; preds = %63, %56, %49 %75 = load i32, ptr %4, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %79) br label %81 81: ; preds = %74 %82 = load i32, ptr %4, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %4, align 4 br label %45, !llvm.loop !6 84: ; preds = %45 store i32 1, ptr %5, align 4 br label %85 85: ; preds = %84, %36, %28, %20, %13 br label %86 86: ; preds = %85 %87 = load i32, ptr %3, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %3, align 4 br label %8, !llvm.loop !8 89: ; preds = %8 %90 = load i32, ptr %5, align 4 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %95 92: ; preds = %89 %93 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %93) br label %95 95: ; preds = %92, %89 ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt1ni3opi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @gets(ptr noundef %6) store i32 0, ptr %5, align 4 store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strlen(ptr noundef %9) %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph2, label %93 .lr.ph2: ; preds = %0 br label %12 12: ; preds = %.lr.ph2, %87 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 115 br i1 %18, label %19, label %86 19: ; preds = %12 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 116 br i1 %26, label %27, label %86 27: ; preds = %19 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 2 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 111 br i1 %34, label %35, label %86 35: ; preds = %27 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 3 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 112 br i1 %42, label %43, label %86 43: ; preds = %35 store i32 0, ptr %4, align 4 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr %3, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %.lr.ph, label %85 .lr.ph: ; preds = %43 br label %47 47: ; preds = %.lr.ph, %79 %48 = load i32, ptr %4, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp sle i32 %52, 122 br i1 %53, label %54, label %72 54: ; preds = %47 %55 = load i32, ptr %4, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp sge i32 %59, 97 br i1 %60, label %61, label %72 61: ; preds = %54 %62 = load i32, ptr %4, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = sub nsw i32 %66, 32 %68 = trunc i32 %67 to i8 %69 = load i32, ptr %4, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %70 store i8 %68, ptr %71, align 1 br label %72 72: ; preds = %61, %54, %47 %73 = load i32, ptr %4, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [1000 x i8], ptr %2, 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, i32 noundef %77) br label %79 79: ; preds = %72 %80 = load i32, ptr %4, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %4, align 4 %82 = load i32, ptr %4, align 4 %83 = load i32, ptr %3, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %79 br label %85 85: ; preds = %._crit_edge, %43 store i32 1, ptr %5, align 4 br label %86 86: ; preds = %85, %35, %27, %19, %12 br label %87 87: ; preds = %86 %88 = load i32, ptr %3, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %3, align 4 %90 = load i32, ptr %3, align 4 %91 = call i32 @strlen(ptr noundef %9) %92 = icmp slt i32 %90, %91 br i1 %92, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %93 93: ; preds = %._crit_edge3, %0 %94 = load i32, ptr %5, align 4 %95 = icmp eq i32 %94, 0 br i1 %95, label %96, label %99 96: ; preds = %93 %97 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %97) br label %99 99: ; preds = %96, %93 ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwa4aaqzr.c' source_filename = "/tmp/tmpwa4aaqzr.c" target datalayout = "e-m:e-p270: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/tmpwa4aaqzr.c" target datalayout = "e-m:e-p270: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/tmp08hprugt.c' source_filename = "/tmp/tmp08hprugt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"/proc/%d/comm\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @procfs_pname_get(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [4096 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %12 = load i32, ptr %5, align 4 %13 = call i32 @snprintf(ptr noundef %11, i32 noundef 4096, ptr noundef @.str, i32 noundef %12) %14 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i32 @open(ptr noundef %14, i32 noundef %15) store i32 %16, ptr %9, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %3 store i32 -1, ptr %4, align 4 br label %36 19: ; preds = %3 %20 = load i32, ptr %9, align 4 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = call i32 @read(i32 noundef %20, ptr noundef %21, i32 noundef %22) store i32 %23, ptr %10, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %19 %26 = load i32, ptr %9, align 4 %27 = call i32 @close(i32 noundef %26) store i32 -1, ptr %4, align 4 br label %36 28: ; preds = %19 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %10, align 4 %31 = sub nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 store i8 0, ptr %33, align 1 %34 = load i32, ptr %9, align 4 %35 = call i32 @close(i32 noundef %34) store i32 0, ptr %4, align 4 br label %36 36: ; preds = %28, %25, %18 %37 = load i32, ptr %4, align 4 ret i32 %37 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, 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/tmp08hprugt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"/proc/%d/comm\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @procfs_pname_get(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [4096 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %12 = load i32, ptr %5, align 4 %13 = call i32 @snprintf(ptr noundef %11, i32 noundef 4096, ptr noundef @.str, i32 noundef %12) %14 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i32 @open(ptr noundef %14, i32 noundef %15) store i32 %16, ptr %9, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %3 store i32 -1, ptr %4, align 4 br label %36 19: ; preds = %3 %20 = load i32, ptr %9, align 4 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = call i32 @read(i32 noundef %20, ptr noundef %21, i32 noundef %22) store i32 %23, ptr %10, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %19 %26 = load i32, ptr %9, align 4 %27 = call i32 @close(i32 noundef %26) store i32 -1, ptr %4, align 4 br label %36 28: ; preds = %19 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %10, align 4 %31 = sub nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 store i8 0, ptr %33, align 1 %34 = load i32, ptr %9, align 4 %35 = call i32 @close(i32 noundef %34) store i32 0, ptr %4, align 4 br label %36 36: ; preds = %28, %25, %18 %37 = load i32, ptr %4, align 4 ret i32 %37 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, 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/tmpo64wyqdy.c' source_filename = "/tmp/tmpo64wyqdy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Number of threads = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Thread %d does iteration %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"B: \00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%3.2f \00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"\0A\0AD: \00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%2.3f \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = 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 store i32 20, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %10, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 8 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %11, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = mul i64 %27, 8 %29 = trunc i64 %28 to i32 %30 = call i64 @malloc(i32 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %12, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 8 %35 = trunc i64 %34 to i32 %36 = call i64 @malloc(i32 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %13, align 8 store i32 0, ptr %6, align 4 br label %38 38: ; preds = %57, %2 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %9, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %60 42: ; preds = %38 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 %45 = sitofp i32 %44 to double %46 = load ptr, ptr %10, align 8 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %46, i64 %48 store double %45, ptr %49, align 8 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 %52 = sitofp i32 %51 to double %53 = load ptr, ptr %12, align 8 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 store double %52, ptr %56, align 8 br label %57 57: ; preds = %42 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %6, align 4 br label %38, !llvm.loop !6 60: ; preds = %38 %61 = call i32 (...) @omp_get_thread_num() store i32 %61, ptr %7, align 4 %62 = load i32, ptr %7, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %68 64: ; preds = %60 %65 = call i32 (...) @omp_get_num_threads() store i32 %65, ptr %8, align 4 %66 = load i32, ptr %8, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %66) br label %68 68: ; preds = %64, %60 store i32 0, ptr %6, align 4 br label %69 69: ; preds = %84, %68 %70 = load i32, ptr %6, align 4 %71 = load i32, ptr %9, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %73, label %87 73: ; preds = %69 %74 = load ptr, ptr %10, align 8 %75 = load i32, ptr %6, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %74, i64 %76 %78 = load double, ptr %77, align 8 %79 = fmul double 2.000000e+00, %78 %80 = load ptr, ptr %11, align 8 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %80, i64 %82 store double %79, ptr %83, align 8 br label %84 84: ; preds = %73 %85 = load i32, ptr %6, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %6, align 4 br label %69, !llvm.loop !8 87: ; preds = %69 store i32 0, ptr %6, align 4 br label %88 88: ; preds = %106, %87 %89 = load i32, ptr %6, align 4 %90 = load i32, ptr %9, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %92, label %109 92: ; preds = %88 %93 = load ptr, ptr %12, align 8 %94 = load i32, ptr %6, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %93, i64 %95 %97 = load double, ptr %96, align 8 %98 = fdiv double 1.000000e+00, %97 %99 = load ptr, ptr %13, align 8 %100 = load i32, ptr %6, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %99, i64 %101 store double %98, ptr %102, align 8 %103 = load i32, ptr %7, align 4 %104 = load i32, ptr %6, align 4 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %103, i32 noundef %104) br label %106 106: ; preds = %92 %107 = load i32, ptr %6, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %6, align 4 br label %88, !llvm.loop !9 109: ; preds = %88 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %6, align 4 br label %111 111: ; preds = %122, %109 %112 = load i32, ptr %6, align 4 %113 = load i32, ptr %9, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %115, label %125 115: ; preds = %111 %116 = load ptr, ptr %11, align 8 %117 = load i32, ptr %6, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %116, i64 %118 %120 = load double, ptr %119, align 8 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %120) br label %122 122: ; preds = %115 %123 = load i32, ptr %6, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %6, align 4 br label %111, !llvm.loop !10 125: ; preds = %111 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %6, align 4 br label %127 127: ; preds = %138, %125 %128 = load i32, ptr %6, align 4 %129 = load i32, ptr %9, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %131, label %141 131: ; preds = %127 %132 = load ptr, ptr %13, align 8 %133 = load i32, ptr %6, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds double, ptr %132, i64 %134 %136 = load double, ptr %135, align 8 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %136) br label %138 138: ; preds = %131 %139 = load i32, ptr %6, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %6, align 4 br label %127, !llvm.loop !11 141: ; preds = %127 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %143 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @malloc(i32 noundef) #1 declare i32 @omp_get_thread_num(...) #1 declare i32 @omp_get_num_threads(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo64wyqdy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Number of threads = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Thread %d does iteration %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"B: \00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%3.2f \00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"\0A\0AD: \00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%2.3f \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = 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 store i32 20, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %10, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 8 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %11, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = mul i64 %27, 8 %29 = trunc i64 %28 to i32 %30 = call i64 @malloc(i32 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %12, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 8 %35 = trunc i64 %34 to i32 %36 = call i64 @malloc(i32 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %13, align 8 store i32 0, ptr %6, align 4 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %9, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph, label %62 .lr.ph: ; preds = %2 br label %41 41: ; preds = %.lr.ph, %56 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 %44 = sitofp i32 %43 to double %45 = load ptr, ptr %10, align 8 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds double, ptr %45, i64 %47 store double %44, ptr %48, align 8 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 %51 = sitofp i32 %50 to double %52 = load ptr, ptr %12, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 store double %51, ptr %55, align 8 br label %56 56: ; preds = %41 %57 = load i32, ptr %6, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %6, align 4 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr %9, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %2 %63 = call i32 (...) @omp_get_thread_num() store i32 %63, ptr %7, align 4 %64 = load i32, ptr %7, align 4 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %70 66: ; preds = %62 %67 = call i32 (...) @omp_get_num_threads() store i32 %67, ptr %8, align 4 %68 = load i32, ptr %8, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %68) br label %70 70: ; preds = %66, %62 store i32 0, ptr %6, align 4 %71 = load i32, ptr %6, align 4 %72 = load i32, ptr %9, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %.lr.ph2, label %91 .lr.ph2: ; preds = %70 br label %74 74: ; preds = %.lr.ph2, %85 %75 = load ptr, ptr %10, align 8 %76 = load i32, ptr %6, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds double, ptr %75, i64 %77 %79 = load double, ptr %78, align 8 %80 = fmul double 2.000000e+00, %79 %81 = load ptr, ptr %11, align 8 %82 = load i32, ptr %6, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %81, i64 %83 store double %80, ptr %84, align 8 br label %85 85: ; preds = %74 %86 = load i32, ptr %6, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %6, align 4 %88 = load i32, ptr %6, align 4 %89 = load i32, ptr %9, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %74, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %85 br label %91 91: ; preds = %._crit_edge3, %70 store i32 0, ptr %6, align 4 %92 = load i32, ptr %6, align 4 %93 = load i32, ptr %9, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %.lr.ph5, label %115 .lr.ph5: ; preds = %91 br label %95 95: ; preds = %.lr.ph5, %109 %96 = load ptr, ptr %12, align 8 %97 = load i32, ptr %6, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds double, ptr %96, i64 %98 %100 = load double, ptr %99, align 8 %101 = fdiv double 1.000000e+00, %100 %102 = load ptr, ptr %13, align 8 %103 = load i32, ptr %6, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %102, i64 %104 store double %101, ptr %105, align 8 %106 = load i32, ptr %7, align 4 %107 = load i32, ptr %6, align 4 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %106, i32 noundef %107) br label %109 109: ; preds = %95 %110 = load i32, ptr %6, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %6, align 4 %112 = load i32, ptr %6, align 4 %113 = load i32, ptr %9, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %95, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %109 br label %115 115: ; preds = %._crit_edge6, %91 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %6, align 4 %117 = load i32, ptr %6, align 4 %118 = load i32, ptr %9, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %.lr.ph8, label %133 .lr.ph8: ; preds = %115 br label %120 120: ; preds = %.lr.ph8, %127 %121 = load ptr, ptr %11, align 8 %122 = load i32, ptr %6, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %121, i64 %123 %125 = load double, ptr %124, align 8 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %125) br label %127 127: ; preds = %120 %128 = load i32, ptr %6, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %6, align 4 %130 = load i32, ptr %6, align 4 %131 = load i32, ptr %9, align 4 %132 = icmp slt i32 %130, %131 br i1 %132, label %120, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %127 br label %133 133: ; preds = %._crit_edge9, %115 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %6, align 4 %135 = load i32, ptr %6, align 4 %136 = load i32, ptr %9, align 4 %137 = icmp slt i32 %135, %136 br i1 %137, label %.lr.ph11, label %151 .lr.ph11: ; preds = %133 br label %138 138: ; preds = %.lr.ph11, %145 %139 = load ptr, ptr %13, align 8 %140 = load i32, ptr %6, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds double, ptr %139, i64 %141 %143 = load double, ptr %142, align 8 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %143) br label %145 145: ; preds = %138 %146 = load i32, ptr %6, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %6, align 4 %148 = load i32, ptr %6, align 4 %149 = load i32, ptr %9, align 4 %150 = icmp slt i32 %148, %149 br i1 %150, label %138, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %145 br label %151 151: ; preds = %._crit_edge12, %133 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %153 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @malloc(i32 noundef) #1 declare i32 @omp_get_thread_num(...) #1 declare i32 @omp_get_num_threads(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp9kmqnb48.c' source_filename = "/tmp/tmp9kmqnb48.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This program prints a table of squares.\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Enter number of entries in table: \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"%10d%10d\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"Press enter to continue..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %7 = call signext i8 (...) @getchar() store i32 1, ptr %2, align 4 br label %8 8: ; preds = %30, %0 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %12, label %33 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = mul nsw i32 %14, %15 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13, i32 noundef %16) %18 = load i32, ptr %2, align 4 %19 = srem i32 %18, 24 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %29 21: ; preds = %12 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %23 23: ; preds = %27, %21 %24 = call signext i8 (...) @getchar() %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 10 br i1 %26, label %27, label %28 27: ; preds = %23 br label %23, !llvm.loop !6 28: ; preds = %23 br label %29 29: ; preds = %28, %12 br label %30 30: ; preds = %29 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 br label %8, !llvm.loop !8 33: ; preds = %8 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9kmqnb48.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This program prints a table of squares.\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Enter number of entries in table: \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"%10d%10d\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"Press enter to continue..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %7 = call signext i8 (...) @getchar() store i32 1, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %28 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = mul nsw i32 %13, %14 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12, i32 noundef %15) %17 = load i32, ptr %2, align 4 %18 = srem i32 %17, 24 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %27 20: ; preds = %11 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %22 22: ; preds = %22, %20 %23 = call signext i8 (...) @getchar() %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 10 br i1 %25, label %22, label %26, !llvm.loop !6 26: ; preds = %22 br label %27 27: ; preds = %26, %11 br label %28 28: ; preds = %27 %29 = load i32, ptr %2, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %2, align 4 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp sle i32 %31, %32 br i1 %33, label %11, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbkls2yic.c' source_filename = "/tmp/tmpbkls2yic.c" target datalayout = "e-m:e-p270: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/tmpbkls2yic.c" target datalayout = "e-m:e-p270: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/tmp6u0wfdps.c' source_filename = "/tmp/tmp6u0wfdps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"\0A %3.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 float, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 %4 = load i32, ptr %2, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 100 br i1 %7, label %8, label %16 8: ; preds = %5 %9 = load float, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = sitofp i32 %10 to float %12 = fadd float %9, %11 store float %12, ptr %3, align 4 br label %13 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %5, !llvm.loop !6 16: ; preds = %5 %17 = load float, ptr %3, align 4 %18 = fdiv float %17, 1.000000e+02 store float %18, ptr %3, align 4 %19 = load float, ptr %3, align 4 %20 = call i32 @printf(ptr noundef @.str, float noundef %19) ret i32 0 } declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6u0wfdps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"\0A %3.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 float, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 100 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %12 %8 = load float, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = sitofp i32 %9 to float %11 = fadd float %8, %10 store float %11, ptr %3, align 4 br label %12 12: ; preds = %7 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %15, 100 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = load float, ptr %3, align 4 %19 = fdiv float %18, 1.000000e+02 store float %19, ptr %3, align 4 %20 = load float, ptr %3, align 4 %21 = call i32 @printf(ptr noundef @.str, float noundef %20) ret i32 0 } declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpunxqmo1r.c' source_filename = "/tmp/tmpunxqmo1r.c" target datalayout = "e-m:e-p270: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/tmpunxqmo1r.c" target datalayout = "e-m:e-p270: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/tmpmr_km_iy.c' source_filename = "/tmp/tmpmr_km_iy.c" target datalayout = "e-m:e-p270: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/tmpmr_km_iy.c" target datalayout = "e-m:e-p270: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/tmpm1m8lv5v.c' source_filename = "/tmp/tmpm1m8lv5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Samples: \0A\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"----------------------------------------------\0A\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"- Frequencies -\0A\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"- Scaled -\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_fft_test() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [128 x i16], align 16 %5 = alloca [128 x i16], align 16 %6 = alloca i32, align 4 %7 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %8 8: ; preds = %19, %0 %9 = load i32, ptr %1, align 4 %10 = icmp slt i32 %9, 128 br i1 %10, label %11, label %22 11: ; preds = %8 %12 = load i32, ptr %1, align 4 %13 = load i32, ptr %1, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [128 x i16], ptr %4, i64 0, i64 %14 %16 = load i16, ptr %15, align 2 %17 = sext i16 %16 to i32 %18 = call i32 @show_amp(i32 noundef %12, i32 noundef %17, i32 noundef 12288) br label %19 19: ; preds = %11 %20 = load i32, ptr %1, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %1, align 4 br label %8, !llvm.loop !6 22: ; preds = %8 %23 = getelementptr inbounds [128 x i16], ptr %5, i64 0, i64 0 %24 = call i32 @fix_fftr(ptr noundef %23, i32 noundef 7, i32 noundef 0) %25 = call i32 @printf(ptr noundef @.str.1) %26 = call i32 @printf(ptr noundef @.str.2) %27 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %28 28: ; preds = %39, %22 %29 = load i32, ptr %1, align 4 %30 = icmp slt i32 %29, 64 br i1 %30, label %31, label %42 31: ; preds = %28 %32 = load i32, ptr %1, align 4 %33 = load i32, ptr %1, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [128 x i16], ptr %5, i64 0, i64 %34 %36 = load i16, ptr %35, align 2 %37 = sext i16 %36 to i32 %38 = call i32 @show_amp(i32 noundef %32, i32 noundef %37, i32 noundef 12288) br label %39 39: ; preds = %31 %40 = load i32, ptr %1, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %1, align 4 br label %28, !llvm.loop !8 42: ; preds = %28 %43 = call i32 @printf(ptr noundef @.str.1) %44 = call i32 @printf(ptr noundef @.str.3) %45 = call i32 @printf(ptr noundef @.str.1) %46 = getelementptr inbounds [128 x i16], ptr %5, i64 0, i64 0 %47 = call i32 @fix_fftr(ptr noundef %46, i32 noundef 7, i32 noundef 1) store i32 %47, ptr %2, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %48 48: ; preds = %91, %42 %49 = load i32, ptr %1, align 4 %50 = icmp slt i32 %49, 128 br i1 %50, label %51, label %94 51: ; preds = %48 %52 = load i32, ptr %1, align 4 %53 = and i32 %52, 1 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %65 55: ; preds = %51 %56 = load i32, ptr %1, align 4 %57 = add nsw i32 128, %56 %58 = ashr i32 %57, 1 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [128 x i16], ptr %5, i64 0, i64 %59 %61 = load i16, ptr %60, align 2 %62 = sext i16 %61 to i32 %63 = load i32, ptr %2, align 4 %64 = shl i32 %62, %63 store i32 %64, ptr %6, align 4 br label %74 65: ; preds = %51 %66 = load i32, ptr %1, align 4 %67 = ashr i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [128 x i16], ptr %5, i64 0, i64 %68 %70 = load i16, ptr %69, align 2 %71 = sext i16 %70 to i32 %72 = load i32, ptr %2, align 4 %73 = shl i32 %71, %72 store i32 %73, ptr %6, align 4 br label %74 74: ; preds = %65, %55 %75 = load i32, ptr %1, align 4 %76 = load i32, ptr %6, align 4 %77 = call i32 @show_amp(i32 noundef %75, i32 noundef %76, i32 noundef 12288) %78 = load i32, ptr %1, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [128 x i16], ptr %4, i64 0, i64 %79 %81 = load i16, ptr %80, align 2 %82 = sext i16 %81 to i32 %83 = load i32, ptr %6, align 4 %84 = sub nsw i32 %82, %83 %85 = trunc i32 %84 to i16 %86 = call i64 @abs(i16 noundef signext %85) %87 = load i32, ptr %3, align 4 %88 = zext i32 %87 to i64 %89 = add nsw i64 %88, %86 %90 = trunc i64 %89 to i32 store i32 %90, ptr %3, align 4 br label %91 91: ; preds = %74 %92 = load i32, ptr %1, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %1, align 4 br label %48, !llvm.loop !9 94: ; preds = %48 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @show_amp(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fix_fftr(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @abs(i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm1m8lv5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Samples: \0A\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"----------------------------------------------\0A\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"- Frequencies -\0A\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"- Scaled -\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_fft_test() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [128 x i16], align 16 %5 = alloca [128 x i16], align 16 %6 = alloca i32, align 4 %7 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 %8 = load i32, ptr %1, align 4 %9 = icmp slt i32 %8, 128 br i1 %9, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %18 %11 = load i32, ptr %1, align 4 %12 = load i32, ptr %1, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [128 x i16], ptr %4, i64 0, i64 %13 %15 = load i16, ptr %14, align 2 %16 = sext i16 %15 to i32 %17 = call i32 @show_amp(i32 noundef %11, i32 noundef %16, i32 noundef 12288) br label %18 18: ; preds = %10 %19 = load i32, ptr %1, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %1, align 4 %21 = load i32, ptr %1, align 4 %22 = icmp slt i32 %21, 128 br i1 %22, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %0 %24 = getelementptr inbounds [128 x i16], ptr %5, i64 0, i64 0 %25 = call i32 @fix_fftr(ptr noundef %24, i32 noundef 7, i32 noundef 0) %26 = call i32 @printf(ptr noundef @.str.1) %27 = call i32 @printf(ptr noundef @.str.2) %28 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 %29 = load i32, ptr %1, align 4 %30 = icmp slt i32 %29, 64 br i1 %30, label %.lr.ph2, label %44 .lr.ph2: ; preds = %23 br label %31 31: ; preds = %.lr.ph2, %39 %32 = load i32, ptr %1, align 4 %33 = load i32, ptr %1, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [128 x i16], ptr %5, i64 0, i64 %34 %36 = load i16, ptr %35, align 2 %37 = sext i16 %36 to i32 %38 = call i32 @show_amp(i32 noundef %32, i32 noundef %37, i32 noundef 12288) br label %39 39: ; preds = %31 %40 = load i32, ptr %1, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %1, align 4 %42 = load i32, ptr %1, align 4 %43 = icmp slt i32 %42, 64 br i1 %43, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %44 44: ; preds = %._crit_edge3, %23 %45 = call i32 @printf(ptr noundef @.str.1) %46 = call i32 @printf(ptr noundef @.str.3) %47 = call i32 @printf(ptr noundef @.str.1) %48 = getelementptr inbounds [128 x i16], ptr %5, i64 0, i64 0 %49 = call i32 @fix_fftr(ptr noundef %48, i32 noundef 7, i32 noundef 1) store i32 %49, ptr %2, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %50 = load i32, ptr %1, align 4 %51 = icmp slt i32 %50, 128 br i1 %51, label %.lr.ph5, label %97 .lr.ph5: ; preds = %44 br label %52 52: ; preds = %.lr.ph5, %92 %53 = load i32, ptr %1, align 4 %54 = and i32 %53, 1 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %66 56: ; preds = %52 %57 = load i32, ptr %1, align 4 %58 = add nsw i32 128, %57 %59 = ashr i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [128 x i16], ptr %5, i64 0, i64 %60 %62 = load i16, ptr %61, align 2 %63 = sext i16 %62 to i32 %64 = load i32, ptr %2, align 4 %65 = shl i32 %63, %64 store i32 %65, ptr %6, align 4 br label %75 66: ; preds = %52 %67 = load i32, ptr %1, align 4 %68 = ashr i32 %67, 1 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [128 x i16], ptr %5, i64 0, i64 %69 %71 = load i16, ptr %70, align 2 %72 = sext i16 %71 to i32 %73 = load i32, ptr %2, align 4 %74 = shl i32 %72, %73 store i32 %74, ptr %6, align 4 br label %75 75: ; preds = %66, %56 %76 = load i32, ptr %1, align 4 %77 = load i32, ptr %6, align 4 %78 = call i32 @show_amp(i32 noundef %76, i32 noundef %77, i32 noundef 12288) %79 = load i32, ptr %1, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [128 x i16], ptr %4, i64 0, i64 %80 %82 = load i16, ptr %81, align 2 %83 = sext i16 %82 to i32 %84 = load i32, ptr %6, align 4 %85 = sub nsw i32 %83, %84 %86 = trunc i32 %85 to i16 %87 = call i64 @abs(i16 noundef signext %86) %88 = load i32, ptr %3, align 4 %89 = zext i32 %88 to i64 %90 = add nsw i64 %89, %87 %91 = trunc i64 %90 to i32 store i32 %91, ptr %3, align 4 br label %92 92: ; preds = %75 %93 = load i32, ptr %1, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %1, align 4 %95 = load i32, ptr %1, align 4 %96 = icmp slt i32 %95, 128 br i1 %96, label %52, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %92 br label %97 97: ; preds = %._crit_edge6, %44 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @show_amp(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fix_fftr(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @abs(i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpcr83mhww.c' source_filename = "/tmp/tmpcr83mhww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"free_time:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @free_time(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = call i32 @printf(ptr noundef @.str) %6 = load ptr, ptr %3, align 8 %7 = call i32 @free(ptr noundef %6) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcr83mhww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"free_time:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @free_time(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = call i32 @printf(ptr noundef @.str) %6 = load ptr, ptr %3, align 8 %7 = call i32 @free(ptr noundef %6) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiybhexkv.c' source_filename = "/tmp/tmpiybhexkv.c" target datalayout = "e-m:e-p270: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.i = internal global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"Please select device:\0A0.KeyBoard\0A1.IR\0A2.TouchScreen\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Wrong device, Please select again!\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %14, %0 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef @main.i) %5 = load i32, ptr @main.i, align 4 switch i32 %5, label %12 [ i32 0, label %6 i32 1, label %8 i32 2, label %10 ] 6: ; preds = %2 %7 = call i32 (...) @test_key() br label %14 8: ; preds = %2 %9 = call i32 (...) @test_ir() br label %14 10: ; preds = %2 %11 = call i32 (...) @test_touch_screen() br label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str.2) br label %14 14: ; preds = %12, %10, %8, %6 br label %2 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @test_key(...) #1 declare i32 @test_ir(...) #1 declare i32 @test_touch_screen(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiybhexkv.c" target datalayout = "e-m:e-p270: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.i = internal global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"Please select device:\0A0.KeyBoard\0A1.IR\0A2.TouchScreen\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Wrong device, Please select again!\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %14, %0 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef @main.i) %5 = load i32, ptr @main.i, align 4 switch i32 %5, label %12 [ i32 0, label %6 i32 1, label %8 i32 2, label %10 ] 6: ; preds = %2 %7 = call i32 (...) @test_key() br label %14 8: ; preds = %2 %9 = call i32 (...) @test_ir() br label %14 10: ; preds = %2 %11 = call i32 (...) @test_touch_screen() br label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str.2) br label %14 14: ; preds = %12, %10, %8, %6 br label %2 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @test_key(...) #1 declare i32 @test_ir(...) #1 declare i32 @test_touch_screen(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppsc5le_f.c' source_filename = "/tmp/tmppsc5le_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vp8_sad8x8x8_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %7, align 4 %13 = load ptr, ptr %8, align 8 %14 = load i32, ptr %9, align 4 %15 = call i64 @vp8_sad8x8_c(ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef 2147483647) %16 = trunc i64 %15 to i16 %17 = load ptr, ptr %10, align 8 %18 = getelementptr inbounds i16, ptr %17, i64 0 store i16 %16, ptr %18, align 2 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %7, align 4 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load i32, ptr %9, align 4 %24 = call i64 @vp8_sad8x8_c(ptr noundef %19, i32 noundef %20, ptr noundef %22, i32 noundef %23, i32 noundef 2147483647) %25 = trunc i64 %24 to i16 %26 = load ptr, ptr %10, align 8 %27 = getelementptr inbounds i16, ptr %26, i64 1 store i16 %25, ptr %27, align 2 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = load ptr, ptr %8, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 2 %32 = load i32, ptr %9, align 4 %33 = call i64 @vp8_sad8x8_c(ptr noundef %28, i32 noundef %29, ptr noundef %31, i32 noundef %32, i32 noundef 2147483647) %34 = trunc i64 %33 to i16 %35 = load ptr, ptr %10, align 8 %36 = getelementptr inbounds i16, ptr %35, i64 2 store i16 %34, ptr %36, align 2 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %7, align 4 %39 = load ptr, ptr %8, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 3 %41 = load i32, ptr %9, align 4 %42 = call i64 @vp8_sad8x8_c(ptr noundef %37, i32 noundef %38, ptr noundef %40, i32 noundef %41, i32 noundef 2147483647) %43 = trunc i64 %42 to i16 %44 = load ptr, ptr %10, align 8 %45 = getelementptr inbounds i16, ptr %44, i64 3 store i16 %43, ptr %45, align 2 %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %7, align 4 %48 = load ptr, ptr %8, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 4 %50 = load i32, ptr %9, align 4 %51 = call i64 @vp8_sad8x8_c(ptr noundef %46, i32 noundef %47, ptr noundef %49, i32 noundef %50, i32 noundef 2147483647) %52 = trunc i64 %51 to i16 %53 = load ptr, ptr %10, align 8 %54 = getelementptr inbounds i16, ptr %53, i64 4 store i16 %52, ptr %54, align 2 %55 = load ptr, ptr %6, align 8 %56 = load i32, ptr %7, align 4 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 5 %59 = load i32, ptr %9, align 4 %60 = call i64 @vp8_sad8x8_c(ptr noundef %55, i32 noundef %56, ptr noundef %58, i32 noundef %59, i32 noundef 2147483647) %61 = trunc i64 %60 to i16 %62 = load ptr, ptr %10, align 8 %63 = getelementptr inbounds i16, ptr %62, i64 5 store i16 %61, ptr %63, align 2 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %7, align 4 %66 = load ptr, ptr %8, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 6 %68 = load i32, ptr %9, align 4 %69 = call i64 @vp8_sad8x8_c(ptr noundef %64, i32 noundef %65, ptr noundef %67, i32 noundef %68, i32 noundef 2147483647) %70 = trunc i64 %69 to i16 %71 = load ptr, ptr %10, align 8 %72 = getelementptr inbounds i16, ptr %71, i64 6 store i16 %70, ptr %72, align 2 %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %7, align 4 %75 = load ptr, ptr %8, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 7 %77 = load i32, ptr %9, align 4 %78 = call i64 @vp8_sad8x8_c(ptr noundef %73, i32 noundef %74, ptr noundef %76, i32 noundef %77, i32 noundef 2147483647) %79 = trunc i64 %78 to i16 %80 = load ptr, ptr %10, align 8 %81 = getelementptr inbounds i16, ptr %80, i64 7 store i16 %79, ptr %81, align 2 ret void } declare i64 @vp8_sad8x8_c(ptr noundef, i32 noundef, 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/tmppsc5le_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vp8_sad8x8x8_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %7, align 4 %13 = load ptr, ptr %8, align 8 %14 = load i32, ptr %9, align 4 %15 = call i64 @vp8_sad8x8_c(ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef 2147483647) %16 = trunc i64 %15 to i16 %17 = load ptr, ptr %10, align 8 %18 = getelementptr inbounds i16, ptr %17, i64 0 store i16 %16, ptr %18, align 2 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %7, align 4 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load i32, ptr %9, align 4 %24 = call i64 @vp8_sad8x8_c(ptr noundef %19, i32 noundef %20, ptr noundef %22, i32 noundef %23, i32 noundef 2147483647) %25 = trunc i64 %24 to i16 %26 = load ptr, ptr %10, align 8 %27 = getelementptr inbounds i16, ptr %26, i64 1 store i16 %25, ptr %27, align 2 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = load ptr, ptr %8, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 2 %32 = load i32, ptr %9, align 4 %33 = call i64 @vp8_sad8x8_c(ptr noundef %28, i32 noundef %29, ptr noundef %31, i32 noundef %32, i32 noundef 2147483647) %34 = trunc i64 %33 to i16 %35 = load ptr, ptr %10, align 8 %36 = getelementptr inbounds i16, ptr %35, i64 2 store i16 %34, ptr %36, align 2 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %7, align 4 %39 = load ptr, ptr %8, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 3 %41 = load i32, ptr %9, align 4 %42 = call i64 @vp8_sad8x8_c(ptr noundef %37, i32 noundef %38, ptr noundef %40, i32 noundef %41, i32 noundef 2147483647) %43 = trunc i64 %42 to i16 %44 = load ptr, ptr %10, align 8 %45 = getelementptr inbounds i16, ptr %44, i64 3 store i16 %43, ptr %45, align 2 %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %7, align 4 %48 = load ptr, ptr %8, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 4 %50 = load i32, ptr %9, align 4 %51 = call i64 @vp8_sad8x8_c(ptr noundef %46, i32 noundef %47, ptr noundef %49, i32 noundef %50, i32 noundef 2147483647) %52 = trunc i64 %51 to i16 %53 = load ptr, ptr %10, align 8 %54 = getelementptr inbounds i16, ptr %53, i64 4 store i16 %52, ptr %54, align 2 %55 = load ptr, ptr %6, align 8 %56 = load i32, ptr %7, align 4 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 5 %59 = load i32, ptr %9, align 4 %60 = call i64 @vp8_sad8x8_c(ptr noundef %55, i32 noundef %56, ptr noundef %58, i32 noundef %59, i32 noundef 2147483647) %61 = trunc i64 %60 to i16 %62 = load ptr, ptr %10, align 8 %63 = getelementptr inbounds i16, ptr %62, i64 5 store i16 %61, ptr %63, align 2 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %7, align 4 %66 = load ptr, ptr %8, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 6 %68 = load i32, ptr %9, align 4 %69 = call i64 @vp8_sad8x8_c(ptr noundef %64, i32 noundef %65, ptr noundef %67, i32 noundef %68, i32 noundef 2147483647) %70 = trunc i64 %69 to i16 %71 = load ptr, ptr %10, align 8 %72 = getelementptr inbounds i16, ptr %71, i64 6 store i16 %70, ptr %72, align 2 %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %7, align 4 %75 = load ptr, ptr %8, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 7 %77 = load i32, ptr %9, align 4 %78 = call i64 @vp8_sad8x8_c(ptr noundef %73, i32 noundef %74, ptr noundef %76, i32 noundef %77, i32 noundef 2147483647) %79 = trunc i64 %78 to i16 %80 = load ptr, ptr %10, align 8 %81 = getelementptr inbounds i16, ptr %80, i64 7 store i16 %79, ptr %81, align 2 ret void } declare i64 @vp8_sad8x8_c(ptr noundef, i32 noundef, 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/tmp384e_ldd.c' source_filename = "/tmp/tmp384e_ldd.c" target datalayout = "e-m:e-p270: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/tmp384e_ldd.c" target datalayout = "e-m:e-p270: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/tmpjwq5z9jt.c' source_filename = "/tmp/tmpjwq5z9jt.c" target datalayout = "e-m:e-p270: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/tmpjwq5z9jt.c" target datalayout = "e-m:e-p270: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/tmpexqpneqa.c' source_filename = "/tmp/tmpexqpneqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [397 x i8] c"Controls:\0A\0A date -echo string, expanding date (strftime compatible)\0A echo -echo string.\0A _echo -echo string without training new line.\0A store -store variable to file.\0A restore -restore variable from file.\0A\0ABuilt in variables:\0A\0A DEBUG for debug\0A DECIMAL controlling number display\0A 0 = normal, 1 = DEC 2 = HEX, 3 = BIN, 4 = OCT\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cbhelp() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpexqpneqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [397 x i8] c"Controls:\0A\0A date -echo string, expanding date (strftime compatible)\0A echo -echo string.\0A _echo -echo string without training new line.\0A store -store variable to file.\0A restore -restore variable from file.\0A\0ABuilt in variables:\0A\0A DEBUG for debug\0A DECIMAL controlling number display\0A 0 = normal, 1 = DEC 2 = HEX, 3 = BIN, 4 = OCT\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cbhelp() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5u0knsmr.c' source_filename = "/tmp/tmp5u0knsmr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xsalsa20poly1305_secretbox(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %13 = load i64, ptr %9, align 8 %14 = icmp ult i64 %13, 32 br i1 %14, label %15, label %16 15: ; preds = %5 store i32 -1, ptr %6, align 4 br label %43 16: ; preds = %5 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %8, align 8 %19 = load i64, ptr %9, align 8 %20 = load ptr, ptr %10, align 8 %21 = load ptr, ptr %11, align 8 %22 = call i32 @xsalsa20_stream_xor(ptr noundef %17, ptr noundef %18, i64 noundef %19, ptr noundef %20, ptr noundef %21) %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 16 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 32 %27 = load i64, ptr %9, align 8 %28 = sub i64 %27, 32 %29 = load ptr, ptr %7, align 8 %30 = call i32 @poly1305_auth(ptr noundef %24, ptr noundef %26, i64 noundef %28, ptr noundef %29) store i32 0, ptr %12, align 4 br label %31 31: ; preds = %39, %16 %32 = load i32, ptr %12, align 4 %33 = icmp slt i32 %32, 16 br i1 %33, label %34, label %42 34: ; preds = %31 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %12, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 0, ptr %38, align 1 br label %39 39: ; preds = %34 %40 = load i32, ptr %12, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %12, align 4 br label %31, !llvm.loop !6 42: ; preds = %31 store i32 0, ptr %6, align 4 br label %43 43: ; preds = %42, %15 %44 = load i32, ptr %6, align 4 ret i32 %44 } declare i32 @xsalsa20_stream_xor(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @poly1305_auth(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5u0knsmr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xsalsa20poly1305_secretbox(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %13 = load i64, ptr %9, align 8 %14 = icmp ult i64 %13, 32 br i1 %14, label %15, label %16 15: ; preds = %5 store i32 -1, ptr %6, align 4 br label %44 16: ; preds = %5 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %8, align 8 %19 = load i64, ptr %9, align 8 %20 = load ptr, ptr %10, align 8 %21 = load ptr, ptr %11, align 8 %22 = call i32 @xsalsa20_stream_xor(ptr noundef %17, ptr noundef %18, i64 noundef %19, ptr noundef %20, ptr noundef %21) %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 16 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 32 %27 = load i64, ptr %9, align 8 %28 = sub i64 %27, 32 %29 = load ptr, ptr %7, align 8 %30 = call i32 @poly1305_auth(ptr noundef %24, ptr noundef %26, i64 noundef %28, ptr noundef %29) store i32 0, ptr %12, align 4 %31 = load i32, ptr %12, align 4 %32 = icmp slt i32 %31, 16 br i1 %32, label %.lr.ph, label %43 .lr.ph: ; preds = %16 br label %33 33: ; preds = %.lr.ph, %38 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %12, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 0, ptr %37, align 1 br label %38 38: ; preds = %33 %39 = load i32, ptr %12, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %12, align 4 %41 = load i32, ptr %12, align 4 %42 = icmp slt i32 %41, 16 br i1 %42, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %43 43: ; preds = %._crit_edge, %16 store i32 0, ptr %6, align 4 br label %44 44: ; preds = %43, %15 %45 = load i32, ptr %6, align 4 ret i32 %45 } declare i32 @xsalsa20_stream_xor(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @poly1305_auth(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9_8357oq.c' source_filename = "/tmp/tmp9_8357oq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ap_str_makestr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %6, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %10, align 8 %12 = call i32 @free(ptr noundef %11) br label %13 13: ; preds = %9, %2 %14 = load ptr, ptr %4, align 8 store ptr null, ptr %14, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %13 store i32 0, ptr %3, align 4 br label %32 18: ; preds = %13 %19 = load ptr, ptr %5, align 8 %20 = call i64 @strlen(ptr noundef %19) %21 = add nsw i64 %20, 1 %22 = call i64 @malloc(i64 noundef %21) %23 = inttoptr i64 %22 to ptr %24 = load ptr, ptr %4, align 8 store ptr %23, ptr %24, align 8 %25 = icmp eq ptr null, %23 br i1 %25, label %26, label %27 26: ; preds = %18 store i32 0, ptr %3, align 4 br label %32 27: ; preds = %18 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) store i32 1, ptr %3, align 4 br label %32 32: ; preds = %27, %26, %17 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @free(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9_8357oq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ap_str_makestr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %6, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %10, align 8 %12 = call i32 @free(ptr noundef %11) br label %13 13: ; preds = %9, %2 %14 = load ptr, ptr %4, align 8 store ptr null, ptr %14, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %13 store i32 0, ptr %3, align 4 br label %32 18: ; preds = %13 %19 = load ptr, ptr %5, align 8 %20 = call i64 @strlen(ptr noundef %19) %21 = add nsw i64 %20, 1 %22 = call i64 @malloc(i64 noundef %21) %23 = inttoptr i64 %22 to ptr %24 = load ptr, ptr %4, align 8 store ptr %23, ptr %24, align 8 %25 = icmp eq ptr null, %23 br i1 %25, label %26, label %27 26: ; preds = %18 store i32 0, ptr %3, align 4 br label %32 27: ; preds = %18 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) store i32 1, ptr %3, align 4 br label %32 32: ; preds = %27, %26, %17 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @free(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv9i1epeu.c' source_filename = "/tmp/tmpv9i1epeu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hibbard(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 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %13, %14 %16 = add nsw i32 %15, 1 store i32 %16, ptr %11, align 4 %17 = load i32, ptr %11, align 4 %18 = add nsw i32 %17, 1 %19 = call i32 @log(i32 noundef %18) %20 = call i32 @log(i32 noundef 2) %21 = sdiv i32 %19, %20 store i32 %21, ptr %12, align 4 %22 = load i32, ptr %12, align 4 %23 = call i32 @power(i32 noundef 2, i32 noundef %22) %24 = sub nsw i32 %23, 1 store i32 %24, ptr %7, align 4 br label %25 25: ; preds = %83, %3 %26 = load i32, ptr %12, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %88 28: ; preds = %25 %29 = load i32, ptr %7, align 4 store i32 %29, ptr %8, align 4 br label %30 30: ; preds = %79, %28 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %11, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %82 34: ; preds = %30 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 store i32 %39, ptr %10, align 4 %40 = load i32, ptr %8, align 4 store i32 %40, ptr %9, align 4 br label %41 41: ; preds = %69, %34 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %7, align 4 %44 = icmp sge i32 %42, %43 br i1 %44, label %45, label %55 45: ; preds = %41 %46 = load i32, ptr %10, align 4 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %7, align 4 %50 = sub nsw i32 %48, %49 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %47, i64 %51 %53 = load i32, ptr %52, align 4 %54 = icmp slt i32 %46, %53 br label %55 55: ; preds = %45, %41 %56 = phi i1 [ false, %41 ], [ %54, %45 ] br i1 %56, label %57, label %73 57: ; preds = %55 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %7, align 4 %61 = sub nsw i32 %59, %60 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %58, i64 %62 %64 = load i32, ptr %63, align 4 %65 = load ptr, ptr %4, align 8 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 store i32 %64, ptr %68, align 4 br label %69 69: ; preds = %57 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %9, align 4 %72 = sub nsw i32 %71, %70 store i32 %72, ptr %9, align 4 br label %41, !llvm.loop !6 73: ; preds = %55 %74 = load i32, ptr %10, align 4 %75 = load ptr, ptr %4, align 8 %76 = load i32, ptr %9, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %75, i64 %77 store i32 %74, ptr %78, align 4 br label %79 79: ; preds = %73 %80 = load i32, ptr %8, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %8, align 4 br label %30, !llvm.loop !8 82: ; preds = %30 br label %83 83: ; preds = %82 %84 = load i32, ptr %12, align 4 %85 = add nsw i32 %84, -1 store i32 %85, ptr %12, align 4 %86 = call i32 @power(i32 noundef 2, i32 noundef %85) %87 = sub nsw i32 %86, 1 store i32 %87, ptr %7, align 4 br label %25, !llvm.loop !9 88: ; preds = %25 ret void } declare i32 @log(i32 noundef) #1 declare i32 @power(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv9i1epeu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hibbard(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 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %13, %14 %16 = add nsw i32 %15, 1 store i32 %16, ptr %11, align 4 %17 = load i32, ptr %11, align 4 %18 = add nsw i32 %17, 1 %19 = call i32 @log(i32 noundef %18) %20 = call i32 @log(i32 noundef 2) %21 = sdiv i32 %19, %20 store i32 %21, ptr %12, align 4 %22 = load i32, ptr %12, align 4 %23 = call i32 @power(i32 noundef 2, i32 noundef %22) %24 = sub nsw i32 %23, 1 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %12, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %.lr.ph2, label %91 .lr.ph2: ; preds = %3 br label %27 27: ; preds = %.lr.ph2, %84 %28 = load i32, ptr %7, align 4 store i32 %28, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %11, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %83 .lr.ph: ; preds = %27 br label %32 32: ; preds = %.lr.ph, %77 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 store i32 %37, ptr %10, align 4 %38 = load i32, ptr %8, align 4 store i32 %38, ptr %9, align 4 br label %39 39: ; preds = %67, %32 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp sge i32 %40, %41 br i1 %42, label %43, label %53 43: ; preds = %39 %44 = load i32, ptr %10, align 4 %45 = load ptr, ptr %4, align 8 %46 = load i32, ptr %9, align 4 %47 = load i32, ptr %7, align 4 %48 = sub nsw i32 %46, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %45, i64 %49 %51 = load i32, ptr %50, align 4 %52 = icmp slt i32 %44, %51 br label %53 53: ; preds = %43, %39 %54 = phi i1 [ false, %39 ], [ %52, %43 ] br i1 %54, label %55, label %71 55: ; preds = %53 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %9, align 4 %58 = load i32, ptr %7, align 4 %59 = sub nsw i32 %57, %58 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %56, i64 %60 %62 = load i32, ptr %61, align 4 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %9, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 store i32 %62, ptr %66, align 4 br label %67 67: ; preds = %55 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %9, align 4 %70 = sub nsw i32 %69, %68 store i32 %70, ptr %9, align 4 br label %39, !llvm.loop !6 71: ; preds = %53 %72 = load i32, ptr %10, align 4 %73 = load ptr, ptr %4, align 8 %74 = load i32, ptr %9, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 store i32 %72, ptr %76, align 4 br label %77 77: ; preds = %71 %78 = load i32, ptr %8, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %8, align 4 %80 = load i32, ptr %8, align 4 %81 = load i32, ptr %11, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %32, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %77 br label %83 83: ; preds = %._crit_edge, %27 br label %84 84: ; preds = %83 %85 = load i32, ptr %12, align 4 %86 = add nsw i32 %85, -1 store i32 %86, ptr %12, align 4 %87 = call i32 @power(i32 noundef 2, i32 noundef %86) %88 = sub nsw i32 %87, 1 store i32 %88, ptr %7, align 4 %89 = load i32, ptr %12, align 4 %90 = icmp sgt i32 %89, 0 br i1 %90, label %27, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %84 br label %91 91: ; preds = %._crit_edge3, %3 ret void } declare i32 @log(i32 noundef) #1 declare i32 @power(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp4lar1bet.c' source_filename = "/tmp/tmp4lar1bet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_computeFragmentIons(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %17 = call ptr (...) @initAminoAcidMass() store ptr %17, ptr %16, align 8 store double 0x403100B39192641B, ptr %12, align 8 store double 0x3FF0200D1B71758E, ptr %13, align 8 store double 5.490000e-04, ptr %14, align 8 store double 0x3FF0200D1B71758E, ptr %15, align 8 %18 = load double, ptr %13, align 8 %19 = load double, ptr %14, align 8 %20 = fsub double %18, %19 store double %20, ptr %10, align 8 %21 = load double, ptr %12, align 8 %22 = load double, ptr %13, align 8 %23 = fadd double %21, %22 %24 = load double, ptr %15, align 8 %25 = fadd double %23, %24 %26 = load double, ptr %14, align 8 %27 = fsub double %25, %26 store double %27, ptr %11, align 8 store i32 0, ptr %9, align 4 br label %28 28: ; preds = %41, %4 %29 = load i32, ptr %9, align 4 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %30, align 4 %32 = icmp slt i32 %29, %31 br i1 %32, label %33, label %44 33: ; preds = %28 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds double, ptr %34, i64 %36 %38 = load double, ptr %37, align 8 %39 = load double, ptr %11, align 8 %40 = fadd double %39, %38 store double %40, ptr %11, align 8 br label %41 41: ; preds = %33 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %9, align 4 br label %28, !llvm.loop !6 44: ; preds = %28 store i32 0, ptr %9, align 4 br label %45 45: ; preds = %79, %44 %46 = load i32, ptr %9, align 4 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %47, align 4 %49 = icmp slt i32 %46, %48 br i1 %49, label %50, label %82 50: ; preds = %45 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = load double, ptr %54, align 8 %56 = load double, ptr %10, align 8 %57 = fadd double %56, %55 store double %57, ptr %10, align 8 %58 = load double, ptr %10, align 8 %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %59, i64 %61 store double %58, ptr %62, align 8 %63 = load double, ptr %11, align 8 %64 = load ptr, ptr %8, align 8 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr %9, align 4 %68 = sub nsw i32 %66, %67 %69 = sub nsw i32 %68, 1 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %64, i64 %70 store double %63, ptr %71, align 8 %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr %9, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %72, i64 %74 %76 = load double, ptr %75, align 8 %77 = load double, ptr %11, align 8 %78 = fsub double %77, %76 store double %78, ptr %11, align 8 br label %79 79: ; preds = %50 %80 = load i32, ptr %9, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %9, align 4 br label %45, !llvm.loop !8 82: ; preds = %45 %83 = load ptr, ptr %16, align 8 %84 = call i32 @free(ptr noundef %83) ret void } declare ptr @initAminoAcidMass(...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4lar1bet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_computeFragmentIons(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %17 = call ptr (...) @initAminoAcidMass() store ptr %17, ptr %16, align 8 store double 0x403100B39192641B, ptr %12, align 8 store double 0x3FF0200D1B71758E, ptr %13, align 8 store double 5.490000e-04, ptr %14, align 8 store double 0x3FF0200D1B71758E, ptr %15, align 8 %18 = load double, ptr %13, align 8 %19 = load double, ptr %14, align 8 %20 = fsub double %18, %19 store double %20, ptr %10, align 8 %21 = load double, ptr %12, align 8 %22 = load double, ptr %13, align 8 %23 = fadd double %21, %22 %24 = load double, ptr %15, align 8 %25 = fadd double %23, %24 %26 = load double, ptr %14, align 8 %27 = fsub double %25, %26 store double %27, ptr %11, align 8 store i32 0, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %29, align 4 %31 = icmp slt i32 %28, %30 br i1 %31, label %.lr.ph, label %47 .lr.ph: ; preds = %4 br label %32 32: ; preds = %.lr.ph, %40 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %9, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %33, i64 %35 %37 = load double, ptr %36, align 8 %38 = load double, ptr %11, align 8 %39 = fadd double %38, %37 store double %39, ptr %11, align 8 br label %40 40: ; preds = %32 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 %43 = load i32, ptr %9, align 4 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %44, align 4 %46 = icmp slt i32 %43, %45 br i1 %46, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %47 47: ; preds = %._crit_edge, %4 store i32 0, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %49, align 4 %51 = icmp slt i32 %48, %50 br i1 %51, label %.lr.ph2, label %88 .lr.ph2: ; preds = %47 br label %52 52: ; preds = %.lr.ph2, %81 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %9, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 %57 = load double, ptr %56, align 8 %58 = load double, ptr %10, align 8 %59 = fadd double %58, %57 store double %59, ptr %10, align 8 %60 = load double, ptr %10, align 8 %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %9, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %61, i64 %63 store double %60, ptr %64, align 8 %65 = load double, ptr %11, align 8 %66 = load ptr, ptr %8, align 8 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %67, align 4 %69 = load i32, ptr %9, align 4 %70 = sub nsw i32 %68, %69 %71 = sub nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %66, i64 %72 store double %65, ptr %73, align 8 %74 = load ptr, ptr %6, align 8 %75 = load i32, ptr %9, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %74, i64 %76 %78 = load double, ptr %77, align 8 %79 = load double, ptr %11, align 8 %80 = fsub double %79, %78 store double %80, ptr %11, align 8 br label %81 81: ; preds = %52 %82 = load i32, ptr %9, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %9, align 4 %84 = load i32, ptr %9, align 4 %85 = load ptr, ptr %5, align 8 %86 = load i32, ptr %85, align 4 %87 = icmp slt i32 %84, %86 br i1 %87, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %81 br label %88 88: ; preds = %._crit_edge3, %47 %89 = load ptr, ptr %16, align 8 %90 = call i32 @free(ptr noundef %89) ret void } declare ptr @initAminoAcidMass(...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmppveaxyhi.c' source_filename = "/tmp/tmppveaxyhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @candtry2(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef %13, ptr noundef %14, ptr noundef %15) #0 { %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 store ptr %0, ptr %17, align 8 store ptr %1, ptr %18, align 8 store i32 %2, ptr %19, align 4 store ptr %3, ptr %20, align 8 store i32 %4, ptr %21, align 4 store ptr %5, ptr %22, align 8 store i32 %6, ptr %23, align 4 store i32 %7, ptr %24, align 4 store i32 %8, ptr %25, align 4 store i32 %9, ptr %26, align 4 store i32 %10, ptr %27, align 4 store ptr %11, ptr %28, align 8 store i32 %12, ptr %29, align 4 store i32 %13, ptr %30, align 4 store ptr %14, ptr %31, align 8 store ptr %15, ptr %32, align 8 %38 = load i32, ptr %19, align 4 %39 = load ptr, ptr %22, align 8 %40 = load i32, ptr %23, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %23, align 4 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds i32, ptr %39, i64 %42 store i32 %38, ptr %43, align 4 %44 = load ptr, ptr %28, align 8 %45 = load i32, ptr %44, align 4 store i32 %45, ptr %34, align 4 br label %46 46: ; preds = %70, %16 %47 = load i32, ptr %34, align 4 %48 = load i32, ptr %29, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %73 50: ; preds = %46 %51 = load i32, ptr %19, align 4 %52 = load ptr, ptr %17, align 8 %53 = load i32, ptr %34, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = icmp eq i32 %51, %56 br i1 %57, label %58, label %69 58: ; preds = %50 %59 = load ptr, ptr %17, align 8 %60 = load i32, ptr %29, align 4 %61 = add nsw i32 %60, -1 store i32 %61, ptr %29, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %59, i64 %62 %64 = load i32, ptr %63, align 4 %65 = load ptr, ptr %17, align 8 %66 = load i32, ptr %34, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 store i32 %64, ptr %68, align 4 br label %73 69: ; preds = %50 br label %70 70: ; preds = %69 %71 = load i32, ptr %34, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %34, align 4 br label %46, !llvm.loop !6 73: ; preds = %58, %46 %74 = load i32, ptr %30, align 4 store i32 %74, ptr %35, align 4 %75 = load i32, ptr %24, align 4 store i32 %75, ptr %33, align 4 br label %76 76: ; preds = %106, %73 %77 = load i32, ptr %33, align 4 %78 = load i32, ptr %25, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %109 80: ; preds = %76 %81 = load ptr, ptr %18, align 8 %82 = load ptr, ptr %17, align 8 %83 = load i32, ptr %33, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %82, i64 %84 %86 = load i32, ptr %85, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [700 x i32], ptr %81, i64 %87 %89 = load i32, ptr %19, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [700 x i32], ptr %88, i64 0, i64 %90 %92 = load i32, ptr %91, align 4 %93 = icmp ne i32 %92, 0 br i1 %93, label %94, label %105 94: ; preds = %80 %95 = load ptr, ptr %17, align 8 %96 = load i32, ptr %33, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 %99 = load i32, ptr %98, align 4 %100 = load ptr, ptr %17, align 8 %101 = load i32, ptr %30, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %30, align 4 %103 = sext i32 %101 to i64 %104 = getelementptr inbounds i32, ptr %100, i64 %103 store i32 %99, ptr %104, align 4 br label %105 105: ; preds = %94, %80 br label %106 106: ; preds = %105 %107 = load i32, ptr %33, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %33, align 4 br label %76, !llvm.loop !8 109: ; preds = %76 %110 = load i32, ptr %30, align 4 store i32 %110, ptr %36, align 4 %111 = load i32, ptr %25, align 4 store i32 %111, ptr %33, align 4 br label %112 112: ; preds = %142, %109 %113 = load i32, ptr %33, align 4 %114 = load i32, ptr %26, align 4 %115 = icmp slt i32 %113, %114 br i1 %115, label %116, label %145 116: ; preds = %112 %117 = load ptr, ptr %18, align 8 %118 = load ptr, ptr %17, align 8 %119 = load i32, ptr %33, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %118, i64 %120 %122 = load i32, ptr %121, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds [700 x i32], ptr %117, i64 %123 %125 = load i32, ptr %19, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [700 x i32], ptr %124, i64 0, i64 %126 %128 = load i32, ptr %127, align 4 %129 = icmp ne i32 %128, 0 br i1 %129, label %130, label %141 130: ; preds = %116 %131 = load ptr, ptr %17, align 8 %132 = load i32, ptr %33, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i32, ptr %131, i64 %133 %135 = load i32, ptr %134, align 4 %136 = load ptr, ptr %17, align 8 %137 = load i32, ptr %30, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %30, align 4 %139 = sext i32 %137 to i64 %140 = getelementptr inbounds i32, ptr %136, i64 %139 store i32 %135, ptr %140, align 4 br label %141 141: ; preds = %130, %116 br label %142 142: ; preds = %141 %143 = load i32, ptr %33, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %33, align 4 br label %112, !llvm.loop !9 145: ; preds = %112 %146 = load i32, ptr %30, align 4 store i32 %146, ptr %37, align 4 %147 = load ptr, ptr %17, align 8 %148 = load ptr, ptr %18, align 8 %149 = load ptr, ptr %20, align 8 %150 = load i32, ptr %21, align 4 %151 = load ptr, ptr %22, align 8 %152 = load i32, ptr %23, align 4 %153 = load i32, ptr %35, align 4 %154 = load i32, ptr %36, align 4 %155 = load i32, ptr %37, align 4 %156 = load i32, ptr %27, align 4 %157 = load ptr, ptr %28, align 8 %158 = load i32, ptr %157, align 4 %159 = load i32, ptr %29, align 4 %160 = load i32, ptr %30, align 4 %161 = load ptr, ptr %31, align 8 %162 = load ptr, ptr %32, align 8 %163 = call i32 @extend(ptr noundef %147, ptr noundef %148, ptr noundef %149, i32 noundef %150, ptr noundef %151, i32 noundef %152, i32 noundef %153, i32 noundef %154, i32 noundef %155, i32 noundef %156, i32 noundef %158, i32 noundef %159, i32 noundef %160, ptr noundef %161, ptr noundef %162) %164 = load i32, ptr %23, align 4 %165 = add nsw i32 %164, -1 store i32 %165, ptr %23, align 4 %166 = load ptr, ptr %17, align 8 %167 = load ptr, ptr %28, align 8 %168 = load i32, ptr %167, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i32, ptr %166, i64 %169 %171 = load i32, ptr %170, align 4 %172 = load ptr, ptr %17, align 8 %173 = load i32, ptr %29, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %29, align 4 %175 = sext i32 %173 to i64 %176 = getelementptr inbounds i32, ptr %172, i64 %175 store i32 %171, ptr %176, align 4 %177 = load i32, ptr %19, align 4 %178 = load ptr, ptr %17, align 8 %179 = load ptr, ptr %28, align 8 %180 = load i32, ptr %179, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i32, ptr %178, i64 %181 store i32 %177, ptr %182, align 4 %183 = load ptr, ptr %28, align 8 %184 = load i32, ptr %183, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %183, align 4 ret void } declare i32 @extend(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppveaxyhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @candtry2(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef %13, ptr noundef %14, ptr noundef %15) #0 { %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 store ptr %0, ptr %17, align 8 store ptr %1, ptr %18, align 8 store i32 %2, ptr %19, align 4 store ptr %3, ptr %20, align 8 store i32 %4, ptr %21, align 4 store ptr %5, ptr %22, align 8 store i32 %6, ptr %23, align 4 store i32 %7, ptr %24, align 4 store i32 %8, ptr %25, align 4 store i32 %9, ptr %26, align 4 store i32 %10, ptr %27, align 4 store ptr %11, ptr %28, align 8 store i32 %12, ptr %29, align 4 store i32 %13, ptr %30, align 4 store ptr %14, ptr %31, align 8 store ptr %15, ptr %32, align 8 %38 = load i32, ptr %19, align 4 %39 = load ptr, ptr %22, align 8 %40 = load i32, ptr %23, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %23, align 4 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds i32, ptr %39, i64 %42 store i32 %38, ptr %43, align 4 %44 = load ptr, ptr %28, align 8 %45 = load i32, ptr %44, align 4 store i32 %45, ptr %34, align 4 %46 = load i32, ptr %34, align 4 %47 = load i32, ptr %29, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %16 br label %49 49: ; preds = %.lr.ph, %69 %50 = load i32, ptr %19, align 4 %51 = load ptr, ptr %17, align 8 %52 = load i32, ptr %34, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = icmp eq i32 %50, %55 br i1 %56, label %57, label %68 57: ; preds = %49 %58 = load ptr, ptr %17, align 8 %59 = load i32, ptr %29, align 4 %60 = add nsw i32 %59, -1 store i32 %60, ptr %29, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %58, i64 %61 %63 = load i32, ptr %62, align 4 %64 = load ptr, ptr %17, align 8 %65 = load i32, ptr %34, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 store i32 %63, ptr %67, align 4 br label %75 68: ; preds = %49 br label %69 69: ; preds = %68 %70 = load i32, ptr %34, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %34, align 4 %72 = load i32, ptr %34, align 4 %73 = load i32, ptr %29, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %49, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %69 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %16 br label %75 75: ; preds = %.loopexit, %57 %76 = load i32, ptr %30, align 4 store i32 %76, ptr %35, align 4 %77 = load i32, ptr %24, align 4 store i32 %77, ptr %33, align 4 %78 = load i32, ptr %33, align 4 %79 = load i32, ptr %25, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %.lr.ph1, label %113 .lr.ph1: ; preds = %75 br label %81 81: ; preds = %.lr.ph1, %107 %82 = load ptr, ptr %18, align 8 %83 = load ptr, ptr %17, align 8 %84 = load i32, ptr %33, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = load i32, ptr %86, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [700 x i32], ptr %82, i64 %88 %90 = load i32, ptr %19, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [700 x i32], ptr %89, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %106 95: ; preds = %81 %96 = load ptr, ptr %17, align 8 %97 = load i32, ptr %33, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %96, i64 %98 %100 = load i32, ptr %99, align 4 %101 = load ptr, ptr %17, align 8 %102 = load i32, ptr %30, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %30, align 4 %104 = sext i32 %102 to i64 %105 = getelementptr inbounds i32, ptr %101, i64 %104 store i32 %100, ptr %105, align 4 br label %106 106: ; preds = %95, %81 br label %107 107: ; preds = %106 %108 = load i32, ptr %33, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %33, align 4 %110 = load i32, ptr %33, align 4 %111 = load i32, ptr %25, align 4 %112 = icmp slt i32 %110, %111 br i1 %112, label %81, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %107 br label %113 113: ; preds = %._crit_edge, %75 %114 = load i32, ptr %30, align 4 store i32 %114, ptr %36, align 4 %115 = load i32, ptr %25, align 4 store i32 %115, ptr %33, align 4 %116 = load i32, ptr %33, align 4 %117 = load i32, ptr %26, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %.lr.ph3, label %151 .lr.ph3: ; preds = %113 br label %119 119: ; preds = %.lr.ph3, %145 %120 = load ptr, ptr %18, align 8 %121 = load ptr, ptr %17, align 8 %122 = load i32, ptr %33, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %121, i64 %123 %125 = load i32, ptr %124, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [700 x i32], ptr %120, i64 %126 %128 = load i32, ptr %19, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [700 x i32], ptr %127, i64 0, i64 %129 %131 = load i32, ptr %130, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %144 133: ; preds = %119 %134 = load ptr, ptr %17, align 8 %135 = load i32, ptr %33, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i32, ptr %134, i64 %136 %138 = load i32, ptr %137, align 4 %139 = load ptr, ptr %17, align 8 %140 = load i32, ptr %30, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %30, align 4 %142 = sext i32 %140 to i64 %143 = getelementptr inbounds i32, ptr %139, i64 %142 store i32 %138, ptr %143, align 4 br label %144 144: ; preds = %133, %119 br label %145 145: ; preds = %144 %146 = load i32, ptr %33, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %33, align 4 %148 = load i32, ptr %33, align 4 %149 = load i32, ptr %26, align 4 %150 = icmp slt i32 %148, %149 br i1 %150, label %119, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %145 br label %151 151: ; preds = %._crit_edge4, %113 %152 = load i32, ptr %30, align 4 store i32 %152, ptr %37, align 4 %153 = load ptr, ptr %17, align 8 %154 = load ptr, ptr %18, align 8 %155 = load ptr, ptr %20, align 8 %156 = load i32, ptr %21, align 4 %157 = load ptr, ptr %22, align 8 %158 = load i32, ptr %23, align 4 %159 = load i32, ptr %35, align 4 %160 = load i32, ptr %36, align 4 %161 = load i32, ptr %37, align 4 %162 = load i32, ptr %27, align 4 %163 = load ptr, ptr %28, align 8 %164 = load i32, ptr %163, align 4 %165 = load i32, ptr %29, align 4 %166 = load i32, ptr %30, align 4 %167 = load ptr, ptr %31, align 8 %168 = load ptr, ptr %32, align 8 %169 = call i32 @extend(ptr noundef %153, ptr noundef %154, ptr noundef %155, i32 noundef %156, ptr noundef %157, i32 noundef %158, i32 noundef %159, i32 noundef %160, i32 noundef %161, i32 noundef %162, i32 noundef %164, i32 noundef %165, i32 noundef %166, ptr noundef %167, ptr noundef %168) %170 = load i32, ptr %23, align 4 %171 = add nsw i32 %170, -1 store i32 %171, ptr %23, align 4 %172 = load ptr, ptr %17, align 8 %173 = load ptr, ptr %28, align 8 %174 = load i32, ptr %173, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds i32, ptr %172, i64 %175 %177 = load i32, ptr %176, align 4 %178 = load ptr, ptr %17, align 8 %179 = load i32, ptr %29, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %29, align 4 %181 = sext i32 %179 to i64 %182 = getelementptr inbounds i32, ptr %178, i64 %181 store i32 %177, ptr %182, align 4 %183 = load i32, ptr %19, align 4 %184 = load ptr, ptr %17, align 8 %185 = load ptr, ptr %28, align 8 %186 = load i32, ptr %185, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i32, ptr %184, i64 %187 store i32 %183, ptr %188, align 4 %189 = load ptr, ptr %28, align 8 %190 = load i32, ptr %189, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %189, align 4 ret void } declare i32 @extend(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp_l2dyywm.c' source_filename = "/tmp/tmp_l2dyywm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xml_dump_tree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @xml_tree_size(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 1 %9 = call i64 @xml_malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 %14 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef %13) %15 = load ptr, ptr %2, align 8 %16 = load ptr, ptr %4, align 8 %17 = call i32 @_xml_dump_tree(ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %4, align 8 ret ptr %18 } declare i32 @xml_tree_size(ptr noundef) #1 declare i64 @xml_malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @_xml_dump_tree(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/tmp_l2dyywm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xml_dump_tree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @xml_tree_size(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 1 %9 = call i64 @xml_malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 %14 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef %13) %15 = load ptr, ptr %2, align 8 %16 = load ptr, ptr %4, align 8 %17 = call i32 @_xml_dump_tree(ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %4, align 8 ret ptr %18 } declare i32 @xml_tree_size(ptr noundef) #1 declare i64 @xml_malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @_xml_dump_tree(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/tmp9snktq8a.c' source_filename = "/tmp/tmp9snktq8a.c" target datalayout = "e-m:e-p270: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/tmp9snktq8a.c" target datalayout = "e-m:e-p270: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/tmp0mzmch26.c' source_filename = "/tmp/tmp0mzmch26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for V\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0x56() #0 { %1 = call i64 @ispunct(i32 noundef 86) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 435, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ispunct(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/tmp0mzmch26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for V\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0x56() #0 { %1 = call i64 @ispunct(i32 noundef 86) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 435, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ispunct(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/tmpnyyqfrbz.c' source_filename = "/tmp/tmpnyyqfrbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"/sys/dev/block/%d:%d/queue/rotational\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @crypt_sysfs_get_rotational(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca [64 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %14 = load i32, ptr @PATH_MAX, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %8, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %9, align 8 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 64, i1 false) %18 = trunc i64 %15 to i32 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %6, align 4 %21 = call i64 @snprintf(ptr noundef %17, i32 noundef %18, ptr noundef @.str, i32 noundef %19, i32 noundef %20) %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %3 store i32 0, ptr %4, align 4 store i32 1, ptr %13, align 4 br label %45 24: ; preds = %3 %25 = load i32, ptr @O_RDONLY, align 4 %26 = call i32 @open(ptr noundef %17, i32 noundef %25) store i32 %26, ptr %11, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %24 store i32 0, ptr %4, align 4 store i32 1, ptr %13, align 4 br label %45 29: ; preds = %24 %30 = load i32, ptr %11, align 4 %31 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 64) store i32 %32, ptr %12, align 4 %33 = load i32, ptr %11, align 4 %34 = call i32 @close(i32 noundef %33) %35 = load i32, ptr %12, align 4 %36 = icmp sle i32 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %29 store i32 0, ptr %4, align 4 store i32 1, ptr %13, align 4 br label %45 38: ; preds = %29 %39 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %40 = load ptr, ptr %7, align 8 %41 = call i32 @sscanf(ptr noundef %39, ptr noundef @.str.1, ptr noundef %40) %42 = icmp ne i32 %41, 1 br i1 %42, label %43, label %44 43: ; preds = %38 store i32 0, ptr %4, align 4 store i32 1, ptr %13, align 4 br label %45 44: ; preds = %38 store i32 1, ptr %4, align 4 store i32 1, ptr %13, align 4 br label %45 45: ; preds = %44, %43, %37, %28, %23 %46 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %46) %47 = load i32, ptr %4, align 4 ret i32 %47 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @open(ptr noundef, i32 noundef) #3 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #3 declare i32 @close(i32 noundef) #3 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnyyqfrbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"/sys/dev/block/%d:%d/queue/rotational\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @crypt_sysfs_get_rotational(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca [64 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %14 = load i32, ptr @PATH_MAX, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %8, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %9, align 8 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 64, i1 false) %18 = trunc i64 %15 to i32 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %6, align 4 %21 = call i64 @snprintf(ptr noundef %17, i32 noundef %18, ptr noundef @.str, i32 noundef %19, i32 noundef %20) %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %3 store i32 0, ptr %4, align 4 store i32 1, ptr %13, align 4 br label %45 24: ; preds = %3 %25 = load i32, ptr @O_RDONLY, align 4 %26 = call i32 @open(ptr noundef %17, i32 noundef %25) store i32 %26, ptr %11, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %24 store i32 0, ptr %4, align 4 store i32 1, ptr %13, align 4 br label %45 29: ; preds = %24 %30 = load i32, ptr %11, align 4 %31 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 64) store i32 %32, ptr %12, align 4 %33 = load i32, ptr %11, align 4 %34 = call i32 @close(i32 noundef %33) %35 = load i32, ptr %12, align 4 %36 = icmp sle i32 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %29 store i32 0, ptr %4, align 4 store i32 1, ptr %13, align 4 br label %45 38: ; preds = %29 %39 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %40 = load ptr, ptr %7, align 8 %41 = call i32 @sscanf(ptr noundef %39, ptr noundef @.str.1, ptr noundef %40) %42 = icmp ne i32 %41, 1 br i1 %42, label %43, label %44 43: ; preds = %38 store i32 0, ptr %4, align 4 store i32 1, ptr %13, align 4 br label %45 44: ; preds = %38 store i32 1, ptr %4, align 4 store i32 1, ptr %13, align 4 br label %45 45: ; preds = %44, %43, %37, %28, %23 %46 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %46) %47 = load i32, ptr %4, align 4 ret i32 %47 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @open(ptr noundef, i32 noundef) #3 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #3 declare i32 @close(i32 noundef) #3 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8txrm896.c' source_filename = "/tmp/tmp8txrm896.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AllocXi(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds ptr, ptr %13, i32 -1 store ptr %14, ptr %6, align 8 store i32 1, ptr %5, align 4 br label %15 15: ; preds = %27, %2 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %30 19: ; preds = %15 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = call ptr @dmatrix(i32 noundef 1, i32 noundef %20, i32 noundef 1, i32 noundef %21) %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 store ptr %22, ptr %26, align 8 br label %27 27: ; preds = %19 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %15, !llvm.loop !6 30: ; preds = %15 %31 = load ptr, ptr %6, align 8 ret ptr %31 } declare i64 @malloc(i32 noundef) #1 declare ptr @dmatrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8txrm896.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AllocXi(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds ptr, ptr %13, i32 -1 store ptr %14, ptr %6, align 8 store i32 1, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %26 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = call ptr @dmatrix(i32 noundef 1, i32 noundef %19, i32 noundef 1, i32 noundef %20) %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 store ptr %21, ptr %25, align 8 br label %26 26: ; preds = %18 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %2 %33 = load ptr, ptr %6, align 8 ret ptr %33 } declare i64 @malloc(i32 noundef) #1 declare ptr @dmatrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1rwy52p6.c' source_filename = "/tmp/tmp1rwy52p6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(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 = icmp slt i32 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %2 %8 = load ptr, ptr %3, align 8 %9 = call i32 @perror(ptr noundef %8) %10 = call i32 @exit(i32 noundef 0) #3 unreachable 11: ; preds = %2 ret void } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1rwy52p6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(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 = icmp slt i32 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %2 %8 = load ptr, ptr %3, align 8 %9 = call i32 @perror(ptr noundef %8) %10 = call i32 @exit(i32 noundef 0) #3 unreachable 11: ; preds = %2 ret void } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp3feg_9h.c' source_filename = "/tmp/tmpp3feg_9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thrd_exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = load ptr, ptr %3, align 8 store i32 %8, ptr %9, align 4 br label %10 10: ; preds = %7, %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @pthread_exit(ptr noundef %11) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp3feg_9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thrd_exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = load ptr, ptr %3, align 8 store i32 %8, ptr %9, align 4 br label %10 10: ; preds = %7, %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @pthread_exit(ptr noundef %11) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpphm46ydy.c' source_filename = "/tmp/tmpphm46ydy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0A Inside func1 \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func1() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %3 3: ; preds = %7, %0 %4 = load i32, ptr %1, align 4 %5 = icmp ult i32 %4, -1 br i1 %5, label %6, label %10 6: ; preds = %3 br label %7 7: ; preds = %6 %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %1, align 4 br label %3, !llvm.loop !6 10: ; preds = %3 %11 = call i32 (...) @new_func1() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @new_func1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpphm46ydy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0A Inside func1 \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func1() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp ult i32 %3, -1 br i1 %4, label %.lr.ph, label %11 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %6 br label %6 6: ; preds = %5 %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp ult i32 %9, -1 br i1 %10, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %11 11: ; preds = %._crit_edge, %0 %12 = call i32 (...) @new_func1() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @new_func1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpn20zr2k2.c' source_filename = "/tmp/tmpn20zr2k2.c" target datalayout = "e-m:e-p270: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/tmpn20zr2k2.c" target datalayout = "e-m:e-p270: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/tmp92oihuvq.c' source_filename = "/tmp/tmp92oihuvq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @keyzen_process_list_keys(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @pidstr(i32 noundef %5) %7 = load ptr, ptr %4, align 8 %8 = call i32 @internal_export_list_keys(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @internal_export_list_keys(i32 noundef, ptr noundef) #1 declare i32 @pidstr(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/tmp92oihuvq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @keyzen_process_list_keys(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @pidstr(i32 noundef %5) %7 = load ptr, ptr %4, align 8 %8 = call i32 @internal_export_list_keys(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @internal_export_list_keys(i32 noundef, ptr noundef) #1 declare i32 @pidstr(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/tmpyzhrr7br.c' source_filename = "/tmp/tmpyzhrr7br.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @raise(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @getpid() %4 = load i32, ptr %2, align 4 %5 = call i32 @kill(i32 noundef %3, i32 noundef %4) ret i32 %5 } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyzhrr7br.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @raise(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @getpid() %4 = load i32, ptr %2, align 4 %5 = call i32 @kill(i32 noundef %3, i32 noundef %4) ret i32 %5 } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpshd2lro_.c' source_filename = "/tmp/tmpshd2lro_.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [19 x i8] c"Can't create udev\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"udev\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"input\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Device Node Path: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"\0Aselect() says there should be data\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Got Device\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c" Node: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c" Subsystem: %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c" Action: %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [52 x i8] c"No Device from receive_device(). An error occured.\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c".\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca %struct.timeval, align 8 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call ptr (...) @udev_new() store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %0 %20 = load ptr, ptr %2, align 8 %21 = call ptr @udev_monitor_new_from_netlink(ptr noundef %20, ptr noundef @.str.1) store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 @udev_monitor_filter_add_match_subsystem_devtype(ptr noundef %22, ptr noundef @.str.2, ptr noundef null) %24 = load ptr, ptr %7, align 8 %25 = call i32 @udev_monitor_enable_receiving(ptr noundef %24) %26 = load ptr, ptr %7, align 8 %27 = call i32 @udev_monitor_get_fd(ptr noundef %26) store i32 %27, ptr %8, align 4 %28 = load ptr, ptr %2, align 8 %29 = call ptr @udev_enumerate_new(ptr noundef %28) store ptr %29, ptr %3, align 8 %30 = load ptr, ptr %3, align 8 %31 = call i32 @udev_enumerate_add_match_subsystem(ptr noundef %30, ptr noundef @.str.2) %32 = load ptr, ptr %3, align 8 %33 = call i32 @udev_enumerate_scan_devices(ptr noundef %32) %34 = load ptr, ptr %3, align 8 %35 = call ptr @udev_enumerate_get_list_entry(ptr noundef %34) store ptr %35, ptr %4, align 8 %36 = load ptr, ptr %4, align 8 store ptr %36, ptr %5, align 8 br label %37 37: ; preds = %51, %19 %38 = load ptr, ptr %5, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %40, label %54 40: ; preds = %37 %41 = load ptr, ptr %5, align 8 %42 = call ptr @udev_list_entry_get_name(ptr noundef %41) store ptr %42, ptr %9, align 8 %43 = load ptr, ptr %2, align 8 %44 = load ptr, ptr %9, align 8 %45 = call ptr @udev_device_new_from_syspath(ptr noundef %43, ptr noundef %44) store ptr %45, ptr %6, align 8 %46 = load ptr, ptr %6, align 8 %47 = call ptr @udev_device_get_devnode(ptr noundef %46) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %47) %49 = load ptr, ptr %6, align 8 %50 = call i32 @udev_device_unref(ptr noundef %49) br label %51 51: ; preds = %40 %52 = load ptr, ptr %5, align 8 %53 = call ptr @udev_list_entry_get_next(ptr noundef %52) store ptr %53, ptr %5, align 8 br label %37, !llvm.loop !6 54: ; preds = %37 %55 = load ptr, ptr %3, align 8 %56 = call i32 @udev_enumerate_unref(ptr noundef %55) br label %57 57: ; preds = %54, %94 %58 = call i32 @FD_ZERO(ptr noundef %10) %59 = load i32, ptr %8, align 4 %60 = call i32 @FD_SET(i32 noundef %59, ptr noundef %10) %61 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 store i64 0, ptr %61, align 8 %62 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 store i64 0, ptr %62, align 8 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %63, 1 %65 = call i32 @select(i32 noundef %64, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %11) store i32 %65, ptr %12, align 4 %66 = load i32, ptr %12, align 4 %67 = icmp sgt i32 %66, 0 br i1 %67, label %68, label %94 68: ; preds = %57 %69 = load i32, ptr %8, align 4 %70 = call i64 @FD_ISSET(i32 noundef %69, ptr noundef %10) %71 = icmp ne i64 %70, 0 br i1 %71, label %72, label %94 72: ; preds = %68 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %74 = load ptr, ptr %7, align 8 %75 = call ptr @udev_monitor_receive_device(ptr noundef %74) store ptr %75, ptr %6, align 8 %76 = load ptr, ptr %6, align 8 %77 = icmp ne ptr %76, null br i1 %77, label %78, label %91 78: ; preds = %72 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %80 = load ptr, ptr %6, align 8 %81 = call ptr @udev_device_get_devnode(ptr noundef %80) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %81) %83 = load ptr, ptr %6, align 8 %84 = call ptr @udev_device_get_subsystem(ptr noundef %83) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %84) %86 = load ptr, ptr %6, align 8 %87 = call ptr @udev_device_get_action(ptr noundef %86) %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %87) %89 = load ptr, ptr %6, align 8 %90 = call i32 @udev_device_unref(ptr noundef %89) br label %93 91: ; preds = %72 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %93 93: ; preds = %91, %78 br label %94 94: ; preds = %93, %68, %57 %95 = call i32 @usleep(i32 noundef 250000) %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %97 = load i32, ptr @stdout, align 4 %98 = call i32 @fflush(i32 noundef %97) br label %57 } declare ptr @udev_new(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @udev_monitor_new_from_netlink(ptr noundef, ptr noundef) #1 declare i32 @udev_monitor_filter_add_match_subsystem_devtype(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @udev_monitor_enable_receiving(ptr noundef) #1 declare i32 @udev_monitor_get_fd(ptr noundef) #1 declare ptr @udev_enumerate_new(ptr noundef) #1 declare i32 @udev_enumerate_add_match_subsystem(ptr noundef, ptr noundef) #1 declare i32 @udev_enumerate_scan_devices(ptr noundef) #1 declare ptr @udev_enumerate_get_list_entry(ptr noundef) #1 declare ptr @udev_list_entry_get_name(ptr noundef) #1 declare ptr @udev_device_new_from_syspath(ptr noundef, ptr noundef) #1 declare ptr @udev_device_get_devnode(ptr noundef) #1 declare i32 @udev_device_unref(ptr noundef) #1 declare ptr @udev_list_entry_get_next(ptr noundef) #1 declare i32 @udev_enumerate_unref(ptr noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare ptr @udev_monitor_receive_device(ptr noundef) #1 declare ptr @udev_device_get_subsystem(ptr noundef) #1 declare ptr @udev_device_get_action(ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpshd2lro_.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [19 x i8] c"Can't create udev\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"udev\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"input\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Device Node Path: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"\0Aselect() says there should be data\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Got Device\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c" Node: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c" Subsystem: %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c" Action: %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [52 x i8] c"No Device from receive_device(). An error occured.\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c".\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca %struct.timeval, align 8 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call ptr (...) @udev_new() store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %0 %20 = load ptr, ptr %2, align 8 %21 = call ptr @udev_monitor_new_from_netlink(ptr noundef %20, ptr noundef @.str.1) store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 @udev_monitor_filter_add_match_subsystem_devtype(ptr noundef %22, ptr noundef @.str.2, ptr noundef null) %24 = load ptr, ptr %7, align 8 %25 = call i32 @udev_monitor_enable_receiving(ptr noundef %24) %26 = load ptr, ptr %7, align 8 %27 = call i32 @udev_monitor_get_fd(ptr noundef %26) store i32 %27, ptr %8, align 4 %28 = load ptr, ptr %2, align 8 %29 = call ptr @udev_enumerate_new(ptr noundef %28) store ptr %29, ptr %3, align 8 %30 = load ptr, ptr %3, align 8 %31 = call i32 @udev_enumerate_add_match_subsystem(ptr noundef %30, ptr noundef @.str.2) %32 = load ptr, ptr %3, align 8 %33 = call i32 @udev_enumerate_scan_devices(ptr noundef %32) %34 = load ptr, ptr %3, align 8 %35 = call ptr @udev_enumerate_get_list_entry(ptr noundef %34) store ptr %35, ptr %4, align 8 %36 = load ptr, ptr %4, align 8 store ptr %36, ptr %5, align 8 %37 = load ptr, ptr %5, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %.lr.ph, label %55 .lr.ph: ; preds = %19 br label %39 39: ; preds = %.lr.ph, %50 %40 = load ptr, ptr %5, align 8 %41 = call ptr @udev_list_entry_get_name(ptr noundef %40) store ptr %41, ptr %9, align 8 %42 = load ptr, ptr %2, align 8 %43 = load ptr, ptr %9, align 8 %44 = call ptr @udev_device_new_from_syspath(ptr noundef %42, ptr noundef %43) store ptr %44, ptr %6, align 8 %45 = load ptr, ptr %6, align 8 %46 = call ptr @udev_device_get_devnode(ptr noundef %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %46) %48 = load ptr, ptr %6, align 8 %49 = call i32 @udev_device_unref(ptr noundef %48) br label %50 50: ; preds = %39 %51 = load ptr, ptr %5, align 8 %52 = call ptr @udev_list_entry_get_next(ptr noundef %51) store ptr %52, ptr %5, align 8 %53 = load ptr, ptr %5, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %55 55: ; preds = %._crit_edge, %19 %56 = load ptr, ptr %3, align 8 %57 = call i32 @udev_enumerate_unref(ptr noundef %56) br label %58 58: ; preds = %95, %55 %59 = call i32 @FD_ZERO(ptr noundef %10) %60 = load i32, ptr %8, align 4 %61 = call i32 @FD_SET(i32 noundef %60, ptr noundef %10) %62 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 store i64 0, ptr %62, align 8 %63 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 store i64 0, ptr %63, align 8 %64 = load i32, ptr %8, align 4 %65 = add nsw i32 %64, 1 %66 = call i32 @select(i32 noundef %65, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %11) store i32 %66, ptr %12, align 4 %67 = load i32, ptr %12, align 4 %68 = icmp sgt i32 %67, 0 br i1 %68, label %69, label %95 69: ; preds = %58 %70 = load i32, ptr %8, align 4 %71 = call i64 @FD_ISSET(i32 noundef %70, ptr noundef %10) %72 = icmp ne i64 %71, 0 br i1 %72, label %73, label %95 73: ; preds = %69 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %75 = load ptr, ptr %7, align 8 %76 = call ptr @udev_monitor_receive_device(ptr noundef %75) store ptr %76, ptr %6, align 8 %77 = load ptr, ptr %6, align 8 %78 = icmp ne ptr %77, null br i1 %78, label %79, label %92 79: ; preds = %73 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %81 = load ptr, ptr %6, align 8 %82 = call ptr @udev_device_get_devnode(ptr noundef %81) %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %82) %84 = load ptr, ptr %6, align 8 %85 = call ptr @udev_device_get_subsystem(ptr noundef %84) %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %85) %87 = load ptr, ptr %6, align 8 %88 = call ptr @udev_device_get_action(ptr noundef %87) %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %88) %90 = load ptr, ptr %6, align 8 %91 = call i32 @udev_device_unref(ptr noundef %90) br label %94 92: ; preds = %73 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %94 94: ; preds = %92, %79 br label %95 95: ; preds = %94, %69, %58 %96 = call i32 @usleep(i32 noundef 250000) %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %98 = load i32, ptr @stdout, align 4 %99 = call i32 @fflush(i32 noundef %98) br label %58 } declare ptr @udev_new(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @udev_monitor_new_from_netlink(ptr noundef, ptr noundef) #1 declare i32 @udev_monitor_filter_add_match_subsystem_devtype(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @udev_monitor_enable_receiving(ptr noundef) #1 declare i32 @udev_monitor_get_fd(ptr noundef) #1 declare ptr @udev_enumerate_new(ptr noundef) #1 declare i32 @udev_enumerate_add_match_subsystem(ptr noundef, ptr noundef) #1 declare i32 @udev_enumerate_scan_devices(ptr noundef) #1 declare ptr @udev_enumerate_get_list_entry(ptr noundef) #1 declare ptr @udev_list_entry_get_name(ptr noundef) #1 declare ptr @udev_device_new_from_syspath(ptr noundef, ptr noundef) #1 declare ptr @udev_device_get_devnode(ptr noundef) #1 declare i32 @udev_device_unref(ptr noundef) #1 declare ptr @udev_list_entry_get_next(ptr noundef) #1 declare i32 @udev_enumerate_unref(ptr noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare ptr @udev_monitor_receive_device(ptr noundef) #1 declare ptr @udev_device_get_subsystem(ptr noundef) #1 declare ptr @udev_device_get_action(ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcytta4lr.c' source_filename = "/tmp/tmpcytta4lr.c" target datalayout = "e-m:e-p270: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/tmpcytta4lr.c" target datalayout = "e-m:e-p270: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/tmphqrk09nw.c' source_filename = "/tmp/tmphqrk09nw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnpbrknul(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 [256 x i8], align 16 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %9, align 8 %11 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 256) br label %13 13: ; preds = %18, %3 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %5, align 8 %16 = load i8, ptr %14, align 1 store i8 %16, ptr %8, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %13 %19 = load i8, ptr %8, align 1 %20 = sext i8 %19 to i64 %21 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %20 store i8 1, ptr %21, align 1 br label %13, !llvm.loop !6 22: ; preds = %13 br label %23 23: ; preds = %42, %22 %24 = load i64, ptr %6, align 8 %25 = add i64 %24, -1 store i64 %25, ptr %6, align 8 %26 = icmp ne i64 %24, 0 br i1 %26, label %27, label %33 27: ; preds = %23 %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %9, align 8 %30 = load i8, ptr %28, align 1 store i8 %30, ptr %8, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 0 br label %33 33: ; preds = %27, %23 %34 = phi i1 [ false, %23 ], [ %32, %27 ] br i1 %34, label %35, label %43 35: ; preds = %33 %36 = load i8, ptr %8, align 1 %37 = sext i8 %36 to i64 %38 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = icmp ne i8 %39, 0 br i1 %40, label %42, label %41 41: ; preds = %35 br label %43 42: ; preds = %35 br label %23, !llvm.loop !8 43: ; preds = %41, %33 %44 = load ptr, ptr %9, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 -1 ret ptr %45 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphqrk09nw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnpbrknul(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 [256 x i8], align 16 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %9, align 8 %11 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 256) %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %5, align 8 %15 = load i8, ptr %13, align 1 store i8 %15, ptr %8, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %.lr.ph, label %25 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %17 %18 = load i8, ptr %8, align 1 %19 = sext i8 %18 to i64 %20 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %19 store i8 1, ptr %20, align 1 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %5, align 8 %23 = load i8, ptr %21, align 1 store i8 %23, ptr %8, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %25 25: ; preds = %._crit_edge, %3 br label %26 26: ; preds = %38, %25 %27 = load i64, ptr %6, align 8 %28 = add i64 %27, -1 store i64 %28, ptr %6, align 8 %29 = icmp ne i64 %27, 0 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %9, align 8 %33 = load i8, ptr %31, align 1 store i8 %33, ptr %8, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 0 br label %36 36: ; preds = %30, %26 %37 = phi i1 [ false, %26 ], [ %35, %30 ] br i1 %37, label %38, label %.loopexit 38: ; preds = %36 %39 = load i8, ptr %8, align 1 %40 = sext i8 %39 to i64 %41 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = icmp ne i8 %42, 0 br i1 %43, label %26, label %44, !llvm.loop !8 44: ; preds = %38 br label %45 .loopexit: ; preds = %36 br label %45 45: ; preds = %.loopexit, %44 %46 = load ptr, ptr %9, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 -1 ret ptr %47 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpp0ya08fc.c' source_filename = "/tmp/tmpp0ya08fc.c" target datalayout = "e-m:e-p270: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/tmpp0ya08fc.c" target datalayout = "e-m:e-p270: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/tmp0mzt05k7.c' source_filename = "/tmp/tmp0mzt05k7.c" target datalayout = "e-m:e-p270: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/tmp0mzt05k7.c" target datalayout = "e-m:e-p270: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/tmp0d_n94bj.c' source_filename = "/tmp/tmp0d_n94bj.c" target datalayout = "e-m:e-p270: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/tmp0d_n94bj.c" target datalayout = "e-m:e-p270: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/tmpvhqupxh8.c' source_filename = "/tmp/tmpvhqupxh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @times(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvhqupxh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @times(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz63f_whj.c' source_filename = "/tmp/tmpz63f_whj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EndsWith(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %10, %2 store i32 0, ptr %3, align 4 br label %35 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = call i64 @strlen(ptr noundef %15) store i64 %16, ptr %6, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i64 @strlen(ptr noundef %17) store i64 %18, ptr %7, align 8 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %6, align 8 %21 = icmp ugt i64 %19, %20 br i1 %21, label %22, label %23 22: ; preds = %14 store i32 0, ptr %3, align 4 br label %35 23: ; preds = %14 %24 = load ptr, ptr %4, align 8 %25 = load i64, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 %27 = load i64, ptr %7, align 8 %28 = sub i64 0, %27 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load ptr, ptr %5, align 8 %31 = load i64, ptr %7, align 8 %32 = call i64 @strncmp(ptr noundef %29, ptr noundef %30, i64 noundef %31) %33 = icmp eq i64 %32, 0 %34 = zext i1 %33 to i32 store i32 %34, ptr %3, align 4 br label %35 35: ; preds = %23, %22, %13 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(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/tmpz63f_whj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EndsWith(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %10, %2 store i32 0, ptr %3, align 4 br label %35 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = call i64 @strlen(ptr noundef %15) store i64 %16, ptr %6, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i64 @strlen(ptr noundef %17) store i64 %18, ptr %7, align 8 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %6, align 8 %21 = icmp ugt i64 %19, %20 br i1 %21, label %22, label %23 22: ; preds = %14 store i32 0, ptr %3, align 4 br label %35 23: ; preds = %14 %24 = load ptr, ptr %4, align 8 %25 = load i64, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 %27 = load i64, ptr %7, align 8 %28 = sub i64 0, %27 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load ptr, ptr %5, align 8 %31 = load i64, ptr %7, align 8 %32 = call i64 @strncmp(ptr noundef %29, ptr noundef %30, i64 noundef %31) %33 = icmp eq i64 %32, 0 %34 = zext i1 %33 to i32 store i32 %34, ptr %3, align 4 br label %35 35: ; preds = %23, %22, %13 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(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/tmpxl04rse2.c' source_filename = "/tmp/tmpxl04rse2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NGROUPS_MAX = 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/tmpxl04rse2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NGROUPS_MAX = 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/tmpu8wm9yd1.c' source_filename = "/tmp/tmpu8wm9yd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getopt_long_only(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @_getopt_internal(i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 1) ret i32 %16 } declare i32 @_getopt_internal(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu8wm9yd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getopt_long_only(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @_getopt_internal(i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 1) ret i32 %16 } declare i32 @_getopt_internal(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpimgryk7i.c' source_filename = "/tmp/tmpimgryk7i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mp_snprint(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = call i32 @mp_snprint_recursion(ptr noundef %7, i32 noundef %8, ptr noundef %6, i32 noundef 32) ret i32 %9 } declare i32 @mp_snprint_recursion(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpimgryk7i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mp_snprint(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = call i32 @mp_snprint_recursion(ptr noundef %7, i32 noundef %8, ptr noundef %6, i32 noundef 32) ret i32 %9 } declare i32 @mp_snprint_recursion(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp21m7qupt.c' source_filename = "/tmp/tmp21m7qupt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @__VERIFIER_nondet_int() store i32 %3, ptr %2, align 4 br label %4 4: ; preds = %26, %0 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %27 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, -5 br i1 %9, label %10, label %26 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 5 br i1 %12, label %13, label %26 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 br label %19 19: ; preds = %16, %13 %20 = load i32, ptr %2, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %2, align 4 %24 = sub nsw i32 %23, 1 store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %22, %19 br label %26 26: ; preds = %25, %10, %7 br label %4, !llvm.loop !6 27: ; preds = %4 ret i32 0 } declare i32 @__VERIFIER_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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp21m7qupt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @__VERIFIER_nondet_int() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %25 %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, -5 br i1 %8, label %9, label %25 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 5 br i1 %11, label %12, label %25 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %12 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %2, align 4 br label %18 18: ; preds = %15, %12 %19 = load i32, ptr %2, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = load i32, ptr %2, align 4 %23 = sub nsw i32 %22, 1 store i32 %23, ptr %2, align 4 br label %24 24: ; preds = %21, %18 br label %25 25: ; preds = %24, %9, %6 %26 = load i32, ptr %2, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %28 28: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @__VERIFIER_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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8wylmc5r.c' source_filename = "/tmp/tmp8wylmc5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort_index_ascending(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @quicksort_index_recursive(ptr noundef %7, ptr noundef %8, i32 noundef 0, i32 noundef %9, i32 noundef 1) ret void } declare i32 @quicksort_index_recursive(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8wylmc5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort_index_ascending(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @quicksort_index_recursive(ptr noundef %7, ptr noundef %8, i32 noundef 0, i32 noundef %9, i32 noundef 1) ret void } declare i32 @quicksort_index_recursive(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw04gxyw2.c' source_filename = "/tmp/tmpw04gxyw2.c" target datalayout = "e-m:e-p270: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.seq = private unnamed_addr constant [16 x i32] [i32 3, i32 4, i32 8, i32 0, i32 11, i32 9, i32 7, i32 2, i32 5, i32 6, i32 10, i32 1, i32 49, i32 49, i32 49, i32 49], align 16 @.str = private unnamed_addr constant [17 x i8] c"lam: %d, mu: %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 ptr, align 8 %5 = alloca [16 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.seq, i64 64, i1 false) %8 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 0 %9 = call i32 @cycle_brent(ptr noundef %8, i32 noundef 0, ptr noundef %6, ptr noundef %7) %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @cycle_brent(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw04gxyw2.c" target datalayout = "e-m:e-p270: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.seq = private unnamed_addr constant [16 x i32] [i32 3, i32 4, i32 8, i32 0, i32 11, i32 9, i32 7, i32 2, i32 5, i32 6, i32 10, i32 1, i32 49, i32 49, i32 49, i32 49], align 16 @.str = private unnamed_addr constant [17 x i8] c"lam: %d, mu: %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 ptr, align 8 %5 = alloca [16 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.seq, i64 64, i1 false) %8 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 0 %9 = call i32 @cycle_brent(ptr noundef %8, i32 noundef 0, ptr noundef %6, ptr noundef %7) %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @cycle_brent(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprvy5fz69.c' source_filename = "/tmp/tmprvy5fz69.c" target datalayout = "e-m:e-p270: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/tmprvy5fz69.c" target datalayout = "e-m:e-p270: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/tmpr2q5h3t9.c' source_filename = "/tmp/tmpr2q5h3t9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIZE_MAX = dso_local global i64 0, align 8 @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @reallocarray(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %8 = load i64, ptr %6, align 8 %9 = icmp uge i64 %8, 4294967296 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i64, ptr %7, align 8 %12 = icmp uge i64 %11, 4294967296 br i1 %12, label %13, label %24 13: ; preds = %10, %3 %14 = load i64, ptr %6, align 8 %15 = icmp ugt i64 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %13 %17 = load i64, ptr @SIZE_MAX, align 8 %18 = load i64, ptr %6, align 8 %19 = udiv i64 %17, %18 %20 = load i64, ptr %7, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = load i32, ptr @ENOMEM, align 4 store i32 %23, ptr @errno, align 4 store ptr null, ptr %4, align 8 br label %30 24: ; preds = %16, %13, %10 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %7, align 8 %27 = load i64, ptr %6, align 8 %28 = mul i64 %26, %27 %29 = call ptr @realloc(ptr noundef %25, i64 noundef %28) #2 store ptr %29, ptr %4, align 8 br label %30 30: ; preds = %24, %22 %31 = load ptr, ptr %4, align 8 ret ptr %31 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr2q5h3t9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIZE_MAX = dso_local global i64 0, align 8 @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @reallocarray(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %8 = load i64, ptr %6, align 8 %9 = icmp uge i64 %8, 4294967296 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i64, ptr %7, align 8 %12 = icmp uge i64 %11, 4294967296 br i1 %12, label %13, label %24 13: ; preds = %10, %3 %14 = load i64, ptr %6, align 8 %15 = icmp ugt i64 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %13 %17 = load i64, ptr @SIZE_MAX, align 8 %18 = load i64, ptr %6, align 8 %19 = udiv i64 %17, %18 %20 = load i64, ptr %7, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = load i32, ptr @ENOMEM, align 4 store i32 %23, ptr @errno, align 4 store ptr null, ptr %4, align 8 br label %30 24: ; preds = %16, %13, %10 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %7, align 8 %27 = load i64, ptr %6, align 8 %28 = mul i64 %26, %27 %29 = call ptr @realloc(ptr noundef %25, i64 noundef %28) #2 store ptr %29, ptr %4, align 8 br label %30 30: ; preds = %24, %22 %31 = load ptr, ptr %4, align 8 ret ptr %31 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd_pxixb3.c' source_filename = "/tmp/tmpd_pxixb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd_pxixb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprlegnvbq.c' source_filename = "/tmp/tmprlegnvbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_warning(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @log_write(ptr noundef %6, ptr noundef %7, i32 noundef 0, i32 noundef 1) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @log_write(ptr noundef, 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/tmprlegnvbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_warning(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @log_write(ptr noundef %6, ptr noundef %7, i32 noundef 0, i32 noundef 1) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @log_write(ptr noundef, 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/tmpg10tntwy.c' source_filename = "/tmp/tmpg10tntwy.c" target datalayout = "e-m:e-p270: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/tmpg10tntwy.c" target datalayout = "e-m:e-p270: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/tmp7m8j9b_8.c' source_filename = "/tmp/tmp7m8j9b_8.c" target datalayout = "e-m:e-p270: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/tmp7m8j9b_8.c" target datalayout = "e-m:e-p270: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/tmpgw_o7e5q.c' source_filename = "/tmp/tmpgw_o7e5q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"M401_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M401_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgw_o7e5q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"M401_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M401_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphgl5mzl_.c' source_filename = "/tmp/tmphgl5mzl_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Please enter 3 numbers separated by spaces > \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"%d is the median\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %31 11: ; preds = %0 %12 = load i32, ptr %2, align 4 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr %2, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) br label %30 19: ; preds = %11 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp sgt i32 %20, %21 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load i32, ptr %3, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24) br label %29 26: ; preds = %19 %27 = load i32, ptr %4, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27) br label %29 29: ; preds = %26, %23 br label %30 30: ; preds = %29, %16 br label %51 31: ; preds = %0 %32 = load i32, ptr %3, align 4 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp sgt i32 %33, %34 br i1 %35, label %36, label %39 36: ; preds = %31 %37 = load i32, ptr %3, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37) br label %50 39: ; preds = %31 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp sgt i32 %40, %41 br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load i32, ptr %4, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %44) br label %49 46: ; preds = %39 %47 = load i32, ptr %2, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %47) br label %49 49: ; preds = %46, %43 br label %50 50: ; preds = %49, %36 br label %51 51: ; preds = %50, %30 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphgl5mzl_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Please enter 3 numbers separated by spaces > \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"%d is the median\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %31 11: ; preds = %0 %12 = load i32, ptr %2, align 4 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr %2, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) br label %30 19: ; preds = %11 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp sgt i32 %20, %21 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load i32, ptr %3, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24) br label %29 26: ; preds = %19 %27 = load i32, ptr %4, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27) br label %29 29: ; preds = %26, %23 br label %30 30: ; preds = %29, %16 br label %51 31: ; preds = %0 %32 = load i32, ptr %3, align 4 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp sgt i32 %33, %34 br i1 %35, label %36, label %39 36: ; preds = %31 %37 = load i32, ptr %3, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37) br label %50 39: ; preds = %31 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp sgt i32 %40, %41 br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load i32, ptr %4, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %44) br label %49 46: ; preds = %39 %47 = load i32, ptr %2, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %47) br label %49 49: ; preds = %46, %43 br label %50 50: ; preds = %49, %36 br label %51 51: ; preds = %50, %30 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpks_qrayu.c' source_filename = "/tmp/tmpks_qrayu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESConfigSet(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store volatile i64 %0, ptr %3, align 8 store volatile i64 %1, ptr %4, align 8 %5 = load volatile i64, ptr %3, align 8 %6 = add i64 %5, 32 %7 = inttoptr i64 %6 to ptr %8 = load volatile i64, ptr %7, align 8 %9 = and i64 %8, 2147483648 %10 = load volatile i64, ptr %4, align 8 %11 = or i64 %10, %9 store volatile i64 %11, ptr %4, align 8 %12 = load volatile i64, ptr %4, align 8 %13 = load volatile i64, ptr %3, align 8 %14 = add i64 %13, 32 %15 = inttoptr i64 %14 to ptr store volatile i64 %12, ptr %15, 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/tmpks_qrayu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESConfigSet(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store volatile i64 %0, ptr %3, align 8 store volatile i64 %1, ptr %4, align 8 %5 = load volatile i64, ptr %3, align 8 %6 = add i64 %5, 32 %7 = inttoptr i64 %6 to ptr %8 = load volatile i64, ptr %7, align 8 %9 = and i64 %8, 2147483648 %10 = load volatile i64, ptr %4, align 8 %11 = or i64 %10, %9 store volatile i64 %11, ptr %4, align 8 %12 = load volatile i64, ptr %4, align 8 %13 = load volatile i64, ptr %3, align 8 %14 = add i64 %13, 32 %15 = inttoptr i64 %14 to ptr store volatile i64 %12, ptr %15, 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/tmp_pmcnlec.c' source_filename = "/tmp/tmp_pmcnlec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_putnbr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = call i32 @ft_putchar(i64 noundef 45) %10 = load i64, ptr %3, align 8 %11 = sub nsw i64 0, %10 store i64 %11, ptr %3, align 8 br label %12 12: ; preds = %8, %1 %13 = load i64, ptr %3, align 8 %14 = icmp sgt i64 %13, 9 br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load i64, ptr %3, align 8 %17 = sdiv i64 %16, 10 %18 = trunc i64 %17 to i32 call void @ft_putnbr(i32 noundef %18) %19 = load i64, ptr %3, align 8 %20 = srem i64 %19, 10 %21 = trunc i64 %20 to i32 call void @ft_putnbr(i32 noundef %21) br label %26 22: ; preds = %12 %23 = load i64, ptr %3, align 8 %24 = add nsw i64 %23, 48 %25 = call i32 @ft_putchar(i64 noundef %24) br label %26 26: ; preds = %22, %15 ret void } declare i32 @ft_putchar(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/tmp_pmcnlec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_putnbr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = call i32 @ft_putchar(i64 noundef 45) %10 = load i64, ptr %3, align 8 %11 = sub nsw i64 0, %10 store i64 %11, ptr %3, align 8 br label %12 12: ; preds = %8, %1 %13 = load i64, ptr %3, align 8 %14 = icmp sgt i64 %13, 9 br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load i64, ptr %3, align 8 %17 = sdiv i64 %16, 10 %18 = trunc i64 %17 to i32 call void @ft_putnbr(i32 noundef %18) %19 = load i64, ptr %3, align 8 %20 = srem i64 %19, 10 %21 = trunc i64 %20 to i32 call void @ft_putnbr(i32 noundef %21) br label %26 22: ; preds = %12 %23 = load i64, ptr %3, align 8 %24 = add nsw i64 %23, 48 %25 = call i32 @ft_putchar(i64 noundef %24) br label %26 26: ; preds = %22, %15 ret void } declare i32 @ft_putchar(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/tmp_q55e4xs.c' source_filename = "/tmp/tmp_q55e4xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64 } @.str = private unnamed_addr constant [18 x i8] c"file status error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @filesize(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.stat, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fstat(i32 noundef %4, ptr noundef %3) %6 = call i32 @drop(i32 noundef %5, ptr noundef @.str) %7 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %8 = load i64, ptr %7, align 8 ret i64 %8 } declare i32 @drop(i32 noundef, ptr noundef) #1 declare i32 @fstat(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/tmp_q55e4xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64 } @.str = private unnamed_addr constant [18 x i8] c"file status error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @filesize(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.stat, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fstat(i32 noundef %4, ptr noundef %3) %6 = call i32 @drop(i32 noundef %5, ptr noundef @.str) %7 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %8 = load i64, ptr %7, align 8 ret i64 %8 } declare i32 @drop(i32 noundef, ptr noundef) #1 declare i32 @fstat(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/tmpl5o5peoe.c' source_filename = "/tmp/tmpl5o5peoe.c" target datalayout = "e-m:e-p270: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/tmpl5o5peoe.c" target datalayout = "e-m:e-p270: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/tmpj8ukymhd.c' source_filename = "/tmp/tmpj8ukymhd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @programmer_write_oscal(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 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca [4 x i8], align 1 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i8 10, ptr %8, align 1 %10 = load i32, ptr %5, align 4 %11 = call i32 @write(i32 noundef %10, ptr noundef %8, i32 noundef 1) %12 = load i32, ptr %6, align 4 %13 = ashr i32 %12, 8 %14 = and i32 %13, 255 %15 = trunc i32 %14 to i8 %16 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 store i8 %15, ptr %16, align 1 %17 = load i32, ptr %6, align 4 %18 = and i32 %17, 255 %19 = trunc i32 %18 to i8 %20 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 1 store i8 %19, ptr %20, align 1 %21 = load i32, ptr %7, align 4 %22 = ashr i32 %21, 8 %23 = and i32 %22, 255 %24 = trunc i32 %23 to i8 %25 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 2 store i8 %24, ptr %25, align 1 %26 = load i32, ptr %7, align 4 %27 = and i32 %26, 255 %28 = trunc i32 %27 to i8 %29 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 3 store i8 %28, ptr %29, align 1 %30 = load i32, ptr %5, align 4 %31 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %32 = call i32 @write(i32 noundef %30, ptr noundef %31, i32 noundef 4) %33 = load i32, ptr %5, align 4 %34 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %35 = call i32 @read(i32 noundef %33, ptr noundef %34, i32 noundef 1) %36 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = icmp eq i32 %38, 67 br i1 %39, label %40, label %41 40: ; preds = %3 store i32 -1, ptr %4, align 4 br label %56 41: ; preds = %3 %42 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %44, 70 br i1 %45, label %46, label %47 46: ; preds = %41 store i32 -2, ptr %4, align 4 br label %56 47: ; preds = %41 %48 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %49 = load i8, ptr %48, align 1 %50 = zext i8 %49 to i32 %51 = icmp ne i32 %50, 89 br i1 %51, label %52, label %53 52: ; preds = %47 store i32 -3, ptr %4, align 4 br label %56 53: ; preds = %47 br label %54 54: ; preds = %53 br label %55 55: ; preds = %54 store i32 0, ptr %4, align 4 br label %56 56: ; preds = %55, %52, %46, %40 %57 = load i32, ptr %4, align 4 ret i32 %57 } declare i32 @write(i32 noundef, ptr noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj8ukymhd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @programmer_write_oscal(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 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca [4 x i8], align 1 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i8 10, ptr %8, align 1 %10 = load i32, ptr %5, align 4 %11 = call i32 @write(i32 noundef %10, ptr noundef %8, i32 noundef 1) %12 = load i32, ptr %6, align 4 %13 = ashr i32 %12, 8 %14 = and i32 %13, 255 %15 = trunc i32 %14 to i8 %16 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 store i8 %15, ptr %16, align 1 %17 = load i32, ptr %6, align 4 %18 = and i32 %17, 255 %19 = trunc i32 %18 to i8 %20 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 1 store i8 %19, ptr %20, align 1 %21 = load i32, ptr %7, align 4 %22 = ashr i32 %21, 8 %23 = and i32 %22, 255 %24 = trunc i32 %23 to i8 %25 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 2 store i8 %24, ptr %25, align 1 %26 = load i32, ptr %7, align 4 %27 = and i32 %26, 255 %28 = trunc i32 %27 to i8 %29 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 3 store i8 %28, ptr %29, align 1 %30 = load i32, ptr %5, align 4 %31 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %32 = call i32 @write(i32 noundef %30, ptr noundef %31, i32 noundef 4) %33 = load i32, ptr %5, align 4 %34 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %35 = call i32 @read(i32 noundef %33, ptr noundef %34, i32 noundef 1) %36 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = icmp eq i32 %38, 67 br i1 %39, label %40, label %41 40: ; preds = %3 store i32 -1, ptr %4, align 4 br label %56 41: ; preds = %3 %42 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %44, 70 br i1 %45, label %46, label %47 46: ; preds = %41 store i32 -2, ptr %4, align 4 br label %56 47: ; preds = %41 %48 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %49 = load i8, ptr %48, align 1 %50 = zext i8 %49 to i32 %51 = icmp ne i32 %50, 89 br i1 %51, label %52, label %53 52: ; preds = %47 store i32 -3, ptr %4, align 4 br label %56 53: ; preds = %47 br label %54 54: ; preds = %53 br label %55 55: ; preds = %54 store i32 0, ptr %4, align 4 br label %56 56: ; preds = %55, %52, %46, %40 %57 = load i32, ptr %4, align 4 ret i32 %57 } declare i32 @write(i32 noundef, ptr noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}