llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmptw4amptd.c' source_filename = "/tmp/tmptw4amptd.c" target datalayout = "e-m:e-p270: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 [49 x i8] c"!!! I am a external program! - Hello, World !!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr @.str, ptr %2, align 8 store ptr inttoptr (i64 3221979136 to ptr), ptr %3, align 8 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %23, %0 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %1, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %26 12: ; preds = %4 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %1, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call i32 @_set_color(i8 noundef signext %17, i32 noundef 128) %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %1, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 store i32 %18, ptr %22, align 4 br label %23 23: ; preds = %12 %24 = load i32, ptr %1, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %1, align 4 br label %4, !llvm.loop !6 26: ; preds = %4 br label %27 27: ; preds = %27, %26 br label %27 } declare i32 @_set_color(i8 noundef signext, 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/tmptw4amptd.c" target datalayout = "e-m:e-p270: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 [49 x i8] c"!!! I am a external program! - Hello, World !!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr @.str, ptr %2, align 8 store ptr inttoptr (i64 3221979136 to ptr), ptr %3, align 8 store i32 0, ptr %1, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %1, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %22 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %1, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i32 @_set_color(i8 noundef signext %16, i32 noundef 128) %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %1, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 store i32 %17, ptr %21, align 4 br label %22 22: ; preds = %11 %23 = load i32, ptr %1, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %1, align 4 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %1, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %32 32: ; preds = %._crit_edge, %0 br label %33 33: ; preds = %33, %32 br label %33 } declare i32 @_set_color(i8 noundef signext, 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/tmpy5fl7nnd.c' source_filename = "/tmp/tmpy5fl7nnd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\C3\89\C3\8F\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\C3\8F\C3\82\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"\C3\97\C3\B3\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"\C3\93\C3\92\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call signext i8 (...) @getch() store i8 %7, ptr %6, align 1 br label %8 8: ; preds = %24, %2 %9 = load i8, ptr %6, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 113 br i1 %11, label %12, label %26 12: ; preds = %8 %13 = load i8, ptr %6, align 1 %14 = sext i8 %13 to i32 switch i32 %14, label %23 [ i32 119, label %15 i32 115, label %17 i32 97, label %19 i32 100, label %21 ] 15: ; preds = %12 %16 = call i32 @printf(ptr noundef @.str) br label %24 17: ; preds = %12 %18 = call i32 @printf(ptr noundef @.str.1) br label %24 19: ; preds = %12 %20 = call i32 @printf(ptr noundef @.str.2) br label %24 21: ; preds = %12 %22 = call i32 @printf(ptr noundef @.str.3) br label %24 23: ; preds = %12 br label %24 24: ; preds = %23, %21, %19, %17, %15 %25 = call signext i8 (...) @getch() store i8 %25, ptr %6, align 1 br label %8, !llvm.loop !6 26: ; preds = %8 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare signext i8 @getch(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy5fl7nnd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\C3\89\C3\8F\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\C3\8F\C3\82\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"\C3\97\C3\B3\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"\C3\93\C3\92\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call signext i8 (...) @getch() store i8 %7, ptr %6, align 1 %8 = load i8, ptr %6, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 113 br i1 %10, label %.lr.ph, label %28 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %23 %12 = load i8, ptr %6, align 1 %13 = sext i8 %12 to i32 switch i32 %13, label %22 [ i32 119, label %14 i32 115, label %16 i32 97, label %18 i32 100, label %20 ] 14: ; preds = %11 %15 = call i32 @printf(ptr noundef @.str) br label %23 16: ; preds = %11 %17 = call i32 @printf(ptr noundef @.str.1) br label %23 18: ; preds = %11 %19 = call i32 @printf(ptr noundef @.str.2) br label %23 20: ; preds = %11 %21 = call i32 @printf(ptr noundef @.str.3) br label %23 22: ; preds = %11 br label %23 23: ; preds = %22, %20, %18, %16, %14 %24 = call signext i8 (...) @getch() store i8 %24, ptr %6, align 1 %25 = load i8, ptr %6, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 113 br i1 %27, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %2 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare signext i8 @getch(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp93n7eqds.c' source_filename = "/tmp/tmp93n7eqds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intlen(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 1, ptr %2, align 4 br label %13 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = call i32 @abs(i32 noundef %8) #3 %10 = call i32 @log10(i32 noundef %9) %11 = call i32 @floor(i32 noundef %10) %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %7, %6 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @floor(i32 noundef) #1 declare i32 @log10(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp93n7eqds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intlen(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 1, ptr %2, align 4 br label %13 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = call i32 @abs(i32 noundef %8) #3 %10 = call i32 @log10(i32 noundef %9) %11 = call i32 @floor(i32 noundef %10) %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %7, %6 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @floor(i32 noundef) #1 declare i32 @log10(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk8n60br6.c' source_filename = "/tmp/tmpk8n60br6.c" target datalayout = "e-m:e-p270: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/tmpk8n60br6.c" target datalayout = "e-m:e-p270: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/tmpdeokgh7_.c' source_filename = "/tmp/tmpdeokgh7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__fsetlocking(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdeokgh7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__fsetlocking(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwe3a2za_.c' source_filename = "/tmp/tmpwe3a2za_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @remove_last_slashes.path = internal global [257 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @remove_last_slashes(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = sub nsw i32 %5, 1 store i32 %6, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strcpy(ptr noundef @remove_last_slashes.path, ptr noundef %7) br label %9 9: ; preds = %21, %1 %10 = load i32, ptr %3, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [257 x i8], ptr @remove_last_slashes.path, i64 0, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 47 br label %19 19: ; preds = %12, %9 %20 = phi i1 [ false, %9 ], [ %18, %12 ] br i1 %20, label %21, label %27 21: ; preds = %19 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [257 x i8], ptr @remove_last_slashes.path, i64 0, i64 %23 store i8 0, ptr %24, align 1 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %3, align 4 br label %9, !llvm.loop !6 27: ; preds = %19 ret ptr @remove_last_slashes.path } declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwe3a2za_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @remove_last_slashes.path = internal global [257 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @remove_last_slashes(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = sub nsw i32 %5, 1 store i32 %6, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strcpy(ptr noundef @remove_last_slashes.path, ptr noundef %7) br label %9 9: ; preds = %21, %1 %10 = load i32, ptr %3, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [257 x i8], ptr @remove_last_slashes.path, i64 0, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 47 br label %19 19: ; preds = %12, %9 %20 = phi i1 [ false, %9 ], [ %18, %12 ] br i1 %20, label %21, label %27 21: ; preds = %19 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [257 x i8], ptr @remove_last_slashes.path, i64 0, i64 %23 store i8 0, ptr %24, align 1 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %3, align 4 br label %9, !llvm.loop !6 27: ; preds = %19 ret ptr @remove_last_slashes.path } declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr_geywfs.c' source_filename = "/tmp/tmpr_geywfs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @stdout, align 4 %7 = call i32 @setbuf(i32 noundef %6, i32 noundef 0) %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 @banner(ptr noundef %13) store i32 0, ptr %3, align 4 br label %19 15: ; preds = %2 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @process(i32 noundef %16, ptr noundef %17) store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %15, %10 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @setbuf(i32 noundef, i32 noundef) #1 declare i32 @banner(ptr noundef) #1 declare i32 @process(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr_geywfs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @stdout, align 4 %7 = call i32 @setbuf(i32 noundef %6, i32 noundef 0) %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 @banner(ptr noundef %13) store i32 0, ptr %3, align 4 br label %19 15: ; preds = %2 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @process(i32 noundef %16, ptr noundef %17) store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %15, %10 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @setbuf(i32 noundef, i32 noundef) #1 declare i32 @banner(ptr noundef) #1 declare i32 @process(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7v_lf3mq.c' source_filename = "/tmp/tmp7v_lf3mq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7v_lf3mq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqotcjrwm.c' source_filename = "/tmp/tmpqotcjrwm.c" target datalayout = "e-m:e-p270: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 [240 x i8] c"//pervasive constant data table (array) \0APERV_ConstData PERV_constDataTab[PERV_CONST_NUM] = { \0A //name, tesize, tst, neededness, UC, prec, fixity \0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"};\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @C_mkConstTab(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef @.str) %6 = call i64 @strlen(ptr noundef @.str.1) %7 = add i64 %5, %6 %8 = load ptr, ptr %2, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = add i64 %7, %9 store i64 %10, ptr %3, align 8 %11 = load i64, ptr %3, align 8 %12 = call ptr @UTIL_mallocStr(i64 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str) %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %2, align 8 %17 = call i32 @strcat(ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %4, align 8 %19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.1) %20 = load ptr, ptr %4, align 8 ret ptr %20 } declare i64 @strlen(ptr noundef) #1 declare ptr @UTIL_mallocStr(i64 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqotcjrwm.c" target datalayout = "e-m:e-p270: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 [240 x i8] c"//pervasive constant data table (array) \0APERV_ConstData PERV_constDataTab[PERV_CONST_NUM] = { \0A //name, tesize, tst, neededness, UC, prec, fixity \0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"};\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @C_mkConstTab(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef @.str) %6 = call i64 @strlen(ptr noundef @.str.1) %7 = add i64 %5, %6 %8 = load ptr, ptr %2, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = add i64 %7, %9 store i64 %10, ptr %3, align 8 %11 = load i64, ptr %3, align 8 %12 = call ptr @UTIL_mallocStr(i64 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str) %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %2, align 8 %17 = call i32 @strcat(ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %4, align 8 %19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.1) %20 = load ptr, ptr %4, align 8 ret ptr %20 } declare i64 @strlen(ptr noundef) #1 declare ptr @UTIL_mallocStr(i64 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvk2wjf98.c' source_filename = "/tmp/tmpvk2wjf98.c" target datalayout = "e-m:e-p270: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/tmpvk2wjf98.c" target datalayout = "e-m:e-p270: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/tmpdrrrb70k.c' source_filename = "/tmp/tmpdrrrb70k.c" target datalayout = "e-m:e-p270: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_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isascii should be 1 for /\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x2f() #0 { %1 = call i32 @isascii(i32 noundef 47) %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 240, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isascii(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/tmpdrrrb70k.c" target datalayout = "e-m:e-p270: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_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isascii should be 1 for /\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x2f() #0 { %1 = call i32 @isascii(i32 noundef 47) %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 240, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isascii(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/tmpaocf7d74.c' source_filename = "/tmp/tmpaocf7d74.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"dump\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @read_buffer(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %16 = load i32, ptr %5, align 4 switch i32 %16, label %75 [ i32 0, label %17 i32 1, label %18 i32 2, label %23 i32 3, label %27 i32 4, label %31 i32 5, label %50 ] 17: ; preds = %3 store i64 0, ptr %4, align 8 br label %76 18: ; preds = %3 %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %20, align 4 %22 = sext i32 %21 to i64 store i64 %22, ptr %4, align 8 br label %76 23: ; preds = %3 %24 = load ptr, ptr %6, align 8 store ptr %24, ptr %9, align 8 %25 = load ptr, ptr %9, align 8 %26 = load i64, ptr %25, align 8 store i64 %26, ptr %4, align 8 br label %76 27: ; preds = %3 %28 = load ptr, ptr %6, align 8 store ptr %28, ptr %10, align 8 %29 = load ptr, ptr %10, align 8 %30 = call i64 @strlen(ptr noundef %29) store i64 %30, ptr %4, align 8 br label %76 31: ; preds = %3 %32 = load ptr, ptr %6, align 8 store ptr %32, ptr %11, align 8 %33 = load ptr, ptr %7, align 8 %34 = load i64, ptr %33, align 8 %35 = add i64 %34, 1 %36 = call i64 @malloc(i64 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %12, align 8 %38 = load ptr, ptr %12, align 8 %39 = load ptr, ptr %11, align 8 %40 = load ptr, ptr %7, align 8 %41 = load i64, ptr %40, align 8 %42 = call i32 @memcpy(ptr noundef %38, ptr noundef %39, i64 noundef %41) %43 = load ptr, ptr %12, align 8 %44 = load ptr, ptr %7, align 8 %45 = load i64, ptr %44, align 8 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %7, align 8 %48 = load i64, ptr %47, align 8 %49 = add i64 %48, 1 store i64 %49, ptr %4, align 8 br label %76 50: ; preds = %3 %51 = load ptr, ptr %6, align 8 store ptr %51, ptr %13, align 8 %52 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %52, ptr %14, align 8 store i32 0, ptr %15, align 4 br label %53 53: ; preds = %67, %50 %54 = load i32, ptr %15, align 4 %55 = sext i32 %54 to i64 %56 = load ptr, ptr %7, align 8 %57 = load i64, ptr %56, align 8 %58 = icmp ult i64 %55, %57 br i1 %58, label %59, label %70 59: ; preds = %53 %60 = load ptr, ptr %13, align 8 %61 = load i32, ptr %15, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 %64 = load i8, ptr %63, align 1 %65 = load ptr, ptr %14, align 8 %66 = call i32 @fputc(i8 noundef signext %64, ptr noundef %65) br label %67 67: ; preds = %59 %68 = load i32, ptr %15, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %15, align 4 br label %53, !llvm.loop !6 70: ; preds = %53 %71 = load ptr, ptr %14, align 8 %72 = call i32 @fclose(ptr noundef %71) %73 = load ptr, ptr %7, align 8 %74 = load i64, ptr %73, align 8 store i64 %74, ptr %4, align 8 br label %76 75: ; preds = %3 store i64 0, ptr %4, align 8 br label %76 76: ; preds = %75, %70, %31, %27, %23, %18, %17 %77 = load i64, ptr %4, align 8 ret i64 %77 } declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpaocf7d74.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"dump\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @read_buffer(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %16 = load i32, ptr %5, align 4 switch i32 %16, label %79 [ i32 0, label %17 i32 1, label %18 i32 2, label %23 i32 3, label %27 i32 4, label %31 i32 5, label %50 ] 17: ; preds = %3 store i64 0, ptr %4, align 8 br label %80 18: ; preds = %3 %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %20, align 4 %22 = sext i32 %21 to i64 store i64 %22, ptr %4, align 8 br label %80 23: ; preds = %3 %24 = load ptr, ptr %6, align 8 store ptr %24, ptr %9, align 8 %25 = load ptr, ptr %9, align 8 %26 = load i64, ptr %25, align 8 store i64 %26, ptr %4, align 8 br label %80 27: ; preds = %3 %28 = load ptr, ptr %6, align 8 store ptr %28, ptr %10, align 8 %29 = load ptr, ptr %10, align 8 %30 = call i64 @strlen(ptr noundef %29) store i64 %30, ptr %4, align 8 br label %80 31: ; preds = %3 %32 = load ptr, ptr %6, align 8 store ptr %32, ptr %11, align 8 %33 = load ptr, ptr %7, align 8 %34 = load i64, ptr %33, align 8 %35 = add i64 %34, 1 %36 = call i64 @malloc(i64 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %12, align 8 %38 = load ptr, ptr %12, align 8 %39 = load ptr, ptr %11, align 8 %40 = load ptr, ptr %7, align 8 %41 = load i64, ptr %40, align 8 %42 = call i32 @memcpy(ptr noundef %38, ptr noundef %39, i64 noundef %41) %43 = load ptr, ptr %12, align 8 %44 = load ptr, ptr %7, align 8 %45 = load i64, ptr %44, align 8 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %7, align 8 %48 = load i64, ptr %47, align 8 %49 = add i64 %48, 1 store i64 %49, ptr %4, align 8 br label %80 50: ; preds = %3 %51 = load ptr, ptr %6, align 8 store ptr %51, ptr %13, align 8 %52 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %52, ptr %14, align 8 store i32 0, ptr %15, align 4 %53 = load i32, ptr %15, align 4 %54 = sext i32 %53 to i64 %55 = load ptr, ptr %7, align 8 %56 = load i64, ptr %55, align 8 %57 = icmp ult i64 %54, %56 br i1 %57, label %.lr.ph, label %74 .lr.ph: ; preds = %50 br label %58 58: ; preds = %.lr.ph, %66 %59 = load ptr, ptr %13, align 8 %60 = load i32, ptr %15, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = load ptr, ptr %14, align 8 %65 = call i32 @fputc(i8 noundef signext %63, ptr noundef %64) br label %66 66: ; preds = %58 %67 = load i32, ptr %15, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %15, align 4 %69 = load i32, ptr %15, align 4 %70 = sext i32 %69 to i64 %71 = load ptr, ptr %7, align 8 %72 = load i64, ptr %71, align 8 %73 = icmp ult i64 %70, %72 br i1 %73, label %58, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %74 74: ; preds = %._crit_edge, %50 %75 = load ptr, ptr %14, align 8 %76 = call i32 @fclose(ptr noundef %75) %77 = load ptr, ptr %7, align 8 %78 = load i64, ptr %77, align 8 store i64 %78, ptr %4, align 8 br label %80 79: ; preds = %3 store i64 0, ptr %4, align 8 br label %80 80: ; preds = %79, %74, %31, %27, %23, %18, %17 %81 = load i64, ptr %4, align 8 ret i64 %81 } declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_gip6k7q.c' source_filename = "/tmp/tmp_gip6k7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display_status(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } 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/tmp_gip6k7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display_status(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } 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/tmpf4r7n0l2.c' source_filename = "/tmp/tmpf4r7n0l2.c" target datalayout = "e-m:e-p270: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"\1B[?25l\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @platform_terminal_free() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf4r7n0l2.c" target datalayout = "e-m:e-p270: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"\1B[?25l\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @platform_terminal_free() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplydrwvbq.c' source_filename = "/tmp/tmplydrwvbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writelines(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %27 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %7, align 4 br label %13 13: ; preds = %23, %10 %14 = load i32, ptr %7, align 4 %15 = icmp sge i32 %14, 0 br i1 %15, label %16, label %26 16: ; preds = %13 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i32 @printf(ptr noundef @.str, ptr noundef %21) br label %23 23: ; preds = %16 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %7, align 4 br label %13, !llvm.loop !6 26: ; preds = %13 br label %43 27: ; preds = %3 store i32 0, ptr %7, align 4 br label %28 28: ; preds = %39, %27 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %42 32: ; preds = %28 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i32 @printf(ptr noundef @.str, ptr noundef %37) br label %39 39: ; preds = %32 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 br label %28, !llvm.loop !8 42: ; preds = %28 br label %43 43: ; preds = %42, %26 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplydrwvbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writelines(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %28 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %.lr.ph2, label %27 .lr.ph2: ; preds = %10 br label %15 15: ; preds = %.lr.ph2, %22 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 @printf(ptr noundef @.str, ptr noundef %20) br label %22 22: ; preds = %15 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp sge i32 %25, 0 br i1 %26, label %15, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %22 br label %27 27: ; preds = %._crit_edge3, %10 br label %46 28: ; preds = %3 store i32 0, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %45 .lr.ph: ; preds = %28 br label %32 32: ; preds = %.lr.ph, %39 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i32 @printf(ptr noundef @.str, ptr noundef %37) br label %39 39: ; preds = %32 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %5, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %32, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %28 br label %46 46: ; preds = %45, %27 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9s1noxit.c' source_filename = "/tmp/tmp9s1noxit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @_exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @_PROCEDURE_LINKAGE_TABLE_() unreachable } declare i32 @_PROCEDURE_LINKAGE_TABLE_(...) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9s1noxit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @_exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @_PROCEDURE_LINKAGE_TABLE_() unreachable } declare i32 @_PROCEDURE_LINKAGE_TABLE_(...) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqur8agiq.c' source_filename = "/tmp/tmpqur8agiq.c" target datalayout = "e-m:e-p270: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 [45 x i8] c"Stencil: nx,ny,maxiter,eps=%d %d %d %18.16f\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c": norm, eps= %18.16f %18.16f\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global float 0.000000e+00, align 4 @.str.2 = private unnamed_addr constant [40 x i8] c"'Stencil: norm =%18.16f with iter = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"'Stencil: Time =%18.16f sec, MLups/s=%18.16f\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 float, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store float 0.000000e+00, ptr %9, align 4 store float 0.000000e+00, ptr %10, align 4 store i32 2400, ptr %15, align 4 store float 0x3F40624DE0000000, ptr %6, align 4 %19 = load float, ptr %6, align 4 %20 = fpext float %19 to double %21 = fdiv double 1.000000e+00, %20 %22 = fptosi double %21 to i32 store i32 %22, ptr %11, align 4 %23 = load i32, ptr %4, align 4 switch i32 %23, label %42 [ i32 1, label %24 i32 2, label %27 i32 3, label %33 ] 24: ; preds = %2 %25 = load i32, ptr %15, align 4 store i32 %25, ptr %12, align 4 %26 = load i32, ptr %12, align 4 store i32 %26, ptr %13, align 4 br label %47 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) store i32 %31, ptr %12, align 4 %32 = load i32, ptr %12, align 4 store i32 %32, ptr %13, align 4 br label %47 33: ; preds = %2 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = call i32 @atoi(ptr noundef %36) store i32 %37, ptr %12, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 2 %40 = load ptr, ptr %39, align 8 %41 = call i32 @atoi(ptr noundef %40) store i32 %41, ptr %13, align 4 br label %47 42: ; preds = %2 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 0 %45 = load ptr, ptr %44, align 8 %46 = call i32 @usage(ptr noundef %45) store i32 -1, ptr %3, align 4 br label %143 47: ; preds = %33, %27, %24 %48 = load i32, ptr %12, align 4 %49 = sitofp i32 %48 to float %50 = load i32, ptr %13, align 4 %51 = sitofp i32 %50 to float %52 = load i32, ptr %11, align 4 %53 = load float, ptr %6, align 4 %54 = fpext float %53 to double %55 = call i32 (ptr, float, float, ...) @printf(ptr noundef @.str, float noundef %49, float noundef %51, i32 noundef %52, double noundef %54) %56 = load i32, ptr %12, align 4 %57 = add nsw i32 %56, 2 %58 = load i32, ptr %13, align 4 %59 = add nsw i32 %58, 2 %60 = call ptr @malloc_2d(i32 noundef %57, i32 noundef %59) store ptr %60, ptr %7, align 8 %61 = load i32, ptr %12, align 4 %62 = add nsw i32 %61, 2 %63 = load i32, ptr %13, align 4 %64 = add nsw i32 %63, 2 %65 = call ptr @malloc_2d(i32 noundef %62, i32 noundef %64) store ptr %65, ptr %8, align 8 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %12, align 4 %68 = load i32, ptr %13, align 4 %69 = call i32 @init(ptr noundef %66, i32 noundef %67, i32 noundef %68) %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %12, align 4 %72 = load i32, ptr %13, align 4 %73 = call i32 @init(ptr noundef %70, i32 noundef %71, i32 noundef %72) %74 = call i64 (...) @clock() store i64 %74, ptr %16, align 8 %75 = load float, ptr %6, align 4 %76 = fadd float %75, 1.000000e+00 store float %76, ptr %9, align 4 store i32 0, ptr %14, align 4 br label %77 77: ; preds = %111, %47 %78 = load i32, ptr %14, align 4 %79 = load i32, ptr %11, align 4 %80 = icmp sle i32 %78, %79 br i1 %80, label %81, label %85 81: ; preds = %77 %82 = load float, ptr %9, align 4 %83 = load float, ptr %6, align 4 %84 = fcmp oge float %82, %83 br label %85 85: ; preds = %81, %77 %86 = phi i1 [ false, %77 ], [ %84, %81 ] br i1 %86, label %87, label %112 87: ; preds = %85 %88 = load ptr, ptr %8, align 8 %89 = load ptr, ptr %7, align 8 %90 = load i32, ptr %12, align 4 %91 = load i32, ptr %13, align 4 %92 = call i32 @update(ptr noundef %88, ptr noundef %89, ptr noundef null, i32 noundef %90, i32 noundef %91) %93 = load ptr, ptr %7, align 8 %94 = load ptr, ptr %8, align 8 %95 = load i32, ptr %12, align 4 %96 = load i32, ptr %13, align 4 %97 = call i32 @update(ptr noundef %93, ptr noundef %94, ptr noundef %9, i32 noundef %95, i32 noundef %96) %98 = load i32, ptr %14, align 4 %99 = add nsw i32 %98, 2 store i32 %99, ptr %14, align 4 %100 = load i32, ptr %14, align 4 %101 = srem i32 %100, 100 %102 = icmp eq i32 %101, 0 br i1 %102, label %107, label %103 103: ; preds = %87 %104 = load float, ptr %9, align 4 %105 = load float, ptr %6, align 4 %106 = fcmp olt float %104, %105 br i1 %106, label %107, label %111 107: ; preds = %103, %87 %108 = load float, ptr %9, align 4 %109 = load float, ptr %6, align 4 %110 = call i32 (ptr, float, float, ...) @printf(ptr noundef @.str.1, float noundef %108, float noundef %109) br label %111 111: ; preds = %107, %103 br label %77, !llvm.loop !6 112: ; preds = %85 %113 = load ptr, ptr %7, align 8 %114 = call i32 @free_2d(ptr noundef %113) %115 = load ptr, ptr %8, align 8 %116 = call i32 @free_2d(ptr noundef %115) %117 = load i32, ptr %14, align 4 %118 = sitofp i32 %117 to double %119 = fmul double 0x3EB0C6F7A0B5ED8D, %118 %120 = load i32, ptr %12, align 4 %121 = sitofp i32 %120 to double %122 = fmul double %119, %121 %123 = load i32, ptr %13, align 4 %124 = sitofp i32 %123 to double %125 = fmul double %122, %124 %126 = fptrunc double %125 to float store float %126, ptr %10, align 4 %127 = call i64 (...) @clock() store i64 %127, ptr %17, align 8 %128 = load i64, ptr %17, align 8 %129 = load i64, ptr %16, align 8 %130 = sub nsw i64 %128, %129 %131 = sitofp i64 %130 to float %132 = load float, ptr @CLOCKS_PER_SEC, align 4 %133 = fdiv float %131, %132 store float %133, ptr %18, align 4 %134 = load float, ptr %9, align 4 %135 = load i32, ptr %14, align 4 %136 = sitofp i32 %135 to float %137 = call i32 (ptr, float, float, ...) @printf(ptr noundef @.str.2, float noundef %134, float noundef %136) %138 = load float, ptr %18, align 4 %139 = load float, ptr %10, align 4 %140 = load float, ptr %18, align 4 %141 = fdiv float %139, %140 %142 = call i32 (ptr, float, float, ...) @printf(ptr noundef @.str.3, float noundef %138, float noundef %141) store i32 0, ptr %3, align 4 br label %143 143: ; preds = %112, %42 %144 = load i32, ptr %3, align 4 ret i32 %144 } declare i32 @atoi(ptr noundef) #1 declare i32 @usage(ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef, float noundef, ...) #1 declare ptr @malloc_2d(i32 noundef, i32 noundef) #1 declare i32 @init(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @clock(...) #1 declare i32 @update(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free_2d(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/tmpqur8agiq.c" target datalayout = "e-m:e-p270: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 [45 x i8] c"Stencil: nx,ny,maxiter,eps=%d %d %d %18.16f\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c": norm, eps= %18.16f %18.16f\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global float 0.000000e+00, align 4 @.str.2 = private unnamed_addr constant [40 x i8] c"'Stencil: norm =%18.16f with iter = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"'Stencil: Time =%18.16f sec, MLups/s=%18.16f\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 float, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store float 0.000000e+00, ptr %9, align 4 store float 0.000000e+00, ptr %10, align 4 store i32 2400, ptr %15, align 4 store float 0x3F40624DE0000000, ptr %6, align 4 %19 = load float, ptr %6, align 4 %20 = fpext float %19 to double %21 = fdiv double 1.000000e+00, %20 %22 = fptosi double %21 to i32 store i32 %22, ptr %11, align 4 %23 = load i32, ptr %4, align 4 switch i32 %23, label %42 [ i32 1, label %24 i32 2, label %27 i32 3, label %33 ] 24: ; preds = %2 %25 = load i32, ptr %15, align 4 store i32 %25, ptr %12, align 4 %26 = load i32, ptr %12, align 4 store i32 %26, ptr %13, align 4 br label %47 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) store i32 %31, ptr %12, align 4 %32 = load i32, ptr %12, align 4 store i32 %32, ptr %13, align 4 br label %47 33: ; preds = %2 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = call i32 @atoi(ptr noundef %36) store i32 %37, ptr %12, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 2 %40 = load ptr, ptr %39, align 8 %41 = call i32 @atoi(ptr noundef %40) store i32 %41, ptr %13, align 4 br label %47 42: ; preds = %2 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 0 %45 = load ptr, ptr %44, align 8 %46 = call i32 @usage(ptr noundef %45) store i32 -1, ptr %3, align 4 br label %143 47: ; preds = %33, %27, %24 %48 = load i32, ptr %12, align 4 %49 = sitofp i32 %48 to float %50 = load i32, ptr %13, align 4 %51 = sitofp i32 %50 to float %52 = load i32, ptr %11, align 4 %53 = load float, ptr %6, align 4 %54 = fpext float %53 to double %55 = call i32 (ptr, float, float, ...) @printf(ptr noundef @.str, float noundef %49, float noundef %51, i32 noundef %52, double noundef %54) %56 = load i32, ptr %12, align 4 %57 = add nsw i32 %56, 2 %58 = load i32, ptr %13, align 4 %59 = add nsw i32 %58, 2 %60 = call ptr @malloc_2d(i32 noundef %57, i32 noundef %59) store ptr %60, ptr %7, align 8 %61 = load i32, ptr %12, align 4 %62 = add nsw i32 %61, 2 %63 = load i32, ptr %13, align 4 %64 = add nsw i32 %63, 2 %65 = call ptr @malloc_2d(i32 noundef %62, i32 noundef %64) store ptr %65, ptr %8, align 8 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %12, align 4 %68 = load i32, ptr %13, align 4 %69 = call i32 @init(ptr noundef %66, i32 noundef %67, i32 noundef %68) %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %12, align 4 %72 = load i32, ptr %13, align 4 %73 = call i32 @init(ptr noundef %70, i32 noundef %71, i32 noundef %72) %74 = call i64 (...) @clock() store i64 %74, ptr %16, align 8 %75 = load float, ptr %6, align 4 %76 = fadd float %75, 1.000000e+00 store float %76, ptr %9, align 4 store i32 0, ptr %14, align 4 br label %77 77: ; preds = %111, %47 %78 = load i32, ptr %14, align 4 %79 = load i32, ptr %11, align 4 %80 = icmp sle i32 %78, %79 br i1 %80, label %81, label %85 81: ; preds = %77 %82 = load float, ptr %9, align 4 %83 = load float, ptr %6, align 4 %84 = fcmp oge float %82, %83 br label %85 85: ; preds = %81, %77 %86 = phi i1 [ false, %77 ], [ %84, %81 ] br i1 %86, label %87, label %112 87: ; preds = %85 %88 = load ptr, ptr %8, align 8 %89 = load ptr, ptr %7, align 8 %90 = load i32, ptr %12, align 4 %91 = load i32, ptr %13, align 4 %92 = call i32 @update(ptr noundef %88, ptr noundef %89, ptr noundef null, i32 noundef %90, i32 noundef %91) %93 = load ptr, ptr %7, align 8 %94 = load ptr, ptr %8, align 8 %95 = load i32, ptr %12, align 4 %96 = load i32, ptr %13, align 4 %97 = call i32 @update(ptr noundef %93, ptr noundef %94, ptr noundef %9, i32 noundef %95, i32 noundef %96) %98 = load i32, ptr %14, align 4 %99 = add nsw i32 %98, 2 store i32 %99, ptr %14, align 4 %100 = load i32, ptr %14, align 4 %101 = srem i32 %100, 100 %102 = icmp eq i32 %101, 0 br i1 %102, label %107, label %103 103: ; preds = %87 %104 = load float, ptr %9, align 4 %105 = load float, ptr %6, align 4 %106 = fcmp olt float %104, %105 br i1 %106, label %107, label %111 107: ; preds = %103, %87 %108 = load float, ptr %9, align 4 %109 = load float, ptr %6, align 4 %110 = call i32 (ptr, float, float, ...) @printf(ptr noundef @.str.1, float noundef %108, float noundef %109) br label %111 111: ; preds = %107, %103 br label %77, !llvm.loop !6 112: ; preds = %85 %113 = load ptr, ptr %7, align 8 %114 = call i32 @free_2d(ptr noundef %113) %115 = load ptr, ptr %8, align 8 %116 = call i32 @free_2d(ptr noundef %115) %117 = load i32, ptr %14, align 4 %118 = sitofp i32 %117 to double %119 = fmul double 0x3EB0C6F7A0B5ED8D, %118 %120 = load i32, ptr %12, align 4 %121 = sitofp i32 %120 to double %122 = fmul double %119, %121 %123 = load i32, ptr %13, align 4 %124 = sitofp i32 %123 to double %125 = fmul double %122, %124 %126 = fptrunc double %125 to float store float %126, ptr %10, align 4 %127 = call i64 (...) @clock() store i64 %127, ptr %17, align 8 %128 = load i64, ptr %17, align 8 %129 = load i64, ptr %16, align 8 %130 = sub nsw i64 %128, %129 %131 = sitofp i64 %130 to float %132 = load float, ptr @CLOCKS_PER_SEC, align 4 %133 = fdiv float %131, %132 store float %133, ptr %18, align 4 %134 = load float, ptr %9, align 4 %135 = load i32, ptr %14, align 4 %136 = sitofp i32 %135 to float %137 = call i32 (ptr, float, float, ...) @printf(ptr noundef @.str.2, float noundef %134, float noundef %136) %138 = load float, ptr %18, align 4 %139 = load float, ptr %10, align 4 %140 = load float, ptr %18, align 4 %141 = fdiv float %139, %140 %142 = call i32 (ptr, float, float, ...) @printf(ptr noundef @.str.3, float noundef %138, float noundef %141) store i32 0, ptr %3, align 4 br label %143 143: ; preds = %112, %42 %144 = load i32, ptr %3, align 4 ret i32 %144 } declare i32 @atoi(ptr noundef) #1 declare i32 @usage(ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef, float noundef, ...) #1 declare ptr @malloc_2d(i32 noundef, i32 noundef) #1 declare i32 @init(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @clock(...) #1 declare i32 @update(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free_2d(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/tmp8tz8amsq.c' source_filename = "/tmp/tmp8tz8amsq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGRTMIN = dso_local global i32 0, align 4 @SIG_UNBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @timer_unblock() #0 { %1 = alloca i32, align 4 %2 = call i32 @sigemptyset(ptr noundef %1) %3 = load i32, ptr @SIGRTMIN, align 4 %4 = call i32 @sigaddset(ptr noundef %1, i32 noundef %3) %5 = load i32, ptr @SIG_UNBLOCK, align 4 %6 = call i32 @sigprocmask(i32 noundef %5, ptr noundef %1, ptr noundef null) ret i32 %6 } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8tz8amsq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGRTMIN = dso_local global i32 0, align 4 @SIG_UNBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @timer_unblock() #0 { %1 = alloca i32, align 4 %2 = call i32 @sigemptyset(ptr noundef %1) %3 = load i32, ptr @SIGRTMIN, align 4 %4 = call i32 @sigaddset(ptr noundef %1, i32 noundef %3) %5 = load i32, ptr @SIG_UNBLOCK, align 4 %6 = call i32 @sigprocmask(i32 noundef %5, ptr noundef %1, ptr noundef null) ret i32 %6 } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8zbzp873.c' source_filename = "/tmp/tmp8zbzp873.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @astrleft.fnName = internal constant [11 x i8] c"astrleft()\00", align 1 @.str = private unnamed_addr constant [15 x i8] c"Out of memory!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @astrleft(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %8 = load i64, ptr %5, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store ptr null, ptr %3, align 8 br label %50 11: ; preds = %2 %12 = load i64, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = icmp uge i64 %12, %14 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load ptr, ptr %4, align 8 %18 = call ptr @astrcpy(ptr noundef %17) store ptr %18, ptr %3, align 8 br label %50 19: ; preds = %11 %20 = load i64, ptr %5, align 8 %21 = add i64 %20, 1 %22 = mul i64 %21, 1 %23 = call i64 @malloc(i64 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %6, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %28 26: ; preds = %19 %27 = call i32 @fatal(ptr noundef @astrleft.fnName, ptr noundef @.str) br label %46 28: ; preds = %19 %29 = load i64, ptr %5, align 8 %30 = load ptr, ptr %4, align 8 %31 = call i64 @strlen(ptr noundef %30) %32 = icmp uge i64 %29, %31 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = call i64 @strlen(ptr noundef %34) store i64 %35, ptr %7, align 8 br label %38 36: ; preds = %28 %37 = load i64, ptr %5, align 8 store i64 %37, ptr %7, align 8 br label %38 38: ; preds = %36, %33 %39 = load ptr, ptr %6, align 8 %40 = load ptr, ptr %4, align 8 %41 = load i64, ptr %7, align 8 %42 = call i32 @memcpy(ptr noundef %39, ptr noundef %40, i64 noundef %41) %43 = load ptr, ptr %6, align 8 %44 = load i64, ptr %7, align 8 %45 = getelementptr inbounds i8, ptr %43, i64 %44 store i8 0, ptr %45, align 1 br label %46 46: ; preds = %38, %26 br label %47 47: ; preds = %46 br label %48 48: ; preds = %47 %49 = load ptr, ptr %6, align 8 store ptr %49, ptr %3, align 8 br label %50 50: ; preds = %48, %16, %10 %51 = load ptr, ptr %3, align 8 ret ptr %51 } declare i64 @strlen(ptr noundef) #1 declare ptr @astrcpy(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @fatal(ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8zbzp873.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @astrleft.fnName = internal constant [11 x i8] c"astrleft()\00", align 1 @.str = private unnamed_addr constant [15 x i8] c"Out of memory!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @astrleft(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %8 = load i64, ptr %5, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store ptr null, ptr %3, align 8 br label %50 11: ; preds = %2 %12 = load i64, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = icmp uge i64 %12, %14 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load ptr, ptr %4, align 8 %18 = call ptr @astrcpy(ptr noundef %17) store ptr %18, ptr %3, align 8 br label %50 19: ; preds = %11 %20 = load i64, ptr %5, align 8 %21 = add i64 %20, 1 %22 = mul i64 %21, 1 %23 = call i64 @malloc(i64 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %6, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %28 26: ; preds = %19 %27 = call i32 @fatal(ptr noundef @astrleft.fnName, ptr noundef @.str) br label %46 28: ; preds = %19 %29 = load i64, ptr %5, align 8 %30 = load ptr, ptr %4, align 8 %31 = call i64 @strlen(ptr noundef %30) %32 = icmp uge i64 %29, %31 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = call i64 @strlen(ptr noundef %34) store i64 %35, ptr %7, align 8 br label %38 36: ; preds = %28 %37 = load i64, ptr %5, align 8 store i64 %37, ptr %7, align 8 br label %38 38: ; preds = %36, %33 %39 = load ptr, ptr %6, align 8 %40 = load ptr, ptr %4, align 8 %41 = load i64, ptr %7, align 8 %42 = call i32 @memcpy(ptr noundef %39, ptr noundef %40, i64 noundef %41) %43 = load ptr, ptr %6, align 8 %44 = load i64, ptr %7, align 8 %45 = getelementptr inbounds i8, ptr %43, i64 %44 store i8 0, ptr %45, align 1 br label %46 46: ; preds = %38, %26 br label %47 47: ; preds = %46 br label %48 48: ; preds = %47 %49 = load ptr, ptr %6, align 8 store ptr %49, ptr %3, align 8 br label %50 50: ; preds = %48, %16, %10 %51 = load ptr, ptr %3, align 8 ret ptr %51 } declare i64 @strlen(ptr noundef) #1 declare ptr @astrcpy(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @fatal(ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuco88s1z.c' source_filename = "/tmp/tmpuco88s1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Entrez le nom du fichier : \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%[^\0A]s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"Impossible d'ouvrir le fichier.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str) %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str.2) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %0 %14 = load ptr, ptr %3, align 8 %15 = call i32 @generation_temperatures(ptr noundef %14, i32 noundef 1901, i32 noundef 2099) %16 = load ptr, ptr %3, align 8 %17 = call i32 @fclose(ptr noundef %16) br label %20 18: ; preds = %0 %19 = call i32 @printf(ptr noundef @.str.3) br label %20 20: ; preds = %18, %13 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @generation_temperatures(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuco88s1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Entrez le nom du fichier : \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%[^\0A]s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"Impossible d'ouvrir le fichier.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str) %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str.2) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %0 %14 = load ptr, ptr %3, align 8 %15 = call i32 @generation_temperatures(ptr noundef %14, i32 noundef 1901, i32 noundef 2099) %16 = load ptr, ptr %3, align 8 %17 = call i32 @fclose(ptr noundef %16) br label %20 18: ; preds = %0 %19 = call i32 @printf(ptr noundef @.str.3) br label %20 20: ; preds = %18, %13 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @generation_temperatures(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiq5y6fi4.c' source_filename = "/tmp/tmpiq5y6fi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"What are the quantities of item1 ?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"What is the price of item1 ?\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"What are the quantities of item2 ?\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"What is the price of item2 ?\0A\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"What is the tax rate in percent ?\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c" The company is %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"Almuzaini\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c" The invoice number is %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c" item 1 : %d @ $%.2f per item \0A\00", align 1 @.str.11 = private unnamed_addr constant [32 x i8] c" item 2 : %d @ $%.2f per item \0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c" The total is $%.2f \0A\00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c" The tax is $%.2f\0A\00", align 1 @.str.14 = private unnamed_addr constant [26 x i8] c" The total cost is $%.2f\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 float, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %3) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %5) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6) %20 = load i32, ptr %2, align 4 %21 = sitofp i32 %20 to float %22 = load float, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = sitofp i32 %23 to float %25 = load float, ptr %5, align 4 %26 = fmul float %24, %25 %27 = call float @llvm.fmuladd.f32(float %21, float %22, float %26) store float %27, ptr %7, align 4 %28 = load float, ptr %6, align 4 %29 = fpext float %28 to double %30 = fdiv double %29, 1.000000e+02 %31 = load float, ptr %7, align 4 %32 = fpext float %31 to double %33 = fmul double %30, %32 %34 = fptrunc double %33 to float store float %34, ptr %8, align 4 %35 = load float, ptr %7, align 4 %36 = load float, ptr %8, align 4 %37 = fadd float %35, %36 store float %37, ptr %9, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef 12344) %40 = load i32, ptr %2, align 4 %41 = load float, ptr %3, align 4 %42 = fpext float %41 to double %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %40, double noundef %42) %44 = load i32, ptr %4, align 4 %45 = load float, ptr %5, align 4 %46 = fpext float %45 to double %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %44, double noundef %46) %48 = load float, ptr %7, align 4 %49 = fpext float %48 to double %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %49) %51 = load float, ptr %8, align 4 %52 = fpext float %51 to double %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %52) %54 = load float, ptr %9, align 4 %55 = fpext float %54 to double %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %55) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiq5y6fi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"What are the quantities of item1 ?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"What is the price of item1 ?\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"What are the quantities of item2 ?\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"What is the price of item2 ?\0A\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"What is the tax rate in percent ?\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c" The company is %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"Almuzaini\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c" The invoice number is %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c" item 1 : %d @ $%.2f per item \0A\00", align 1 @.str.11 = private unnamed_addr constant [32 x i8] c" item 2 : %d @ $%.2f per item \0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c" The total is $%.2f \0A\00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c" The tax is $%.2f\0A\00", align 1 @.str.14 = private unnamed_addr constant [26 x i8] c" The total cost is $%.2f\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 float, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %3) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %5) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6) %20 = load i32, ptr %2, align 4 %21 = sitofp i32 %20 to float %22 = load float, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = sitofp i32 %23 to float %25 = load float, ptr %5, align 4 %26 = fmul float %24, %25 %27 = call float @llvm.fmuladd.f32(float %21, float %22, float %26) store float %27, ptr %7, align 4 %28 = load float, ptr %6, align 4 %29 = fpext float %28 to double %30 = fdiv double %29, 1.000000e+02 %31 = load float, ptr %7, align 4 %32 = fpext float %31 to double %33 = fmul double %30, %32 %34 = fptrunc double %33 to float store float %34, ptr %8, align 4 %35 = load float, ptr %7, align 4 %36 = load float, ptr %8, align 4 %37 = fadd float %35, %36 store float %37, ptr %9, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef 12344) %40 = load i32, ptr %2, align 4 %41 = load float, ptr %3, align 4 %42 = fpext float %41 to double %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %40, double noundef %42) %44 = load i32, ptr %4, align 4 %45 = load float, ptr %5, align 4 %46 = fpext float %45 to double %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %44, double noundef %46) %48 = load float, ptr %7, align 4 %49 = fpext float %48 to double %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %49) %51 = load float, ptr %8, align 4 %52 = fpext float %51 to double %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %52) %54 = load float, ptr %9, align 4 %55 = fpext float %54 to double %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %55) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjnu5daya.c' source_filename = "/tmp/tmpjnu5daya.c" target datalayout = "e-m:e-p270: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/tmpjnu5daya.c" target datalayout = "e-m:e-p270: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/tmpa9hvq8_n.c' source_filename = "/tmp/tmpa9hvq8_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ossl_safe_getenv(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i64 (...) @OPENSSL_issetugid() %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call ptr @getenv(ptr noundef %8) store ptr %9, ptr %2, align 8 br label %10 10: ; preds = %7, %6 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare i64 @OPENSSL_issetugid(...) #1 declare ptr @getenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa9hvq8_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ossl_safe_getenv(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i64 (...) @OPENSSL_issetugid() %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call ptr @getenv(ptr noundef %8) store ptr %9, ptr %2, align 8 br label %10 10: ; preds = %7, %6 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare i64 @OPENSSL_issetugid(...) #1 declare ptr @getenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpce1ya2ug.c' source_filename = "/tmp/tmpce1ya2ug.c" target datalayout = "e-m:e-p270: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/tmpce1ya2ug.c" target datalayout = "e-m:e-p270: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/tmpd3u2t32u.c' source_filename = "/tmp/tmpd3u2t32u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @optind = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd3u2t32u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @optind = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpibnssba_.c' source_filename = "/tmp/tmpibnssba_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-t\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-u\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-l\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = call i32 @usage(ptr noundef %9) br label %11 11: ; preds = %8, %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %32 17: ; preds = %11 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %18, 4 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = load ptr, ptr %5, align 8 %22 = call i32 @usage(ptr noundef %21) br label %23 23: ; preds = %20, %17 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %4, align 4 %28 = sub nsw i32 %27, 3 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = call i32 @main_c(ptr noundef %26, i32 noundef %28, ptr noundef %30) br label %93 32: ; preds = %11 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.1) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %56 38: ; preds = %32 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %39, 4 br i1 %40, label %41, label %44 41: ; preds = %38 %42 = load ptr, ptr %5, align 8 %43 = call i32 @usage(ptr noundef %42) br label %44 44: ; preds = %41, %38 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 2 %47 = load ptr, ptr %46, align 8 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 3 %50 = load ptr, ptr %49, align 8 %51 = load i32, ptr %4, align 4 %52 = sub nsw i32 %51, 4 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 4 %55 = call i32 @main_t(ptr noundef %47, ptr noundef %50, i32 noundef %52, ptr noundef %54) br label %92 56: ; preds = %32 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 1 %59 = load ptr, ptr %58, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.2) %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %76 62: ; preds = %56 %63 = load i32, ptr %4, align 4 %64 = icmp slt i32 %63, 4 br i1 %64, label %65, label %68 65: ; preds = %62 %66 = load ptr, ptr %5, align 8 %67 = call i32 @usage(ptr noundef %66) br label %68 68: ; preds = %65, %62 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds ptr, ptr %69, i64 2 %71 = load ptr, ptr %70, align 8 %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds ptr, ptr %72, i64 3 %74 = load ptr, ptr %73, align 8 %75 = call i32 @main_u(ptr noundef %71, ptr noundef %74) br label %91 76: ; preds = %56 %77 = load ptr, ptr %5, align 8 %78 = getelementptr inbounds ptr, ptr %77, i64 1 %79 = load ptr, ptr %78, align 8 %80 = call i64 @strcmp(ptr noundef %79, ptr noundef @.str.3) %81 = icmp eq i64 %80, 0 br i1 %81, label %82, label %87 82: ; preds = %76 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds ptr, ptr %83, i64 2 %85 = load ptr, ptr %84, align 8 %86 = call i32 @main_l(ptr noundef %85) br label %90 87: ; preds = %76 %88 = load ptr, ptr %5, align 8 %89 = call i32 @usage(ptr noundef %88) br label %90 90: ; preds = %87, %82 br label %91 91: ; preds = %90, %68 br label %92 92: ; preds = %91, %44 br label %93 93: ; preds = %92, %23 ret i32 0 } declare i32 @usage(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @main_c(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @main_t(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @main_u(ptr noundef, ptr noundef) #1 declare i32 @main_l(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/tmpibnssba_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-t\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-u\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-l\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = call i32 @usage(ptr noundef %9) br label %11 11: ; preds = %8, %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %32 17: ; preds = %11 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %18, 4 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = load ptr, ptr %5, align 8 %22 = call i32 @usage(ptr noundef %21) br label %23 23: ; preds = %20, %17 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %4, align 4 %28 = sub nsw i32 %27, 3 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = call i32 @main_c(ptr noundef %26, i32 noundef %28, ptr noundef %30) br label %93 32: ; preds = %11 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.1) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %56 38: ; preds = %32 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %39, 4 br i1 %40, label %41, label %44 41: ; preds = %38 %42 = load ptr, ptr %5, align 8 %43 = call i32 @usage(ptr noundef %42) br label %44 44: ; preds = %41, %38 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 2 %47 = load ptr, ptr %46, align 8 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 3 %50 = load ptr, ptr %49, align 8 %51 = load i32, ptr %4, align 4 %52 = sub nsw i32 %51, 4 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 4 %55 = call i32 @main_t(ptr noundef %47, ptr noundef %50, i32 noundef %52, ptr noundef %54) br label %92 56: ; preds = %32 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 1 %59 = load ptr, ptr %58, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.2) %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %76 62: ; preds = %56 %63 = load i32, ptr %4, align 4 %64 = icmp slt i32 %63, 4 br i1 %64, label %65, label %68 65: ; preds = %62 %66 = load ptr, ptr %5, align 8 %67 = call i32 @usage(ptr noundef %66) br label %68 68: ; preds = %65, %62 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds ptr, ptr %69, i64 2 %71 = load ptr, ptr %70, align 8 %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds ptr, ptr %72, i64 3 %74 = load ptr, ptr %73, align 8 %75 = call i32 @main_u(ptr noundef %71, ptr noundef %74) br label %91 76: ; preds = %56 %77 = load ptr, ptr %5, align 8 %78 = getelementptr inbounds ptr, ptr %77, i64 1 %79 = load ptr, ptr %78, align 8 %80 = call i64 @strcmp(ptr noundef %79, ptr noundef @.str.3) %81 = icmp eq i64 %80, 0 br i1 %81, label %82, label %87 82: ; preds = %76 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds ptr, ptr %83, i64 2 %85 = load ptr, ptr %84, align 8 %86 = call i32 @main_l(ptr noundef %85) br label %90 87: ; preds = %76 %88 = load ptr, ptr %5, align 8 %89 = call i32 @usage(ptr noundef %88) br label %90 90: ; preds = %87, %82 br label %91 91: ; preds = %90, %68 br label %92 92: ; preds = %91, %44 br label %93 93: ; preds = %92, %23 ret i32 0 } declare i32 @usage(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @main_c(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @main_t(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @main_u(ptr noundef, ptr noundef) #1 declare i32 @main_l(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/tmpvi4bjc8i.c' source_filename = "/tmp/tmpvi4bjc8i.c" target datalayout = "e-m:e-p270: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"..\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"Can't allocate memory!\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Couldn't get current working directory...\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_full_path(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %30, %2 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strncmp(ptr noundef %8, ptr noundef @.str, i32 noundef 2) %10 = icmp ne i32 %9, 0 %11 = xor i1 %10, true br i1 %11, label %12, label %33 12: ; preds = %7 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 2 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 47 br i1 %17, label %18, label %21 18: ; preds = %12 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 3 store ptr %20, ptr %4, align 8 br label %30 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = call i32 @strcmp(ptr noundef @.str, ptr noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %21 %26 = load ptr, ptr %4, align 8 %27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.1) br label %29 28: ; preds = %21 br label %33 29: ; preds = %25 br label %30 30: ; preds = %29, %18 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 br label %7, !llvm.loop !6 33: ; preds = %28, %7 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 0 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 47 br i1 %38, label %39, label %58 39: ; preds = %33 %40 = load ptr, ptr %4, align 8 %41 = load ptr, ptr %4, align 8 %42 = call i32 @strlen(ptr noundef %41) %43 = sub nsw i32 %42, 1 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %40, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 47 br i1 %48, label %49, label %56 49: ; preds = %39 %50 = load ptr, ptr %4, align 8 %51 = load ptr, ptr %4, align 8 %52 = call i32 @strlen(ptr noundef %51) %53 = sub nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %50, i64 %54 store i8 0, ptr %55, align 1 br label %56 56: ; preds = %49, %39 %57 = load ptr, ptr %4, align 8 store ptr %57, ptr %3, align 8 br label %151 58: ; preds = %33 %59 = load ptr, ptr %4, align 8 %60 = call i32 @strcmp(ptr noundef %59, ptr noundef @.str.2) %61 = icmp ne i32 %60, 0 br i1 %61, label %65, label %62 62: ; preds = %58 %63 = load ptr, ptr %4, align 8 %64 = call i32 @strcpy(ptr noundef %63, ptr noundef @.str.1) br label %81 65: ; preds = %58 %66 = load ptr, ptr %4, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 0 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 46 br i1 %70, label %71, label %80 71: ; preds = %65 %72 = load ptr, ptr %4, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 1 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp eq i32 %75, 47 br i1 %76, label %77, label %80 77: ; preds = %71 %78 = load ptr, ptr %4, align 8 %79 = getelementptr inbounds i8, ptr %78, i64 2 store ptr %79, ptr %4, align 8 br label %80 80: ; preds = %77, %71, %65 br label %81 81: ; preds = %80, %62 br label %82 82: ; preds = %81 %83 = load ptr, ptr %4, align 8 %84 = call i32 @strlen(ptr noundef %83) %85 = add nsw i32 516, %84 %86 = sext i32 %85 to i64 %87 = mul i64 %86, 1 %88 = trunc i64 %87 to i32 %89 = call i64 @malloc(i32 noundef %88) %90 = inttoptr i64 %89 to ptr store ptr %90, ptr %5, align 8 %91 = icmp ne ptr %90, null br i1 %91, label %96, label %92 92: ; preds = %82 %93 = load i32, ptr @stderr, align 4 %94 = call i32 @fprintf(i32 noundef %93, ptr noundef @.str.3) %95 = call i32 @exit(i32 noundef 1) #3 unreachable 96: ; preds = %82 %97 = load ptr, ptr %5, align 8 %98 = load ptr, ptr %4, align 8 %99 = call i32 @strlen(ptr noundef %98) %100 = sub nsw i32 510, %99 %101 = call ptr @getcwd(ptr noundef %97, i32 noundef %100) store ptr %101, ptr %5, align 8 %102 = icmp ne ptr %101, null br i1 %102, label %107, label %103 103: ; preds = %96 %104 = load i32, ptr @stderr, align 4 %105 = call i32 @fprintf(i32 noundef %104, ptr noundef @.str.4) %106 = call i32 @exit(i32 noundef 1) #3 unreachable 107: ; preds = %96 %108 = load i32, ptr %6, align 4 %109 = icmp ne i32 %108, 0 br i1 %109, label %110, label %127 110: ; preds = %107 br label %111 111: ; preds = %123, %110 %112 = load i32, ptr %6, align 4 %113 = icmp sgt i32 %112, 0 br i1 %113, label %114, label %126 114: ; preds = %111 %115 = load ptr, ptr %5, align 8 %116 = load ptr, ptr %5, align 8 %117 = call ptr @strrchr(ptr noundef %116, i8 noundef signext 47) %118 = load ptr, ptr %5, align 8 %119 = ptrtoint ptr %117 to i64 %120 = ptrtoint ptr %118 to i64 %121 = sub i64 %119, %120 %122 = getelementptr inbounds i8, ptr %115, i64 %121 store i8 0, ptr %122, align 1 br label %123 123: ; preds = %114 %124 = load i32, ptr %6, align 4 %125 = add nsw i32 %124, -1 store i32 %125, ptr %6, align 4 br label %111, !llvm.loop !8 126: ; preds = %111 br label %127 127: ; preds = %126, %107 %128 = load ptr, ptr %5, align 8 %129 = call i32 @strcat(ptr noundef %128, ptr noundef @.str.5) %130 = load ptr, ptr %5, align 8 %131 = load ptr, ptr %4, align 8 %132 = call i32 @strcat(ptr noundef %130, ptr noundef %131) %133 = load ptr, ptr %5, align 8 %134 = load ptr, ptr %5, align 8 %135 = call i32 @strlen(ptr noundef %134) %136 = sub nsw i32 %135, 1 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i8, ptr %133, i64 %137 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = icmp eq i32 %140, 47 br i1 %141, label %142, label %149 142: ; preds = %127 %143 = load ptr, ptr %5, align 8 %144 = load ptr, ptr %5, align 8 %145 = call i32 @strlen(ptr noundef %144) %146 = sub nsw i32 %145, 1 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i8, ptr %143, i64 %147 store i8 0, ptr %148, align 1 br label %149 149: ; preds = %142, %127 %150 = load ptr, ptr %5, align 8 store ptr %150, ptr %3, align 8 br label %151 151: ; preds = %149, %56 %152 = load ptr, ptr %3, align 8 ret ptr %152 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvi4bjc8i.c" target datalayout = "e-m:e-p270: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"..\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"Can't allocate memory!\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Couldn't get current working directory...\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_full_path(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strncmp(ptr noundef %7, ptr noundef @.str, i32 noundef 2) %9 = icmp ne i32 %8, 0 %10 = xor i1 %9, true br i1 %10, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %29 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 2 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 47 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 3 store ptr %19, ptr %4, align 8 br label %29 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = call i32 @strcmp(ptr noundef @.str, ptr noundef %21) %23 = icmp ne i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %20 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strcpy(ptr noundef %25, ptr noundef @.str.1) br label %28 27: ; preds = %20 br label %36 28: ; preds = %24 br label %29 29: ; preds = %28, %17 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 %32 = load ptr, ptr %4, align 8 %33 = call i32 @strncmp(ptr noundef %32, ptr noundef @.str, i32 noundef 2) %34 = icmp ne i32 %33, 0 %35 = xor i1 %34, true br i1 %35, label %11, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %29 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %36 36: ; preds = %.loopexit, %27 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 47 br i1 %41, label %42, label %61 42: ; preds = %36 %43 = load ptr, ptr %4, align 8 %44 = load ptr, ptr %4, align 8 %45 = call i32 @strlen(ptr noundef %44) %46 = sub nsw i32 %45, 1 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %43, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 47 br i1 %51, label %52, label %59 52: ; preds = %42 %53 = load ptr, ptr %4, align 8 %54 = load ptr, ptr %4, align 8 %55 = call i32 @strlen(ptr noundef %54) %56 = sub nsw i32 %55, 1 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %53, i64 %57 store i8 0, ptr %58, align 1 br label %59 59: ; preds = %52, %42 %60 = load ptr, ptr %4, align 8 store ptr %60, ptr %3, align 8 br label %155 61: ; preds = %36 %62 = load ptr, ptr %4, align 8 %63 = call i32 @strcmp(ptr noundef %62, ptr noundef @.str.2) %64 = icmp ne i32 %63, 0 br i1 %64, label %68, label %65 65: ; preds = %61 %66 = load ptr, ptr %4, align 8 %67 = call i32 @strcpy(ptr noundef %66, ptr noundef @.str.1) br label %84 68: ; preds = %61 %69 = load ptr, ptr %4, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 0 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 46 br i1 %73, label %74, label %83 74: ; preds = %68 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 1 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 47 br i1 %79, label %80, label %83 80: ; preds = %74 %81 = load ptr, ptr %4, align 8 %82 = getelementptr inbounds i8, ptr %81, i64 2 store ptr %82, ptr %4, align 8 br label %83 83: ; preds = %80, %74, %68 br label %84 84: ; preds = %83, %65 br label %85 85: ; preds = %84 %86 = load ptr, ptr %4, align 8 %87 = call i32 @strlen(ptr noundef %86) %88 = add nsw i32 516, %87 %89 = sext i32 %88 to i64 %90 = mul i64 %89, 1 %91 = trunc i64 %90 to i32 %92 = call i64 @malloc(i32 noundef %91) %93 = inttoptr i64 %92 to ptr store ptr %93, ptr %5, align 8 %94 = icmp ne ptr %93, null br i1 %94, label %99, label %95 95: ; preds = %85 %96 = load i32, ptr @stderr, align 4 %97 = call i32 @fprintf(i32 noundef %96, ptr noundef @.str.3) %98 = call i32 @exit(i32 noundef 1) #3 unreachable 99: ; preds = %85 %100 = load ptr, ptr %5, align 8 %101 = load ptr, ptr %4, align 8 %102 = call i32 @strlen(ptr noundef %101) %103 = sub nsw i32 510, %102 %104 = call ptr @getcwd(ptr noundef %100, i32 noundef %103) store ptr %104, ptr %5, align 8 %105 = icmp ne ptr %104, null br i1 %105, label %110, label %106 106: ; preds = %99 %107 = load i32, ptr @stderr, align 4 %108 = call i32 @fprintf(i32 noundef %107, ptr noundef @.str.4) %109 = call i32 @exit(i32 noundef 1) #3 unreachable 110: ; preds = %99 %111 = load i32, ptr %6, align 4 %112 = icmp ne i32 %111, 0 br i1 %112, label %113, label %131 113: ; preds = %110 %114 = load i32, ptr %6, align 4 %115 = icmp sgt i32 %114, 0 br i1 %115, label %.lr.ph1, label %130 .lr.ph1: ; preds = %113 br label %116 116: ; preds = %.lr.ph1, %125 %117 = load ptr, ptr %5, align 8 %118 = load ptr, ptr %5, align 8 %119 = call ptr @strrchr(ptr noundef %118, i8 noundef signext 47) %120 = load ptr, ptr %5, align 8 %121 = ptrtoint ptr %119 to i64 %122 = ptrtoint ptr %120 to i64 %123 = sub i64 %121, %122 %124 = getelementptr inbounds i8, ptr %117, i64 %123 store i8 0, ptr %124, align 1 br label %125 125: ; preds = %116 %126 = load i32, ptr %6, align 4 %127 = add nsw i32 %126, -1 store i32 %127, ptr %6, align 4 %128 = load i32, ptr %6, align 4 %129 = icmp sgt i32 %128, 0 br i1 %129, label %116, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %125 br label %130 130: ; preds = %._crit_edge, %113 br label %131 131: ; preds = %130, %110 %132 = load ptr, ptr %5, align 8 %133 = call i32 @strcat(ptr noundef %132, ptr noundef @.str.5) %134 = load ptr, ptr %5, align 8 %135 = load ptr, ptr %4, align 8 %136 = call i32 @strcat(ptr noundef %134, ptr noundef %135) %137 = load ptr, ptr %5, align 8 %138 = load ptr, ptr %5, align 8 %139 = call i32 @strlen(ptr noundef %138) %140 = sub nsw i32 %139, 1 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i8, ptr %137, i64 %141 %143 = load i8, ptr %142, align 1 %144 = sext i8 %143 to i32 %145 = icmp eq i32 %144, 47 br i1 %145, label %146, label %153 146: ; preds = %131 %147 = load ptr, ptr %5, align 8 %148 = load ptr, ptr %5, align 8 %149 = call i32 @strlen(ptr noundef %148) %150 = sub nsw i32 %149, 1 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i8, ptr %147, i64 %151 store i8 0, ptr %152, align 1 br label %153 153: ; preds = %146, %131 %154 = load ptr, ptr %5, align 8 store ptr %154, ptr %3, align 8 br label %155 155: ; preds = %153, %59 %156 = load ptr, ptr %3, align 8 ret ptr %156 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpx64htenv.c' source_filename = "/tmp/tmpx64htenv.c" target datalayout = "e-m:e-p270: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 [43 x i8] c"Couldn't allocate memory for keys/values!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_to_string_array(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = srem i32 %10, 10 %12 = icmp ne i32 %11, 0 br i1 %12, label %32, label %13 13: ; preds = %4 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr %8, align 4 %17 = add nsw i32 %16, 10 %18 = sext i32 %17 to i64 %19 = mul i64 8, %18 %20 = trunc i64 %19 to i32 %21 = call i64 @realloc(ptr noundef %15, i32 noundef %20) %22 = inttoptr i64 %21 to ptr %23 = load ptr, ptr %5, align 8 store ptr %22, ptr %23, align 8 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %24, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %31, label %27 27: ; preds = %13 %28 = load i32, ptr @stderr, align 4 %29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str) %30 = call i32 @exit(i32 noundef 1) #3 unreachable 31: ; preds = %13 br label %32 32: ; preds = %31, %4 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 store ptr %37, ptr %9, align 8 %38 = load i64, ptr %7, align 8 %39 = add i64 %38, 1 %40 = mul i64 1, %39 %41 = trunc i64 %40 to i32 %42 = call i64 @malloc(i32 noundef %41) %43 = inttoptr i64 %42 to ptr %44 = load ptr, ptr %9, align 8 store ptr %43, ptr %44, align 8 %45 = load ptr, ptr %9, align 8 %46 = load ptr, ptr %45, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %52, label %48 48: ; preds = %32 %49 = load i32, ptr @stderr, align 4 %50 = call i32 @fprintf(i32 noundef %49, ptr noundef @.str) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %32 %53 = load ptr, ptr %9, align 8 %54 = load ptr, ptr %53, align 8 %55 = load ptr, ptr %6, align 8 %56 = load i64, ptr %7, align 8 %57 = mul i64 %56, 1 %58 = call i32 @memcpy(ptr noundef %54, ptr noundef %55, i64 noundef %57) %59 = load ptr, ptr %9, align 8 %60 = load ptr, ptr %59, align 8 %61 = load i64, ptr %7, align 8 %62 = getelementptr inbounds i8, ptr %60, i64 %61 store i8 0, ptr %62, align 1 ret void } declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpx64htenv.c" target datalayout = "e-m:e-p270: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 [43 x i8] c"Couldn't allocate memory for keys/values!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_to_string_array(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = srem i32 %10, 10 %12 = icmp ne i32 %11, 0 br i1 %12, label %32, label %13 13: ; preds = %4 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr %8, align 4 %17 = add nsw i32 %16, 10 %18 = sext i32 %17 to i64 %19 = mul i64 8, %18 %20 = trunc i64 %19 to i32 %21 = call i64 @realloc(ptr noundef %15, i32 noundef %20) %22 = inttoptr i64 %21 to ptr %23 = load ptr, ptr %5, align 8 store ptr %22, ptr %23, align 8 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %24, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %31, label %27 27: ; preds = %13 %28 = load i32, ptr @stderr, align 4 %29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str) %30 = call i32 @exit(i32 noundef 1) #3 unreachable 31: ; preds = %13 br label %32 32: ; preds = %31, %4 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 store ptr %37, ptr %9, align 8 %38 = load i64, ptr %7, align 8 %39 = add i64 %38, 1 %40 = mul i64 1, %39 %41 = trunc i64 %40 to i32 %42 = call i64 @malloc(i32 noundef %41) %43 = inttoptr i64 %42 to ptr %44 = load ptr, ptr %9, align 8 store ptr %43, ptr %44, align 8 %45 = load ptr, ptr %9, align 8 %46 = load ptr, ptr %45, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %52, label %48 48: ; preds = %32 %49 = load i32, ptr @stderr, align 4 %50 = call i32 @fprintf(i32 noundef %49, ptr noundef @.str) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %32 %53 = load ptr, ptr %9, align 8 %54 = load ptr, ptr %53, align 8 %55 = load ptr, ptr %6, align 8 %56 = load i64, ptr %7, align 8 %57 = mul i64 %56, 1 %58 = call i32 @memcpy(ptr noundef %54, ptr noundef %55, i64 noundef %57) %59 = load ptr, ptr %9, align 8 %60 = load ptr, ptr %59, align 8 %61 = load i64, ptr %7, align 8 %62 = getelementptr inbounds i8, ptr %60, i64 %61 store i8 0, ptr %62, align 1 ret void } declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp4oc_qnf_.c' source_filename = "/tmp/tmp4oc_qnf_.c" target datalayout = "e-m:e-p270: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/tmp4oc_qnf_.c" target datalayout = "e-m:e-p270: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/tmp6l92pvfs.c' source_filename = "/tmp/tmp6l92pvfs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @escape_dollar_signs(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 @escape_dollar_sign(ptr noundef %3) ret ptr %4 } declare ptr @escape_dollar_sign(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/tmp6l92pvfs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @escape_dollar_signs(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 @escape_dollar_sign(ptr noundef %3) ret ptr %4 } declare ptr @escape_dollar_sign(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/tmppnddipdp.c' source_filename = "/tmp/tmppnddipdp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @math_test() #0 { %1 = call i32 (...) @float_to_frac_test() %2 = call i32 (...) @cubic_test() %3 = call i32 (...) @quartic_test() ret void } declare i32 @float_to_frac_test(...) #1 declare i32 @cubic_test(...) #1 declare i32 @quartic_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppnddipdp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @math_test() #0 { %1 = call i32 (...) @float_to_frac_test() %2 = call i32 (...) @cubic_test() %3 = call i32 (...) @quartic_test() ret void } declare i32 @float_to_frac_test(...) #1 declare i32 @cubic_test(...) #1 declare i32 @quartic_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv91hoej6.c' source_filename = "/tmp/tmpv91hoej6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 1, ptr %3, align 8 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %5 5: ; preds = %8, %0 %6 = load i64, ptr %2, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %5 %9 = load i64, ptr %2, align 8 %10 = srem i64 %9, 10 %11 = load i64, ptr %3, align 8 %12 = mul nsw i64 %11, %10 store i64 %12, ptr %3, align 8 %13 = load i64, ptr %2, align 8 %14 = sdiv i64 %13, 10 store i64 %14, ptr %2, align 8 br label %5, !llvm.loop !6 15: ; preds = %5 %16 = load i64, ptr %3, align 8 %17 = call i32 @printf(ptr noundef @.str, i64 noundef %16) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv91hoej6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 1, ptr %3, align 8 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i64, ptr %2, align 8 %6 = icmp ne i64 %5, 0 br i1 %6, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %7 %8 = load i64, ptr %2, align 8 %9 = srem i64 %8, 10 %10 = load i64, ptr %3, align 8 %11 = mul nsw i64 %10, %9 store i64 %11, ptr %3, align 8 %12 = load i64, ptr %2, align 8 %13 = sdiv i64 %12, 10 store i64 %13, ptr %2, align 8 %14 = load i64, ptr %2, align 8 %15 = icmp ne i64 %14, 0 br i1 %15, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %16 16: ; preds = %._crit_edge, %0 %17 = load i64, ptr %3, align 8 %18 = call i32 @printf(ptr noundef @.str, i64 noundef %17) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphwehdx2s.c' source_filename = "/tmp/tmphwehdx2s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"****** Set 1\0A\00", align 1 @.str.1 = private unnamed_addr constant [97 x i8] c"49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"1c0111001f010100061a024b53535009181c\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"686974207468652062756c6c277320657965\00", align 1 @.str.4 = private unnamed_addr constant [69 x i8] c"1b37373331363f78151b7f2b783431333d78397828372d363c78373e783a393b3736\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"files/4.txt\00", align 1 @.str.6 = private unnamed_addr constant [75 x i8] c"Burning 'em, if you ain't quick and nimble\0AI go crazy when I hear a cymbal\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"ICE\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"files/6.txt\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"files/7.txt\00", align 1 @.str.10 = private unnamed_addr constant [17 x i8] c"YELLOW SUBMARINE\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"files/8.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set1() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @challenge1(ptr noundef @.str.1) %3 = call i32 @challenge2(ptr noundef @.str.2, ptr noundef @.str.3) %4 = call i32 @challenge3(ptr noundef @.str.4) %5 = call i32 @challenge4(ptr noundef @.str.5) %6 = call i32 @challenge5(ptr noundef @.str.6, ptr noundef @.str.7) %7 = call i32 @challenge6(ptr noundef @.str.8) %8 = call i32 @challenge7(ptr noundef @.str.9, ptr noundef @.str.10, i32 noundef 16, i32 noundef 128) %9 = call i32 @challenge8(ptr noundef @.str.11, i32 noundef 16) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @challenge1(ptr noundef) #1 declare i32 @challenge2(ptr noundef, ptr noundef) #1 declare i32 @challenge3(ptr noundef) #1 declare i32 @challenge4(ptr noundef) #1 declare i32 @challenge5(ptr noundef, ptr noundef) #1 declare i32 @challenge6(ptr noundef) #1 declare i32 @challenge7(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @challenge8(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/tmphwehdx2s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"****** Set 1\0A\00", align 1 @.str.1 = private unnamed_addr constant [97 x i8] c"49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"1c0111001f010100061a024b53535009181c\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"686974207468652062756c6c277320657965\00", align 1 @.str.4 = private unnamed_addr constant [69 x i8] c"1b37373331363f78151b7f2b783431333d78397828372d363c78373e783a393b3736\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"files/4.txt\00", align 1 @.str.6 = private unnamed_addr constant [75 x i8] c"Burning 'em, if you ain't quick and nimble\0AI go crazy when I hear a cymbal\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"ICE\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"files/6.txt\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"files/7.txt\00", align 1 @.str.10 = private unnamed_addr constant [17 x i8] c"YELLOW SUBMARINE\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"files/8.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set1() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @challenge1(ptr noundef @.str.1) %3 = call i32 @challenge2(ptr noundef @.str.2, ptr noundef @.str.3) %4 = call i32 @challenge3(ptr noundef @.str.4) %5 = call i32 @challenge4(ptr noundef @.str.5) %6 = call i32 @challenge5(ptr noundef @.str.6, ptr noundef @.str.7) %7 = call i32 @challenge6(ptr noundef @.str.8) %8 = call i32 @challenge7(ptr noundef @.str.9, ptr noundef @.str.10, i32 noundef 16, i32 noundef 128) %9 = call i32 @challenge8(ptr noundef @.str.11, i32 noundef 16) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @challenge1(ptr noundef) #1 declare i32 @challenge2(ptr noundef, ptr noundef) #1 declare i32 @challenge3(ptr noundef) #1 declare i32 @challenge4(ptr noundef) #1 declare i32 @challenge5(ptr noundef, ptr noundef) #1 declare i32 @challenge6(ptr noundef) #1 declare i32 @challenge7(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @challenge8(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/tmpv6vawqfc.c' source_filename = "/tmp/tmpv6vawqfc.c" target datalayout = "e-m:e-p270: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"sum.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"sum.out\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = 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 store i32 0, ptr %1, align 4 %4 = call i32 @fopen(ptr noundef @.str, ptr noundef @.str.1) %5 = call i32 @fscanf(i32 noundef %4, ptr noundef @.str.2, ptr noundef %2, ptr noundef %3) %6 = call i32 @fopen(ptr noundef @.str.3, ptr noundef @.str.4) %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %7, %8 %10 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.5, i32 noundef %9) ret i32 0 } declare i32 @fscanf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv6vawqfc.c" target datalayout = "e-m:e-p270: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"sum.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"sum.out\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = 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 store i32 0, ptr %1, align 4 %4 = call i32 @fopen(ptr noundef @.str, ptr noundef @.str.1) %5 = call i32 @fscanf(i32 noundef %4, ptr noundef @.str.2, ptr noundef %2, ptr noundef %3) %6 = call i32 @fopen(ptr noundef @.str.3, ptr noundef @.str.4) %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %7, %8 %10 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.5, i32 noundef %9) ret i32 0 } declare i32 @fscanf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp85bxvlyy.c' source_filename = "/tmp/tmp85bxvlyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp85bxvlyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn2nsxxq1.c' source_filename = "/tmp/tmpn2nsxxq1.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"\0A*** FATAL ERROR: \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" ***\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fatal_error_ss(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr @stderr, align 4 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str) %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1) %16 = call i32 @err_bin(i32 noundef 1) %17 = call i32 @err_string(i32 noundef 1) %18 = call i32 @exit(i32 noundef 8) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @err_bin(i32 noundef) #1 declare i32 @err_string(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/tmpn2nsxxq1.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"\0A*** FATAL ERROR: \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" ***\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fatal_error_ss(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr @stderr, align 4 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str) %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1) %16 = call i32 @err_bin(i32 noundef 1) %17 = call i32 @err_string(i32 noundef 1) %18 = call i32 @exit(i32 noundef 8) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @err_bin(i32 noundef) #1 declare i32 @err_string(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/tmpapwdv9tt.c' source_filename = "/tmp/tmpapwdv9tt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @displayStateAsBytes(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = load i32, ptr %8, align 4 %13 = udiv i32 %12, 8 %14 = call i32 @displayBytes(i32 noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %13) ret void } declare i32 @displayBytes(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpapwdv9tt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @displayStateAsBytes(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = load i32, ptr %8, align 4 %13 = udiv i32 %12, 8 %14 = call i32 @displayBytes(i32 noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %13) ret void } declare i32 @displayBytes(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn5x24tit.c' source_filename = "/tmp/tmpn5x24tit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setenv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %21 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = call i64 @strchr(ptr noundef %18, i8 noundef signext 61) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %17, %13, %3 %22 = load i32, ptr @EINVAL, align 4 store i32 %22, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %75 23: ; preds = %17 %24 = load i32, ptr %7, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %31, label %26 26: ; preds = %23 %27 = load ptr, ptr %5, align 8 %28 = call i64 @getenv(ptr noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %26 store i32 0, ptr %4, align 4 br label %75 31: ; preds = %26, %23 %32 = load ptr, ptr %5, align 8 %33 = call i32 @strlen(ptr noundef %32) store i32 %33, ptr %9, align 4 %34 = load ptr, ptr %6, align 8 %35 = call i32 @strlen(ptr noundef %34) store i32 %35, ptr %10, align 4 %36 = load i32, ptr %9, align 4 %37 = load i32, ptr %10, align 4 %38 = add nsw i32 %36, %37 %39 = add nsw i32 %38, 2 %40 = call ptr @malloc(i32 noundef %39) store ptr %40, ptr %8, align 8 %41 = load ptr, ptr %8, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %72 43: ; preds = %31 %44 = load ptr, ptr %8, align 8 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %9, align 4 %47 = call i32 @memcpy(ptr noundef %44, ptr noundef %45, i32 noundef %46) %48 = load ptr, ptr %8, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 61, ptr %51, align 1 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = getelementptr inbounds i8, ptr %55, i64 1 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %10, align 4 %59 = call i32 @memcpy(ptr noundef %56, ptr noundef %57, i32 noundef %58) %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %9, align 4 %62 = load i32, ptr %10, align 4 %63 = add nsw i32 %61, %62 %64 = add nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %60, i64 %65 store i8 0, ptr %66, align 1 %67 = load ptr, ptr %8, align 8 %68 = call i32 @__putenv(ptr noundef %67, i32 noundef 1) %69 = icmp ne i32 %68, 0 br i1 %69, label %71, label %70 70: ; preds = %43 store i32 0, ptr %4, align 4 br label %75 71: ; preds = %43 br label %72 72: ; preds = %71, %31 %73 = load ptr, ptr %8, align 8 %74 = call i32 @free(ptr noundef %73) store i32 -1, ptr %4, align 4 br label %75 75: ; preds = %72, %70, %30, %21 %76 = load i32, ptr %4, align 4 ret i32 %76 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @getenv(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @__putenv(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn5x24tit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setenv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %21 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = call i64 @strchr(ptr noundef %18, i8 noundef signext 61) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %17, %13, %3 %22 = load i32, ptr @EINVAL, align 4 store i32 %22, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %75 23: ; preds = %17 %24 = load i32, ptr %7, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %31, label %26 26: ; preds = %23 %27 = load ptr, ptr %5, align 8 %28 = call i64 @getenv(ptr noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %26 store i32 0, ptr %4, align 4 br label %75 31: ; preds = %26, %23 %32 = load ptr, ptr %5, align 8 %33 = call i32 @strlen(ptr noundef %32) store i32 %33, ptr %9, align 4 %34 = load ptr, ptr %6, align 8 %35 = call i32 @strlen(ptr noundef %34) store i32 %35, ptr %10, align 4 %36 = load i32, ptr %9, align 4 %37 = load i32, ptr %10, align 4 %38 = add nsw i32 %36, %37 %39 = add nsw i32 %38, 2 %40 = call ptr @malloc(i32 noundef %39) store ptr %40, ptr %8, align 8 %41 = load ptr, ptr %8, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %72 43: ; preds = %31 %44 = load ptr, ptr %8, align 8 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %9, align 4 %47 = call i32 @memcpy(ptr noundef %44, ptr noundef %45, i32 noundef %46) %48 = load ptr, ptr %8, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 61, ptr %51, align 1 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = getelementptr inbounds i8, ptr %55, i64 1 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %10, align 4 %59 = call i32 @memcpy(ptr noundef %56, ptr noundef %57, i32 noundef %58) %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %9, align 4 %62 = load i32, ptr %10, align 4 %63 = add nsw i32 %61, %62 %64 = add nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %60, i64 %65 store i8 0, ptr %66, align 1 %67 = load ptr, ptr %8, align 8 %68 = call i32 @__putenv(ptr noundef %67, i32 noundef 1) %69 = icmp ne i32 %68, 0 br i1 %69, label %71, label %70 70: ; preds = %43 store i32 0, ptr %4, align 4 br label %75 71: ; preds = %43 br label %72 72: ; preds = %71, %31 %73 = load ptr, ptr %8, align 8 %74 = call i32 @free(ptr noundef %73) store i32 -1, ptr %4, align 4 br label %75 75: ; preds = %72, %70, %30, %21 %76 = load i32, ptr %4, align 4 ret i32 %76 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @getenv(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @__putenv(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_1ex54hc.c' source_filename = "/tmp/tmp_1ex54hc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_1ex54hc.c" target datalayout = "e-m:e-p270: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/tmpu_4i1e0t.c' source_filename = "/tmp/tmpu_4i1e0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Launching query through FFI interface.\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"6B_UDF_PARSEARGS.out\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"generated_query_6B\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"RandomSource\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"100\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"10000 |foobar.schema\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"UDF_PARSEARGS\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"200\00", align 1 @.str.9 = private unnamed_addr constant [54 x i8] c"6B_UDF_PARSEARGS.ws | myUDF | 39 | fun(x) { x.TIME } \00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"Printer\00", align 1 @.str.11 = private unnamed_addr constant [22 x i8] c" [6_UDF] got output: \00", align 1 @.str.12 = private unnamed_addr constant [66 x i8] c"\0A [6_UDF] Query successfully ran for 3 seconds, shutting down...\0A\00", align 1 @.str.13 = private unnamed_addr constant [42 x i8] c" [6_UDF] Shutdown apparently successful.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @WSQ_Init(ptr noundef @.str.1) %8 = call i32 @WSQ_SetQueryName(ptr noundef @.str.2) %9 = call i32 @WSQ_BeginTransaction(i32 noundef 99) %10 = call i32 @WSQ_BeginSubgraph(i32 noundef 11) %11 = call i32 @WSQ_AddOp(i32 noundef 1, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6) %12 = call i32 @WSQ_AddOp(i32 noundef 2, ptr noundef @.str.7, ptr noundef @.str.5, ptr noundef @.str.8, ptr noundef @.str.9) %13 = call i32 @WSQ_AddOp(i32 noundef 3, ptr noundef @.str.10, ptr noundef @.str.8, ptr noundef @.str.4, ptr noundef @.str.11) %14 = call i32 (...) @WSQ_EndSubgraph() %15 = call i32 (...) @WSQ_EndTransaction() %16 = call i32 @sleep(i32 noundef 2) %17 = call i32 @printf(ptr noundef @.str.12) %18 = call i32 (...) @WSQ_Shutdown() %19 = call i32 @printf(ptr noundef @.str.13) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @WSQ_Init(ptr noundef) #1 declare i32 @WSQ_SetQueryName(ptr noundef) #1 declare i32 @WSQ_BeginTransaction(i32 noundef) #1 declare i32 @WSQ_BeginSubgraph(i32 noundef) #1 declare i32 @WSQ_AddOp(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @WSQ_EndSubgraph(...) #1 declare i32 @WSQ_EndTransaction(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @WSQ_Shutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu_4i1e0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Launching query through FFI interface.\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"6B_UDF_PARSEARGS.out\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"generated_query_6B\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"RandomSource\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"100\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"10000 |foobar.schema\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"UDF_PARSEARGS\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"200\00", align 1 @.str.9 = private unnamed_addr constant [54 x i8] c"6B_UDF_PARSEARGS.ws | myUDF | 39 | fun(x) { x.TIME } \00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"Printer\00", align 1 @.str.11 = private unnamed_addr constant [22 x i8] c" [6_UDF] got output: \00", align 1 @.str.12 = private unnamed_addr constant [66 x i8] c"\0A [6_UDF] Query successfully ran for 3 seconds, shutting down...\0A\00", align 1 @.str.13 = private unnamed_addr constant [42 x i8] c" [6_UDF] Shutdown apparently successful.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @WSQ_Init(ptr noundef @.str.1) %8 = call i32 @WSQ_SetQueryName(ptr noundef @.str.2) %9 = call i32 @WSQ_BeginTransaction(i32 noundef 99) %10 = call i32 @WSQ_BeginSubgraph(i32 noundef 11) %11 = call i32 @WSQ_AddOp(i32 noundef 1, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6) %12 = call i32 @WSQ_AddOp(i32 noundef 2, ptr noundef @.str.7, ptr noundef @.str.5, ptr noundef @.str.8, ptr noundef @.str.9) %13 = call i32 @WSQ_AddOp(i32 noundef 3, ptr noundef @.str.10, ptr noundef @.str.8, ptr noundef @.str.4, ptr noundef @.str.11) %14 = call i32 (...) @WSQ_EndSubgraph() %15 = call i32 (...) @WSQ_EndTransaction() %16 = call i32 @sleep(i32 noundef 2) %17 = call i32 @printf(ptr noundef @.str.12) %18 = call i32 (...) @WSQ_Shutdown() %19 = call i32 @printf(ptr noundef @.str.13) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @WSQ_Init(ptr noundef) #1 declare i32 @WSQ_SetQueryName(ptr noundef) #1 declare i32 @WSQ_BeginTransaction(i32 noundef) #1 declare i32 @WSQ_BeginSubgraph(i32 noundef) #1 declare i32 @WSQ_AddOp(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @WSQ_EndSubgraph(...) #1 declare i32 @WSQ_EndTransaction(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @WSQ_Shutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp0u4f112.c' source_filename = "/tmp/tmpp0u4f112.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @selection_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %11, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %28 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = sub nsw i32 %16, %17 %19 = call i32 @getMin(ptr noundef %15, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %22, %23 %25 = call i32 @swap(ptr noundef %20, i32 noundef %21, i32 noundef %24) %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %7, !llvm.loop !6 28: ; preds = %7 ret void } declare i32 @getMin(ptr noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp0u4f112.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @selection_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %10 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %15, %16 %18 = call i32 @getMin(ptr noundef %14, i32 noundef %17) store i32 %18, ptr %6, align 4 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %21, %22 %24 = call i32 @swap(ptr noundef %19, i32 noundef %20, i32 noundef %23) %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %30 30: ; preds = %._crit_edge, %2 ret void } declare i32 @getMin(ptr noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmaf4s_o8.c' source_filename = "/tmp/tmpmaf4s_o8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"How are you?\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @something(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = call i32 @printf(ptr noundef @.str) %7 = load ptr, ptr %3, align 8 ret ptr %7 } 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/tmpmaf4s_o8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"How are you?\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @something(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = call i32 @printf(ptr noundef @.str) %7 = load ptr, ptr %3, align 8 ret ptr %7 } 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/tmp5q49enfm.c' source_filename = "/tmp/tmp5q49enfm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nand_to_ram(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 12, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %9 9: ; preds = %16, %3 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %10, 4 br i1 %11, label %12, label %25 12: ; preds = %9 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @NF_PageRead(i32 noundef %13, ptr noundef %14) br label %16 16: ; preds = %12 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = sub i32 %19, 1 %21 = shl i32 1, %20 %22 = load ptr, ptr %5, align 8 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store ptr %24, ptr %5, align 8 br label %9, !llvm.loop !6 25: ; preds = %9 store i32 4, ptr %7, align 4 br label %26 26: ; preds = %35, %25 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = ashr i32 245760, %28 %30 = icmp slt i32 %27, %29 br i1 %30, label %31, label %43 31: ; preds = %26 %32 = load i32, ptr %7, align 4 %33 = load ptr, ptr %5, align 8 %34 = call i32 @NF_PageRead(i32 noundef %32, ptr noundef %33) br label %35 35: ; preds = %31 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %8, align 4 %39 = shl i32 1, %38 %40 = load ptr, ptr %5, align 8 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds i8, ptr %40, i64 %41 store ptr %42, ptr %5, align 8 br label %26, !llvm.loop !8 43: ; preds = %26 ret void } declare i32 @NF_PageRead(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5q49enfm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nand_to_ram(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 12, ptr %8, align 4 store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 4 br i1 %10, label %.lr.ph, label %26 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %15 %12 = load i32, ptr %7, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @NF_PageRead(i32 noundef %12, ptr noundef %13) br label %15 15: ; preds = %11 %16 = load i32, ptr %7, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %7, align 4 %18 = load i32, ptr %8, align 4 %19 = sub i32 %18, 1 %20 = shl i32 1, %19 %21 = load ptr, ptr %5, align 8 %22 = sext i32 %20 to i64 %23 = getelementptr inbounds i8, ptr %21, i64 %22 store ptr %23, ptr %5, align 8 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %26 26: ; preds = %._crit_edge, %3 store i32 4, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = ashr i32 245760, %28 %30 = icmp slt i32 %27, %29 br i1 %30, label %.lr.ph2, label %47 .lr.ph2: ; preds = %26 br label %31 31: ; preds = %.lr.ph2, %35 %32 = load i32, ptr %7, align 4 %33 = load ptr, ptr %5, align 8 %34 = call i32 @NF_PageRead(i32 noundef %32, ptr noundef %33) br label %35 35: ; preds = %31 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %8, align 4 %39 = shl i32 1, %38 %40 = load ptr, ptr %5, align 8 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds i8, ptr %40, i64 %41 store ptr %42, ptr %5, align 8 %43 = load i32, ptr %7, align 4 %44 = load i32, ptr %8, align 4 %45 = ashr i32 245760, %44 %46 = icmp slt i32 %43, %45 br i1 %46, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %47 47: ; preds = %._crit_edge3, %26 ret void } declare i32 @NF_PageRead(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5er_567o.c' source_filename = "/tmp/tmp5er_567o.c" target datalayout = "e-m:e-p270: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/tmp5er_567o.c" target datalayout = "e-m:e-p270: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/tmprp9_sn9x.c' source_filename = "/tmp/tmprp9_sn9x.c" target datalayout = "e-m:e-p270: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"Digite o numero inteiro positivo: \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\0A %d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Numero nao Primo. \0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Numero Primo. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %9 = call i32 @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) store i32 1, ptr %6, align 4 br label %11 11: ; preds = %24, %2 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %15, label %27 15: ; preds = %11 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = srem i32 %16, %17 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %8, align 4 br label %23 23: ; preds = %20, %15 br label %24 24: ; preds = %23 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 br label %11, !llvm.loop !6 27: ; preds = %11 %28 = load i32, ptr %8, align 4 %29 = icmp sgt i32 %28, 2 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = call i32 @printf(ptr noundef @.str.2) br label %34 32: ; preds = %27 %33 = call i32 @printf(ptr noundef @.str.3) br label %34 34: ; preds = %32, %30 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprp9_sn9x.c" target datalayout = "e-m:e-p270: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"Digite o numero inteiro positivo: \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"\0A %d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Numero nao Primo. \0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Numero Primo. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %9 = call i32 @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) store i32 1, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %23 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = srem i32 %15, %16 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %14 %20 = load i32, ptr %8, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %8, align 4 br label %22 22: ; preds = %19, %14 br label %23 23: ; preds = %22 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %2 %30 = load i32, ptr %8, align 4 %31 = icmp sgt i32 %30, 2 br i1 %31, label %32, label %34 32: ; preds = %29 %33 = call i32 @printf(ptr noundef @.str.2) br label %36 34: ; preds = %29 %35 = call i32 @printf(ptr noundef @.str.3) br label %36 36: ; preds = %34, %32 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8tvic2j7.c' source_filename = "/tmp/tmp8tvic2j7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @optdescript(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 @opt_number(ptr noundef %5) %7 = load ptr, ptr %4, align 8 %8 = call i32 @optdescript_n(i32 noundef %6, ptr noundef %7) ret void } declare i32 @optdescript_n(i32 noundef, ptr noundef) #1 declare i32 @opt_number(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/tmp8tvic2j7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @optdescript(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 @opt_number(ptr noundef %5) %7 = load ptr, ptr %4, align 8 %8 = call i32 @optdescript_n(i32 noundef %6, ptr noundef %7) ret void } declare i32 @optdescript_n(i32 noundef, ptr noundef) #1 declare i32 @opt_number(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/tmp1erk2r_9.c' source_filename = "/tmp/tmp1erk2r_9.c" target datalayout = "e-m:e-p270: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/tmp1erk2r_9.c" target datalayout = "e-m:e-p270: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/tmpa530fusj.c' source_filename = "/tmp/tmpa530fusj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @conv_float(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 float @atof(ptr noundef %3) ret float %4 } declare float @atof(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/tmpa530fusj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @conv_float(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 float @atof(ptr noundef %3) ret float %4 } declare float @atof(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/tmpfb1r4a61.c' source_filename = "/tmp/tmpfb1r4a61.c" target datalayout = "e-m:e-p270: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/tmpfb1r4a61.c" target datalayout = "e-m:e-p270: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/tmp8vgzps7f.c' source_filename = "/tmp/tmp8vgzps7f.c" target datalayout = "e-m:e-p270: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/tmp8vgzps7f.c" target datalayout = "e-m:e-p270: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/tmpdool9g7u.c' source_filename = "/tmp/tmpdool9g7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"%d*%d=%2d\09\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @multiTable_v1() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 1, ptr %1, align 4 br label %3 3: ; preds = %22, %0 %4 = load i32, ptr %1, align 4 %5 = icmp sle i32 %4, 9 br i1 %5, label %6, label %25 6: ; preds = %3 store i32 1, ptr %2, align 4 br label %7 7: ; preds = %17, %6 %8 = load i32, ptr %2, align 4 %9 = icmp sle i32 %8, 9 br i1 %9, label %10, label %20 10: ; preds = %7 %11 = load i32, ptr %1, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %2, align 4 %15 = mul nsw i32 %13, %14 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 br label %7, !llvm.loop !6 20: ; preds = %7 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %22 22: ; preds = %20 %23 = load i32, ptr %1, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %1, align 4 br label %3, !llvm.loop !8 25: ; preds = %3 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdool9g7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"%d*%d=%2d\09\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @multiTable_v1() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 1, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp sle i32 %3, 9 br i1 %4, label %.lr.ph2, label %27 .lr.ph2: ; preds = %0 br label %5 5: ; preds = %.lr.ph2, %22 store i32 1, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 9 br i1 %7, label %.lr.ph, label %20 .lr.ph: ; preds = %5 br label %8 8: ; preds = %.lr.ph, %15 %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %1, align 4 %12 = load i32, ptr %2, align 4 %13 = mul nsw i32 %11, %12 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %13) br label %15 15: ; preds = %8 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp sle i32 %18, 9 br i1 %19, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %5 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %22 22: ; preds = %20 %23 = load i32, ptr %1, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %1, align 4 %25 = load i32, ptr %1, align 4 %26 = icmp sle i32 %25, 9 br i1 %26, label %5, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %22 br label %27 27: ; preds = %._crit_edge3, %0 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpinr7ohbq.c' source_filename = "/tmp/tmpinr7ohbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"Usage: %s <file to get md5sum of>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"final hash = %s\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 [40 x i8], align 16 %7 = 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 %8 = getelementptr inbounds [40 x i8], ptr %6, i64 0, i64 0 store ptr %8, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = getelementptr inbounds [40 x i8], ptr %6, i64 0, i64 0 %21 = call i32 @memset(ptr noundef %20, i8 noundef signext 0, i32 noundef 40) %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call ptr @hio_md5(ptr noundef %24) store ptr %25, ptr %7, align 8 %26 = load ptr, ptr %7, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %26) %28 = load ptr, ptr %7, align 8 %29 = call i32 @free(ptr noundef %28) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare ptr @hio_md5(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpinr7ohbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"Usage: %s <file to get md5sum of>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"final hash = %s\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 [40 x i8], align 16 %7 = 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 %8 = getelementptr inbounds [40 x i8], ptr %6, i64 0, i64 0 store ptr %8, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = getelementptr inbounds [40 x i8], ptr %6, i64 0, i64 0 %21 = call i32 @memset(ptr noundef %20, i8 noundef signext 0, i32 noundef 40) %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call ptr @hio_md5(ptr noundef %24) store ptr %25, ptr %7, align 8 %26 = load ptr, ptr %7, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %26) %28 = load ptr, ptr %7, align 8 %29 = call i32 @free(ptr noundef %28) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare ptr @hio_md5(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6575y9mp.c' source_filename = "/tmp/tmp6575y9mp.c" target datalayout = "e-m:e-p270: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/tmp6575y9mp.c" target datalayout = "e-m:e-p270: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/tmpsea6yndy.c' source_filename = "/tmp/tmpsea6yndy.c" target datalayout = "e-m:e-p270: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 [54 x i8] c"Array index out of bounds. index: %d, array size: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_check_array_bounds(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %9, align 4 %11 = icmp sge i32 %8, %10 br i1 %11, label %12, label %18 12: ; preds = %7, %2 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %14, align 4 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %15) %17 = call i32 @exit(i32 noundef -4) #3 unreachable 18: ; preds = %7 ret void } declare i32 @printf(ptr noundef, i32 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/tmpsea6yndy.c" target datalayout = "e-m:e-p270: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 [54 x i8] c"Array index out of bounds. index: %d, array size: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_check_array_bounds(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %9, align 4 %11 = icmp sge i32 %8, %10 br i1 %11, label %12, label %18 12: ; preds = %7, %2 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %14, align 4 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %15) %17 = call i32 @exit(i32 noundef -4) #3 unreachable 18: ; preds = %7 ret void } declare i32 @printf(ptr noundef, i32 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/tmpo7ywhf15.c' source_filename = "/tmp/tmpo7ywhf15.c" target datalayout = "e-m:e-p270: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/tmpo7ywhf15.c" target datalayout = "e-m:e-p270: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/tmpdn4ek70g.c' source_filename = "/tmp/tmpdn4ek70g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @die(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 ne i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = call i32 @exit(i32 noundef %6) #2 unreachable 8: ; preds = %1 %9 = load i32, ptr %2, align 4 ret i32 %9 } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdn4ek70g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @die(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 ne i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = call i32 @exit(i32 noundef %6) #2 unreachable 8: ; preds = %1 %9 = load i32, ptr %2, align 4 ret i32 %9 } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9vs7ph6m.c' source_filename = "/tmp/tmp9vs7ph6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MWC_PowMod64(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %7, align 4 store i32 1, ptr %8, align 4 br label %10 10: ; preds = %22, %3 %11 = load i32, ptr %5, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %29 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = and i32 %14, 1 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %6, align 4 %21 = call i32 @MWC_MulMod64(i32 noundef %18, i32 noundef %19, i32 noundef %20) store i32 %21, ptr %8, align 4 br label %22 22: ; preds = %17, %13 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = call i32 @MWC_MulMod64(i32 noundef %23, i32 noundef %24, i32 noundef %25) store i32 %26, ptr %7, align 4 %27 = load i32, ptr %5, align 4 %28 = ashr i32 %27, 1 store i32 %28, ptr %5, align 4 br label %10, !llvm.loop !6 29: ; preds = %10 %30 = load i32, ptr %8, align 4 ret i32 %30 } declare i32 @MWC_MulMod64(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9vs7ph6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MWC_PowMod64(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %7, align 4 store i32 1, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %30 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %21 %13 = load i32, ptr %5, align 4 %14 = and i32 %13, 1 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %12 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = call i32 @MWC_MulMod64(i32 noundef %17, i32 noundef %18, i32 noundef %19) store i32 %20, ptr %8, align 4 br label %21 21: ; preds = %16, %12 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = call i32 @MWC_MulMod64(i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 %25, ptr %7, align 4 %26 = load i32, ptr %5, align 4 %27 = ashr i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %30 30: ; preds = %._crit_edge, %3 %31 = load i32, ptr %8, align 4 ret i32 %31 } declare i32 @MWC_MulMod64(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxbqsjjh_.c' source_filename = "/tmp/tmpxbqsjjh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [3 x i8] c"\\t\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\\b\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\\\\\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %27, %25, %19, %13, %0 %4 = call signext i8 (...) @getchar() store i8 %4, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = load i8, ptr @EOF, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %5, %7 br i1 %8, label %9, label %30 9: ; preds = %3 %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 9 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = call i32 @printf(ptr noundef @.str) br label %3, !llvm.loop !6 15: ; preds = %9 %16 = load i8, ptr %2, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 8 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = call i32 @printf(ptr noundef @.str.1) br label %3, !llvm.loop !6 21: ; preds = %15 %22 = load i8, ptr %2, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 92 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = call i32 @printf(ptr noundef @.str.2) br label %3, !llvm.loop !6 27: ; preds = %21 %28 = load i8, ptr %2, align 1 %29 = call i32 @putchar(i8 noundef signext %28) br label %3, !llvm.loop !6 30: ; preds = %3 ret i32 0 } declare signext i8 @getchar(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxbqsjjh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [3 x i8] c"\\t\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\\b\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\\\\\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call signext i8 (...) @getchar() store i8 %3, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = load i8, ptr @EOF, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %4, %6 br i1 %7, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %.backedge %9 = load i8, ptr %2, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 9 br i1 %11, label %12, label %19 12: ; preds = %8 %13 = call i32 @printf(ptr noundef @.str) br label %.backedge .backedge: ; preds = %12, %23, %29, %31 %14 = call signext i8 (...) @getchar() store i8 %14, ptr %2, align 1 %15 = sext i8 %14 to i32 %16 = load i8, ptr @EOF, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %15, %17 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 19: ; preds = %8 %20 = load i8, ptr %2, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 8 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = call i32 @printf(ptr noundef @.str.1) br label %.backedge 25: ; preds = %19 %26 = load i8, ptr %2, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 92 br i1 %28, label %29, label %31 29: ; preds = %25 %30 = call i32 @printf(ptr noundef @.str.2) br label %.backedge 31: ; preds = %25 %32 = load i8, ptr %2, align 1 %33 = call i32 @putchar(i8 noundef signext %32) br label %.backedge ._crit_edge: ; preds = %.backedge br label %34 34: ; preds = %._crit_edge, %0 ret i32 0 } declare signext i8 @getchar(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn3yxinuu.c' source_filename = "/tmp/tmpn3yxinuu.c" target datalayout = "e-m:e-p270: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"read()\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"GET\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"HTTP/1.1 200 OK\0D\0AContent-Type: text/html\0D\0A\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"page_html\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @client_echo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [2048 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca [4096 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0 %11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 128) store i32 %11, ptr %5, align 4 %12 = icmp sle i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %35 15: ; preds = %1 %16 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0 %17 = call i64 @memcmp(ptr noundef %16, ptr noundef @.str.1, i32 noundef 3) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %34 19: ; preds = %15 %20 = load i32, ptr %3, align 4 %21 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @read(i32 noundef %20, ptr noundef %21, i32 noundef 4096) store ptr @.str.2, ptr %7, align 8 %23 = call i32 @readfile_init(ptr noundef @.str.3) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %3, align 4 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %7, align 8 %27 = call i32 @strlen(ptr noundef %26) %28 = call i32 @write(i32 noundef %24, ptr noundef %25, i32 noundef %27) %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %3, align 4 %31 = call i32 @readonly(i32 noundef %29, i32 noundef %30) %32 = load i32, ptr %8, align 4 %33 = call i32 @close(i32 noundef %32) br label %34 34: ; preds = %19, %15 store i32 0, ptr %2, align 4 br label %35 35: ; preds = %34, %13 %36 = load i32, ptr %2, align 4 ret i32 %36 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @readfile_init(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @readonly(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn3yxinuu.c" target datalayout = "e-m:e-p270: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"read()\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"GET\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"HTTP/1.1 200 OK\0D\0AContent-Type: text/html\0D\0A\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"page_html\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @client_echo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [2048 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca [4096 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0 %11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 128) store i32 %11, ptr %5, align 4 %12 = icmp sle i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %35 15: ; preds = %1 %16 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0 %17 = call i64 @memcmp(ptr noundef %16, ptr noundef @.str.1, i32 noundef 3) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %34 19: ; preds = %15 %20 = load i32, ptr %3, align 4 %21 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @read(i32 noundef %20, ptr noundef %21, i32 noundef 4096) store ptr @.str.2, ptr %7, align 8 %23 = call i32 @readfile_init(ptr noundef @.str.3) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %3, align 4 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %7, align 8 %27 = call i32 @strlen(ptr noundef %26) %28 = call i32 @write(i32 noundef %24, ptr noundef %25, i32 noundef %27) %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %3, align 4 %31 = call i32 @readonly(i32 noundef %29, i32 noundef %30) %32 = load i32, ptr %8, align 4 %33 = call i32 @close(i32 noundef %32) br label %34 34: ; preds = %19, %15 store i32 0, ptr %2, align 4 br label %35 35: ; preds = %34, %13 %36 = load i32, ptr %2, align 4 ret i32 %36 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @readfile_init(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @readonly(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp18x311rz.c' source_filename = "/tmp/tmp18x311rz.c" target datalayout = "e-m:e-p270: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/tmp18x311rz.c" target datalayout = "e-m:e-p270: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/tmpbu5i92ij.c' source_filename = "/tmp/tmpbu5i92ij.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 @.str = private unnamed_addr constant [5 x i8] c"rand\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @Rand() #0 { %1 = call i64 (...) @rand() %2 = sitofp i64 %1 to double %3 = load double, ptr @RAND_MAX, align 8 %4 = fdiv double %2, %3 %5 = call double @errcheck(double noundef %4, ptr noundef @.str) ret double %5 } declare double @errcheck(double noundef, ptr noundef) #1 declare i64 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbu5i92ij.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 @.str = private unnamed_addr constant [5 x i8] c"rand\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @Rand() #0 { %1 = call i64 (...) @rand() %2 = sitofp i64 %1 to double %3 = load double, ptr @RAND_MAX, align 8 %4 = fdiv double %2, %3 %5 = call double @errcheck(double noundef %4, ptr noundef @.str) ret double %5 } declare double @errcheck(double noundef, ptr noundef) #1 declare i64 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdocjnu7i.c' source_filename = "/tmp/tmpdocjnu7i.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"%s: not a directory\0A\00", align 1 @errno = dso_local global i64 0, align 8 @EXDEV = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = 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 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds ptr, ptr %10, i64 %13 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = call i32 @isadir(ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sgt i32 %18, 3 br i1 %19, label %20, label %27 20: ; preds = %2 %21 = load i32, ptr %6, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %27, label %23 23: ; preds = %20 %24 = load i32, ptr @stderr, align 4 %25 = load ptr, ptr %9, align 8 %26 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str, ptr noundef %25) store i32 1, ptr %3, align 4 br label %78 27: ; preds = %20, %2 br label %28 28: ; preds = %76, %68, %60, %55, %39, %27 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %4, align 4 %31 = icmp sgt i32 %29, 2 br i1 %31, label %32, label %77 32: ; preds = %28 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i32 1 store ptr %34, ptr %5, align 8 %35 = load ptr, ptr %34, align 8 store ptr %35, ptr %7, align 8 %36 = load ptr, ptr %7, align 8 %37 = call i64 @access(ptr noundef %36, i32 noundef 0) %38 = icmp slt i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %32 %40 = load ptr, ptr %7, align 8 %41 = call i32 @perror(ptr noundef %40) br label %28, !llvm.loop !6 42: ; preds = %32 %43 = load ptr, ptr %9, align 8 store ptr %43, ptr %8, align 8 %44 = load i32, ptr %6, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %42 %47 = load ptr, ptr %8, align 8 %48 = load ptr, ptr %7, align 8 %49 = call ptr @buildname(ptr noundef %47, ptr noundef %48) store ptr %49, ptr %8, align 8 br label %50 50: ; preds = %46, %42 %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %8, align 8 %53 = call i64 @rename(ptr noundef %51, ptr noundef %52) %54 = icmp sge i64 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %50 br label %28, !llvm.loop !6 56: ; preds = %50 %57 = load i64, ptr @errno, align 8 %58 = load i64, ptr @EXDEV, align 8 %59 = icmp ne i64 %57, %58 br i1 %59, label %60, label %63 60: ; preds = %56 %61 = load ptr, ptr %8, align 8 %62 = call i32 @perror(ptr noundef %61) br label %28, !llvm.loop !6 63: ; preds = %56 %64 = load ptr, ptr %7, align 8 %65 = load ptr, ptr %8, align 8 %66 = call i32 @copyfile(ptr noundef %64, ptr noundef %65, i32 noundef 1) %67 = icmp ne i32 %66, 0 br i1 %67, label %69, label %68 68: ; preds = %63 br label %28, !llvm.loop !6 69: ; preds = %63 %70 = load ptr, ptr %7, align 8 %71 = call i64 @unlink(ptr noundef %70) %72 = icmp slt i64 %71, 0 br i1 %72, label %73, label %76 73: ; preds = %69 %74 = load ptr, ptr %7, align 8 %75 = call i32 @perror(ptr noundef %74) br label %76 76: ; preds = %73, %69 br label %28, !llvm.loop !6 77: ; preds = %28 store i32 0, ptr %3, align 4 br label %78 78: ; preds = %77, %23 %79 = load i32, ptr %3, align 4 ret i32 %79 } declare i32 @isadir(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @access(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @buildname(ptr noundef, ptr noundef) #1 declare i64 @rename(ptr noundef, ptr noundef) #1 declare i32 @copyfile(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdocjnu7i.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"%s: not a directory\0A\00", align 1 @errno = dso_local global i64 0, align 8 @EXDEV = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = 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 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds ptr, ptr %10, i64 %13 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = call i32 @isadir(ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sgt i32 %18, 3 br i1 %19, label %20, label %27 20: ; preds = %2 %21 = load i32, ptr %6, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %27, label %23 23: ; preds = %20 %24 = load i32, ptr @stderr, align 4 %25 = load ptr, ptr %9, align 8 %26 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str, ptr noundef %25) store i32 1, ptr %3, align 4 br label %80 27: ; preds = %20, %2 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, -1 store i32 %29, ptr %4, align 4 %30 = icmp sgt i32 %28, 2 br i1 %30, label %.lr.ph, label %79 .lr.ph: ; preds = %27 br label %31 31: ; preds = %.lr.ph, %.backedge %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i32 1 store ptr %33, ptr %5, align 8 %34 = load ptr, ptr %33, align 8 store ptr %34, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = call i64 @access(ptr noundef %35, i32 noundef 0) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %44 38: ; preds = %31 %39 = load ptr, ptr %7, align 8 %40 = call i32 @perror(ptr noundef %39) br label %.backedge .backedge: ; preds = %38, %57, %62, %70, %78 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, -1 store i32 %42, ptr %4, align 4 %43 = icmp sgt i32 %41, 2 br i1 %43, label %31, label %._crit_edge, !llvm.loop !6 44: ; preds = %31 %45 = load ptr, ptr %9, align 8 store ptr %45, ptr %8, align 8 %46 = load i32, ptr %6, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %52 48: ; preds = %44 %49 = load ptr, ptr %8, align 8 %50 = load ptr, ptr %7, align 8 %51 = call ptr @buildname(ptr noundef %49, ptr noundef %50) store ptr %51, ptr %8, align 8 br label %52 52: ; preds = %48, %44 %53 = load ptr, ptr %7, align 8 %54 = load ptr, ptr %8, align 8 %55 = call i64 @rename(ptr noundef %53, ptr noundef %54) %56 = icmp sge i64 %55, 0 br i1 %56, label %57, label %58 57: ; preds = %52 br label %.backedge 58: ; preds = %52 %59 = load i64, ptr @errno, align 8 %60 = load i64, ptr @EXDEV, align 8 %61 = icmp ne i64 %59, %60 br i1 %61, label %62, label %65 62: ; preds = %58 %63 = load ptr, ptr %8, align 8 %64 = call i32 @perror(ptr noundef %63) br label %.backedge 65: ; preds = %58 %66 = load ptr, ptr %7, align 8 %67 = load ptr, ptr %8, align 8 %68 = call i32 @copyfile(ptr noundef %66, ptr noundef %67, i32 noundef 1) %69 = icmp ne i32 %68, 0 br i1 %69, label %71, label %70 70: ; preds = %65 br label %.backedge 71: ; preds = %65 %72 = load ptr, ptr %7, align 8 %73 = call i64 @unlink(ptr noundef %72) %74 = icmp slt i64 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %71 %76 = load ptr, ptr %7, align 8 %77 = call i32 @perror(ptr noundef %76) br label %78 78: ; preds = %75, %71 br label %.backedge ._crit_edge: ; preds = %.backedge br label %79 79: ; preds = %._crit_edge, %27 store i32 0, ptr %3, align 4 br label %80 80: ; preds = %79, %23 %81 = load i32, ptr %3, align 4 ret i32 %81 } declare i32 @isadir(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @access(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @buildname(ptr noundef, ptr noundef) #1 declare i64 @rename(ptr noundef, ptr noundef) #1 declare i32 @copyfile(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd1d7nuqf.c' source_filename = "/tmp/tmpd1d7nuqf.c" target datalayout = "e-m:e-p270: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 [253 x i8] c"\0D\0A\0D\0A********************************************************************************\0D\0A* ARM-Crypto-Lib - crypto primitives for ARM microcontrollers by Daniel Otte *\0D\0A********************************************************************************\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"Primitive Name: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"\0D\0AKey size: \00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c" bits\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"\0D\0ABlock size: \00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"\0D\0AHash size: \00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"\0D\0AMac size: \00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"\0D\0ANo initial value (IV) mode\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"\0D\0AIV size: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nessie_print_header(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca [6 x i8], align 1 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 %15 = call i32 @cli_putstr(ptr noundef @.str) %16 = call i32 @cli_putstr(ptr noundef @.str.1) %17 = load ptr, ptr %7, align 8 %18 = call i32 @cli_putstr(ptr noundef %17) %19 = call i32 @cli_putstr(ptr noundef @.str.2) store i64 0, ptr %13, align 8 br label %20 20: ; preds = %28, %6 %21 = load i64, ptr %13, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i64 @strlen(ptr noundef %22) %24 = add nsw i64 16, %23 %25 = icmp slt i64 %21, %24 br i1 %25, label %26, label %31 26: ; preds = %20 %27 = call i32 @cli_putc(i8 noundef signext 61) br label %28 28: ; preds = %26 %29 = load i64, ptr %13, align 8 %30 = add nsw i64 %29, 1 store i64 %30, ptr %13, align 8 br label %20, !llvm.loop !6 31: ; preds = %20 %32 = load i64, ptr %8, align 8 %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %42 34: ; preds = %31 %35 = call i32 @cli_putstr(ptr noundef @.str.3) %36 = load i64, ptr %8, align 8 %37 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %38 = call i32 @ustoa(i64 noundef %36, ptr noundef %37, i32 noundef 10) %39 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %40 = call i32 @cli_putstr(ptr noundef %39) %41 = call i32 @cli_putstr(ptr noundef @.str.4) br label %42 42: ; preds = %34, %31 %43 = load i64, ptr %9, align 8 %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %53 45: ; preds = %42 %46 = call i32 @cli_putstr(ptr noundef @.str.5) %47 = load i64, ptr %9, align 8 %48 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %49 = call i32 @ustoa(i64 noundef %47, ptr noundef %48, i32 noundef 10) %50 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %51 = call i32 @cli_putstr(ptr noundef %50) %52 = call i32 @cli_putstr(ptr noundef @.str.4) br label %53 53: ; preds = %45, %42 %54 = load i64, ptr %10, align 8 %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %64 56: ; preds = %53 %57 = call i32 @cli_putstr(ptr noundef @.str.6) %58 = load i64, ptr %10, align 8 %59 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %60 = call i32 @ustoa(i64 noundef %58, ptr noundef %59, i32 noundef 10) %61 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %62 = call i32 @cli_putstr(ptr noundef %61) %63 = call i32 @cli_putstr(ptr noundef @.str.4) br label %64 64: ; preds = %56, %53 %65 = load i64, ptr %11, align 8 %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %75 67: ; preds = %64 %68 = call i32 @cli_putstr(ptr noundef @.str.7) %69 = load i64, ptr %11, align 8 %70 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %71 = call i32 @ustoa(i64 noundef %69, ptr noundef %70, i32 noundef 10) %72 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %73 = call i32 @cli_putstr(ptr noundef %72) %74 = call i32 @cli_putstr(ptr noundef @.str.4) br label %75 75: ; preds = %67, %64 %76 = load i64, ptr %12, align 8 %77 = icmp ne i64 %76, 0 br i1 %77, label %78, label %92 78: ; preds = %75 %79 = load i64, ptr %12, align 8 %80 = icmp eq i64 %79, -1 br i1 %80, label %81, label %83 81: ; preds = %78 %82 = call i32 @cli_putstr(ptr noundef @.str.8) br label %91 83: ; preds = %78 %84 = call i32 @cli_putstr(ptr noundef @.str.9) %85 = load i64, ptr %12, align 8 %86 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %87 = call i32 @ustoa(i64 noundef %85, ptr noundef %86, i32 noundef 10) %88 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %89 = call i32 @cli_putstr(ptr noundef %88) %90 = call i32 @cli_putstr(ptr noundef @.str.4) br label %91 91: ; preds = %83, %81 br label %92 92: ; preds = %91, %75 %93 = call i32 @cli_putstr(ptr noundef @.str.2) ret void } declare i32 @cli_putstr(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @cli_putc(i8 noundef signext) #1 declare i32 @ustoa(i64 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd1d7nuqf.c" target datalayout = "e-m:e-p270: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 [253 x i8] c"\0D\0A\0D\0A********************************************************************************\0D\0A* ARM-Crypto-Lib - crypto primitives for ARM microcontrollers by Daniel Otte *\0D\0A********************************************************************************\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"Primitive Name: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"\0D\0AKey size: \00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c" bits\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"\0D\0ABlock size: \00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"\0D\0AHash size: \00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"\0D\0AMac size: \00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"\0D\0ANo initial value (IV) mode\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"\0D\0AIV size: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nessie_print_header(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca [6 x i8], align 1 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 %15 = call i32 @cli_putstr(ptr noundef @.str) %16 = call i32 @cli_putstr(ptr noundef @.str.1) %17 = load ptr, ptr %7, align 8 %18 = call i32 @cli_putstr(ptr noundef %17) %19 = call i32 @cli_putstr(ptr noundef @.str.2) store i64 0, ptr %13, align 8 %20 = load i64, ptr %13, align 8 %21 = load ptr, ptr %7, align 8 %22 = call i64 @strlen(ptr noundef %21) %23 = add nsw i64 16, %22 %24 = icmp slt i64 %20, %23 br i1 %24, label %.lr.ph, label %35 .lr.ph: ; preds = %6 br label %25 25: ; preds = %.lr.ph, %27 %26 = call i32 @cli_putc(i8 noundef signext 61) br label %27 27: ; preds = %25 %28 = load i64, ptr %13, align 8 %29 = add nsw i64 %28, 1 store i64 %29, ptr %13, align 8 %30 = load i64, ptr %13, align 8 %31 = load ptr, ptr %7, align 8 %32 = call i64 @strlen(ptr noundef %31) %33 = add nsw i64 16, %32 %34 = icmp slt i64 %30, %33 br i1 %34, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %35 35: ; preds = %._crit_edge, %6 %36 = load i64, ptr %8, align 8 %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %46 38: ; preds = %35 %39 = call i32 @cli_putstr(ptr noundef @.str.3) %40 = load i64, ptr %8, align 8 %41 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %42 = call i32 @ustoa(i64 noundef %40, ptr noundef %41, i32 noundef 10) %43 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %44 = call i32 @cli_putstr(ptr noundef %43) %45 = call i32 @cli_putstr(ptr noundef @.str.4) br label %46 46: ; preds = %38, %35 %47 = load i64, ptr %9, align 8 %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %57 49: ; preds = %46 %50 = call i32 @cli_putstr(ptr noundef @.str.5) %51 = load i64, ptr %9, align 8 %52 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %53 = call i32 @ustoa(i64 noundef %51, ptr noundef %52, i32 noundef 10) %54 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %55 = call i32 @cli_putstr(ptr noundef %54) %56 = call i32 @cli_putstr(ptr noundef @.str.4) br label %57 57: ; preds = %49, %46 %58 = load i64, ptr %10, align 8 %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %68 60: ; preds = %57 %61 = call i32 @cli_putstr(ptr noundef @.str.6) %62 = load i64, ptr %10, align 8 %63 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %64 = call i32 @ustoa(i64 noundef %62, ptr noundef %63, i32 noundef 10) %65 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %66 = call i32 @cli_putstr(ptr noundef %65) %67 = call i32 @cli_putstr(ptr noundef @.str.4) br label %68 68: ; preds = %60, %57 %69 = load i64, ptr %11, align 8 %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %79 71: ; preds = %68 %72 = call i32 @cli_putstr(ptr noundef @.str.7) %73 = load i64, ptr %11, align 8 %74 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %75 = call i32 @ustoa(i64 noundef %73, ptr noundef %74, i32 noundef 10) %76 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %77 = call i32 @cli_putstr(ptr noundef %76) %78 = call i32 @cli_putstr(ptr noundef @.str.4) br label %79 79: ; preds = %71, %68 %80 = load i64, ptr %12, align 8 %81 = icmp ne i64 %80, 0 br i1 %81, label %82, label %96 82: ; preds = %79 %83 = load i64, ptr %12, align 8 %84 = icmp eq i64 %83, -1 br i1 %84, label %85, label %87 85: ; preds = %82 %86 = call i32 @cli_putstr(ptr noundef @.str.8) br label %95 87: ; preds = %82 %88 = call i32 @cli_putstr(ptr noundef @.str.9) %89 = load i64, ptr %12, align 8 %90 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %91 = call i32 @ustoa(i64 noundef %89, ptr noundef %90, i32 noundef 10) %92 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %93 = call i32 @cli_putstr(ptr noundef %92) %94 = call i32 @cli_putstr(ptr noundef @.str.4) br label %95 95: ; preds = %87, %85 br label %96 96: ; preds = %95, %79 %97 = call i32 @cli_putstr(ptr noundef @.str.2) ret void } declare i32 @cli_putstr(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @cli_putc(i8 noundef signext) #1 declare i32 @ustoa(i64 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyhtvs34f.c' source_filename = "/tmp/tmpyhtvs34f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @set() %2 = call i32 (...) @show() ret i32 0 } declare i32 @set(...) #1 declare i32 @show(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyhtvs34f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @set() %2 = call i32 (...) @show() ret i32 0 } declare i32 @set(...) #1 declare i32 @show(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbe1ios51.c' source_filename = "/tmp/tmpbe1ios51.c" target datalayout = "e-m:e-p270: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/tmpbe1ios51.c" target datalayout = "e-m:e-p270: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/tmptaj8ptal.c' source_filename = "/tmp/tmptaj8ptal.c" target datalayout = "e-m:e-p270: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"%d%d%d\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Answer: %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Time: %f\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 float, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = call float (...) @timeit() store float %14, ptr %6, align 4 %15 = call ptr @calloc(i32 noundef 56000, i32 noundef 8) store ptr %15, ptr %7, align 8 %16 = call ptr @malloc(i32 noundef 14) store ptr %16, ptr %8, align 8 store i32 2, ptr %9, align 4 br label %17 17: ; preds = %58, %2 %18 = load i32, ptr %9, align 4 %19 = icmp slt i32 %18, 100 br i1 %19, label %20, label %61 20: ; preds = %17 store i32 100, ptr %10, align 4 br label %21 21: ; preds = %54, %20 %22 = load i32, ptr %10, align 4 %23 = icmp slt i32 %22, 5000 br i1 %23, label %24, label %57 24: ; preds = %21 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %10, align 4 %27 = mul nsw i32 %25, %26 store i32 %27, ptr %11, align 4 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %11, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %10, align 4 %32 = call i32 @snprintf(ptr noundef %28, i32 noundef 13, ptr noundef @.str, i32 noundef %29, i32 noundef %30, i32 noundef %31) %33 = load ptr, ptr %8, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = icmp ne i32 %34, 9 br i1 %35, label %40, label %36 36: ; preds = %24 %37 = load ptr, ptr %8, align 8 %38 = call i64 @strchr(ptr noundef %37, i32 noundef 48) %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %36, %24 br label %54 41: ; preds = %36 %42 = load ptr, ptr %8, align 8 %43 = call i64 @is_pandigital(ptr noundef %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %53 45: ; preds = %41 %46 = load ptr, ptr %8, align 8 %47 = call i64 @create_pandigital_hash(ptr noundef %46) store i64 %47, ptr %12, align 8 %48 = load ptr, ptr %7, align 8 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr %11, align 4 %51 = load i64, ptr %12, align 8 %52 = call i32 @add_pandigital_entry(ptr noundef %48, ptr noundef %49, i32 noundef %50, i64 noundef %51) br label %53 53: ; preds = %45, %41 br label %54 54: ; preds = %53, %40 %55 = load i32, ptr %10, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %10, align 4 br label %21, !llvm.loop !6 57: ; preds = %21 br label %58 58: ; preds = %57 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %9, align 4 br label %17, !llvm.loop !8 61: ; preds = %17 %62 = call float (...) @timeit() store float %62, ptr %13, align 4 %63 = load ptr, ptr %7, align 8 %64 = call float @total_pandigital_products(ptr noundef %63) %65 = call i32 @printf(ptr noundef @.str.1, float noundef %64) %66 = load float, ptr %13, align 4 %67 = load float, ptr %6, align 4 %68 = fsub float %66, %67 %69 = call i32 @printf(ptr noundef @.str.2, float noundef %68) %70 = load ptr, ptr %7, align 8 %71 = call i32 @free(ptr noundef %70) %72 = load ptr, ptr %8, align 8 %73 = call i32 @free(ptr noundef %72) ret i32 0 } declare float @timeit(...) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strchr(ptr noundef, i32 noundef) #1 declare i64 @is_pandigital(ptr noundef) #1 declare i64 @create_pandigital_hash(ptr noundef) #1 declare i32 @add_pandigital_entry(ptr noundef, ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 declare float @total_pandigital_products(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptaj8ptal.c" target datalayout = "e-m:e-p270: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"%d%d%d\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Answer: %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Time: %f\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 float, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = call float (...) @timeit() store float %14, ptr %6, align 4 %15 = call ptr @calloc(i32 noundef 56000, i32 noundef 8) store ptr %15, ptr %7, align 8 %16 = call ptr @malloc(i32 noundef 14) store ptr %16, ptr %8, align 8 store i32 2, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = icmp slt i32 %17, 100 br i1 %18, label %.lr.ph2, label %63 .lr.ph2: ; preds = %2 br label %19 19: ; preds = %.lr.ph2, %58 store i32 100, ptr %10, align 4 %20 = load i32, ptr %10, align 4 %21 = icmp slt i32 %20, 5000 br i1 %21, label %.lr.ph, label %57 .lr.ph: ; preds = %19 br label %22 22: ; preds = %.lr.ph, %52 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %10, align 4 %25 = mul nsw i32 %23, %24 store i32 %25, ptr %11, align 4 %26 = load ptr, ptr %8, align 8 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %10, align 4 %30 = call i32 @snprintf(ptr noundef %26, i32 noundef 13, ptr noundef @.str, i32 noundef %27, i32 noundef %28, i32 noundef %29) %31 = load ptr, ptr %8, align 8 %32 = call i32 @strlen(ptr noundef %31) %33 = icmp ne i32 %32, 9 br i1 %33, label %38, label %34 34: ; preds = %22 %35 = load ptr, ptr %8, align 8 %36 = call i64 @strchr(ptr noundef %35, i32 noundef 48) %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %34, %22 br label %52 39: ; preds = %34 %40 = load ptr, ptr %8, align 8 %41 = call i64 @is_pandigital(ptr noundef %40) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %39 %44 = load ptr, ptr %8, align 8 %45 = call i64 @create_pandigital_hash(ptr noundef %44) store i64 %45, ptr %12, align 8 %46 = load ptr, ptr %7, align 8 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %11, align 4 %49 = load i64, ptr %12, align 8 %50 = call i32 @add_pandigital_entry(ptr noundef %46, ptr noundef %47, i32 noundef %48, i64 noundef %49) br label %51 51: ; preds = %43, %39 br label %52 52: ; preds = %51, %38 %53 = load i32, ptr %10, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %10, align 4 %55 = load i32, ptr %10, align 4 %56 = icmp slt i32 %55, 5000 br i1 %56, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %57 57: ; preds = %._crit_edge, %19 br label %58 58: ; preds = %57 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %9, align 4 %61 = load i32, ptr %9, align 4 %62 = icmp slt i32 %61, 100 br i1 %62, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %58 br label %63 63: ; preds = %._crit_edge3, %2 %64 = call float (...) @timeit() store float %64, ptr %13, align 4 %65 = load ptr, ptr %7, align 8 %66 = call float @total_pandigital_products(ptr noundef %65) %67 = call i32 @printf(ptr noundef @.str.1, float noundef %66) %68 = load float, ptr %13, align 4 %69 = load float, ptr %6, align 4 %70 = fsub float %68, %69 %71 = call i32 @printf(ptr noundef @.str.2, float noundef %70) %72 = load ptr, ptr %7, align 8 %73 = call i32 @free(ptr noundef %72) %74 = load ptr, ptr %8, align 8 %75 = call i32 @free(ptr noundef %74) ret i32 0 } declare float @timeit(...) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strchr(ptr noundef, i32 noundef) #1 declare i64 @is_pandigital(ptr noundef) #1 declare i64 @create_pandigital_hash(ptr noundef) #1 declare i32 @add_pandigital_entry(ptr noundef, ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 declare float @total_pandigital_products(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpo1nvxvs8.c' source_filename = "/tmp/tmpo1nvxvs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kchdir(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [256 x i8], align 16 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @krealpath(ptr noundef %5, ptr noundef %6) %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %14 10: ; preds = %1 %11 = call i32 (...) @kgettask() %12 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %13 = call i32 @taskSetCurrentWorkingDirectory(i32 noundef %11, ptr noundef %12) store i32 0, ptr %2, align 4 br label %14 14: ; preds = %10, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @krealpath(ptr noundef, ptr noundef) #1 declare i32 @taskSetCurrentWorkingDirectory(i32 noundef, ptr noundef) #1 declare i32 @kgettask(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo1nvxvs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kchdir(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [256 x i8], align 16 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @krealpath(ptr noundef %5, ptr noundef %6) %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %14 10: ; preds = %1 %11 = call i32 (...) @kgettask() %12 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %13 = call i32 @taskSetCurrentWorkingDirectory(i32 noundef %11, ptr noundef %12) store i32 0, ptr %2, align 4 br label %14 14: ; preds = %10, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @krealpath(ptr noundef, ptr noundef) #1 declare i32 @taskSetCurrentWorkingDirectory(i32 noundef, ptr noundef) #1 declare i32 @kgettask(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp63rnv7v1.c' source_filename = "/tmp/tmp63rnv7v1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"quicksort\0A\00", align 1 @__const.main.expected = private unnamed_addr constant [9 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16 @__const.main.arr = private unnamed_addr constant [9 x i32] [i32 6, i32 5, i32 1, i32 3, i32 8, i32 4, i32 7, i32 9, i32 2], align 16 @.str.1 = private unnamed_addr constant [8 x i8] c"initial\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"offset: %d value: %d expected: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i32], align 16 %3 = alloca [9 x i32], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.expected, i64 36, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.arr, i64 36, i1 false) %6 = call i32 @quicksort(ptr noundef %3, i32 noundef 0, i32 noundef 9, ptr noundef @.str.1) store i32 0, ptr %4, align 4 br label %7 7: ; preds = %32, %0 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 9 br i1 %9, label %10, label %35 10: ; preds = %7 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11, i32 noundef %15, i32 noundef %19) %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp eq i32 %24, %28 %30 = zext i1 %29 to i32 %31 = call i32 @assert(i32 noundef %30) br label %32 32: ; preds = %10 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 br label %7, !llvm.loop !6 35: ; preds = %7 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @quicksort(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp63rnv7v1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"quicksort\0A\00", align 1 @__const.main.expected = private unnamed_addr constant [9 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16 @__const.main.arr = private unnamed_addr constant [9 x i32] [i32 6, i32 5, i32 1, i32 3, i32 8, i32 4, i32 7, i32 9, i32 2], align 16 @.str.1 = private unnamed_addr constant [8 x i8] c"initial\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"offset: %d value: %d expected: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i32], align 16 %3 = alloca [9 x i32], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.expected, i64 36, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.arr, i64 36, i1 false) %6 = call i32 @quicksort(ptr noundef %3, i32 noundef 0, i32 noundef 9, ptr noundef @.str.1) store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 9 br i1 %8, label %.lr.ph, label %36 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %31 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10, i32 noundef %14, i32 noundef %18) %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [9 x i32], ptr %3, i64 0, i64 %21 %23 = load i32, ptr %22, align 4 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [9 x i32], ptr %2, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp eq i32 %23, %27 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) br label %31 31: ; preds = %9 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %34, 9 br i1 %35, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %0 %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @quicksort(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqhaznscr.c' source_filename = "/tmp/tmpqhaznscr.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"child process does not exit normally\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @ljmm_let_OS_take_care_1G_2G(i32 noundef 0) %9 = call i64 (...) @fork() store i64 %9, ptr %6, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp slt i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 ret i32 1 13: ; preds = %2 %14 = load i64, ptr %6, align 8 %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %31 16: ; preds = %13 %17 = load i64, ptr %6, align 8 %18 = call i32 @waitpid(i64 noundef %17, ptr noundef %7, i32 noundef 0) %19 = load i32, ptr %7, align 4 %20 = call i32 @WIFEXITED(i32 noundef %19) %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %16 %23 = load i32, ptr %7, align 4 %24 = call i64 @WEXITSTATUS(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %22, %16 %27 = load i32, ptr @stderr, align 4 %28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str) %29 = call i32 @exit(i32 noundef 1) #3 unreachable 30: ; preds = %22 br label %31 31: ; preds = %30, %13 %32 = call i64 (...) @mytest() %33 = icmp ne i64 %32, 0 %34 = zext i1 %33 to i64 %35 = select i1 %33, i32 0, i32 1 %36 = call i32 @exit(i32 noundef %35) #3 unreachable } declare i32 @ljmm_let_OS_take_care_1G_2G(i32 noundef) #1 declare i64 @fork(...) #1 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i64 @WEXITSTATUS(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @mytest(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpqhaznscr.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"child process does not exit normally\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @ljmm_let_OS_take_care_1G_2G(i32 noundef 0) %9 = call i64 (...) @fork() store i64 %9, ptr %6, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp slt i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 ret i32 1 13: ; preds = %2 %14 = load i64, ptr %6, align 8 %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %31 16: ; preds = %13 %17 = load i64, ptr %6, align 8 %18 = call i32 @waitpid(i64 noundef %17, ptr noundef %7, i32 noundef 0) %19 = load i32, ptr %7, align 4 %20 = call i32 @WIFEXITED(i32 noundef %19) %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %16 %23 = load i32, ptr %7, align 4 %24 = call i64 @WEXITSTATUS(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %22, %16 %27 = load i32, ptr @stderr, align 4 %28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str) %29 = call i32 @exit(i32 noundef 1) #3 unreachable 30: ; preds = %22 br label %31 31: ; preds = %30, %13 %32 = call i64 (...) @mytest() %33 = icmp ne i64 %32, 0 %34 = zext i1 %33 to i64 %35 = select i1 %33, i32 0, i32 1 %36 = call i32 @exit(i32 noundef %35) #3 unreachable } declare i32 @ljmm_let_OS_take_care_1G_2G(i32 noundef) #1 declare i64 @fork(...) #1 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i64 @WEXITSTATUS(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @mytest(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpi_xbozwf.c' source_filename = "/tmp/tmpi_xbozwf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dlevmar_stddev(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = mul nsw i32 %8, %9 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %10, %11 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds double, ptr %7, i64 %13 %15 = load double, ptr %14, align 8 %16 = call i64 @sqrt(double noundef %15) %17 = sitofp i64 %16 to double ret double %17 } declare i64 @sqrt(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi_xbozwf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dlevmar_stddev(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = mul nsw i32 %8, %9 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %10, %11 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds double, ptr %7, i64 %13 %15 = load double, ptr %14, align 8 %16 = call i64 @sqrt(double noundef %15) %17 = sitofp i64 %16 to double ret double %17 } declare i64 @sqrt(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp85086m7n.c' source_filename = "/tmp/tmp85086m7n.c" target datalayout = "e-m:e-p270: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/tmp85086m7n.c" target datalayout = "e-m:e-p270: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/tmpopt8fsp6.c' source_filename = "/tmp/tmpopt8fsp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uDMAIntStatus() #0 { %1 = load volatile i64, ptr inttoptr (i64 1074787588 to ptr), align 8 ret i64 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpopt8fsp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uDMAIntStatus() #0 { %1 = load volatile i64, ptr inttoptr (i64 1074787588 to ptr), align 8 ret i64 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpigamr8d0.c' source_filename = "/tmp/tmpigamr8d0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Digite sua altura\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Digite seu peso\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Digite seu sexo\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%9s\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"masculino\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"Peso Ideal:%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca [10 x i8], align 1 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %10 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %10) %12 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str.5) %14 = icmp ne i32 %13, 0 br i1 %14, label %20, label %15 15: ; preds = %0 %16 = load float, ptr %2, align 4 %17 = fpext float %16 to double %18 = call double @llvm.fmuladd.f64(double 7.270000e+01, double %17, double -5.800000e+01) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %18) br label %20 20: ; preds = %15, %0 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpigamr8d0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Digite sua altura\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Digite seu peso\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Digite seu sexo\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%9s\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"masculino\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"Peso Ideal:%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca [10 x i8], align 1 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %10 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %10) %12 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str.5) %14 = icmp ne i32 %13, 0 br i1 %14, label %20, label %15 15: ; preds = %0 %16 = load float, ptr %2, align 4 %17 = fpext float %16 to double %18 = call double @llvm.fmuladd.f64(double 7.270000e+01, double %17, double -5.800000e+01) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %18) br label %20 20: ; preds = %15, %0 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyz2emk00.c' source_filename = "/tmp/tmpyz2emk00.c" target datalayout = "e-m:e-p270: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/tmpyz2emk00.c" target datalayout = "e-m:e-p270: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/tmp5woclfm8.c' source_filename = "/tmp/tmp5woclfm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sparse(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @count(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = add nsw i32 %16, 1 %18 = call ptr @createMatrix(i32 noundef %17, i32 noundef 3) store ptr %18, ptr %11, align 8 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %11, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 0 store i32 %19, ptr %23, align 4 %24 = load i32, ptr %6, align 4 %25 = load ptr, ptr %11, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 0 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 1 store i32 %24, ptr %28, align 4 %29 = load i32, ptr %10, align 4 %30 = load ptr, ptr %11, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 0 %32 = load ptr, ptr %31, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 2 store i32 %29, ptr %33, align 4 store i32 0, ptr %7, align 4 br label %34 34: ; preds = %91, %3 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %94 38: ; preds = %34 store i32 0, ptr %8, align 4 br label %39 39: ; preds = %87, %38 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %90 43: ; preds = %39 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %86 54: ; preds = %43 %55 = load i32, ptr %7, align 4 %56 = load ptr, ptr %11, align 8 %57 = load i32, ptr %9, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = getelementptr inbounds i32, ptr %60, i64 0 store i32 %55, ptr %61, align 4 %62 = load i32, ptr %8, align 4 %63 = load ptr, ptr %11, align 8 %64 = load i32, ptr %9, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = getelementptr inbounds i32, ptr %67, i64 1 store i32 %62, ptr %68, align 4 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds ptr, ptr %69, i64 %71 %73 = load ptr, ptr %72, align 8 %74 = load i32, ptr %8, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 %77 = load i32, ptr %76, align 4 %78 = load ptr, ptr %11, align 8 %79 = load i32, ptr %9, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %78, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = getelementptr inbounds i32, ptr %82, i64 2 store i32 %77, ptr %83, align 4 %84 = load i32, ptr %9, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %9, align 4 br label %86 86: ; preds = %54, %43 br label %87 87: ; preds = %86 %88 = load i32, ptr %8, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %8, align 4 br label %39, !llvm.loop !6 90: ; preds = %39 br label %91 91: ; preds = %90 %92 = load i32, ptr %7, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %7, align 4 br label %34, !llvm.loop !8 94: ; preds = %34 %95 = load ptr, ptr %11, align 8 ret ptr %95 } declare i32 @count(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @createMatrix(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5woclfm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sparse(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @count(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = add nsw i32 %16, 1 %18 = call ptr @createMatrix(i32 noundef %17, i32 noundef 3) store ptr %18, ptr %11, align 8 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %11, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 0 store i32 %19, ptr %23, align 4 %24 = load i32, ptr %6, align 4 %25 = load ptr, ptr %11, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 0 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 1 store i32 %24, ptr %28, align 4 %29 = load i32, ptr %10, align 4 %30 = load ptr, ptr %11, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 0 %32 = load ptr, ptr %31, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 2 store i32 %29, ptr %33, align 4 store i32 0, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph2, label %98 .lr.ph2: ; preds = %3 br label %37 37: ; preds = %.lr.ph2, %92 store i32 0, ptr %8, align 4 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph, label %91 .lr.ph: ; preds = %37 br label %41 41: ; preds = %.lr.ph, %85 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %84 52: ; preds = %41 %53 = load i32, ptr %7, align 4 %54 = load ptr, ptr %11, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds ptr, ptr %54, i64 %56 %58 = load ptr, ptr %57, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 0 store i32 %53, ptr %59, align 4 %60 = load i32, ptr %8, align 4 %61 = load ptr, ptr %11, align 8 %62 = load i32, ptr %9, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds ptr, ptr %61, i64 %63 %65 = load ptr, ptr %64, align 8 %66 = getelementptr inbounds i32, ptr %65, i64 1 store i32 %60, ptr %66, align 4 %67 = load ptr, ptr %4, align 8 %68 = load i32, ptr %7, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 %71 = load ptr, ptr %70, align 8 %72 = load i32, ptr %8, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %71, i64 %73 %75 = load i32, ptr %74, align 4 %76 = load ptr, ptr %11, align 8 %77 = load i32, ptr %9, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %76, i64 %78 %80 = load ptr, ptr %79, align 8 %81 = getelementptr inbounds i32, ptr %80, i64 2 store i32 %75, ptr %81, align 4 %82 = load i32, ptr %9, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %9, align 4 br label %84 84: ; preds = %52, %41 br label %85 85: ; preds = %84 %86 = load i32, ptr %8, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %8, align 4 %88 = load i32, ptr %8, align 4 %89 = load i32, ptr %6, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %85 br label %91 91: ; preds = %._crit_edge, %37 br label %92 92: ; preds = %91 %93 = load i32, ptr %7, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %7, align 4 %95 = load i32, ptr %7, align 4 %96 = load i32, ptr %5, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %92 br label %98 98: ; preds = %._crit_edge3, %3 %99 = load ptr, ptr %11, align 8 ret ptr %99 } declare i32 @count(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @createMatrix(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0fhgvfkd.c' source_filename = "/tmp/tmp0fhgvfkd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @caller() ret i32 0 } declare i32 @caller(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0fhgvfkd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @caller() ret i32 0 } declare i32 @caller(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprgzvex9w.c' source_filename = "/tmp/tmprgzvex9w.c" target datalayout = "e-m:e-p270: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/tmprgzvex9w.c" target datalayout = "e-m:e-p270: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/tmppz2tnks1.c' source_filename = "/tmp/tmppz2tnks1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Memento_breakpoint() #0 { ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppz2tnks1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Memento_breakpoint() #0 { ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp57ee8egi.c' source_filename = "/tmp/tmp57ee8egi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @WEOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%lc\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"read\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 8225, ptr %7, align 8 %9 = load i32, ptr @LC_ALL, align 4 %10 = call i32 @setlocale(i32 noundef %9, ptr noundef @.str) br label %11 11: ; preds = %23, %2 %12 = call i64 (...) @getwchar() store i64 %12, ptr %7, align 8 %13 = load i64, ptr @WEOF, align 8 %14 = icmp ne i64 %12, %13 br i1 %14, label %15, label %26 15: ; preds = %11 %16 = load i64, ptr %7, align 8 %17 = call i64 @findchar(i64 noundef %16) store i64 %17, ptr %8, align 8 %18 = load i64, ptr %8, align 8 %19 = load i64, ptr @WEOF, align 8 %20 = icmp ne i64 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %15 %22 = load i64, ptr %8, align 8 store i64 %22, ptr %7, align 8 br label %23 23: ; preds = %21, %15 %24 = load i64, ptr %7, align 8 %25 = call i32 @printf(ptr noundef @.str.1, i64 noundef %24) br label %11, !llvm.loop !6 26: ; preds = %11 %27 = load i32, ptr @stdin, align 4 %28 = call i64 @ferror(i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %26 %31 = call i32 @perror(ptr noundef @.str.2) br label %32 32: ; preds = %30, %26 %33 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i64 @getwchar(...) #1 declare i64 @findchar(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i64 @ferror(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp57ee8egi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @WEOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%lc\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"read\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 8225, ptr %7, align 8 %9 = load i32, ptr @LC_ALL, align 4 %10 = call i32 @setlocale(i32 noundef %9, ptr noundef @.str) %11 = call i64 (...) @getwchar() store i64 %11, ptr %7, align 8 %12 = load i64, ptr @WEOF, align 8 %13 = icmp ne i64 %11, %12 br i1 %13, label %.lr.ph, label %28 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %22 %15 = load i64, ptr %7, align 8 %16 = call i64 @findchar(i64 noundef %15) store i64 %16, ptr %8, align 8 %17 = load i64, ptr %8, align 8 %18 = load i64, ptr @WEOF, align 8 %19 = icmp ne i64 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %14 %21 = load i64, ptr %8, align 8 store i64 %21, ptr %7, align 8 br label %22 22: ; preds = %20, %14 %23 = load i64, ptr %7, align 8 %24 = call i32 @printf(ptr noundef @.str.1, i64 noundef %23) %25 = call i64 (...) @getwchar() store i64 %25, ptr %7, align 8 %26 = load i64, ptr @WEOF, align 8 %27 = icmp ne i64 %25, %26 br i1 %27, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %2 %29 = load i32, ptr @stdin, align 4 %30 = call i64 @ferror(i32 noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 @perror(ptr noundef @.str.2) br label %34 34: ; preds = %32, %28 %35 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i64 @getwchar(...) #1 declare i64 @findchar(i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i64 @ferror(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzxevc8l3.c' source_filename = "/tmp/tmpzxevc8l3.c" target datalayout = "e-m:e-p270: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/tmpzxevc8l3.c" target datalayout = "e-m:e-p270: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/tmp3r8c_2w7.c' source_filename = "/tmp/tmp3r8c_2w7.c" target datalayout = "e-m:e-p270: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 [44 x i8] c"%s\0AUsage: mount <fs> <device> <mountpoint>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3r8c_2w7.c" target datalayout = "e-m:e-p270: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 [44 x i8] c"%s\0AUsage: mount <fs> <device> <mountpoint>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzmp02mbe.c' source_filename = "/tmp/tmpzmp02mbe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_grat_trie_strndup(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) store i64 0, ptr %7, align 8 br label %12 12: ; preds = %17, %2 %13 = load i64, ptr %7, align 8 %14 = load i64, ptr %5, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %16, label %20 16: ; preds = %12 br label %17 17: ; preds = %16 %18 = load i64, ptr %7, align 8 %19 = add i64 %18, 1 store i64 %19, ptr %7, align 8 br label %12, !llvm.loop !6 20: ; preds = %12 %21 = load i64, ptr %7, align 8 %22 = add i64 %21, 1 %23 = call i64 @malloc(i64 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %6, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %27, label %26 26: ; preds = %20 store ptr null, ptr %3, align 8 br label %36 27: ; preds = %20 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %4, align 8 %30 = load i64, ptr %7, align 8 %31 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i64 noundef %30) %32 = load ptr, ptr %6, align 8 %33 = load i64, ptr %7, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 store i8 0, ptr %34, align 1 %35 = load ptr, ptr %6, align 8 store ptr %35, ptr %3, align 8 br label %36 36: ; preds = %27, %26 %37 = load ptr, ptr %3, align 8 ret ptr %37 } declare i32 @assert(i32 noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzmp02mbe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_grat_trie_strndup(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) store i64 0, ptr %7, align 8 %12 = load i64, ptr %7, align 8 %13 = load i64, ptr %5, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %16 br label %16 16: ; preds = %15 %17 = load i64, ptr %7, align 8 %18 = add i64 %17, 1 store i64 %18, ptr %7, align 8 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %5, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = load i64, ptr %7, align 8 %24 = add i64 %23, 1 %25 = call i64 @malloc(i64 noundef %24) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %6, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %29, label %28 28: ; preds = %22 store ptr null, ptr %3, align 8 br label %38 29: ; preds = %22 %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %4, align 8 %32 = load i64, ptr %7, align 8 %33 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i64 noundef %32) %34 = load ptr, ptr %6, align 8 %35 = load i64, ptr %7, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %6, align 8 store ptr %37, ptr %3, align 8 br label %38 38: ; preds = %29, %28 %39 = load ptr, ptr %3, align 8 ret ptr %39 } declare i32 @assert(i32 noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpoaj8ohjq.c' source_filename = "/tmp/tmpoaj8ohjq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PyThread__exit_prog(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @do_PyThread_exit_prog(i32 noundef %3, i32 noundef 1) ret void } declare i32 @do_PyThread_exit_prog(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoaj8ohjq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PyThread__exit_prog(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @do_PyThread_exit_prog(i32 noundef %3, i32 noundef 1) ret void } declare i32 @do_PyThread_exit_prog(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy1z4mnmn.c' source_filename = "/tmp/tmpy1z4mnmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpeg3_ac3_check(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @a52_syncinfo(ptr noundef %6, ptr noundef %3, ptr noundef %4, ptr noundef %5) %8 = icmp ne i32 %7, 0 %9 = xor i1 %8, true %10 = zext i1 %9 to i32 ret i32 %10 } declare i32 @a52_syncinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy1z4mnmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpeg3_ac3_check(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @a52_syncinfo(ptr noundef %6, ptr noundef %3, ptr noundef %4, ptr noundef %5) %8 = icmp ne i32 %7, 0 %9 = xor i1 %8, true %10 = zext i1 %9 to i32 ret i32 %10 } declare i32 @a52_syncinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpylg2i9q4.c' source_filename = "/tmp/tmpylg2i9q4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @G(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 2, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %77, %3 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %80 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %28 20: ; preds = %13 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = call ptr @add(ptr noundef %21, i32 noundef %26) store ptr %27, ptr %4, align 8 br label %76 28: ; preds = %13 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %43 35: ; preds = %28 %36 = load ptr, ptr %4, align 8 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %8, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = call ptr @cycle(ptr noundef %36, i32 noundef %41) store ptr %42, ptr %4, align 8 br label %75 43: ; preds = %28 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp eq i32 %48, 2 br i1 %49, label %50, label %58 50: ; preds = %43 %51 = load ptr, ptr %4, align 8 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %8, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = call ptr @reverse(ptr noundef %51, i32 noundef %56) store ptr %57, ptr %4, align 8 br label %74 58: ; preds = %43 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %8, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 %64 = icmp eq i32 %63, 3 br i1 %64, label %65, label %73 65: ; preds = %58 %66 = load ptr, ptr %4, align 8 %67 = load ptr, ptr %6, align 8 %68 = load i32, ptr %8, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = load i32, ptr %70, align 4 %72 = call ptr @split(ptr noundef %66, i32 noundef %71) store ptr %72, ptr %4, align 8 br label %73 73: ; preds = %65, %58 br label %74 74: ; preds = %73, %50 br label %75 75: ; preds = %74, %35 br label %76 76: ; preds = %75, %20 br label %77 77: ; preds = %76 %78 = load i32, ptr %8, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %8, align 4 br label %9, !llvm.loop !6 80: ; preds = %9 %81 = load ptr, ptr %4, align 8 ret ptr %81 } declare ptr @add(ptr noundef, i32 noundef) #1 declare ptr @cycle(ptr noundef, i32 noundef) #1 declare ptr @reverse(ptr noundef, i32 noundef) #1 declare ptr @split(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/tmpylg2i9q4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @G(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 2, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %82 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %76 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %27 19: ; preds = %12 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call ptr @add(ptr noundef %20, i32 noundef %25) store ptr %26, ptr %4, align 8 br label %75 27: ; preds = %12 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = icmp eq i32 %32, 1 br i1 %33, label %34, label %42 34: ; preds = %27 %35 = load ptr, ptr %4, align 8 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = call ptr @cycle(ptr noundef %35, i32 noundef %40) store ptr %41, ptr %4, align 8 br label %74 42: ; preds = %27 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %8, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp eq i32 %47, 2 br i1 %48, label %49, label %57 49: ; preds = %42 %50 = load ptr, ptr %4, align 8 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call ptr @reverse(ptr noundef %50, i32 noundef %55) store ptr %56, ptr %4, align 8 br label %73 57: ; preds = %42 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %8, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = icmp eq i32 %62, 3 br i1 %63, label %64, label %72 64: ; preds = %57 %65 = load ptr, ptr %4, align 8 %66 = load ptr, ptr %6, align 8 %67 = load i32, ptr %8, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %66, i64 %68 %70 = load i32, ptr %69, align 4 %71 = call ptr @split(ptr noundef %65, i32 noundef %70) store ptr %71, ptr %4, align 8 br label %72 72: ; preds = %64, %57 br label %73 73: ; preds = %72, %49 br label %74 74: ; preds = %73, %34 br label %75 75: ; preds = %74, %19 br label %76 76: ; preds = %75 %77 = load i32, ptr %8, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %8, align 4 %79 = load i32, ptr %8, align 4 %80 = load i32, ptr %7, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %76 br label %82 82: ; preds = %._crit_edge, %3 %83 = load ptr, ptr %4, align 8 ret ptr %83 } declare ptr @add(ptr noundef, i32 noundef) #1 declare ptr @cycle(ptr noundef, i32 noundef) #1 declare ptr @reverse(ptr noundef, i32 noundef) #1 declare ptr @split(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/tmpbxy9zw_f.c' source_filename = "/tmp/tmpbxy9zw_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @delta_encode(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load i64, ptr %10, align 8 %16 = call i32 @_delta_encode_block(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14, i64 noundef %15, i32 noundef 64) ret i32 %16 } declare i32 @_delta_encode_block(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 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/tmpbxy9zw_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @delta_encode(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load i64, ptr %10, align 8 %16 = call i32 @_delta_encode_block(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14, i64 noundef %15, i32 noundef 64) ret i32 %16 } declare i32 @_delta_encode_block(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 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/tmpecp41jol.c' source_filename = "/tmp/tmpecp41jol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpecp41jol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfhpaex31.c' source_filename = "/tmp/tmpfhpaex31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsEnvVarTrue(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @GetEnvVar(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @atoi(ptr noundef %9) %11 = icmp ne i64 %10, 0 br label %12 12: ; preds = %8, %1 %13 = phi i1 [ false, %1 ], [ %11, %8 ] %14 = zext i1 %13 to i32 ret i32 %14 } declare ptr @GetEnvVar(ptr noundef) #1 declare i64 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfhpaex31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsEnvVarTrue(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @GetEnvVar(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @atoi(ptr noundef %9) %11 = icmp ne i64 %10, 0 br label %12 12: ; preds = %8, %1 %13 = phi i1 [ false, %1 ], [ %11, %8 ] %14 = zext i1 %13 to i32 ret i32 %14 } declare ptr @GetEnvVar(ptr noundef) #1 declare i64 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoj1mwu5t.c' source_filename = "/tmp/tmpoj1mwu5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Sum of Totients between [%ld..%ld] is %ld \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @sscanf(ptr noundef %12, ptr noundef @.str, ptr noundef %6) %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %7) store i64 0, ptr %9, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp eq i64 %18, 1 br i1 %19, label %20, label %21 20: ; preds = %2 store i64 1, ptr %9, align 8 store i64 2, ptr %6, align 8 br label %21 21: ; preds = %20, %2 %22 = load i64, ptr %6, align 8 %23 = trunc i64 %22 to i32 store i32 %23, ptr %8, align 4 br label %24 24: ; preds = %34, %21 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = load i64, ptr %7, align 8 %28 = icmp sle i64 %26, %27 br i1 %28, label %29, label %37 29: ; preds = %24 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = call i64 @getTotient(i32 noundef %31) %33 = add nsw i64 %30, %32 store i64 %33, ptr %9, align 8 br label %34 34: ; preds = %29 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %24, !llvm.loop !6 37: ; preds = %24 %38 = load i64, ptr %6, align 8 %39 = load i64, ptr %7, align 8 %40 = load i64, ptr %9, align 8 %41 = call i32 @printf(ptr noundef @.str.1, i64 noundef %38, i64 noundef %39, i64 noundef %40) ret i32 0 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @getTotient(i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoj1mwu5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Sum of Totients between [%ld..%ld] is %ld \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @sscanf(ptr noundef %12, ptr noundef @.str, ptr noundef %6) %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %7) store i64 0, ptr %9, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp eq i64 %18, 1 br i1 %19, label %20, label %21 20: ; preds = %2 store i64 1, ptr %9, align 8 store i64 2, ptr %6, align 8 br label %21 21: ; preds = %20, %2 %22 = load i64, ptr %6, align 8 %23 = trunc i64 %22 to i32 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = load i64, ptr %7, align 8 %27 = icmp sle i64 %25, %26 br i1 %27, label %.lr.ph, label %40 .lr.ph: ; preds = %21 br label %28 28: ; preds = %.lr.ph, %33 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = call i64 @getTotient(i32 noundef %30) %32 = add nsw i64 %29, %31 store i64 %32, ptr %9, align 8 br label %33 33: ; preds = %28 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = load i64, ptr %7, align 8 %39 = icmp sle i64 %37, %38 br i1 %39, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %40 40: ; preds = %._crit_edge, %21 %41 = load i64, ptr %6, align 8 %42 = load i64, ptr %7, align 8 %43 = load i64, ptr %9, align 8 %44 = call i32 @printf(ptr noundef @.str.1, i64 noundef %41, i64 noundef %42, i64 noundef %43) ret i32 0 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @getTotient(i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmputt3n5o9.c' source_filename = "/tmp/tmputt3n5o9.c" target datalayout = "e-m:e-p270: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.rpcent = type { ptr, ptr, i32 } @.str = private unnamed_addr constant [24 x i8] c"Usage: test-rpc <name>\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"RPC %s not found.\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Name : %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Alias : %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"Number : %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %53 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = call ptr @getrpcbyname(ptr noundef %17) store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %13 %22 = load ptr, ptr %6, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22) store i32 -1, ptr %3, align 4 br label %53 24: ; preds = %13 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds %struct.rpcent, ptr %25, i32 0, i32 0 %27 = load ptr, ptr %26, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27) %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds %struct.rpcent, ptr %29, i32 0, i32 1 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %8, align 8 br label %32 32: ; preds = %41, %24 %33 = load ptr, ptr %8, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %39 35: ; preds = %32 %36 = load ptr, ptr %8, align 8 %37 = load ptr, ptr %36, align 8 %38 = icmp ne ptr %37, null br label %39 39: ; preds = %35, %32 %40 = phi i1 [ false, %32 ], [ %38, %35 ] br i1 %40, label %41, label %47 41: ; preds = %39 %42 = load ptr, ptr %8, align 8 %43 = load ptr, ptr %42, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %43) %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds ptr, ptr %45, i32 1 store ptr %46, ptr %8, align 8 br label %32, !llvm.loop !6 47: ; preds = %39 %48 = load ptr, ptr %7, align 8 %49 = getelementptr inbounds %struct.rpcent, ptr %48, i32 0, i32 2 %50 = load i32, ptr %49, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %50) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %3, align 4 br label %53 53: ; preds = %47, %21, %11 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @getrpcbyname(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/tmputt3n5o9.c" target datalayout = "e-m:e-p270: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.rpcent = type { ptr, ptr, i32 } @.str = private unnamed_addr constant [24 x i8] c"Usage: test-rpc <name>\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"RPC %s not found.\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Name : %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Alias : %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"Number : %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %53 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = call ptr @getrpcbyname(ptr noundef %17) store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %13 %22 = load ptr, ptr %6, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22) store i32 -1, ptr %3, align 4 br label %53 24: ; preds = %13 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds %struct.rpcent, ptr %25, i32 0, i32 0 %27 = load ptr, ptr %26, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27) %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds %struct.rpcent, ptr %29, i32 0, i32 1 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %8, align 8 br label %32 32: ; preds = %41, %24 %33 = load ptr, ptr %8, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %39 35: ; preds = %32 %36 = load ptr, ptr %8, align 8 %37 = load ptr, ptr %36, align 8 %38 = icmp ne ptr %37, null br label %39 39: ; preds = %35, %32 %40 = phi i1 [ false, %32 ], [ %38, %35 ] br i1 %40, label %41, label %47 41: ; preds = %39 %42 = load ptr, ptr %8, align 8 %43 = load ptr, ptr %42, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %43) %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds ptr, ptr %45, i32 1 store ptr %46, ptr %8, align 8 br label %32, !llvm.loop !6 47: ; preds = %39 %48 = load ptr, ptr %7, align 8 %49 = getelementptr inbounds %struct.rpcent, ptr %48, i32 0, i32 2 %50 = load i32, ptr %49, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %50) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %3, align 4 br label %53 53: ; preds = %47, %21, %11 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @getrpcbyname(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/tmp6stas9x4.c' source_filename = "/tmp/tmp6stas9x4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"generic_asserts failed!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generic_asserts() #0 { %1 = call i32 (...) @is_zero_flag_set() %2 = icmp ne i32 %1, 0 br i1 %2, label %4, label %3 3: ; preds = %0 br label %4 4: ; preds = %3, %0 %5 = phi i1 [ false, %0 ], [ true, %3 ] %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = call i32 (...) @is_sign_flag_set() %9 = icmp ne i32 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %4 br label %11 11: ; preds = %10, %4 %12 = phi i1 [ false, %4 ], [ true, %10 ] %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = call i64 (...) @is_parity_flag_set() %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %11 br label %18 18: ; preds = %17, %11 %19 = phi i1 [ false, %11 ], [ true, %17 ] %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = call i32 (...) @is_carry_flag_set() %23 = icmp ne i32 %22, 0 br i1 %23, label %25, label %24 24: ; preds = %18 br label %25 25: ; preds = %24, %18 %26 = phi i1 [ false, %18 ], [ true, %24 ] %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = call i32 (...) @is_aux_carry_flag_set() %30 = icmp ne i32 %29, 0 br i1 %30, label %32, label %31 31: ; preds = %25 br label %32 32: ; preds = %31, %25 %33 = phi i1 [ false, %25 ], [ true, %31 ] %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) ret void } declare i32 @assert(i32 noundef) #1 declare i32 @is_zero_flag_set(...) #1 declare i32 @is_sign_flag_set(...) #1 declare i64 @is_parity_flag_set(...) #1 declare i32 @is_carry_flag_set(...) #1 declare i32 @is_aux_carry_flag_set(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6stas9x4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"generic_asserts failed!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generic_asserts() #0 { %1 = call i32 (...) @is_zero_flag_set() %2 = icmp ne i32 %1, 0 br i1 %2, label %4, label %3 3: ; preds = %0 br label %4 4: ; preds = %3, %0 %5 = phi i1 [ false, %0 ], [ true, %3 ] %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = call i32 (...) @is_sign_flag_set() %9 = icmp ne i32 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %4 br label %11 11: ; preds = %10, %4 %12 = phi i1 [ false, %4 ], [ true, %10 ] %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = call i64 (...) @is_parity_flag_set() %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %11 br label %18 18: ; preds = %17, %11 %19 = phi i1 [ false, %11 ], [ true, %17 ] %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = call i32 (...) @is_carry_flag_set() %23 = icmp ne i32 %22, 0 br i1 %23, label %25, label %24 24: ; preds = %18 br label %25 25: ; preds = %24, %18 %26 = phi i1 [ false, %18 ], [ true, %24 ] %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = call i32 (...) @is_aux_carry_flag_set() %30 = icmp ne i32 %29, 0 br i1 %30, label %32, label %31 31: ; preds = %25 br label %32 32: ; preds = %31, %25 %33 = phi i1 [ false, %25 ], [ true, %31 ] %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) ret void } declare i32 @assert(i32 noundef) #1 declare i32 @is_zero_flag_set(...) #1 declare i32 @is_sign_flag_set(...) #1 declare i64 @is_parity_flag_set(...) #1 declare i32 @is_carry_flag_set(...) #1 declare i32 @is_aux_carry_flag_set(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp975xv2p8.c' source_filename = "/tmp/tmp975xv2p8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"/.tweet/usersecret\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Write Error:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setUserSecret(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 @getenv(ptr noundef @.str) %5 = call i32 @strcat(i32 noundef %4, ptr noundef @.str.1) %6 = call ptr @fopen(i32 noundef %5, ptr noundef @.str.2) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str.3) br label %17 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @fputs(ptr noundef %12, ptr noundef %13) %15 = load ptr, ptr %3, align 8 %16 = call i32 @fclose(ptr noundef %15) br label %17 17: ; preds = %11, %9 ret void } declare ptr @fopen(i32 noundef, ptr noundef) #1 declare i32 @strcat(i32 noundef, ptr noundef) #1 declare i32 @getenv(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp975xv2p8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"/.tweet/usersecret\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Write Error:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setUserSecret(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 @getenv(ptr noundef @.str) %5 = call i32 @strcat(i32 noundef %4, ptr noundef @.str.1) %6 = call ptr @fopen(i32 noundef %5, ptr noundef @.str.2) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str.3) br label %17 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @fputs(ptr noundef %12, ptr noundef %13) %15 = load ptr, ptr %3, align 8 %16 = call i32 @fclose(ptr noundef %15) br label %17 17: ; preds = %11, %9 ret void } declare ptr @fopen(i32 noundef, ptr noundef) #1 declare i32 @strcat(i32 noundef, ptr noundef) #1 declare i32 @getenv(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdm7u1msj.c' source_filename = "/tmp/tmpdm7u1msj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"unk picstyle index: %x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_prop_picstyle_from_index(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %15 [ i32 1, label %5 i32 2, label %6 i32 3, label %7 i32 4, label %8 i32 5, label %9 i32 6, label %10 i32 7, label %11 i32 8, label %12 i32 9, label %13 i32 10, label %14 ] 5: ; preds = %1 store i32 135, ptr %2, align 4 br label %18 6: ; preds = %1 store i32 129, ptr %2, align 4 br label %18 7: ; preds = %1 store i32 130, ptr %2, align 4 br label %18 8: ; preds = %1 store i32 131, ptr %2, align 4 br label %18 9: ; preds = %1 store i32 132, ptr %2, align 4 br label %18 10: ; preds = %1 store i32 133, ptr %2, align 4 br label %18 11: ; preds = %1 store i32 134, ptr %2, align 4 br label %18 12: ; preds = %1 store i32 33, ptr %2, align 4 br label %18 13: ; preds = %1 store i32 34, ptr %2, align 4 br label %18 14: ; preds = %1 store i32 35, ptr %2, align 4 br label %18 15: ; preds = %1 %16 = load i32, ptr %3, align 4 %17 = call i32 @bmp_printf(i32 noundef 262144, i32 noundef 0, i32 noundef 0, ptr noundef @.str, i32 noundef %16) store i32 0, ptr %2, align 4 br label %18 18: ; preds = %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %19 = load i32, ptr %2, align 4 ret i32 %19 } declare i32 @bmp_printf(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdm7u1msj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"unk picstyle index: %x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_prop_picstyle_from_index(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %15 [ i32 1, label %5 i32 2, label %6 i32 3, label %7 i32 4, label %8 i32 5, label %9 i32 6, label %10 i32 7, label %11 i32 8, label %12 i32 9, label %13 i32 10, label %14 ] 5: ; preds = %1 store i32 135, ptr %2, align 4 br label %18 6: ; preds = %1 store i32 129, ptr %2, align 4 br label %18 7: ; preds = %1 store i32 130, ptr %2, align 4 br label %18 8: ; preds = %1 store i32 131, ptr %2, align 4 br label %18 9: ; preds = %1 store i32 132, ptr %2, align 4 br label %18 10: ; preds = %1 store i32 133, ptr %2, align 4 br label %18 11: ; preds = %1 store i32 134, ptr %2, align 4 br label %18 12: ; preds = %1 store i32 33, ptr %2, align 4 br label %18 13: ; preds = %1 store i32 34, ptr %2, align 4 br label %18 14: ; preds = %1 store i32 35, ptr %2, align 4 br label %18 15: ; preds = %1 %16 = load i32, ptr %3, align 4 %17 = call i32 @bmp_printf(i32 noundef 262144, i32 noundef 0, i32 noundef 0, ptr noundef @.str, i32 noundef %16) store i32 0, ptr %2, align 4 br label %18 18: ; preds = %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %19 = load i32, ptr %2, align 4 ret i32 %19 } declare i32 @bmp_printf(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp91mlnngn.c' source_filename = "/tmp/tmp91mlnngn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdout_print_strn(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = call i64 (...) @usb_vcp_is_enabled() %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = call i32 @usb_vcp_send_strn_cooked(ptr noundef %10, i32 noundef %11) br label %13 13: ; preds = %9, %3 ret void } declare i64 @usb_vcp_is_enabled(...) #1 declare i32 @usb_vcp_send_strn_cooked(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/tmp91mlnngn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdout_print_strn(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = call i64 (...) @usb_vcp_is_enabled() %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = call i32 @usb_vcp_send_strn_cooked(ptr noundef %10, i32 noundef %11) br label %13 13: ; preds = %9, %3 ret void } declare i64 @usb_vcp_is_enabled(...) #1 declare i32 @usb_vcp_send_strn_cooked(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/tmpwhc4o96g.c' source_filename = "/tmp/tmpwhc4o96g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_key_n_dec(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 br label %5 5: ; preds = %1, %32 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i8, ptr %6, i32 1 store ptr %7, ptr %2, align 8 %8 = load i8, ptr %6, align 1 %9 = sext i8 %8 to i32 %10 = call i64 @toupper(i32 noundef %9) store i64 %10, ptr %4, align 8 %11 = load i64, ptr %4, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %5 br label %33 14: ; preds = %5 %15 = load i64, ptr %4, align 8 %16 = icmp eq i64 %15, 59 br i1 %16, label %17, label %18 17: ; preds = %14 br label %33 18: ; preds = %14 %19 = load i64, ptr %4, align 8 %20 = call i64 @isdigit(i64 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %29 22: ; preds = %18 %23 = load i64, ptr %3, align 8 %24 = mul nsw i64 %23, 10 store i64 %24, ptr %3, align 8 %25 = load i64, ptr %4, align 8 %26 = sub nsw i64 %25, 48 %27 = load i64, ptr %3, align 8 %28 = add nsw i64 %27, %26 store i64 %28, ptr %3, align 8 br label %30 29: ; preds = %18 br label %33 30: ; preds = %22 br label %31 31: ; preds = %30 br label %32 32: ; preds = %31 br label %5 33: ; preds = %29, %17, %13 %34 = load i64, ptr %3, align 8 ret i64 %34 } declare i64 @toupper(i32 noundef) #1 declare i64 @isdigit(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/tmpwhc4o96g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_key_n_dec(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i32 1 store ptr %6, ptr %2, align 8 %7 = load i8, ptr %5, align 1 %8 = sext i8 %7 to i32 %9 = call i64 @toupper(i32 noundef %8) store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %.lr.ph .lr.ph: ; preds = %1 br label %13 ._crit_edge: ; preds = %31 br label %12 12: ; preds = %._crit_edge, %1 br label %39 13: ; preds = %.lr.ph, %31 %14 = load i64, ptr %4, align 8 %15 = icmp eq i64 %14, 59 br i1 %15, label %16, label %17 16: ; preds = %13 br label %39 17: ; preds = %13 %18 = load i64, ptr %4, align 8 %19 = call i64 @isdigit(i64 noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %28 21: ; preds = %17 %22 = load i64, ptr %3, align 8 %23 = mul nsw i64 %22, 10 store i64 %23, ptr %3, align 8 %24 = load i64, ptr %4, align 8 %25 = sub nsw i64 %24, 48 %26 = load i64, ptr %3, align 8 %27 = add nsw i64 %26, %25 store i64 %27, ptr %3, align 8 br label %29 28: ; preds = %17 br label %39 29: ; preds = %21 br label %30 30: ; preds = %29 br label %31 31: ; preds = %30 %32 = load ptr, ptr %2, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %2, align 8 %34 = load i8, ptr %32, align 1 %35 = sext i8 %34 to i32 %36 = call i64 @toupper(i32 noundef %35) store i64 %36, ptr %4, align 8 %37 = load i64, ptr %4, align 8 %38 = icmp eq i64 %37, 0 br i1 %38, label %._crit_edge, label %13 39: ; preds = %28, %16, %12 %40 = load i64, ptr %3, align 8 ret i64 %40 } declare i64 @toupper(i32 noundef) #1 declare i64 @isdigit(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/tmpf4atxymc.c' source_filename = "/tmp/tmpf4atxymc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x0d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x0d() #0 { %1 = call i64 @islower(i32 noundef 13) %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 70, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf4atxymc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x0d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x0d() #0 { %1 = call i64 @islower(i32 noundef 13) %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 70, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp53gi_msu.c' source_filename = "/tmp/tmp53gi_msu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tbl_layout(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = call i32 @row(ptr noundef %8, i32 noundef %9, ptr noundef %10, ptr noundef %7) ret i32 1 } declare i32 @row(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp53gi_msu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tbl_layout(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = call i32 @row(ptr noundef %8, i32 noundef %9, ptr noundef %10, ptr noundef %7) ret i32 1 } declare i32 @row(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd3pu8ik_.c' source_filename = "/tmp/tmpd3pu8ik_.c" target datalayout = "e-m:e-p270: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/tmpd3pu8ik_.c" target datalayout = "e-m:e-p270: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/tmp136p9vo2.c' source_filename = "/tmp/tmp136p9vo2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str2ustr(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %8, align 4 %12 = load i32, ptr %6, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %9, align 4 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %34, %3 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp slt i32 %19, %20 br label %22 22: ; preds = %18, %14 %23 = phi i1 [ false, %14 ], [ %21, %18 ] br i1 %23, label %24, label %37 24: ; preds = %22 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 %29, ptr %33, align 1 br label %34 34: ; preds = %24 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %14, !llvm.loop !6 37: ; preds = %22 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %5, align 8 ret ptr %42 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp136p9vo2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str2ustr(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %8, align 4 %12 = load i32, ptr %6, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %9, align 4 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %34, %3 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp slt i32 %19, %20 br label %22 22: ; preds = %18, %14 %23 = phi i1 [ false, %14 ], [ %21, %18 ] br i1 %23, label %24, label %37 24: ; preds = %22 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 %29, ptr %33, align 1 br label %34 34: ; preds = %24 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %14, !llvm.loop !6 37: ; preds = %22 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %5, align 8 ret ptr %42 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_hzaaew0.c' source_filename = "/tmp/tmp_hzaaew0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"Please enter a positive number to search (0 - 100): \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getInput() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %3 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %4 = load i32, ptr %1, align 4 ret i32 %4 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_hzaaew0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"Please enter a positive number to search (0 - 100): \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getInput() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %3 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %4 = load i32, ptr %1, align 4 ret i32 %4 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}