llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpjn0qx8v5.c' source_filename = "/tmp/tmpjn0qx8v5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_decimal_n(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %8, align 4 store i32 0, ptr %10, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load i32, ptr %8, align 4 %16 = sub nsw i32 0, %15 store i32 %16, ptr %8, align 4 store i32 1, ptr %10, align 4 br label %17 17: ; preds = %14, %2 %18 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 store ptr %18, ptr %6, align 8 %19 = load i32, ptr %4, align 4 store i32 %19, ptr %9, align 4 br label %20 20: ; preds = %23, %17 %21 = load i32, ptr %9, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %35 23: ; preds = %20 %24 = load i32, ptr %8, align 4 %25 = srem i32 %24, 10 store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 48, %26 %28 = trunc i32 %27 to i8 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %6, align 8 store i8 %28, ptr %29, align 1 %31 = load i32, ptr %8, align 4 %32 = sdiv i32 %31, 10 store i32 %32, ptr %8, align 4 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %9, align 4 br label %20, !llvm.loop !6 35: ; preds = %20 br label %36 36: ; preds = %40, %35 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %39 = icmp ugt ptr %37, %38 br i1 %39, label %40, label %46 40: ; preds = %36 %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 -1 store ptr %42, ptr %6, align 8 %43 = load ptr, ptr %6, align 8 %44 = load i8, ptr %43, align 1 %45 = call i32 @putc(i8 noundef signext %44) br label %36, !llvm.loop !8 46: ; preds = %36 ret void } declare i32 @putc(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjn0qx8v5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_decimal_n(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %8, align 4 store i32 0, ptr %10, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load i32, ptr %8, align 4 %16 = sub nsw i32 0, %15 store i32 %16, ptr %8, align 4 store i32 1, ptr %10, align 4 br label %17 17: ; preds = %14, %2 %18 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 store ptr %18, ptr %6, align 8 %19 = load i32, ptr %4, align 4 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %.lr.ph, label %36 .lr.ph: ; preds = %17 br label %22 22: ; preds = %.lr.ph, %22 %23 = load i32, ptr %8, align 4 %24 = srem i32 %23, 10 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 48, %25 %27 = trunc i32 %26 to i8 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %6, align 8 store i8 %27, ptr %28, align 1 %30 = load i32, ptr %8, align 4 %31 = sdiv i32 %30, 10 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %36 36: ; preds = %._crit_edge, %17 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %39 = icmp ugt ptr %37, %38 br i1 %39, label %.lr.ph2, label %48 .lr.ph2: ; preds = %36 br label %40 40: ; preds = %.lr.ph2, %40 %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 -1 store ptr %42, ptr %6, align 8 %43 = load ptr, ptr %6, align 8 %44 = load i8, ptr %43, align 1 %45 = call i32 @putc(i8 noundef signext %44) %46 = load ptr, ptr %6, align 8 %47 = icmp ugt ptr %46, %38 br i1 %47, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %48 48: ; preds = %._crit_edge3, %36 ret void } declare i32 @putc(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp04f_75sg.c' source_filename = "/tmp/tmp04f_75sg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chomp(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 i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %24 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %8, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 10 br i1 %16, label %17, label %24 17: ; preds = %7 %18 = load ptr, ptr %2, align 8 %19 = load ptr, ptr %2, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %18, i64 %22 store i8 0, ptr %23, align 1 br label %24 24: ; preds = %17, %7, %1 %25 = load ptr, ptr %2, align 8 ret ptr %25 } 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/tmp04f_75sg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chomp(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 i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %24 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %8, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 10 br i1 %16, label %17, label %24 17: ; preds = %7 %18 = load ptr, ptr %2, align 8 %19 = load ptr, ptr %2, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %18, i64 %22 store i8 0, ptr %23, align 1 br label %24 24: ; preds = %17, %7, %1 %25 = load ptr, ptr %2, align 8 ret ptr %25 } 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/tmp9qom779a.c' source_filename = "/tmp/tmp9qom779a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @open_netlink() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load i32, ptr %6, align 4 ret i32 %11 12: ; preds = %2 br label %13 13: ; preds = %12, %13 %14 = load i32, ptr %6, align 4 %15 = call i32 @read_event(i32 noundef %14) br label %13 } declare i32 @open_netlink(...) #1 declare i32 @read_event(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/tmp9qom779a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @open_netlink() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load i32, ptr %6, align 4 ret i32 %11 12: ; preds = %2 br label %13 13: ; preds = %13, %12 %14 = load i32, ptr %6, align 4 %15 = call i32 @read_event(i32 noundef %14) br label %13 } declare i32 @open_netlink(...) #1 declare i32 @read_event(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/tmpoejoi38w.c' source_filename = "/tmp/tmpoejoi38w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @testScanAndShoot() %2 = call i32 (...) @testDriveAndCycle() %3 = call i32 (...) @testRobotsCollision() ret i32 0 } declare i32 @testScanAndShoot(...) #1 declare i32 @testDriveAndCycle(...) #1 declare i32 @testRobotsCollision(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoejoi38w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @testScanAndShoot() %2 = call i32 (...) @testDriveAndCycle() %3 = call i32 (...) @testRobotsCollision() ret i32 0 } declare i32 @testScanAndShoot(...) #1 declare i32 @testDriveAndCycle(...) #1 declare i32 @testRobotsCollision(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9znkpm1t.c' source_filename = "/tmp/tmp9znkpm1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ModemStarted(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 @F_OK, align 4 %5 = call i32 @access(ptr noundef %3, i32 noundef %4) ret i32 %5 } declare i32 @access(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/tmp9znkpm1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ModemStarted(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 @F_OK, align 4 %5 = call i32 @access(ptr noundef %3, i32 noundef %4) ret i32 %5 } declare i32 @access(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/tmp41eh6euw.c' source_filename = "/tmp/tmp41eh6euw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"out of memory allocating %d bytes.\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"out of memory.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @out_of_mem(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = call i32 (ptr, ...) @fatal(ptr noundef @.str, i32 noundef %6) br label %8 8: ; preds = %5, %1 %9 = call i32 (ptr, ...) @fatal(ptr noundef @.str.1) ret void } declare i32 @fatal(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp41eh6euw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"out of memory allocating %d bytes.\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"out of memory.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @out_of_mem(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = call i32 (ptr, ...) @fatal(ptr noundef @.str, i32 noundef %6) br label %8 8: ; preds = %5, %1 %9 = call i32 (ptr, ...) @fatal(ptr noundef @.str.1) ret void } declare i32 @fatal(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiye70pz_.c' source_filename = "/tmp/tmpiye70pz_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func_t1mskc64(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i64 @__t1mskc_u64(i64 noundef %3) ret i64 %4 } declare i64 @__t1mskc_u64(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/tmpiye70pz_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func_t1mskc64(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i64 @__t1mskc_u64(i64 noundef %3) ret i64 %4 } declare i64 @__t1mskc_u64(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/tmpcmaavh8_.c' source_filename = "/tmp/tmpcmaavh8_.c" target datalayout = "e-m:e-p270:32: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [23 x i32], align 16 %3 = alloca [23 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %16, %0 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 23 br i1 %8, label %9, label %19 9: ; preds = %6 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [23 x i32], ptr %3, i64 0, i64 %11 store i32 0, ptr %12, align 4 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 %14 store i32 0, ptr %15, align 4 br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 br label %6, !llvm.loop !6 19: ; preds = %6 br label %20 20: ; preds = %28, %19 %21 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %22 22: ; preds = %20 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %22 %26 = load i32, ptr %4, align 4 %27 = icmp sgt i32 %26, 20 br label %28 28: ; preds = %25, %22 %29 = phi i1 [ true, %22 ], [ %27, %25 ] br i1 %29, label %20, label %30, !llvm.loop !8 30: ; preds = %28 store i32 0, ptr %5, align 4 br label %31 31: ; preds = %40, %30 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %43 35: ; preds = %31 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 %37 %39 = call i32 @scanf(ptr noundef @.str, ptr noundef %38) br label %40 40: ; preds = %35 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 br label %31, !llvm.loop !9 43: ; preds = %31 %44 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 0 %45 = getelementptr inbounds [23 x i32], ptr %3, i64 0, i64 0 %46 = load i32, ptr %4, align 4 %47 = call i32 @next_generation(ptr noundef %44, ptr noundef %45, i32 noundef %46) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @next_generation(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcmaavh8_.c" target datalayout = "e-m:e-p270:32: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [23 x i32], align 16 %3 = alloca [23 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 23 br i1 %7, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %15 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [23 x i32], ptr %3, i64 0, i64 %10 store i32 0, ptr %11, align 4 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 %13 store i32 0, ptr %14, align 4 br label %15 15: ; preds = %8 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %18, 23 br i1 %19, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %0 br label %21 21: ; preds = %29, %20 %22 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %23 23: ; preds = %21 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %23 %27 = load i32, ptr %4, align 4 %28 = icmp sgt i32 %27, 20 br label %29 29: ; preds = %26, %23 %30 = phi i1 [ true, %23 ], [ %28, %26 ] br i1 %30, label %21, label %31, !llvm.loop !8 31: ; preds = %29 store i32 0, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %46 .lr.ph2: ; preds = %31 br label %35 35: ; preds = %.lr.ph2, %40 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 %37 %39 = call i32 @scanf(ptr noundef @.str, ptr noundef %38) br label %40 40: ; preds = %35 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %35, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %40 br label %46 46: ; preds = %._crit_edge3, %31 %47 = getelementptr inbounds [23 x i32], ptr %2, i64 0, i64 0 %48 = getelementptr inbounds [23 x i32], ptr %3, i64 0, i64 0 %49 = load i32, ptr %4, align 4 %50 = call i32 @next_generation(ptr noundef %47, ptr noundef %48, i32 noundef %49) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @next_generation(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpsrtly2yw.c' source_filename = "/tmp/tmpsrtly2yw.c" target datalayout = "e-m:e-p270: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/tmpsrtly2yw.c" target datalayout = "e-m:e-p270: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/tmpihfcq_22.c' source_filename = "/tmp/tmpihfcq_22.c" target datalayout = "e-m:e-p270: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/tmpihfcq_22.c" target datalayout = "e-m:e-p270: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/tmp4j8dz927.c' source_filename = "/tmp/tmp4j8dz927.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"Bleah!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @peasoup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %8, %1 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = add nsw i32 %5, -1 store i32 %6, ptr %4, align 4 %7 = icmp ne i32 %5, 0 br i1 %7, label %8, label %10 8: ; preds = %3 %9 = call i32 @puts(ptr noundef @.str) br label %3, !llvm.loop !6 10: ; preds = %3 %11 = load ptr, ptr %2, align 8 store i32 666, ptr %11, align 4 ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4j8dz927.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"Bleah!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @peasoup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 %5 = add nsw i32 %4, -1 store i32 %5, ptr %3, align 4 %6 = icmp ne i32 %4, 0 br i1 %6, label %.lr.ph, label %13 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = call i32 @puts(ptr noundef @.str) %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %9, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %9, align 4 %12 = icmp ne i32 %10, 0 br i1 %12, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %13 13: ; preds = %._crit_edge, %1 %14 = load ptr, ptr %2, align 8 store i32 666, ptr %14, align 4 ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps94jvb00.c' source_filename = "/tmp/tmps94jvb00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @strtof(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 float @strtod(ptr noundef %5, ptr noundef %6) ret float %7 } declare float @strtod(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/tmps94jvb00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @strtof(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 float @strtod(ptr noundef %5, ptr noundef %6) ret float %7 } declare float @strtod(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/tmpm00ys5_p.c' source_filename = "/tmp/tmpm00ys5_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fftCosInit(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = shl i64 1, %7 store i64 %8, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds float, ptr %9, i64 0 store float 1.000000e+00, ptr %10, align 4 store i64 1, ptr %6, align 8 br label %11 11: ; preds = %27, %2 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %5, align 8 %14 = udiv i64 %13, 4 %15 = icmp ult i64 %12, %14 br i1 %15, label %16, label %30 16: ; preds = %11 %17 = load i64, ptr %6, align 8 %18 = uitofp i64 %17 to double %19 = fmul double 0x401921FB54442D18, %18 %20 = load i64, ptr %5, align 8 %21 = uitofp i64 %20 to double %22 = fdiv double %19, %21 %23 = call float @cos(double noundef %22) %24 = load ptr, ptr %4, align 8 %25 = load i64, ptr %6, align 8 %26 = getelementptr inbounds float, ptr %24, i64 %25 store float %23, ptr %26, align 4 br label %27 27: ; preds = %16 %28 = load i64, ptr %6, align 8 %29 = add i64 %28, 1 store i64 %29, ptr %6, align 8 br label %11, !llvm.loop !6 30: ; preds = %11 %31 = load ptr, ptr %4, align 8 %32 = load i64, ptr %5, align 8 %33 = udiv i64 %32, 4 %34 = getelementptr inbounds float, ptr %31, i64 %33 store float 0.000000e+00, ptr %34, align 4 ret void } declare float @cos(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm00ys5_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fftCosInit(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = shl i64 1, %7 store i64 %8, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds float, ptr %9, i64 0 store float 1.000000e+00, ptr %10, align 4 store i64 1, ptr %6, align 8 %11 = load i64, ptr %6, align 8 %12 = load i64, ptr %5, align 8 %13 = udiv i64 %12, 4 %14 = icmp ult i64 %11, %13 br i1 %14, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %26 %16 = load i64, ptr %6, align 8 %17 = uitofp i64 %16 to double %18 = fmul double 0x401921FB54442D18, %17 %19 = load i64, ptr %5, align 8 %20 = uitofp i64 %19 to double %21 = fdiv double %18, %20 %22 = call float @cos(double noundef %21) %23 = load ptr, ptr %4, align 8 %24 = load i64, ptr %6, align 8 %25 = getelementptr inbounds float, ptr %23, i64 %24 store float %22, ptr %25, align 4 br label %26 26: ; preds = %15 %27 = load i64, ptr %6, align 8 %28 = add i64 %27, 1 store i64 %28, ptr %6, align 8 %29 = load i64, ptr %6, align 8 %30 = load i64, ptr %5, align 8 %31 = udiv i64 %30, 4 %32 = icmp ult i64 %29, %31 br i1 %32, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %33 33: ; preds = %._crit_edge, %2 %34 = load ptr, ptr %4, align 8 %35 = load i64, ptr %5, align 8 %36 = udiv i64 %35, 4 %37 = getelementptr inbounds float, ptr %34, i64 %36 store float 0.000000e+00, ptr %37, align 4 ret void } declare float @cos(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp14hkf4_s.c' source_filename = "/tmp/tmp14hkf4_s.c" target datalayout = "e-m:e-p270: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 [36 x i8] c"Program timed out after %d seconds\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigalrm_handler(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, i32 noundef 0) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, 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/tmp14hkf4_s.c" target datalayout = "e-m:e-p270: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 [36 x i8] c"Program timed out after %d seconds\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigalrm_handler(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, i32 noundef 0) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, 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/tmphjt6wqd3.c' source_filename = "/tmp/tmphjt6wqd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reserved_Handler17() #0 { br label %1 1: ; preds = %0, %1 br label %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphjt6wqd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reserved_Handler17() #0 { br label %1 1: ; preds = %1, %0 br label %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkuljkz2b.c' source_filename = "/tmp/tmpkuljkz2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @do_cr(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 = call i32 @write_line_mud(ptr noundef @.str, ptr noundef %5) %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare i32 @write_line_mud(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/tmpkuljkz2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @do_cr(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 = call i32 @write_line_mud(ptr noundef @.str, ptr noundef %5) %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare i32 @write_line_mud(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/tmppvarpn6m.c' source_filename = "/tmp/tmppvarpn6m.c" target datalayout = "e-m:e-p270: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 [11 x i8] c"%s [FILE]\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Cannot open file\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c".tmp\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c" \09\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"VERSION_PATCH\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [24 x i8] c"VERSION_PATCH %d => %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 %7 = alloca [1024 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %8, align 8 store ptr null, ptr %9, align 8 store i32 0, ptr %10, align 4 store ptr null, ptr %11, align 8 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 2 br i1 %18, label %19, label %25 19: ; preds = %2 %20 = load i32, ptr @stderr, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %23) store i32 1, ptr %3, align 4 br label %128 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.1) store ptr %29, ptr %8, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %25 %32 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %128 33: ; preds = %25 %34 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 1 %37 = load ptr, ptr %36, align 8 %38 = call i32 @strcpy(ptr noundef %34, ptr noundef %37) %39 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %40 = call i32 @strcat(ptr noundef %39, ptr noundef @.str.3) %41 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %42 = call ptr @fopen(ptr noundef %41, ptr noundef @.str.4) store ptr %42, ptr %9, align 8 %43 = icmp eq ptr %42, null br i1 %43, label %44, label %48 44: ; preds = %33 %45 = call i32 @perror(ptr noundef @.str.2) %46 = load ptr, ptr %8, align 8 %47 = call i32 @fclose(ptr noundef %46) store i32 1, ptr %3, align 4 br label %128 48: ; preds = %33 store i32 0, ptr %12, align 4 br label %49 49: ; preds = %77, %48 %50 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %51 = load ptr, ptr %8, align 8 %52 = call i64 @fgets(ptr noundef %50, i32 noundef 246, ptr noundef %51) %53 = icmp ne i64 %52, 0 br i1 %53, label %54, label %78 54: ; preds = %49 %55 = load i32, ptr %10, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %10, align 4 %57 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %58 = call ptr @strtok(ptr noundef %57, ptr noundef @.str.5) store ptr %58, ptr %13, align 8 br label %59 59: ; preds = %75, %54 %60 = load ptr, ptr %13, align 8 %61 = icmp ne ptr %60, null br i1 %61, label %62, label %77 62: ; preds = %59 %63 = load i32, ptr %12, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %70 65: ; preds = %62 %66 = call ptr @malloc(i32 noundef 9) store ptr %66, ptr %11, align 8 %67 = load ptr, ptr %11, align 8 %68 = load ptr, ptr %13, align 8 %69 = call i32 @strcpy(ptr noundef %67, ptr noundef %68) br label %79 70: ; preds = %62 %71 = load ptr, ptr %13, align 8 %72 = call i32 @strcmp(ptr noundef %71, ptr noundef @.str.6) %73 = icmp ne i32 %72, 0 br i1 %73, label %75, label %74 74: ; preds = %70 store i32 1, ptr %12, align 4 br label %75 75: ; preds = %74, %70 %76 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5) store ptr %76, ptr %13, align 8 br label %59, !llvm.loop !6 77: ; preds = %59 br label %49, !llvm.loop !8 78: ; preds = %49 br label %79 79: ; preds = %78, %65 %80 = load ptr, ptr %8, align 8 %81 = call i32 @rewind(ptr noundef %80) %82 = load ptr, ptr %11, align 8 %83 = call i32 @atoi(ptr noundef %82) store i32 %83, ptr %14, align 4 %84 = load i32, ptr %14, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %14, align 4 %86 = load i32, ptr @stdout, align 4 %87 = load i32, ptr %14, align 4 %88 = sub nsw i32 %87, 1 %89 = load i32, ptr %14, align 4 %90 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %86, ptr noundef @.str.7, i32 noundef %88, i32 noundef %89) store i32 0, ptr %15, align 4 br label %91 91: ; preds = %108, %79 %92 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %93 = load ptr, ptr %8, align 8 %94 = call i64 @fgets(ptr noundef %92, i32 noundef 246, ptr noundef %93) %95 = icmp ne i64 %94, 0 br i1 %95, label %96, label %112 96: ; preds = %91 %97 = load i32, ptr %15, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %15, align 4 %99 = load i32, ptr %10, align 4 %100 = icmp eq i32 %98, %99 br i1 %100, label %101, label %108 101: ; preds = %96 %102 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %103 = load ptr, ptr %11, align 8 %104 = call ptr @strstr(ptr noundef %102, ptr noundef %103) store ptr %104, ptr %16, align 8 %105 = load ptr, ptr %16, align 8 %106 = load i32, ptr %14, align 4 %107 = call i32 @sprintf(ptr noundef %105, ptr noundef @.str.8, i32 noundef %106) br label %108 108: ; preds = %101, %96 %109 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %110 = load ptr, ptr %9, align 8 %111 = call i32 @fputs(ptr noundef %109, ptr noundef %110) br label %91, !llvm.loop !9 112: ; preds = %91 %113 = load ptr, ptr %11, align 8 %114 = call i32 @free(ptr noundef %113) %115 = load ptr, ptr %8, align 8 %116 = call i32 @fclose(ptr noundef %115) %117 = load ptr, ptr %9, align 8 %118 = call i32 @fclose(ptr noundef %117) %119 = load ptr, ptr %5, align 8 %120 = getelementptr inbounds ptr, ptr %119, i64 1 %121 = load ptr, ptr %120, align 8 %122 = call i32 @unlink(ptr noundef %121) %123 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %124 = load ptr, ptr %5, align 8 %125 = getelementptr inbounds ptr, ptr %124, i64 1 %126 = load ptr, ptr %125, align 8 %127 = call i32 @rename(ptr noundef %123, ptr noundef %126) store i32 0, ptr %3, align 4 br label %128 128: ; preds = %112, %44, %31, %19 %129 = load i32, ptr %3, align 4 ret i32 %129 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppvarpn6m.c" target datalayout = "e-m:e-p270: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 [11 x i8] c"%s [FILE]\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Cannot open file\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c".tmp\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c" \09\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"VERSION_PATCH\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [24 x i8] c"VERSION_PATCH %d => %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 %7 = alloca [1024 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %8, align 8 store ptr null, ptr %9, align 8 store i32 0, ptr %10, align 4 store ptr null, ptr %11, align 8 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 2 br i1 %18, label %19, label %25 19: ; preds = %2 %20 = load i32, ptr @stderr, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %23) store i32 1, ptr %3, align 4 br label %133 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.1) store ptr %29, ptr %8, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %25 %32 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %133 33: ; preds = %25 %34 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 1 %37 = load ptr, ptr %36, align 8 %38 = call i32 @strcpy(ptr noundef %34, ptr noundef %37) %39 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %40 = call i32 @strcat(ptr noundef %39, ptr noundef @.str.3) %41 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %42 = call ptr @fopen(ptr noundef %41, ptr noundef @.str.4) store ptr %42, ptr %9, align 8 %43 = icmp eq ptr %42, null br i1 %43, label %44, label %48 44: ; preds = %33 %45 = call i32 @perror(ptr noundef @.str.2) %46 = load ptr, ptr %8, align 8 %47 = call i32 @fclose(ptr noundef %46) store i32 1, ptr %3, align 4 br label %133 48: ; preds = %33 store i32 0, ptr %12, align 4 %49 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %50 = load ptr, ptr %8, align 8 %51 = call i64 @fgets(ptr noundef %49, i32 noundef 246, ptr noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %.lr.ph2, label %81 .lr.ph2: ; preds = %48 br label %53 53: ; preds = %.lr.ph2, %77 %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %10, align 4 %56 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %57 = call ptr @strtok(ptr noundef %56, ptr noundef @.str.5) store ptr %57, ptr %13, align 8 %58 = load ptr, ptr %13, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %.lr.ph, label %77 .lr.ph: ; preds = %53 br label %60 60: ; preds = %.lr.ph, %73 %61 = load i32, ptr %12, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %68 63: ; preds = %60 %64 = call ptr @malloc(i32 noundef 9) store ptr %64, ptr %11, align 8 %65 = load ptr, ptr %11, align 8 %66 = load ptr, ptr %13, align 8 %67 = call i32 @strcpy(ptr noundef %65, ptr noundef %66) br label %82 68: ; preds = %60 %69 = load ptr, ptr %13, align 8 %70 = call i32 @strcmp(ptr noundef %69, ptr noundef @.str.6) %71 = icmp ne i32 %70, 0 br i1 %71, label %73, label %72 72: ; preds = %68 store i32 1, ptr %12, align 4 br label %73 73: ; preds = %72, %68 %74 = call ptr @strtok(ptr noundef null, ptr noundef @.str.5) store ptr %74, ptr %13, align 8 %75 = load ptr, ptr %13, align 8 %76 = icmp ne ptr %75, null br i1 %76, label %60, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %77 77: ; preds = %._crit_edge, %53 %78 = load ptr, ptr %8, align 8 %79 = call i64 @fgets(ptr noundef %49, i32 noundef 246, ptr noundef %78) %80 = icmp ne i64 %79, 0 br i1 %80, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %77 br label %81 81: ; preds = %._crit_edge3, %48 br label %82 82: ; preds = %81, %63 %83 = load ptr, ptr %8, align 8 %84 = call i32 @rewind(ptr noundef %83) %85 = load ptr, ptr %11, align 8 %86 = call i32 @atoi(ptr noundef %85) store i32 %86, ptr %14, align 4 %87 = load i32, ptr %14, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %14, align 4 %89 = load i32, ptr @stdout, align 4 %90 = load i32, ptr %14, align 4 %91 = sub nsw i32 %90, 1 %92 = load i32, ptr %14, align 4 %93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %89, ptr noundef @.str.7, i32 noundef %91, i32 noundef %92) store i32 0, ptr %15, align 4 %94 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %95 = load ptr, ptr %8, align 8 %96 = call i64 @fgets(ptr noundef %94, i32 noundef 246, ptr noundef %95) %97 = icmp ne i64 %96, 0 br i1 %97, label %.lr.ph5, label %117 .lr.ph5: ; preds = %82 br label %98 98: ; preds = %.lr.ph5, %110 %99 = load i32, ptr %15, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %15, align 4 %101 = load i32, ptr %10, align 4 %102 = icmp eq i32 %100, %101 br i1 %102, label %103, label %110 103: ; preds = %98 %104 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %105 = load ptr, ptr %11, align 8 %106 = call ptr @strstr(ptr noundef %104, ptr noundef %105) store ptr %106, ptr %16, align 8 %107 = load ptr, ptr %16, align 8 %108 = load i32, ptr %14, align 4 %109 = call i32 @sprintf(ptr noundef %107, ptr noundef @.str.8, i32 noundef %108) br label %110 110: ; preds = %103, %98 %111 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %112 = load ptr, ptr %9, align 8 %113 = call i32 @fputs(ptr noundef %111, ptr noundef %112) %114 = load ptr, ptr %8, align 8 %115 = call i64 @fgets(ptr noundef %94, i32 noundef 246, ptr noundef %114) %116 = icmp ne i64 %115, 0 br i1 %116, label %98, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %110 br label %117 117: ; preds = %._crit_edge6, %82 %118 = load ptr, ptr %11, align 8 %119 = call i32 @free(ptr noundef %118) %120 = load ptr, ptr %8, align 8 %121 = call i32 @fclose(ptr noundef %120) %122 = load ptr, ptr %9, align 8 %123 = call i32 @fclose(ptr noundef %122) %124 = load ptr, ptr %5, align 8 %125 = getelementptr inbounds ptr, ptr %124, i64 1 %126 = load ptr, ptr %125, align 8 %127 = call i32 @unlink(ptr noundef %126) %128 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %129 = load ptr, ptr %5, align 8 %130 = getelementptr inbounds ptr, ptr %129, i64 1 %131 = load ptr, ptr %130, align 8 %132 = call i32 @rename(ptr noundef %128, ptr noundef %131) store i32 0, ptr %3, align 4 br label %133 133: ; preds = %117, %44, %31, %19 %134 = load i32, ptr %3, align 4 ret i32 %134 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpdw6w1c6z.c' source_filename = "/tmp/tmpdw6w1c6z.c" target datalayout = "e-m:e-p270:32: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"%H:%M:%S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_Locale_t_fmt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret ptr @.str } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdw6w1c6z.c" target datalayout = "e-m:e-p270:32: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"%H:%M:%S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_Locale_t_fmt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret ptr @.str } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsf8ubdru.c' source_filename = "/tmp/tmpsf8ubdru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"locale\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @br_find_locale_dir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = call ptr @br_find_data_dir(ptr noundef null) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = call ptr @strdup(ptr noundef %13) store ptr %14, ptr %2, align 8 br label %22 15: ; preds = %9 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = call ptr @br_build_path(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15, %12 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @br_find_data_dir(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @br_build_path(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsf8ubdru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"locale\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @br_find_locale_dir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = call ptr @br_find_data_dir(ptr noundef null) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = call ptr @strdup(ptr noundef %13) store ptr %14, ptr %2, align 8 br label %22 15: ; preds = %9 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = call ptr @br_build_path(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15, %12 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @br_find_data_dir(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @br_build_path(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi1nkwskc.c' source_filename = "/tmp/tmpi1nkwskc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_rle_binary_format() #0 { %1 = call i32 (...) @test_rle_binary_format_int8() %2 = call i32 (...) @test_rle_binary_format_int16() %3 = call i32 (...) @test_rle_binary_format_int32() %4 = call i32 (...) @test_rle_binary_format_int64() %5 = call i32 (...) @test_rle_binary_format_uint8() %6 = call i32 (...) @test_rle_binary_format_uint16() %7 = call i32 (...) @test_rle_binary_format_uint32() %8 = call i32 (...) @test_rle_binary_format_uint64() ret void } declare i32 @test_rle_binary_format_int8(...) #1 declare i32 @test_rle_binary_format_int16(...) #1 declare i32 @test_rle_binary_format_int32(...) #1 declare i32 @test_rle_binary_format_int64(...) #1 declare i32 @test_rle_binary_format_uint8(...) #1 declare i32 @test_rle_binary_format_uint16(...) #1 declare i32 @test_rle_binary_format_uint32(...) #1 declare i32 @test_rle_binary_format_uint64(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi1nkwskc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_rle_binary_format() #0 { %1 = call i32 (...) @test_rle_binary_format_int8() %2 = call i32 (...) @test_rle_binary_format_int16() %3 = call i32 (...) @test_rle_binary_format_int32() %4 = call i32 (...) @test_rle_binary_format_int64() %5 = call i32 (...) @test_rle_binary_format_uint8() %6 = call i32 (...) @test_rle_binary_format_uint16() %7 = call i32 (...) @test_rle_binary_format_uint32() %8 = call i32 (...) @test_rle_binary_format_uint64() ret void } declare i32 @test_rle_binary_format_int8(...) #1 declare i32 @test_rle_binary_format_int16(...) #1 declare i32 @test_rle_binary_format_int32(...) #1 declare i32 @test_rle_binary_format_int64(...) #1 declare i32 @test_rle_binary_format_uint8(...) #1 declare i32 @test_rle_binary_format_uint16(...) #1 declare i32 @test_rle_binary_format_uint32(...) #1 declare i32 @test_rle_binary_format_uint64(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8gunugup.c' source_filename = "/tmp/tmp8gunugup.c" target datalayout = "e-m:e-p270: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/tmp8gunugup.c" target datalayout = "e-m:e-p270: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/tmpqk1bwek3.c' source_filename = "/tmp/tmpqk1bwek3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i_can_not_be_propagated_fully2(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @i_can_not_be_propagated_fully(ptr noundef %5) store i32 0, ptr %4, align 4 br label %7 7: ; preds = %42, %1 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 50 br i1 %9, label %10, label %45 10: ; preds = %7 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 @t(i32 noundef %16) %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %18, i64 %21 %23 = load i32, ptr %22, align 4 %24 = add nsw i32 %23, 1 %25 = call i32 @t(i32 noundef %24) %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 2 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %26, i64 %29 %31 = load i32, ptr %30, align 4 %32 = add nsw i32 %31, 1 %33 = call i32 @t(i32 noundef %32) %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 3 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %34, i64 %37 %39 = load i32, ptr %38, align 4 %40 = add nsw i32 %39, 1 %41 = call i32 @t(i32 noundef %40) br label %42 42: ; preds = %10 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 br label %7, !llvm.loop !6 45: ; preds = %7 %46 = load ptr, ptr %3, align 8 %47 = call i32 @i_can_not_be_propagated_fully(ptr noundef %46) store i32 0, ptr %4, align 4 br label %48 48: ; preds = %83, %45 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %49, 50 br i1 %50, label %51, label %86 51: ; preds = %48 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %4, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = add nsw i32 %56, 2 %58 = call i32 @t(i32 noundef %57) %59 = load ptr, ptr %3, align 8 %60 = load i32, ptr %4, align 4 %61 = add nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %59, i64 %62 %64 = load i32, ptr %63, align 4 %65 = add nsw i32 %64, 2 %66 = call i32 @t(i32 noundef %65) %67 = load ptr, ptr %3, align 8 %68 = load i32, ptr %4, align 4 %69 = add nsw i32 %68, 2 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %67, i64 %70 %72 = load i32, ptr %71, align 4 %73 = add nsw i32 %72, 2 %74 = call i32 @t(i32 noundef %73) %75 = load ptr, ptr %3, align 8 %76 = load i32, ptr %4, align 4 %77 = add nsw i32 %76, 3 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %75, i64 %78 %80 = load i32, ptr %79, align 4 %81 = add nsw i32 %80, 2 %82 = call i32 @t(i32 noundef %81) br label %83 83: ; preds = %51 %84 = load i32, ptr %4, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %4, align 4 br label %48, !llvm.loop !8 86: ; preds = %48 %87 = load ptr, ptr %3, align 8 %88 = call i32 @i_can_not_be_propagated_fully(ptr noundef %87) %89 = load i32, ptr %2, align 4 ret i32 %89 } declare i32 @i_can_not_be_propagated_fully(ptr noundef) #1 declare i32 @t(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/tmpqk1bwek3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i_can_not_be_propagated_fully2(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @i_can_not_be_propagated_fully(ptr noundef %5) store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 50 br i1 %8, label %.lr.ph, label %46 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %41 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 @t(i32 noundef %15) %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %17, i64 %20 %22 = load i32, ptr %21, align 4 %23 = add nsw i32 %22, 1 %24 = call i32 @t(i32 noundef %23) %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 2 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %25, i64 %28 %30 = load i32, ptr %29, align 4 %31 = add nsw i32 %30, 1 %32 = call i32 @t(i32 noundef %31) %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 3 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %33, i64 %36 %38 = load i32, ptr %37, align 4 %39 = add nsw i32 %38, 1 %40 = call i32 @t(i32 noundef %39) br label %41 41: ; preds = %9 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %44, 50 br i1 %45, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %46 46: ; preds = %._crit_edge, %1 %47 = load ptr, ptr %3, align 8 %48 = call i32 @i_can_not_be_propagated_fully(ptr noundef %47) store i32 0, ptr %4, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %49, 50 br i1 %50, label %.lr.ph2, label %88 .lr.ph2: ; preds = %46 br label %51 51: ; preds = %.lr.ph2, %83 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %4, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = add nsw i32 %56, 2 %58 = call i32 @t(i32 noundef %57) %59 = load ptr, ptr %3, align 8 %60 = load i32, ptr %4, align 4 %61 = add nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %59, i64 %62 %64 = load i32, ptr %63, align 4 %65 = add nsw i32 %64, 2 %66 = call i32 @t(i32 noundef %65) %67 = load ptr, ptr %3, align 8 %68 = load i32, ptr %4, align 4 %69 = add nsw i32 %68, 2 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %67, i64 %70 %72 = load i32, ptr %71, align 4 %73 = add nsw i32 %72, 2 %74 = call i32 @t(i32 noundef %73) %75 = load ptr, ptr %3, align 8 %76 = load i32, ptr %4, align 4 %77 = add nsw i32 %76, 3 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %75, i64 %78 %80 = load i32, ptr %79, align 4 %81 = add nsw i32 %80, 2 %82 = call i32 @t(i32 noundef %81) br label %83 83: ; preds = %51 %84 = load i32, ptr %4, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %4, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp slt i32 %86, 50 br i1 %87, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %83 br label %88 88: ; preds = %._crit_edge3, %46 %89 = load ptr, ptr %3, align 8 %90 = call i32 @i_can_not_be_propagated_fully(ptr noundef %89) %91 = load i32, ptr %2, align 4 ret i32 %91 } declare i32 @i_can_not_be_propagated_fully(ptr noundef) #1 declare i32 @t(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/tmpbzbum3ib.c' source_filename = "/tmp/tmpbzbum3ib.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @format_int(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %8, align 8 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 0 %14 = zext i1 %13 to i32 store i32 %14, ptr %9, align 4 store i32 0, ptr %10, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %3 store i32 0, ptr %4, align 4 br label %71 18: ; preds = %3 %19 = load i32, ptr %5, align 4 %20 = call i32 @absi(i32 noundef %19) store i32 %20, ptr %5, align 4 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %9, align 4 %23 = sub nsw i32 %21, %22 %24 = sub nsw i32 %23, 1 store i32 %24, ptr %7, align 4 br label %25 25: ; preds = %46, %18 %26 = load i32, ptr %5, align 4 %27 = srem i32 %26, 10 store i32 %27, ptr %10, align 4 %28 = load i32, ptr %10, align 4 %29 = trunc i32 %28 to i8 %30 = sext i8 %29 to i32 %31 = add nsw i32 48, %30 %32 = trunc i32 %31 to i8 %33 = load ptr, ptr %6, align 8 store i8 %32, ptr %33, align 1 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %7, align 4 %36 = load ptr, ptr %6, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %6, align 8 %38 = load i32, ptr %5, align 4 %39 = sdiv i32 %38, 10 store i32 %39, ptr %5, align 4 br label %40 40: ; preds = %25 %41 = load i32, ptr %7, align 4 %42 = icmp sgt i32 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %40 %44 = load i32, ptr %5, align 4 %45 = icmp sgt i32 %44, 0 br label %46 46: ; preds = %43, %40 %47 = phi i1 [ false, %40 ], [ %45, %43 ] br i1 %47, label %25, label %48, !llvm.loop !6 48: ; preds = %46 %49 = load i32, ptr %9, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %55 51: ; preds = %48 %52 = load ptr, ptr %6, align 8 store i8 45, ptr %52, align 1 %53 = load ptr, ptr %6, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %6, align 8 br label %55 55: ; preds = %51, %48 %56 = load ptr, ptr %6, align 8 store i8 0, ptr %56, align 1 %57 = load ptr, ptr %8, align 8 %58 = load ptr, ptr %6, align 8 %59 = load ptr, ptr %8, align 8 %60 = ptrtoint ptr %58 to i64 %61 = ptrtoint ptr %59 to i64 %62 = sub i64 %60, %61 %63 = trunc i64 %62 to i32 %64 = call i32 @strrev(ptr noundef %57, i32 noundef %63) %65 = load ptr, ptr %6, align 8 %66 = load ptr, ptr %8, align 8 %67 = ptrtoint ptr %65 to i64 %68 = ptrtoint ptr %66 to i64 %69 = sub i64 %67, %68 %70 = trunc i64 %69 to i32 store i32 %70, ptr %4, align 4 br label %71 71: ; preds = %55, %17 %72 = load i32, ptr %4, align 4 ret i32 %72 } declare i32 @absi(i32 noundef) #1 declare i32 @strrev(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/tmpbzbum3ib.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @format_int(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %8, align 8 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 0 %14 = zext i1 %13 to i32 store i32 %14, ptr %9, align 4 store i32 0, ptr %10, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %3 store i32 0, ptr %4, align 4 br label %71 18: ; preds = %3 %19 = load i32, ptr %5, align 4 %20 = call i32 @absi(i32 noundef %19) store i32 %20, ptr %5, align 4 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %9, align 4 %23 = sub nsw i32 %21, %22 %24 = sub nsw i32 %23, 1 store i32 %24, ptr %7, align 4 br label %25 25: ; preds = %46, %18 %26 = load i32, ptr %5, align 4 %27 = srem i32 %26, 10 store i32 %27, ptr %10, align 4 %28 = load i32, ptr %10, align 4 %29 = trunc i32 %28 to i8 %30 = sext i8 %29 to i32 %31 = add nsw i32 48, %30 %32 = trunc i32 %31 to i8 %33 = load ptr, ptr %6, align 8 store i8 %32, ptr %33, align 1 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %7, align 4 %36 = load ptr, ptr %6, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %6, align 8 %38 = load i32, ptr %5, align 4 %39 = sdiv i32 %38, 10 store i32 %39, ptr %5, align 4 br label %40 40: ; preds = %25 %41 = load i32, ptr %7, align 4 %42 = icmp sgt i32 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %40 %44 = load i32, ptr %5, align 4 %45 = icmp sgt i32 %44, 0 br label %46 46: ; preds = %43, %40 %47 = phi i1 [ false, %40 ], [ %45, %43 ] br i1 %47, label %25, label %48, !llvm.loop !6 48: ; preds = %46 %49 = load i32, ptr %9, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %55 51: ; preds = %48 %52 = load ptr, ptr %6, align 8 store i8 45, ptr %52, align 1 %53 = load ptr, ptr %6, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %6, align 8 br label %55 55: ; preds = %51, %48 %56 = load ptr, ptr %6, align 8 store i8 0, ptr %56, align 1 %57 = load ptr, ptr %8, align 8 %58 = load ptr, ptr %6, align 8 %59 = load ptr, ptr %8, align 8 %60 = ptrtoint ptr %58 to i64 %61 = ptrtoint ptr %59 to i64 %62 = sub i64 %60, %61 %63 = trunc i64 %62 to i32 %64 = call i32 @strrev(ptr noundef %57, i32 noundef %63) %65 = load ptr, ptr %6, align 8 %66 = load ptr, ptr %8, align 8 %67 = ptrtoint ptr %65 to i64 %68 = ptrtoint ptr %66 to i64 %69 = sub i64 %67, %68 %70 = trunc i64 %69 to i32 store i32 %70, ptr %4, align 4 br label %71 71: ; preds = %55, %17 %72 = load i32, ptr %4, align 4 ret i32 %72 } declare i32 @absi(i32 noundef) #1 declare i32 @strrev(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/tmpi13o_luh.c' source_filename = "/tmp/tmpi13o_luh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 store i32 2, ptr %1, align 4 %2 = call i64 (...) @nondet_bool() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %0 %5 = load i32, ptr %1, align 4 %6 = add nsw i32 %5, 1 store i32 %6, ptr %1, align 4 br label %7 7: ; preds = %4, %0 %8 = load i32, ptr %1, align 4 %9 = sdiv i32 %8, 2 store i32 %9, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = icmp eq i32 %10, 1 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) ret void } declare i64 @nondet_bool(...) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi13o_luh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 store i32 2, ptr %1, align 4 %2 = call i64 (...) @nondet_bool() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %0 %5 = load i32, ptr %1, align 4 %6 = add nsw i32 %5, 1 store i32 %6, ptr %1, align 4 br label %7 7: ; preds = %4, %0 %8 = load i32, ptr %1, align 4 %9 = sdiv i32 %8, 2 store i32 %9, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = icmp eq i32 %10, 1 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) ret void } declare i64 @nondet_bool(...) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfj2ca4k1.c' source_filename = "/tmp/tmpfj2ca4k1.c" target datalayout = "e-m:e-p270: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/tmpfj2ca4k1.c" target datalayout = "e-m:e-p270: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/tmpfq9f0i_7.c' source_filename = "/tmp/tmpfq9f0i_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Inside [usage]\0A\00", align 1 @.str.1 = private unnamed_addr constant [81 x i8] c"Usage: hcompare -b <Buffer> -f <File> -d <Directory> [-r] [-k] [-v <Verbosity>]\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c" -b <Buffer> : Buffer Size. Default is (5 MB)\0A\00", align 1 @.str.4 = private unnamed_addr constant [85 x i8] c" -f <File> : File name to be generated or read in. (Example: /fs/mmc1/ref.txt)\0A\00", align 1 @.str.5 = private unnamed_addr constant [79 x i8] c" -d <Directory> : Directory to walk and generate MD5s for (Example: /fs/mmc1)\0A\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c" -r : If set, will execute creation\0A\00", align 1 @.str.7 = private unnamed_addr constant [61 x i8] c" -k : If set, will run program in analysis mode\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c" -v <Verbosity> : Verbose Output\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @debug(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) ret void } declare i32 @debug(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfq9f0i_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Inside [usage]\0A\00", align 1 @.str.1 = private unnamed_addr constant [81 x i8] c"Usage: hcompare -b <Buffer> -f <File> -d <Directory> [-r] [-k] [-v <Verbosity>]\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c" -b <Buffer> : Buffer Size. Default is (5 MB)\0A\00", align 1 @.str.4 = private unnamed_addr constant [85 x i8] c" -f <File> : File name to be generated or read in. (Example: /fs/mmc1/ref.txt)\0A\00", align 1 @.str.5 = private unnamed_addr constant [79 x i8] c" -d <Directory> : Directory to walk and generate MD5s for (Example: /fs/mmc1)\0A\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c" -r : If set, will execute creation\0A\00", align 1 @.str.7 = private unnamed_addr constant [61 x i8] c" -k : If set, will run program in analysis mode\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c" -v <Verbosity> : Verbose Output\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @debug(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) ret void } declare i32 @debug(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd__so7hy.c' source_filename = "/tmp/tmpd__so7hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } @__wrap_gmtime.utim = internal global %struct.tm zeroinitializer, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__wrap_gmtime(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 ptr @gmtime_r(ptr noundef %3, ptr noundef @__wrap_gmtime.utim) ret ptr %4 } declare ptr @gmtime_r(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/tmpd__so7hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } @__wrap_gmtime.utim = internal global %struct.tm zeroinitializer, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__wrap_gmtime(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 ptr @gmtime_r(ptr noundef %3, ptr noundef @__wrap_gmtime.utim) ret ptr %4 } declare ptr @gmtime_r(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/tmpoe5ce294.c' source_filename = "/tmp/tmpoe5ce294.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @do_usage_if.eeprog_usage = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [1272 x i8] c"eeprog 0.7.6, a 24Cxx EEPROM reader/writer\0ACopyright (c) 2003-2004 by Stefano Barbato - All rights reserved.\0AUsage: eeprog [-fqxdh] [-16|-8] [ -r addr[:count] | -w addr ] /dev/i2c-N i2c-address\0A\0A Address modes: \0A\09-8\09\09Use 8bit address mode for 24c0x...24C16 [default]\0A\09-16\09\09Use 16bit address mode for 24c32...24C256\0A Actions: \0A\09-r addr[:count]\09Read [count] (1 if omitted) bytes from [addr]\0A\09\09\09and print them to the standard output\0A\09-w addr\09\09Write input (stdin) at address [addr] of the EEPROM\0A\09-t n\09\09write timeout in ms (default 10)\0A\09-h\09\09Print this help\0A Options: \0A\09-x\09\09Set hex output mode\0A\09-d\09\09Dummy mode, display what *would* have been done\0A\09-f\09\09Disable warnings and don't ask confirmation\0A\09-q\09\09Quiet mode\0A\0AThe following environment variables could be set instead of the command\0Aline arguments:\0A\09EEPROG_DEV\09\09device name(/dev/i2c-N)\0A\09EEPROG_I2C_ADDR\09\09i2c-address\0A\0A\09Examples\0A\091- read 64 bytes from the EEPROM at address 0x54 on bus 0 starting\0A\09 at address 123 (decimal)\0A\09\09eeprog /dev/i2c-0 0x54 -r 123:64\0A\092- prints the hex codes of the first 32 bytes read from bus 1 \0A\09 at address 0x22\0A\09\09eeprog /dev/i2c-1 0x51 -x -r 0x22:0x20\0A\093- write the current timestamp at address 0x200 of the EEPROM on \0A\09 bus 0 at address 0x33 \0A\09\09date | eeprog /dev/i2c-0 0x33 -w 0x200\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"%s\0A[line %d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_usage_if(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 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %2 ret void 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr @do_usage_if.eeprog_usage, align 8 %11 = load i32, ptr %4, align 4 %12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1, ptr noundef %10, i32 noundef %11) %13 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, 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/tmpoe5ce294.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @do_usage_if.eeprog_usage = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [1272 x i8] c"eeprog 0.7.6, a 24Cxx EEPROM reader/writer\0ACopyright (c) 2003-2004 by Stefano Barbato - All rights reserved.\0AUsage: eeprog [-fqxdh] [-16|-8] [ -r addr[:count] | -w addr ] /dev/i2c-N i2c-address\0A\0A Address modes: \0A\09-8\09\09Use 8bit address mode for 24c0x...24C16 [default]\0A\09-16\09\09Use 16bit address mode for 24c32...24C256\0A Actions: \0A\09-r addr[:count]\09Read [count] (1 if omitted) bytes from [addr]\0A\09\09\09and print them to the standard output\0A\09-w addr\09\09Write input (stdin) at address [addr] of the EEPROM\0A\09-t n\09\09write timeout in ms (default 10)\0A\09-h\09\09Print this help\0A Options: \0A\09-x\09\09Set hex output mode\0A\09-d\09\09Dummy mode, display what *would* have been done\0A\09-f\09\09Disable warnings and don't ask confirmation\0A\09-q\09\09Quiet mode\0A\0AThe following environment variables could be set instead of the command\0Aline arguments:\0A\09EEPROG_DEV\09\09device name(/dev/i2c-N)\0A\09EEPROG_I2C_ADDR\09\09i2c-address\0A\0A\09Examples\0A\091- read 64 bytes from the EEPROM at address 0x54 on bus 0 starting\0A\09 at address 123 (decimal)\0A\09\09eeprog /dev/i2c-0 0x54 -r 123:64\0A\092- prints the hex codes of the first 32 bytes read from bus 1 \0A\09 at address 0x22\0A\09\09eeprog /dev/i2c-1 0x51 -x -r 0x22:0x20\0A\093- write the current timestamp at address 0x200 of the EEPROM on \0A\09 bus 0 at address 0x33 \0A\09\09date | eeprog /dev/i2c-0 0x33 -w 0x200\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"%s\0A[line %d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_usage_if(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 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %2 ret void 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr @do_usage_if.eeprog_usage, align 8 %11 = load i32, ptr %4, align 4 %12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.1, ptr noundef %10, i32 noundef %11) %13 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, 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/tmpkkkjup19.c' source_filename = "/tmp/tmpkkkjup19.c" target datalayout = "e-m:e-p270:32: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"-a\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%s.%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-t\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%s@%d\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Unable to find version at %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"Unable to find version %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [1024 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %8, align 4 store i32 0, ptr %9, align 4 store ptr null, ptr %10, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 (...) @usage() br label %16 16: ; preds = %14, %2 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %48 24: ; preds = %16 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %25, i64 %28 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %10, align 8 store i32 1, ptr %7, align 4 br label %31 31: ; preds = %44, %24 %32 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %33 = load ptr, ptr %10, align 8 %34 = load i32, ptr %7, align 4 %35 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.1, ptr noundef %33, i32 noundef %34) %36 = load ptr, ptr %10, align 8 %37 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %38 = load i32, ptr %7, align 4 %39 = call i32 @revert_version(ptr noundef %36, ptr noundef %37, i32 noundef %38) store i32 %39, ptr %9, align 4 %40 = load i32, ptr %9, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %43, label %42 42: ; preds = %31 br label %47 43: ; preds = %31 br label %44 44: ; preds = %43 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 br label %31 47: ; preds = %42 br label %115 48: ; preds = %16 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.2) %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %87 56: ; preds = %48 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %8, align 4 %59 = add nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %57, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = call i32 @atoi(ptr noundef %62) %64 = sext i32 %63 to i64 store i64 %64, ptr %6, align 8 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %8, align 4 %67 = add nsw i32 %66, 2 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %65, i64 %68 %70 = load ptr, ptr %69, align 8 store ptr %70, ptr %10, align 8 %71 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %72 = load ptr, ptr %10, align 8 %73 = load i64, ptr %6, align 8 %74 = trunc i64 %73 to i32 %75 = call i32 @sprintf(ptr noundef %71, ptr noundef @.str.3, ptr noundef %72, i32 noundef %74) %76 = load ptr, ptr %10, align 8 %77 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %78 = load i64, ptr %6, align 8 %79 = call i32 @revert_version_by_time(ptr noundef %76, ptr noundef %77, i64 noundef %78) store i32 %79, ptr %9, align 4 %80 = load i32, ptr %9, align 4 %81 = icmp ne i32 %80, 0 br i1 %81, label %86, label %82 82: ; preds = %56 %83 = load i64, ptr %6, align 8 %84 = trunc i64 %83 to i32 %85 = call i32 @printf(ptr noundef @.str.4, i32 noundef %84) br label %86 86: ; preds = %82, %56 br label %114 87: ; preds = %48 %88 = load ptr, ptr %5, align 8 %89 = load i32, ptr %8, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds ptr, ptr %88, i64 %90 %92 = load ptr, ptr %91, align 8 %93 = call i32 @atoi(ptr noundef %92) store i32 %93, ptr %7, align 4 %94 = load ptr, ptr %5, align 8 %95 = load i32, ptr %8, align 4 %96 = add nsw i32 %95, 1 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %94, i64 %97 %99 = load ptr, ptr %98, align 8 store ptr %99, ptr %10, align 8 %100 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %101 = load ptr, ptr %10, align 8 %102 = load i32, ptr %7, align 4 %103 = call i32 @sprintf(ptr noundef %100, ptr noundef @.str.1, ptr noundef %101, i32 noundef %102) %104 = load ptr, ptr %10, align 8 %105 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %106 = load i32, ptr %7, align 4 %107 = call i32 @revert_version(ptr noundef %104, ptr noundef %105, i32 noundef %106) store i32 %107, ptr %9, align 4 %108 = load i32, ptr %9, align 4 %109 = icmp ne i32 %108, 0 br i1 %109, label %113, label %110 110: ; preds = %87 %111 = load i32, ptr %7, align 4 %112 = call i32 @printf(ptr noundef @.str.5, i32 noundef %111) br label %113 113: ; preds = %110, %87 br label %114 114: ; preds = %113, %86 br label %115 115: ; preds = %114, %47 %116 = load i32, ptr %9, align 4 ret i32 %116 } declare i32 @usage(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @revert_version(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @revert_version_by_time(ptr noundef, ptr noundef, i64 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkkkjup19.c" target datalayout = "e-m:e-p270:32: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"-a\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%s.%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-t\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%s@%d\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Unable to find version at %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"Unable to find version %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [1024 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %8, align 4 store i32 0, ptr %9, align 4 store ptr null, ptr %10, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 (...) @usage() br label %16 16: ; preds = %14, %2 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %48 24: ; preds = %16 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %25, i64 %28 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %10, align 8 store i32 1, ptr %7, align 4 br label %31 31: ; preds = %44, %24 %32 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %33 = load ptr, ptr %10, align 8 %34 = load i32, ptr %7, align 4 %35 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.1, ptr noundef %33, i32 noundef %34) %36 = load ptr, ptr %10, align 8 %37 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %38 = load i32, ptr %7, align 4 %39 = call i32 @revert_version(ptr noundef %36, ptr noundef %37, i32 noundef %38) store i32 %39, ptr %9, align 4 %40 = load i32, ptr %9, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %43, label %42 42: ; preds = %31 br label %47 43: ; preds = %31 br label %44 44: ; preds = %43 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 br label %31 47: ; preds = %42 br label %115 48: ; preds = %16 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.2) %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %87 56: ; preds = %48 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %8, align 4 %59 = add nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %57, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = call i32 @atoi(ptr noundef %62) %64 = sext i32 %63 to i64 store i64 %64, ptr %6, align 8 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %8, align 4 %67 = add nsw i32 %66, 2 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %65, i64 %68 %70 = load ptr, ptr %69, align 8 store ptr %70, ptr %10, align 8 %71 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %72 = load ptr, ptr %10, align 8 %73 = load i64, ptr %6, align 8 %74 = trunc i64 %73 to i32 %75 = call i32 @sprintf(ptr noundef %71, ptr noundef @.str.3, ptr noundef %72, i32 noundef %74) %76 = load ptr, ptr %10, align 8 %77 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %78 = load i64, ptr %6, align 8 %79 = call i32 @revert_version_by_time(ptr noundef %76, ptr noundef %77, i64 noundef %78) store i32 %79, ptr %9, align 4 %80 = load i32, ptr %9, align 4 %81 = icmp ne i32 %80, 0 br i1 %81, label %86, label %82 82: ; preds = %56 %83 = load i64, ptr %6, align 8 %84 = trunc i64 %83 to i32 %85 = call i32 @printf(ptr noundef @.str.4, i32 noundef %84) br label %86 86: ; preds = %82, %56 br label %114 87: ; preds = %48 %88 = load ptr, ptr %5, align 8 %89 = load i32, ptr %8, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds ptr, ptr %88, i64 %90 %92 = load ptr, ptr %91, align 8 %93 = call i32 @atoi(ptr noundef %92) store i32 %93, ptr %7, align 4 %94 = load ptr, ptr %5, align 8 %95 = load i32, ptr %8, align 4 %96 = add nsw i32 %95, 1 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %94, i64 %97 %99 = load ptr, ptr %98, align 8 store ptr %99, ptr %10, align 8 %100 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %101 = load ptr, ptr %10, align 8 %102 = load i32, ptr %7, align 4 %103 = call i32 @sprintf(ptr noundef %100, ptr noundef @.str.1, ptr noundef %101, i32 noundef %102) %104 = load ptr, ptr %10, align 8 %105 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %106 = load i32, ptr %7, align 4 %107 = call i32 @revert_version(ptr noundef %104, ptr noundef %105, i32 noundef %106) store i32 %107, ptr %9, align 4 %108 = load i32, ptr %9, align 4 %109 = icmp ne i32 %108, 0 br i1 %109, label %113, label %110 110: ; preds = %87 %111 = load i32, ptr %7, align 4 %112 = call i32 @printf(ptr noundef @.str.5, i32 noundef %111) br label %113 113: ; preds = %110, %87 br label %114 114: ; preds = %113, %86 br label %115 115: ; preds = %114, %47 %116 = load i32, ptr %9, align 4 ret i32 %116 } declare i32 @usage(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @revert_version(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @revert_version_by_time(ptr noundef, ptr noundef, i64 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"}
; ModuleID = '/tmp/tmpk5cfnvfh.c' source_filename = "/tmp/tmpk5cfnvfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutexattr_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk5cfnvfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutexattr_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcvukvakg.c' source_filename = "/tmp/tmpcvukvakg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0x73() #0 { %1 = call i64 @ispunct(i32 noundef 115) %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 580, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ispunct(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcvukvakg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_ispunct.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0x73() #0 { %1 = call i64 @ispunct(i32 noundef 115) %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 580, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ispunct(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2_3_kfbt.c' source_filename = "/tmp/tmp2_3_kfbt.c" target datalayout = "e-m:e-p270: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/tmp2_3_kfbt.c" target datalayout = "e-m:e-p270: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/tmpasy1jdwu.c' source_filename = "/tmp/tmpasy1jdwu.c" target datalayout = "e-m:e-p270:32: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 [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 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %7 7: ; preds = %11, %0 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %4, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %11, label %17 11: ; preds = %7 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) %13 = load i32, ptr %5, align 4 %14 = call i32 @power(i32 noundef %13) %15 = sub nsw i32 %14, 1 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) br label %7, !llvm.loop !6 17: ; preds = %7 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @power(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/tmpasy1jdwu.c" target datalayout = "e-m:e-p270:32: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 [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 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %4, align 4 %9 = icmp ne i32 %7, 0 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %10 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) %12 = load i32, ptr %5, align 4 %13 = call i32 @power(i32 noundef %12) %14 = sub nsw i32 %13, 1 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %4, align 4 %18 = icmp ne i32 %16, 0 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %19 19: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @power(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/tmp5kku4v6c.c' source_filename = "/tmp/tmp5kku4v6c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @host_flash_close(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fclose(ptr noundef %6) %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 1, ptr %2, align 4 br label %11 11: ; preds = %10, %9 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5kku4v6c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @host_flash_close(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fclose(ptr noundef %6) %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 1, ptr %2, align 4 br label %11 11: ; preds = %10, %9 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8zzmerui.c' source_filename = "/tmp/tmp8zzmerui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tls1_set_groups(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %12 = load i64, ptr %9, align 8 %13 = call ptr @calloc(i64 noundef %12, i32 noundef 8) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %10, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %4 store i32 0, ptr %5, align 4 br label %51 17: ; preds = %4 store i64 0, ptr %11, align 8 br label %18 18: ; preds = %40, %17 %19 = load i64, ptr %11, align 8 %20 = load i64, ptr %9, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %43 22: ; preds = %18 %23 = load ptr, ptr %8, align 8 %24 = load i64, ptr %11, align 8 %25 = getelementptr inbounds i32, ptr %23, i64 %24 %26 = load i32, ptr %25, align 4 %27 = call i64 @tls1_ec_nid2curve_id(i32 noundef %26) %28 = load ptr, ptr %10, align 8 %29 = load i64, ptr %11, align 8 %30 = getelementptr inbounds i64, ptr %28, i64 %29 store i64 %27, ptr %30, align 8 %31 = load ptr, ptr %10, align 8 %32 = load i64, ptr %11, align 8 %33 = getelementptr inbounds i64, ptr %31, i64 %32 %34 = load i64, ptr %33, align 8 %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %22 %37 = load ptr, ptr %10, align 8 %38 = call i32 @free(ptr noundef %37) store i32 0, ptr %5, align 4 br label %51 39: ; preds = %22 br label %40 40: ; preds = %39 %41 = load i64, ptr %11, align 8 %42 = add i64 %41, 1 store i64 %42, ptr %11, align 8 br label %18, !llvm.loop !6 43: ; preds = %18 %44 = load ptr, ptr %6, align 8 %45 = load ptr, ptr %44, align 8 %46 = call i32 @free(ptr noundef %45) %47 = load ptr, ptr %10, align 8 %48 = load ptr, ptr %6, align 8 store ptr %47, ptr %48, align 8 %49 = load i64, ptr %9, align 8 %50 = load ptr, ptr %7, align 8 store i64 %49, ptr %50, align 8 store i32 1, ptr %5, align 4 br label %51 51: ; preds = %43, %36, %16 %52 = load i32, ptr %5, align 4 ret i32 %52 } declare ptr @calloc(i64 noundef, i32 noundef) #1 declare i64 @tls1_ec_nid2curve_id(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8zzmerui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tls1_set_groups(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %12 = load i64, ptr %9, align 8 %13 = call ptr @calloc(i64 noundef %12, i32 noundef 8) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %10, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %4 store i32 0, ptr %5, align 4 br label %53 17: ; preds = %4 store i64 0, ptr %11, align 8 %18 = load i64, ptr %11, align 8 %19 = load i64, ptr %9, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %.lr.ph, label %45 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %39 %22 = load ptr, ptr %8, align 8 %23 = load i64, ptr %11, align 8 %24 = getelementptr inbounds i32, ptr %22, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i64 @tls1_ec_nid2curve_id(i32 noundef %25) %27 = load ptr, ptr %10, align 8 %28 = load i64, ptr %11, align 8 %29 = getelementptr inbounds i64, ptr %27, i64 %28 store i64 %26, ptr %29, align 8 %30 = load ptr, ptr %10, align 8 %31 = load i64, ptr %11, align 8 %32 = getelementptr inbounds i64, ptr %30, i64 %31 %33 = load i64, ptr %32, align 8 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %21 %36 = load ptr, ptr %10, align 8 %37 = call i32 @free(ptr noundef %36) store i32 0, ptr %5, align 4 br label %53 38: ; preds = %21 br label %39 39: ; preds = %38 %40 = load i64, ptr %11, align 8 %41 = add i64 %40, 1 store i64 %41, ptr %11, align 8 %42 = load i64, ptr %11, align 8 %43 = load i64, ptr %9, align 8 %44 = icmp ult i64 %42, %43 br i1 %44, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %17 %46 = load ptr, ptr %6, align 8 %47 = load ptr, ptr %46, align 8 %48 = call i32 @free(ptr noundef %47) %49 = load ptr, ptr %10, align 8 %50 = load ptr, ptr %6, align 8 store ptr %49, ptr %50, align 8 %51 = load i64, ptr %9, align 8 %52 = load ptr, ptr %7, align 8 store i64 %51, ptr %52, align 8 store i32 1, ptr %5, align 4 br label %53 53: ; preds = %45, %35, %16 %54 = load i32, ptr %5, align 4 ret i32 %54 } declare ptr @calloc(i64 noundef, i32 noundef) #1 declare i64 @tls1_ec_nid2curve_id(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsfpbm2j3.c' source_filename = "/tmp/tmpsfpbm2j3.c" target datalayout = "e-m:e-p270: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/tmpsfpbm2j3.c" target datalayout = "e-m:e-p270: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"}

No dataset card yet

New: Create and edit this dataset card directly on the website!

Contribute a Dataset Card
Downloads last month
0
Add dataset card