llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp6hiyfhsl.c' source_filename = "/tmp/tmp6hiyfhsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @session_access_process(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %9, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %10, align 8 %17 = call i32 @session_get_session_process_access_ok(ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) store i32 %17, ptr %11, align 4 %18 = load i32, ptr %11, align 4 ret i32 %18 } declare i32 @session_get_session_process_access_ok(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6hiyfhsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @session_access_process(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %9, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %10, align 8 %17 = call i32 @session_get_session_process_access_ok(ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) store i32 %17, ptr %11, align 4 %18 = load i32, ptr %11, align 4 ret i32 %18 } declare i32 @session_get_session_process_access_ok(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb_3yddb6.c' source_filename = "/tmp/tmpb_3yddb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fwriteint16_t(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @fwrite(ptr noundef %3, i32 noundef 1, i32 noundef 2, ptr noundef %5) ret void } declare i32 @fwrite(ptr noundef, i32 noundef, 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/tmpb_3yddb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fwriteint16_t(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @fwrite(ptr noundef %3, i32 noundef 1, i32 noundef 2, ptr noundef %5) ret void } declare i32 @fwrite(ptr noundef, i32 noundef, 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/tmpwhh2xk6n.c' source_filename = "/tmp/tmpwhh2xk6n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i64 1, ptr %5, align 8 br label %6 6: ; preds = %18, %2 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %24 9: ; preds = %6 %10 = load i32, ptr %4, align 4 %11 = and i32 %10, 1 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = load i64, ptr %5, align 8 %17 = mul nsw i64 %16, %15 store i64 %17, ptr %5, align 8 br label %18 18: ; preds = %13, %9 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = mul nsw i32 %20, %19 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = ashr i32 %22, 1 store i32 %23, ptr %4, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 %25 = load i64, ptr %5, align 8 ret i64 %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwhh2xk6n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i64 1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %17 %9 = load i32, ptr %4, align 4 %10 = and i32 %9, 1 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = load i64, ptr %5, align 8 %16 = mul nsw i64 %15, %14 store i64 %16, ptr %5, align 8 br label %17 17: ; preds = %12, %8 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = mul nsw i32 %19, %18 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = ashr i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %25 25: ; preds = %._crit_edge, %2 %26 = load i64, ptr %5, align 8 ret i64 %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpy6qq0t2r.c' source_filename = "/tmp/tmpy6qq0t2r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort_step(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %3 br label %57 12: ; preds = %3 %13 = load i32, ptr %5, align 4 %14 = sdiv i32 %13, 2 store i32 %14, ptr %7, align 4 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %6, align 8 call void @merge_sort_step(ptr noundef %15, i32 noundef %16, ptr noundef %17) %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %22, %23 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 call void @merge_sort_step(ptr noundef %21, i32 noundef %24, ptr noundef %28) %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %7, align 4 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %7, align 4 %37 = sub nsw i32 %35, %36 %38 = load ptr, ptr %6, align 8 %39 = call i32 @merge(ptr noundef %29, i32 noundef %30, ptr noundef %34, i32 noundef %37, ptr noundef %38) store i32 0, ptr %8, align 4 br label %40 40: ; preds = %54, %12 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %57 44: ; preds = %40 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %8, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %8, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 store i32 %49, ptr %53, align 4 br label %54 54: ; preds = %44 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %8, align 4 br label %40, !llvm.loop !6 57: ; preds = %11, %40 ret void } declare i32 @merge(ptr noundef, i32 noundef, ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy6qq0t2r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort_step(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %3 br label %59 12: ; preds = %3 %13 = load i32, ptr %5, align 4 %14 = sdiv i32 %13, 2 store i32 %14, ptr %7, align 4 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %6, align 8 call void @merge_sort_step(ptr noundef %15, i32 noundef %16, ptr noundef %17) %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %22, %23 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 call void @merge_sort_step(ptr noundef %21, i32 noundef %24, ptr noundef %28) %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %7, align 4 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %7, align 4 %37 = sub nsw i32 %35, %36 %38 = load ptr, ptr %6, align 8 %39 = call i32 @merge(ptr noundef %29, i32 noundef %30, ptr noundef %34, i32 noundef %37, ptr noundef %38) store i32 0, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %12 br label %43 43: ; preds = %.lr.ph, %53 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 store i32 %48, ptr %52, align 4 br label %53 53: ; preds = %43 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %8, align 4 %56 = load i32, ptr %8, align 4 %57 = load i32, ptr %5, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %43, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %53 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %12 br label %59 59: ; preds = %.loopexit, %11 ret void } declare i32 @merge(ptr noundef, i32 noundef, ptr noundef, 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"}
; ModuleID = '/tmp/tmprq9mi85d.c' source_filename = "/tmp/tmprq9mi85d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %9 9: ; preds = %40, %3 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %43 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %8, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %8, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = icmp ne i32 %18, %23 br i1 %24, label %25, label %39 25: ; preds = %13 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %8, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = icmp slt i32 %30, %35 %37 = zext i1 %36 to i64 %38 = select i1 %36, i32 -1, i32 1 store i32 %38, ptr %4, align 4 br label %44 39: ; preds = %13 br label %40 40: ; preds = %39 %41 = load i64, ptr %8, align 8 %42 = add i64 %41, 1 store i64 %42, ptr %8, align 8 br label %9, !llvm.loop !6 43: ; preds = %9 store i32 0, ptr %4, align 4 br label %44 44: ; preds = %43, %25 %45 = load i32, ptr %4, align 4 ret i32 %45 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmprq9mi85d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 %9 = load i64, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %.lr.ph, label %45 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %39 %13 = load ptr, ptr %5, align 8 %14 = load i64, ptr %8, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = load ptr, ptr %6, align 8 %19 = load i64, ptr %8, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = icmp ne i32 %17, %22 br i1 %23, label %24, label %38 24: ; preds = %12 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %8, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %8, align 8 %32 = getelementptr inbounds i8, ptr %30, i64 %31 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = icmp slt i32 %29, %34 %36 = zext i1 %35 to i64 %37 = select i1 %35, i32 -1, i32 1 store i32 %37, ptr %4, align 4 br label %46 38: ; preds = %12 br label %39 39: ; preds = %38 %40 = load i64, ptr %8, align 8 %41 = add i64 %40, 1 store i64 %41, ptr %8, align 8 %42 = load i64, ptr %8, align 8 %43 = load i64, ptr %7, align 8 %44 = icmp ult i64 %42, %43 br i1 %44, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %46 46: ; preds = %45, %24 %47 = load i32, ptr %4, align 4 ret i32 %47 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1jmneqnp.c' source_filename = "/tmp/tmp1jmneqnp.c" target datalayout = "e-m:e-p270: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/tmp1jmneqnp.c" target datalayout = "e-m:e-p270: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/tmp7dwju800.c' source_filename = "/tmp/tmp7dwju800.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeNewLine(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = sub nsw i32 %5, 1 %7 = sext i32 %6 to i64 store i64 %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = load i64, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %8, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 10 br i1 %13, label %14, label %18 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = load i64, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %15, i64 %16 store i8 0, ptr %17, align 1 br label %18 18: ; preds = %14, %1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7dwju800.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeNewLine(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = sub nsw i32 %5, 1 %7 = sext i32 %6 to i64 store i64 %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = load i64, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %8, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 10 br i1 %13, label %14, label %18 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = load i64, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %15, i64 %16 store i8 0, ptr %17, align 1 br label %18 18: ; preds = %14, %1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz_yailzv.c' source_filename = "/tmp/tmpz_yailzv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i64, i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ipaddr_cmp(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 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = icmp eq i64 %9, %13 br i1 %14, label %15, label %32 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %16, i32 0, i32 0 %18 = load i64, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %19, i32 0, i32 0 %21 = load i64, ptr %20, align 8 %22 = icmp eq i64 %18, %21 br i1 %22, label %23, label %32 23: ; preds = %15 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 1 %26 = load i64, ptr %25, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds %struct.sockaddr_in, ptr %27, i32 0, i32 1 %29 = load i64, ptr %28, align 8 %30 = icmp eq i64 %26, %29 br i1 %30, label %31, label %32 31: ; preds = %23 store i32 0, ptr %3, align 4 br label %33 32: ; preds = %23, %15, %2 store i32 -1, ptr %3, align 4 br label %33 33: ; preds = %32, %31 %34 = load i32, ptr %3, align 4 ret i32 %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz_yailzv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i64, i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ipaddr_cmp(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 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = icmp eq i64 %9, %13 br i1 %14, label %15, label %32 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %16, i32 0, i32 0 %18 = load i64, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %19, i32 0, i32 0 %21 = load i64, ptr %20, align 8 %22 = icmp eq i64 %18, %21 br i1 %22, label %23, label %32 23: ; preds = %15 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %24, i32 0, i32 1 %26 = load i64, ptr %25, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds %struct.sockaddr_in, ptr %27, i32 0, i32 1 %29 = load i64, ptr %28, align 8 %30 = icmp eq i64 %26, %29 br i1 %30, label %31, label %32 31: ; preds = %23 store i32 0, ptr %3, align 4 br label %33 32: ; preds = %23, %15, %2 store i32 -1, ptr %3, align 4 br label %33 33: ; preds = %32, %31 %34 = load i32, ptr %3, align 4 ret i32 %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsukqfoij.c' source_filename = "/tmp/tmpsukqfoij.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_handling(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fputs(ptr noundef %3, i32 noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fputc(i8 noundef signext 10, i32 noundef %6) %8 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @fputc(i8 noundef signext, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsukqfoij.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_handling(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fputs(ptr noundef %3, i32 noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fputc(i8 noundef signext 10, i32 noundef %6) %8 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @fputc(i8 noundef signext, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnx8aobs1.c' source_filename = "/tmp/tmpnx8aobs1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getcwd(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 store i8 0, ptr %6, align 1 %7 = load ptr, ptr %3, align 8 ret ptr %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnx8aobs1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getcwd(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 store i8 0, ptr %6, align 1 %7 = load ptr, ptr %3, align 8 ret ptr %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvbp0fr1v.c' source_filename = "/tmp/tmpvbp0fr1v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testComplexFloat(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca { float, float }, align 8 %4 = alloca { float, float }, align 4 %5 = alloca { float, float }, align 8 %6 = alloca { float, float }, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 0 %9 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 1 store float 1.000000e+00, ptr %8, align 8 store float 0.000000e+00, ptr %9, align 4 %10 = getelementptr inbounds { float, float }, ptr %3, i32 0, i32 0 %11 = getelementptr inbounds { float, float }, ptr %3, i32 0, i32 1 store float 2.000000e+00, ptr %10, align 8 store float 0.000000e+00, ptr %11, align 4 %12 = load ptr, ptr %2, align 8 %13 = load atomic i64, ptr %12 seq_cst, align 8 store i64 %13, ptr %5, align 8 %14 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0 %15 = load float, ptr %14, align 8 %16 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1 %17 = load float, ptr %16, align 4 %18 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 0 %19 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 1 store float %15, ptr %18, align 4 store float %17, ptr %19, align 4 %20 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 0 %21 = load float, ptr %20, align 4 %22 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 1 %23 = load float, ptr %22, align 4 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0 %26 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1 store float %21, ptr %25, align 8 store float %23, ptr %26, align 4 %27 = load i64, ptr %6, align 8 store atomic i64 %27, ptr %24 seq_cst, 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/tmpvbp0fr1v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testComplexFloat(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca { float, float }, align 8 %4 = alloca { float, float }, align 4 %5 = alloca { float, float }, align 8 %6 = alloca { float, float }, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 0 %9 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 1 store float 1.000000e+00, ptr %8, align 8 store float 0.000000e+00, ptr %9, align 4 %10 = getelementptr inbounds { float, float }, ptr %3, i32 0, i32 0 %11 = getelementptr inbounds { float, float }, ptr %3, i32 0, i32 1 store float 2.000000e+00, ptr %10, align 8 store float 0.000000e+00, ptr %11, align 4 %12 = load ptr, ptr %2, align 8 %13 = load atomic i64, ptr %12 seq_cst, align 8 store i64 %13, ptr %5, align 8 %14 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0 %15 = load float, ptr %14, align 8 %16 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1 %17 = load float, ptr %16, align 4 %18 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 0 %19 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 1 store float %15, ptr %18, align 4 store float %17, ptr %19, align 4 %20 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 0 %21 = load float, ptr %20, align 4 %22 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 1 %23 = load float, ptr %22, align 4 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0 %26 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1 store float %21, ptr %25, align 8 store float %23, ptr %26, align 4 %27 = load i64, ptr %6, align 8 store atomic i64 %27, ptr %24 seq_cst, 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/tmp964e_5ha.c' source_filename = "/tmp/tmp964e_5ha.c" target datalayout = "e-m:e-p270: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.tcphdr = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @IsMatched(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 = getelementptr inbounds %struct.tcphdr, ptr %4, i32 0, i32 1 %6 = load i32, ptr %5, align 4 %7 = call i32 @ntohs(i32 noundef %6) %8 = icmp eq i32 %7, 25 br i1 %8, label %21, label %9 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds %struct.tcphdr, ptr %10, i32 0, i32 1 %12 = load i32, ptr %11, align 4 %13 = call i32 @ntohs(i32 noundef %12) %14 = icmp eq i32 %13, 110 br i1 %14, label %21, label %15 15: ; preds = %9 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds %struct.tcphdr, ptr %16, i32 0, i32 1 %18 = load i32, ptr %17, align 4 %19 = call i32 @ntohs(i32 noundef %18) %20 = icmp eq i32 %19, 21 br i1 %20, label %21, label %22 21: ; preds = %15, %9, %1 store i32 1, ptr %3, align 4 br label %22 22: ; preds = %21, %15 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds %struct.tcphdr, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = call i32 @ntohs(i32 noundef %25) %27 = icmp eq i32 %26, 25 br i1 %27, label %40, label %28 28: ; preds = %22 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds %struct.tcphdr, ptr %29, i32 0, i32 0 %31 = load i32, ptr %30, align 4 %32 = call i32 @ntohs(i32 noundef %31) %33 = icmp eq i32 %32, 110 br i1 %33, label %40, label %34 34: ; preds = %28 %35 = load ptr, ptr %2, align 8 %36 = getelementptr inbounds %struct.tcphdr, ptr %35, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = call i32 @ntohs(i32 noundef %37) %39 = icmp eq i32 %38, 21 br i1 %39, label %40, label %41 40: ; preds = %34, %28, %22 store i32 1, ptr %3, align 4 br label %41 41: ; preds = %40, %34 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @ntohs(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/tmp964e_5ha.c" target datalayout = "e-m:e-p270: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.tcphdr = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @IsMatched(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 = getelementptr inbounds %struct.tcphdr, ptr %4, i32 0, i32 1 %6 = load i32, ptr %5, align 4 %7 = call i32 @ntohs(i32 noundef %6) %8 = icmp eq i32 %7, 25 br i1 %8, label %21, label %9 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds %struct.tcphdr, ptr %10, i32 0, i32 1 %12 = load i32, ptr %11, align 4 %13 = call i32 @ntohs(i32 noundef %12) %14 = icmp eq i32 %13, 110 br i1 %14, label %21, label %15 15: ; preds = %9 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds %struct.tcphdr, ptr %16, i32 0, i32 1 %18 = load i32, ptr %17, align 4 %19 = call i32 @ntohs(i32 noundef %18) %20 = icmp eq i32 %19, 21 br i1 %20, label %21, label %22 21: ; preds = %15, %9, %1 store i32 1, ptr %3, align 4 br label %22 22: ; preds = %21, %15 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds %struct.tcphdr, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = call i32 @ntohs(i32 noundef %25) %27 = icmp eq i32 %26, 25 br i1 %27, label %40, label %28 28: ; preds = %22 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds %struct.tcphdr, ptr %29, i32 0, i32 0 %31 = load i32, ptr %30, align 4 %32 = call i32 @ntohs(i32 noundef %31) %33 = icmp eq i32 %32, 110 br i1 %33, label %40, label %34 34: ; preds = %28 %35 = load ptr, ptr %2, align 8 %36 = getelementptr inbounds %struct.tcphdr, ptr %35, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = call i32 @ntohs(i32 noundef %37) %39 = icmp eq i32 %38, 21 br i1 %39, label %40, label %41 40: ; preds = %34, %28, %22 store i32 1, ptr %3, align 4 br label %41 41: ; preds = %40, %34 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @ntohs(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/tmpg67z69pc.c' source_filename = "/tmp/tmpg67z69pc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 br label %8 8: ; preds = %29, %3 %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = load ptr, ptr %6, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %11, %14 br i1 %15, label %16, label %20 16: ; preds = %8 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %7, align 4 %19 = icmp ne i32 %18, 0 br label %20 20: ; preds = %16, %8 %21 = phi i1 [ false, %8 ], [ %19, %16 ] br i1 %21, label %22, label %34 22: ; preds = %20 %23 = load ptr, ptr %5, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %22 store i32 0, ptr %4, align 4 br label %42 28: ; preds = %22 br label %29 29: ; preds = %28 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %5, align 8 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %6, align 8 br label %8, !llvm.loop !6 34: ; preds = %20 %35 = load ptr, ptr %5, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = load ptr, ptr %6, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = sub nsw i32 %37, %40 store i32 %41, ptr %4, align 4 br label %42 42: ; preds = %34, %27 %43 = load i32, ptr %4, align 4 ret i32 %43 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpg67z69pc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 br label %8 8: ; preds = %29, %3 %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = load ptr, ptr %6, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %11, %14 br i1 %15, label %16, label %20 16: ; preds = %8 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %7, align 4 %19 = icmp ne i32 %18, 0 br label %20 20: ; preds = %16, %8 %21 = phi i1 [ false, %8 ], [ %19, %16 ] br i1 %21, label %22, label %34 22: ; preds = %20 %23 = load ptr, ptr %5, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %22 store i32 0, ptr %4, align 4 br label %42 28: ; preds = %22 br label %29 29: ; preds = %28 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %5, align 8 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %6, align 8 br label %8, !llvm.loop !6 34: ; preds = %20 %35 = load ptr, ptr %5, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = load ptr, ptr %6, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = sub nsw i32 %37, %40 store i32 %41, ptr %4, align 4 br label %42 42: ; preds = %34, %27 %43 = load i32, ptr %4, align 4 ret i32 %43 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwiyg_yjn.c' source_filename = "/tmp/tmpwiyg_yjn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"\\x%02x\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\\%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_str(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 %4, align 8 store ptr %7, ptr %5, align 8 br label %8 8: ; preds = %24, %2 %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %27 13: ; preds = %8 %14 = load ptr, ptr %5, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp sle i32 %16, 32 br i1 %17, label %23, label %18 18: ; preds = %13 %19 = load ptr, ptr %5, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp sgt i32 %21, 126 br i1 %22, label %23, label %24 23: ; preds = %18, %13 br label %31 24: ; preds = %18 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %5, align 8 br label %8, !llvm.loop !6 27: ; preds = %8 %28 = load ptr, ptr %3, align 8 %29 = load ptr, ptr %4, align 8 %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str, ptr noundef %29) br label %74 31: ; preds = %23 %32 = load ptr, ptr %4, align 8 store ptr %32, ptr %5, align 8 %33 = load ptr, ptr %3, align 8 %34 = call i32 @fputc(i8 noundef signext 34, ptr noundef %33) br label %35 35: ; preds = %68, %31 %36 = load ptr, ptr %5, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %71 40: ; preds = %35 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %43, 32 br i1 %44, label %48, label %45 45: ; preds = %40 %46 = load i32, ptr %6, align 4 %47 = icmp eq i32 %46, 127 br i1 %47, label %48, label %52 48: ; preds = %45, %40 %49 = load ptr, ptr %3, align 8 %50 = load i32, ptr %6, align 4 %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.1, i32 noundef %50) br label %68 52: ; preds = %45 %53 = load i32, ptr %6, align 4 %54 = icmp eq i32 %53, 92 br i1 %54, label %58, label %55 55: ; preds = %52 %56 = load i32, ptr %6, align 4 %57 = icmp eq i32 %56, 34 br i1 %57, label %58, label %62 58: ; preds = %55, %52 %59 = load ptr, ptr %3, align 8 %60 = load i32, ptr %6, align 4 %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.2, i32 noundef %60) br label %67 62: ; preds = %55 %63 = load i32, ptr %6, align 4 %64 = trunc i32 %63 to i8 %65 = load ptr, ptr %3, align 8 %66 = call i32 @fputc(i8 noundef signext %64, ptr noundef %65) br label %67 67: ; preds = %62, %58 br label %68 68: ; preds = %67, %48 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds i8, ptr %69, i32 1 store ptr %70, ptr %5, align 8 br label %35, !llvm.loop !8 71: ; preds = %35 %72 = load ptr, ptr %3, align 8 %73 = call i32 @fputc(i8 noundef signext 34, ptr noundef %72) br label %74 74: ; preds = %71, %27 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwiyg_yjn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"\\x%02x\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\\%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_str(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 %4, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %23 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp sle i32 %15, 32 br i1 %16, label %22, label %17 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp sgt i32 %20, 126 br i1 %21, label %22, label %23 22: ; preds = %17, %12 br label %34 23: ; preds = %17 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %5, align 8 %26 = load ptr, ptr %5, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %30 30: ; preds = %._crit_edge, %2 %31 = load ptr, ptr %3, align 8 %32 = load ptr, ptr %4, align 8 %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str, ptr noundef %32) br label %80 34: ; preds = %22 %35 = load ptr, ptr %4, align 8 store ptr %35, ptr %5, align 8 %36 = load ptr, ptr %3, align 8 %37 = call i32 @fputc(i8 noundef signext 34, ptr noundef %36) %38 = load ptr, ptr %5, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 0 br i1 %41, label %.lr.ph2, label %77 .lr.ph2: ; preds = %34 br label %42 42: ; preds = %.lr.ph2, %70 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %43, align 4 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %6, align 4 %46 = icmp slt i32 %45, 32 br i1 %46, label %50, label %47 47: ; preds = %42 %48 = load i32, ptr %6, align 4 %49 = icmp eq i32 %48, 127 br i1 %49, label %50, label %54 50: ; preds = %47, %42 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %6, align 4 %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef @.str.1, i32 noundef %52) br label %70 54: ; preds = %47 %55 = load i32, ptr %6, align 4 %56 = icmp eq i32 %55, 92 br i1 %56, label %60, label %57 57: ; preds = %54 %58 = load i32, ptr %6, align 4 %59 = icmp eq i32 %58, 34 br i1 %59, label %60, label %64 60: ; preds = %57, %54 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr %6, align 4 %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.2, i32 noundef %62) br label %69 64: ; preds = %57 %65 = load i32, ptr %6, align 4 %66 = trunc i32 %65 to i8 %67 = load ptr, ptr %3, align 8 %68 = call i32 @fputc(i8 noundef signext %66, ptr noundef %67) br label %69 69: ; preds = %64, %60 br label %70 70: ; preds = %69, %50 %71 = load ptr, ptr %5, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %5, align 8 %73 = load ptr, ptr %5, align 8 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp ne i32 %75, 0 br i1 %76, label %42, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %70 br label %77 77: ; preds = %._crit_edge3, %34 %78 = load ptr, ptr %3, align 8 %79 = call i32 @fputc(i8 noundef signext 34, ptr noundef %78) br label %80 80: ; preds = %77, %30 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp9nxrx9qx.c' source_filename = "/tmp/tmp9nxrx9qx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_ps_handler(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @thread_print_all() ret void } declare i32 @thread_print_all(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9nxrx9qx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_ps_handler(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @thread_print_all() ret void } declare i32 @thread_print_all(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo60am605.c' source_filename = "/tmp/tmpo60am605.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_file_open(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = call i32 @open(ptr noundef %7, i32 noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 -1, ptr %3, align 4 br label %16 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = call i32 @close(i32 noundef %14) store i64 0, ptr @errno, align 8 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %13, %12 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @open(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/tmpo60am605.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_file_open(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = call i32 @open(ptr noundef %7, i32 noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 -1, ptr %3, align 4 br label %16 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = call i32 @close(i32 noundef %14) store i64 0, ptr @errno, align 8 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %13, %12 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @open(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/tmp0skrea9x.c' source_filename = "/tmp/tmp0skrea9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myScalef(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca [16 x double], align 16 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 128, i1 false) %8 = getelementptr inbounds [16 x double], ptr %7, i64 0, i64 0 %9 = load double, ptr %4, align 8 store double %9, ptr %8, align 8 %10 = getelementptr inbounds double, ptr %8, i64 1 %11 = getelementptr inbounds double, ptr %10, i64 1 %12 = getelementptr inbounds double, ptr %11, i64 1 %13 = getelementptr inbounds double, ptr %12, i64 1 %14 = getelementptr inbounds double, ptr %13, i64 1 %15 = load double, ptr %5, align 8 store double %15, ptr %14, align 8 %16 = getelementptr inbounds double, ptr %14, i64 1 %17 = getelementptr inbounds double, ptr %16, i64 1 %18 = getelementptr inbounds double, ptr %17, i64 1 %19 = getelementptr inbounds double, ptr %18, i64 1 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %6, align 8 store double %21, ptr %20, align 8 %22 = getelementptr inbounds double, ptr %20, i64 1 %23 = getelementptr inbounds double, ptr %22, i64 1 %24 = getelementptr inbounds double, ptr %23, i64 1 %25 = getelementptr inbounds double, ptr %24, i64 1 %26 = getelementptr inbounds double, ptr %25, i64 1 store double 1.000000e+00, ptr %26, align 8 %27 = getelementptr inbounds [16 x double], ptr %7, i64 0, i64 0 %28 = call i32 @glMultMatrixf(ptr noundef %27) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @glMultMatrixf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0skrea9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myScalef(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca [16 x double], align 16 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 128, i1 false) %8 = getelementptr inbounds [16 x double], ptr %7, i64 0, i64 0 %9 = load double, ptr %4, align 8 store double %9, ptr %8, align 8 %10 = getelementptr inbounds double, ptr %8, i64 1 %11 = getelementptr inbounds double, ptr %10, i64 1 %12 = getelementptr inbounds double, ptr %11, i64 1 %13 = getelementptr inbounds double, ptr %12, i64 1 %14 = getelementptr inbounds double, ptr %13, i64 1 %15 = load double, ptr %5, align 8 store double %15, ptr %14, align 8 %16 = getelementptr inbounds double, ptr %14, i64 1 %17 = getelementptr inbounds double, ptr %16, i64 1 %18 = getelementptr inbounds double, ptr %17, i64 1 %19 = getelementptr inbounds double, ptr %18, i64 1 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %6, align 8 store double %21, ptr %20, align 8 %22 = getelementptr inbounds double, ptr %20, i64 1 %23 = getelementptr inbounds double, ptr %22, i64 1 %24 = getelementptr inbounds double, ptr %23, i64 1 %25 = getelementptr inbounds double, ptr %24, i64 1 %26 = getelementptr inbounds double, ptr %25, i64 1 store double 1.000000e+00, ptr %26, align 8 %27 = getelementptr inbounds [16 x double], ptr %7, i64 0, i64 0 %28 = call i32 @glMultMatrixf(ptr noundef %27) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @glMultMatrixf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp09xmfnwj.c' source_filename = "/tmp/tmp09xmfnwj.c" target datalayout = "e-m:e-p270: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/tmp09xmfnwj.c" target datalayout = "e-m:e-p270: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/tmpkmns_40u.c' source_filename = "/tmp/tmpkmns_40u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uDMAControlBaseSet(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = ptrtoint ptr %3 to i64 store volatile i64 %4, ptr inttoptr (i64 1074786312 to ptr), align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkmns_40u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uDMAControlBaseSet(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = ptrtoint ptr %3 to i64 store volatile i64 %4, ptr inttoptr (i64 1074786312 to ptr), align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_3rq80rv.c' source_filename = "/tmp/tmp_3rq80rv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0xc2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0xc2() #0 { %1 = call i64 @islower(i32 noundef 194) %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 975, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_3rq80rv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0xc2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0xc2() #0 { %1 = call i64 @islower(i32 noundef 194) %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 975, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp98vg28xt.c' source_filename = "/tmp/tmp98vg28xt.c" target datalayout = "e-m:e-p270: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/tmp98vg28xt.c" target datalayout = "e-m:e-p270: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/tmp7l6spr3u.c' source_filename = "/tmp/tmp7l6spr3u.c" target datalayout = "e-m:e-p270: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.ip6_hdr = type { i8, i8, i8 } %struct.tcphdr = type { i8, i8, i8, i8, i32, i32, i8, i8, i8 } @IP_MAXPACKET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcp6_checksum(i24 %0, i64 %1, i64 %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.ip6_hdr, align 1 %7 = alloca i24, align 4 %8 = alloca %struct.tcphdr, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i8, align 1 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store i24 %0, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 4 %7, i64 3, i1 false) %17 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0 store i64 %1, ptr %17, align 4 %18 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1 store i64 %2, ptr %18, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %19 = load i32, ptr @IP_MAXPACKET, align 4 %20 = zext i32 %19 to i64 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %12, align 8 %22 = alloca i8, i64 %20, align 16 store i64 %20, ptr %13, align 8 store i32 0, ptr %16, align 4 %23 = getelementptr inbounds i8, ptr %22, i64 0 store ptr %23, ptr %15, align 8 %24 = load ptr, ptr %15, align 8 %25 = getelementptr inbounds %struct.ip6_hdr, ptr %6, i32 0, i32 0 %26 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef 1) %27 = load ptr, ptr %15, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 store ptr %28, ptr %15, align 8 %29 = load i32, ptr %16, align 4 %30 = sext i32 %29 to i64 %31 = add i64 %30, 1 %32 = trunc i64 %31 to i32 store i32 %32, ptr %16, align 4 %33 = load ptr, ptr %15, align 8 %34 = getelementptr inbounds %struct.ip6_hdr, ptr %6, i32 0, i32 1 %35 = call i32 @memcpy(ptr noundef %33, ptr noundef %34, i32 noundef 1) %36 = load ptr, ptr %15, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 1 store ptr %37, ptr %15, align 8 %38 = load i32, ptr %16, align 4 %39 = sext i32 %38 to i64 %40 = add i64 %39, 1 %41 = trunc i64 %40 to i32 store i32 %41, ptr %16, align 4 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = add i64 16, %43 %45 = trunc i64 %44 to i32 %46 = call signext i8 @htonl(i32 noundef %45) store i8 %46, ptr %11, align 1 %47 = load ptr, ptr %15, align 8 %48 = call i32 @memcpy(ptr noundef %47, ptr noundef %11, i32 noundef 1) %49 = load ptr, ptr %15, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 1 store ptr %50, ptr %15, align 8 %51 = load i32, ptr %16, align 4 %52 = sext i32 %51 to i64 %53 = add i64 %52, 1 %54 = trunc i64 %53 to i32 store i32 %54, ptr %16, align 4 %55 = load ptr, ptr %15, align 8 store i8 0, ptr %55, align 1 %56 = load ptr, ptr %15, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %15, align 8 %58 = load ptr, ptr %15, align 8 store i8 0, ptr %58, align 1 %59 = load ptr, ptr %15, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %15, align 8 %61 = load ptr, ptr %15, align 8 store i8 0, ptr %61, align 1 %62 = load ptr, ptr %15, align 8 %63 = getelementptr inbounds i8, ptr %62, i32 1 store ptr %63, ptr %15, align 8 %64 = load i32, ptr %16, align 4 %65 = add nsw i32 %64, 3 store i32 %65, ptr %16, align 4 %66 = load ptr, ptr %15, align 8 %67 = getelementptr inbounds %struct.ip6_hdr, ptr %6, i32 0, i32 2 %68 = call i32 @memcpy(ptr noundef %66, ptr noundef %67, i32 noundef 1) %69 = load ptr, ptr %15, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 1 store ptr %70, ptr %15, align 8 %71 = load i32, ptr %16, align 4 %72 = sext i32 %71 to i64 %73 = add i64 %72, 1 %74 = trunc i64 %73 to i32 store i32 %74, ptr %16, align 4 %75 = load ptr, ptr %15, align 8 %76 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 0 %77 = call i32 @memcpy(ptr noundef %75, ptr noundef %76, i32 noundef 1) %78 = load ptr, ptr %15, align 8 %79 = getelementptr inbounds i8, ptr %78, i64 1 store ptr %79, ptr %15, align 8 %80 = load i32, ptr %16, align 4 %81 = sext i32 %80 to i64 %82 = add i64 %81, 1 %83 = trunc i64 %82 to i32 store i32 %83, ptr %16, align 4 %84 = load ptr, ptr %15, align 8 %85 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 1 %86 = call i32 @memcpy(ptr noundef %84, ptr noundef %85, i32 noundef 1) %87 = load ptr, ptr %15, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 1 store ptr %88, ptr %15, align 8 %89 = load i32, ptr %16, align 4 %90 = sext i32 %89 to i64 %91 = add i64 %90, 1 %92 = trunc i64 %91 to i32 store i32 %92, ptr %16, align 4 %93 = load ptr, ptr %15, align 8 %94 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 2 %95 = call i32 @memcpy(ptr noundef %93, ptr noundef %94, i32 noundef 1) %96 = load ptr, ptr %15, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 1 store ptr %97, ptr %15, align 8 %98 = load i32, ptr %16, align 4 %99 = sext i32 %98 to i64 %100 = add i64 %99, 1 %101 = trunc i64 %100 to i32 store i32 %101, ptr %16, align 4 %102 = load ptr, ptr %15, align 8 %103 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 3 %104 = call i32 @memcpy(ptr noundef %102, ptr noundef %103, i32 noundef 1) %105 = load ptr, ptr %15, align 8 %106 = getelementptr inbounds i8, ptr %105, i64 1 store ptr %106, ptr %15, align 8 %107 = load i32, ptr %16, align 4 %108 = sext i32 %107 to i64 %109 = add i64 %108, 1 %110 = trunc i64 %109 to i32 store i32 %110, ptr %16, align 4 %111 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 4 %112 = load i32, ptr %111, align 4 %113 = shl i32 %112, 4 %114 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 5 %115 = load i32, ptr %114, align 4 %116 = add nsw i32 %113, %115 %117 = trunc i32 %116 to i8 store i8 %117, ptr %14, align 1 %118 = load ptr, ptr %15, align 8 %119 = call i32 @memcpy(ptr noundef %118, ptr noundef %14, i32 noundef 1) %120 = load ptr, ptr %15, align 8 %121 = getelementptr inbounds i8, ptr %120, i64 1 store ptr %121, ptr %15, align 8 %122 = load i32, ptr %16, align 4 %123 = sext i32 %122 to i64 %124 = add i64 %123, 1 %125 = trunc i64 %124 to i32 store i32 %125, ptr %16, align 4 %126 = load ptr, ptr %15, align 8 %127 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 6 %128 = call i32 @memcpy(ptr noundef %126, ptr noundef %127, i32 noundef 1) %129 = load ptr, ptr %15, align 8 %130 = getelementptr inbounds i8, ptr %129, i64 1 store ptr %130, ptr %15, align 8 %131 = load i32, ptr %16, align 4 %132 = sext i32 %131 to i64 %133 = add i64 %132, 1 %134 = trunc i64 %133 to i32 store i32 %134, ptr %16, align 4 %135 = load ptr, ptr %15, align 8 %136 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 7 %137 = call i32 @memcpy(ptr noundef %135, ptr noundef %136, i32 noundef 1) %138 = load ptr, ptr %15, align 8 %139 = getelementptr inbounds i8, ptr %138, i64 1 store ptr %139, ptr %15, align 8 %140 = load i32, ptr %16, align 4 %141 = sext i32 %140 to i64 %142 = add i64 %141, 1 %143 = trunc i64 %142 to i32 store i32 %143, ptr %16, align 4 %144 = load ptr, ptr %15, align 8 store i8 0, ptr %144, align 1 %145 = load ptr, ptr %15, align 8 %146 = getelementptr inbounds i8, ptr %145, i32 1 store ptr %146, ptr %15, align 8 %147 = load ptr, ptr %15, align 8 store i8 0, ptr %147, align 1 %148 = load ptr, ptr %15, align 8 %149 = getelementptr inbounds i8, ptr %148, i32 1 store ptr %149, ptr %15, align 8 %150 = load i32, ptr %16, align 4 %151 = add nsw i32 %150, 2 store i32 %151, ptr %16, align 4 %152 = load ptr, ptr %15, align 8 %153 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 8 %154 = call i32 @memcpy(ptr noundef %152, ptr noundef %153, i32 noundef 1) %155 = load ptr, ptr %15, align 8 %156 = getelementptr inbounds i8, ptr %155, i64 1 store ptr %156, ptr %15, align 8 %157 = load i32, ptr %16, align 4 %158 = sext i32 %157 to i64 %159 = add i64 %158, 1 %160 = trunc i64 %159 to i32 store i32 %160, ptr %16, align 4 %161 = load ptr, ptr %15, align 8 %162 = load ptr, ptr %9, align 8 %163 = load i32, ptr %10, align 4 %164 = sext i32 %163 to i64 %165 = mul i64 %164, 1 %166 = trunc i64 %165 to i32 %167 = call i32 @memcpy(ptr noundef %161, ptr noundef %162, i32 noundef %166) %168 = load i32, ptr %10, align 4 %169 = load ptr, ptr %15, align 8 %170 = sext i32 %168 to i64 %171 = getelementptr inbounds i8, ptr %169, i64 %170 store ptr %171, ptr %15, align 8 %172 = load i32, ptr %10, align 4 %173 = load i32, ptr %16, align 4 %174 = add nsw i32 %173, %172 store i32 %174, ptr %16, align 4 %175 = load i32, ptr %16, align 4 %176 = call i32 @checksum(ptr noundef %22, i32 noundef %175) %177 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %177) ret i32 %176 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #3 declare signext i8 @htonl(i32 noundef) #3 declare i32 @checksum(ptr noundef, i32 noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nosync nounwind willreturn } 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/tmp7l6spr3u.c" target datalayout = "e-m:e-p270: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.ip6_hdr = type { i8, i8, i8 } %struct.tcphdr = type { i8, i8, i8, i8, i32, i32, i8, i8, i8 } @IP_MAXPACKET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcp6_checksum(i24 %0, i64 %1, i64 %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.ip6_hdr, align 1 %7 = alloca i24, align 4 %8 = alloca %struct.tcphdr, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i8, align 1 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store i24 %0, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 4 %7, i64 3, i1 false) %17 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0 store i64 %1, ptr %17, align 4 %18 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1 store i64 %2, ptr %18, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %19 = load i32, ptr @IP_MAXPACKET, align 4 %20 = zext i32 %19 to i64 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %12, align 8 %22 = alloca i8, i64 %20, align 16 store i64 %20, ptr %13, align 8 store i32 0, ptr %16, align 4 %23 = getelementptr inbounds i8, ptr %22, i64 0 store ptr %23, ptr %15, align 8 %24 = load ptr, ptr %15, align 8 %25 = getelementptr inbounds %struct.ip6_hdr, ptr %6, i32 0, i32 0 %26 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef 1) %27 = load ptr, ptr %15, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 store ptr %28, ptr %15, align 8 %29 = load i32, ptr %16, align 4 %30 = sext i32 %29 to i64 %31 = add i64 %30, 1 %32 = trunc i64 %31 to i32 store i32 %32, ptr %16, align 4 %33 = load ptr, ptr %15, align 8 %34 = getelementptr inbounds %struct.ip6_hdr, ptr %6, i32 0, i32 1 %35 = call i32 @memcpy(ptr noundef %33, ptr noundef %34, i32 noundef 1) %36 = load ptr, ptr %15, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 1 store ptr %37, ptr %15, align 8 %38 = load i32, ptr %16, align 4 %39 = sext i32 %38 to i64 %40 = add i64 %39, 1 %41 = trunc i64 %40 to i32 store i32 %41, ptr %16, align 4 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = add i64 16, %43 %45 = trunc i64 %44 to i32 %46 = call signext i8 @htonl(i32 noundef %45) store i8 %46, ptr %11, align 1 %47 = load ptr, ptr %15, align 8 %48 = call i32 @memcpy(ptr noundef %47, ptr noundef %11, i32 noundef 1) %49 = load ptr, ptr %15, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 1 store ptr %50, ptr %15, align 8 %51 = load i32, ptr %16, align 4 %52 = sext i32 %51 to i64 %53 = add i64 %52, 1 %54 = trunc i64 %53 to i32 store i32 %54, ptr %16, align 4 %55 = load ptr, ptr %15, align 8 store i8 0, ptr %55, align 1 %56 = load ptr, ptr %15, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %15, align 8 %58 = load ptr, ptr %15, align 8 store i8 0, ptr %58, align 1 %59 = load ptr, ptr %15, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %15, align 8 %61 = load ptr, ptr %15, align 8 store i8 0, ptr %61, align 1 %62 = load ptr, ptr %15, align 8 %63 = getelementptr inbounds i8, ptr %62, i32 1 store ptr %63, ptr %15, align 8 %64 = load i32, ptr %16, align 4 %65 = add nsw i32 %64, 3 store i32 %65, ptr %16, align 4 %66 = load ptr, ptr %15, align 8 %67 = getelementptr inbounds %struct.ip6_hdr, ptr %6, i32 0, i32 2 %68 = call i32 @memcpy(ptr noundef %66, ptr noundef %67, i32 noundef 1) %69 = load ptr, ptr %15, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 1 store ptr %70, ptr %15, align 8 %71 = load i32, ptr %16, align 4 %72 = sext i32 %71 to i64 %73 = add i64 %72, 1 %74 = trunc i64 %73 to i32 store i32 %74, ptr %16, align 4 %75 = load ptr, ptr %15, align 8 %76 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 0 %77 = call i32 @memcpy(ptr noundef %75, ptr noundef %76, i32 noundef 1) %78 = load ptr, ptr %15, align 8 %79 = getelementptr inbounds i8, ptr %78, i64 1 store ptr %79, ptr %15, align 8 %80 = load i32, ptr %16, align 4 %81 = sext i32 %80 to i64 %82 = add i64 %81, 1 %83 = trunc i64 %82 to i32 store i32 %83, ptr %16, align 4 %84 = load ptr, ptr %15, align 8 %85 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 1 %86 = call i32 @memcpy(ptr noundef %84, ptr noundef %85, i32 noundef 1) %87 = load ptr, ptr %15, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 1 store ptr %88, ptr %15, align 8 %89 = load i32, ptr %16, align 4 %90 = sext i32 %89 to i64 %91 = add i64 %90, 1 %92 = trunc i64 %91 to i32 store i32 %92, ptr %16, align 4 %93 = load ptr, ptr %15, align 8 %94 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 2 %95 = call i32 @memcpy(ptr noundef %93, ptr noundef %94, i32 noundef 1) %96 = load ptr, ptr %15, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 1 store ptr %97, ptr %15, align 8 %98 = load i32, ptr %16, align 4 %99 = sext i32 %98 to i64 %100 = add i64 %99, 1 %101 = trunc i64 %100 to i32 store i32 %101, ptr %16, align 4 %102 = load ptr, ptr %15, align 8 %103 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 3 %104 = call i32 @memcpy(ptr noundef %102, ptr noundef %103, i32 noundef 1) %105 = load ptr, ptr %15, align 8 %106 = getelementptr inbounds i8, ptr %105, i64 1 store ptr %106, ptr %15, align 8 %107 = load i32, ptr %16, align 4 %108 = sext i32 %107 to i64 %109 = add i64 %108, 1 %110 = trunc i64 %109 to i32 store i32 %110, ptr %16, align 4 %111 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 4 %112 = load i32, ptr %111, align 4 %113 = shl i32 %112, 4 %114 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 5 %115 = load i32, ptr %114, align 4 %116 = add nsw i32 %113, %115 %117 = trunc i32 %116 to i8 store i8 %117, ptr %14, align 1 %118 = load ptr, ptr %15, align 8 %119 = call i32 @memcpy(ptr noundef %118, ptr noundef %14, i32 noundef 1) %120 = load ptr, ptr %15, align 8 %121 = getelementptr inbounds i8, ptr %120, i64 1 store ptr %121, ptr %15, align 8 %122 = load i32, ptr %16, align 4 %123 = sext i32 %122 to i64 %124 = add i64 %123, 1 %125 = trunc i64 %124 to i32 store i32 %125, ptr %16, align 4 %126 = load ptr, ptr %15, align 8 %127 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 6 %128 = call i32 @memcpy(ptr noundef %126, ptr noundef %127, i32 noundef 1) %129 = load ptr, ptr %15, align 8 %130 = getelementptr inbounds i8, ptr %129, i64 1 store ptr %130, ptr %15, align 8 %131 = load i32, ptr %16, align 4 %132 = sext i32 %131 to i64 %133 = add i64 %132, 1 %134 = trunc i64 %133 to i32 store i32 %134, ptr %16, align 4 %135 = load ptr, ptr %15, align 8 %136 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 7 %137 = call i32 @memcpy(ptr noundef %135, ptr noundef %136, i32 noundef 1) %138 = load ptr, ptr %15, align 8 %139 = getelementptr inbounds i8, ptr %138, i64 1 store ptr %139, ptr %15, align 8 %140 = load i32, ptr %16, align 4 %141 = sext i32 %140 to i64 %142 = add i64 %141, 1 %143 = trunc i64 %142 to i32 store i32 %143, ptr %16, align 4 %144 = load ptr, ptr %15, align 8 store i8 0, ptr %144, align 1 %145 = load ptr, ptr %15, align 8 %146 = getelementptr inbounds i8, ptr %145, i32 1 store ptr %146, ptr %15, align 8 %147 = load ptr, ptr %15, align 8 store i8 0, ptr %147, align 1 %148 = load ptr, ptr %15, align 8 %149 = getelementptr inbounds i8, ptr %148, i32 1 store ptr %149, ptr %15, align 8 %150 = load i32, ptr %16, align 4 %151 = add nsw i32 %150, 2 store i32 %151, ptr %16, align 4 %152 = load ptr, ptr %15, align 8 %153 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 8 %154 = call i32 @memcpy(ptr noundef %152, ptr noundef %153, i32 noundef 1) %155 = load ptr, ptr %15, align 8 %156 = getelementptr inbounds i8, ptr %155, i64 1 store ptr %156, ptr %15, align 8 %157 = load i32, ptr %16, align 4 %158 = sext i32 %157 to i64 %159 = add i64 %158, 1 %160 = trunc i64 %159 to i32 store i32 %160, ptr %16, align 4 %161 = load ptr, ptr %15, align 8 %162 = load ptr, ptr %9, align 8 %163 = load i32, ptr %10, align 4 %164 = sext i32 %163 to i64 %165 = mul i64 %164, 1 %166 = trunc i64 %165 to i32 %167 = call i32 @memcpy(ptr noundef %161, ptr noundef %162, i32 noundef %166) %168 = load i32, ptr %10, align 4 %169 = load ptr, ptr %15, align 8 %170 = sext i32 %168 to i64 %171 = getelementptr inbounds i8, ptr %169, i64 %170 store ptr %171, ptr %15, align 8 %172 = load i32, ptr %10, align 4 %173 = load i32, ptr %16, align 4 %174 = add nsw i32 %173, %172 store i32 %174, ptr %16, align 4 %175 = load i32, ptr %16, align 4 %176 = call i32 @checksum(ptr noundef %22, i32 noundef %175) %177 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %177) ret i32 %176 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #3 declare signext i8 @htonl(i32 noundef) #3 declare i32 @checksum(ptr noundef, i32 noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nosync nounwind willreturn } 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/tmpr0a39ju4.c' source_filename = "/tmp/tmpr0a39ju4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Error: file %d is not a dup of file %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @check(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @lseek(i32 noundef %7, i32 noundef 0, i32 noundef 2) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @lseek(i32 noundef %9, i32 noundef 0, i32 noundef 1) %11 = load i32, ptr %5, align 4 %12 = icmp ne i32 %10, %11 br i1 %12, label %13, label %19 13: ; preds = %2 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15) %17 = call i32 (...) @abort_me() %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = call i32 @lseek(i32 noundef %20, i32 noundef 0, i32 noundef 0) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %3, align 4 %23 = call i32 @lseek(i32 noundef %22, i32 noundef 0, i32 noundef 1) %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %19 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26, i32 noundef %27) %29 = call i32 (...) @abort_me() %30 = call i32 @exit(i32 noundef 1) #3 unreachable 31: ; preds = %19 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @abort_me(...) #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/tmpr0a39ju4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Error: file %d is not a dup of file %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @check(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @lseek(i32 noundef %7, i32 noundef 0, i32 noundef 2) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @lseek(i32 noundef %9, i32 noundef 0, i32 noundef 1) %11 = load i32, ptr %5, align 4 %12 = icmp ne i32 %10, %11 br i1 %12, label %13, label %19 13: ; preds = %2 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15) %17 = call i32 (...) @abort_me() %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = call i32 @lseek(i32 noundef %20, i32 noundef 0, i32 noundef 0) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %3, align 4 %23 = call i32 @lseek(i32 noundef %22, i32 noundef 0, i32 noundef 1) %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %19 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26, i32 noundef %27) %29 = call i32 (...) @abort_me() %30 = call i32 @exit(i32 noundef 1) #3 unreachable 31: ; preds = %19 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @abort_me(...) #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/tmp8g76l2zf.c' source_filename = "/tmp/tmp8g76l2zf.c" target datalayout = "e-m:e-p270: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/tmp8g76l2zf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_bpfb79_.c' source_filename = "/tmp/tmp_bpfb79_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d^%d=%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %5, align 4 store i32 2, ptr %3, align 4 store i32 20, ptr %4, align 4 store i32 1, ptr %2, align 4 br label %6 6: ; preds = %14, %0 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %10, label %17 10: ; preds = %6 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = mul nsw i32 %11, %12 store i32 %13, ptr %5, align 4 br label %14 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 br label %6, !llvm.loop !6 17: ; preds = %6 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %20) ret i32 0 } declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_bpfb79_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d^%d=%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %5, align 4 store i32 2, ptr %3, align 4 store i32 20, ptr %4, align 4 store i32 1, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %13 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 %10, %11 store i32 %12, ptr %5, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %0 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %20, i32 noundef %21, i32 noundef %22) ret i32 0 } declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprv322_ha.c' source_filename = "/tmp/tmprv322_ha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XEvent_xcirculate_place(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i32 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprv322_ha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XEvent_xcirculate_place(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i32 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph6403bt8.c' source_filename = "/tmp/tmph6403bt8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @__const.main.argvs = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16 @.str.1 = private unnamed_addr constant [88 x i8] c"execve failed: from x86_64 forking and exec()ing 64-bit x86_64 process w/ 4G pagezero.\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"sleep-x86_64-4G\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"helpers/sleep-x86_64-4G\00", align 1 @.str.4 = private unnamed_addr constant [88 x i8] c"execve failed: from x86_64 forking and exec()ing 64-bit x86_64 process w/ 4K Pagezero.\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"sleep-x86_64-4K\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"helpers/sleep-x86_64-4K\00", align 1 @.str.7 = private unnamed_addr constant [71 x i8] c"execve failed: from x64_64 forking and exec()ing 32-bit i386 process.\0A\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"sleep-i386\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"helpers/sleep-i386\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [2 x ptr], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %10, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.argvs, i64 16, i1 false) %13 = call i32 (...) @get_bits() store i32 %13, ptr %12, align 4 store ptr @.str.1, ptr %10, align 8 %14 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 store ptr @.str.2, ptr %14, align 16 %15 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 %16 = call i64 @do_execve_test(ptr noundef @.str.3, ptr noundef %15, ptr noundef null, i32 noundef 1) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %2 br label %33 19: ; preds = %2 store ptr @.str.4, ptr %10, align 8 %20 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 store ptr @.str.5, ptr %20, align 16 %21 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 %22 = call i64 @do_execve_test(ptr noundef @.str.6, ptr noundef %21, ptr noundef null, i32 noundef 1) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %19 br label %33 25: ; preds = %19 store ptr @.str.7, ptr %10, align 8 %26 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 store ptr @.str.8, ptr %26, align 16 %27 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 %28 = call i64 @do_execve_test(ptr noundef @.str.9, ptr noundef %27, ptr noundef null, i32 noundef 1) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %25 br label %33 31: ; preds = %25 %32 = call i32 @sleep(i32 noundef 4) store i32 0, ptr %3, align 4 br label %40 33: ; preds = %30, %24, %18 %34 = load ptr, ptr %10, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load ptr, ptr %10, align 8 %38 = call i32 @printf(ptr noundef @.str.10, ptr noundef %37) br label %39 39: ; preds = %36, %33 store i32 -1, ptr %3, align 4 br label %40 40: ; preds = %39, %31 %41 = load i32, ptr %3, align 4 ret i32 %41 } ; 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 @get_bits(...) #2 declare i64 @do_execve_test(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @sleep(i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmph6403bt8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @__const.main.argvs = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16 @.str.1 = private unnamed_addr constant [88 x i8] c"execve failed: from x86_64 forking and exec()ing 64-bit x86_64 process w/ 4G pagezero.\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"sleep-x86_64-4G\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"helpers/sleep-x86_64-4G\00", align 1 @.str.4 = private unnamed_addr constant [88 x i8] c"execve failed: from x86_64 forking and exec()ing 64-bit x86_64 process w/ 4K Pagezero.\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"sleep-x86_64-4K\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"helpers/sleep-x86_64-4K\00", align 1 @.str.7 = private unnamed_addr constant [71 x i8] c"execve failed: from x64_64 forking and exec()ing 32-bit i386 process.\0A\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"sleep-i386\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"helpers/sleep-i386\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [2 x ptr], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %10, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.argvs, i64 16, i1 false) %13 = call i32 (...) @get_bits() store i32 %13, ptr %12, align 4 store ptr @.str.1, ptr %10, align 8 %14 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 store ptr @.str.2, ptr %14, align 16 %15 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 %16 = call i64 @do_execve_test(ptr noundef @.str.3, ptr noundef %15, ptr noundef null, i32 noundef 1) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %2 br label %33 19: ; preds = %2 store ptr @.str.4, ptr %10, align 8 %20 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 store ptr @.str.5, ptr %20, align 16 %21 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 %22 = call i64 @do_execve_test(ptr noundef @.str.6, ptr noundef %21, ptr noundef null, i32 noundef 1) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %19 br label %33 25: ; preds = %19 store ptr @.str.7, ptr %10, align 8 %26 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 store ptr @.str.8, ptr %26, align 16 %27 = getelementptr inbounds [2 x ptr], ptr %11, i64 0, i64 0 %28 = call i64 @do_execve_test(ptr noundef @.str.9, ptr noundef %27, ptr noundef null, i32 noundef 1) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %25 br label %33 31: ; preds = %25 %32 = call i32 @sleep(i32 noundef 4) store i32 0, ptr %3, align 4 br label %40 33: ; preds = %30, %24, %18 %34 = load ptr, ptr %10, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load ptr, ptr %10, align 8 %38 = call i32 @printf(ptr noundef @.str.10, ptr noundef %37) br label %39 39: ; preds = %36, %33 store i32 -1, ptr %3, align 4 br label %40 40: ; preds = %39, %31 %41 = load i32, ptr %3, align 4 ret i32 %41 } ; 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 @get_bits(...) #2 declare i64 @do_execve_test(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @sleep(i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpnyybyskm.c' source_filename = "/tmp/tmpnyybyskm.c" target datalayout = "e-m:e-p270: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 [272 x i8] c"\0A\0AUsage: %s [OPTION(S)] <hostname>\0A\0AChoose 1(ONE) or BOTH option(s) to run server in the desired mode\0A -r perform registration commands with\0A Directory Server : apollo.cselabs.umn.edu:9080\0A -f recieve file(s) sent by client(s)\0A\0ATHANK YOU TRY AGAIN:)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usageErr(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) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnyybyskm.c" target datalayout = "e-m:e-p270: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 [272 x i8] c"\0A\0AUsage: %s [OPTION(S)] <hostname>\0A\0AChoose 1(ONE) or BOTH option(s) to run server in the desired mode\0A -r perform registration commands with\0A Directory Server : apollo.cselabs.umn.edu:9080\0A -f recieve file(s) sent by client(s)\0A\0ATHANK YOU TRY AGAIN:)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usageErr(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) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx7rjnffw.c' source_filename = "/tmp/tmpx7rjnffw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_vsnprintf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i64, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = call i32 @vsnprintf(ptr noundef %10, i64 noundef %11, ptr noundef %12, i32 noundef %13) store i32 %14, ptr %9, align 4 %15 = load i64, ptr %6, align 8 %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %4 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %6, align 8 %20 = sub i64 %19, 1 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 0, ptr %21, align 1 br label %22 22: ; preds = %17, %4 %23 = load i32, ptr %9, align 4 %24 = load i64, ptr %6, align 8 %25 = trunc i64 %24 to i32 %26 = icmp sge i32 %23, %25 br i1 %26, label %30, label %27 27: ; preds = %22 %28 = load i32, ptr %9, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27, %22 br label %33 31: ; preds = %27 %32 = load i32, ptr %9, align 4 br label %33 33: ; preds = %31, %30 %34 = phi i32 [ -1, %30 ], [ %32, %31 ] ret i32 %34 } declare i32 @vsnprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx7rjnffw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_vsnprintf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i64, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = call i32 @vsnprintf(ptr noundef %10, i64 noundef %11, ptr noundef %12, i32 noundef %13) store i32 %14, ptr %9, align 4 %15 = load i64, ptr %6, align 8 %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %4 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %6, align 8 %20 = sub i64 %19, 1 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 0, ptr %21, align 1 br label %22 22: ; preds = %17, %4 %23 = load i32, ptr %9, align 4 %24 = load i64, ptr %6, align 8 %25 = trunc i64 %24 to i32 %26 = icmp sge i32 %23, %25 br i1 %26, label %30, label %27 27: ; preds = %22 %28 = load i32, ptr %9, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27, %22 br label %33 31: ; preds = %27 %32 = load i32, ptr %9, align 4 br label %33 33: ; preds = %31, %30 %34 = phi i32 [ -1, %30 ], [ %32, %31 ] ret i32 %34 } declare i32 @vsnprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmjmucf2u.c' source_filename = "/tmp/tmpmjmucf2u.c" target datalayout = "e-m:e-p270: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/tmpmjmucf2u.c" target datalayout = "e-m:e-p270: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/tmp5fupscdb.c' source_filename = "/tmp/tmp5fupscdb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_move_mount(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = load ptr, ptr %9, align 8 %15 = load i32, ptr %10, align 4 %16 = call i32 @shim_enosys(i32 noundef 0, i32 noundef %11, ptr noundef %12, i32 noundef %13, ptr noundef %14, i32 noundef %15) ret i32 %16 } declare i32 @shim_enosys(i32 noundef, i32 noundef, 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/tmp5fupscdb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_move_mount(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = load ptr, ptr %9, align 8 %15 = load i32, ptr %10, align 4 %16 = call i32 @shim_enosys(i32 noundef 0, i32 noundef %11, ptr noundef %12, i32 noundef %13, ptr noundef %14, i32 noundef %15) ret i32 %16 } declare i32 @shim_enosys(i32 noundef, i32 noundef, 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/tmp8k2_b062.c' source_filename = "/tmp/tmp8k2_b062.c" target datalayout = "e-m:e-p270: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/tmp8k2_b062.c" target datalayout = "e-m:e-p270: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/tmpyhh8mmq1.c' source_filename = "/tmp/tmpyhh8mmq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_int4_array(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = mul nsw i32 4, %9 %11 = call i32 @write(i32 noundef %7, ptr noundef %8, i32 noundef %10) %12 = sdiv i32 %11, 4 ret i32 %12 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyhh8mmq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_int4_array(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = mul nsw i32 4, %9 %11 = call i32 @write(i32 noundef %7, ptr noundef %8, i32 noundef %10) %12 = sdiv i32 %11, 4 ret i32 %12 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqxnjjo7b.c' source_filename = "/tmp/tmpqxnjjo7b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @DispositionSimpleR(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 store i64 %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store i64 %4, ptr %13, align 8 store i64 %5, ptr %14, align 8 store i64 %6, ptr %15, align 8 %17 = load i64, ptr %9, align 8 %18 = load i64, ptr %14, align 8 %19 = icmp uge i64 %17, %18 br i1 %19, label %20, label %38 20: ; preds = %7 store i64 0, ptr %16, align 8 br label %21 21: ; preds = %31, %20 %22 = load i64, ptr %16, align 8 %23 = load i64, ptr %14, align 8 %24 = icmp ult i64 %22, %23 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load ptr, ptr %11, align 8 %27 = load i64, ptr %16, align 8 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29) br label %31 31: ; preds = %25 %32 = load i64, ptr %16, align 8 %33 = add i64 %32, 1 store i64 %33, ptr %16, align 8 br label %21, !llvm.loop !6 34: ; preds = %21 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %36 = load i64, ptr %15, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %8, align 8 br label %78 38: ; preds = %7 store i64 0, ptr %16, align 8 br label %39 39: ; preds = %73, %38 %40 = load i64, ptr %16, align 8 %41 = load i64, ptr %13, align 8 %42 = icmp ult i64 %40, %41 br i1 %42, label %43, label %76 43: ; preds = %39 %44 = load ptr, ptr %12, align 8 %45 = load i64, ptr %16, align 8 %46 = getelementptr inbounds i64, ptr %44, i64 %45 %47 = load i64, ptr %46, align 8 %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %72 49: ; preds = %43 %50 = load ptr, ptr %12, align 8 %51 = load i64, ptr %16, align 8 %52 = getelementptr inbounds i64, ptr %50, i64 %51 store i64 1, ptr %52, align 8 %53 = load ptr, ptr %10, align 8 %54 = load i64, ptr %16, align 8 %55 = getelementptr inbounds i32, ptr %53, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load ptr, ptr %11, align 8 %58 = load i64, ptr %9, align 8 %59 = getelementptr inbounds i32, ptr %57, i64 %58 store i32 %56, ptr %59, align 4 %60 = load i64, ptr %9, align 8 %61 = add i64 %60, 1 %62 = load ptr, ptr %10, align 8 %63 = load ptr, ptr %11, align 8 %64 = load ptr, ptr %12, align 8 %65 = load i64, ptr %13, align 8 %66 = load i64, ptr %14, align 8 %67 = load i64, ptr %15, align 8 %68 = call i64 @DispositionSimpleR(i64 noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64, i64 noundef %65, i64 noundef %66, i64 noundef %67) store i64 %68, ptr %15, align 8 %69 = load ptr, ptr %12, align 8 %70 = load i64, ptr %16, align 8 %71 = getelementptr inbounds i64, ptr %69, i64 %70 store i64 0, ptr %71, align 8 br label %72 72: ; preds = %49, %43 br label %73 73: ; preds = %72 %74 = load i64, ptr %16, align 8 %75 = add i64 %74, 1 store i64 %75, ptr %16, align 8 br label %39, !llvm.loop !8 76: ; preds = %39 %77 = load i64, ptr %15, align 8 store i64 %77, ptr %8, align 8 br label %78 78: ; preds = %76, %34 %79 = load i64, ptr %8, align 8 ret i64 %79 } 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/tmpqxnjjo7b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @DispositionSimpleR(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 store i64 %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store i64 %4, ptr %13, align 8 store i64 %5, ptr %14, align 8 store i64 %6, ptr %15, align 8 %17 = load i64, ptr %9, align 8 %18 = load i64, ptr %14, align 8 %19 = icmp uge i64 %17, %18 br i1 %19, label %20, label %40 20: ; preds = %7 store i64 0, ptr %16, align 8 %21 = load i64, ptr %16, align 8 %22 = load i64, ptr %14, align 8 %23 = icmp ult i64 %21, %22 br i1 %23, label %.lr.ph2, label %36 .lr.ph2: ; preds = %20 br label %24 24: ; preds = %.lr.ph2, %30 %25 = load ptr, ptr %11, align 8 %26 = load i64, ptr %16, align 8 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = load i32, ptr %27, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28) br label %30 30: ; preds = %24 %31 = load i64, ptr %16, align 8 %32 = add i64 %31, 1 store i64 %32, ptr %16, align 8 %33 = load i64, ptr %16, align 8 %34 = load i64, ptr %14, align 8 %35 = icmp ult i64 %33, %34 br i1 %35, label %24, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %30 br label %36 36: ; preds = %._crit_edge3, %20 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %38 = load i64, ptr %15, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %8, align 8 br label %82 40: ; preds = %7 store i64 0, ptr %16, align 8 %41 = load i64, ptr %16, align 8 %42 = load i64, ptr %13, align 8 %43 = icmp ult i64 %41, %42 br i1 %43, label %.lr.ph, label %80 .lr.ph: ; preds = %40 br label %44 44: ; preds = %.lr.ph, %74 %45 = load ptr, ptr %12, align 8 %46 = load i64, ptr %16, align 8 %47 = getelementptr inbounds i64, ptr %45, i64 %46 %48 = load i64, ptr %47, align 8 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %73 50: ; preds = %44 %51 = load ptr, ptr %12, align 8 %52 = load i64, ptr %16, align 8 %53 = getelementptr inbounds i64, ptr %51, i64 %52 store i64 1, ptr %53, align 8 %54 = load ptr, ptr %10, align 8 %55 = load i64, ptr %16, align 8 %56 = getelementptr inbounds i32, ptr %54, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load ptr, ptr %11, align 8 %59 = load i64, ptr %9, align 8 %60 = getelementptr inbounds i32, ptr %58, i64 %59 store i32 %57, ptr %60, align 4 %61 = load i64, ptr %9, align 8 %62 = add i64 %61, 1 %63 = load ptr, ptr %10, align 8 %64 = load ptr, ptr %11, align 8 %65 = load ptr, ptr %12, align 8 %66 = load i64, ptr %13, align 8 %67 = load i64, ptr %14, align 8 %68 = load i64, ptr %15, align 8 %69 = call i64 @DispositionSimpleR(i64 noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %65, i64 noundef %66, i64 noundef %67, i64 noundef %68) store i64 %69, ptr %15, align 8 %70 = load ptr, ptr %12, align 8 %71 = load i64, ptr %16, align 8 %72 = getelementptr inbounds i64, ptr %70, i64 %71 store i64 0, ptr %72, align 8 br label %73 73: ; preds = %50, %44 br label %74 74: ; preds = %73 %75 = load i64, ptr %16, align 8 %76 = add i64 %75, 1 store i64 %76, ptr %16, align 8 %77 = load i64, ptr %16, align 8 %78 = load i64, ptr %13, align 8 %79 = icmp ult i64 %77, %78 br i1 %79, label %44, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %74 br label %80 80: ; preds = %._crit_edge, %40 %81 = load i64, ptr %15, align 8 store i64 %81, ptr %8, align 8 br label %82 82: ; preds = %80, %36 %83 = load i64, ptr %8, align 8 ret i64 %83 } 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/tmpw6ncih5o.c' source_filename = "/tmp/tmpw6ncih5o.c" target datalayout = "e-m:e-p270: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/tmpw6ncih5o.c" target datalayout = "e-m:e-p270: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/tmp7wh6eu01.c' source_filename = "/tmp/tmp7wh6eu01.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"STP\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stop() #0 { %1 = call i32 @writeCommand(ptr noundef @.str) ret void } declare i32 @writeCommand(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7wh6eu01.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"STP\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stop() #0 { %1 = call i32 @writeCommand(ptr noundef @.str) ret void } declare i32 @writeCommand(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8t_fnnel.c' source_filename = "/tmp/tmp8t_fnnel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @__builtin_arc_mulu64(i32 noundef %5, i32 noundef %6) ret void } declare i32 @__builtin_arc_mulu64(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/tmp8t_fnnel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @__builtin_arc_mulu64(i32 noundef %5, i32 noundef %6) ret void } declare i32 @__builtin_arc_mulu64(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/tmpkqb51fk9.c' source_filename = "/tmp/tmpkqb51fk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @random_matrix(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 br label %9 9: ; preds = %35, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %38 13: ; preds = %9 store i32 0, ptr %8, align 4 br label %14 14: ; preds = %31, %13 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %34 18: ; preds = %14 %19 = call double (...) @rand() %20 = load i64, ptr @RAND_MAX, align 8 %21 = sitofp i64 %20 to double %22 = fdiv double %19, %21 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = mul nsw i32 %24, %25 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %26, %27 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %23, i64 %29 store double %22, ptr %30, align 8 br label %31 31: ; preds = %18 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %8, align 4 br label %14, !llvm.loop !6 34: ; preds = %14 br label %35 35: ; preds = %34 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %9, !llvm.loop !8 38: ; preds = %9 ret void } declare double @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkqb51fk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @random_matrix(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 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %42 .lr.ph2: ; preds = %3 br label %12 12: ; preds = %.lr.ph2, %36 store i32 0, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %35 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %29 %17 = call double (...) @rand() %18 = load i64, ptr @RAND_MAX, align 8 %19 = sitofp i64 %18 to double %20 = fdiv double %17, %19 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %6, align 4 %24 = mul nsw i32 %22, %23 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %24, %25 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %21, i64 %27 store double %20, ptr %28, align 8 br label %29 29: ; preds = %16 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %12 br label %36 36: ; preds = %35 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %42 42: ; preds = %._crit_edge3, %3 ret void } declare double @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpab_d8jla.c' source_filename = "/tmp/tmpab_d8jla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c" live pointer addr=%p, val=%p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printptrs(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %5, ptr noundef %7) ret void } declare i32 @printf(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/tmpab_d8jla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c" live pointer addr=%p, val=%p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printptrs(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %5, ptr noundef %7) ret void } declare i32 @printf(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/tmppq5os0uc.c' source_filename = "/tmp/tmppq5os0uc.c" target datalayout = "e-m:e-p270: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/tmppq5os0uc.c" target datalayout = "e-m:e-p270: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/tmp8p6zuaoz.c' source_filename = "/tmp/tmp8p6zuaoz.c" target datalayout = "e-m:e-p270: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/tmp8p6zuaoz.c" target datalayout = "e-m:e-p270: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/tmp4lifc31d.c' source_filename = "/tmp/tmp4lifc31d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%f\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 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = load double, ptr %3, align 8 %6 = fcmp ogt double %5, 1.500000e+01 br i1 %6, label %7, label %8 7: ; preds = %0 store double 9.000000e+00, ptr %2, align 8 br label %19 8: ; preds = %0 %9 = load double, ptr %3, align 8 %10 = fcmp ole double %9, 5.000000e+00 br i1 %10, label %11, label %12 11: ; preds = %8 store double 1.000000e+00, ptr %2, align 8 br label %18 12: ; preds = %8 %13 = load double, ptr %3, align 8 %14 = fadd double %13, 1.815000e-01 %15 = call double @pow(double noundef %14, i32 noundef 2) %16 = call double @llvm.fmuladd.f64(double 3.869000e-04, double %15, double 1.081000e-02) %17 = fdiv double 1.000000e+00, %16 store double %17, ptr %2, align 8 br label %18 18: ; preds = %12, %11 br label %19 19: ; preds = %18, %7 %20 = load double, ptr %2, align 8 %21 = call i32 @printf(ptr noundef @.str.1, double noundef %20) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4lifc31d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%f\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 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = load double, ptr %3, align 8 %6 = fcmp ogt double %5, 1.500000e+01 br i1 %6, label %7, label %8 7: ; preds = %0 store double 9.000000e+00, ptr %2, align 8 br label %19 8: ; preds = %0 %9 = load double, ptr %3, align 8 %10 = fcmp ole double %9, 5.000000e+00 br i1 %10, label %11, label %12 11: ; preds = %8 store double 1.000000e+00, ptr %2, align 8 br label %18 12: ; preds = %8 %13 = load double, ptr %3, align 8 %14 = fadd double %13, 1.815000e-01 %15 = call double @pow(double noundef %14, i32 noundef 2) %16 = call double @llvm.fmuladd.f64(double 3.869000e-04, double %15, double 1.081000e-02) %17 = fdiv double 1.000000e+00, %16 store double %17, ptr %2, align 8 br label %18 18: ; preds = %12, %11 br label %19 19: ; preds = %18, %7 %20 = load double, ptr %2, align 8 %21 = call i32 @printf(ptr noundef @.str.1, double noundef %20) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu3e6mvw3.c' source_filename = "/tmp/tmpu3e6mvw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vlogical_imm_and24_int32_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %21, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %24 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = and i32 %15, 24 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 store i32 %16, ptr %20, align 4 br label %21 21: ; preds = %10 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu3e6mvw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vlogical_imm_and24_int32_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %20 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = and i32 %14, 24 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 %15, ptr %19, align 4 br label %20 20: ; preds = %9 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6g6zwngy.c' source_filename = "/tmp/tmp6g6zwngy.c" target datalayout = "e-m:e-p270: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/tmp6g6zwngy.c" target datalayout = "e-m:e-p270: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/tmp1k_e99z2.c' source_filename = "/tmp/tmp1k_e99z2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"Lines :%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Tabs :%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Spaces :%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %28, %0 %7 = call i32 (...) @getchar() store i32 %7, ptr %3, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %29 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 10 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %16 16: ; preds = %13, %10 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %17, 9 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %19, %16 %23 = load i32, ptr %3, align 4 %24 = icmp eq i32 %23, 32 br i1 %24, label %25, label %28 25: ; preds = %22 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %28 28: ; preds = %25, %22 br label %6, !llvm.loop !6 29: ; preds = %6 %30 = load i32, ptr %2, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %30) %32 = load i32, ptr %5, align 4 %33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32) %34 = load i32, ptr %4, align 4 %35 = call i32 @printf(ptr noundef @.str.2, i32 noundef %34) ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1k_e99z2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"Lines :%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Tabs :%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Spaces :%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %6 = call i32 (...) @getchar() store i32 %6, ptr %3, align 4 %7 = load i32, ptr @EOF, align 4 %8 = icmp ne i32 %6, %7 br i1 %8, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %27 %10 = load i32, ptr %3, align 4 %11 = icmp eq i32 %10, 10 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %12, %9 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %16, 9 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %21 21: ; preds = %18, %15 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %22, 32 br i1 %23, label %24, label %27 24: ; preds = %21 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 br label %27 27: ; preds = %24, %21 %28 = call i32 (...) @getchar() store i32 %28, ptr %3, align 4 %29 = load i32, ptr @EOF, align 4 %30 = icmp ne i32 %28, %29 br i1 %30, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %31 31: ; preds = %._crit_edge, %0 %32 = load i32, ptr %2, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = load i32, ptr %5, align 4 %35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34) %36 = load i32, ptr %4, align 4 %37 = call i32 @printf(ptr noundef @.str.2, i32 noundef %36) ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdbn47ocf.c' source_filename = "/tmp/tmpdbn47ocf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"/lick\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_config_path() #0 { %1 = call ptr @strdup2(ptr noundef @.str) ret ptr %1 } declare ptr @strdup2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdbn47ocf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"/lick\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_config_path() #0 { %1 = call ptr @strdup2(ptr noundef @.str) ret ptr %1 } declare ptr @strdup2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj00yw3_8.c' source_filename = "/tmp/tmpj00yw3_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" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @I2CRebootQuick() #0 { %1 = call i32 @WriteToSMBus(i32 noundef 16, i32 noundef 2, i32 noundef 1, i32 noundef 1) br label %2 2: ; preds = %0, %2 br label %2 } declare i32 @WriteToSMBus(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj00yw3_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" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @I2CRebootQuick() #0 { %1 = call i32 @WriteToSMBus(i32 noundef 16, i32 noundef 2, i32 noundef 1, i32 noundef 1) br label %2 2: ; preds = %2, %0 br label %2 } declare i32 @WriteToSMBus(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"}
; ModuleID = '/tmp/tmpw9vh_8mo.c' source_filename = "/tmp/tmpw9vh_8mo.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"try unlink %s\0A\00", align 1 @EACCES = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlink(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 @EACCES, align 4 store i32 %6, ptr @errno, align 4 ret i32 -1 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw9vh_8mo.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"try unlink %s\0A\00", align 1 @EACCES = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlink(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 @EACCES, align 4 store i32 %6, ptr @errno, align 4 ret i32 -1 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr3zcbdm3.c' source_filename = "/tmp/tmpr3zcbdm3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"SSTL_c error %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @err_exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @exit(i32 noundef %5) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr3zcbdm3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"SSTL_c error %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @err_exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @exit(i32 noundef %5) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkffxi1kk.c' source_filename = "/tmp/tmpkffxi1kk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @fgetbit.buf = internal global i32 0, align 4 @fgetbit.shi = internal global i32 1, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fgetbit(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 @fgetbit.shi, align 4 %6 = icmp eq i32 %5, 1 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %7, %2 %11 = load ptr, ptr %3, align 8 %12 = call i32 @fgetc(ptr noundef %11) store i32 %12, ptr @fgetbit.buf, align 4 store i32 128, ptr @fgetbit.shi, align 4 br label %16 13: ; preds = %7 %14 = load i32, ptr @fgetbit.shi, align 4 %15 = ashr i32 %14, 1 store i32 %15, ptr @fgetbit.shi, align 4 br label %16 16: ; preds = %13, %10 %17 = load i32, ptr @fgetbit.buf, align 4 %18 = load i32, ptr @fgetbit.shi, align 4 %19 = and i32 %17, %18 %20 = icmp ne i32 %19, 0 %21 = zext i1 %20 to i64 %22 = select i1 %20, i32 1, i32 0 ret i32 %22 } declare i32 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkffxi1kk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @fgetbit.buf = internal global i32 0, align 4 @fgetbit.shi = internal global i32 1, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fgetbit(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 @fgetbit.shi, align 4 %6 = icmp eq i32 %5, 1 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %7, %2 %11 = load ptr, ptr %3, align 8 %12 = call i32 @fgetc(ptr noundef %11) store i32 %12, ptr @fgetbit.buf, align 4 store i32 128, ptr @fgetbit.shi, align 4 br label %16 13: ; preds = %7 %14 = load i32, ptr @fgetbit.shi, align 4 %15 = ashr i32 %14, 1 store i32 %15, ptr @fgetbit.shi, align 4 br label %16 16: ; preds = %13, %10 %17 = load i32, ptr @fgetbit.buf, align 4 %18 = load i32, ptr @fgetbit.shi, align 4 %19 = and i32 %17, %18 %20 = icmp ne i32 %19, 0 %21 = zext i1 %20 to i64 %22 = select i1 %20, i32 1, i32 0 ret i32 %22 } declare i32 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfs6_xxjy.c' source_filename = "/tmp/tmpfs6_xxjy.c" target datalayout = "e-m:e-p270: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/tmpfs6_xxjy.c" target datalayout = "e-m:e-p270: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/tmpgl5xvz9z.c' source_filename = "/tmp/tmpgl5xvz9z.c" target datalayout = "e-m:e-p270: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/tmpgl5xvz9z.c" target datalayout = "e-m:e-p270: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/tmpopc8u3xu.c' source_filename = "/tmp/tmpopc8u3xu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"%s%s%s%s%s%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printLine7(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca [56 x i8], align 16 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 56, i1 false) %16 = getelementptr inbounds [56 x i8], ptr %15, i64 0, i64 0 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %13, align 8 %19 = load ptr, ptr %10, align 8 %20 = load ptr, ptr %13, align 8 %21 = load ptr, ptr %11, align 8 %22 = load ptr, ptr %13, align 8 %23 = load ptr, ptr %12, align 8 %24 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23) %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds [56 x i8], ptr %15, i64 0, i64 0 %27 = load ptr, ptr %14, align 8 %28 = call i32 @printLine3(ptr noundef %25, ptr noundef %26, ptr noundef %27) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printLine3(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpopc8u3xu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"%s%s%s%s%s%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printLine7(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca [56 x i8], align 16 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 56, i1 false) %16 = getelementptr inbounds [56 x i8], ptr %15, i64 0, i64 0 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %13, align 8 %19 = load ptr, ptr %10, align 8 %20 = load ptr, ptr %13, align 8 %21 = load ptr, ptr %11, align 8 %22 = load ptr, ptr %13, align 8 %23 = load ptr, ptr %12, align 8 %24 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23) %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds [56 x i8], ptr %15, i64 0, i64 0 %27 = load ptr, ptr %14, align 8 %28 = call i32 @printLine3(ptr noundef %25, ptr noundef %26, ptr noundef %27) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printLine3(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph5zcd8s4.c' source_filename = "/tmp/tmph5zcd8s4.c" target datalayout = "e-m:e-p270: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 [35 x i8] c"ERR: b64dec illegal char detected\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"ERR: b64dec illegal file format\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"ERR: b64dec illegal padding position\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @b64dec(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %9 = call ptr @malloc(i32 noundef 4) store ptr %9, ptr %7, align 8 %10 = call ptr @malloc(i32 noundef 3) store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %295, %1 %12 = load ptr, ptr %2, align 8 %13 = call i32 @feof(ptr noundef %12) %14 = icmp ne i32 %13, 0 %15 = xor i1 %14, true br i1 %15, label %16, label %296 16: ; preds = %11 %17 = load ptr, ptr %7, align 8 %18 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 4) %19 = load ptr, ptr %8, align 8 %20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 3) %21 = load ptr, ptr %7, align 8 %22 = load ptr, ptr %2, align 8 %23 = call i32 @b64read(ptr noundef %21, i8 noundef signext 100, i32 noundef 4, ptr noundef %22) store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %36 26: ; preds = %16 %27 = load i32, ptr @stderr, align 4 %28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str) %29 = load ptr, ptr %7, align 8 %30 = call i32 @free(ptr noundef %29) %31 = load ptr, ptr %8, align 8 %32 = call i32 @free(ptr noundef %31) %33 = load ptr, ptr %2, align 8 %34 = call i32 @fclose(ptr noundef %33) %35 = call i32 @exit(i32 noundef -1) #3 unreachable 36: ; preds = %16 %37 = load i32, ptr %4, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %36 br label %296 40: ; preds = %36 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %41, 4 br i1 %42, label %43, label %53 43: ; preds = %40 %44 = load i32, ptr @stderr, align 4 %45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.1) %46 = load ptr, ptr %7, align 8 %47 = call i32 @free(ptr noundef %46) %48 = load ptr, ptr %8, align 8 %49 = call i32 @free(ptr noundef %48) %50 = load ptr, ptr %2, align 8 %51 = call i32 @fclose(ptr noundef %50) %52 = call i32 @exit(i32 noundef -1) #3 unreachable 53: ; preds = %40 br label %54 54: ; preds = %53 br label %55 55: ; preds = %54 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 0 %58 = load i8, ptr %57, align 1 %59 = zext i8 %58 to i32 %60 = icmp eq i32 %59, 61 br i1 %60, label %70, label %61 61: ; preds = %55 %62 = load ptr, ptr %7, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 1 %64 = load i8, ptr %63, align 1 %65 = zext i8 %64 to i32 %66 = icmp eq i32 %65, 61 br i1 %66, label %70, label %67 67: ; preds = %61 %68 = load i32, ptr %5, align 4 %69 = icmp eq i32 %68, 1 br i1 %69, label %70, label %80 70: ; preds = %67, %61, %55 %71 = load i32, ptr @stderr, align 4 %72 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %71, ptr noundef @.str.2) %73 = load ptr, ptr %7, align 8 %74 = call i32 @free(ptr noundef %73) %75 = load ptr, ptr %8, align 8 %76 = call i32 @free(ptr noundef %75) %77 = load ptr, ptr %2, align 8 %78 = call i32 @fclose(ptr noundef %77) %79 = call i32 @exit(i32 noundef -1) #3 unreachable 80: ; preds = %67 store i32 0, ptr %6, align 4 %81 = load ptr, ptr %7, align 8 %82 = getelementptr inbounds i8, ptr %81, i64 2 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = icmp eq i32 %84, 61 br i1 %85, label %86, label %97 86: ; preds = %80 %87 = load ptr, ptr %7, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 3 %89 = load i8, ptr %88, align 1 %90 = zext i8 %89 to i32 %91 = icmp eq i32 %90, 61 br i1 %91, label %92, label %97 92: ; preds = %86 %93 = load ptr, ptr %7, align 8 %94 = getelementptr inbounds i8, ptr %93, i64 2 store i8 0, ptr %94, align 1 %95 = load ptr, ptr %7, align 8 %96 = getelementptr inbounds i8, ptr %95, i64 3 store i8 0, ptr %96, align 1 store i32 2, ptr %6, align 4 store i32 1, ptr %5, align 4 br label %107 97: ; preds = %86, %80 %98 = load ptr, ptr %7, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 3 %100 = load i8, ptr %99, align 1 %101 = zext i8 %100 to i32 %102 = icmp eq i32 %101, 61 br i1 %102, label %103, label %106 103: ; preds = %97 %104 = load ptr, ptr %7, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 3 store i8 0, ptr %105, align 1 store i32 1, ptr %6, align 4 br label %106 106: ; preds = %103, %97 br label %107 107: ; preds = %106, %92 store i32 0, ptr %3, align 4 br label %108 108: ; preds = %231, %107 %109 = load i32, ptr %3, align 4 %110 = load i32, ptr %6, align 4 %111 = sub nsw i32 4, %110 %112 = icmp slt i32 %109, %111 br i1 %112, label %113, label %234 113: ; preds = %108 %114 = load ptr, ptr %7, align 8 %115 = load i32, ptr %3, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr %114, i64 %116 %118 = load i8, ptr %117, align 1 %119 = zext i8 %118 to i32 %120 = icmp sge i32 %119, 65 br i1 %120, label %121, label %142 121: ; preds = %113 %122 = load ptr, ptr %7, align 8 %123 = load i32, ptr %3, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %122, i64 %124 %126 = load i8, ptr %125, align 1 %127 = zext i8 %126 to i32 %128 = icmp sle i32 %127, 90 br i1 %128, label %129, label %142 129: ; preds = %121 %130 = load ptr, ptr %7, align 8 %131 = load i32, ptr %3, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i8, ptr %130, i64 %132 %134 = load i8, ptr %133, align 1 %135 = zext i8 %134 to i32 %136 = sub nsw i32 %135, 65 %137 = trunc i32 %136 to i8 %138 = load ptr, ptr %7, align 8 %139 = load i32, ptr %3, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i8, ptr %138, i64 %140 store i8 %137, ptr %141, align 1 br label %230 142: ; preds = %121, %113 %143 = load ptr, ptr %7, align 8 %144 = load i32, ptr %3, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds i8, ptr %143, i64 %145 %147 = load i8, ptr %146, align 1 %148 = zext i8 %147 to i32 %149 = icmp sge i32 %148, 97 br i1 %149, label %150, label %171 150: ; preds = %142 %151 = load ptr, ptr %7, align 8 %152 = load i32, ptr %3, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds i8, ptr %151, i64 %153 %155 = load i8, ptr %154, align 1 %156 = zext i8 %155 to i32 %157 = icmp sle i32 %156, 122 br i1 %157, label %158, label %171 158: ; preds = %150 %159 = load ptr, ptr %7, align 8 %160 = load i32, ptr %3, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %159, i64 %161 %163 = load i8, ptr %162, align 1 %164 = zext i8 %163 to i32 %165 = sub nsw i32 %164, 71 %166 = trunc i32 %165 to i8 %167 = load ptr, ptr %7, align 8 %168 = load i32, ptr %3, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i8, ptr %167, i64 %169 store i8 %166, ptr %170, align 1 br label %229 171: ; preds = %150, %142 %172 = load ptr, ptr %7, align 8 %173 = load i32, ptr %3, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds i8, ptr %172, i64 %174 %176 = load i8, ptr %175, align 1 %177 = zext i8 %176 to i32 %178 = icmp sge i32 %177, 48 br i1 %178, label %179, label %200 179: ; preds = %171 %180 = load ptr, ptr %7, align 8 %181 = load i32, ptr %3, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i8, ptr %180, i64 %182 %184 = load i8, ptr %183, align 1 %185 = zext i8 %184 to i32 %186 = icmp sle i32 %185, 57 br i1 %186, label %187, label %200 187: ; preds = %179 %188 = load ptr, ptr %7, align 8 %189 = load i32, ptr %3, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds i8, ptr %188, i64 %190 %192 = load i8, ptr %191, align 1 %193 = zext i8 %192 to i32 %194 = add nsw i32 %193, 4 %195 = trunc i32 %194 to i8 %196 = load ptr, ptr %7, align 8 %197 = load i32, ptr %3, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds i8, ptr %196, i64 %198 store i8 %195, ptr %199, align 1 br label %228 200: ; preds = %179, %171 %201 = load ptr, ptr %7, align 8 %202 = load i32, ptr %3, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds i8, ptr %201, i64 %203 %205 = load i8, ptr %204, align 1 %206 = zext i8 %205 to i32 %207 = icmp eq i32 %206, 43 br i1 %207, label %208, label %213 208: ; preds = %200 %209 = load ptr, ptr %7, align 8 %210 = load i32, ptr %3, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds i8, ptr %209, i64 %211 store i8 62, ptr %212, align 1 br label %227 213: ; preds = %200 %214 = load ptr, ptr %7, align 8 %215 = load i32, ptr %3, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds i8, ptr %214, i64 %216 %218 = load i8, ptr %217, align 1 %219 = zext i8 %218 to i32 %220 = icmp eq i32 %219, 47 br i1 %220, label %221, label %226 221: ; preds = %213 %222 = load ptr, ptr %7, align 8 %223 = load i32, ptr %3, align 4 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds i8, ptr %222, i64 %224 store i8 63, ptr %225, align 1 br label %226 226: ; preds = %221, %213 br label %227 227: ; preds = %226, %208 br label %228 228: ; preds = %227, %187 br label %229 229: ; preds = %228, %158 br label %230 230: ; preds = %229, %129 br label %231 231: ; preds = %230 %232 = load i32, ptr %3, align 4 %233 = add nsw i32 %232, 1 store i32 %233, ptr %3, align 4 br label %108, !llvm.loop !6 234: ; preds = %108 %235 = load ptr, ptr %7, align 8 %236 = getelementptr inbounds i8, ptr %235, i64 0 %237 = load i8, ptr %236, align 1 %238 = zext i8 %237 to i32 %239 = shl i32 %238, 2 %240 = load ptr, ptr %7, align 8 %241 = getelementptr inbounds i8, ptr %240, i64 1 %242 = load i8, ptr %241, align 1 %243 = zext i8 %242 to i32 %244 = ashr i32 %243, 4 %245 = or i32 %239, %244 %246 = trunc i32 %245 to i8 %247 = load ptr, ptr %8, align 8 %248 = getelementptr inbounds i8, ptr %247, i64 0 store i8 %246, ptr %248, align 1 %249 = load ptr, ptr %7, align 8 %250 = getelementptr inbounds i8, ptr %249, i64 1 %251 = load i8, ptr %250, align 1 %252 = zext i8 %251 to i32 %253 = and i32 %252, 15 %254 = shl i32 %253, 4 %255 = load ptr, ptr %7, align 8 %256 = getelementptr inbounds i8, ptr %255, i64 2 %257 = load i8, ptr %256, align 1 %258 = zext i8 %257 to i32 %259 = ashr i32 %258, 2 %260 = or i32 %254, %259 %261 = trunc i32 %260 to i8 %262 = load ptr, ptr %8, align 8 %263 = getelementptr inbounds i8, ptr %262, i64 1 store i8 %261, ptr %263, align 1 %264 = load ptr, ptr %7, align 8 %265 = getelementptr inbounds i8, ptr %264, i64 2 %266 = load i8, ptr %265, align 1 %267 = zext i8 %266 to i32 %268 = and i32 %267, 3 %269 = shl i32 %268, 6 %270 = load ptr, ptr %7, align 8 %271 = getelementptr inbounds i8, ptr %270, i64 3 %272 = load i8, ptr %271, align 1 %273 = zext i8 %272 to i32 %274 = or i32 %269, %273 %275 = trunc i32 %274 to i8 %276 = load ptr, ptr %8, align 8 %277 = getelementptr inbounds i8, ptr %276, i64 2 store i8 %275, ptr %277, align 1 store i32 0, ptr %3, align 4 br label %278 278: ; preds = %292, %234 %279 = load i32, ptr %3, align 4 %280 = load i32, ptr %6, align 4 %281 = sub nsw i32 3, %280 %282 = icmp slt i32 %279, %281 br i1 %282, label %283, label %295 283: ; preds = %278 %284 = load i32, ptr @stdout, align 4 %285 = load ptr, ptr %8, align 8 %286 = load i32, ptr %3, align 4 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds i8, ptr %285, i64 %287 %289 = load i8, ptr %288, align 1 %290 = zext i8 %289 to i32 %291 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %284, ptr noundef @.str.3, i32 noundef %290) br label %292 292: ; preds = %283 %293 = load i32, ptr %3, align 4 %294 = add nsw i32 %293, 1 store i32 %294, ptr %3, align 4 br label %278, !llvm.loop !8 295: ; preds = %278 br label %11, !llvm.loop !9 296: ; preds = %39, %11 %297 = load ptr, ptr %7, align 8 %298 = call i32 @free(ptr noundef %297) %299 = load ptr, ptr %8, align 8 %300 = call i32 @free(ptr noundef %299) %301 = load ptr, ptr %2, align 8 %302 = call i32 @fclose(ptr noundef %301) ret i32 1 } declare ptr @malloc(i32 noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @b64read(ptr noundef, i8 noundef signext, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph5zcd8s4.c" target datalayout = "e-m:e-p270: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 [35 x i8] c"ERR: b64dec illegal char detected\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"ERR: b64dec illegal file format\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"ERR: b64dec illegal padding position\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @b64dec(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %9 = call ptr @malloc(i32 noundef 4) store ptr %9, ptr %7, align 8 %10 = call ptr @malloc(i32 noundef 3) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @feof(ptr noundef %11) %13 = icmp ne i32 %12, 0 %14 = xor i1 %13, true br i1 %14, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %1 br label %15 15: ; preds = %.lr.ph5, %300 %16 = load ptr, ptr %7, align 8 %17 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef 4) %18 = load ptr, ptr %8, align 8 %19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 3) %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %2, align 8 %22 = call i32 @b64read(ptr noundef %20, i8 noundef signext 100, i32 noundef 4, ptr noundef %21) store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %35 25: ; preds = %15 %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str) %28 = load ptr, ptr %7, align 8 %29 = call i32 @free(ptr noundef %28) %30 = load ptr, ptr %8, align 8 %31 = call i32 @free(ptr noundef %30) %32 = load ptr, ptr %2, align 8 %33 = call i32 @fclose(ptr noundef %32) %34 = call i32 @exit(i32 noundef -1) #3 unreachable 35: ; preds = %15 %36 = load i32, ptr %4, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %35 br label %305 39: ; preds = %35 %40 = load i32, ptr %4, align 4 %41 = icmp slt i32 %40, 4 br i1 %41, label %42, label %52 42: ; preds = %39 %43 = load i32, ptr @stderr, align 4 %44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.1) %45 = load ptr, ptr %7, align 8 %46 = call i32 @free(ptr noundef %45) %47 = load ptr, ptr %8, align 8 %48 = call i32 @free(ptr noundef %47) %49 = load ptr, ptr %2, align 8 %50 = call i32 @fclose(ptr noundef %49) %51 = call i32 @exit(i32 noundef -1) #3 unreachable 52: ; preds = %39 br label %53 53: ; preds = %52 br label %54 54: ; preds = %53 %55 = load ptr, ptr %7, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 0 %57 = load i8, ptr %56, align 1 %58 = zext i8 %57 to i32 %59 = icmp eq i32 %58, 61 br i1 %59, label %69, label %60 60: ; preds = %54 %61 = load ptr, ptr %7, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 1 %63 = load i8, ptr %62, align 1 %64 = zext i8 %63 to i32 %65 = icmp eq i32 %64, 61 br i1 %65, label %69, label %66 66: ; preds = %60 %67 = load i32, ptr %5, align 4 %68 = icmp eq i32 %67, 1 br i1 %68, label %69, label %79 69: ; preds = %66, %60, %54 %70 = load i32, ptr @stderr, align 4 %71 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.2) %72 = load ptr, ptr %7, align 8 %73 = call i32 @free(ptr noundef %72) %74 = load ptr, ptr %8, align 8 %75 = call i32 @free(ptr noundef %74) %76 = load ptr, ptr %2, align 8 %77 = call i32 @fclose(ptr noundef %76) %78 = call i32 @exit(i32 noundef -1) #3 unreachable 79: ; preds = %66 store i32 0, ptr %6, align 4 %80 = load ptr, ptr %7, align 8 %81 = getelementptr inbounds i8, ptr %80, i64 2 %82 = load i8, ptr %81, align 1 %83 = zext i8 %82 to i32 %84 = icmp eq i32 %83, 61 br i1 %84, label %85, label %96 85: ; preds = %79 %86 = load ptr, ptr %7, align 8 %87 = getelementptr inbounds i8, ptr %86, i64 3 %88 = load i8, ptr %87, align 1 %89 = zext i8 %88 to i32 %90 = icmp eq i32 %89, 61 br i1 %90, label %91, label %96 91: ; preds = %85 %92 = load ptr, ptr %7, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 2 store i8 0, ptr %93, align 1 %94 = load ptr, ptr %7, align 8 %95 = getelementptr inbounds i8, ptr %94, i64 3 store i8 0, ptr %95, align 1 store i32 2, ptr %6, align 4 store i32 1, ptr %5, align 4 br label %106 96: ; preds = %85, %79 %97 = load ptr, ptr %7, align 8 %98 = getelementptr inbounds i8, ptr %97, i64 3 %99 = load i8, ptr %98, align 1 %100 = zext i8 %99 to i32 %101 = icmp eq i32 %100, 61 br i1 %101, label %102, label %105 102: ; preds = %96 %103 = load ptr, ptr %7, align 8 %104 = getelementptr inbounds i8, ptr %103, i64 3 store i8 0, ptr %104, align 1 store i32 1, ptr %6, align 4 br label %105 105: ; preds = %102, %96 br label %106 106: ; preds = %105, %91 store i32 0, ptr %3, align 4 %107 = load i32, ptr %3, align 4 %108 = load i32, ptr %6, align 4 %109 = sub nsw i32 4, %108 %110 = icmp slt i32 %107, %109 br i1 %110, label %.lr.ph, label %236 .lr.ph: ; preds = %106 br label %111 111: ; preds = %.lr.ph, %229 %112 = load ptr, ptr %7, align 8 %113 = load i32, ptr %3, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i8, ptr %112, i64 %114 %116 = load i8, ptr %115, align 1 %117 = zext i8 %116 to i32 %118 = icmp sge i32 %117, 65 br i1 %118, label %119, label %140 119: ; preds = %111 %120 = load ptr, ptr %7, align 8 %121 = load i32, ptr %3, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %120, i64 %122 %124 = load i8, ptr %123, align 1 %125 = zext i8 %124 to i32 %126 = icmp sle i32 %125, 90 br i1 %126, label %127, label %140 127: ; preds = %119 %128 = load ptr, ptr %7, align 8 %129 = load i32, ptr %3, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i8, ptr %128, i64 %130 %132 = load i8, ptr %131, align 1 %133 = zext i8 %132 to i32 %134 = sub nsw i32 %133, 65 %135 = trunc i32 %134 to i8 %136 = load ptr, ptr %7, align 8 %137 = load i32, ptr %3, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i8, ptr %136, i64 %138 store i8 %135, ptr %139, align 1 br label %228 140: ; preds = %119, %111 %141 = load ptr, ptr %7, align 8 %142 = load i32, ptr %3, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i8, ptr %141, i64 %143 %145 = load i8, ptr %144, align 1 %146 = zext i8 %145 to i32 %147 = icmp sge i32 %146, 97 br i1 %147, label %148, label %169 148: ; preds = %140 %149 = load ptr, ptr %7, align 8 %150 = load i32, ptr %3, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i8, ptr %149, i64 %151 %153 = load i8, ptr %152, align 1 %154 = zext i8 %153 to i32 %155 = icmp sle i32 %154, 122 br i1 %155, label %156, label %169 156: ; preds = %148 %157 = load ptr, ptr %7, align 8 %158 = load i32, ptr %3, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i8, ptr %157, i64 %159 %161 = load i8, ptr %160, align 1 %162 = zext i8 %161 to i32 %163 = sub nsw i32 %162, 71 %164 = trunc i32 %163 to i8 %165 = load ptr, ptr %7, align 8 %166 = load i32, ptr %3, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds i8, ptr %165, i64 %167 store i8 %164, ptr %168, align 1 br label %227 169: ; preds = %148, %140 %170 = load ptr, ptr %7, align 8 %171 = load i32, ptr %3, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds i8, ptr %170, i64 %172 %174 = load i8, ptr %173, align 1 %175 = zext i8 %174 to i32 %176 = icmp sge i32 %175, 48 br i1 %176, label %177, label %198 177: ; preds = %169 %178 = load ptr, ptr %7, align 8 %179 = load i32, ptr %3, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds i8, ptr %178, i64 %180 %182 = load i8, ptr %181, align 1 %183 = zext i8 %182 to i32 %184 = icmp sle i32 %183, 57 br i1 %184, label %185, label %198 185: ; preds = %177 %186 = load ptr, ptr %7, align 8 %187 = load i32, ptr %3, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds i8, ptr %186, i64 %188 %190 = load i8, ptr %189, align 1 %191 = zext i8 %190 to i32 %192 = add nsw i32 %191, 4 %193 = trunc i32 %192 to i8 %194 = load ptr, ptr %7, align 8 %195 = load i32, ptr %3, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i8, ptr %194, i64 %196 store i8 %193, ptr %197, align 1 br label %226 198: ; preds = %177, %169 %199 = load ptr, ptr %7, align 8 %200 = load i32, ptr %3, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds i8, ptr %199, i64 %201 %203 = load i8, ptr %202, align 1 %204 = zext i8 %203 to i32 %205 = icmp eq i32 %204, 43 br i1 %205, label %206, label %211 206: ; preds = %198 %207 = load ptr, ptr %7, align 8 %208 = load i32, ptr %3, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds i8, ptr %207, i64 %209 store i8 62, ptr %210, align 1 br label %225 211: ; preds = %198 %212 = load ptr, ptr %7, align 8 %213 = load i32, ptr %3, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds i8, ptr %212, i64 %214 %216 = load i8, ptr %215, align 1 %217 = zext i8 %216 to i32 %218 = icmp eq i32 %217, 47 br i1 %218, label %219, label %224 219: ; preds = %211 %220 = load ptr, ptr %7, align 8 %221 = load i32, ptr %3, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds i8, ptr %220, i64 %222 store i8 63, ptr %223, align 1 br label %224 224: ; preds = %219, %211 br label %225 225: ; preds = %224, %206 br label %226 226: ; preds = %225, %185 br label %227 227: ; preds = %226, %156 br label %228 228: ; preds = %227, %127 br label %229 229: ; preds = %228 %230 = load i32, ptr %3, align 4 %231 = add nsw i32 %230, 1 store i32 %231, ptr %3, align 4 %232 = load i32, ptr %3, align 4 %233 = load i32, ptr %6, align 4 %234 = sub nsw i32 4, %233 %235 = icmp slt i32 %232, %234 br i1 %235, label %111, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %229 br label %236 236: ; preds = %._crit_edge, %106 %237 = load ptr, ptr %7, align 8 %238 = getelementptr inbounds i8, ptr %237, i64 0 %239 = load i8, ptr %238, align 1 %240 = zext i8 %239 to i32 %241 = shl i32 %240, 2 %242 = load ptr, ptr %7, align 8 %243 = getelementptr inbounds i8, ptr %242, i64 1 %244 = load i8, ptr %243, align 1 %245 = zext i8 %244 to i32 %246 = ashr i32 %245, 4 %247 = or i32 %241, %246 %248 = trunc i32 %247 to i8 %249 = load ptr, ptr %8, align 8 %250 = getelementptr inbounds i8, ptr %249, i64 0 store i8 %248, ptr %250, align 1 %251 = load ptr, ptr %7, align 8 %252 = getelementptr inbounds i8, ptr %251, i64 1 %253 = load i8, ptr %252, align 1 %254 = zext i8 %253 to i32 %255 = and i32 %254, 15 %256 = shl i32 %255, 4 %257 = load ptr, ptr %7, align 8 %258 = getelementptr inbounds i8, ptr %257, i64 2 %259 = load i8, ptr %258, align 1 %260 = zext i8 %259 to i32 %261 = ashr i32 %260, 2 %262 = or i32 %256, %261 %263 = trunc i32 %262 to i8 %264 = load ptr, ptr %8, align 8 %265 = getelementptr inbounds i8, ptr %264, i64 1 store i8 %263, ptr %265, align 1 %266 = load ptr, ptr %7, align 8 %267 = getelementptr inbounds i8, ptr %266, i64 2 %268 = load i8, ptr %267, align 1 %269 = zext i8 %268 to i32 %270 = and i32 %269, 3 %271 = shl i32 %270, 6 %272 = load ptr, ptr %7, align 8 %273 = getelementptr inbounds i8, ptr %272, i64 3 %274 = load i8, ptr %273, align 1 %275 = zext i8 %274 to i32 %276 = or i32 %271, %275 %277 = trunc i32 %276 to i8 %278 = load ptr, ptr %8, align 8 %279 = getelementptr inbounds i8, ptr %278, i64 2 store i8 %277, ptr %279, align 1 store i32 0, ptr %3, align 4 %280 = load i32, ptr %3, align 4 %281 = load i32, ptr %6, align 4 %282 = sub nsw i32 3, %281 %283 = icmp slt i32 %280, %282 br i1 %283, label %.lr.ph2, label %300 .lr.ph2: ; preds = %236 br label %284 284: ; preds = %.lr.ph2, %293 %285 = load i32, ptr @stdout, align 4 %286 = load ptr, ptr %8, align 8 %287 = load i32, ptr %3, align 4 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds i8, ptr %286, i64 %288 %290 = load i8, ptr %289, align 1 %291 = zext i8 %290 to i32 %292 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %285, ptr noundef @.str.3, i32 noundef %291) br label %293 293: ; preds = %284 %294 = load i32, ptr %3, align 4 %295 = add nsw i32 %294, 1 store i32 %295, ptr %3, align 4 %296 = load i32, ptr %3, align 4 %297 = load i32, ptr %6, align 4 %298 = sub nsw i32 3, %297 %299 = icmp slt i32 %296, %298 br i1 %299, label %284, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %293 br label %300 300: ; preds = %._crit_edge3, %236 %301 = load ptr, ptr %2, align 8 %302 = call i32 @feof(ptr noundef %301) %303 = icmp ne i32 %302, 0 %304 = xor i1 %303, true br i1 %304, label %15, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %300 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %305 305: ; preds = %.loopexit, %38 %306 = load ptr, ptr %7, align 8 %307 = call i32 @free(ptr noundef %306) %308 = load ptr, ptr %8, align 8 %309 = call i32 @free(ptr noundef %308) %310 = load ptr, ptr %2, align 8 %311 = call i32 @fclose(ptr noundef %310) ret i32 1 } declare ptr @malloc(i32 noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @b64read(ptr noundef, i8 noundef signext, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(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}
; ModuleID = '/tmp/tmp_qk7q0dr.c' source_filename = "/tmp/tmp_qk7q0dr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @envz_remove(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i64, ptr %10, align 8 %12 = load ptr, ptr %6, align 8 %13 = call ptr @envz_entry(ptr noundef %9, i64 noundef %11, ptr noundef %12) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %21 16: ; preds = %3 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %7, align 8 %20 = call i32 @argz_delete(ptr noundef %17, ptr noundef %18, ptr noundef %19) br label %21 21: ; preds = %16, %3 ret void } declare ptr @envz_entry(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @argz_delete(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/tmp_qk7q0dr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @envz_remove(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i64, ptr %10, align 8 %12 = load ptr, ptr %6, align 8 %13 = call ptr @envz_entry(ptr noundef %9, i64 noundef %11, ptr noundef %12) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %21 16: ; preds = %3 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %7, align 8 %20 = call i32 @argz_delete(ptr noundef %17, ptr noundef %18, ptr noundef %19) br label %21 21: ; preds = %16, %3 ret void } declare ptr @envz_entry(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @argz_delete(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/tmpa055m2qo.c' source_filename = "/tmp/tmpa055m2qo.c" target datalayout = "e-m:e-p270: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/tmpa055m2qo.c" target datalayout = "e-m:e-p270: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/tmpns_nu67c.c' source_filename = "/tmp/tmpns_nu67c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#define \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @C_mkDefine(ptr noundef %0, ptr 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 %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = add nsw i32 %8, %10 %12 = add nsw i32 %11, 10 %13 = sext i32 %12 to i64 store i64 %13, ptr %5, align 8 %14 = load i64, ptr %5, align 8 %15 = call ptr @UTIL_mallocStr(i64 noundef %14) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str) %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strcat(ptr noundef %18, ptr noundef %19) %21 = load ptr, ptr %6, align 8 %22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.1) %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %4, align 8 %25 = call i32 @strcat(ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %6, align 8 ret ptr %26 } declare i32 @strlen(ptr noundef) #1 declare ptr @UTIL_mallocStr(i64 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpns_nu67c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#define \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @C_mkDefine(ptr noundef %0, ptr 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 %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = add nsw i32 %8, %10 %12 = add nsw i32 %11, 10 %13 = sext i32 %12 to i64 store i64 %13, ptr %5, align 8 %14 = load i64, ptr %5, align 8 %15 = call ptr @UTIL_mallocStr(i64 noundef %14) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str) %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strcat(ptr noundef %18, ptr noundef %19) %21 = load ptr, ptr %6, align 8 %22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.1) %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %4, align 8 %25 = call i32 @strcat(ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %6, align 8 ret ptr %26 } declare i32 @strlen(ptr noundef) #1 declare ptr @UTIL_mallocStr(i64 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy_n5gzmm.c' source_filename = "/tmp/tmpy_n5gzmm.c" target datalayout = "e-m:e-p270: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/tmpy_n5gzmm.c" target datalayout = "e-m:e-p270: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/tmppsjnafrj.c' source_filename = "/tmp/tmppsjnafrj.c" target datalayout = "e-m:e-p270: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/tmppsjnafrj.c" target datalayout = "e-m:e-p270: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/tmpo75lqup6.c' source_filename = "/tmp/tmpo75lqup6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @_IOLBF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"Hello,\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Unix!\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"How \00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"are \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"you?\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 %4 = load i32, ptr @BUFSIZ, align 4 %5 = zext i32 %4 to i64 %6 = call ptr @llvm.stacksave() store ptr %6, ptr %2, align 8 %7 = alloca i8, i64 %5, align 16 store i64 %5, ptr %3, align 8 %8 = load i32, ptr @stdout, align 4 %9 = load i32, ptr @_IOLBF, align 4 %10 = load i32, ptr @BUFSIZ, align 4 %11 = call i32 @setvbuf(i32 noundef %8, ptr noundef %7, i32 noundef %9, i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str) %13 = call i32 @sleep(i32 noundef 1) %14 = call i32 @printf(ptr noundef @.str.1) %15 = call i32 @sleep(i32 noundef 1) %16 = call i32 @printf(ptr noundef @.str.2) %17 = call i32 @sleep(i32 noundef 5) %18 = load i32, ptr @stdout, align 4 %19 = call i32 @setbuf(i32 noundef %18, ptr noundef null) %20 = call i32 @sleep(i32 noundef 1) %21 = call i32 @printf(ptr noundef @.str.3) %22 = call i32 @sleep(i32 noundef 1) %23 = call i32 @printf(ptr noundef @.str.4) %24 = call i32 @sleep(i32 noundef 1) %25 = call i32 @printf(ptr noundef @.str.5) %26 = call i32 @sleep(i32 noundef 1) %27 = call i32 @printf(ptr noundef @.str.2) %28 = call i32 @sleep(i32 noundef 1) store i32 0, ptr %1, align 4 %29 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %29) %30 = load i32, ptr %1, align 4 ret i32 %30 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 declare i32 @sleep(i32 noundef) #2 declare i32 @setbuf(i32 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo75lqup6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @_IOLBF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"Hello,\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Unix!\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"How \00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"are \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"you?\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 %4 = load i32, ptr @BUFSIZ, align 4 %5 = zext i32 %4 to i64 %6 = call ptr @llvm.stacksave() store ptr %6, ptr %2, align 8 %7 = alloca i8, i64 %5, align 16 store i64 %5, ptr %3, align 8 %8 = load i32, ptr @stdout, align 4 %9 = load i32, ptr @_IOLBF, align 4 %10 = load i32, ptr @BUFSIZ, align 4 %11 = call i32 @setvbuf(i32 noundef %8, ptr noundef %7, i32 noundef %9, i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str) %13 = call i32 @sleep(i32 noundef 1) %14 = call i32 @printf(ptr noundef @.str.1) %15 = call i32 @sleep(i32 noundef 1) %16 = call i32 @printf(ptr noundef @.str.2) %17 = call i32 @sleep(i32 noundef 5) %18 = load i32, ptr @stdout, align 4 %19 = call i32 @setbuf(i32 noundef %18, ptr noundef null) %20 = call i32 @sleep(i32 noundef 1) %21 = call i32 @printf(ptr noundef @.str.3) %22 = call i32 @sleep(i32 noundef 1) %23 = call i32 @printf(ptr noundef @.str.4) %24 = call i32 @sleep(i32 noundef 1) %25 = call i32 @printf(ptr noundef @.str.5) %26 = call i32 @sleep(i32 noundef 1) %27 = call i32 @printf(ptr noundef @.str.2) %28 = call i32 @sleep(i32 noundef 1) store i32 0, ptr %1, align 4 %29 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %29) %30 = load i32, ptr %1, align 4 ret i32 %30 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 declare i32 @sleep(i32 noundef) #2 declare i32 @setbuf(i32 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ynwf3x_.c' source_filename = "/tmp/tmp8ynwf3x_.c" target datalayout = "e-m:e-p270: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 [790 x i8] c"usage: %s [options] -s url\0A %s [options] -n [-S spn] [-g] url\0A %s [options] -f url\0A %s [options] -b user:pass url\0A where the authentication modes are\0A -s - simple (no authentication)\0A -n - Negotiate (SPNEGO)\0A -f - Fake NTLM\0A -b - Basic\0A The generic options are:\0A -e outfile - where to write HTTP response code\0A -d - enable debugging\0A -H outfile - where to write the HTTP headers ('-' for stdout)\0A -B - supress output of the response body\0A -t <secs> - socket (connection) timeout\0A The negotiate-specific (-n) options are:\0A -u user - use principal name override\0A -S spn - service principal name override\0A -g - use GSSAPI internally (not VAS)\0A\00", align 1 ; 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 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) %9 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr 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/tmp8ynwf3x_.c" target datalayout = "e-m:e-p270: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 [790 x i8] c"usage: %s [options] -s url\0A %s [options] -n [-S spn] [-g] url\0A %s [options] -f url\0A %s [options] -b user:pass url\0A where the authentication modes are\0A -s - simple (no authentication)\0A -n - Negotiate (SPNEGO)\0A -f - Fake NTLM\0A -b - Basic\0A The generic options are:\0A -e outfile - where to write HTTP response code\0A -d - enable debugging\0A -H outfile - where to write the HTTP headers ('-' for stdout)\0A -B - supress output of the response body\0A -t <secs> - socket (connection) timeout\0A The negotiate-specific (-n) options are:\0A -u user - use principal name override\0A -S spn - service principal name override\0A -g - use GSSAPI internally (not VAS)\0A\00", align 1 ; 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 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) %9 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr 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/tmpilhgf0vo.c' source_filename = "/tmp/tmpilhgf0vo.c" target datalayout = "e-m:e-p270: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/tmpilhgf0vo.c" target datalayout = "e-m:e-p270: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/tmp4uoz4wgy.c' source_filename = "/tmp/tmp4uoz4wgy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ptime() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = call i32 @time(i32 noundef 0) store i32 %3, ptr %2, align 4 %4 = call i32 @localtime(ptr noundef %2) %5 = call ptr @asctime(i32 noundef %4) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 %11 = getelementptr inbounds i8, ptr %10, i64 -1 store i8 0, ptr %11, align 1 %12 = load ptr, ptr %1, align 8 ret ptr %12 } declare i32 @time(i32 noundef) #1 declare ptr @asctime(i32 noundef) #1 declare i32 @localtime(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4uoz4wgy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ptime() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = call i32 @time(i32 noundef 0) store i32 %3, ptr %2, align 4 %4 = call i32 @localtime(ptr noundef %2) %5 = call ptr @asctime(i32 noundef %4) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 %11 = getelementptr inbounds i8, ptr %10, i64 -1 store i8 0, ptr %11, align 1 %12 = load ptr, ptr %1, align 8 ret ptr %12 } declare i32 @time(i32 noundef) #1 declare ptr @asctime(i32 noundef) #1 declare i32 @localtime(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiepuwdwa.c' source_filename = "/tmp/tmpiepuwdwa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_0xff_uint64_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %33, %3 %9 = load i32, ptr %7, align 4 %10 = sext i32 %9 to i64 %11 = icmp ult i64 %10, 80 br i1 %11, label %12, label %36 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = icmp sgt i32 %17, 20 br i1 %18, label %19, label %26 19: ; preds = %12 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = and i32 %24, 255 br label %27 26: ; preds = %12 br label %27 27: ; preds = %26, %19 %28 = phi i32 [ %25, %19 ], [ 127, %26 ] %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 store i32 %28, ptr %32, align 4 br label %33 33: ; preds = %27 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %8, !llvm.loop !6 36: ; preds = %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiepuwdwa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_0xff_uint64_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = sext i32 %8 to i64 %10 = icmp ult i64 %9, 80 br i1 %10, label %.lr.ph, label %38 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %32 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = icmp sgt i32 %16, 20 br i1 %17, label %18, label %25 18: ; preds = %11 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = and i32 %23, 255 br label %26 25: ; preds = %11 br label %26 26: ; preds = %25, %18 %27 = phi i32 [ %24, %18 ], [ 127, %25 ] %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 store i32 %27, ptr %31, align 4 br label %32 32: ; preds = %26 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = icmp ult i64 %36, 80 br i1 %37, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %3 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqkayl89i.c' source_filename = "/tmp/tmpqkayl89i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Accepting connections ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"recvfrom error\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"received from %s at PORT %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"sendto error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @udp_server() #0 { %1 = alloca %struct.sockaddr_in, align 4 %2 = alloca %struct.sockaddr_in, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [80 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = load i32, ptr @INET_ADDRSTRLEN, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %6, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %7, align 8 %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_DGRAM, align 4 %16 = call i32 @Socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %4, align 4 %17 = call i32 @bzero(ptr noundef %1, i32 noundef 12) %18 = load i32, ptr @AF_INET, align 4 %19 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 2 store i32 %18, ptr %19, align 4 %20 = load i32, ptr @INADDR_ANY, align 4 %21 = call i32 @htonl(i32 noundef %20) %22 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 1 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0 store i32 %21, ptr %23, align 4 %24 = call i32 @htons(i32 noundef 8000) %25 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 0 store i32 %24, ptr %25, align 4 %26 = load i32, ptr %4, align 4 %27 = call i32 @Bind(i32 noundef %26, ptr noundef %1, i32 noundef 12) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %29 29: ; preds = %72, %0 br label %30 30: ; preds = %29 store i32 12, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %33 = call i32 @recvfrom(i32 noundef %31, ptr noundef %32, i32 noundef 80, i32 noundef 0, ptr noundef %2, ptr noundef %3) store i32 %33, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %30 %37 = call i32 @perr_exit(ptr noundef @.str.1) br label %38 38: ; preds = %36, %30 %39 = load i32, ptr @AF_INET, align 4 %40 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1 %41 = trunc i64 %11 to i32 %42 = call ptr @inet_ntop(i32 noundef %39, ptr noundef %40, ptr noundef %13, i32 noundef %41) %43 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0 %44 = load i32, ptr %43, align 4 %45 = call i32 @ntohs(i32 noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %42, i32 noundef %45) store i32 0, ptr %8, align 4 br label %47 47: ; preds = %60, %38 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %9, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %63 51: ; preds = %47 %52 = load i32, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = call signext i8 @toupper(i8 noundef signext %55) %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %58 store i8 %56, ptr %59, align 1 br label %60 60: ; preds = %51 %61 = load i32, ptr %8, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %8, align 4 br label %47, !llvm.loop !6 63: ; preds = %47 %64 = load i32, ptr %4, align 4 %65 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %66 = load i32, ptr %9, align 4 %67 = call i32 @sendto(i32 noundef %64, ptr noundef %65, i32 noundef %66, i32 noundef 0, ptr noundef %2, i32 noundef 12) store i32 %67, ptr %9, align 4 %68 = load i32, ptr %9, align 4 %69 = icmp eq i32 %68, -1 br i1 %69, label %70, label %72 70: ; preds = %63 %71 = call i32 @perr_exit(ptr noundef @.str.3) br label %72 72: ; preds = %70, %63 br label %29 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @Socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #2 declare i32 @htonl(i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @Bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @perr_exit(ptr noundef) #2 declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @ntohs(i32 noundef) #2 declare signext i8 @toupper(i8 noundef signext) #2 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqkayl89i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Accepting connections ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"recvfrom error\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"received from %s at PORT %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"sendto error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @udp_server() #0 { %1 = alloca %struct.sockaddr_in, align 4 %2 = alloca %struct.sockaddr_in, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [80 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = load i32, ptr @INET_ADDRSTRLEN, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %6, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %7, align 8 %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_DGRAM, align 4 %16 = call i32 @Socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %4, align 4 %17 = call i32 @bzero(ptr noundef %1, i32 noundef 12) %18 = load i32, ptr @AF_INET, align 4 %19 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 2 store i32 %18, ptr %19, align 4 %20 = load i32, ptr @INADDR_ANY, align 4 %21 = call i32 @htonl(i32 noundef %20) %22 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 1 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0 store i32 %21, ptr %23, align 4 %24 = call i32 @htons(i32 noundef 8000) %25 = getelementptr inbounds %struct.sockaddr_in, ptr %1, i32 0, i32 0 store i32 %24, ptr %25, align 4 %26 = load i32, ptr %4, align 4 %27 = call i32 @Bind(i32 noundef %26, ptr noundef %1, i32 noundef 12) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %29 29: ; preds = %74, %0 br label %30 30: ; preds = %29 store i32 12, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %33 = call i32 @recvfrom(i32 noundef %31, ptr noundef %32, i32 noundef 80, i32 noundef 0, ptr noundef %2, ptr noundef %3) store i32 %33, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %30 %37 = call i32 @perr_exit(ptr noundef @.str.1) br label %38 38: ; preds = %36, %30 %39 = load i32, ptr @AF_INET, align 4 %40 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1 %41 = trunc i64 %11 to i32 %42 = call ptr @inet_ntop(i32 noundef %39, ptr noundef %40, ptr noundef %13, i32 noundef %41) %43 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0 %44 = load i32, ptr %43, align 4 %45 = call i32 @ntohs(i32 noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %42, i32 noundef %45) store i32 0, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %9, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph, label %65 .lr.ph: ; preds = %38 br label %50 50: ; preds = %.lr.ph, %59 %51 = load i32, ptr %8, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = call signext i8 @toupper(i8 noundef signext %54) %56 = load i32, ptr %8, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 %57 store i8 %55, ptr %58, align 1 br label %59 59: ; preds = %50 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr %9, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %65 65: ; preds = %._crit_edge, %38 %66 = load i32, ptr %4, align 4 %67 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0 %68 = load i32, ptr %9, align 4 %69 = call i32 @sendto(i32 noundef %66, ptr noundef %67, i32 noundef %68, i32 noundef 0, ptr noundef %2, i32 noundef 12) store i32 %69, ptr %9, align 4 %70 = load i32, ptr %9, align 4 %71 = icmp eq i32 %70, -1 br i1 %71, label %72, label %74 72: ; preds = %65 %73 = call i32 @perr_exit(ptr noundef @.str.3) br label %74 74: ; preds = %72, %65 br label %29 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @Socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #2 declare i32 @htonl(i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @Bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @perr_exit(ptr noundef) #2 declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @ntohs(i32 noundef) #2 declare signext i8 @toupper(i8 noundef signext) #2 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxvco57ch.c' source_filename = "/tmp/tmpxvco57ch.c" target datalayout = "e-m:e-p270: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.ether_header = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pkt_hdr_hash(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 ptr, align 8 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 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = getelementptr inbounds %struct.ether_header, ptr %10, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = call i32 @ntohs(i32 noundef %12) switch i32 %13, label %31 [ i32 130, label %14 i32 129, label %20 i32 128, label %26 ] 14: ; preds = %3 %15 = load ptr, ptr %8, align 8 %16 = getelementptr inbounds %struct.ether_header, ptr %15, i64 1 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = call i32 @decode_ip_n_hash(ptr noundef %16, i32 noundef %17, i32 noundef %18) store i32 %19, ptr %7, align 4 br label %35 20: ; preds = %3 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds %struct.ether_header, ptr %21, i64 1 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = call i32 @decode_ipv6_n_hash(ptr noundef %22, i32 noundef %23, i32 noundef %24) store i32 %25, ptr %7, align 4 br label %35 26: ; preds = %3 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = call i32 @decode_vlan_n_hash(ptr noundef %27, i32 noundef %28, i32 noundef %29) store i32 %30, ptr %7, align 4 br label %35 31: ; preds = %3 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %6, align 4 %34 = call i32 @decode_others_n_hash(ptr noundef %32, i32 noundef %33) store i32 %34, ptr %7, align 4 br label %35 35: ; preds = %31, %26, %20, %14 %36 = load i32, ptr %7, align 4 ret i32 %36 } declare i32 @ntohs(i32 noundef) #1 declare i32 @decode_ip_n_hash(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @decode_ipv6_n_hash(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @decode_vlan_n_hash(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @decode_others_n_hash(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxvco57ch.c" target datalayout = "e-m:e-p270: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.ether_header = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pkt_hdr_hash(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 ptr, align 8 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 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = getelementptr inbounds %struct.ether_header, ptr %10, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = call i32 @ntohs(i32 noundef %12) switch i32 %13, label %31 [ i32 130, label %14 i32 129, label %20 i32 128, label %26 ] 14: ; preds = %3 %15 = load ptr, ptr %8, align 8 %16 = getelementptr inbounds %struct.ether_header, ptr %15, i64 1 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = call i32 @decode_ip_n_hash(ptr noundef %16, i32 noundef %17, i32 noundef %18) store i32 %19, ptr %7, align 4 br label %35 20: ; preds = %3 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds %struct.ether_header, ptr %21, i64 1 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = call i32 @decode_ipv6_n_hash(ptr noundef %22, i32 noundef %23, i32 noundef %24) store i32 %25, ptr %7, align 4 br label %35 26: ; preds = %3 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = call i32 @decode_vlan_n_hash(ptr noundef %27, i32 noundef %28, i32 noundef %29) store i32 %30, ptr %7, align 4 br label %35 31: ; preds = %3 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %6, align 4 %34 = call i32 @decode_others_n_hash(ptr noundef %32, i32 noundef %33) store i32 %34, ptr %7, align 4 br label %35 35: ; preds = %31, %26, %20, %14 %36 = load i32, ptr %7, align 4 ret i32 %36 } declare i32 @ntohs(i32 noundef) #1 declare i32 @decode_ip_n_hash(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @decode_ipv6_n_hash(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @decode_vlan_n_hash(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @decode_others_n_hash(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyg9v9ygz.c' source_filename = "/tmp/tmpyg9v9ygz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"send indexing result status\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @onTestConnectionRequest(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 @sendInteger(i32 noundef %3, i32 noundef 1) %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @perror(ptr noundef @.str) br label %8 8: ; preds = %6, %1 ret void } declare i32 @sendInteger(i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyg9v9ygz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"send indexing result status\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @onTestConnectionRequest(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 @sendInteger(i32 noundef %3, i32 noundef 1) %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @perror(ptr noundef @.str) br label %8 8: ; preds = %6, %1 ret void } declare i32 @sendInteger(i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph14pmcpm.c' source_filename = "/tmp/tmph14pmcpm.c" target datalayout = "e-m:e-p270: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/tmph14pmcpm.c" target datalayout = "e-m:e-p270: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/tmp6jhjsg6v.c' source_filename = "/tmp/tmp6jhjsg6v.c" target datalayout = "e-m:e-p270: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/tmp6jhjsg6v.c" target datalayout = "e-m:e-p270: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/tmplces3u1n.c' source_filename = "/tmp/tmplces3u1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.2 = 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 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %10 10: ; preds = %35, %0 %11 = load i32, ptr %2, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %40 13: ; preds = %10 %14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5) store i32 0, ptr %6, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %7, align 4 br label %18 18: ; preds = %22, %13 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp sge i32 %19, %20 br i1 %21, label %22, label %35 22: ; preds = %18 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %5, align 4 %25 = sdiv i32 %23, %24 store i32 %25, ptr %8, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %5, align 4 %28 = srem i32 %26, %27 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, %29 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, %32 store i32 %34, ptr %7, align 4 br label %18, !llvm.loop !6 35: ; preds = %18 %36 = load i32, ptr %6, align 4 %37 = call i32 @printf(ptr noundef @.str.2, i32 noundef %36) %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %2, align 4 br label %10, !llvm.loop !8 40: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplces3u1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.2 = 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 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph2, label %43 .lr.ph2: ; preds = %0 br label %12 12: ; preds = %.lr.ph2, %36 %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5) store i32 0, ptr %6, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %14, %15 store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp sge i32 %17, %18 br i1 %19, label %.lr.ph, label %36 .lr.ph: ; preds = %12 br label %20 20: ; preds = %.lr.ph, %20 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = sdiv i32 %21, %22 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %5, align 4 %26 = srem i32 %24, %25 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, %27 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, %30 store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp sge i32 %33, %34 br i1 %35, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %36 36: ; preds = %._crit_edge, %12 %37 = load i32, ptr %6, align 4 %38 = call i32 @printf(ptr noundef @.str.2, i32 noundef %37) %39 = load i32, ptr %2, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %2, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %43 43: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpivptibtl.c' source_filename = "/tmp/tmpivptibtl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rt_run(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %6 = load i32, ptr %5, align 4 %7 = mul nsw i32 %6, 1000 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1 %10 = load i32, ptr %9, align 4 %11 = sdiv i32 %10, 1000 %12 = add nsw i32 %7, %11 %13 = sext i32 %12 to i64 store i64 %13, ptr %3, align 8 %14 = load i64, ptr %3, align 8 %15 = call i32 @__api(i32 noundef 3, i64 noundef %14) %16 = icmp eq i32 %15, 1 %17 = zext i1 %16 to i64 %18 = select i1 %16, i32 0, i32 1 ret i32 %18 } declare i32 @__api(i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpivptibtl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rt_run(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %6 = load i32, ptr %5, align 4 %7 = mul nsw i32 %6, 1000 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1 %10 = load i32, ptr %9, align 4 %11 = sdiv i32 %10, 1000 %12 = add nsw i32 %7, %11 %13 = sext i32 %12 to i64 store i64 %13, ptr %3, align 8 %14 = load i64, ptr %3, align 8 %15 = call i32 @__api(i32 noundef 3, i64 noundef %14) %16 = icmp eq i32 %15, 1 %17 = zext i1 %16 to i64 %18 = select i1 %16, i32 0, i32 1 ret i32 %18 } declare i32 @__api(i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6jsci0at.c' source_filename = "/tmp/tmp6jsci0at.c" target datalayout = "e-m:e-p270: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/tmp6jsci0at.c" target datalayout = "e-m:e-p270: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/tmpwyrwv9m_.c' source_filename = "/tmp/tmpwyrwv9m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_timeval_cmp(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 = icmp ne ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %22, label %11 11: ; preds = %8, %2 %12 = load ptr, ptr %4, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %11 br label %20 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 -1, i32 0 br label %20 20: ; preds = %15, %14 %21 = phi i32 [ 1, %14 ], [ %19, %15 ] store i32 %21, ptr %3, align 4 br label %59 22: ; preds = %8 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds %struct.timeval, ptr %23, i32 0, i32 0 %25 = load i64, ptr %24, align 8 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds %struct.timeval, ptr %26, i32 0, i32 0 %28 = load i64, ptr %27, align 8 %29 = icmp slt i64 %25, %28 br i1 %29, label %30, label %31 30: ; preds = %22 store i32 -1, ptr %3, align 4 br label %59 31: ; preds = %22 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds %struct.timeval, ptr %32, i32 0, i32 0 %34 = load i64, ptr %33, align 8 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds %struct.timeval, ptr %35, i32 0, i32 0 %37 = load i64, ptr %36, align 8 %38 = icmp sgt i64 %34, %37 br i1 %38, label %39, label %40 39: ; preds = %31 store i32 1, ptr %3, align 4 br label %59 40: ; preds = %31 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds %struct.timeval, ptr %41, i32 0, i32 1 %43 = load i64, ptr %42, align 8 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds %struct.timeval, ptr %44, i32 0, i32 1 %46 = load i64, ptr %45, align 8 %47 = icmp slt i64 %43, %46 br i1 %47, label %48, label %49 48: ; preds = %40 store i32 -1, ptr %3, align 4 br label %59 49: ; preds = %40 %50 = load ptr, ptr %4, align 8 %51 = getelementptr inbounds %struct.timeval, ptr %50, i32 0, i32 1 %52 = load i64, ptr %51, align 8 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds %struct.timeval, ptr %53, i32 0, i32 1 %55 = load i64, ptr %54, align 8 %56 = icmp sgt i64 %52, %55 br i1 %56, label %57, label %58 57: ; preds = %49 store i32 1, ptr %3, align 4 br label %59 58: ; preds = %49 store i32 0, ptr %3, align 4 br label %59 59: ; preds = %58, %57, %48, %39, %30, %20 %60 = load i32, ptr %3, align 4 ret i32 %60 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwyrwv9m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_timeval_cmp(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 = icmp ne ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %22, label %11 11: ; preds = %8, %2 %12 = load ptr, ptr %4, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %11 br label %20 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 -1, i32 0 br label %20 20: ; preds = %15, %14 %21 = phi i32 [ 1, %14 ], [ %19, %15 ] store i32 %21, ptr %3, align 4 br label %59 22: ; preds = %8 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds %struct.timeval, ptr %23, i32 0, i32 0 %25 = load i64, ptr %24, align 8 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds %struct.timeval, ptr %26, i32 0, i32 0 %28 = load i64, ptr %27, align 8 %29 = icmp slt i64 %25, %28 br i1 %29, label %30, label %31 30: ; preds = %22 store i32 -1, ptr %3, align 4 br label %59 31: ; preds = %22 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds %struct.timeval, ptr %32, i32 0, i32 0 %34 = load i64, ptr %33, align 8 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds %struct.timeval, ptr %35, i32 0, i32 0 %37 = load i64, ptr %36, align 8 %38 = icmp sgt i64 %34, %37 br i1 %38, label %39, label %40 39: ; preds = %31 store i32 1, ptr %3, align 4 br label %59 40: ; preds = %31 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds %struct.timeval, ptr %41, i32 0, i32 1 %43 = load i64, ptr %42, align 8 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds %struct.timeval, ptr %44, i32 0, i32 1 %46 = load i64, ptr %45, align 8 %47 = icmp slt i64 %43, %46 br i1 %47, label %48, label %49 48: ; preds = %40 store i32 -1, ptr %3, align 4 br label %59 49: ; preds = %40 %50 = load ptr, ptr %4, align 8 %51 = getelementptr inbounds %struct.timeval, ptr %50, i32 0, i32 1 %52 = load i64, ptr %51, align 8 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds %struct.timeval, ptr %53, i32 0, i32 1 %55 = load i64, ptr %54, align 8 %56 = icmp sgt i64 %52, %55 br i1 %56, label %57, label %58 57: ; preds = %49 store i32 1, ptr %3, align 4 br label %59 58: ; preds = %49 store i32 0, ptr %3, align 4 br label %59 59: ; preds = %58, %57, %48, %39, %30, %20 %60 = load i32, ptr %3, align 4 ret i32 %60 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5qz7oby1.c' source_filename = "/tmp/tmp5qz7oby1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 1.781250e+02, ptr %2, align 4 %3 = call i32 @print_byte(ptr noundef %2, i32 noundef 4) %4 = call i32 @print_bit(ptr noundef %2, i32 noundef 4) %5 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %5 } declare i32 @print_byte(ptr noundef, i32 noundef) #1 declare i32 @print_bit(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/tmp5qz7oby1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 1.781250e+02, ptr %2, align 4 %3 = call i32 @print_byte(ptr noundef %2, i32 noundef 4) %4 = call i32 @print_bit(ptr noundef %2, i32 noundef 4) %5 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %5 } declare i32 @print_byte(ptr noundef, i32 noundef) #1 declare i32 @print_bit(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/tmpaagm6xky.c' source_filename = "/tmp/tmpaagm6xky.c" target datalayout = "e-m:e-p270: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 [117 x i8] c"Lists all VM instances managed by honeycomb.\0A\0AUsage: %s list [-v]\0A\0A\09-v: Show verbose information about VM instaces\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"hc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @list_usage(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef @.str.1) %5 = load i32, ptr %2, align 4 %6 = call i32 @exit(i32 noundef %5) #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/tmpaagm6xky.c" target datalayout = "e-m:e-p270: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 [117 x i8] c"Lists all VM instances managed by honeycomb.\0A\0AUsage: %s list [-v]\0A\0A\09-v: Show verbose information about VM instaces\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"hc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @list_usage(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef @.str.1) %5 = load i32, ptr %2, align 4 %6 = call i32 @exit(i32 noundef %5) #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/tmp1u7paod6.c' source_filename = "/tmp/tmp1u7paod6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateTamperEventsClearNoLock() #0 { %1 = call i32 (...) @_HibernateWriteComplete() %2 = load volatile i32, ptr inttoptr (i64 1074775040 to ptr), align 4 %3 = or i32 %2, 16 store volatile i32 %3, ptr inttoptr (i64 1074775040 to ptr), align 4 ret void } declare i32 @_HibernateWriteComplete(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1u7paod6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateTamperEventsClearNoLock() #0 { %1 = call i32 (...) @_HibernateWriteComplete() %2 = load volatile i32, ptr inttoptr (i64 1074775040 to ptr), align 4 %3 = or i32 %2, 16 store volatile i32 %3, ptr inttoptr (i64 1074775040 to ptr), align 4 ret void } declare i32 @_HibernateWriteComplete(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8baodro2.c' source_filename = "/tmp/tmp8baodro2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %36 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) store i64 %29, ptr %9, align 8 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32 store i64 %30, ptr %33, align 8 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %19, !llvm.loop !6 36: ; preds = %19 %37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38) %40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %41 = load i64, ptr %40, align 8 %42 = icmp eq i64 %41, 1356379364 br i1 %42, label %43, label %45 43: ; preds = %36 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 45: ; preds = %36 br label %46 46: ; preds = %45, %43 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %50, %46 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 br label %47, !llvm.loop !8 58: ; preds = %47 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8baodro2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %37 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) store i64 %28, ptr %9, align 8 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31 store i64 %29, ptr %32, align 8 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %35, 1 br i1 %36, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %37 37: ; preds = %._crit_edge, %18 %38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %42 = load i64, ptr %41, align 8 %43 = icmp eq i64 %42, 1356379364 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %.lr.ph2, label %60 .lr.ph2: ; preds = %47 br label %50 50: ; preds = %.lr.ph2, %50 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %58, 1 br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %60 60: ; preds = %._crit_edge3, %47 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplikpmubn.c' source_filename = "/tmp/tmplikpmubn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bcopy(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 %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %6, align 4 %10 = call ptr @memmove(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret ptr %10 } declare ptr @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/tmplikpmubn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bcopy(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 %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %6, align 4 %10 = call ptr @memmove(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret ptr %10 } declare ptr @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/tmpusm_p75r.c' source_filename = "/tmp/tmpusm_p75r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PDJPG_TransIDCT(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [64 x i32], align 16 %10 = alloca [64 x i32], align 16 %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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp eq i32 %16, 2 br i1 %17, label %18, label %103 18: ; preds = %4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i16, ptr %19, i64 0 %21 = load i16, ptr %20, align 2 %22 = sext i16 %21 to i32 %23 = mul nsw i32 %22, 8281 %24 = add nsw i32 %23, 32768 %25 = ashr i32 %24, 16 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %25, %26 store i32 %27, ptr %15, align 4 %28 = load ptr, ptr %6, align 8 store ptr %28, ptr %11, align 8 %29 = load ptr, ptr %11, align 8 %30 = getelementptr inbounds i16, ptr %29, i64 64 store ptr %30, ptr %12, align 8 br label %31 31: ; preds = %35, %18 %32 = load ptr, ptr %11, align 8 %33 = load ptr, ptr %12, align 8 %34 = icmp ult ptr %32, %33 br i1 %34, label %35, label %102 35: ; preds = %31 %36 = load i32, ptr %15, align 4 %37 = trunc i32 %36 to i16 %38 = load ptr, ptr %11, align 8 %39 = getelementptr inbounds i16, ptr %38, i64 0 store i16 %37, ptr %39, align 2 %40 = load i32, ptr %15, align 4 %41 = trunc i32 %40 to i16 %42 = load ptr, ptr %11, align 8 %43 = getelementptr inbounds i16, ptr %42, i64 1 store i16 %41, ptr %43, align 2 %44 = load i32, ptr %15, align 4 %45 = trunc i32 %44 to i16 %46 = load ptr, ptr %11, align 8 %47 = getelementptr inbounds i16, ptr %46, i64 2 store i16 %45, ptr %47, align 2 %48 = load i32, ptr %15, align 4 %49 = trunc i32 %48 to i16 %50 = load ptr, ptr %11, align 8 %51 = getelementptr inbounds i16, ptr %50, i64 3 store i16 %49, ptr %51, align 2 %52 = load i32, ptr %15, align 4 %53 = trunc i32 %52 to i16 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds i16, ptr %54, i64 4 store i16 %53, ptr %55, align 2 %56 = load i32, ptr %15, align 4 %57 = trunc i32 %56 to i16 %58 = load ptr, ptr %11, align 8 %59 = getelementptr inbounds i16, ptr %58, i64 5 store i16 %57, ptr %59, align 2 %60 = load i32, ptr %15, align 4 %61 = trunc i32 %60 to i16 %62 = load ptr, ptr %11, align 8 %63 = getelementptr inbounds i16, ptr %62, i64 6 store i16 %61, ptr %63, align 2 %64 = load i32, ptr %15, align 4 %65 = trunc i32 %64 to i16 %66 = load ptr, ptr %11, align 8 %67 = getelementptr inbounds i16, ptr %66, i64 7 store i16 %65, ptr %67, align 2 %68 = load i32, ptr %15, align 4 %69 = trunc i32 %68 to i16 %70 = load ptr, ptr %11, align 8 %71 = getelementptr inbounds i16, ptr %70, i64 8 store i16 %69, ptr %71, align 2 %72 = load i32, ptr %15, align 4 %73 = trunc i32 %72 to i16 %74 = load ptr, ptr %11, align 8 %75 = getelementptr inbounds i16, ptr %74, i64 9 store i16 %73, ptr %75, align 2 %76 = load i32, ptr %15, align 4 %77 = trunc i32 %76 to i16 %78 = load ptr, ptr %11, align 8 %79 = getelementptr inbounds i16, ptr %78, i64 10 store i16 %77, ptr %79, align 2 %80 = load i32, ptr %15, align 4 %81 = trunc i32 %80 to i16 %82 = load ptr, ptr %11, align 8 %83 = getelementptr inbounds i16, ptr %82, i64 11 store i16 %81, ptr %83, align 2 %84 = load i32, ptr %15, align 4 %85 = trunc i32 %84 to i16 %86 = load ptr, ptr %11, align 8 %87 = getelementptr inbounds i16, ptr %86, i64 12 store i16 %85, ptr %87, align 2 %88 = load i32, ptr %15, align 4 %89 = trunc i32 %88 to i16 %90 = load ptr, ptr %11, align 8 %91 = getelementptr inbounds i16, ptr %90, i64 13 store i16 %89, ptr %91, align 2 %92 = load i32, ptr %15, align 4 %93 = trunc i32 %92 to i16 %94 = load ptr, ptr %11, align 8 %95 = getelementptr inbounds i16, ptr %94, i64 14 store i16 %93, ptr %95, align 2 %96 = load i32, ptr %15, align 4 %97 = trunc i32 %96 to i16 %98 = load ptr, ptr %11, align 8 %99 = getelementptr inbounds i16, ptr %98, i64 15 store i16 %97, ptr %99, align 2 %100 = load ptr, ptr %11, align 8 %101 = getelementptr inbounds i16, ptr %100, i64 16 store ptr %101, ptr %11, align 8 br label %31, !llvm.loop !6 102: ; preds = %31 br label %192 103: ; preds = %4 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds i16, ptr %104, i64 0 %106 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %107 = getelementptr inbounds i32, ptr %106, i64 0 %108 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %105, ptr noundef %107) %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds i16, ptr %109, i64 8 %111 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %112 = getelementptr inbounds i32, ptr %111, i64 8 %113 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %110, ptr noundef %112) %114 = load ptr, ptr %5, align 8 %115 = getelementptr inbounds i16, ptr %114, i64 16 %116 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %117 = getelementptr inbounds i32, ptr %116, i64 16 %118 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %115, ptr noundef %117) %119 = load ptr, ptr %5, align 8 %120 = getelementptr inbounds i16, ptr %119, i64 24 %121 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %122 = getelementptr inbounds i32, ptr %121, i64 24 %123 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %120, ptr noundef %122) %124 = load ptr, ptr %5, align 8 %125 = getelementptr inbounds i16, ptr %124, i64 32 %126 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %127 = getelementptr inbounds i32, ptr %126, i64 32 %128 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %125, ptr noundef %127) %129 = load ptr, ptr %5, align 8 %130 = getelementptr inbounds i16, ptr %129, i64 40 %131 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %132 = getelementptr inbounds i32, ptr %131, i64 40 %133 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %130, ptr noundef %132) %134 = load ptr, ptr %5, align 8 %135 = getelementptr inbounds i16, ptr %134, i64 48 %136 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %137 = getelementptr inbounds i32, ptr %136, i64 48 %138 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %135, ptr noundef %137) %139 = load ptr, ptr %5, align 8 %140 = getelementptr inbounds i16, ptr %139, i64 56 %141 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %142 = getelementptr inbounds i32, ptr %141, i64 56 %143 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %140, ptr noundef %142) %144 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %145 = getelementptr inbounds i32, ptr %144, i64 0 %146 = load ptr, ptr %6, align 8 %147 = getelementptr inbounds i16, ptr %146, i64 0 %148 = load i32, ptr %7, align 4 %149 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %145, ptr noundef %147, i32 noundef %148) %150 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %151 = getelementptr inbounds i32, ptr %150, i64 1 %152 = load ptr, ptr %6, align 8 %153 = getelementptr inbounds i16, ptr %152, i64 1 %154 = load i32, ptr %7, align 4 %155 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %151, ptr noundef %153, i32 noundef %154) %156 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %157 = getelementptr inbounds i32, ptr %156, i64 2 %158 = load ptr, ptr %6, align 8 %159 = getelementptr inbounds i16, ptr %158, i64 2 %160 = load i32, ptr %7, align 4 %161 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %157, ptr noundef %159, i32 noundef %160) %162 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %163 = getelementptr inbounds i32, ptr %162, i64 3 %164 = load ptr, ptr %6, align 8 %165 = getelementptr inbounds i16, ptr %164, i64 3 %166 = load i32, ptr %7, align 4 %167 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %163, ptr noundef %165, i32 noundef %166) %168 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %169 = getelementptr inbounds i32, ptr %168, i64 4 %170 = load ptr, ptr %6, align 8 %171 = getelementptr inbounds i16, ptr %170, i64 4 %172 = load i32, ptr %7, align 4 %173 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %169, ptr noundef %171, i32 noundef %172) %174 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %175 = getelementptr inbounds i32, ptr %174, i64 5 %176 = load ptr, ptr %6, align 8 %177 = getelementptr inbounds i16, ptr %176, i64 5 %178 = load i32, ptr %7, align 4 %179 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %175, ptr noundef %177, i32 noundef %178) %180 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %181 = getelementptr inbounds i32, ptr %180, i64 6 %182 = load ptr, ptr %6, align 8 %183 = getelementptr inbounds i16, ptr %182, i64 6 %184 = load i32, ptr %7, align 4 %185 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %181, ptr noundef %183, i32 noundef %184) %186 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %187 = getelementptr inbounds i32, ptr %186, i64 7 %188 = load ptr, ptr %6, align 8 %189 = getelementptr inbounds i16, ptr %188, i64 7 %190 = load i32, ptr %7, align 4 %191 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %187, ptr noundef %189, i32 noundef %190) br label %192 192: ; preds = %103, %102 ret void } declare i32 @PDJPG_TransIDCT_Horiz(ptr noundef, ptr noundef) #1 declare i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpusm_p75r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PDJPG_TransIDCT(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [64 x i32], align 16 %10 = alloca [64 x i32], align 16 %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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp eq i32 %16, 2 br i1 %17, label %18, label %105 18: ; preds = %4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i16, ptr %19, i64 0 %21 = load i16, ptr %20, align 2 %22 = sext i16 %21 to i32 %23 = mul nsw i32 %22, 8281 %24 = add nsw i32 %23, 32768 %25 = ashr i32 %24, 16 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %25, %26 store i32 %27, ptr %15, align 4 %28 = load ptr, ptr %6, align 8 store ptr %28, ptr %11, align 8 %29 = load ptr, ptr %11, align 8 %30 = getelementptr inbounds i16, ptr %29, i64 64 store ptr %30, ptr %12, align 8 %31 = load ptr, ptr %11, align 8 %32 = load ptr, ptr %12, align 8 %33 = icmp ult ptr %31, %32 br i1 %33, label %.lr.ph, label %104 .lr.ph: ; preds = %18 br label %34 34: ; preds = %.lr.ph, %34 %35 = load i32, ptr %15, align 4 %36 = trunc i32 %35 to i16 %37 = load ptr, ptr %11, align 8 %38 = getelementptr inbounds i16, ptr %37, i64 0 store i16 %36, ptr %38, align 2 %39 = load i32, ptr %15, align 4 %40 = trunc i32 %39 to i16 %41 = load ptr, ptr %11, align 8 %42 = getelementptr inbounds i16, ptr %41, i64 1 store i16 %40, ptr %42, align 2 %43 = load i32, ptr %15, align 4 %44 = trunc i32 %43 to i16 %45 = load ptr, ptr %11, align 8 %46 = getelementptr inbounds i16, ptr %45, i64 2 store i16 %44, ptr %46, align 2 %47 = load i32, ptr %15, align 4 %48 = trunc i32 %47 to i16 %49 = load ptr, ptr %11, align 8 %50 = getelementptr inbounds i16, ptr %49, i64 3 store i16 %48, ptr %50, align 2 %51 = load i32, ptr %15, align 4 %52 = trunc i32 %51 to i16 %53 = load ptr, ptr %11, align 8 %54 = getelementptr inbounds i16, ptr %53, i64 4 store i16 %52, ptr %54, align 2 %55 = load i32, ptr %15, align 4 %56 = trunc i32 %55 to i16 %57 = load ptr, ptr %11, align 8 %58 = getelementptr inbounds i16, ptr %57, i64 5 store i16 %56, ptr %58, align 2 %59 = load i32, ptr %15, align 4 %60 = trunc i32 %59 to i16 %61 = load ptr, ptr %11, align 8 %62 = getelementptr inbounds i16, ptr %61, i64 6 store i16 %60, ptr %62, align 2 %63 = load i32, ptr %15, align 4 %64 = trunc i32 %63 to i16 %65 = load ptr, ptr %11, align 8 %66 = getelementptr inbounds i16, ptr %65, i64 7 store i16 %64, ptr %66, align 2 %67 = load i32, ptr %15, align 4 %68 = trunc i32 %67 to i16 %69 = load ptr, ptr %11, align 8 %70 = getelementptr inbounds i16, ptr %69, i64 8 store i16 %68, ptr %70, align 2 %71 = load i32, ptr %15, align 4 %72 = trunc i32 %71 to i16 %73 = load ptr, ptr %11, align 8 %74 = getelementptr inbounds i16, ptr %73, i64 9 store i16 %72, ptr %74, align 2 %75 = load i32, ptr %15, align 4 %76 = trunc i32 %75 to i16 %77 = load ptr, ptr %11, align 8 %78 = getelementptr inbounds i16, ptr %77, i64 10 store i16 %76, ptr %78, align 2 %79 = load i32, ptr %15, align 4 %80 = trunc i32 %79 to i16 %81 = load ptr, ptr %11, align 8 %82 = getelementptr inbounds i16, ptr %81, i64 11 store i16 %80, ptr %82, align 2 %83 = load i32, ptr %15, align 4 %84 = trunc i32 %83 to i16 %85 = load ptr, ptr %11, align 8 %86 = getelementptr inbounds i16, ptr %85, i64 12 store i16 %84, ptr %86, align 2 %87 = load i32, ptr %15, align 4 %88 = trunc i32 %87 to i16 %89 = load ptr, ptr %11, align 8 %90 = getelementptr inbounds i16, ptr %89, i64 13 store i16 %88, ptr %90, align 2 %91 = load i32, ptr %15, align 4 %92 = trunc i32 %91 to i16 %93 = load ptr, ptr %11, align 8 %94 = getelementptr inbounds i16, ptr %93, i64 14 store i16 %92, ptr %94, align 2 %95 = load i32, ptr %15, align 4 %96 = trunc i32 %95 to i16 %97 = load ptr, ptr %11, align 8 %98 = getelementptr inbounds i16, ptr %97, i64 15 store i16 %96, ptr %98, align 2 %99 = load ptr, ptr %11, align 8 %100 = getelementptr inbounds i16, ptr %99, i64 16 store ptr %100, ptr %11, align 8 %101 = load ptr, ptr %11, align 8 %102 = load ptr, ptr %12, align 8 %103 = icmp ult ptr %101, %102 br i1 %103, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %104 104: ; preds = %._crit_edge, %18 br label %194 105: ; preds = %4 %106 = load ptr, ptr %5, align 8 %107 = getelementptr inbounds i16, ptr %106, i64 0 %108 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %109 = getelementptr inbounds i32, ptr %108, i64 0 %110 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %107, ptr noundef %109) %111 = load ptr, ptr %5, align 8 %112 = getelementptr inbounds i16, ptr %111, i64 8 %113 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %114 = getelementptr inbounds i32, ptr %113, i64 8 %115 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %112, ptr noundef %114) %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds i16, ptr %116, i64 16 %118 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %119 = getelementptr inbounds i32, ptr %118, i64 16 %120 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %117, ptr noundef %119) %121 = load ptr, ptr %5, align 8 %122 = getelementptr inbounds i16, ptr %121, i64 24 %123 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %124 = getelementptr inbounds i32, ptr %123, i64 24 %125 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %122, ptr noundef %124) %126 = load ptr, ptr %5, align 8 %127 = getelementptr inbounds i16, ptr %126, i64 32 %128 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %129 = getelementptr inbounds i32, ptr %128, i64 32 %130 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %127, ptr noundef %129) %131 = load ptr, ptr %5, align 8 %132 = getelementptr inbounds i16, ptr %131, i64 40 %133 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %134 = getelementptr inbounds i32, ptr %133, i64 40 %135 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %132, ptr noundef %134) %136 = load ptr, ptr %5, align 8 %137 = getelementptr inbounds i16, ptr %136, i64 48 %138 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %139 = getelementptr inbounds i32, ptr %138, i64 48 %140 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %137, ptr noundef %139) %141 = load ptr, ptr %5, align 8 %142 = getelementptr inbounds i16, ptr %141, i64 56 %143 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %144 = getelementptr inbounds i32, ptr %143, i64 56 %145 = call i32 @PDJPG_TransIDCT_Horiz(ptr noundef %142, ptr noundef %144) %146 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %147 = getelementptr inbounds i32, ptr %146, i64 0 %148 = load ptr, ptr %6, align 8 %149 = getelementptr inbounds i16, ptr %148, i64 0 %150 = load i32, ptr %7, align 4 %151 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %147, ptr noundef %149, i32 noundef %150) %152 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %153 = getelementptr inbounds i32, ptr %152, i64 1 %154 = load ptr, ptr %6, align 8 %155 = getelementptr inbounds i16, ptr %154, i64 1 %156 = load i32, ptr %7, align 4 %157 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %153, ptr noundef %155, i32 noundef %156) %158 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %159 = getelementptr inbounds i32, ptr %158, i64 2 %160 = load ptr, ptr %6, align 8 %161 = getelementptr inbounds i16, ptr %160, i64 2 %162 = load i32, ptr %7, align 4 %163 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %159, ptr noundef %161, i32 noundef %162) %164 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %165 = getelementptr inbounds i32, ptr %164, i64 3 %166 = load ptr, ptr %6, align 8 %167 = getelementptr inbounds i16, ptr %166, i64 3 %168 = load i32, ptr %7, align 4 %169 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %165, ptr noundef %167, i32 noundef %168) %170 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %171 = getelementptr inbounds i32, ptr %170, i64 4 %172 = load ptr, ptr %6, align 8 %173 = getelementptr inbounds i16, ptr %172, i64 4 %174 = load i32, ptr %7, align 4 %175 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %171, ptr noundef %173, i32 noundef %174) %176 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %177 = getelementptr inbounds i32, ptr %176, i64 5 %178 = load ptr, ptr %6, align 8 %179 = getelementptr inbounds i16, ptr %178, i64 5 %180 = load i32, ptr %7, align 4 %181 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %177, ptr noundef %179, i32 noundef %180) %182 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %183 = getelementptr inbounds i32, ptr %182, i64 6 %184 = load ptr, ptr %6, align 8 %185 = getelementptr inbounds i16, ptr %184, i64 6 %186 = load i32, ptr %7, align 4 %187 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %183, ptr noundef %185, i32 noundef %186) %188 = getelementptr inbounds [64 x i32], ptr %9, i64 0, i64 0 %189 = getelementptr inbounds i32, ptr %188, i64 7 %190 = load ptr, ptr %6, align 8 %191 = getelementptr inbounds i16, ptr %190, i64 7 %192 = load i32, ptr %7, align 4 %193 = call i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef %189, ptr noundef %191, i32 noundef %192) br label %194 194: ; preds = %105, %104 ret void } declare i32 @PDJPG_TransIDCT_Horiz(ptr noundef, ptr noundef) #1 declare i32 @BGBBTJ_JPG_TransIDCT_Vert2(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6ouafh93.c' source_filename = "/tmp/tmp6ouafh93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_remote_l1() #0 { %1 = call ptr (...) @remote_l1() %2 = getelementptr inbounds i8, ptr %1, i64 1 ret ptr %2 } declare ptr @remote_l1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ouafh93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_remote_l1() #0 { %1 = call ptr (...) @remote_l1() %2 = getelementptr inbounds i8, ptr %1, i64 1 ret ptr %2 } declare ptr @remote_l1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpou5e5j_1.c' source_filename = "/tmp/tmpou5e5j_1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"test_program_get_versions_from_tarball...\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"Ok\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_program_get_versions_from_tarball() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpou5e5j_1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"test_program_get_versions_from_tarball...\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"Ok\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_program_get_versions_from_tarball() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_uy8q6i3.c' source_filename = "/tmp/tmp_uy8q6i3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @utest(i32 noundef 9) %3 = call i32 @utest(i32 noundef 0) %4 = call i32 @stest(i32 noundef 9) %5 = call i32 @stest(i32 noundef 0) ret i32 0 } declare i32 @utest(i32 noundef) #1 declare i32 @stest(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_uy8q6i3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @utest(i32 noundef 9) %3 = call i32 @utest(i32 noundef 0) %4 = call i32 @stest(i32 noundef 9) %5 = call i32 @stest(i32 noundef 0) ret i32 0 } declare i32 @utest(i32 noundef) #1 declare i32 @stest(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/tmpcftc0jfz.c' source_filename = "/tmp/tmpcftc0jfz.c" target datalayout = "e-m:e-p270: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/tmpcftc0jfz.c" target datalayout = "e-m:e-p270: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/tmprcjm96mn.c' source_filename = "/tmp/tmprcjm96mn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @contains(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 ptr @strstr(ptr noundef %5, ptr noundef %6) %8 = icmp ne ptr %7, null %9 = zext i1 %8 to i32 ret i32 %9 } declare ptr @strstr(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/tmprcjm96mn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @contains(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 ptr @strstr(ptr noundef %5, ptr noundef %6) %8 = icmp ne ptr %7, null %9 = zext i1 %8 to i32 ret i32 %9 } declare ptr @strstr(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/tmptd6h6fr0.c' source_filename = "/tmp/tmptd6h6fr0.c" target datalayout = "e-m:e-p270: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_EPSILON = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @BinoRand(double noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca double, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i64, align 8 %12 = alloca double, align 8 store double %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 0, ptr %6, align 8 %13 = load double, ptr %4, align 8 %14 = call i64 @isnan(double noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store i64 0, ptr %3, align 8 br label %143 17: ; preds = %2 %18 = load double, ptr %4, align 8 %19 = load double, ptr @DBL_EPSILON, align 8 %20 = fcmp olt double %18, %19 br i1 %20, label %21, label %22 21: ; preds = %17 store i64 0, ptr %3, align 8 br label %143 22: ; preds = %17 %23 = load double, ptr %4, align 8 %24 = load double, ptr @DBL_EPSILON, align 8 %25 = fsub double 1.000000e+00, %24 %26 = fcmp oge double %23, %25 br i1 %26, label %27, label %29 27: ; preds = %22 %28 = load i64, ptr %5, align 8 store i64 %28, ptr %3, align 8 br label %143 29: ; preds = %22 %30 = load double, ptr %4, align 8 %31 = fcmp ogt double %30, 5.000000e-01 br i1 %31, label %32, label %54 32: ; preds = %29 %33 = load i64, ptr %5, align 8 %34 = icmp ult i64 %33, 15 br i1 %34, label %35, label %54 35: ; preds = %32 store i64 0, ptr %7, align 8 br label %36 36: ; preds = %49, %35 %37 = load i64, ptr %7, align 8 %38 = load i64, ptr %5, align 8 %39 = icmp ult i64 %37, %38 br i1 %39, label %40, label %52 40: ; preds = %36 %41 = call i32 (...) @Rand() %42 = sitofp i32 %41 to double %43 = load double, ptr %4, align 8 %44 = fcmp olt double %42, %43 br i1 %44, label %45, label %48 45: ; preds = %40 %46 = load i64, ptr %6, align 8 %47 = add i64 %46, 1 store i64 %47, ptr %6, align 8 br label %48 48: ; preds = %45, %40 br label %49 49: ; preds = %48 %50 = load i64, ptr %7, align 8 %51 = add i64 %50, 1 store i64 %51, ptr %7, align 8 br label %36, !llvm.loop !6 52: ; preds = %36 %53 = load i64, ptr %6, align 8 store i64 %53, ptr %3, align 8 br label %143 54: ; preds = %32, %29 %55 = load i64, ptr %5, align 8 %56 = uitofp i64 %55 to double %57 = load double, ptr %4, align 8 %58 = fmul double %56, %57 %59 = fcmp olt double %58, 1.000000e+01 br i1 %59, label %60, label %100 60: ; preds = %54 %61 = load double, ptr %4, align 8 %62 = fsub double 1.000000e+00, %61 %63 = fptosi double %62 to i32 %64 = call double @log(i32 noundef %63) %65 = fneg double %64 store double %65, ptr %8, align 8 %66 = call i32 (...) @Rand() %67 = call double @log(i32 noundef %66) %68 = fneg double %67 store double %68, ptr %9, align 8 %69 = load i64, ptr %5, align 8 store i64 %69, ptr %6, align 8 %70 = load double, ptr %9, align 8 %71 = load i64, ptr %6, align 8 %72 = uitofp i64 %71 to double %73 = fdiv double %70, %72 store double %73, ptr %10, align 8 br label %74 74: ; preds = %88, %60 %75 = load double, ptr %10, align 8 %76 = load double, ptr %8, align 8 %77 = fcmp ole double %75, %76 br i1 %77, label %78, label %95 78: ; preds = %74 %79 = load i64, ptr %6, align 8 %80 = add i64 %79, -1 store i64 %80, ptr %6, align 8 %81 = load i64, ptr %6, align 8 %82 = icmp eq i64 %81, 0 br i1 %82, label %83, label %84 83: ; preds = %78 br label %95 84: ; preds = %78 %85 = call i32 (...) @Rand() %86 = call double @log(i32 noundef %85) %87 = fneg double %86 store double %87, ptr %9, align 8 br label %88 88: ; preds = %84 %89 = load double, ptr %9, align 8 %90 = load i64, ptr %6, align 8 %91 = uitofp i64 %90 to double %92 = fdiv double %89, %91 %93 = load double, ptr %10, align 8 %94 = fadd double %93, %92 store double %94, ptr %10, align 8 br label %74, !llvm.loop !8 95: ; preds = %83, %74 %96 = load i64, ptr %5, align 8 %97 = load i64, ptr %6, align 8 %98 = sub i64 %96, %97 store i64 %98, ptr %6, align 8 %99 = load i64, ptr %6, align 8 store i64 %99, ptr %3, align 8 br label %143 100: ; preds = %54 %101 = load double, ptr %4, align 8 %102 = load i64, ptr %5, align 8 %103 = add i64 %102, 1 %104 = uitofp i64 %103 to double %105 = fmul double %101, %104 %106 = fptoui double %105 to i64 store i64 %106, ptr %11, align 8 %107 = load i64, ptr %11, align 8 %108 = load i64, ptr %5, align 8 %109 = add i64 %108, 1 %110 = load i64, ptr %11, align 8 %111 = sub i64 %109, %110 %112 = call double @BetaRand(i64 noundef %107, i64 noundef %111) store double %112, ptr %12, align 8 %113 = load double, ptr %12, align 8 %114 = load double, ptr %4, align 8 %115 = fcmp ole double %113, %114 br i1 %115, label %116, label %129 116: ; preds = %100 %117 = load i64, ptr %11, align 8 %118 = load double, ptr %4, align 8 %119 = load double, ptr %12, align 8 %120 = fsub double %118, %119 %121 = load double, ptr %12, align 8 %122 = fsub double 1.000000e+00, %121 %123 = fdiv double %120, %122 %124 = load i64, ptr %5, align 8 %125 = load i64, ptr %11, align 8 %126 = sub i64 %124, %125 %127 = call i64 @BinoRand(double noundef %123, i64 noundef %126) %128 = add i64 %117, %127 store i64 %128, ptr %6, align 8 br label %141 129: ; preds = %100 %130 = load i64, ptr %11, align 8 %131 = sub i64 %130, 1 %132 = load double, ptr %12, align 8 %133 = load double, ptr %4, align 8 %134 = fsub double %132, %133 %135 = load double, ptr %12, align 8 %136 = fdiv double %134, %135 %137 = load i64, ptr %11, align 8 %138 = sub i64 %137, 1 %139 = call i64 @BinoRand(double noundef %136, i64 noundef %138) %140 = sub i64 %131, %139 store i64 %140, ptr %6, align 8 br label %141 141: ; preds = %129, %116 %142 = load i64, ptr %6, align 8 store i64 %142, ptr %3, align 8 br label %143 143: ; preds = %141, %95, %52, %27, %21, %16 %144 = load i64, ptr %3, align 8 ret i64 %144 } declare i64 @isnan(double noundef) #1 declare i32 @Rand(...) #1 declare double @log(i32 noundef) #1 declare double @BetaRand(i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptd6h6fr0.c" target datalayout = "e-m:e-p270: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_EPSILON = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @BinoRand(double noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca double, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i64, align 8 %12 = alloca double, align 8 store double %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 0, ptr %6, align 8 %13 = load double, ptr %4, align 8 %14 = call i64 @isnan(double noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store i64 0, ptr %3, align 8 br label %147 17: ; preds = %2 %18 = load double, ptr %4, align 8 %19 = load double, ptr @DBL_EPSILON, align 8 %20 = fcmp olt double %18, %19 br i1 %20, label %21, label %22 21: ; preds = %17 store i64 0, ptr %3, align 8 br label %147 22: ; preds = %17 %23 = load double, ptr %4, align 8 %24 = load double, ptr @DBL_EPSILON, align 8 %25 = fsub double 1.000000e+00, %24 %26 = fcmp oge double %23, %25 br i1 %26, label %27, label %29 27: ; preds = %22 %28 = load i64, ptr %5, align 8 store i64 %28, ptr %3, align 8 br label %147 29: ; preds = %22 %30 = load double, ptr %4, align 8 %31 = fcmp ogt double %30, 5.000000e-01 br i1 %31, label %32, label %56 32: ; preds = %29 %33 = load i64, ptr %5, align 8 %34 = icmp ult i64 %33, 15 br i1 %34, label %35, label %56 35: ; preds = %32 store i64 0, ptr %7, align 8 %36 = load i64, ptr %7, align 8 %37 = load i64, ptr %5, align 8 %38 = icmp ult i64 %36, %37 br i1 %38, label %.lr.ph1, label %54 .lr.ph1: ; preds = %35 br label %39 39: ; preds = %.lr.ph1, %48 %40 = call i32 (...) @Rand() %41 = sitofp i32 %40 to double %42 = load double, ptr %4, align 8 %43 = fcmp olt double %41, %42 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load i64, ptr %6, align 8 %46 = add i64 %45, 1 store i64 %46, ptr %6, align 8 br label %47 47: ; preds = %44, %39 br label %48 48: ; preds = %47 %49 = load i64, ptr %7, align 8 %50 = add i64 %49, 1 store i64 %50, ptr %7, align 8 %51 = load i64, ptr %7, align 8 %52 = load i64, ptr %5, align 8 %53 = icmp ult i64 %51, %52 br i1 %53, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %35 %55 = load i64, ptr %6, align 8 store i64 %55, ptr %3, align 8 br label %147 56: ; preds = %32, %29 %57 = load i64, ptr %5, align 8 %58 = uitofp i64 %57 to double %59 = load double, ptr %4, align 8 %60 = fmul double %58, %59 %61 = fcmp olt double %60, 1.000000e+01 br i1 %61, label %62, label %104 62: ; preds = %56 %63 = load double, ptr %4, align 8 %64 = fsub double 1.000000e+00, %63 %65 = fptosi double %64 to i32 %66 = call double @log(i32 noundef %65) %67 = fneg double %66 store double %67, ptr %8, align 8 %68 = call i32 (...) @Rand() %69 = call double @log(i32 noundef %68) %70 = fneg double %69 store double %70, ptr %9, align 8 %71 = load i64, ptr %5, align 8 store i64 %71, ptr %6, align 8 %72 = load double, ptr %9, align 8 %73 = load i64, ptr %6, align 8 %74 = uitofp i64 %73 to double %75 = fdiv double %72, %74 store double %75, ptr %10, align 8 %76 = load double, ptr %10, align 8 %77 = load double, ptr %8, align 8 %78 = fcmp ole double %76, %77 br i1 %78, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %62 br label %79 79: ; preds = %.lr.ph, %89 %80 = load i64, ptr %6, align 8 %81 = add i64 %80, -1 store i64 %81, ptr %6, align 8 %82 = load i64, ptr %6, align 8 %83 = icmp eq i64 %82, 0 br i1 %83, label %84, label %85 84: ; preds = %79 br label %99 85: ; preds = %79 %86 = call i32 (...) @Rand() %87 = call double @log(i32 noundef %86) %88 = fneg double %87 store double %88, ptr %9, align 8 br label %89 89: ; preds = %85 %90 = load double, ptr %9, align 8 %91 = load i64, ptr %6, align 8 %92 = uitofp i64 %91 to double %93 = fdiv double %90, %92 %94 = load double, ptr %10, align 8 %95 = fadd double %94, %93 store double %95, ptr %10, align 8 %96 = load double, ptr %10, align 8 %97 = load double, ptr %8, align 8 %98 = fcmp ole double %96, %97 br i1 %98, label %79, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %89 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %62 br label %99 99: ; preds = %.loopexit, %84 %100 = load i64, ptr %5, align 8 %101 = load i64, ptr %6, align 8 %102 = sub i64 %100, %101 store i64 %102, ptr %6, align 8 %103 = load i64, ptr %6, align 8 store i64 %103, ptr %3, align 8 br label %147 104: ; preds = %56 %105 = load double, ptr %4, align 8 %106 = load i64, ptr %5, align 8 %107 = add i64 %106, 1 %108 = uitofp i64 %107 to double %109 = fmul double %105, %108 %110 = fptoui double %109 to i64 store i64 %110, ptr %11, align 8 %111 = load i64, ptr %11, align 8 %112 = load i64, ptr %5, align 8 %113 = add i64 %112, 1 %114 = load i64, ptr %11, align 8 %115 = sub i64 %113, %114 %116 = call double @BetaRand(i64 noundef %111, i64 noundef %115) store double %116, ptr %12, align 8 %117 = load double, ptr %12, align 8 %118 = load double, ptr %4, align 8 %119 = fcmp ole double %117, %118 br i1 %119, label %120, label %133 120: ; preds = %104 %121 = load i64, ptr %11, align 8 %122 = load double, ptr %4, align 8 %123 = load double, ptr %12, align 8 %124 = fsub double %122, %123 %125 = load double, ptr %12, align 8 %126 = fsub double 1.000000e+00, %125 %127 = fdiv double %124, %126 %128 = load i64, ptr %5, align 8 %129 = load i64, ptr %11, align 8 %130 = sub i64 %128, %129 %131 = call i64 @BinoRand(double noundef %127, i64 noundef %130) %132 = add i64 %121, %131 store i64 %132, ptr %6, align 8 br label %145 133: ; preds = %104 %134 = load i64, ptr %11, align 8 %135 = sub i64 %134, 1 %136 = load double, ptr %12, align 8 %137 = load double, ptr %4, align 8 %138 = fsub double %136, %137 %139 = load double, ptr %12, align 8 %140 = fdiv double %138, %139 %141 = load i64, ptr %11, align 8 %142 = sub i64 %141, 1 %143 = call i64 @BinoRand(double noundef %140, i64 noundef %142) %144 = sub i64 %135, %143 store i64 %144, ptr %6, align 8 br label %145 145: ; preds = %133, %120 %146 = load i64, ptr %6, align 8 store i64 %146, ptr %3, align 8 br label %147 147: ; preds = %145, %99, %54, %27, %21, %16 %148 = load i64, ptr %3, align 8 ret i64 %148 } declare i64 @isnan(double noundef) #1 declare i32 @Rand(...) #1 declare double @log(i32 noundef) #1 declare double @BetaRand(i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_m2lmixg.c' source_filename = "/tmp/tmp_m2lmixg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTHREAD_PROCESS_SHARED = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"pthread_mutexattr_setpshared failed with code %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"pthread_mutexattr_init failed with code %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutex_init_pshared(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = call i32 @pthread_mutexattr_init(ptr noundef %5) %7 = load i32, ptr @PTHREAD_PROCESS_SHARED, align 4 %8 = call i32 @pthread_mutexattr_setpshared(ptr noundef %5, i32 noundef %7) store i32 %8, ptr %4, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %1 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr %4, align 4 store i32 %14, ptr %2, align 4 br label %26 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 %17 = call i32 @pthread_mutex_init(ptr noundef %16, ptr noundef %5) store i32 %17, ptr %4, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load i32, ptr @stderr, align 4 %21 = load i32, ptr %4, align 4 %22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.1, i32 noundef %21) %23 = load i32, ptr %4, align 4 store i32 %23, ptr %2, align 4 br label %26 24: ; preds = %15 %25 = call i32 @pthread_mutexattr_destroy(ptr noundef %5) store i32 0, ptr %2, align 4 br label %26 26: ; preds = %24, %19, %10 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @pthread_mutexattr_init(ptr noundef) #1 declare i32 @pthread_mutexattr_setpshared(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) #1 declare i32 @pthread_mutexattr_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_m2lmixg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTHREAD_PROCESS_SHARED = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"pthread_mutexattr_setpshared failed with code %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"pthread_mutexattr_init failed with code %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutex_init_pshared(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = call i32 @pthread_mutexattr_init(ptr noundef %5) %7 = load i32, ptr @PTHREAD_PROCESS_SHARED, align 4 %8 = call i32 @pthread_mutexattr_setpshared(ptr noundef %5, i32 noundef %7) store i32 %8, ptr %4, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %1 %11 = load i32, ptr @stderr, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr %4, align 4 store i32 %14, ptr %2, align 4 br label %26 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 %17 = call i32 @pthread_mutex_init(ptr noundef %16, ptr noundef %5) store i32 %17, ptr %4, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load i32, ptr @stderr, align 4 %21 = load i32, ptr %4, align 4 %22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.1, i32 noundef %21) %23 = load i32, ptr %4, align 4 store i32 %23, ptr %2, align 4 br label %26 24: ; preds = %15 %25 = call i32 @pthread_mutexattr_destroy(ptr noundef %5) store i32 0, ptr %2, align 4 br label %26 26: ; preds = %24, %19, %10 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @pthread_mutexattr_init(ptr noundef) #1 declare i32 @pthread_mutexattr_setpshared(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) #1 declare i32 @pthread_mutexattr_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwicez54k.c' source_filename = "/tmp/tmpwicez54k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"8: Guarana\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fraseoito(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = call i32 (...) @limpamlc() %6 = load i8, ptr %3, align 1 %7 = call i32 @sprintf(i8 noundef signext %6, ptr noundef @.str) %8 = load i8, ptr %3, align 1 %9 = call i32 @LCD_Out(i32 noundef 1, i32 noundef 4, i8 noundef signext %8) %10 = load i8, ptr %4, align 1 %11 = call i32 @mostrapenter(i8 noundef signext %10) ret void } declare i32 @limpamlc(...) #1 declare i32 @sprintf(i8 noundef signext, ptr noundef) #1 declare i32 @LCD_Out(i32 noundef, i32 noundef, i8 noundef signext) #1 declare i32 @mostrapenter(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwicez54k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"8: Guarana\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fraseoito(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = call i32 (...) @limpamlc() %6 = load i8, ptr %3, align 1 %7 = call i32 @sprintf(i8 noundef signext %6, ptr noundef @.str) %8 = load i8, ptr %3, align 1 %9 = call i32 @LCD_Out(i32 noundef 1, i32 noundef 4, i8 noundef signext %8) %10 = load i8, ptr %4, align 1 %11 = call i32 @mostrapenter(i8 noundef signext %10) ret void } declare i32 @limpamlc(...) #1 declare i32 @sprintf(i8 noundef signext, ptr noundef) #1 declare i32 @LCD_Out(i32 noundef, i32 noundef, i8 noundef signext) #1 declare i32 @mostrapenter(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"}
; ModuleID = '/tmp/tmp2kb0yno6.c' source_filename = "/tmp/tmp2kb0yno6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"GlobalInterrupts disable\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @virtual_mcu_GlobalInterrupts_disable__E() #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/tmp2kb0yno6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"GlobalInterrupts disable\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @virtual_mcu_GlobalInterrupts_disable__E() #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/tmpl5onrcoe.c' source_filename = "/tmp/tmpl5onrcoe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ll_index_to_name.nbuf = internal global [16 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ll_index_to_name(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 ptr @ll_idx_n2a(i32 noundef %3, ptr noundef @ll_index_to_name.nbuf) ret ptr %4 } declare ptr @ll_idx_n2a(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/tmpl5onrcoe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ll_index_to_name.nbuf = internal global [16 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ll_index_to_name(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 ptr @ll_idx_n2a(i32 noundef %3, ptr noundef @ll_index_to_name.nbuf) ret ptr %4 } declare ptr @ll_idx_n2a(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/tmp0q2_fjes.c' source_filename = "/tmp/tmp0q2_fjes.c" target datalayout = "e-m:e-p270: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/tmp0q2_fjes.c" target datalayout = "e-m:e-p270: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/tmpqqz3fkvn.c' source_filename = "/tmp/tmpqqz3fkvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glob(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [16 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %9 9: ; preds = %146, %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %4, align 8 %12 = load i8, ptr %10, align 1 %13 = sext i8 %12 to i32 switch i32 %13, label %134 [ i32 0, label %14 i32 63, label %21 i32 91, label %28 i32 42, label %74 i32 92, label %118 ] 14: ; preds = %9 %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 %19 = zext i1 %18 to i64 %20 = select i1 %18, i32 -1, i32 0 store i32 %20, ptr %3, align 4 br label %147 21: ; preds = %9 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %5, align 8 %24 = load i8, ptr %22, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %21 store i32 1, ptr %3, align 4 br label %147 27: ; preds = %21 br label %146 28: ; preds = %9 %29 = load ptr, ptr %4, align 8 store ptr %29, ptr %7, align 8 br label %30 30: ; preds = %46, %28 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %4, align 8 %33 = load i8, ptr %31, align 1 %34 = icmp ne i8 %33, 0 br i1 %34, label %36, label %35 35: ; preds = %30 store i32 1, ptr %3, align 4 br label %147 36: ; preds = %30 br label %37 37: ; preds = %36 %38 = load ptr, ptr %7, align 8 %39 = load ptr, ptr %4, align 8 %40 = icmp eq ptr %38, %39 br i1 %40, label %46, label %41 41: ; preds = %37 %42 = load ptr, ptr %4, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 93 br label %46 46: ; preds = %41, %37 %47 = phi i1 [ true, %37 ], [ %45, %41 ] br i1 %47, label %30, label %48, !llvm.loop !6 48: ; preds = %46 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %4, align 8 %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %54 = call i32 @globchars(ptr noundef %51, ptr noundef %52, ptr noundef %53) %55 = load ptr, ptr %5, align 8 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = sdiv i32 %57, 8 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = load ptr, ptr %5, align 8 %64 = load i8, ptr %63, align 1 %65 = zext i8 %64 to i32 %66 = srem i32 %65, 8 %67 = shl i32 1, %66 %68 = and i32 %62, %67 %69 = icmp ne i32 %68, 0 br i1 %69, label %71, label %70 70: ; preds = %48 store i32 1, ptr %3, align 4 br label %147 71: ; preds = %48 %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds i8, ptr %72, i32 1 store ptr %73, ptr %5, align 8 br label %146 74: ; preds = %9 %75 = load ptr, ptr %5, align 8 store ptr %75, ptr %7, align 8 br label %76 76: ; preds = %80, %74 %77 = load ptr, ptr %5, align 8 %78 = load i8, ptr %77, align 1 %79 = icmp ne i8 %78, 0 br i1 %79, label %80, label %83 80: ; preds = %76 %81 = load ptr, ptr %5, align 8 %82 = getelementptr inbounds i8, ptr %81, i32 1 store ptr %82, ptr %5, align 8 br label %76, !llvm.loop !8 83: ; preds = %76 br label %84 84: ; preds = %114, %83 %85 = load ptr, ptr %5, align 8 %86 = load ptr, ptr %7, align 8 %87 = icmp ne ptr %85, %86 br i1 %87, label %88, label %117 88: ; preds = %84 %89 = load ptr, ptr %4, align 8 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %97 93: ; preds = %88 %94 = load ptr, ptr %4, align 8 %95 = load ptr, ptr %5, align 8 %96 = call i32 @glob(ptr noundef %94, ptr noundef %95) br label %104 97: ; preds = %88 %98 = load ptr, ptr %5, align 8 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = icmp ne i32 %100, 0 %102 = zext i1 %101 to i64 %103 = select i1 %101, i32 -1, i32 0 br label %104 104: ; preds = %97, %93 %105 = phi i32 [ %96, %93 ], [ %103, %97 ] store i32 %105, ptr %8, align 4 %106 = load i32, ptr %8, align 4 %107 = icmp ne i32 %106, 0 br i1 %107, label %109, label %108 108: ; preds = %104 store i32 0, ptr %3, align 4 br label %147 109: ; preds = %104 %110 = load i32, ptr %8, align 4 %111 = icmp slt i32 %110, 0 br i1 %111, label %112, label %113 112: ; preds = %109 store i32 1, ptr %3, align 4 br label %147 113: ; preds = %109 br label %114 114: ; preds = %113 %115 = load ptr, ptr %5, align 8 %116 = getelementptr inbounds i8, ptr %115, i32 -1 store ptr %116, ptr %5, align 8 br label %84, !llvm.loop !9 117: ; preds = %84 br label %146 118: ; preds = %9 %119 = load ptr, ptr %4, align 8 %120 = load i8, ptr %119, align 1 %121 = icmp ne i8 %120, 0 br i1 %121, label %122, label %132 122: ; preds = %118 %123 = load ptr, ptr %5, align 8 %124 = getelementptr inbounds i8, ptr %123, i32 1 store ptr %124, ptr %5, align 8 %125 = load i8, ptr %123, align 1 %126 = sext i8 %125 to i32 %127 = load ptr, ptr %4, align 8 %128 = getelementptr inbounds i8, ptr %127, i32 1 store ptr %128, ptr %4, align 8 %129 = load i8, ptr %127, align 1 %130 = sext i8 %129 to i32 %131 = icmp ne i32 %126, %130 br i1 %131, label %132, label %133 132: ; preds = %122, %118 store i32 1, ptr %3, align 4 br label %147 133: ; preds = %122 br label %146 134: ; preds = %9 %135 = load ptr, ptr %5, align 8 %136 = getelementptr inbounds i8, ptr %135, i32 1 store ptr %136, ptr %5, align 8 %137 = load i8, ptr %135, align 1 %138 = sext i8 %137 to i32 %139 = load ptr, ptr %4, align 8 %140 = getelementptr inbounds i8, ptr %139, i64 -1 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp ne i32 %138, %142 br i1 %143, label %144, label %145 144: ; preds = %134 store i32 1, ptr %3, align 4 br label %147 145: ; preds = %134 br label %146 146: ; preds = %145, %133, %117, %71, %27 br label %9 147: ; preds = %144, %132, %112, %108, %70, %35, %26, %14 %148 = load i32, ptr %3, align 4 ret i32 %148 } declare i32 @globchars(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqqz3fkvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glob(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [16 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %9 9: ; preds = %150, %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %4, align 8 %12 = load i8, ptr %10, align 1 %13 = sext i8 %12 to i32 switch i32 %13, label %138 [ i32 0, label %14 i32 63, label %21 i32 91, label %28 i32 42, label %74 i32 92, label %122 ] 14: ; preds = %9 %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 %19 = zext i1 %18 to i64 %20 = select i1 %18, i32 -1, i32 0 store i32 %20, ptr %3, align 4 br label %151 21: ; preds = %9 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %5, align 8 %24 = load i8, ptr %22, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %21 store i32 1, ptr %3, align 4 br label %151 27: ; preds = %21 br label %150 28: ; preds = %9 %29 = load ptr, ptr %4, align 8 store ptr %29, ptr %7, align 8 br label %30 30: ; preds = %46, %28 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %4, align 8 %33 = load i8, ptr %31, align 1 %34 = icmp ne i8 %33, 0 br i1 %34, label %36, label %35 35: ; preds = %30 store i32 1, ptr %3, align 4 br label %151 36: ; preds = %30 br label %37 37: ; preds = %36 %38 = load ptr, ptr %7, align 8 %39 = load ptr, ptr %4, align 8 %40 = icmp eq ptr %38, %39 br i1 %40, label %46, label %41 41: ; preds = %37 %42 = load ptr, ptr %4, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 93 br label %46 46: ; preds = %41, %37 %47 = phi i1 [ true, %37 ], [ %45, %41 ] br i1 %47, label %30, label %48, !llvm.loop !6 48: ; preds = %46 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %4, align 8 %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %54 = call i32 @globchars(ptr noundef %51, ptr noundef %52, ptr noundef %53) %55 = load ptr, ptr %5, align 8 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = sdiv i32 %57, 8 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = load ptr, ptr %5, align 8 %64 = load i8, ptr %63, align 1 %65 = zext i8 %64 to i32 %66 = srem i32 %65, 8 %67 = shl i32 1, %66 %68 = and i32 %62, %67 %69 = icmp ne i32 %68, 0 br i1 %69, label %71, label %70 70: ; preds = %48 store i32 1, ptr %3, align 4 br label %151 71: ; preds = %48 %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds i8, ptr %72, i32 1 store ptr %73, ptr %5, align 8 br label %150 74: ; preds = %9 %75 = load ptr, ptr %5, align 8 store ptr %75, ptr %7, align 8 %76 = load ptr, ptr %5, align 8 %77 = load i8, ptr %76, align 1 %78 = icmp ne i8 %77, 0 br i1 %78, label %.lr.ph, label %85 .lr.ph: ; preds = %74 br label %79 79: ; preds = %.lr.ph, %79 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds i8, ptr %80, i32 1 store ptr %81, ptr %5, align 8 %82 = load ptr, ptr %5, align 8 %83 = load i8, ptr %82, align 1 %84 = icmp ne i8 %83, 0 br i1 %84, label %79, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %79 br label %85 85: ; preds = %._crit_edge, %74 %86 = load ptr, ptr %5, align 8 %87 = load ptr, ptr %7, align 8 %88 = icmp ne ptr %86, %87 br i1 %88, label %.lr.ph2, label %121 .lr.ph2: ; preds = %85 br label %89 89: ; preds = %.lr.ph2, %115 %90 = load ptr, ptr %4, align 8 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp ne i32 %92, 0 br i1 %93, label %94, label %98 94: ; preds = %89 %95 = load ptr, ptr %4, align 8 %96 = load ptr, ptr %5, align 8 %97 = call i32 @glob(ptr noundef %95, ptr noundef %96) br label %105 98: ; preds = %89 %99 = load ptr, ptr %5, align 8 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp ne i32 %101, 0 %103 = zext i1 %102 to i64 %104 = select i1 %102, i32 -1, i32 0 br label %105 105: ; preds = %98, %94 %106 = phi i32 [ %97, %94 ], [ %104, %98 ] store i32 %106, ptr %8, align 4 %107 = load i32, ptr %8, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %110, label %109 109: ; preds = %105 store i32 0, ptr %3, align 4 br label %151 110: ; preds = %105 %111 = load i32, ptr %8, align 4 %112 = icmp slt i32 %111, 0 br i1 %112, label %113, label %114 113: ; preds = %110 store i32 1, ptr %3, align 4 br label %151 114: ; preds = %110 br label %115 115: ; preds = %114 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds i8, ptr %116, i32 -1 store ptr %117, ptr %5, align 8 %118 = load ptr, ptr %5, align 8 %119 = load ptr, ptr %7, align 8 %120 = icmp ne ptr %118, %119 br i1 %120, label %89, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %115 br label %121 121: ; preds = %._crit_edge3, %85 br label %150 122: ; preds = %9 %123 = load ptr, ptr %4, align 8 %124 = load i8, ptr %123, align 1 %125 = icmp ne i8 %124, 0 br i1 %125, label %126, label %136 126: ; preds = %122 %127 = load ptr, ptr %5, align 8 %128 = getelementptr inbounds i8, ptr %127, i32 1 store ptr %128, ptr %5, align 8 %129 = load i8, ptr %127, align 1 %130 = sext i8 %129 to i32 %131 = load ptr, ptr %4, align 8 %132 = getelementptr inbounds i8, ptr %131, i32 1 store ptr %132, ptr %4, align 8 %133 = load i8, ptr %131, align 1 %134 = sext i8 %133 to i32 %135 = icmp ne i32 %130, %134 br i1 %135, label %136, label %137 136: ; preds = %126, %122 store i32 1, ptr %3, align 4 br label %151 137: ; preds = %126 br label %150 138: ; preds = %9 %139 = load ptr, ptr %5, align 8 %140 = getelementptr inbounds i8, ptr %139, i32 1 store ptr %140, ptr %5, align 8 %141 = load i8, ptr %139, align 1 %142 = sext i8 %141 to i32 %143 = load ptr, ptr %4, align 8 %144 = getelementptr inbounds i8, ptr %143, i64 -1 %145 = load i8, ptr %144, align 1 %146 = sext i8 %145 to i32 %147 = icmp ne i32 %142, %146 br i1 %147, label %148, label %149 148: ; preds = %138 store i32 1, ptr %3, align 4 br label %151 149: ; preds = %138 br label %150 150: ; preds = %149, %137, %121, %71, %27 br label %9 151: ; preds = %148, %136, %113, %109, %70, %35, %26, %14 %152 = load i32, ptr %3, align 4 ret i32 %152 } declare i32 @globchars(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp140_27bs.c' source_filename = "/tmp/tmp140_27bs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caller() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @callee(ptr noundef %2) %4 = load i32, ptr %1, align 4 ret i32 %4 } declare i32 @callee(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp140_27bs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caller() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @callee(ptr noundef %2) %4 = load i32, ptr %1, align 4 ret i32 %4 } declare i32 @callee(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpye8p33t_.c' source_filename = "/tmp/tmpye8p33t_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [347 x i8] c"Usage: sbsdump [OPTION]... hostname\0ADump data in SBS format from a socket.\0A -c show only aircrafts with a callsign in spotting mode\0A -h display this help and exit\0A -l log aircrafts into a data base when in spotting mode\0A -p set port (default 30003)\0A -r show messages in raw format\0A -s show only new aircrafts excluding dups (spotting mode)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_usage() #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/tmpye8p33t_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [347 x i8] c"Usage: sbsdump [OPTION]... hostname\0ADump data in SBS format from a socket.\0A -c show only aircrafts with a callsign in spotting mode\0A -h display this help and exit\0A -l log aircrafts into a data base when in spotting mode\0A -p set port (default 30003)\0A -r show messages in raw format\0A -s show only new aircrafts excluding dups (spotting mode)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_usage() #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/tmpfu14a0o6.c' source_filename = "/tmp/tmpfu14a0o6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @supprimer_element(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @xfree(ptr noundef %3) ret void } declare i32 @xfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfu14a0o6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @supprimer_element(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @xfree(ptr noundef %3) ret void } declare i32 @xfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu49edfo1.c' source_filename = "/tmp/tmpu49edfo1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"ababqweababqwababaqweabababbbaa\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"ababb\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c"the src string contains the target string at index:%d\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"\0Athe target string is: \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"the src string doesn't contain the target string...\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @string_matching(ptr noundef %7, ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, -1 br i1 %11, label %12, label %37 12: ; preds = %0 %13 = load ptr, ptr %3, align 8 %14 = call i64 @strlen(ptr noundef %13) store i64 %14, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %6, align 4 store i32 0, ptr %6, align 4 br label %18 18: ; preds = %33, %12 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = load i64, ptr %5, align 8 %22 = icmp ult i64 %20, %21 br i1 %22, label %23, label %36 23: ; preds = %18 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %24, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) br label %33 33: ; preds = %23 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %6, align 4 br label %18, !llvm.loop !6 36: ; preds = %18 br label %39 37: ; preds = %0 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %39 39: ; preds = %37, %36 %40 = call i32 (...) @getchar() ret i32 0 } declare i32 @string_matching(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu49edfo1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"ababqweababqwababaqweabababbbaa\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"ababb\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c"the src string contains the target string at index:%d\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"\0Athe target string is: \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"the src string doesn't contain the target string...\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @string_matching(ptr noundef %7, ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, -1 br i1 %11, label %12, label %40 12: ; preds = %0 %13 = load ptr, ptr %3, align 8 %14 = call i64 @strlen(ptr noundef %13) store i64 %14, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %6, align 4 store i32 0, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = load i64, ptr %5, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %.lr.ph, label %39 .lr.ph: ; preds = %12 br label %22 22: ; preds = %.lr.ph, %32 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %24, %25 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %23, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30) br label %32 32: ; preds = %22 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = load i64, ptr %5, align 8 %38 = icmp ult i64 %36, %37 br i1 %38, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %39 39: ; preds = %._crit_edge, %12 br label %42 40: ; preds = %0 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %42 42: ; preds = %40, %39 %43 = call i32 (...) @getchar() ret i32 0 } declare i32 @string_matching(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @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"}
; ModuleID = '/tmp/tmp2xxkt9c9.c' source_filename = "/tmp/tmp2xxkt9c9.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"Give the name of a .bbl file\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"--html\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Couldn't open %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"<h1>References</h1>\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"<@hd1=\22References\22>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca [4096 x i8], align 16 %9 = alloca [1024 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 2 br i1 %13, label %14, label %19 14: ; preds = %2 %15 = load i32, ptr @stderr, align 4 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %20, 3 br i1 %21, label %22, label %29 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.1) %27 = icmp ne i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %22 store i32 1, ptr %10, align 4 br label %29 29: ; preds = %28, %22, %19 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call ptr @fopen(ptr noundef %32, ptr noundef @.str.2) store ptr %33, ptr %6, align 8 %34 = load ptr, ptr %6, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %44 36: ; preds = %29 %37 = load i32, ptr @stderr, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 1 %40 = load ptr, ptr %39, align 8 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.3, ptr noundef %40) %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #3 unreachable 44: ; preds = %29 %45 = load i32, ptr %10, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %44 %48 = call i32 @printf(ptr noundef @.str.4) br label %51 49: ; preds = %44 %50 = call i32 @printf(ptr noundef @.str.5) br label %51 51: ; preds = %49, %47 %52 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 store i8 0, ptr %52, align 16 br label %53 53: ; preds = %93, %51 %54 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %55 = load ptr, ptr %6, align 8 %56 = call i64 @fgets(ptr noundef %54, i32 noundef 1024, ptr noundef %55) %57 = icmp ne i64 %56, 0 br i1 %57, label %58, label %62 58: ; preds = %53 %59 = load i32, ptr %11, align 4 %60 = icmp ne i32 %59, 0 %61 = xor i1 %60, true br label %62 62: ; preds = %58, %53 %63 = phi i1 [ false, %53 ], [ %61, %58 ] br i1 %63, label %64, label %94 64: ; preds = %62 %65 = load ptr, ptr %6, align 8 %66 = call signext i8 @fgetc(ptr noundef %65) store i8 %66, ptr %7, align 1 %67 = load i8, ptr %7, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 10 br i1 %69, label %74, label %70 70: ; preds = %64 %71 = load i8, ptr %7, align 1 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 13 br i1 %73, label %74, label %86 74: ; preds = %70, %64 %75 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %76 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %77 = call i32 @append_to_buf(ptr noundef %75, ptr noundef %76) store i32 %77, ptr %11, align 4 %78 = load i32, ptr %11, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %84, label %80 80: ; preds = %74 %81 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %82 = load i32, ptr %10, align 4 %83 = call i32 @parse_record(ptr noundef %81, i32 noundef %82) store i32 %83, ptr %11, align 4 br label %84 84: ; preds = %80, %74 %85 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 store i8 0, ptr %85, align 16 br label %93 86: ; preds = %70 %87 = load i8, ptr %7, align 1 %88 = load ptr, ptr %6, align 8 %89 = call i32 @ungetc(i8 noundef signext %87, ptr noundef %88) %90 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %91 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %92 = call i32 @append_to_buf(ptr noundef %90, ptr noundef %91) store i32 %92, ptr %11, align 4 br label %93 93: ; preds = %86, %84 br label %53, !llvm.loop !6 94: ; preds = %62 %95 = load ptr, ptr %6, align 8 %96 = call i32 @fclose(ptr noundef %95) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @append_to_buf(ptr noundef, ptr noundef) #1 declare i32 @parse_record(ptr noundef, i32 noundef) #1 declare i32 @ungetc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp2xxkt9c9.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"Give the name of a .bbl file\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"--html\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Couldn't open %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"<h1>References</h1>\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"<@hd1=\22References\22>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca [4096 x i8], align 16 %9 = alloca [1024 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 2 br i1 %13, label %14, label %19 14: ; preds = %2 %15 = load i32, ptr @stderr, align 4 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %20, 3 br i1 %21, label %22, label %29 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.1) %27 = icmp ne i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %22 store i32 1, ptr %10, align 4 br label %29 29: ; preds = %28, %22, %19 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call ptr @fopen(ptr noundef %32, ptr noundef @.str.2) store ptr %33, ptr %6, align 8 %34 = load ptr, ptr %6, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %44 36: ; preds = %29 %37 = load i32, ptr @stderr, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 1 %40 = load ptr, ptr %39, align 8 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.3, ptr noundef %40) %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #3 unreachable 44: ; preds = %29 %45 = load i32, ptr %10, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %44 %48 = call i32 @printf(ptr noundef @.str.4) br label %51 49: ; preds = %44 %50 = call i32 @printf(ptr noundef @.str.5) br label %51 51: ; preds = %49, %47 %52 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 store i8 0, ptr %52, align 16 br label %53 53: ; preds = %93, %51 %54 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %55 = load ptr, ptr %6, align 8 %56 = call i64 @fgets(ptr noundef %54, i32 noundef 1024, ptr noundef %55) %57 = icmp ne i64 %56, 0 br i1 %57, label %58, label %62 58: ; preds = %53 %59 = load i32, ptr %11, align 4 %60 = icmp ne i32 %59, 0 %61 = xor i1 %60, true br label %62 62: ; preds = %58, %53 %63 = phi i1 [ false, %53 ], [ %61, %58 ] br i1 %63, label %64, label %94 64: ; preds = %62 %65 = load ptr, ptr %6, align 8 %66 = call signext i8 @fgetc(ptr noundef %65) store i8 %66, ptr %7, align 1 %67 = load i8, ptr %7, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 10 br i1 %69, label %74, label %70 70: ; preds = %64 %71 = load i8, ptr %7, align 1 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 13 br i1 %73, label %74, label %86 74: ; preds = %70, %64 %75 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %76 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %77 = call i32 @append_to_buf(ptr noundef %75, ptr noundef %76) store i32 %77, ptr %11, align 4 %78 = load i32, ptr %11, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %84, label %80 80: ; preds = %74 %81 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %82 = load i32, ptr %10, align 4 %83 = call i32 @parse_record(ptr noundef %81, i32 noundef %82) store i32 %83, ptr %11, align 4 br label %84 84: ; preds = %80, %74 %85 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 store i8 0, ptr %85, align 16 br label %93 86: ; preds = %70 %87 = load i8, ptr %7, align 1 %88 = load ptr, ptr %6, align 8 %89 = call i32 @ungetc(i8 noundef signext %87, ptr noundef %88) %90 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %91 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %92 = call i32 @append_to_buf(ptr noundef %90, ptr noundef %91) store i32 %92, ptr %11, align 4 br label %93 93: ; preds = %86, %84 br label %53, !llvm.loop !6 94: ; preds = %62 %95 = load ptr, ptr %6, align 8 %96 = call i32 @fclose(ptr noundef %95) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @append_to_buf(ptr noundef, ptr noundef) #1 declare i32 @parse_record(ptr noundef, i32 noundef) #1 declare i32 @ungetc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpaim1n19f.c' source_filename = "/tmp/tmpaim1n19f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @LED_Init(i32 noundef 15, i32 noundef 0) br label %3 3: ; preds = %0, %3 %4 = call i32 (...) @LED_GetState() %5 = icmp ne i32 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 %8 = call i32 @LED_SetState(i32 noundef %7) %9 = call i32 @delay(i32 noundef 400) br label %3 } declare i32 @LED_Init(i32 noundef, i32 noundef) #1 declare i32 @LED_SetState(i32 noundef) #1 declare i32 @LED_GetState(...) #1 declare i32 @delay(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/tmpaim1n19f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @LED_Init(i32 noundef 15, i32 noundef 0) br label %3 3: ; preds = %3, %0 %4 = call i32 (...) @LED_GetState() %5 = icmp ne i32 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 %8 = call i32 @LED_SetState(i32 noundef %7) %9 = call i32 @delay(i32 noundef 400) br label %3 } declare i32 @LED_Init(i32 noundef, i32 noundef) #1 declare i32 @LED_SetState(i32 noundef) #1 declare i32 @LED_GetState(...) #1 declare i32 @delay(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/tmp7_wq22un.c' source_filename = "/tmp/tmp7_wq22un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decrypt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @letterfreq(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @analyzefrequencies(ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @free(ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %4, align 4 %13 = call i32 @dec(ptr noundef %11, i32 noundef %12) ret void } declare ptr @letterfreq(ptr noundef) #1 declare i32 @analyzefrequencies(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @dec(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/tmp7_wq22un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decrypt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @letterfreq(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @analyzefrequencies(ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @free(ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %4, align 4 %13 = call i32 @dec(ptr noundef %11, i32 noundef %12) ret void } declare ptr @letterfreq(ptr noundef) #1 declare i32 @analyzefrequencies(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @dec(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/tmpyywkarkb.c' source_filename = "/tmp/tmpyywkarkb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca float, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 br label %15 15: ; preds = %25, %2 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = call float (...) @rand_float() %21 = call float @llvm.fmuladd.f32(float %20, float 2.000000e+04, float -1.000000e+04) %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %14, i64 %23 store float %21, ptr %24, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %10, align 4 br label %15, !llvm.loop !6 28: ; preds = %15 store float 0.000000e+00, ptr %8, align 4 %29 = call double (...) @tic() store double %29, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %30 30: ; preds = %43, %28 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %46 34: ; preds = %30 %35 = load i32, ptr %4, align 4 %36 = call float @stdlib_strided_svariance(i32 noundef %35, float noundef 1.000000e+00, ptr noundef %14, i32 noundef 1) store float %36, ptr %8, align 4 %37 = load float, ptr %8, align 4 %38 = load float, ptr %8, align 4 %39 = fcmp une float %37, %38 br i1 %39, label %40, label %42 40: ; preds = %34 %41 = call i32 @printf(ptr noundef @.str) br label %46 42: ; preds = %34 br label %43 43: ; preds = %42 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 br label %30, !llvm.loop !8 46: ; preds = %40, %30 %47 = call double (...) @tic() %48 = load double, ptr %9, align 8 %49 = fsub double %47, %48 store double %49, ptr %5, align 8 %50 = load float, ptr %8, align 4 %51 = load float, ptr %8, align 4 %52 = fcmp une float %50, %51 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @printf(ptr noundef @.str) br label %55 55: ; preds = %53, %46 %56 = load double, ptr %5, align 8 %57 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %57) ret double %56 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_svariance(i32 noundef, float noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmpyywkarkb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca float, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %24 %19 = call float (...) @rand_float() %20 = call float @llvm.fmuladd.f32(float %19, float 2.000000e+04, float -1.000000e+04) %21 = load i32, ptr %10, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds float, ptr %14, i64 %22 store float %20, ptr %23, align 4 br label %24 24: ; preds = %18 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 store float 0.000000e+00, ptr %8, align 4 %31 = call double (...) @tic() store double %31, ptr %9, align 8 store i32 0, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %30 br label %35 35: ; preds = %.lr.ph2, %44 %36 = load i32, ptr %4, align 4 %37 = call float @stdlib_strided_svariance(i32 noundef %36, float noundef 1.000000e+00, ptr noundef %14, i32 noundef 1) store float %37, ptr %8, align 4 %38 = load float, ptr %8, align 4 %39 = load float, ptr %8, align 4 %40 = fcmp une float %38, %39 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 @printf(ptr noundef @.str) br label %50 43: ; preds = %35 br label %44 44: ; preds = %43 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %44 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %30 br label %50 50: ; preds = %.loopexit, %41 %51 = call double (...) @tic() %52 = load double, ptr %9, align 8 %53 = fsub double %51, %52 store double %53, ptr %5, align 8 %54 = load float, ptr %8, align 4 %55 = load float, ptr %8, align 4 %56 = fcmp une float %54, %55 br i1 %56, label %57, label %59 57: ; preds = %50 %58 = call i32 @printf(ptr noundef @.str) br label %59 59: ; preds = %57, %50 %60 = load double, ptr %5, align 8 %61 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %61) ret double %60 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_svariance(i32 noundef, float noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmpj6i2jw8_.c' source_filename = "/tmp/tmpj6i2jw8_.c" target datalayout = "e-m:e-p270: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/tmpj6i2jw8_.c" target datalayout = "e-m:e-p270: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"}