llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpr6ic_o2b.c' source_filename = "/tmp/tmpr6ic_o2b.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32, ptr } @.str = private unnamed_addr constant [6 x i8] c"12397\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Could not get address info\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Could not create socket\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [38 x i8] c"Could not set socket to reuse address\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Could not bind to socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_address(ptr noundef byval(%struct.addrinfo) align 8 %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = call i32 @getaddrinfo(ptr noundef null, ptr noundef @.str, ptr noundef %0, ptr noundef %3) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr %6, align 4 %13 = call i32 @show_network_error(ptr noundef @.str.1, i32 noundef %12) store i32 -1, ptr %2, align 4 br label %70 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %4, align 8 br label %16 16: ; preds = %58, %14 %17 = load ptr, ptr %4, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %62 19: ; preds = %16 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds %struct.addrinfo, ptr %20, i32 0, i32 4 %22 = load i32, ptr %21, align 8 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds %struct.addrinfo, ptr %23, i32 0, i32 3 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.addrinfo, ptr %26, i32 0, i32 2 %28 = load i32, ptr %27, align 8 %29 = call i32 @socket(i32 noundef %22, i32 noundef %25, i32 noundef %28) store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %34 32: ; preds = %19 %33 = call i32 @perror(ptr noundef @.str.2) br label %58 34: ; preds = %19 store i32 1, ptr %7, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr @SOL_SOCKET, align 4 %37 = load i32, ptr @SO_REUSEADDR, align 4 %38 = call i32 @setsockopt(i32 noundef %35, i32 noundef %36, i32 noundef %37, ptr noundef %7, i32 noundef 4) %39 = load i32, ptr %7, align 4 %40 = icmp ne i32 %39, 1 br i1 %40, label %41, label %43 41: ; preds = %34 %42 = call i32 @perror(ptr noundef @.str.3) br label %58 43: ; preds = %34 %44 = load i32, ptr %5, align 4 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds %struct.addrinfo, ptr %45, i32 0, i32 1 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds %struct.addrinfo, ptr %48, i32 0, i32 0 %50 = load i32, ptr %49, align 8 %51 = call i32 @bind(i32 noundef %44, i32 noundef %47, i32 noundef %50) %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %57 53: ; preds = %43 %54 = load i32, ptr %5, align 4 %55 = call i32 @close(i32 noundef %54) %56 = call i32 @perror(ptr noundef @.str.4) br label %58 57: ; preds = %43 br label %62 58: ; preds = %53, %41, %32 %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds %struct.addrinfo, ptr %59, i32 0, i32 5 %61 = load ptr, ptr %60, align 8 store ptr %61, ptr %4, align 8 br label %16, !llvm.loop !6 62: ; preds = %57, %16 %63 = load ptr, ptr %3, align 8 %64 = call i32 @freeaddrinfo(ptr noundef %63) %65 = load ptr, ptr %4, align 8 %66 = icmp eq ptr %65, null br i1 %66, label %67, label %68 67: ; preds = %62 store i32 -1, ptr %2, align 4 br label %70 68: ; preds = %62 %69 = load i32, ptr %5, align 4 store i32 %69, ptr %2, align 4 br label %70 70: ; preds = %68, %67, %11 %71 = load i32, ptr %2, align 4 ret i32 %71 } declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @show_network_error(ptr noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @freeaddrinfo(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/tmpr6ic_o2b.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32, ptr } @.str = private unnamed_addr constant [6 x i8] c"12397\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Could not get address info\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Could not create socket\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [38 x i8] c"Could not set socket to reuse address\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Could not bind to socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_address(ptr noundef byval(%struct.addrinfo) align 8 %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = call i32 @getaddrinfo(ptr noundef null, ptr noundef @.str, ptr noundef %0, ptr noundef %3) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr %6, align 4 %13 = call i32 @show_network_error(ptr noundef @.str.1, i32 noundef %12) store i32 -1, ptr %2, align 4 br label %71 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %57 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds %struct.addrinfo, ptr %19, i32 0, i32 4 %21 = load i32, ptr %20, align 8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds %struct.addrinfo, ptr %22, i32 0, i32 3 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds %struct.addrinfo, ptr %25, i32 0, i32 2 %27 = load i32, ptr %26, align 8 %28 = call i32 @socket(i32 noundef %21, i32 noundef %24, i32 noundef %27) store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %33 31: ; preds = %18 %32 = call i32 @perror(ptr noundef @.str.2) br label %57 33: ; preds = %18 store i32 1, ptr %7, align 4 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr @SOL_SOCKET, align 4 %36 = load i32, ptr @SO_REUSEADDR, align 4 %37 = call i32 @setsockopt(i32 noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef %7, i32 noundef 4) %38 = load i32, ptr %7, align 4 %39 = icmp ne i32 %38, 1 br i1 %39, label %40, label %42 40: ; preds = %33 %41 = call i32 @perror(ptr noundef @.str.3) br label %57 42: ; preds = %33 %43 = load i32, ptr %5, align 4 %44 = load ptr, ptr %4, align 8 %45 = getelementptr inbounds %struct.addrinfo, ptr %44, i32 0, i32 1 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %4, align 8 %48 = getelementptr inbounds %struct.addrinfo, ptr %47, i32 0, i32 0 %49 = load i32, ptr %48, align 8 %50 = call i32 @bind(i32 noundef %43, i32 noundef %46, i32 noundef %49) %51 = icmp eq i32 %50, -1 br i1 %51, label %52, label %56 52: ; preds = %42 %53 = load i32, ptr %5, align 4 %54 = call i32 @close(i32 noundef %53) %55 = call i32 @perror(ptr noundef @.str.4) br label %57 56: ; preds = %42 br label %63 57: ; preds = %52, %40, %31 %58 = load ptr, ptr %4, align 8 %59 = getelementptr inbounds %struct.addrinfo, ptr %58, i32 0, i32 5 %60 = load ptr, ptr %59, align 8 store ptr %60, ptr %4, align 8 %61 = load ptr, ptr %4, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %18, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %57 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %14 br label %63 63: ; preds = %.loopexit, %56 %64 = load ptr, ptr %3, align 8 %65 = call i32 @freeaddrinfo(ptr noundef %64) %66 = load ptr, ptr %4, align 8 %67 = icmp eq ptr %66, null br i1 %67, label %68, label %69 68: ; preds = %63 store i32 -1, ptr %2, align 4 br label %71 69: ; preds = %63 %70 = load i32, ptr %5, align 4 store i32 %70, ptr %2, align 4 br label %71 71: ; preds = %69, %68, %11 %72 = load i32, ptr %2, align 4 ret i32 %72 } declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @show_network_error(ptr noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @freeaddrinfo(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/tmp7w3jtc_1.c' source_filename = "/tmp/tmp7w3jtc_1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Couldn't create a fork\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Soy el hijo\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Soy el padre\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @fork() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = call i32 @perror(ptr noundef @.str) %12 = call i32 @exit(i32 noundef -1) #3 unreachable 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = call i32 (...) @bigFor() %18 = call i32 @printf(ptr noundef @.str.1) br label %23 19: ; preds = %13 %20 = call i32 @sleep(i32 noundef 10) %21 = call i32 (...) @bigFor() %22 = call i32 @printf(ptr noundef @.str.2) br label %23 23: ; preds = %19, %16 ret i32 0 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bigFor(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7w3jtc_1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Couldn't create a fork\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Soy el hijo\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Soy el padre\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @fork() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = call i32 @perror(ptr noundef @.str) %12 = call i32 @exit(i32 noundef -1) #3 unreachable 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = call i32 (...) @bigFor() %18 = call i32 @printf(ptr noundef @.str.1) br label %23 19: ; preds = %13 %20 = call i32 @sleep(i32 noundef 10) %21 = call i32 (...) @bigFor() %22 = call i32 @printf(ptr noundef @.str.2) br label %23 23: ; preds = %19, %16 ret i32 0 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bigFor(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9msy8bxq.c' source_filename = "/tmp/tmp9msy8bxq.c" target datalayout = "e-m:e-p270: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/tmp9msy8bxq.c" target datalayout = "e-m:e-p270: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/tmp9grki9h1.c' source_filename = "/tmp/tmp9grki9h1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"*NULL=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ex_segfault() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 store ptr null, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = load i32, ptr %3, align 4 store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) 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/tmp9grki9h1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"*NULL=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ex_segfault() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 store ptr null, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = load i32, ptr %3, align 4 store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) 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/tmpckhaqbkn.c' source_filename = "/tmp/tmpckhaqbkn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fconf_istoken_numsign(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @fconf_istoken(i8 noundef signext %3, i8 noundef signext 35) ret i32 %4 } declare i32 @fconf_istoken(i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpckhaqbkn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fconf_istoken_numsign(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @fconf_istoken(i8 noundef signext %3, i8 noundef signext 35) ret i32 %4 } declare i32 @fconf_istoken(i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf8ev8mhk.c' source_filename = "/tmp/tmpf8ev8mhk.c" target datalayout = "e-m:e-p270:32:32-p271: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 ptr @test3(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %3 3: ; preds = %1, %3 %4 = call i32 (...) @foo_test_3() br label %3 } declare i32 @foo_test_3(...) #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/tmpf8ev8mhk.c" target datalayout = "e-m:e-p270:32:32-p271: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 ptr @test3(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %3 3: ; preds = %3, %1 %4 = call i32 (...) @foo_test_3() br label %3 } declare i32 @foo_test_3(...) #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/tmp2bpcildr.c' source_filename = "/tmp/tmp2bpcildr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"st %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @answer_st(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 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3) %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %13 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = call i32 @config_alarm(i32 noundef %11) br label %13 13: ; preds = %10, %7, %1 ret void } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @config_alarm(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/tmp2bpcildr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"st %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @answer_st(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 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3) %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %13 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = call i32 @config_alarm(i32 noundef %11) br label %13 13: ; preds = %10, %7, %1 ret void } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @config_alarm(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/tmpf5lw_qnl.c' source_filename = "/tmp/tmpf5lw_qnl.c" target datalayout = "e-m:e-p270: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"%3d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @disp_image(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 i8, align 1 %10 = alloca [8 x i8], align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %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 = %48, %3 %14 = load i32, ptr %7, align 4 %15 = icmp sge i32 %14, 0 br i1 %15, label %16, label %51 16: ; preds = %13 store i32 0, ptr %8, align 4 br label %17 17: ; preds = %43, %16 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %46 21: ; preds = %17 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = mul nsw i32 %23, %24 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %22, i64 %28 %30 = load i8, ptr %29, align 1 store i8 %30, ptr %9, align 1 %31 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %32 = load i8, ptr %9, align 1 %33 = call i32 @sprintf(ptr noundef %31, ptr noundef @.str, i8 noundef zeroext %32) %34 = load i32, ptr %8, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %21 %37 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %37) br label %42 39: ; preds = %21 %40 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %40) br label %42 42: ; preds = %39, %36 br label %43 43: ; preds = %42 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %8, align 4 br label %17, !llvm.loop !6 46: ; preds = %17 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %48 48: ; preds = %46 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, -1 store i32 %50, ptr %7, align 4 br label %13, !llvm.loop !8 51: ; preds = %13 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf5lw_qnl.c" target datalayout = "e-m:e-p270: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"%3d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @disp_image(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 i8, align 1 %10 = alloca [8 x i8], align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %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 %54 .lr.ph2: ; preds = %3 br label %15 15: ; preds = %.lr.ph2, %49 store i32 0, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %47 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %41 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %6, align 4 %23 = mul nsw i32 %21, %22 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %23, %24 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %20, i64 %26 %28 = load i8, ptr %27, align 1 store i8 %28, ptr %9, align 1 %29 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %30 = load i8, ptr %9, align 1 %31 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str, i8 noundef zeroext %30) %32 = load i32, ptr %8, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %19 %35 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %35) br label %40 37: ; preds = %19 %38 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %38) br label %40 40: ; preds = %37, %34 br label %41 41: ; preds = %40 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %6, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %15 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %49 49: ; preds = %47 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp sge i32 %52, 0 br i1 %53, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %54 54: ; preds = %._crit_edge3, %3 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpw6zif0vg.c' source_filename = "/tmp/tmpw6zif0vg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAI_SYSTEM = dso_local constant i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%s: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ai_err(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @EAI_SYSTEM, align 4 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %6, align 8 %13 = call i32 @err(i32 noundef %11, ptr noundef @.str, ptr noundef %12) br label %20 14: ; preds = %3 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %4, align 4 %18 = call i32 @gai_strerror(i32 noundef %17) %19 = call i32 @errx(i32 noundef %15, ptr noundef @.str.1, ptr noundef %16, i32 noundef %18) br label %20 20: ; preds = %14, %10 ret void } declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @errx(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @gai_strerror(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/tmpw6zif0vg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAI_SYSTEM = dso_local constant i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%s: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ai_err(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @EAI_SYSTEM, align 4 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %6, align 8 %13 = call i32 @err(i32 noundef %11, ptr noundef @.str, ptr noundef %12) br label %20 14: ; preds = %3 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %4, align 4 %18 = call i32 @gai_strerror(i32 noundef %17) %19 = call i32 @errx(i32 noundef %15, ptr noundef @.str.1, ptr noundef %16, i32 noundef %18) br label %20 20: ; preds = %14, %10 ret void } declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @errx(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @gai_strerror(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/tmpxcto7o5p.c' source_filename = "/tmp/tmpxcto7o5p.c" target datalayout = "e-m:e-p270: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/tmpxcto7o5p.c" target datalayout = "e-m:e-p270: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/tmp0es39uop.c' source_filename = "/tmp/tmp0es39uop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpeg2_detect_accel() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @arch_accel() %3 = load i32, ptr %1, align 4 %4 = or i32 %3, %2 store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @arch_accel(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0es39uop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpeg2_detect_accel() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @arch_accel() %3 = load i32, ptr %1, align 4 %4 = or i32 %3, %2 store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @arch_accel(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk89u5aej.c' source_filename = "/tmp/tmpk89u5aej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @basic_test() ret i32 0 } declare i32 @basic_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/tmpk89u5aej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @basic_test() ret i32 0 } declare i32 @basic_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/tmpbgk9ih82.c' source_filename = "/tmp/tmpbgk9ih82.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @row(ptr noundef %0, i8 noundef signext %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i8 %1, ptr %7, align 1 store i8 %2, ptr %8, align 1 store i8 %3, ptr %9, align 1 store i8 %4, ptr %10, align 1 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %18, %5 %13 = load i32, ptr %11, align 4 %14 = icmp slt i32 %13, 7 br i1 %14, label %15, label %21 15: ; preds = %12 %16 = load ptr, ptr %6, align 8 %17 = call i32 @fputc(i8 noundef signext 0, ptr noundef %16) br label %18 18: ; preds = %15 %19 = load i32, ptr %11, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %11, align 4 br label %12, !llvm.loop !6 21: ; preds = %12 %22 = load i8, ptr %7, align 1 %23 = load ptr, ptr %6, align 8 %24 = call i32 @fputc(i8 noundef signext %22, ptr noundef %23) store i32 0, ptr %11, align 4 br label %25 25: ; preds = %31, %21 %26 = load i32, ptr %11, align 4 %27 = icmp slt i32 %26, 3 br i1 %27, label %28, label %34 28: ; preds = %25 %29 = load ptr, ptr %6, align 8 %30 = call i32 @fputc(i8 noundef signext 0, ptr noundef %29) br label %31 31: ; preds = %28 %32 = load i32, ptr %11, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %11, align 4 br label %25, !llvm.loop !8 34: ; preds = %25 %35 = load i8, ptr %8, align 1 %36 = load ptr, ptr %6, align 8 %37 = call i32 @fputc(i8 noundef signext %35, ptr noundef %36) %38 = load ptr, ptr %6, align 8 %39 = call i32 @fputc(i8 noundef signext 0, ptr noundef %38) %40 = load i8, ptr %9, align 1 %41 = load ptr, ptr %6, align 8 %42 = call i32 @fputc(i8 noundef signext %40, ptr noundef %41) %43 = load i8, ptr %10, align 1 %44 = load ptr, ptr %6, align 8 %45 = call i32 @fputc(i8 noundef signext %43, ptr noundef %44) %46 = load ptr, ptr %6, align 8 %47 = call i32 @fputc(i8 noundef signext 0, ptr noundef %46) ret void } declare i32 @fputc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbgk9ih82.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @row(ptr noundef %0, i8 noundef signext %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i8 %1, ptr %7, align 1 store i8 %2, ptr %8, align 1 store i8 %3, ptr %9, align 1 store i8 %4, ptr %10, align 1 store i32 0, ptr %11, align 4 %12 = load i32, ptr %11, align 4 %13 = icmp slt i32 %12, 7 br i1 %13, label %.lr.ph, label %22 .lr.ph: ; preds = %5 br label %14 14: ; preds = %.lr.ph, %17 %15 = load ptr, ptr %6, align 8 %16 = call i32 @fputc(i8 noundef signext 0, ptr noundef %15) br label %17 17: ; preds = %14 %18 = load i32, ptr %11, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %11, align 4 %20 = load i32, ptr %11, align 4 %21 = icmp slt i32 %20, 7 br i1 %21, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %5 %23 = load i8, ptr %7, align 1 %24 = load ptr, ptr %6, align 8 %25 = call i32 @fputc(i8 noundef signext %23, ptr noundef %24) store i32 0, ptr %11, align 4 %26 = load i32, ptr %11, align 4 %27 = icmp slt i32 %26, 3 br i1 %27, label %.lr.ph2, label %36 .lr.ph2: ; preds = %22 br label %28 28: ; preds = %.lr.ph2, %31 %29 = load ptr, ptr %6, align 8 %30 = call i32 @fputc(i8 noundef signext 0, ptr noundef %29) br label %31 31: ; preds = %28 %32 = load i32, ptr %11, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %11, align 4 %34 = load i32, ptr %11, align 4 %35 = icmp slt i32 %34, 3 br i1 %35, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %36 36: ; preds = %._crit_edge3, %22 %37 = load i8, ptr %8, align 1 %38 = load ptr, ptr %6, align 8 %39 = call i32 @fputc(i8 noundef signext %37, ptr noundef %38) %40 = load ptr, ptr %6, align 8 %41 = call i32 @fputc(i8 noundef signext 0, ptr noundef %40) %42 = load i8, ptr %9, align 1 %43 = load ptr, ptr %6, align 8 %44 = call i32 @fputc(i8 noundef signext %42, ptr noundef %43) %45 = load i8, ptr %10, align 1 %46 = load ptr, ptr %6, align 8 %47 = call i32 @fputc(i8 noundef signext %45, ptr noundef %46) %48 = load ptr, ptr %6, align 8 %49 = call i32 @fputc(i8 noundef signext 0, ptr noundef %48) ret void } declare i32 @fputc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp35xfmdo9.c' source_filename = "/tmp/tmp35xfmdo9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inqSpeakUtt() #0 { %1 = call i32 (...) @send_talked_phonemes() ret void } declare i32 @send_talked_phonemes(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp35xfmdo9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inqSpeakUtt() #0 { %1 = call i32 (...) @send_talked_phonemes() ret void } declare i32 @send_talked_phonemes(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvva3z7ct.c' source_filename = "/tmp/tmpvva3z7ct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WriteDWORDLE(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = load i64, ptr %4, align 8 %10 = and i64 %9, 255 %11 = load ptr, ptr %3, align 8 %12 = call i32 @fputc_err(i64 noundef %10, ptr noundef %11) %13 = load i64, ptr %4, align 8 %14 = lshr i64 %13, 8 store i64 %14, ptr %4, align 8 %15 = load i64, ptr %4, align 8 %16 = and i64 %15, 255 %17 = load ptr, ptr %3, align 8 %18 = call i32 @fputc_err(i64 noundef %16, ptr noundef %17) %19 = load i64, ptr %4, align 8 %20 = lshr i64 %19, 8 store i64 %20, ptr %4, align 8 %21 = load i64, ptr %4, align 8 %22 = and i64 %21, 255 %23 = load ptr, ptr %3, align 8 %24 = call i32 @fputc_err(i64 noundef %22, ptr noundef %23) %25 = load i64, ptr %4, align 8 %26 = lshr i64 %25, 8 store i64 %26, ptr %4, align 8 %27 = load i64, ptr %4, align 8 %28 = and i64 %27, 255 %29 = load ptr, ptr %3, align 8 %30 = call i32 @fputc_err(i64 noundef %28, ptr noundef %29) ret void } declare i32 @assert(i32 noundef) #1 declare i32 @fputc_err(i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvva3z7ct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WriteDWORDLE(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = load i64, ptr %4, align 8 %10 = and i64 %9, 255 %11 = load ptr, ptr %3, align 8 %12 = call i32 @fputc_err(i64 noundef %10, ptr noundef %11) %13 = load i64, ptr %4, align 8 %14 = lshr i64 %13, 8 store i64 %14, ptr %4, align 8 %15 = load i64, ptr %4, align 8 %16 = and i64 %15, 255 %17 = load ptr, ptr %3, align 8 %18 = call i32 @fputc_err(i64 noundef %16, ptr noundef %17) %19 = load i64, ptr %4, align 8 %20 = lshr i64 %19, 8 store i64 %20, ptr %4, align 8 %21 = load i64, ptr %4, align 8 %22 = and i64 %21, 255 %23 = load ptr, ptr %3, align 8 %24 = call i32 @fputc_err(i64 noundef %22, ptr noundef %23) %25 = load i64, ptr %4, align 8 %26 = lshr i64 %25, 8 store i64 %26, ptr %4, align 8 %27 = load i64, ptr %4, align 8 %28 = and i64 %27, 255 %29 = load ptr, ptr %3, align 8 %30 = call i32 @fputc_err(i64 noundef %28, ptr noundef %29) ret void } declare i32 @assert(i32 noundef) #1 declare i32 @fputc_err(i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6ge3re0n.c' source_filename = "/tmp/tmp6ge3re0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fmod(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %8 = load double, ptr %5, align 8 %9 = fcmp oeq double %8, 0.000000e+00 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load double, ptr %4, align 8 %12 = fcmp oeq double %11, 0.000000e+00 br i1 %12, label %13, label %15 13: ; preds = %10, %2 %14 = load double, ptr %4, align 8 store double %14, ptr %3, align 8 br label %72 15: ; preds = %10 %16 = load double, ptr %5, align 8 %17 = fcmp olt double %16, 0.000000e+00 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load double, ptr %5, align 8 %20 = fneg double %19 store double %20, ptr %5, align 8 br label %21 21: ; preds = %18, %15 %22 = load double, ptr %4, align 8 %23 = load double, ptr %5, align 8 %24 = fdiv double %22, %23 %25 = call double @modf(double noundef %24, ptr noundef %6) #3 store double %25, ptr %7, align 8 %26 = load double, ptr %4, align 8 %27 = load double, ptr %6, align 8 %28 = load double, ptr %5, align 8 %29 = fneg double %27 %30 = call double @llvm.fmuladd.f64(double %29, double %28, double %26) store double %30, ptr %7, align 8 %31 = load double, ptr %4, align 8 %32 = fcmp ogt double %31, 0.000000e+00 br i1 %32, label %33, label %51 33: ; preds = %21 br label %34 34: ; preds = %38, %33 %35 = load double, ptr %7, align 8 %36 = load double, ptr %5, align 8 %37 = fcmp oge double %35, %36 br i1 %37, label %38, label %42 38: ; preds = %34 %39 = load double, ptr %5, align 8 %40 = load double, ptr %7, align 8 %41 = fsub double %40, %39 store double %41, ptr %7, align 8 br label %34, !llvm.loop !6 42: ; preds = %34 br label %43 43: ; preds = %46, %42 %44 = load double, ptr %7, align 8 %45 = fcmp olt double %44, 0.000000e+00 br i1 %45, label %46, label %50 46: ; preds = %43 %47 = load double, ptr %5, align 8 %48 = load double, ptr %7, align 8 %49 = fadd double %48, %47 store double %49, ptr %7, align 8 br label %43, !llvm.loop !8 50: ; preds = %43 br label %70 51: ; preds = %21 br label %52 52: ; preds = %57, %51 %53 = load double, ptr %7, align 8 %54 = load double, ptr %5, align 8 %55 = fneg double %54 %56 = fcmp ole double %53, %55 br i1 %56, label %57, label %61 57: ; preds = %52 %58 = load double, ptr %5, align 8 %59 = load double, ptr %7, align 8 %60 = fadd double %59, %58 store double %60, ptr %7, align 8 br label %52, !llvm.loop !9 61: ; preds = %52 br label %62 62: ; preds = %65, %61 %63 = load double, ptr %7, align 8 %64 = fcmp ogt double %63, 0.000000e+00 br i1 %64, label %65, label %69 65: ; preds = %62 %66 = load double, ptr %5, align 8 %67 = load double, ptr %7, align 8 %68 = fsub double %67, %66 store double %68, ptr %7, align 8 br label %62, !llvm.loop !10 69: ; preds = %62 br label %70 70: ; preds = %69, %50 %71 = load double, ptr %7, align 8 store double %71, ptr %3, align 8 br label %72 72: ; preds = %70, %13 %73 = load double, ptr %3, align 8 ret double %73 } ; Function Attrs: nounwind declare double @modf(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ge3re0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fmod(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %8 = load double, ptr %5, align 8 %9 = fcmp oeq double %8, 0.000000e+00 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load double, ptr %4, align 8 %12 = fcmp oeq double %11, 0.000000e+00 br i1 %12, label %13, label %15 13: ; preds = %10, %2 %14 = load double, ptr %4, align 8 store double %14, ptr %3, align 8 br label %79 15: ; preds = %10 %16 = load double, ptr %5, align 8 %17 = fcmp olt double %16, 0.000000e+00 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load double, ptr %5, align 8 %20 = fneg double %19 store double %20, ptr %5, align 8 br label %21 21: ; preds = %18, %15 %22 = load double, ptr %4, align 8 %23 = load double, ptr %5, align 8 %24 = fdiv double %22, %23 %25 = call double @modf(double noundef %24, ptr noundef %6) #3 store double %25, ptr %7, align 8 %26 = load double, ptr %4, align 8 %27 = load double, ptr %6, align 8 %28 = load double, ptr %5, align 8 %29 = fneg double %27 %30 = call double @llvm.fmuladd.f64(double %29, double %28, double %26) store double %30, ptr %7, align 8 %31 = load double, ptr %4, align 8 %32 = fcmp ogt double %31, 0.000000e+00 br i1 %32, label %33, label %54 33: ; preds = %21 %34 = load double, ptr %7, align 8 %35 = load double, ptr %5, align 8 %36 = fcmp oge double %34, %35 br i1 %36, label %.lr.ph5, label %44 .lr.ph5: ; preds = %33 br label %37 37: ; preds = %.lr.ph5, %37 %38 = load double, ptr %5, align 8 %39 = load double, ptr %7, align 8 %40 = fsub double %39, %38 store double %40, ptr %7, align 8 %41 = load double, ptr %7, align 8 %42 = load double, ptr %5, align 8 %43 = fcmp oge double %41, %42 br i1 %43, label %37, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %37 br label %44 44: ; preds = %._crit_edge6, %33 %45 = load double, ptr %7, align 8 %46 = fcmp olt double %45, 0.000000e+00 br i1 %46, label %.lr.ph8, label %53 .lr.ph8: ; preds = %44 br label %47 47: ; preds = %.lr.ph8, %47 %48 = load double, ptr %5, align 8 %49 = load double, ptr %7, align 8 %50 = fadd double %49, %48 store double %50, ptr %7, align 8 %51 = load double, ptr %7, align 8 %52 = fcmp olt double %51, 0.000000e+00 br i1 %52, label %47, label %._crit_edge9, !llvm.loop !8 ._crit_edge9: ; preds = %47 br label %53 53: ; preds = %._crit_edge9, %44 br label %77 54: ; preds = %21 %55 = load double, ptr %7, align 8 %56 = load double, ptr %5, align 8 %57 = fneg double %56 %58 = fcmp ole double %55, %57 br i1 %58, label %.lr.ph, label %67 .lr.ph: ; preds = %54 br label %59 59: ; preds = %.lr.ph, %59 %60 = load double, ptr %5, align 8 %61 = load double, ptr %7, align 8 %62 = fadd double %61, %60 store double %62, ptr %7, align 8 %63 = load double, ptr %7, align 8 %64 = load double, ptr %5, align 8 %65 = fneg double %64 %66 = fcmp ole double %63, %65 br i1 %66, label %59, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %59 br label %67 67: ; preds = %._crit_edge, %54 %68 = load double, ptr %7, align 8 %69 = fcmp ogt double %68, 0.000000e+00 br i1 %69, label %.lr.ph2, label %76 .lr.ph2: ; preds = %67 br label %70 70: ; preds = %.lr.ph2, %70 %71 = load double, ptr %5, align 8 %72 = load double, ptr %7, align 8 %73 = fsub double %72, %71 store double %73, ptr %7, align 8 %74 = load double, ptr %7, align 8 %75 = fcmp ogt double %74, 0.000000e+00 br i1 %75, label %70, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %70 br label %76 76: ; preds = %._crit_edge3, %67 br label %77 77: ; preds = %76, %53 %78 = load double, ptr %7, align 8 store double %78, ptr %3, align 8 br label %79 79: ; preds = %77, %13 %80 = load double, ptr %3, align 8 ret double %80 } ; Function Attrs: nounwind declare double @modf(double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp6owml212.c' source_filename = "/tmp/tmp6owml212.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Usage: %s url_to_download\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"http://\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"Invalid URL\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"URL too long\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Invalid IP specified\0A\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"inet_pton: Error reading IP from %s\0A\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"GET %s HTTP/1.0\0D\0A\0D\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"write\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"fdopen\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.13 = private unnamed_addr constant [4 x i8] c"200\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca [1024 x i8], align 16 %16 = alloca i32, align 4 %17 = alloca [65536 x i8], align 16 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i32, align 4 %22 = alloca i64, align 8 %23 = alloca ptr, align 8 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = 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 %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %28, 2 br i1 %29, label %30, label %36 30: ; preds = %2 %31 = load i32, ptr @stderr, align 4 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 0 %34 = load ptr, ptr %33, align 8 %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str, ptr noundef %34) store i32 127, ptr %3, align 4 br label %213 36: ; preds = %2 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 store ptr %39, ptr %6, align 8 store ptr @.str.1, ptr %7, align 8 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %6, align 8 %42 = load ptr, ptr %7, align 8 %43 = call i32 @strlen(ptr noundef %42) %44 = call i64 @strncmp(ptr noundef %40, ptr noundef %41, i32 noundef %43) %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %52 46: ; preds = %36 %47 = load ptr, ptr %7, align 8 %48 = call i32 @strlen(ptr noundef %47) %49 = load ptr, ptr %6, align 8 %50 = sext i32 %48 to i64 %51 = getelementptr inbounds i8, ptr %49, i64 %50 store ptr %51, ptr %6, align 8 br label %52 52: ; preds = %46, %36 %53 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 12) %54 = load i32, ptr @AF_INET, align 4 %55 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %54, ptr %55, align 4 %56 = load ptr, ptr %6, align 8 %57 = call ptr @strchr(ptr noundef %56, i8 noundef signext 47) store ptr %57, ptr %9, align 8 %58 = load ptr, ptr %9, align 8 %59 = icmp eq ptr %58, null br i1 %59, label %60, label %63 60: ; preds = %52 %61 = load i32, ptr @stderr, align 4 %62 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.2) store i32 127, ptr %3, align 4 br label %213 63: ; preds = %52 %64 = load ptr, ptr %9, align 8 %65 = call i32 @strlen(ptr noundef %64) %66 = icmp sgt i32 %65, 32768 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = load i32, ptr @stderr, align 4 %69 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.3) store i32 127, ptr %3, align 4 br label %213 70: ; preds = %63 %71 = load ptr, ptr %9, align 8 store ptr %71, ptr %10, align 8 %72 = load ptr, ptr %6, align 8 %73 = call ptr @strchr(ptr noundef %72, i8 noundef signext 58) store ptr %73, ptr %11, align 8 store i32 80, ptr %12, align 4 %74 = load ptr, ptr %11, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %76, label %91 76: ; preds = %70 %77 = load ptr, ptr %11, align 8 %78 = load ptr, ptr %9, align 8 %79 = icmp ult ptr %77, %78 br i1 %79, label %80, label %91 80: ; preds = %76 %81 = load ptr, ptr %11, align 8 %82 = call i32 @strtol(ptr noundef %81, ptr noundef %13, i32 noundef 10) store i32 %82, ptr %12, align 4 %83 = load ptr, ptr %13, align 8 %84 = load ptr, ptr %9, align 8 %85 = icmp ne ptr %83, %84 br i1 %85, label %86, label %89 86: ; preds = %80 %87 = load i32, ptr @stderr, align 4 %88 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.2) store i32 127, ptr %3, align 4 br label %213 89: ; preds = %80 %90 = load ptr, ptr %11, align 8 store ptr %90, ptr %10, align 8 br label %91 91: ; preds = %89, %76, %70 %92 = load i32, ptr %12, align 4 %93 = call i32 @htons(i32 noundef %92) %94 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %93, ptr %94, align 4 %95 = load ptr, ptr %10, align 8 %96 = load ptr, ptr %6, align 8 %97 = ptrtoint ptr %95 to i64 %98 = ptrtoint ptr %96 to i64 %99 = sub i64 %97, %98 %100 = trunc i64 %99 to i32 store i32 %100, ptr %14, align 4 %101 = load i32, ptr %14, align 4 %102 = icmp sge i32 %101, 1023 br i1 %102, label %103, label %106 103: ; preds = %91 %104 = load i32, ptr @stderr, align 4 %105 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %104, ptr noundef @.str.4) store i32 127, ptr %3, align 4 br label %213 106: ; preds = %91 %107 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %108 = load ptr, ptr %6, align 8 %109 = load i32, ptr %14, align 4 %110 = call i32 @strncpy(ptr noundef %107, ptr noundef %108, i32 noundef %109) %111 = load i32, ptr %14, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 %112 store i8 0, ptr %113, align 1 %114 = load i32, ptr @AF_INET, align 4 %115 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %116 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %117 = call i64 @inet_pton(i32 noundef %114, ptr noundef %115, ptr noundef %116) %118 = icmp eq i64 %117, 0 br i1 %118, label %119, label %123 119: ; preds = %106 %120 = load i32, ptr @stderr, align 4 %121 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %120, ptr noundef @.str.5, ptr noundef %121) store i32 127, ptr %3, align 4 br label %213 123: ; preds = %106 %124 = load i32, ptr @AF_INET, align 4 %125 = load i32, ptr @SOCK_STREAM, align 4 %126 = call i32 @socket(i32 noundef %124, i32 noundef %125, i32 noundef 0) store i32 %126, ptr %16, align 4 %127 = load i32, ptr %16, align 4 %128 = icmp eq i32 %127, -1 br i1 %128, label %129, label %131 129: ; preds = %123 %130 = call i32 @perror(ptr noundef @.str.6) store i32 126, ptr %3, align 4 br label %213 131: ; preds = %123 %132 = load i32, ptr %16, align 4 %133 = call i32 @connect(i32 noundef %132, ptr noundef %8, i32 noundef 12) %134 = icmp eq i32 %133, -1 br i1 %134, label %135, label %137 135: ; preds = %131 %136 = call i32 @perror(ptr noundef @.str.7) store i32 126, ptr %3, align 4 br label %213 137: ; preds = %131 call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 65536, i1 false) %138 = getelementptr inbounds [65536 x i8], ptr %17, i64 0, i64 0 %139 = load ptr, ptr %9, align 8 %140 = call i32 @snprintf(ptr noundef %138, i32 noundef 65536, ptr noundef @.str.8, ptr noundef %139) store i64 0, ptr %18, align 8 %141 = getelementptr inbounds [65536 x i8], ptr %17, i64 0, i64 0 %142 = call i32 @strlen(ptr noundef %141) %143 = sext i32 %142 to i64 store i64 %143, ptr %19, align 8 br label %144 144: ; preds = %161, %137 %145 = load i32, ptr %16, align 4 %146 = getelementptr inbounds [65536 x i8], ptr %17, i64 0, i64 0 %147 = load i64, ptr %18, align 8 %148 = getelementptr inbounds i8, ptr %146, i64 %147 %149 = load i64, ptr %19, align 8 %150 = load i64, ptr %18, align 8 %151 = sub nsw i64 %149, %150 %152 = call i64 @write(i32 noundef %145, ptr noundef %148, i64 noundef %151) store i64 %152, ptr %20, align 8 %153 = load i64, ptr %20, align 8 %154 = icmp eq i64 %153, -1 br i1 %154, label %155, label %157 155: ; preds = %144 %156 = call i32 @perror(ptr noundef @.str.9) store i32 126, ptr %3, align 4 br label %213 157: ; preds = %144 %158 = load i64, ptr %20, align 8 %159 = load i64, ptr %18, align 8 %160 = add nsw i64 %159, %158 store i64 %160, ptr %18, align 8 br label %161 161: ; preds = %157 %162 = load i64, ptr %18, align 8 %163 = load i64, ptr %19, align 8 %164 = icmp slt i64 %162, %163 br i1 %164, label %144, label %165, !llvm.loop !6 165: ; preds = %161 store i64 0, ptr %22, align 8 store ptr null, ptr %23, align 8 store i32 1, ptr %24, align 4 store i32 0, ptr %25, align 4 store i32 0, ptr %26, align 4 %166 = load i32, ptr %16, align 4 %167 = call ptr @fdopen(i32 noundef %166, ptr noundef @.str.10) store ptr %167, ptr %27, align 8 %168 = load ptr, ptr %27, align 8 %169 = icmp eq ptr %168, null br i1 %169, label %170, label %172 170: ; preds = %165 %171 = call i32 @perror(ptr noundef @.str.11) store i32 126, ptr %3, align 4 br label %213 172: ; preds = %165 br label %173 173: ; preds = %206, %200, %187, %172 %174 = load ptr, ptr %27, align 8 %175 = call i32 @getline(ptr noundef %23, ptr noundef %22, ptr noundef %174) store i32 %175, ptr %21, align 4 %176 = icmp ne i32 %175, -1 br i1 %176, label %177, label %207 177: ; preds = %173 %178 = load i32, ptr %25, align 4 %179 = icmp ne i32 %178, 0 br i1 %179, label %180, label %191 180: ; preds = %177 %181 = load i32, ptr %26, align 4 %182 = icmp ne i32 %181, 0 br i1 %182, label %183, label %185 183: ; preds = %180 %184 = load i32, ptr @stderr, align 4 br label %187 185: ; preds = %180 %186 = load i32, ptr @stdout, align 4 br label %187 187: ; preds = %185, %183 %188 = phi i32 [ %184, %183 ], [ %186, %185 ] %189 = load ptr, ptr %23, align 8 %190 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %188, ptr noundef @.str.12, ptr noundef %189) br label %173, !llvm.loop !8 191: ; preds = %177 %192 = load i32, ptr %24, align 4 %193 = icmp ne i32 %192, 0 br i1 %193, label %194, label %201 194: ; preds = %191 %195 = load ptr, ptr %23, align 8 %196 = call ptr @strstr(ptr noundef %195, ptr noundef @.str.13) %197 = icmp eq ptr %196, null br i1 %197, label %198, label %199 198: ; preds = %194 store i32 1, ptr %26, align 4 br label %200 199: ; preds = %194 store i32 0, ptr %26, align 4 br label %200 200: ; preds = %199, %198 store i32 0, ptr %24, align 4 br label %173, !llvm.loop !8 201: ; preds = %191 %202 = load ptr, ptr %23, align 8 %203 = call i64 @strcmp(ptr noundef %202, ptr noundef @.str.14) %204 = icmp eq i64 %203, 0 br i1 %204, label %205, label %206 205: ; preds = %201 store i32 1, ptr %25, align 4 br label %206 206: ; preds = %205, %201 br label %173, !llvm.loop !8 207: ; preds = %173 %208 = load ptr, ptr %23, align 8 %209 = call i32 @free(ptr noundef %208) %210 = load ptr, ptr %27, align 8 %211 = call i32 @fclose(ptr noundef %210) %212 = load i32, ptr %26, align 4 store i32 %212, ptr %3, align 4 br label %213 213: ; preds = %207, %170, %155, %135, %129, %119, %103, %86, %67, %60, %30 %214 = load i32, ptr %3, align 4 ret i32 %214 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare ptr @fdopen(i32 noundef, ptr noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6owml212.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Usage: %s url_to_download\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"http://\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"Invalid URL\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"URL too long\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Invalid IP specified\0A\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"inet_pton: Error reading IP from %s\0A\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"GET %s HTTP/1.0\0D\0A\0D\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"write\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"fdopen\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.13 = private unnamed_addr constant [4 x i8] c"200\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca [1024 x i8], align 16 %16 = alloca i32, align 4 %17 = alloca [65536 x i8], align 16 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i32, align 4 %22 = alloca i64, align 8 %23 = alloca ptr, align 8 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = 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 %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %28, 2 br i1 %29, label %30, label %36 30: ; preds = %2 %31 = load i32, ptr @stderr, align 4 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 0 %34 = load ptr, ptr %33, align 8 %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str, ptr noundef %34) store i32 127, ptr %3, align 4 br label %215 36: ; preds = %2 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 store ptr %39, ptr %6, align 8 store ptr @.str.1, ptr %7, align 8 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %6, align 8 %42 = load ptr, ptr %7, align 8 %43 = call i32 @strlen(ptr noundef %42) %44 = call i64 @strncmp(ptr noundef %40, ptr noundef %41, i32 noundef %43) %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %52 46: ; preds = %36 %47 = load ptr, ptr %7, align 8 %48 = call i32 @strlen(ptr noundef %47) %49 = load ptr, ptr %6, align 8 %50 = sext i32 %48 to i64 %51 = getelementptr inbounds i8, ptr %49, i64 %50 store ptr %51, ptr %6, align 8 br label %52 52: ; preds = %46, %36 %53 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 12) %54 = load i32, ptr @AF_INET, align 4 %55 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %54, ptr %55, align 4 %56 = load ptr, ptr %6, align 8 %57 = call ptr @strchr(ptr noundef %56, i8 noundef signext 47) store ptr %57, ptr %9, align 8 %58 = load ptr, ptr %9, align 8 %59 = icmp eq ptr %58, null br i1 %59, label %60, label %63 60: ; preds = %52 %61 = load i32, ptr @stderr, align 4 %62 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.2) store i32 127, ptr %3, align 4 br label %215 63: ; preds = %52 %64 = load ptr, ptr %9, align 8 %65 = call i32 @strlen(ptr noundef %64) %66 = icmp sgt i32 %65, 32768 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = load i32, ptr @stderr, align 4 %69 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.3) store i32 127, ptr %3, align 4 br label %215 70: ; preds = %63 %71 = load ptr, ptr %9, align 8 store ptr %71, ptr %10, align 8 %72 = load ptr, ptr %6, align 8 %73 = call ptr @strchr(ptr noundef %72, i8 noundef signext 58) store ptr %73, ptr %11, align 8 store i32 80, ptr %12, align 4 %74 = load ptr, ptr %11, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %76, label %91 76: ; preds = %70 %77 = load ptr, ptr %11, align 8 %78 = load ptr, ptr %9, align 8 %79 = icmp ult ptr %77, %78 br i1 %79, label %80, label %91 80: ; preds = %76 %81 = load ptr, ptr %11, align 8 %82 = call i32 @strtol(ptr noundef %81, ptr noundef %13, i32 noundef 10) store i32 %82, ptr %12, align 4 %83 = load ptr, ptr %13, align 8 %84 = load ptr, ptr %9, align 8 %85 = icmp ne ptr %83, %84 br i1 %85, label %86, label %89 86: ; preds = %80 %87 = load i32, ptr @stderr, align 4 %88 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.2) store i32 127, ptr %3, align 4 br label %215 89: ; preds = %80 %90 = load ptr, ptr %11, align 8 store ptr %90, ptr %10, align 8 br label %91 91: ; preds = %89, %76, %70 %92 = load i32, ptr %12, align 4 %93 = call i32 @htons(i32 noundef %92) %94 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %93, ptr %94, align 4 %95 = load ptr, ptr %10, align 8 %96 = load ptr, ptr %6, align 8 %97 = ptrtoint ptr %95 to i64 %98 = ptrtoint ptr %96 to i64 %99 = sub i64 %97, %98 %100 = trunc i64 %99 to i32 store i32 %100, ptr %14, align 4 %101 = load i32, ptr %14, align 4 %102 = icmp sge i32 %101, 1023 br i1 %102, label %103, label %106 103: ; preds = %91 %104 = load i32, ptr @stderr, align 4 %105 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %104, ptr noundef @.str.4) store i32 127, ptr %3, align 4 br label %215 106: ; preds = %91 %107 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %108 = load ptr, ptr %6, align 8 %109 = load i32, ptr %14, align 4 %110 = call i32 @strncpy(ptr noundef %107, ptr noundef %108, i32 noundef %109) %111 = load i32, ptr %14, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 %112 store i8 0, ptr %113, align 1 %114 = load i32, ptr @AF_INET, align 4 %115 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %116 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %117 = call i64 @inet_pton(i32 noundef %114, ptr noundef %115, ptr noundef %116) %118 = icmp eq i64 %117, 0 br i1 %118, label %119, label %123 119: ; preds = %106 %120 = load i32, ptr @stderr, align 4 %121 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %120, ptr noundef @.str.5, ptr noundef %121) store i32 127, ptr %3, align 4 br label %215 123: ; preds = %106 %124 = load i32, ptr @AF_INET, align 4 %125 = load i32, ptr @SOCK_STREAM, align 4 %126 = call i32 @socket(i32 noundef %124, i32 noundef %125, i32 noundef 0) store i32 %126, ptr %16, align 4 %127 = load i32, ptr %16, align 4 %128 = icmp eq i32 %127, -1 br i1 %128, label %129, label %131 129: ; preds = %123 %130 = call i32 @perror(ptr noundef @.str.6) store i32 126, ptr %3, align 4 br label %215 131: ; preds = %123 %132 = load i32, ptr %16, align 4 %133 = call i32 @connect(i32 noundef %132, ptr noundef %8, i32 noundef 12) %134 = icmp eq i32 %133, -1 br i1 %134, label %135, label %137 135: ; preds = %131 %136 = call i32 @perror(ptr noundef @.str.7) store i32 126, ptr %3, align 4 br label %215 137: ; preds = %131 call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 65536, i1 false) %138 = getelementptr inbounds [65536 x i8], ptr %17, i64 0, i64 0 %139 = load ptr, ptr %9, align 8 %140 = call i32 @snprintf(ptr noundef %138, i32 noundef 65536, ptr noundef @.str.8, ptr noundef %139) store i64 0, ptr %18, align 8 %141 = getelementptr inbounds [65536 x i8], ptr %17, i64 0, i64 0 %142 = call i32 @strlen(ptr noundef %141) %143 = sext i32 %142 to i64 store i64 %143, ptr %19, align 8 br label %144 144: ; preds = %161, %137 %145 = load i32, ptr %16, align 4 %146 = getelementptr inbounds [65536 x i8], ptr %17, i64 0, i64 0 %147 = load i64, ptr %18, align 8 %148 = getelementptr inbounds i8, ptr %146, i64 %147 %149 = load i64, ptr %19, align 8 %150 = load i64, ptr %18, align 8 %151 = sub nsw i64 %149, %150 %152 = call i64 @write(i32 noundef %145, ptr noundef %148, i64 noundef %151) store i64 %152, ptr %20, align 8 %153 = load i64, ptr %20, align 8 %154 = icmp eq i64 %153, -1 br i1 %154, label %155, label %157 155: ; preds = %144 %156 = call i32 @perror(ptr noundef @.str.9) store i32 126, ptr %3, align 4 br label %215 157: ; preds = %144 %158 = load i64, ptr %20, align 8 %159 = load i64, ptr %18, align 8 %160 = add nsw i64 %159, %158 store i64 %160, ptr %18, align 8 br label %161 161: ; preds = %157 %162 = load i64, ptr %18, align 8 %163 = load i64, ptr %19, align 8 %164 = icmp slt i64 %162, %163 br i1 %164, label %144, label %165, !llvm.loop !6 165: ; preds = %161 store i64 0, ptr %22, align 8 store ptr null, ptr %23, align 8 store i32 1, ptr %24, align 4 store i32 0, ptr %25, align 4 store i32 0, ptr %26, align 4 %166 = load i32, ptr %16, align 4 %167 = call ptr @fdopen(i32 noundef %166, ptr noundef @.str.10) store ptr %167, ptr %27, align 8 %168 = load ptr, ptr %27, align 8 %169 = icmp eq ptr %168, null br i1 %169, label %170, label %172 170: ; preds = %165 %171 = call i32 @perror(ptr noundef @.str.11) store i32 126, ptr %3, align 4 br label %215 172: ; preds = %165 %173 = load ptr, ptr %27, align 8 %174 = call i32 @getline(ptr noundef %23, ptr noundef %22, ptr noundef %173) store i32 %174, ptr %21, align 4 %175 = icmp ne i32 %174, -1 br i1 %175, label %.lr.ph, label %209 .lr.ph: ; preds = %172 br label %176 176: ; preds = %.lr.ph, %.backedge %177 = load i32, ptr %25, align 4 %178 = icmp ne i32 %177, 0 br i1 %178, label %179, label %193 179: ; preds = %176 %180 = load i32, ptr %26, align 4 %181 = icmp ne i32 %180, 0 br i1 %181, label %182, label %184 182: ; preds = %179 %183 = load i32, ptr @stderr, align 4 br label %186 184: ; preds = %179 %185 = load i32, ptr @stdout, align 4 br label %186 186: ; preds = %184, %182 %187 = phi i32 [ %183, %182 ], [ %185, %184 ] %188 = load ptr, ptr %23, align 8 %189 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %187, ptr noundef @.str.12, ptr noundef %188) br label %.backedge .backedge: ; preds = %186, %202, %208 %190 = load ptr, ptr %27, align 8 %191 = call i32 @getline(ptr noundef %23, ptr noundef %22, ptr noundef %190) store i32 %191, ptr %21, align 4 %192 = icmp ne i32 %191, -1 br i1 %192, label %176, label %._crit_edge, !llvm.loop !8 193: ; preds = %176 %194 = load i32, ptr %24, align 4 %195 = icmp ne i32 %194, 0 br i1 %195, label %196, label %203 196: ; preds = %193 %197 = load ptr, ptr %23, align 8 %198 = call ptr @strstr(ptr noundef %197, ptr noundef @.str.13) %199 = icmp eq ptr %198, null br i1 %199, label %200, label %201 200: ; preds = %196 store i32 1, ptr %26, align 4 br label %202 201: ; preds = %196 store i32 0, ptr %26, align 4 br label %202 202: ; preds = %201, %200 store i32 0, ptr %24, align 4 br label %.backedge 203: ; preds = %193 %204 = load ptr, ptr %23, align 8 %205 = call i64 @strcmp(ptr noundef %204, ptr noundef @.str.14) %206 = icmp eq i64 %205, 0 br i1 %206, label %207, label %208 207: ; preds = %203 store i32 1, ptr %25, align 4 br label %208 208: ; preds = %207, %203 br label %.backedge ._crit_edge: ; preds = %.backedge br label %209 209: ; preds = %._crit_edge, %172 %210 = load ptr, ptr %23, align 8 %211 = call i32 @free(ptr noundef %210) %212 = load ptr, ptr %27, align 8 %213 = call i32 @fclose(ptr noundef %212) %214 = load i32, ptr %26, align 4 store i32 %214, ptr %3, align 4 br label %215 215: ; preds = %209, %170, %155, %135, %129, %119, %103, %86, %67, %60, %30 %216 = load i32, ptr %3, align 4 ret i32 %216 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare ptr @fdopen(i32 noundef, ptr noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7p3efx2d.c' source_filename = "/tmp/tmp7p3efx2d.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"rt_memory_unlock : munlockall error : \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rt_memory_unlock(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i64 (...) @munlockall() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @fatal(ptr noundef @.str) br label %7 7: ; preds = %5, %1 ret i32 0 } declare i64 @munlockall(...) #1 declare i32 @fatal(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7p3efx2d.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"rt_memory_unlock : munlockall error : \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rt_memory_unlock(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i64 (...) @munlockall() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @fatal(ptr noundef @.str) br label %7 7: ; preds = %5, %1 ret i32 0 } declare i64 @munlockall(...) #1 declare i32 @fatal(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmdmn1gfw.c' source_filename = "/tmp/tmpmdmn1gfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"program.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Error!\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Enter num: \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.3) %12 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %2) %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %2, align 4 %15 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.4, i32 noundef %14) %16 = load ptr, ptr %3, align 8 %17 = call i32 @fclose(ptr noundef %16) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr 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" } 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/tmpmdmn1gfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"program.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Error!\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Enter num: \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.3) %12 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %2) %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %2, align 4 %15 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.4, i32 noundef %14) %16 = load ptr, ptr %3, align 8 %17 = call i32 @fclose(ptr noundef %16) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr 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" } 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/tmpyspkxwng.c' source_filename = "/tmp/tmpyspkxwng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"chislo %d e %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %20, %0 %9 = load i32, ptr %3, align 4 %10 = icmp ne i32 %9, 42 br i1 %10, label %11, label %23 11: ; preds = %8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %13 %15 = call i32 @scanf(ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %17 %19 = load i32, ptr %18, align 4 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %11 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %8, !llvm.loop !6 23: ; preds = %8 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %7, align 4 store i32 0, ptr %4, align 4 br label %25 25: ; preds = %70, %23 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %73 29: ; preds = %25 %30 = load i32, ptr %7, align 4 %31 = sub nsw i32 %30, 1 store i32 %31, ptr %3, align 4 br label %32 32: ; preds = %66, %29 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp sgt i32 %33, %34 br i1 %35, label %36, label %69 36: ; preds = %32 %37 = load i32, ptr %3, align 4 %38 = sub nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %3, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp sgt i32 %41, %45 br i1 %46, label %47, label %65 47: ; preds = %36 %48 = load i32, ptr %3, align 4 %49 = sub nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 store i32 %52, ptr %6, align 4 %53 = load i32, ptr %3, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr %3, align 4 %58 = sub nsw i32 %57, 1 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %59 store i32 %56, ptr %60, align 4 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr %3, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %63 store i32 %61, ptr %64, align 4 br label %65 65: ; preds = %47, %36 br label %66 66: ; preds = %65 %67 = load i32, ptr %3, align 4 %68 = add nsw i32 %67, -1 store i32 %68, ptr %3, align 4 br label %32, !llvm.loop !8 69: ; preds = %32 br label %70 70: ; preds = %69 %71 = load i32, ptr %4, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %4, align 4 br label %25, !llvm.loop !9 73: ; preds = %25 store i32 0, ptr %6, align 4 br label %74 74: ; preds = %86, %73 %75 = load i32, ptr %6, align 4 %76 = load i32, ptr %7, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %78, label %89 78: ; preds = %74 %79 = load i32, ptr %6, align 4 %80 = add nsw i32 %79, 1 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = call i32 @printf(ptr noundef @.str.1, i32 noundef %80, i32 noundef %84) br label %86 86: ; preds = %78 %87 = load i32, ptr %6, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %6, align 4 br label %74, !llvm.loop !10 89: ; preds = %74 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyspkxwng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"chislo %d e %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, 42 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %19 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %12 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %13) %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %10 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp ne i32 %22, 42 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i32, ptr %5, align 4 store i32 %25, ptr %7, align 4 store i32 0, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph5, label %78 .lr.ph5: ; preds = %24 br label %29 29: ; preds = %.lr.ph5, %72 %30 = load i32, ptr %7, align 4 %31 = sub nsw i32 %30, 1 store i32 %31, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp sgt i32 %32, %33 br i1 %34, label %.lr.ph2, label %71 .lr.ph2: ; preds = %29 br label %35 35: ; preds = %.lr.ph2, %65 %36 = load i32, ptr %3, align 4 %37 = sub nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load i32, ptr %3, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = icmp sgt i32 %40, %44 br i1 %45, label %46, label %64 46: ; preds = %35 %47 = load i32, ptr %3, align 4 %48 = sub nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 store i32 %51, ptr %6, align 4 %52 = load i32, ptr %3, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr %3, align 4 %57 = sub nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %58 store i32 %55, ptr %59, align 4 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %3, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %62 store i32 %60, ptr %63, align 4 br label %64 64: ; preds = %46, %35 br label %65 65: ; preds = %64 %66 = load i32, ptr %3, align 4 %67 = add nsw i32 %66, -1 store i32 %67, ptr %3, align 4 %68 = load i32, ptr %3, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp sgt i32 %68, %69 br i1 %70, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %29 br label %72 72: ; preds = %71 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %4, align 4 %75 = load i32, ptr %4, align 4 %76 = load i32, ptr %7, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %29, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %72 br label %78 78: ; preds = %._crit_edge6, %24 store i32 0, ptr %6, align 4 %79 = load i32, ptr %6, align 4 %80 = load i32, ptr %7, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %.lr.ph8, label %96 .lr.ph8: ; preds = %78 br label %82 82: ; preds = %.lr.ph8, %90 %83 = load i32, ptr %6, align 4 %84 = add nsw i32 %83, 1 %85 = load i32, ptr %6, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = call i32 @printf(ptr noundef @.str.1, i32 noundef %84, i32 noundef %88) br label %90 90: ; preds = %82 %91 = load i32, ptr %6, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %6, align 4 %93 = load i32, ptr %6, align 4 %94 = load i32, ptr %7, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %82, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %90 br label %96 96: ; preds = %._crit_edge9, %78 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpihn5hxkm.c' source_filename = "/tmp/tmpihn5hxkm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [50 x i8] c"\0AShould the file be scanned for a banner ? (y/n) \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"#solutions : %d dimension : %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Solution %d :\0A\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"number of solutions written to file : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_incremental_read_and_write() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca i8, align 1 %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %9, align 8 %17 = call i32 @_ada_use_solcon(i32 noundef 10, ptr noundef %14, ptr noundef %15, ptr noundef %16) store i32 %17, ptr %1, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = load ptr, ptr %2, align 8 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %9, align 8 %22 = call i32 @_ada_use_solcon(i32 noundef 11, ptr noundef %19, ptr noundef %20, ptr noundef %21) store i32 %22, ptr %1, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %24 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %13) %25 = load i8, ptr %13, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 121 br i1 %27, label %28, label %33 28: ; preds = %0 %29 = load ptr, ptr %2, align 8 %30 = load ptr, ptr %3, align 8 %31 = load ptr, ptr %9, align 8 %32 = call i32 @_ada_use_solcon(i32 noundef 12, ptr noundef %29, ptr noundef %30, ptr noundef %31) store i32 %32, ptr %1, align 4 br label %33 33: ; preds = %28, %0 %34 = load ptr, ptr %9, align 8 %35 = call i32 @_ada_use_solcon(i32 noundef 13, ptr noundef %4, ptr noundef %5, ptr noundef %34) store i32 %35, ptr %1, align 4 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %5, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36, i32 noundef %37) %39 = load ptr, ptr %9, align 8 %40 = call i32 @_ada_use_solcon(i32 noundef 14, ptr noundef %4, ptr noundef %5, ptr noundef %39) store i32 %40, ptr %1, align 4 %41 = load i32, ptr %5, align 4 %42 = mul nsw i32 2, %41 %43 = add nsw i32 %42, 5 %44 = call i64 @calloc(i32 noundef %43, i32 noundef 8) %45 = inttoptr i64 %44 to ptr store ptr %45, ptr %9, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %8, align 4 br label %46 46: ; preds = %103, %33 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %106 50: ; preds = %46 %51 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %52 = load ptr, ptr %9, align 8 %53 = call i32 @_ada_use_solcon(i32 noundef 15, ptr noundef %5, ptr noundef %51, ptr noundef %52) store i32 %53, ptr %1, align 4 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %55) %57 = load ptr, ptr %9, align 8 %58 = load i32, ptr %5, align 4 %59 = mul nsw i32 2, %58 %60 = add nsw i32 %59, 2 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %57, i64 %61 %63 = load double, ptr %62, align 8 store double %63, ptr %10, align 8 %64 = load ptr, ptr %9, align 8 %65 = load i32, ptr %5, align 4 %66 = mul nsw i32 2, %65 %67 = add nsw i32 %66, 3 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %64, i64 %68 %70 = load double, ptr %69, align 8 store double %70, ptr %11, align 8 %71 = load ptr, ptr %9, align 8 %72 = load i32, ptr %5, align 4 %73 = mul nsw i32 2, %72 %74 = add nsw i32 %73, 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %71, i64 %75 %77 = load double, ptr %76, align 8 store double %77, ptr %12, align 8 %78 = load i32, ptr %5, align 4 %79 = load ptr, ptr %9, align 8 %80 = getelementptr inbounds double, ptr %79, i64 0 %81 = load double, ptr %80, align 8 %82 = load ptr, ptr %9, align 8 %83 = getelementptr inbounds double, ptr %82, i64 1 %84 = load double, ptr %83, align 8 %85 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %86 = load i32, ptr %85, align 4 %87 = load ptr, ptr %9, align 8 %88 = getelementptr inbounds double, ptr %87, i64 2 %89 = load double, ptr %10, align 8 %90 = load double, ptr %11, align 8 %91 = load double, ptr %12, align 8 %92 = call i32 @write_solution(i32 noundef %78, double noundef %81, double noundef %84, i32 noundef %86, ptr noundef %88, double noundef %89, double noundef %90, double noundef %91) %93 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %94 = load i32, ptr %93, align 4 %95 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 %94, ptr %95, align 4 %96 = load i32, ptr %5, align 4 %97 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 %96, ptr %97, align 4 %98 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %99 = load ptr, ptr %9, align 8 %100 = call i32 @_ada_use_solcon(i32 noundef 16, ptr noundef %6, ptr noundef %98, ptr noundef %99) store i32 %100, ptr %1, align 4 %101 = load i32, ptr %6, align 4 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %101) br label %103 103: ; preds = %50 %104 = load i32, ptr %8, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %8, align 4 br label %46, !llvm.loop !6 106: ; preds = %46 %107 = load ptr, ptr %2, align 8 %108 = load ptr, ptr %3, align 8 %109 = load ptr, ptr %9, align 8 %110 = call i32 @_ada_use_solcon(i32 noundef 17, ptr noundef %107, ptr noundef %108, ptr noundef %109) store i32 %110, ptr %1, align 4 %111 = load ptr, ptr %2, align 8 %112 = load ptr, ptr %3, align 8 %113 = load ptr, ptr %9, align 8 %114 = call i32 @_ada_use_solcon(i32 noundef 18, ptr noundef %111, ptr noundef %112, ptr noundef %113) store i32 %114, ptr %1, align 4 ret void } declare i32 @_ada_use_solcon(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @write_solution(i32 noundef, double noundef, double noundef, i32 noundef, ptr noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpihn5hxkm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [50 x i8] c"\0AShould the file be scanned for a banner ? (y/n) \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"#solutions : %d dimension : %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Solution %d :\0A\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"number of solutions written to file : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_incremental_read_and_write() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca i8, align 1 %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %9, align 8 %17 = call i32 @_ada_use_solcon(i32 noundef 10, ptr noundef %14, ptr noundef %15, ptr noundef %16) store i32 %17, ptr %1, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = load ptr, ptr %2, align 8 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %9, align 8 %22 = call i32 @_ada_use_solcon(i32 noundef 11, ptr noundef %19, ptr noundef %20, ptr noundef %21) store i32 %22, ptr %1, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %24 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %13) %25 = load i8, ptr %13, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 121 br i1 %27, label %28, label %33 28: ; preds = %0 %29 = load ptr, ptr %2, align 8 %30 = load ptr, ptr %3, align 8 %31 = load ptr, ptr %9, align 8 %32 = call i32 @_ada_use_solcon(i32 noundef 12, ptr noundef %29, ptr noundef %30, ptr noundef %31) store i32 %32, ptr %1, align 4 br label %33 33: ; preds = %28, %0 %34 = load ptr, ptr %9, align 8 %35 = call i32 @_ada_use_solcon(i32 noundef 13, ptr noundef %4, ptr noundef %5, ptr noundef %34) store i32 %35, ptr %1, align 4 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %5, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36, i32 noundef %37) %39 = load ptr, ptr %9, align 8 %40 = call i32 @_ada_use_solcon(i32 noundef 14, ptr noundef %4, ptr noundef %5, ptr noundef %39) store i32 %40, ptr %1, align 4 %41 = load i32, ptr %5, align 4 %42 = mul nsw i32 2, %41 %43 = add nsw i32 %42, 5 %44 = call i64 @calloc(i32 noundef %43, i32 noundef 8) %45 = inttoptr i64 %44 to ptr store ptr %45, ptr %9, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %.lr.ph, label %108 .lr.ph: ; preds = %33 br label %49 49: ; preds = %.lr.ph, %102 %50 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %51 = load ptr, ptr %9, align 8 %52 = call i32 @_ada_use_solcon(i32 noundef 15, ptr noundef %5, ptr noundef %50, ptr noundef %51) store i32 %52, ptr %1, align 4 %53 = load i32, ptr %8, align 4 %54 = add nsw i32 %53, 1 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %54) %56 = load ptr, ptr %9, align 8 %57 = load i32, ptr %5, align 4 %58 = mul nsw i32 2, %57 %59 = add nsw i32 %58, 2 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %56, i64 %60 %62 = load double, ptr %61, align 8 store double %62, ptr %10, align 8 %63 = load ptr, ptr %9, align 8 %64 = load i32, ptr %5, align 4 %65 = mul nsw i32 2, %64 %66 = add nsw i32 %65, 3 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %63, i64 %67 %69 = load double, ptr %68, align 8 store double %69, ptr %11, align 8 %70 = load ptr, ptr %9, align 8 %71 = load i32, ptr %5, align 4 %72 = mul nsw i32 2, %71 %73 = add nsw i32 %72, 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %70, i64 %74 %76 = load double, ptr %75, align 8 store double %76, ptr %12, align 8 %77 = load i32, ptr %5, align 4 %78 = load ptr, ptr %9, align 8 %79 = getelementptr inbounds double, ptr %78, i64 0 %80 = load double, ptr %79, align 8 %81 = load ptr, ptr %9, align 8 %82 = getelementptr inbounds double, ptr %81, i64 1 %83 = load double, ptr %82, align 8 %84 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %85 = load i32, ptr %84, align 4 %86 = load ptr, ptr %9, align 8 %87 = getelementptr inbounds double, ptr %86, i64 2 %88 = load double, ptr %10, align 8 %89 = load double, ptr %11, align 8 %90 = load double, ptr %12, align 8 %91 = call i32 @write_solution(i32 noundef %77, double noundef %80, double noundef %83, i32 noundef %85, ptr noundef %87, double noundef %88, double noundef %89, double noundef %90) %92 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %93 = load i32, ptr %92, align 4 %94 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 %93, ptr %94, align 4 %95 = load i32, ptr %5, align 4 %96 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 %95, ptr %96, align 4 %97 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %98 = load ptr, ptr %9, align 8 %99 = call i32 @_ada_use_solcon(i32 noundef 16, ptr noundef %6, ptr noundef %97, ptr noundef %98) store i32 %99, ptr %1, align 4 %100 = load i32, ptr %6, align 4 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %100) br label %102 102: ; preds = %49 %103 = load i32, ptr %8, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %8, align 4 %105 = load i32, ptr %8, align 4 %106 = load i32, ptr %4, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %102 br label %108 108: ; preds = %._crit_edge, %33 %109 = load ptr, ptr %2, align 8 %110 = load ptr, ptr %3, align 8 %111 = load ptr, ptr %9, align 8 %112 = call i32 @_ada_use_solcon(i32 noundef 17, ptr noundef %109, ptr noundef %110, ptr noundef %111) store i32 %112, ptr %1, align 4 %113 = load ptr, ptr %2, align 8 %114 = load ptr, ptr %3, align 8 %115 = load ptr, ptr %9, align 8 %116 = call i32 @_ada_use_solcon(i32 noundef 18, ptr noundef %113, ptr noundef %114, ptr noundef %115) store i32 %116, ptr %1, align 4 ret void } declare i32 @_ada_use_solcon(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @write_solution(i32 noundef, double noundef, double noundef, i32 noundef, ptr noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbqzt6x1q.c' source_filename = "/tmp/tmpbqzt6x1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zcoroutine_enable_fd(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 @_co_fd_attribute_create(i32 noundef %3) ret void } declare i32 @_co_fd_attribute_create(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/tmpbqzt6x1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zcoroutine_enable_fd(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 @_co_fd_attribute_create(i32 noundef %3) ret void } declare i32 @_co_fd_attribute_create(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/tmpok57avoq.c' source_filename = "/tmp/tmpok57avoq.c" target datalayout = "e-m:e-p270: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 [34 x i8] c"Introdueix la base del triangle: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Introdueix l'altura del triangle: \00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"L'area del triangle es: %f\00", align 1 @EXIT_SUCCESS = 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 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = 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 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %13 = load float, ptr %6, align 4 %14 = load float, ptr %7, align 4 %15 = fmul float %13, %14 %16 = fdiv float %15, 2.000000e+00 store float %16, ptr %8, align 4 %17 = load float, ptr %8, align 4 %18 = fpext float %17 to double %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %18) %20 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %20 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpok57avoq.c" target datalayout = "e-m:e-p270: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 [34 x i8] c"Introdueix la base del triangle: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Introdueix l'altura del triangle: \00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"L'area del triangle es: %f\00", align 1 @EXIT_SUCCESS = 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 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = 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 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %13 = load float, ptr %6, align 4 %14 = load float, ptr %7, align 4 %15 = fmul float %13, %14 %16 = fdiv float %15, 2.000000e+00 store float %16, ptr %8, align 4 %17 = load float, ptr %8, align 4 %18 = fpext float %17 to double %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %18) %20 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %20 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbv0mbto3.c' source_filename = "/tmp/tmpbv0mbto3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Error sending data to server\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Error reading from server\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sendrecv(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %9, align 4 %16 = call i32 @send(i32 noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef 0) %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %21 18: ; preds = %5 %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str) store i32 -1, ptr %6, align 4 br label %35 21: ; preds = %5 %22 = load ptr, ptr %10, align 8 %23 = load i32, ptr %11, align 4 %24 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef %23) %25 = load i32, ptr %7, align 4 %26 = load ptr, ptr %10, align 8 %27 = load i32, ptr %11, align 4 %28 = call i32 @recv(i32 noundef %25, ptr noundef %26, i32 noundef %27, i32 noundef 0) store i32 %28, ptr %12, align 4 %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %33 30: ; preds = %21 %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1) store i32 -1, ptr %6, align 4 br label %35 33: ; preds = %21 %34 = load i32, ptr %12, align 4 store i32 %34, ptr %6, align 4 br label %35 35: ; preds = %33, %30, %18 %36 = load i32, ptr %6, align 4 ret i32 %36 } declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbv0mbto3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Error sending data to server\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Error reading from server\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sendrecv(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %9, align 4 %16 = call i32 @send(i32 noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef 0) %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %21 18: ; preds = %5 %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str) store i32 -1, ptr %6, align 4 br label %35 21: ; preds = %5 %22 = load ptr, ptr %10, align 8 %23 = load i32, ptr %11, align 4 %24 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef %23) %25 = load i32, ptr %7, align 4 %26 = load ptr, ptr %10, align 8 %27 = load i32, ptr %11, align 4 %28 = call i32 @recv(i32 noundef %25, ptr noundef %26, i32 noundef %27, i32 noundef 0) store i32 %28, ptr %12, align 4 %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %33 30: ; preds = %21 %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1) store i32 -1, ptr %6, align 4 br label %35 33: ; preds = %21 %34 = load i32, ptr %12, align 4 store i32 %34, ptr %6, align 4 br label %35 35: ; preds = %33, %30, %18 %36 = load i32, ptr %6, align 4 ret i32 %36 } declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4pulwy5y.c' source_filename = "/tmp/tmp4pulwy5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_array(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 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/tmp4pulwy5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_array(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 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/tmp8rdjsv78.c' source_filename = "/tmp/tmp8rdjsv78.c" target datalayout = "e-m:e-p270: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"reading line from null file pointer\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"allocating memory for line\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"reallocating memory for line\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_line(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @error(ptr noundef @.str) br label %13 13: ; preds = %11, %1 store i32 1, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = mul nsw i32 128, %14 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 1 %18 = trunc i64 %17 to i32 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %4, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %13 %23 = call i32 @error(ptr noundef @.str.1) br label %24 24: ; preds = %22, %13 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %25 25: ; preds = %57, %24 %26 = load ptr, ptr %3, align 8 %27 = call i32 @fgetc(ptr noundef %26) store i32 %27, ptr %8, align 4 %28 = load i32, ptr @EOF, align 4 %29 = icmp ne i32 %27, %28 br i1 %29, label %30, label %66 30: ; preds = %25 %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 %31, 127 br i1 %32, label %33, label %46 33: ; preds = %30 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 %37 = mul nsw i32 %36, 128 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 1 %40 = trunc i64 %39 to i32 %41 = call ptr @realloc(ptr noundef %34, i32 noundef %40) store ptr %41, ptr %4, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %45 43: ; preds = %33 %44 = call i32 @error(ptr noundef @.str.2) br label %45 45: ; preds = %43, %33 store i32 0, ptr %7, align 4 br label %46 46: ; preds = %45, %30 %47 = load i32, ptr %8, align 4 %48 = trunc i32 %47 to i8 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 10 br i1 %50, label %51, label %57 51: ; preds = %46 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store i8 0, ptr %55, align 1 %56 = load ptr, ptr %4, align 8 store ptr %56, ptr %2, align 8 br label %76 57: ; preds = %46 %58 = load i32, ptr %8, align 4 %59 = trunc i32 %58 to i8 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 store i8 %59, ptr %63, align 1 %64 = load i32, ptr %6, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %6, align 4 br label %25, !llvm.loop !6 66: ; preds = %25 %67 = load i32, ptr %6, align 4 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %70 69: ; preds = %66 store ptr null, ptr %2, align 8 br label %76 70: ; preds = %66 %71 = load ptr, ptr %4, align 8 %72 = load i32, ptr %6, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 store i8 0, ptr %74, align 1 %75 = load ptr, ptr %4, align 8 store ptr %75, ptr %2, align 8 br label %76 76: ; preds = %70, %69, %51 %77 = load ptr, ptr %2, align 8 ret ptr %77 } declare i32 @error(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare ptr @realloc(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/tmp8rdjsv78.c" target datalayout = "e-m:e-p270: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"reading line from null file pointer\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"allocating memory for line\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"reallocating memory for line\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_line(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @error(ptr noundef @.str) br label %13 13: ; preds = %11, %1 store i32 1, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = mul nsw i32 128, %14 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 1 %18 = trunc i64 %17 to i32 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %4, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %13 %23 = call i32 @error(ptr noundef @.str.1) br label %24 24: ; preds = %22, %13 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %25 = load ptr, ptr %3, align 8 %26 = call i32 @fgetc(ptr noundef %25) store i32 %26, ptr %8, align 4 %27 = load i32, ptr @EOF, align 4 %28 = icmp ne i32 %26, %27 br i1 %28, label %.lr.ph, label %69 .lr.ph: ; preds = %24 br label %29 29: ; preds = %.lr.ph, %56 %30 = load i32, ptr %7, align 4 %31 = icmp eq i32 %30, 127 br i1 %31, label %32, label %45 32: ; preds = %29 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = mul nsw i32 %35, 128 %37 = sext i32 %36 to i64 %38 = mul i64 %37, 1 %39 = trunc i64 %38 to i32 %40 = call ptr @realloc(ptr noundef %33, i32 noundef %39) store ptr %40, ptr %4, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %44 42: ; preds = %32 %43 = call i32 @error(ptr noundef @.str.2) br label %44 44: ; preds = %42, %32 store i32 0, ptr %7, align 4 br label %45 45: ; preds = %44, %29 %46 = load i32, ptr %8, align 4 %47 = trunc i32 %46 to i8 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 10 br i1 %49, label %50, label %56 50: ; preds = %45 %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 0, ptr %54, align 1 %55 = load ptr, ptr %4, align 8 store ptr %55, ptr %2, align 8 br label %79 56: ; preds = %45 %57 = load i32, ptr %8, align 4 %58 = trunc i32 %57 to i8 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %6, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 %58, ptr %62, align 1 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %6, align 4 %65 = load ptr, ptr %3, align 8 %66 = call i32 @fgetc(ptr noundef %65) store i32 %66, ptr %8, align 4 %67 = load i32, ptr @EOF, align 4 %68 = icmp ne i32 %66, %67 br i1 %68, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %69 69: ; preds = %._crit_edge, %24 %70 = load i32, ptr %6, align 4 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %69 store ptr null, ptr %2, align 8 br label %79 73: ; preds = %69 %74 = load ptr, ptr %4, align 8 %75 = load i32, ptr %6, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 store i8 0, ptr %77, align 1 %78 = load ptr, ptr %4, align 8 store ptr %78, ptr %2, align 8 br label %79 79: ; preds = %73, %72, %50 %80 = load ptr, ptr %2, align 8 ret ptr %80 } declare i32 @error(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare ptr @realloc(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/tmpg_46dbbe.c' source_filename = "/tmp/tmpg_46dbbe.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"%c%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @i(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i8 noundef signext 105, i32 noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg_46dbbe.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"%c%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @i(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i8 noundef signext 105, i32 noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, 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"}
; ModuleID = '/tmp/tmpeco9gnil.c' source_filename = "/tmp/tmpeco9gnil.c" target datalayout = "e-m:e-p270: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"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @getch() store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %20, %1 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 127 br label %11 11: ; preds = %8, %5 %12 = phi i1 [ false, %5 ], [ %10, %8 ] br i1 %12, label %13, label %21 13: ; preds = %11 %14 = call i32 (...) @getch() store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 switch i32 %15, label %17 [ i32 4, label %16 ] 16: ; preds = %13 br label %20 17: ; preds = %13 %18 = load i32, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %17, %16 br label %5, !llvm.loop !6 21: ; preds = %11 %22 = load ptr, ptr %2, align 8 %23 = call i32 @print_seq(ptr noundef %22) ret void } declare i32 @getch(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @print_seq(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/tmpeco9gnil.c" target datalayout = "e-m:e-p270: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"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @getch() store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %20, %1 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 127 br label %11 11: ; preds = %8, %5 %12 = phi i1 [ false, %5 ], [ %10, %8 ] br i1 %12, label %13, label %21 13: ; preds = %11 %14 = call i32 (...) @getch() store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 switch i32 %15, label %17 [ i32 4, label %16 ] 16: ; preds = %13 br label %20 17: ; preds = %13 %18 = load i32, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %17, %16 br label %5, !llvm.loop !6 21: ; preds = %11 %22 = load ptr, ptr %2, align 8 %23 = call i32 @print_seq(ptr noundef %22) ret void } declare i32 @getch(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @print_seq(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/tmpn8aq0kbz.c' source_filename = "/tmp/tmpn8aq0kbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stbi_image_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @sStbFree(ptr noundef %3) ret void } declare i32 @sStbFree(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/tmpn8aq0kbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stbi_image_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @sStbFree(ptr noundef %3) ret void } declare i32 @sStbFree(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_7pv3tlr.c' source_filename = "/tmp/tmp_7pv3tlr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlib_strtok_r(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call ptr @strtok_r(ptr noundef %7, ptr noundef %8, ptr noundef %9) ret ptr %10 } declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_7pv3tlr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlib_strtok_r(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call ptr @strtok_r(ptr noundef %7, ptr noundef %8, ptr noundef %9) ret ptr %10 } declare ptr @strtok_r(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/tmp86aqquw2.c' source_filename = "/tmp/tmp86aqquw2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pvReturnVersion(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @notify_pvcall(ptr noundef @.str) ret i32 0 } declare i32 @notify_pvcall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp86aqquw2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pvReturnVersion(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @notify_pvcall(ptr noundef @.str) ret i32 0 } declare i32 @notify_pvcall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppocd7b65.c' source_filename = "/tmp/tmppocd7b65.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %25, %3 %12 = load i64, ptr %6, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %6, align 8 %14 = icmp ne i64 %12, 0 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load ptr, ptr %7, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load ptr, ptr %8, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %18, %21 br label %23 23: ; preds = %15, %11 %24 = phi i1 [ false, %11 ], [ %22, %15 ] br i1 %24, label %25, label %30 25: ; preds = %23 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %7, align 8 %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %8, align 8 br label %11, !llvm.loop !6 30: ; preds = %23 %31 = load ptr, ptr %7, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load ptr, ptr %8, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = sub nsw i32 %33, %36 ret i32 %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppocd7b65.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %25, %3 %12 = load i64, ptr %6, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %6, align 8 %14 = icmp ne i64 %12, 0 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load ptr, ptr %7, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load ptr, ptr %8, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %18, %21 br label %23 23: ; preds = %15, %11 %24 = phi i1 [ false, %11 ], [ %22, %15 ] br i1 %24, label %25, label %30 25: ; preds = %23 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %7, align 8 %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %8, align 8 br label %11, !llvm.loop !6 30: ; preds = %23 %31 = load ptr, ptr %7, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load ptr, ptr %8, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = sub nsw i32 %33, %36 ret i32 %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp7r9u1o9t.c' source_filename = "/tmp/tmp7r9u1o9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @instr(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = 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 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %3 %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %19, label %18 18: ; preds = %14, %3 store i32 -1, ptr %4, align 4 br label %58 19: ; preds = %14 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load ptr, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %22, %19 store i32 -1, ptr %4, align 4 br label %58 27: ; preds = %22 %28 = load ptr, ptr %6, align 8 %29 = call i32 @strlen(ptr noundef %28) store i32 %29, ptr %10, align 4 %30 = load ptr, ptr %5, align 8 %31 = call i32 @strlen(ptr noundef %30) store i32 %31, ptr %11, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %32 32: ; preds = %54, %27 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %10, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %57 36: ; preds = %32 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %8, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %11, align 4 %43 = call i64 @strncasecmp(ptr noundef %40, ptr noundef %41, i32 noundef %42) %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %53 45: ; preds = %36 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %9, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp eq i32 %47, %48 br i1 %49, label %50, label %52 50: ; preds = %45 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %4, align 4 br label %58 52: ; preds = %45 br label %53 53: ; preds = %52, %36 br label %54 54: ; preds = %53 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %8, align 4 br label %32, !llvm.loop !6 57: ; preds = %32 store i32 -1, ptr %4, align 4 br label %58 58: ; preds = %57, %50, %26, %18 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7r9u1o9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @instr(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = 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 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %3 %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %19, label %18 18: ; preds = %14, %3 store i32 -1, ptr %4, align 4 br label %60 19: ; preds = %14 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %19 %23 = load ptr, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %22, %19 store i32 -1, ptr %4, align 4 br label %60 27: ; preds = %22 %28 = load ptr, ptr %6, align 8 %29 = call i32 @strlen(ptr noundef %28) store i32 %29, ptr %10, align 4 %30 = load ptr, ptr %5, align 8 %31 = call i32 @strlen(ptr noundef %30) store i32 %31, ptr %11, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %59 .lr.ph: ; preds = %27 br label %35 35: ; preds = %.lr.ph, %53 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %11, align 4 %42 = call i64 @strncasecmp(ptr noundef %39, ptr noundef %40, i32 noundef %41) %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %52 44: ; preds = %35 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 %47 = load i32, ptr %7, align 4 %48 = icmp eq i32 %46, %47 br i1 %48, label %49, label %51 49: ; preds = %44 %50 = load i32, ptr %8, align 4 store i32 %50, ptr %4, align 4 br label %60 51: ; preds = %44 br label %52 52: ; preds = %51, %35 br label %53 53: ; preds = %52 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %8, align 4 %56 = load i32, ptr %8, align 4 %57 = load i32, ptr %10, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %59 59: ; preds = %._crit_edge, %27 store i32 -1, ptr %4, align 4 br label %60 60: ; preds = %59, %49, %26, %18 %61 = load i32, ptr %4, align 4 ret i32 %61 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4kn6fwd1.c' source_filename = "/tmp/tmp4kn6fwd1.c" target datalayout = "e-m:e-p270: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"Password: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%255s\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"XXXXXXXXXXXXXX\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Win!\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"Fail!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %10 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %11 = call i64 @check(ptr noundef %10, ptr noundef @.str.2) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = call i32 @printf(ptr noundef @.str.3) %15 = call i32 @setuid(i32 noundef 0) %16 = call i32 @system(ptr noundef @.str.4) br label %19 17: ; preds = %2 %18 = call i32 @printf(ptr noundef @.str.5) br label %19 19: ; preds = %17, %13 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @check(ptr noundef, ptr noundef) #1 declare i32 @setuid(i32 noundef) #1 declare i32 @system(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/tmp4kn6fwd1.c" target datalayout = "e-m:e-p270: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"Password: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%255s\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"XXXXXXXXXXXXXX\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Win!\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"Fail!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %10 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %11 = call i64 @check(ptr noundef %10, ptr noundef @.str.2) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = call i32 @printf(ptr noundef @.str.3) %15 = call i32 @setuid(i32 noundef 0) %16 = call i32 @system(ptr noundef @.str.4) br label %19 17: ; preds = %2 %18 = call i32 @printf(ptr noundef @.str.5) br label %19 19: ; preds = %17, %13 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @check(ptr noundef, ptr noundef) #1 declare i32 @setuid(i32 noundef) #1 declare i32 @system(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/tmpg15uc9eh.c' source_filename = "/tmp/tmpg15uc9eh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NGROUPS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = load i32, ptr @NGROUPS, align 4 %5 = zext i32 %4 to i64 %6 = call ptr @llvm.stacksave() store ptr %6, ptr %1, align 8 %7 = alloca i32, i64 %5, align 16 store i64 %5, ptr %2, align 8 %8 = load i32, ptr @NGROUPS, align 4 %9 = call i64 @getgroups(i32 noundef %8, ptr noundef %7) store i64 %9, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = call i32 @setgroups(i64 noundef %10, ptr noundef %7) %12 = call i32 @setgroups(i64 noundef -1, ptr noundef %7) %13 = load i64, ptr %3, align 8 %14 = call i32 @setgroups(i64 noundef %13, ptr noundef inttoptr (i64 -1 to ptr)) %15 = load ptr, ptr %1, align 8 call void @llvm.stackrestore(ptr %15) ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i64 @getgroups(i32 noundef, ptr noundef) #2 declare i32 @setgroups(i64 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg15uc9eh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NGROUPS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = load i32, ptr @NGROUPS, align 4 %5 = zext i32 %4 to i64 %6 = call ptr @llvm.stacksave() store ptr %6, ptr %1, align 8 %7 = alloca i32, i64 %5, align 16 store i64 %5, ptr %2, align 8 %8 = load i32, ptr @NGROUPS, align 4 %9 = call i64 @getgroups(i32 noundef %8, ptr noundef %7) store i64 %9, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = call i32 @setgroups(i64 noundef %10, ptr noundef %7) %12 = call i32 @setgroups(i64 noundef -1, ptr noundef %7) %13 = load i64, ptr %3, align 8 %14 = call i32 @setgroups(i64 noundef %13, ptr noundef inttoptr (i64 -1 to ptr)) %15 = load ptr, ptr %1, align 8 call void @llvm.stackrestore(ptr %15) ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i64 @getgroups(i32 noundef, ptr noundef) #2 declare i32 @setgroups(i64 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp27khaegi.c' source_filename = "/tmp/tmp27khaegi.c" target datalayout = "e-m:e-p270: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/tmp27khaegi.c" target datalayout = "e-m:e-p270: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/tmpvledsh45.c' source_filename = "/tmp/tmpvledsh45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [119 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCCCCCCCCCCCC\09OOOOOOOOOOOOOO\1B[0m\09\1B[31mBBBBBBBBBBB\09IIIIIIIIIIIII\09CCCCCCCCCCCCC\09IIIIIIIIIIIII\0A\1B[0m\00", align 1 @.str.2 = private unnamed_addr constant [100 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCCCCCCCC\09OOOO OOOO\1B[0m\09\1B[31mBBB\09 BBB\09 III\09CCCCCCCCC\09 III\0A\1B[0m\00", align 1 @.str.3 = private unnamed_addr constant [86 x i8] c"\1B[32m\09\09\09EEEEE\09\09CCCCCC\09\09OOO\09 OOO\1B[0m\09\1B[31mBBB\09 BBB III\09CCCCCC\09\09 III\0A\1B[0m\00", align 1 @.str.4 = private unnamed_addr constant [91 x i8] c"\1B[32m\09\09\09EEEEE\09\09CCCC\09\09OO\09 OO\1B[0m\09\1B[31mBBB\09 BBB\09 III\09CCCC III\0A\1B[0m\00", align 1 @.str.5 = private unnamed_addr constant [97 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCC\09\09OO\09 OO\1B[0m\09\1B[31mBBB\09 BBB III\09CCC III\0A\1B[0m\00", align 1 @.str.6 = private unnamed_addr constant [97 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCC\09\09OO\09 OO\1B[0m\09\1B[31mBBB\09 BBB III\09CCC III\0A\1B[0m\00", align 1 @.str.7 = private unnamed_addr constant [91 x i8] c"\1B[32m\09\09\09EEEEE\09\09CCCC\09\09OO\09 OO\1B[0m\09\1B[31mBBB\09 BBB III\09CCCC III\0A\1B[0m\00", align 1 @.str.8 = private unnamed_addr constant [94 x i8] c"\1B[32m\09\09\09EEEEE\09\09CCCCCC\09\09OOO\09 OOO\1B[0m\09\1B[31mBBB\09 BBB III\09CCCCCC III\0A\1B[0m\00", align 1 @.str.9 = private unnamed_addr constant [103 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCCCCCCCC\09OOOO\09 OOOO\1B[0m\09\1B[31mBBB\09 BBB\09 III\09CCCCCCCCC III\0A\1B[0m\00", align 1 @.str.10 = private unnamed_addr constant [122 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCCCCCCCCCCCC\09OOOOOOOOOOOOOO\1B[0m\09\1B[31mBBBBBBBBBBB \09IIIIIIIIIIIII\09CCCCCCCCCCCCC\09IIIIIIIIIIIII\0A\0A\0A\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Logo() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvledsh45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [119 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCCCCCCCCCCCC\09OOOOOOOOOOOOOO\1B[0m\09\1B[31mBBBBBBBBBBB\09IIIIIIIIIIIII\09CCCCCCCCCCCCC\09IIIIIIIIIIIII\0A\1B[0m\00", align 1 @.str.2 = private unnamed_addr constant [100 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCCCCCCCC\09OOOO OOOO\1B[0m\09\1B[31mBBB\09 BBB\09 III\09CCCCCCCCC\09 III\0A\1B[0m\00", align 1 @.str.3 = private unnamed_addr constant [86 x i8] c"\1B[32m\09\09\09EEEEE\09\09CCCCCC\09\09OOO\09 OOO\1B[0m\09\1B[31mBBB\09 BBB III\09CCCCCC\09\09 III\0A\1B[0m\00", align 1 @.str.4 = private unnamed_addr constant [91 x i8] c"\1B[32m\09\09\09EEEEE\09\09CCCC\09\09OO\09 OO\1B[0m\09\1B[31mBBB\09 BBB\09 III\09CCCC III\0A\1B[0m\00", align 1 @.str.5 = private unnamed_addr constant [97 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCC\09\09OO\09 OO\1B[0m\09\1B[31mBBB\09 BBB III\09CCC III\0A\1B[0m\00", align 1 @.str.6 = private unnamed_addr constant [97 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCC\09\09OO\09 OO\1B[0m\09\1B[31mBBB\09 BBB III\09CCC III\0A\1B[0m\00", align 1 @.str.7 = private unnamed_addr constant [91 x i8] c"\1B[32m\09\09\09EEEEE\09\09CCCC\09\09OO\09 OO\1B[0m\09\1B[31mBBB\09 BBB III\09CCCC III\0A\1B[0m\00", align 1 @.str.8 = private unnamed_addr constant [94 x i8] c"\1B[32m\09\09\09EEEEE\09\09CCCCCC\09\09OOO\09 OOO\1B[0m\09\1B[31mBBB\09 BBB III\09CCCCCC III\0A\1B[0m\00", align 1 @.str.9 = private unnamed_addr constant [103 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCCCCCCCC\09OOOO\09 OOOO\1B[0m\09\1B[31mBBB\09 BBB\09 III\09CCCCCCCCC III\0A\1B[0m\00", align 1 @.str.10 = private unnamed_addr constant [122 x i8] c"\1B[32m\09\09\09EEEEEEEEEEEEE\09CCCCCCCCCCCCC\09OOOOOOOOOOOOOO\1B[0m\09\1B[31mBBBBBBBBBBB \09IIIIIIIIIIIII\09CCCCCCCCCCCCC\09IIIIIIIIIIIII\0A\0A\0A\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Logo() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7mq_omvn.c' source_filename = "/tmp/tmp7mq_omvn.c" target datalayout = "e-m:e-p270: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 [18 x i8] c" P1 recebeu %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @p1(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7mq_omvn.c" target datalayout = "e-m:e-p270: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 [18 x i8] c" P1 recebeu %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @p1(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpor7nacvq.c' source_filename = "/tmp/tmpor7nacvq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test_null_array() %2 = call i32 (...) @test_negative_size() %3 = call i32 (...) @test_null_result() %4 = call i32 (...) @test_too_big_sum() %5 = call i32 (...) @test_too_small_sum() %6 = call i32 (...) @test_mean() ret i32 0 } declare i32 @test_null_array(...) #1 declare i32 @test_negative_size(...) #1 declare i32 @test_null_result(...) #1 declare i32 @test_too_big_sum(...) #1 declare i32 @test_too_small_sum(...) #1 declare i32 @test_mean(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpor7nacvq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test_null_array() %2 = call i32 (...) @test_negative_size() %3 = call i32 (...) @test_null_result() %4 = call i32 (...) @test_too_big_sum() %5 = call i32 (...) @test_too_small_sum() %6 = call i32 (...) @test_mean() ret i32 0 } declare i32 @test_null_array(...) #1 declare i32 @test_negative_size(...) #1 declare i32 @test_null_result(...) #1 declare i32 @test_too_big_sum(...) #1 declare i32 @test_too_small_sum(...) #1 declare i32 @test_mean(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpimm2ks2j.c' source_filename = "/tmp/tmpimm2ks2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rt_hypotd(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %8 = load double, ptr %3, align 8 %9 = call double @llvm.fabs.f64(double %8) store double %9, ptr %6, align 8 %10 = load double, ptr %4, align 8 %11 = call double @llvm.fabs.f64(double %10) store double %11, ptr %7, align 8 %12 = load double, ptr %6, align 8 %13 = load double, ptr %7, align 8 %14 = fcmp olt double %12, %13 br i1 %14, label %15, label %25 15: ; preds = %2 %16 = load double, ptr %7, align 8 %17 = load double, ptr %6, align 8 %18 = fdiv double %17, %16 store double %18, ptr %6, align 8 %19 = load double, ptr %7, align 8 %20 = load double, ptr %6, align 8 %21 = load double, ptr %6, align 8 %22 = call double @llvm.fmuladd.f64(double %20, double %21, double 1.000000e+00) %23 = call double @sqrt(double noundef %22) #3 %24 = fmul double %19, %23 store double %24, ptr %5, align 8 br label %44 25: ; preds = %2 %26 = load double, ptr %6, align 8 %27 = load double, ptr %7, align 8 %28 = fcmp ogt double %26, %27 br i1 %28, label %29, label %39 29: ; preds = %25 %30 = load double, ptr %6, align 8 %31 = load double, ptr %7, align 8 %32 = fdiv double %31, %30 store double %32, ptr %7, align 8 %33 = load double, ptr %6, align 8 %34 = load double, ptr %7, align 8 %35 = load double, ptr %7, align 8 %36 = call double @llvm.fmuladd.f64(double %34, double %35, double 1.000000e+00) %37 = call double @sqrt(double noundef %36) #3 %38 = fmul double %33, %37 store double %38, ptr %5, align 8 br label %43 39: ; preds = %25 %40 = load double, ptr %6, align 8 %41 = call double @sqrt(double noundef 2.000000e+00) #3 %42 = fmul double %40, %41 store double %42, ptr %5, align 8 br label %43 43: ; preds = %39, %29 br label %44 44: ; preds = %43, %15 %45 = load double, ptr %5, align 8 ret double %45 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpimm2ks2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rt_hypotd(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %8 = load double, ptr %3, align 8 %9 = call double @llvm.fabs.f64(double %8) store double %9, ptr %6, align 8 %10 = load double, ptr %4, align 8 %11 = call double @llvm.fabs.f64(double %10) store double %11, ptr %7, align 8 %12 = load double, ptr %6, align 8 %13 = load double, ptr %7, align 8 %14 = fcmp olt double %12, %13 br i1 %14, label %15, label %25 15: ; preds = %2 %16 = load double, ptr %7, align 8 %17 = load double, ptr %6, align 8 %18 = fdiv double %17, %16 store double %18, ptr %6, align 8 %19 = load double, ptr %7, align 8 %20 = load double, ptr %6, align 8 %21 = load double, ptr %6, align 8 %22 = call double @llvm.fmuladd.f64(double %20, double %21, double 1.000000e+00) %23 = call double @sqrt(double noundef %22) #3 %24 = fmul double %19, %23 store double %24, ptr %5, align 8 br label %44 25: ; preds = %2 %26 = load double, ptr %6, align 8 %27 = load double, ptr %7, align 8 %28 = fcmp ogt double %26, %27 br i1 %28, label %29, label %39 29: ; preds = %25 %30 = load double, ptr %6, align 8 %31 = load double, ptr %7, align 8 %32 = fdiv double %31, %30 store double %32, ptr %7, align 8 %33 = load double, ptr %6, align 8 %34 = load double, ptr %7, align 8 %35 = load double, ptr %7, align 8 %36 = call double @llvm.fmuladd.f64(double %34, double %35, double 1.000000e+00) %37 = call double @sqrt(double noundef %36) #3 %38 = fmul double %33, %37 store double %38, ptr %5, align 8 br label %43 39: ; preds = %25 %40 = load double, ptr %6, align 8 %41 = call double @sqrt(double noundef 2.000000e+00) #3 %42 = fmul double %40, %41 store double %42, ptr %5, align 8 br label %43 43: ; preds = %39, %29 br label %44 44: ; preds = %43, %15 %45 = load double, ptr %5, align 8 ret double %45 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnva0ez4z.c' source_filename = "/tmp/tmpnva0ez4z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) %5 = call ptr @generate_muspi_merol(i32 noundef 10) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @printf(ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i32 @free(ptr noundef %8) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @generate_muspi_merol(i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnva0ez4z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) %5 = call ptr @generate_muspi_merol(i32 noundef 10) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @printf(ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i32 @free(ptr noundef %8) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @generate_muspi_merol(i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp61xjndxp.c' source_filename = "/tmp/tmp61xjndxp.c" target datalayout = "e-m:e-p270: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/tmp61xjndxp.c" target datalayout = "e-m:e-p270: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/tmptk9inxt_.c' source_filename = "/tmp/tmptk9inxt_.c" target datalayout = "e-m:e-p270: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/tmptk9inxt_.c" target datalayout = "e-m:e-p270: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/tmp0d7dus1x.c' source_filename = "/tmp/tmp0d7dus1x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cgmjpost2l_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load ptr, ptr %10, align 8 %18 = load float, ptr %17, align 4 %19 = load ptr, ptr %11, align 8 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %12, align 8 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %13, align 8 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %14, align 8 %26 = load i32, ptr %25, align 4 %27 = call i32 @cgmjpost2l(ptr noundef %15, ptr noundef %16, float noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %24, i32 noundef %26) ret void } declare i32 @cgmjpost2l(ptr noundef, ptr noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0d7dus1x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cgmjpost2l_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load ptr, ptr %10, align 8 %18 = load float, ptr %17, align 4 %19 = load ptr, ptr %11, align 8 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %12, align 8 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %13, align 8 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %14, align 8 %26 = load i32, ptr %25, align 4 %27 = call i32 @cgmjpost2l(ptr noundef %15, ptr noundef %16, float noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %24, i32 noundef %26) ret void } declare i32 @cgmjpost2l(ptr noundef, ptr noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb_32fqu4.c' source_filename = "/tmp/tmpb_32fqu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @basic_test() %2 = call i32 (...) @add_sub_of_pi_e() %3 = call i32 (...) @div_sqr_of_pi() %4 = call i32 (...) @log_exp_of_pi() %5 = call i32 (...) @my_sqrt() ret i32 0 } declare i32 @basic_test(...) #1 declare i32 @add_sub_of_pi_e(...) #1 declare i32 @div_sqr_of_pi(...) #1 declare i32 @log_exp_of_pi(...) #1 declare i32 @my_sqrt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb_32fqu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @basic_test() %2 = call i32 (...) @add_sub_of_pi_e() %3 = call i32 (...) @div_sqr_of_pi() %4 = call i32 (...) @log_exp_of_pi() %5 = call i32 (...) @my_sqrt() ret i32 0 } declare i32 @basic_test(...) #1 declare i32 @add_sub_of_pi_e(...) #1 declare i32 @div_sqr_of_pi(...) #1 declare i32 @log_exp_of_pi(...) #1 declare i32 @my_sqrt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk7gsvqii.c' source_filename = "/tmp/tmpk7gsvqii.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NWK_GroupAdd(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 @nwkGroupSwitch(i32 noundef 65535, i32 noundef %3) ret i32 %4 } declare i32 @nwkGroupSwitch(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/tmpk7gsvqii.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NWK_GroupAdd(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 @nwkGroupSwitch(i32 noundef 65535, i32 noundef %3) ret i32 %4 } declare i32 @nwkGroupSwitch(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/tmp8__twh85.c' source_filename = "/tmp/tmp8__twh85.c" target datalayout = "e-m:e-p270: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/tmp8__twh85.c" target datalayout = "e-m:e-p270: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/tmpjhc3egzg.c' source_filename = "/tmp/tmpjhc3egzg.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"Queue Is Empty!!n\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %27 10: ; preds = %2 store i32 0, ptr %5, align 4 br label %11 11: ; preds = %22, %10 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %25 15: ; preds = %11 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20) br label %22 22: ; preds = %15 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %11, !llvm.loop !6 25: ; preds = %11 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %27 27: ; preds = %25, %8 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjhc3egzg.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"Queue Is Empty!!n\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %29 10: ; preds = %2 store i32 0, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %27 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %21 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19) br label %21 21: ; preds = %14 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %10 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %29 29: ; preds = %27, %8 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpaj5vd3w3.c' source_filename = "/tmp/tmpaj5vd3w3.c" target datalayout = "e-m:e-p270: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.cdrom_blk = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.cdrom_blk, align 4 store i32 0, ptr %1, align 4 ret i32 4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaj5vd3w3.c" target datalayout = "e-m:e-p270: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.cdrom_blk = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.cdrom_blk, align 4 store i32 0, ptr %1, align 4 ret i32 4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpakfeyp3f.c' source_filename = "/tmp/tmpakfeyp3f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%d!=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %3, align 4 store i32 1, ptr %4, align 4 store i32 1, ptr %2, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %9, label %16 9: ; preds = %5 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = mul nsw i32 %10, %11 store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %5, !llvm.loop !6 16: ; preds = %5 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %4, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18) ret i32 0 } declare i32 @printf(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/tmpakfeyp3f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%d!=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %3, align 4 store i32 1, ptr %4, align 4 store i32 1, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %12 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %2, align 4 %11 = mul nsw i32 %9, %10 store i32 %11, ptr %4, align 4 br label %12 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %18 18: ; preds = %._crit_edge, %0 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %4, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20) ret i32 0 } declare i32 @printf(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/tmpueoeei67.c' source_filename = "/tmp/tmpueoeei67.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"Reading file: %s, with mass of %f lbs\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"%f %f %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"(%f, %f, %f) -> (%f, %f, %f)\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"\09Distance: %f\0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"\09Calories: %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"\09Slope: %f\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"\09Grade: %f\0A\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"\09Virtual distance: %f\0A\00", align 1 @.str.9 = private unnamed_addr constant [31 x i8] c"\09Esimated calories needed: %f\0A\00", align 1 @.str.10 = private unnamed_addr constant [40 x i8] c"\09Actual virtual distance travelled: %f\0A\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @simulate_walk(ptr noundef %0, float noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca float, align 4 %5 = alloca ptr, align 8 %6 = alloca [3 x float], align 4 %7 = alloca [3 x float], align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 store ptr %0, ptr %3, align 8 store float %1, ptr %4, align 4 %15 = load ptr, ptr %3, align 8 %16 = load float, ptr %4, align 4 %17 = fpext float %16 to double %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15, double noundef %17) %19 = load ptr, ptr %3, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %5, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %23 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 1 %24 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %25 = call i32 @fscanf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %22, ptr noundef %23, ptr noundef %24) br label %26 26: ; preds = %31, %2 %27 = load ptr, ptr %5, align 8 %28 = call i32 @feof(ptr noundef %27) %29 = icmp ne i32 %28, 0 %30 = xor i1 %29, true br i1 %30, label %31, label %131 31: ; preds = %26 %32 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %33 = load float, ptr %32, align 4 %34 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0 store float %33, ptr %34, align 4 %35 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 1 %36 = load float, ptr %35, align 4 %37 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 1 store float %36, ptr %37, align 4 %38 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %39 = load float, ptr %38, align 4 %40 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 2 store float %39, ptr %40, align 4 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %43 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 1 %44 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %45 = call i32 @fscanf(ptr noundef %41, ptr noundef @.str.2, ptr noundef %42, ptr noundef %43, ptr noundef %44) %46 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0 %47 = load float, ptr %46, align 4 %48 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 1 %49 = load float, ptr %48, align 4 %50 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %51 = load float, ptr %50, align 4 %52 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 1 %53 = load float, ptr %52, align 4 %54 = call float @distance(float noundef %47, float noundef %49, float noundef %51, float noundef %53) store float %54, ptr %8, align 4 %55 = load float, ptr %8, align 4 %56 = fdiv float %55, 0x4099255C20000000 %57 = load float, ptr %4, align 4 %58 = call float @calculate_calories(float noundef %56, float noundef %57) store float %58, ptr %9, align 4 %59 = load float, ptr %8, align 4 %60 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 2 %61 = load float, ptr %60, align 4 %62 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %63 = load float, ptr %62, align 4 %64 = call float @calculate_slope(float noundef %59, float noundef %61, float noundef %63) store float %64, ptr %10, align 4 %65 = load float, ptr %10, align 4 %66 = load float, ptr %8, align 4 %67 = call float @calculate_virtual_distance(float noundef %65, float noundef %66) store float %67, ptr %12, align 4 %68 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 2 %69 = load float, ptr %68, align 4 %70 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %71 = load float, ptr %70, align 4 %72 = fsub float %69, %71 %73 = call float @abs(float noundef %72) %74 = load float, ptr %8, align 4 %75 = fdiv float %73, %74 store float %75, ptr %11, align 4 %76 = load float, ptr %11, align 4 %77 = load float, ptr %4, align 4 %78 = fpext float %77 to double %79 = fmul double %78, 4.534920e-01 %80 = fptrunc double %79 to float %81 = load float, ptr %12, align 4 %82 = call float @calculate_work(float noundef %76, float noundef %80, float noundef %81) store float %82, ptr %13, align 4 %83 = load float, ptr %12, align 4 %84 = load float, ptr %9, align 4 %85 = load float, ptr %13, align 4 %86 = fpext float %85 to double %87 = fdiv double %86, 4.184000e+00 %88 = fptrunc double %87 to float %89 = call float @calculate_actual_distance(float noundef %83, float noundef %84, float noundef %88) store float %89, ptr %14, align 4 %90 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0 %91 = load float, ptr %90, align 4 %92 = fpext float %91 to double %93 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 1 %94 = load float, ptr %93, align 4 %95 = fpext float %94 to double %96 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 2 %97 = load float, ptr %96, align 4 %98 = fpext float %97 to double %99 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %100 = load float, ptr %99, align 4 %101 = fpext float %100 to double %102 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 1 %103 = load float, ptr %102, align 4 %104 = fpext float %103 to double %105 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %106 = load float, ptr %105, align 4 %107 = fpext float %106 to double %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %92, double noundef %95, double noundef %98, double noundef %101, double noundef %104, double noundef %107) %109 = load float, ptr %8, align 4 %110 = fpext float %109 to double %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %110) %112 = load float, ptr %9, align 4 %113 = fpext float %112 to double %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %113) %115 = load float, ptr %10, align 4 %116 = fpext float %115 to double %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %116) %118 = load float, ptr %11, align 4 %119 = fpext float %118 to double %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %119) %121 = load float, ptr %12, align 4 %122 = fpext float %121 to double %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %122) %124 = load float, ptr %13, align 4 %125 = fpext float %124 to double %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %125) %127 = load float, ptr %14, align 4 %128 = fpext float %127 to double %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %128) %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %26, !llvm.loop !6 131: ; preds = %26 %132 = load ptr, ptr %5, align 8 %133 = call i32 @fclose(ptr noundef %132) ret void } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare float @distance(float noundef, float noundef, float noundef, float noundef) #1 declare float @calculate_calories(float noundef, float noundef) #1 declare float @calculate_slope(float noundef, float noundef, float noundef) #1 declare float @calculate_virtual_distance(float noundef, float noundef) #1 declare float @abs(float noundef) #1 declare float @calculate_work(float noundef, float noundef, float noundef) #1 declare float @calculate_actual_distance(float noundef, float noundef, float noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpueoeei67.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"Reading file: %s, with mass of %f lbs\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"%f %f %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"(%f, %f, %f) -> (%f, %f, %f)\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"\09Distance: %f\0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"\09Calories: %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"\09Slope: %f\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"\09Grade: %f\0A\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"\09Virtual distance: %f\0A\00", align 1 @.str.9 = private unnamed_addr constant [31 x i8] c"\09Esimated calories needed: %f\0A\00", align 1 @.str.10 = private unnamed_addr constant [40 x i8] c"\09Actual virtual distance travelled: %f\0A\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @simulate_walk(ptr noundef %0, float noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca float, align 4 %5 = alloca ptr, align 8 %6 = alloca [3 x float], align 4 %7 = alloca [3 x float], align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 store ptr %0, ptr %3, align 8 store float %1, ptr %4, align 4 %15 = load ptr, ptr %3, align 8 %16 = load float, ptr %4, align 4 %17 = fpext float %16 to double %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15, double noundef %17) %19 = load ptr, ptr %3, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %5, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %23 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 1 %24 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %25 = call i32 @fscanf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %22, ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %5, align 8 %27 = call i32 @feof(ptr noundef %26) %28 = icmp ne i32 %27, 0 %29 = xor i1 %28, true br i1 %29, label %.lr.ph, label %134 .lr.ph: ; preds = %2 br label %30 30: ; preds = %.lr.ph, %30 %31 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %32 = load float, ptr %31, align 4 %33 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0 store float %32, ptr %33, align 4 %34 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 1 %35 = load float, ptr %34, align 4 %36 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 1 store float %35, ptr %36, align 4 %37 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %38 = load float, ptr %37, align 4 %39 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 2 store float %38, ptr %39, align 4 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %42 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 1 %43 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %44 = call i32 @fscanf(ptr noundef %40, ptr noundef @.str.2, ptr noundef %41, ptr noundef %42, ptr noundef %43) %45 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0 %46 = load float, ptr %45, align 4 %47 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 1 %48 = load float, ptr %47, align 4 %49 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %50 = load float, ptr %49, align 4 %51 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 1 %52 = load float, ptr %51, align 4 %53 = call float @distance(float noundef %46, float noundef %48, float noundef %50, float noundef %52) store float %53, ptr %8, align 4 %54 = load float, ptr %8, align 4 %55 = fdiv float %54, 0x4099255C20000000 %56 = load float, ptr %4, align 4 %57 = call float @calculate_calories(float noundef %55, float noundef %56) store float %57, ptr %9, align 4 %58 = load float, ptr %8, align 4 %59 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 2 %60 = load float, ptr %59, align 4 %61 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %62 = load float, ptr %61, align 4 %63 = call float @calculate_slope(float noundef %58, float noundef %60, float noundef %62) store float %63, ptr %10, align 4 %64 = load float, ptr %10, align 4 %65 = load float, ptr %8, align 4 %66 = call float @calculate_virtual_distance(float noundef %64, float noundef %65) store float %66, ptr %12, align 4 %67 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 2 %68 = load float, ptr %67, align 4 %69 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %70 = load float, ptr %69, align 4 %71 = fsub float %68, %70 %72 = call float @abs(float noundef %71) %73 = load float, ptr %8, align 4 %74 = fdiv float %72, %73 store float %74, ptr %11, align 4 %75 = load float, ptr %11, align 4 %76 = load float, ptr %4, align 4 %77 = fpext float %76 to double %78 = fmul double %77, 4.534920e-01 %79 = fptrunc double %78 to float %80 = load float, ptr %12, align 4 %81 = call float @calculate_work(float noundef %75, float noundef %79, float noundef %80) store float %81, ptr %13, align 4 %82 = load float, ptr %12, align 4 %83 = load float, ptr %9, align 4 %84 = load float, ptr %13, align 4 %85 = fpext float %84 to double %86 = fdiv double %85, 4.184000e+00 %87 = fptrunc double %86 to float %88 = call float @calculate_actual_distance(float noundef %82, float noundef %83, float noundef %87) store float %88, ptr %14, align 4 %89 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0 %90 = load float, ptr %89, align 4 %91 = fpext float %90 to double %92 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 1 %93 = load float, ptr %92, align 4 %94 = fpext float %93 to double %95 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 2 %96 = load float, ptr %95, align 4 %97 = fpext float %96 to double %98 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0 %99 = load float, ptr %98, align 4 %100 = fpext float %99 to double %101 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 1 %102 = load float, ptr %101, align 4 %103 = fpext float %102 to double %104 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2 %105 = load float, ptr %104, align 4 %106 = fpext float %105 to double %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %91, double noundef %94, double noundef %97, double noundef %100, double noundef %103, double noundef %106) %108 = load float, ptr %8, align 4 %109 = fpext float %108 to double %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %109) %111 = load float, ptr %9, align 4 %112 = fpext float %111 to double %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %112) %114 = load float, ptr %10, align 4 %115 = fpext float %114 to double %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %115) %117 = load float, ptr %11, align 4 %118 = fpext float %117 to double %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %118) %120 = load float, ptr %12, align 4 %121 = fpext float %120 to double %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %121) %123 = load float, ptr %13, align 4 %124 = fpext float %123 to double %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %124) %126 = load float, ptr %14, align 4 %127 = fpext float %126 to double %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %127) %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %130 = load ptr, ptr %5, align 8 %131 = call i32 @feof(ptr noundef %130) %132 = icmp ne i32 %131, 0 %133 = xor i1 %132, true br i1 %133, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %134 134: ; preds = %._crit_edge, %2 %135 = load ptr, ptr %5, align 8 %136 = call i32 @fclose(ptr noundef %135) ret void } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare float @distance(float noundef, float noundef, float noundef, float noundef) #1 declare float @calculate_calories(float noundef, float noundef) #1 declare float @calculate_slope(float noundef, float noundef, float noundef) #1 declare float @calculate_virtual_distance(float noundef, float noundef) #1 declare float @abs(float noundef) #1 declare float @calculate_work(float noundef, float noundef, float noundef) #1 declare float @calculate_actual_distance(float noundef, float noundef, float noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpaym9jtl0.c' source_filename = "/tmp/tmpaym9jtl0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c";\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @compile_send_string(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %34, %3 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %37 12: ; preds = %8 %13 = load i32, ptr %7, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %23, label %15 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %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 @strcpy(ptr noundef %16, ptr noundef %21) br label %33 23: ; preds = %12 %24 = load ptr, ptr %5, align 8 %25 = call i32 @strcat(ptr noundef %24, ptr noundef @.str) %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcat(ptr noundef %26, ptr noundef %31) br label %33 33: ; preds = %23, %15 br label %34 34: ; preds = %33 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %8, !llvm.loop !6 37: ; preds = %8 %38 = load ptr, ptr %5, align 8 %39 = call i32 @strcat(ptr noundef %38, ptr noundef @.str) ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaym9jtl0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c";\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @compile_send_string(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %39 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %33 %12 = load i32, ptr %7, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %22, label %14 14: ; preds = %11 %15 = load ptr, ptr %5, align 8 %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 @strcpy(ptr noundef %15, ptr noundef %20) br label %32 22: ; preds = %11 %23 = load ptr, ptr %5, align 8 %24 = call i32 @strcat(ptr noundef %23, ptr noundef @.str) %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = call i32 @strcat(ptr noundef %25, ptr noundef %30) br label %32 32: ; preds = %22, %14 br label %33 33: ; preds = %32 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %6, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %3 %40 = load ptr, ptr %5, align 8 %41 = call i32 @strcat(ptr noundef %40, ptr noundef @.str) ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqtdqp5cs.c' source_filename = "/tmp/tmpqtdqp5cs.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"Enter the required term number:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @CLOCKS_PER_SEC = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"fibonacci-2 operation took time: %f sec\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"%d th term of fibonacci term is %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"=====================================\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"fibonacci-1 operation took time: %f sec\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 double, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %8 = call i32 (...) @clock() store i32 %8, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = call i32 @fibonacci2(i32 noundef %9) store i32 %10, ptr %2, align 4 %11 = call i32 (...) @clock() %12 = load i32, ptr %4, align 4 %13 = sub nsw i32 %11, %12 %14 = load i32, ptr @CLOCKS_PER_SEC, align 4 %15 = sdiv i32 %13, %14 %16 = sitofp i32 %15 to double store double %16, ptr %3, align 8 %17 = load double, ptr %3, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %17) %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %2, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %19, i32 noundef %20) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %23 = call i32 (...) @clock() store i32 %23, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = call i32 @fibonacci1(i32 noundef %24) store i32 %25, ptr %2, align 4 %26 = call i32 (...) @clock() %27 = load i32, ptr %4, align 4 %28 = sub nsw i32 %26, %27 %29 = load i32, ptr @CLOCKS_PER_SEC, align 4 %30 = sdiv i32 %28, %29 %31 = sitofp i32 %30 to double store double %31, ptr %3, align 8 %32 = load double, ptr %3, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %32) %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %2, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34, i32 noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @clock(...) #1 declare i32 @fibonacci2(i32 noundef) #1 declare i32 @fibonacci1(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/tmpqtdqp5cs.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"Enter the required term number:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @CLOCKS_PER_SEC = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"fibonacci-2 operation took time: %f sec\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"%d th term of fibonacci term is %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"=====================================\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"fibonacci-1 operation took time: %f sec\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 double, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %8 = call i32 (...) @clock() store i32 %8, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = call i32 @fibonacci2(i32 noundef %9) store i32 %10, ptr %2, align 4 %11 = call i32 (...) @clock() %12 = load i32, ptr %4, align 4 %13 = sub nsw i32 %11, %12 %14 = load i32, ptr @CLOCKS_PER_SEC, align 4 %15 = sdiv i32 %13, %14 %16 = sitofp i32 %15 to double store double %16, ptr %3, align 8 %17 = load double, ptr %3, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %17) %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %2, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %19, i32 noundef %20) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %23 = call i32 (...) @clock() store i32 %23, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = call i32 @fibonacci1(i32 noundef %24) store i32 %25, ptr %2, align 4 %26 = call i32 (...) @clock() %27 = load i32, ptr %4, align 4 %28 = sub nsw i32 %26, %27 %29 = load i32, ptr @CLOCKS_PER_SEC, align 4 %30 = sdiv i32 %28, %29 %31 = sitofp i32 %30 to double store double %31, ptr %3, align 8 %32 = load double, ptr %3, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %32) %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %2, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34, i32 noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @clock(...) #1 declare i32 @fibonacci2(i32 noundef) #1 declare i32 @fibonacci1(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/tmpe98t39qy.c' source_filename = "/tmp/tmpe98t39qy.c" target datalayout = "e-m:e-p270: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/tmpe98t39qy.c" target datalayout = "e-m:e-p270: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/tmpbls3m1i2.c' source_filename = "/tmp/tmpbls3m1i2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_round_bracket_before_above_word(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %6 6: ; preds = %2, %24 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ult ptr %7, %8 br i1 %9, label %10, label %11 10: ; preds = %6 store ptr null, ptr %3, align 8 br label %27 11: ; preds = %6 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 61 br i1 %15, label %16, label %17 16: ; preds = %11 store ptr null, ptr %3, align 8 br label %27 17: ; preds = %11 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 40 br i1 %21, label %22, label %24 22: ; preds = %17 %23 = load ptr, ptr %4, align 8 store ptr %23, ptr %3, align 8 br label %27 24: ; preds = %17 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 -1 store ptr %26, ptr %4, align 8 br label %6 27: ; preds = %22, %16, %10 %28 = load ptr, ptr %3, align 8 ret ptr %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbls3m1i2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_round_bracket_before_above_word(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp ult ptr %6, %7 br i1 %8, label %9, label %.lr.ph .lr.ph: ; preds = %2 br label %10 ._crit_edge: ; preds = %23 br label %9 9: ; preds = %._crit_edge, %2 store ptr null, ptr %3, align 8 br label %29 10: ; preds = %.lr.ph, %23 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 61 br i1 %14, label %15, label %16 15: ; preds = %10 store ptr null, ptr %3, align 8 br label %29 16: ; preds = %10 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 40 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 store ptr %22, ptr %3, align 8 br label %29 23: ; preds = %16 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 -1 store ptr %25, ptr %4, align 8 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %5, align 8 %28 = icmp ult ptr %26, %27 br i1 %28, label %._crit_edge, label %10 29: ; preds = %21, %15, %9 %30 = load ptr, ptr %3, align 8 ret ptr %30 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm436ht59.c' source_filename = "/tmp/tmpm436ht59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_TEXTURE_2D = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @GL_TEXTURE_2D, align 4 %4 = call i32 @glEnable(i32 noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @init_textures(ptr noundef %5) ret void } declare i32 @glEnable(i32 noundef) #1 declare i32 @init_textures(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/tmpm436ht59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_TEXTURE_2D = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @GL_TEXTURE_2D, align 4 %4 = call i32 @glEnable(i32 noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @init_textures(ptr noundef %5) ret void } declare i32 @glEnable(i32 noundef) #1 declare i32 @init_textures(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/tmpb433310d.c' source_filename = "/tmp/tmpb433310d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call double @__BUILTIN_DAED_FBETWEEN(double noundef 1.600000e+01, double noundef 1.610000e+01) store double %9, ptr %5, align 8 %10 = load double, ptr %5, align 8 %11 = fdiv double 1.000000e+00, %10 store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 store double %12, ptr %3, align 8 %13 = load double, ptr %2, align 8 %14 = load double, ptr %3, align 8 %15 = fadd double %13, %14 %16 = fmul double 2.000000e-08, %15 %17 = load double, ptr %2, align 8 %18 = load double, ptr %3, align 8 %19 = fadd double %17, %18 %20 = fdiv double %16, %19 store double %20, ptr %4, align 8 store i32 0, ptr %8, align 4 br label %21 21: ; preds = %25, %0 %22 = load double, ptr %4, align 8 %23 = call double @llvm.fabs.f64(double %22) %24 = fcmp ogt double %23, 1.000000e-08 br i1 %24, label %25, label %51 25: ; preds = %21 %26 = load double, ptr %2, align 8 %27 = load double, ptr %5, align 8 %28 = load double, ptr %2, align 8 %29 = fmul double %27, %28 %30 = load double, ptr %2, align 8 %31 = fmul double %29, %30 %32 = load double, ptr %5, align 8 %33 = fmul double 3.750000e-01, %32 %34 = load double, ptr %2, align 8 %35 = fmul double %33, %34 %36 = load double, ptr %2, align 8 %37 = call double @llvm.fmuladd.f64(double %35, double %36, double -1.250000e+00) %38 = call double @llvm.fmuladd.f64(double %31, double %37, double 1.875000e+00) %39 = fmul double %26, %38 store double %39, ptr %3, align 8 %40 = load double, ptr %3, align 8 %41 = load double, ptr %2, align 8 %42 = fsub double %40, %41 %43 = fmul double 2.000000e+00, %42 %44 = load double, ptr %2, align 8 %45 = load double, ptr %3, align 8 %46 = fadd double %44, %45 %47 = fdiv double %43, %46 store double %47, ptr %4, align 8 %48 = load double, ptr %3, align 8 store double %48, ptr %2, align 8 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 br label %21, !llvm.loop !6 51: ; preds = %21 %52 = load double, ptr %3, align 8 %53 = fdiv double 1.000000e+00, %52 store double %53, ptr %6, align 8 %54 = load double, ptr %6, align 8 %55 = load double, ptr %5, align 8 %56 = call double @sqrt(double noundef %55) #4 %57 = fsub double %54, %56 store double %57, ptr %7, align 8 ret i32 0 } declare double @__BUILTIN_DAED_FBETWEEN(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb433310d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call double @__BUILTIN_DAED_FBETWEEN(double noundef 1.600000e+01, double noundef 1.610000e+01) store double %9, ptr %5, align 8 %10 = load double, ptr %5, align 8 %11 = fdiv double 1.000000e+00, %10 store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 store double %12, ptr %3, align 8 %13 = load double, ptr %2, align 8 %14 = load double, ptr %3, align 8 %15 = fadd double %13, %14 %16 = fmul double 2.000000e-08, %15 %17 = load double, ptr %2, align 8 %18 = load double, ptr %3, align 8 %19 = fadd double %17, %18 %20 = fdiv double %16, %19 store double %20, ptr %4, align 8 store i32 0, ptr %8, align 4 %21 = load double, ptr %4, align 8 %22 = call double @llvm.fabs.f64(double %21) %23 = fcmp ogt double %22, 1.000000e-08 br i1 %23, label %.lr.ph, label %53 .lr.ph: ; preds = %0 br label %24 24: ; preds = %.lr.ph, %24 %25 = load double, ptr %2, align 8 %26 = load double, ptr %5, align 8 %27 = load double, ptr %2, align 8 %28 = fmul double %26, %27 %29 = load double, ptr %2, align 8 %30 = fmul double %28, %29 %31 = load double, ptr %5, align 8 %32 = fmul double 3.750000e-01, %31 %33 = load double, ptr %2, align 8 %34 = fmul double %32, %33 %35 = load double, ptr %2, align 8 %36 = call double @llvm.fmuladd.f64(double %34, double %35, double -1.250000e+00) %37 = call double @llvm.fmuladd.f64(double %30, double %36, double 1.875000e+00) %38 = fmul double %25, %37 store double %38, ptr %3, align 8 %39 = load double, ptr %3, align 8 %40 = load double, ptr %2, align 8 %41 = fsub double %39, %40 %42 = fmul double 2.000000e+00, %41 %43 = load double, ptr %2, align 8 %44 = load double, ptr %3, align 8 %45 = fadd double %43, %44 %46 = fdiv double %42, %45 store double %46, ptr %4, align 8 %47 = load double, ptr %3, align 8 store double %47, ptr %2, align 8 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %8, align 4 %50 = load double, ptr %4, align 8 %51 = call double @llvm.fabs.f64(double %50) %52 = fcmp ogt double %51, 1.000000e-08 br i1 %52, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %53 53: ; preds = %._crit_edge, %0 %54 = load double, ptr %3, align 8 %55 = fdiv double 1.000000e+00, %54 store double %55, ptr %6, align 8 %56 = load double, ptr %6, align 8 %57 = load double, ptr %5, align 8 %58 = call double @sqrt(double noundef %57) #4 %59 = fsub double %56, %58 store double %59, ptr %7, align 8 ret i32 0 } declare double @__BUILTIN_DAED_FBETWEEN(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_h28gzba.c' source_filename = "/tmp/tmp_h28gzba.c" target datalayout = "e-m:e-p270: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_h28gzba.c" target datalayout = "e-m:e-p270: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/tmpb0axlpm0.c' source_filename = "/tmp/tmpb0axlpm0.c" target datalayout = "e-m:e-p270: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/tmpb0axlpm0.c" target datalayout = "e-m:e-p270: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/tmpx9d4m9yq.c' source_filename = "/tmp/tmpx9d4m9yq.c" target datalayout = "e-m:e-p270: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/tmpx9d4m9yq.c" target datalayout = "e-m:e-p270: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/tmp1llaafsa.c' source_filename = "/tmp/tmp1llaafsa.c" target datalayout = "e-m:e-p270: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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_dos_eol(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca [1000 x i8], align 16 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %5, align 8 %9 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %10 = load ptr, ptr %5, align 8 %11 = call i32 @fgets(ptr noundef %9, i32 noundef 1000, ptr noundef %10) store i32 0, ptr %6, align 4 br label %12 12: ; preds = %26, %1 %13 = load i32, ptr %6, align 4 %14 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %15 = call i32 @strlen(ptr noundef %14) %16 = icmp slt i32 %13, %15 br i1 %16, label %17, label %29 17: ; preds = %12 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 13 br i1 %23, label %24, label %25 24: ; preds = %17 store i32 1, ptr %3, align 4 br label %29 25: ; preds = %17 br label %26 26: ; preds = %25 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %12, !llvm.loop !6 29: ; preds = %24, %12 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1llaafsa.c" target datalayout = "e-m:e-p270: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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_dos_eol(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca [1000 x i8], align 16 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %5, align 8 %9 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %10 = load ptr, ptr %5, align 8 %11 = call i32 @fgets(ptr noundef %9, i32 noundef 1000, ptr noundef %10) store i32 0, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %14 = call i32 @strlen(ptr noundef %13) %15 = icmp slt i32 %12, %14 br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %25 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 13 br i1 %22, label %23, label %24 23: ; preds = %16 store i32 1, ptr %3, align 4 br label %31 24: ; preds = %16 br label %25 25: ; preds = %24 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = call i32 @strlen(ptr noundef %13) %30 = icmp slt i32 %28, %29 br i1 %30, label %16, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %25 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %31 31: ; preds = %.loopexit, %23 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnm18yp55.c' source_filename = "/tmp/tmpnm18yp55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mazeGenerator(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 i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i64 0, ptr %7, align 8 br label %13 13: ; preds = %37, %3 %14 = load i64, ptr %7, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = icmp ult i64 %14, %16 br i1 %17, label %18, label %40 18: ; preds = %13 store i64 0, ptr %8, align 8 br label %19 19: ; preds = %33, %18 %20 = load i64, ptr %8, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = icmp ult i64 %20, %22 br i1 %23, label %24, label %36 24: ; preds = %19 %25 = load ptr, ptr %4, align 8 %26 = load i64, ptr %7, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = mul i64 %26, %28 %30 = load i64, ptr %8, align 8 %31 = add i64 %29, %30 %32 = getelementptr inbounds i8, ptr %25, i64 %31 store i8 35, ptr %32, align 1 br label %33 33: ; preds = %24 %34 = load i64, ptr %8, align 8 %35 = add i64 %34, 1 store i64 %35, ptr %8, align 8 br label %19, !llvm.loop !6 36: ; preds = %19 br label %37 37: ; preds = %36 %38 = load i64, ptr %7, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %7, align 8 br label %13, !llvm.loop !8 40: ; preds = %13 %41 = call i32 (...) @rand() %42 = srem i32 %41, 4 switch i32 %42, label %71 [ i32 0, label %43 i32 1, label %49 i32 2, label %55 i32 3, label %63 ] 43: ; preds = %40 store i32 0, ptr %9, align 4 %44 = call i32 (...) @rand() %45 = load i32, ptr %6, align 4 %46 = sub nsw i32 %45, 2 %47 = srem i32 %44, %46 %48 = add nsw i32 %47, 1 store i32 %48, ptr %10, align 4 br label %71 49: ; preds = %40 %50 = call i32 (...) @rand() %51 = load i32, ptr %5, align 4 %52 = sub nsw i32 %51, 2 %53 = srem i32 %50, %52 %54 = add nsw i32 %53, 1 store i32 %54, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %71 55: ; preds = %40 %56 = load i32, ptr %5, align 4 %57 = sub nsw i32 %56, 1 store i32 %57, ptr %9, align 4 %58 = call i32 (...) @rand() %59 = load i32, ptr %6, align 4 %60 = sub nsw i32 %59, 2 %61 = srem i32 %58, %60 %62 = add nsw i32 %61, 1 store i32 %62, ptr %10, align 4 br label %71 63: ; preds = %40 %64 = call i32 (...) @rand() %65 = load i32, ptr %5, align 4 %66 = sub nsw i32 %65, 2 %67 = srem i32 %64, %66 %68 = add nsw i32 %67, 1 store i32 %68, ptr %9, align 4 %69 = load i32, ptr %6, align 4 %70 = sub nsw i32 %69, 1 store i32 %70, ptr %10, align 4 br label %71 71: ; preds = %40, %63, %55, %49, %43 %72 = load i32, ptr %5, align 4 %73 = load i32, ptr %6, align 4 %74 = load ptr, ptr %4, align 8 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %10, align 4 %77 = call i32 @dfsMaze(i32 noundef %72, i32 noundef %73, ptr noundef %74, i32 noundef %75, i32 noundef %76, ptr noundef %11, ptr noundef %12) %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %11, align 4 %80 = load i32, ptr %6, align 4 %81 = mul nsw i32 %79, %80 %82 = load i32, ptr %12, align 4 %83 = add nsw i32 %81, %82 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %78, i64 %84 store i8 46, ptr %85, align 1 ret void } declare i32 @rand(...) #1 declare i32 @dfsMaze(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnm18yp55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mazeGenerator(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 i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i64 0, ptr %7, align 8 %13 = load i64, ptr %7, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = icmp ult i64 %13, %15 br i1 %16, label %.lr.ph2, label %46 .lr.ph2: ; preds = %3 br label %17 17: ; preds = %.lr.ph2, %39 store i64 0, ptr %8, align 8 %18 = load i64, ptr %8, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = icmp ult i64 %18, %20 br i1 %21, label %.lr.ph, label %38 .lr.ph: ; preds = %17 br label %22 22: ; preds = %.lr.ph, %31 %23 = load ptr, ptr %4, align 8 %24 = load i64, ptr %7, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 %24, %26 %28 = load i64, ptr %8, align 8 %29 = add i64 %27, %28 %30 = getelementptr inbounds i8, ptr %23, i64 %29 store i8 35, ptr %30, align 1 br label %31 31: ; preds = %22 %32 = load i64, ptr %8, align 8 %33 = add i64 %32, 1 store i64 %33, ptr %8, align 8 %34 = load i64, ptr %8, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = icmp ult i64 %34, %36 br i1 %37, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %38 38: ; preds = %._crit_edge, %17 br label %39 39: ; preds = %38 %40 = load i64, ptr %7, align 8 %41 = add i64 %40, 1 store i64 %41, ptr %7, align 8 %42 = load i64, ptr %7, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = icmp ult i64 %42, %44 br i1 %45, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %46 46: ; preds = %._crit_edge3, %3 %47 = call i32 (...) @rand() %48 = srem i32 %47, 4 switch i32 %48, label %77 [ i32 0, label %49 i32 1, label %55 i32 2, label %61 i32 3, label %69 ] 49: ; preds = %46 store i32 0, ptr %9, align 4 %50 = call i32 (...) @rand() %51 = load i32, ptr %6, align 4 %52 = sub nsw i32 %51, 2 %53 = srem i32 %50, %52 %54 = add nsw i32 %53, 1 store i32 %54, ptr %10, align 4 br label %77 55: ; preds = %46 %56 = call i32 (...) @rand() %57 = load i32, ptr %5, align 4 %58 = sub nsw i32 %57, 2 %59 = srem i32 %56, %58 %60 = add nsw i32 %59, 1 store i32 %60, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %77 61: ; preds = %46 %62 = load i32, ptr %5, align 4 %63 = sub nsw i32 %62, 1 store i32 %63, ptr %9, align 4 %64 = call i32 (...) @rand() %65 = load i32, ptr %6, align 4 %66 = sub nsw i32 %65, 2 %67 = srem i32 %64, %66 %68 = add nsw i32 %67, 1 store i32 %68, ptr %10, align 4 br label %77 69: ; preds = %46 %70 = call i32 (...) @rand() %71 = load i32, ptr %5, align 4 %72 = sub nsw i32 %71, 2 %73 = srem i32 %70, %72 %74 = add nsw i32 %73, 1 store i32 %74, ptr %9, align 4 %75 = load i32, ptr %6, align 4 %76 = sub nsw i32 %75, 1 store i32 %76, ptr %10, align 4 br label %77 77: ; preds = %69, %61, %55, %49, %46 %78 = load i32, ptr %5, align 4 %79 = load i32, ptr %6, align 4 %80 = load ptr, ptr %4, align 8 %81 = load i32, ptr %9, align 4 %82 = load i32, ptr %10, align 4 %83 = call i32 @dfsMaze(i32 noundef %78, i32 noundef %79, ptr noundef %80, i32 noundef %81, i32 noundef %82, ptr noundef %11, ptr noundef %12) %84 = load ptr, ptr %4, align 8 %85 = load i32, ptr %11, align 4 %86 = load i32, ptr %6, align 4 %87 = mul nsw i32 %85, %86 %88 = load i32, ptr %12, align 4 %89 = add nsw i32 %87, %88 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %84, i64 %90 store i8 46, ptr %91, align 1 ret void } declare i32 @rand(...) #1 declare i32 @dfsMaze(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpq20yxzbt.c' source_filename = "/tmp/tmpq20yxzbt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MV_PlayRaw(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = alloca ptr, align 8 %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 i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store i32 %8, ptr %18, align 4 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %11, align 4 %22 = load i32, ptr %12, align 4 %23 = load i32, ptr %13, align 4 %24 = load i32, ptr %14, align 4 %25 = load i32, ptr %15, align 4 %26 = load i32, ptr %16, align 4 %27 = load i32, ptr %17, align 4 %28 = load i32, ptr %18, align 4 %29 = call i32 @MV_PlayLoopedRaw(ptr noundef %20, i32 noundef %21, ptr noundef null, ptr noundef null, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28) store i32 %29, ptr %19, align 4 %30 = load i32, ptr %19, align 4 ret i32 %30 } declare i32 @MV_PlayLoopedRaw(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq20yxzbt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MV_PlayRaw(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = alloca ptr, align 8 %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 i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store i32 %8, ptr %18, align 4 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %11, align 4 %22 = load i32, ptr %12, align 4 %23 = load i32, ptr %13, align 4 %24 = load i32, ptr %14, align 4 %25 = load i32, ptr %15, align 4 %26 = load i32, ptr %16, align 4 %27 = load i32, ptr %17, align 4 %28 = load i32, ptr %18, align 4 %29 = call i32 @MV_PlayLoopedRaw(ptr noundef %20, i32 noundef %21, ptr noundef null, ptr noundef null, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28) store i32 %29, ptr %19, align 4 %30 = load i32, ptr %19, align 4 ret i32 %30 } declare i32 @MV_PlayLoopedRaw(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp_d1e5ps.c' source_filename = "/tmp/tmpp_d1e5ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_unreachable() #0 { %1 = call i32 (...) @exit_unreachable() ret void } declare i32 @exit_unreachable(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp_d1e5ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_unreachable() #0 { %1 = call i32 (...) @exit_unreachable() ret void } declare i32 @exit_unreachable(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp34t5j7eb.c' source_filename = "/tmp/tmp34t5j7eb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_binary.str = private unnamed_addr constant [5 x i8] c"Test\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"w+b\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_binary() #0 { %1 = alloca ptr, align 8 %2 = alloca [20 x i8], align 16 %3 = alloca [5 x i8], align 1 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.test_binary.str, i64 5, i1 false) %7 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @memset(ptr noundef %7, i8 noundef signext 65, i32 noundef 20) %9 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %10 = call ptr @fmemopen(ptr noundef %9, i32 noundef 20, ptr noundef @.str) store ptr %10, ptr %1, align 8 %11 = load ptr, ptr %1, align 8 %12 = icmp ne ptr %11, null %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %16 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %17 = call i64 @strlen(ptr noundef %16) %18 = load ptr, ptr %1, align 8 %19 = call i64 @fwrite(ptr noundef %15, i32 noundef 1, i64 noundef %17, ptr noundef %18) store i64 %19, ptr %4, align 8 %20 = load i64, ptr %4, align 8 %21 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %22 = call i64 @strlen(ptr noundef %21) %23 = icmp eq i64 %20, %22 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) store i32 0, ptr %6, align 4 br label %26 26: ; preds = %39, %0 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = icmp ult i64 %28, 20 br i1 %29, label %30, label %42 30: ; preds = %26 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 %37 = zext i1 %36 to i32 %38 = call i32 @assert(i32 noundef %37) br label %39 39: ; preds = %30 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 br label %26, !llvm.loop !6 42: ; preds = %26 %43 = load ptr, ptr %1, align 8 %44 = call i32 @fclose(ptr noundef %43) store i32 %44, ptr %5, align 4 %45 = load i32, ptr %5, align 4 %46 = icmp eq i32 %45, 0 %47 = zext i1 %46 to i32 %48 = call i32 @assert(i32 noundef %47) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #2 declare ptr @fmemopen(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @assert(i32 noundef) #2 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp34t5j7eb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_binary.str = private unnamed_addr constant [5 x i8] c"Test\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"w+b\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_binary() #0 { %1 = alloca ptr, align 8 %2 = alloca [20 x i8], align 16 %3 = alloca [5 x i8], align 1 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.test_binary.str, i64 5, i1 false) %7 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @memset(ptr noundef %7, i8 noundef signext 65, i32 noundef 20) %9 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %10 = call ptr @fmemopen(ptr noundef %9, i32 noundef 20, ptr noundef @.str) store ptr %10, ptr %1, align 8 %11 = load ptr, ptr %1, align 8 %12 = icmp ne ptr %11, null %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %16 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %17 = call i64 @strlen(ptr noundef %16) %18 = load ptr, ptr %1, align 8 %19 = call i64 @fwrite(ptr noundef %15, i32 noundef 1, i64 noundef %17, ptr noundef %18) store i64 %19, ptr %4, align 8 %20 = load i64, ptr %4, align 8 %21 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %22 = call i64 @strlen(ptr noundef %21) %23 = icmp eq i64 %20, %22 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) store i32 0, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = icmp ult i64 %27, 20 br i1 %28, label %.lr.ph, label %44 .lr.ph: ; preds = %0 br label %29 29: ; preds = %.lr.ph, %38 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 0 %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) br label %38 38: ; preds = %29 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %6, align 4 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = icmp ult i64 %42, 20 br i1 %43, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %0 %45 = load ptr, ptr %1, align 8 %46 = call i32 @fclose(ptr noundef %45) store i32 %46, ptr %5, align 4 %47 = load i32, ptr %5, align 4 %48 = icmp eq i32 %47, 0 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #2 declare ptr @fmemopen(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @assert(i32 noundef) #2 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp78z3hsqs.c' source_filename = "/tmp/tmp78z3hsqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca 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 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 br label %11 11: ; preds = %26, %4 %12 = load i32, ptr %10, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %15, label %29 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %10, align 4 %20 = call i64 @check(ptr noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %15 %23 = load i32, ptr %9, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %9, align 4 br label %25 25: ; preds = %22, %15 br label %26 26: ; preds = %25 %27 = load i32, ptr %10, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %10, align 4 br label %11, !llvm.loop !6 29: ; preds = %11 %30 = load i32, ptr %9, align 4 ret i32 %30 } declare i64 @check(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp78z3hsqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca 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 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 %11 = load i32, ptr %10, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %.lr.ph, label %31 .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %25 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %10, align 4 %19 = call i64 @check(ptr noundef %15, ptr noundef %16, i32 noundef %17, i32 noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %14 %22 = load i32, ptr %9, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %9, align 4 br label %24 24: ; preds = %21, %14 br label %25 25: ; preds = %24 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %10, align 4 %28 = load i32, ptr %10, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp sle i32 %28, %29 br i1 %30, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %4 %32 = load i32, ptr %9, align 4 ret i32 %32 } declare i64 @check(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjamj3xke.c' source_filename = "/tmp/tmpjamj3xke.c" target datalayout = "e-m:e-p270: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.termios = type { i32, i32, i32, ptr, i32 } @.str = private unnamed_addr constant [31 x i8] c"Error from tcgetattr [%d]: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @IGNBRK = dso_local global i32 0, align 4 @BRKINT = dso_local global i32 0, align 4 @PARMRK = dso_local global i32 0, align 4 @ISTRIP = dso_local global i32 0, align 4 @INLCR = dso_local global i32 0, align 4 @IGNCR = dso_local global i32 0, align 4 @ICRNL = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHONL = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @IEXTEN = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @TCSANOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"Error from tcsetattr [%d]: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SetInterfaceAttributes(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.termios, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = call i64 @tcgetattr(i32 noundef %7, ptr noundef %6) %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr @errno, align 4 %13 = call ptr @strerror(i32 noundef %12) %14 = call i32 @printf(ptr noundef @.str, i32 noundef %11, ptr noundef %13) store i32 -1, ptr %3, align 4 br label %104 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %18) %20 = load i32, ptr @CLOCAL, align 4 %21 = load i32, ptr @CREAD, align 4 %22 = or i32 %20, %21 %23 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %24 = load i32, ptr %23, align 8 %25 = or i32 %24, %22 store i32 %25, ptr %23, align 8 %26 = load i32, ptr @CSIZE, align 4 %27 = xor i32 %26, -1 %28 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %29 = load i32, ptr %28, align 8 %30 = and i32 %29, %27 store i32 %30, ptr %28, align 8 %31 = load i32, ptr @CS8, align 4 %32 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %33 = load i32, ptr %32, align 8 %34 = or i32 %33, %31 store i32 %34, ptr %32, align 8 %35 = load i32, ptr @PARENB, align 4 %36 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %37 = load i32, ptr %36, align 8 %38 = or i32 %37, %35 store i32 %38, ptr %36, align 8 %39 = load i32, ptr @CSTOPB, align 4 %40 = xor i32 %39, -1 %41 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %42 = load i32, ptr %41, align 8 %43 = and i32 %42, %40 store i32 %43, ptr %41, align 8 %44 = load i32, ptr @CRTSCTS, align 4 %45 = xor i32 %44, -1 %46 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %47 = load i32, ptr %46, align 8 %48 = and i32 %47, %45 store i32 %48, ptr %46, align 8 %49 = load i32, ptr @IGNBRK, align 4 %50 = load i32, ptr @BRKINT, align 4 %51 = or i32 %49, %50 %52 = load i32, ptr @PARMRK, align 4 %53 = or i32 %51, %52 %54 = load i32, ptr @ISTRIP, align 4 %55 = or i32 %53, %54 %56 = load i32, ptr @INLCR, align 4 %57 = or i32 %55, %56 %58 = load i32, ptr @IGNCR, align 4 %59 = or i32 %57, %58 %60 = load i32, ptr @ICRNL, align 4 %61 = or i32 %59, %60 %62 = load i32, ptr @IXON, align 4 %63 = or i32 %61, %62 %64 = xor i32 %63, -1 %65 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1 %66 = load i32, ptr %65, align 4 %67 = and i32 %66, %64 store i32 %67, ptr %65, align 4 %68 = load i32, ptr @ECHO, align 4 %69 = load i32, ptr @ECHONL, align 4 %70 = or i32 %68, %69 %71 = load i32, ptr @ICANON, align 4 %72 = or i32 %70, %71 %73 = load i32, ptr @ISIG, align 4 %74 = or i32 %72, %73 %75 = load i32, ptr @IEXTEN, align 4 %76 = or i32 %74, %75 %77 = xor i32 %76, -1 %78 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2 %79 = load i32, ptr %78, align 8 %80 = and i32 %79, %77 store i32 %80, ptr %78, align 8 %81 = load i32, ptr @OPOST, align 4 %82 = xor i32 %81, -1 %83 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 4 %84 = load i32, ptr %83, align 8 %85 = and i32 %84, %82 store i32 %85, ptr %83, align 8 %86 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 %87 = load ptr, ptr %86, align 8 %88 = load i64, ptr @VMIN, align 8 %89 = getelementptr inbounds i32, ptr %87, i64 %88 store i32 0, ptr %89, align 4 %90 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 %91 = load ptr, ptr %90, align 8 %92 = load i64, ptr @VTIME, align 8 %93 = getelementptr inbounds i32, ptr %91, i64 %92 store i32 1, ptr %93, align 4 %94 = load i32, ptr %4, align 4 %95 = load i32, ptr @TCSANOW, align 4 %96 = call i64 @tcsetattr(i32 noundef %94, i32 noundef %95, ptr noundef %6) %97 = icmp ne i64 %96, 0 br i1 %97, label %98, label %103 98: ; preds = %15 %99 = load i32, ptr %4, align 4 %100 = load i32, ptr @errno, align 4 %101 = call ptr @strerror(i32 noundef %100) %102 = call i32 @printf(ptr noundef @.str.1, i32 noundef %99, ptr noundef %101) store i32 -1, ptr %3, align 4 br label %104 103: ; preds = %15 store i32 0, ptr %3, align 4 br label %104 104: ; preds = %103, %98, %10 %105 = load i32, ptr %3, align 4 ret i32 %105 } declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjamj3xke.c" target datalayout = "e-m:e-p270: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.termios = type { i32, i32, i32, ptr, i32 } @.str = private unnamed_addr constant [31 x i8] c"Error from tcgetattr [%d]: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @IGNBRK = dso_local global i32 0, align 4 @BRKINT = dso_local global i32 0, align 4 @PARMRK = dso_local global i32 0, align 4 @ISTRIP = dso_local global i32 0, align 4 @INLCR = dso_local global i32 0, align 4 @IGNCR = dso_local global i32 0, align 4 @ICRNL = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHONL = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @IEXTEN = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @TCSANOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"Error from tcsetattr [%d]: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SetInterfaceAttributes(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.termios, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = call i64 @tcgetattr(i32 noundef %7, ptr noundef %6) %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr @errno, align 4 %13 = call ptr @strerror(i32 noundef %12) %14 = call i32 @printf(ptr noundef @.str, i32 noundef %11, ptr noundef %13) store i32 -1, ptr %3, align 4 br label %104 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = call i32 @cfsetospeed(ptr noundef %6, i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = call i32 @cfsetispeed(ptr noundef %6, i32 noundef %18) %20 = load i32, ptr @CLOCAL, align 4 %21 = load i32, ptr @CREAD, align 4 %22 = or i32 %20, %21 %23 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %24 = load i32, ptr %23, align 8 %25 = or i32 %24, %22 store i32 %25, ptr %23, align 8 %26 = load i32, ptr @CSIZE, align 4 %27 = xor i32 %26, -1 %28 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %29 = load i32, ptr %28, align 8 %30 = and i32 %29, %27 store i32 %30, ptr %28, align 8 %31 = load i32, ptr @CS8, align 4 %32 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %33 = load i32, ptr %32, align 8 %34 = or i32 %33, %31 store i32 %34, ptr %32, align 8 %35 = load i32, ptr @PARENB, align 4 %36 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %37 = load i32, ptr %36, align 8 %38 = or i32 %37, %35 store i32 %38, ptr %36, align 8 %39 = load i32, ptr @CSTOPB, align 4 %40 = xor i32 %39, -1 %41 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %42 = load i32, ptr %41, align 8 %43 = and i32 %42, %40 store i32 %43, ptr %41, align 8 %44 = load i32, ptr @CRTSCTS, align 4 %45 = xor i32 %44, -1 %46 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %47 = load i32, ptr %46, align 8 %48 = and i32 %47, %45 store i32 %48, ptr %46, align 8 %49 = load i32, ptr @IGNBRK, align 4 %50 = load i32, ptr @BRKINT, align 4 %51 = or i32 %49, %50 %52 = load i32, ptr @PARMRK, align 4 %53 = or i32 %51, %52 %54 = load i32, ptr @ISTRIP, align 4 %55 = or i32 %53, %54 %56 = load i32, ptr @INLCR, align 4 %57 = or i32 %55, %56 %58 = load i32, ptr @IGNCR, align 4 %59 = or i32 %57, %58 %60 = load i32, ptr @ICRNL, align 4 %61 = or i32 %59, %60 %62 = load i32, ptr @IXON, align 4 %63 = or i32 %61, %62 %64 = xor i32 %63, -1 %65 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 1 %66 = load i32, ptr %65, align 4 %67 = and i32 %66, %64 store i32 %67, ptr %65, align 4 %68 = load i32, ptr @ECHO, align 4 %69 = load i32, ptr @ECHONL, align 4 %70 = or i32 %68, %69 %71 = load i32, ptr @ICANON, align 4 %72 = or i32 %70, %71 %73 = load i32, ptr @ISIG, align 4 %74 = or i32 %72, %73 %75 = load i32, ptr @IEXTEN, align 4 %76 = or i32 %74, %75 %77 = xor i32 %76, -1 %78 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 2 %79 = load i32, ptr %78, align 8 %80 = and i32 %79, %77 store i32 %80, ptr %78, align 8 %81 = load i32, ptr @OPOST, align 4 %82 = xor i32 %81, -1 %83 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 4 %84 = load i32, ptr %83, align 8 %85 = and i32 %84, %82 store i32 %85, ptr %83, align 8 %86 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 %87 = load ptr, ptr %86, align 8 %88 = load i64, ptr @VMIN, align 8 %89 = getelementptr inbounds i32, ptr %87, i64 %88 store i32 0, ptr %89, align 4 %90 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 3 %91 = load ptr, ptr %90, align 8 %92 = load i64, ptr @VTIME, align 8 %93 = getelementptr inbounds i32, ptr %91, i64 %92 store i32 1, ptr %93, align 4 %94 = load i32, ptr %4, align 4 %95 = load i32, ptr @TCSANOW, align 4 %96 = call i64 @tcsetattr(i32 noundef %94, i32 noundef %95, ptr noundef %6) %97 = icmp ne i64 %96, 0 br i1 %97, label %98, label %103 98: ; preds = %15 %99 = load i32, ptr %4, align 4 %100 = load i32, ptr @errno, align 4 %101 = call ptr @strerror(i32 noundef %100) %102 = call i32 @printf(ptr noundef @.str.1, i32 noundef %99, ptr noundef %101) store i32 -1, ptr %3, align 4 br label %104 103: ; preds = %15 store i32 0, ptr %3, align 4 br label %104 104: ; preds = %103, %98, %10 %105 = load i32, ptr %3, align 4 ret i32 %105 } declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeizazlg2.c' source_filename = "/tmp/tmpeizazlg2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"mkfifo\0A\00", align 1 @ENOENT = 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 @mkfifo(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 = call i32 @printf(ptr noundef @.str) %6 = load i32, ptr @ENOENT, align 4 store i32 %6, ptr @errno, align 4 ret i32 -1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeizazlg2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"mkfifo\0A\00", align 1 @ENOENT = 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 @mkfifo(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 = call i32 @printf(ptr noundef @.str) %6 = load i32, ptr @ENOENT, align 4 store i32 %6, ptr @errno, align 4 ret i32 -1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1ke6qea5.c' source_filename = "/tmp/tmp1ke6qea5.c" target datalayout = "e-m:e-p270: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"malloc\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"Range is %d\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_range(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %7, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %19, label %17 17: ; preds = %2 %18 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %69 19: ; preds = %2 br label %20 20: ; preds = %56, %19 %21 = load ptr, ptr %4, align 8 %22 = call i32 @feof(ptr noundef %21) %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true br i1 %24, label %25, label %57 25: ; preds = %20 %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %5, align 4 %28 = load ptr, ptr %4, align 8 %29 = call i32 @fread(ptr noundef %26, i32 noundef 4, i32 noundef %27, ptr noundef %28) store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %25 br label %57 33: ; preds = %25 store i32 0, ptr %9, align 4 br label %34 34: ; preds = %53, %33 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %56 38: ; preds = %34 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sgt i32 %43, %44 br i1 %45, label %46, label %52 46: ; preds = %38 %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %9, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = load i32, ptr %50, align 4 store i32 %51, ptr %6, align 4 br label %52 52: ; preds = %46, %38 br label %53 53: ; preds = %52 %54 = load i32, ptr %9, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %9, align 4 br label %34, !llvm.loop !6 56: ; preds = %34 br label %20, !llvm.loop !8 57: ; preds = %32, %20 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %6, align 4 %60 = load i32, ptr @stderr, align 4 %61 = load i32, ptr %6, align 4 %62 = call i32 @fprintf(i32 noundef %60, ptr noundef @.str.1, i32 noundef %61) %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr @SEEK_SET, align 4 %65 = call i32 @fseek(ptr noundef %63, i32 noundef 0, i32 noundef %64) %66 = load ptr, ptr %7, align 8 %67 = call i32 @free(ptr noundef %66) %68 = load i32, ptr %6, align 4 store i32 %68, ptr %3, align 4 br label %69 69: ; preds = %57, %17 %70 = load i32, ptr %3, align 4 ret i32 %70 } declare ptr @malloc(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ke6qea5.c" target datalayout = "e-m:e-p270: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"malloc\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"Range is %d\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_range(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %7, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %19, label %17 17: ; preds = %2 %18 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %74 19: ; preds = %2 %20 = load ptr, ptr %4, align 8 %21 = call i32 @feof(ptr noundef %20) %22 = icmp ne i32 %21, 0 %23 = xor i1 %22, true br i1 %23, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %19 br label %24 24: ; preds = %.lr.ph2, %57 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %5, align 4 %27 = load ptr, ptr %4, align 8 %28 = call i32 @fread(ptr noundef %25, i32 noundef 4, i32 noundef %26, ptr noundef %27) store i32 %28, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %24 br label %62 32: ; preds = %24 store i32 0, ptr %9, align 4 %33 = load i32, ptr %9, align 4 %34 = load i32, ptr %8, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph, label %57 .lr.ph: ; preds = %32 br label %36 36: ; preds = %.lr.ph, %51 %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %44, label %50 44: ; preds = %36 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %9, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 store i32 %49, ptr %6, align 4 br label %50 50: ; preds = %44, %36 br label %51 51: ; preds = %50 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %9, align 4 %54 = load i32, ptr %9, align 4 %55 = load i32, ptr %8, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %36, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %57 57: ; preds = %._crit_edge, %32 %58 = load ptr, ptr %4, align 8 %59 = call i32 @feof(ptr noundef %58) %60 = icmp ne i32 %59, 0 %61 = xor i1 %60, true br i1 %61, label %24, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %57 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %19 br label %62 62: ; preds = %.loopexit, %31 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %6, align 4 %65 = load i32, ptr @stderr, align 4 %66 = load i32, ptr %6, align 4 %67 = call i32 @fprintf(i32 noundef %65, ptr noundef @.str.1, i32 noundef %66) %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr @SEEK_SET, align 4 %70 = call i32 @fseek(ptr noundef %68, i32 noundef 0, i32 noundef %69) %71 = load ptr, ptr %7, align 8 %72 = call i32 @free(ptr noundef %71) %73 = load i32, ptr %6, align 4 store i32 %73, ptr %3, align 4 br label %74 74: ; preds = %62, %17 %75 = load i32, ptr %3, align 4 ret i32 %75 } declare ptr @malloc(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpz3c29l27.c' source_filename = "/tmp/tmpz3c29l27.c" target datalayout = "e-m:e-p270: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/tmpz3c29l27.c" target datalayout = "e-m:e-p270: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/tmpza598n1j.c' source_filename = "/tmp/tmpza598n1j.c" target datalayout = "e-m:e-p270: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/tmpza598n1j.c" target datalayout = "e-m:e-p270: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/tmp8vcenukx.c' source_filename = "/tmp/tmp8vcenukx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EACCES = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @F_SETLK = dso_local global i32 0, align 4 @F_WRLCK = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @SIGTERM = dso_local global i32 0, align 4 @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/tmp8vcenukx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EACCES = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @F_SETLK = dso_local global i32 0, align 4 @F_WRLCK = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @SIGTERM = dso_local global i32 0, align 4 @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/tmpxsigd69n.c' source_filename = "/tmp/tmpxsigd69n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @konnect_get_last_error() #0 { %1 = load i32, ptr @errno, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxsigd69n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @konnect_get_last_error() #0 { %1 = load i32, ptr @errno, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvqitugm4.c' source_filename = "/tmp/tmpvqitugm4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"No se ha podido reservar espacio de memoria.\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%i \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %106 17: ; preds = %0 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %5, align 4 %20 = call i32 @aleatorio(ptr noundef %18, i32 noundef %19) store i32 0, ptr %2, align 4 br label %21 21: ; preds = %73, %17 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %76 25: ; preds = %21 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %28 28: ; preds = %71, %25 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %72 32: ; preds = %28 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %2, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %37, %42 br i1 %43, label %44, label %68 44: ; preds = %32 %45 = load i32, ptr %3, align 4 store i32 %45, ptr %4, align 4 br label %46 46: ; preds = %62, %44 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 %49 = load i32, ptr %5, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %65 51: ; preds = %46 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %4, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = getelementptr inbounds i32, ptr %55, i64 1 %57 = load i32, ptr %56, align 4 %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 store i32 %57, ptr %61, align 4 br label %62 62: ; preds = %51 %63 = load i32, ptr %4, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %4, align 4 br label %46, !llvm.loop !6 65: ; preds = %46 %66 = load i32, ptr %5, align 4 %67 = add nsw i32 %66, -1 store i32 %67, ptr %5, align 4 br label %71 68: ; preds = %32 %69 = load i32, ptr %3, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %3, align 4 br label %71 71: ; preds = %68, %65 br label %28, !llvm.loop !8 72: ; preds = %28 br label %73 73: ; preds = %72 %74 = load i32, ptr %2, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %2, align 4 br label %21, !llvm.loop !9 76: ; preds = %21 %77 = load ptr, ptr %6, align 8 %78 = load i32, ptr %5, align 4 %79 = sext i32 %78 to i64 %80 = mul i64 %79, 4 %81 = trunc i64 %80 to i32 %82 = call i64 @realloc(ptr noundef %77, i32 noundef %81) %83 = inttoptr i64 %82 to ptr store ptr %83, ptr %6, align 8 %84 = load ptr, ptr %6, align 8 %85 = icmp eq ptr %84, null br i1 %85, label %86, label %88 86: ; preds = %76 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %105 88: ; preds = %76 store i32 0, ptr %2, align 4 br label %89 89: ; preds = %100, %88 %90 = load i32, ptr %2, align 4 %91 = load i32, ptr %5, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %93, label %103 93: ; preds = %89 %94 = load ptr, ptr %6, align 8 %95 = load i32, ptr %2, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %94, i64 %96 %98 = load i32, ptr %97, align 4 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %98) br label %100 100: ; preds = %93 %101 = load i32, ptr %2, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %2, align 4 br label %89, !llvm.loop !10 103: ; preds = %89 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %105 105: ; preds = %103, %86 br label %106 106: ; preds = %105, %15 %107 = call i32 @system(ptr noundef @.str.3) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @aleatorio(ptr noundef, i32 noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvqitugm4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"No se ha podido reservar espacio de memoria.\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%i \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %115 17: ; preds = %0 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %5, align 4 %20 = call i32 @aleatorio(ptr noundef %18, i32 noundef %19) store i32 0, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph5, label %83 .lr.ph5: ; preds = %17 br label %24 24: ; preds = %.lr.ph5, %77 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph2, label %76 .lr.ph2: ; preds = %24 br label %30 30: ; preds = %.lr.ph2, %72 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %2, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = icmp eq i32 %35, %40 br i1 %41, label %42, label %69 42: ; preds = %30 %43 = load i32, ptr %3, align 4 store i32 %43, ptr %4, align 4 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 %46 = load i32, ptr %5, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %.lr.ph, label %66 .lr.ph: ; preds = %42 br label %48 48: ; preds = %.lr.ph, %59 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %4, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = getelementptr inbounds i32, ptr %52, i64 1 %54 = load i32, ptr %53, align 4 %55 = load ptr, ptr %6, align 8 %56 = load i32, ptr %4, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 store i32 %54, ptr %58, align 4 br label %59 59: ; preds = %48 %60 = load i32, ptr %4, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %4, align 4 %62 = load i32, ptr %4, align 4 %63 = add nsw i32 %62, 1 %64 = load i32, ptr %5, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %66 66: ; preds = %._crit_edge, %42 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, -1 store i32 %68, ptr %5, align 4 br label %72 69: ; preds = %30 %70 = load i32, ptr %3, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %3, align 4 br label %72 72: ; preds = %69, %66 %73 = load i32, ptr %3, align 4 %74 = load i32, ptr %5, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %76 76: ; preds = %._crit_edge3, %24 br label %77 77: ; preds = %76 %78 = load i32, ptr %2, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %2, align 4 %80 = load i32, ptr %2, align 4 %81 = load i32, ptr %5, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %24, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %77 br label %83 83: ; preds = %._crit_edge6, %17 %84 = load ptr, ptr %6, align 8 %85 = load i32, ptr %5, align 4 %86 = sext i32 %85 to i64 %87 = mul i64 %86, 4 %88 = trunc i64 %87 to i32 %89 = call i64 @realloc(ptr noundef %84, i32 noundef %88) %90 = inttoptr i64 %89 to ptr store ptr %90, ptr %6, align 8 %91 = load ptr, ptr %6, align 8 %92 = icmp eq ptr %91, null br i1 %92, label %93, label %95 93: ; preds = %83 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %114 95: ; preds = %83 store i32 0, ptr %2, align 4 %96 = load i32, ptr %2, align 4 %97 = load i32, ptr %5, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %.lr.ph8, label %112 .lr.ph8: ; preds = %95 br label %99 99: ; preds = %.lr.ph8, %106 %100 = load ptr, ptr %6, align 8 %101 = load i32, ptr %2, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 %104 = load i32, ptr %103, align 4 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %104) br label %106 106: ; preds = %99 %107 = load i32, ptr %2, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %2, align 4 %109 = load i32, ptr %2, align 4 %110 = load i32, ptr %5, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %99, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %106 br label %112 112: ; preds = %._crit_edge9, %95 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %114 114: ; preds = %112, %93 br label %115 115: ; preds = %114, %15 %116 = call i32 @system(ptr noundef @.str.3) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @aleatorio(ptr noundef, i32 noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpnnqd8yp2.c' source_filename = "/tmp/tmpnnqd8yp2.c" target datalayout = "e-m:e-p270: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"Enter matrix dimensions (rows and columns): \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Matrix [%d][%d]: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Not symmetric\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"Not Symmetric\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"Symmetric\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %1, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %14 = load i32, ptr %2, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %3, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %4, align 8 %19 = mul nuw i64 %15, %17 %20 = alloca i32, i64 %19, align 16 store i64 %15, ptr %5, align 8 store i64 %17, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %48, %0 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %51 25: ; preds = %21 store i32 0, ptr %8, align 4 br label %26 26: ; preds = %44, %25 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %47 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32, i32 noundef %34) %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = mul nsw i64 %37, %17 %39 = getelementptr inbounds i32, ptr %20, i64 %38 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %42) br label %44 44: ; preds = %30 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 br label %26, !llvm.loop !6 47: ; preds = %26 br label %48 48: ; preds = %47 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 br label %21, !llvm.loop !8 51: ; preds = %21 %52 = load i32, ptr %2, align 4 %53 = load i32, ptr %3, align 4 %54 = icmp ne i32 %52, %53 br i1 %54, label %55, label %57 55: ; preds = %51 %56 = call i32 @puts(ptr noundef @.str.4) store i32 0, ptr %1, align 4 store i32 1, ptr %9, align 4 br label %97 57: ; preds = %51 store i32 0, ptr %10, align 4 br label %58 58: ; preds = %92, %57 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %3, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %95 62: ; preds = %58 store i32 0, ptr %11, align 4 br label %63 63: ; preds = %88, %62 %64 = load i32, ptr %11, align 4 %65 = load i32, ptr %2, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %91 67: ; preds = %63 %68 = load i32, ptr %11, align 4 %69 = sext i32 %68 to i64 %70 = mul nsw i64 %69, %17 %71 = getelementptr inbounds i32, ptr %20, i64 %70 %72 = load i32, ptr %10, 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 i32, ptr %10, align 4 %77 = sext i32 %76 to i64 %78 = mul nsw i64 %77, %17 %79 = getelementptr inbounds i32, ptr %20, i64 %78 %80 = load i32, ptr %11, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = icmp ne i32 %75, %83 br i1 %84, label %85, label %87 85: ; preds = %67 %86 = call i32 @puts(ptr noundef @.str.5) store i32 0, ptr %1, align 4 store i32 1, ptr %9, align 4 br label %97 87: ; preds = %67 br label %88 88: ; preds = %87 %89 = load i32, ptr %11, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %11, align 4 br label %63, !llvm.loop !9 91: ; preds = %63 br label %92 92: ; preds = %91 %93 = load i32, ptr %10, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %10, align 4 br label %58, !llvm.loop !10 95: ; preds = %58 %96 = call i32 @puts(ptr noundef @.str.6) store i32 0, ptr %1, align 4 store i32 1, ptr %9, align 4 br label %97 97: ; preds = %95, %85, %55 %98 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %98) %99 = load i32, ptr %1, align 4 ret i32 %99 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @puts(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnnqd8yp2.c" target datalayout = "e-m:e-p270: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"Enter matrix dimensions (rows and columns): \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Matrix [%d][%d]: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Not symmetric\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"Not Symmetric\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"Symmetric\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %1, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %14 = load i32, ptr %2, align 4 %15 = zext i32 %14 to i64 %16 = load i32, ptr %3, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %4, align 8 %19 = mul nuw i64 %15, %17 %20 = alloca i32, i64 %19, align 16 store i64 %15, ptr %5, align 8 store i64 %17, ptr %6, align 8 store i32 0, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph2, label %55 .lr.ph2: ; preds = %0 br label %24 24: ; preds = %.lr.ph2, %49 store i32 0, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %48 .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %42 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30, i32 noundef %32) %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = mul nsw i64 %35, %17 %37 = getelementptr inbounds i32, ptr %20, i64 %36 %38 = load i32, ptr %8, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %40) br label %42 42: ; preds = %28 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr %3, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %24 br label %49 49: ; preds = %48 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %2, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %55 55: ; preds = %._crit_edge3, %0 %56 = load i32, ptr %2, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp ne i32 %56, %57 br i1 %58, label %59, label %61 59: ; preds = %55 %60 = call i32 @puts(ptr noundef @.str.4) store i32 0, ptr %1, align 4 store i32 1, ptr %9, align 4 br label %105 61: ; preds = %55 store i32 0, ptr %10, align 4 %62 = load i32, ptr %10, align 4 %63 = load i32, ptr %3, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %.lr.ph8, label %103 .lr.ph8: ; preds = %61 br label %65 65: ; preds = %.lr.ph8, %97 store i32 0, ptr %11, align 4 %66 = load i32, ptr %11, align 4 %67 = load i32, ptr %2, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %.lr.ph5, label %96 .lr.ph5: ; preds = %65 br label %69 69: ; preds = %.lr.ph5, %90 %70 = load i32, ptr %11, align 4 %71 = sext i32 %70 to i64 %72 = mul nsw i64 %71, %17 %73 = getelementptr inbounds i32, ptr %20, i64 %72 %74 = load i32, ptr %10, 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 i32, ptr %10, align 4 %79 = sext i32 %78 to i64 %80 = mul nsw i64 %79, %17 %81 = getelementptr inbounds i32, ptr %20, i64 %80 %82 = load i32, ptr %11, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 %85 = load i32, ptr %84, align 4 %86 = icmp ne i32 %77, %85 br i1 %86, label %87, label %89 87: ; preds = %69 %88 = call i32 @puts(ptr noundef @.str.5) store i32 0, ptr %1, align 4 store i32 1, ptr %9, align 4 br label %105 89: ; preds = %69 br label %90 90: ; preds = %89 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %11, align 4 %93 = load i32, ptr %11, align 4 %94 = load i32, ptr %2, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %69, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %90 br label %96 96: ; preds = %._crit_edge6, %65 br label %97 97: ; preds = %96 %98 = load i32, ptr %10, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %10, align 4 %100 = load i32, ptr %10, align 4 %101 = load i32, ptr %3, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %65, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %97 br label %103 103: ; preds = %._crit_edge9, %61 %104 = call i32 @puts(ptr noundef @.str.6) store i32 0, ptr %1, align 4 store i32 1, ptr %9, align 4 br label %105 105: ; preds = %103, %87, %59 %106 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %106) %107 = load i32, ptr %1, align 4 ret i32 %107 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @puts(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmptkpydwxp.c' source_filename = "/tmp/tmptkpydwxp.c" target datalayout = "e-m:e-p270: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":ol.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ipf_enumerate() #0 { %1 = call i32 @write_line(ptr noundef @.str) ret void } declare i32 @write_line(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/tmptkpydwxp.c" target datalayout = "e-m:e-p270: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":ol.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ipf_enumerate() #0 { %1 = call i32 @write_line(ptr noundef @.str) ret void } declare i32 @write_line(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/tmplpk9s1nn.c' source_filename = "/tmp/tmplpk9s1nn.c" target datalayout = "e-m:e-p270: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/tmplpk9s1nn.c" target datalayout = "e-m:e-p270: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/tmp7as4jeh8.c' source_filename = "/tmp/tmp7as4jeh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a2i_ipadd(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = call i64 @strchr(ptr noundef %6, i8 noundef signext 58) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @ipv6_from_asc(ptr noundef %10, ptr noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %9 store i32 0, ptr %3, align 4 br label %23 15: ; preds = %9 store i32 16, ptr %3, align 4 br label %23 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i32 @ipv4_from_asc(ptr noundef %17, ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %16 store i32 0, ptr %3, align 4 br label %23 22: ; preds = %16 store i32 4, ptr %3, align 4 br label %23 23: ; preds = %22, %21, %15, %14 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @ipv6_from_asc(ptr noundef, ptr noundef) #1 declare i32 @ipv4_from_asc(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/tmp7as4jeh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a2i_ipadd(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = call i64 @strchr(ptr noundef %6, i8 noundef signext 58) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @ipv6_from_asc(ptr noundef %10, ptr noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %9 store i32 0, ptr %3, align 4 br label %23 15: ; preds = %9 store i32 16, ptr %3, align 4 br label %23 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i32 @ipv4_from_asc(ptr noundef %17, ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %16 store i32 0, ptr %3, align 4 br label %23 22: ; preds = %16 store i32 4, ptr %3, align 4 br label %23 23: ; preds = %22, %21, %15, %14 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @ipv6_from_asc(ptr noundef, ptr noundef) #1 declare i32 @ipv4_from_asc(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/tmpxlwl_j3i.c' source_filename = "/tmp/tmpxlwl_j3i.c" target datalayout = "e-m:e-p270: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" true\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c" false\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 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @isPrime(i32 noundef 100, i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) br label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.1) br label %10 10: ; preds = %8, %6 %11 = phi i32 [ %7, %6 ], [ %9, %8 ] %12 = load i32, ptr %2, align 4 %13 = call i64 @isPrime(i32 noundef 111, i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %10 %16 = call i32 @printf(ptr noundef @.str) br label %19 17: ; preds = %10 %18 = call i32 @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17, %15 %20 = phi i32 [ %16, %15 ], [ %18, %17 ] ret i32 0 } declare i64 @isPrime(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxlwl_j3i.c" target datalayout = "e-m:e-p270: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" true\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c" false\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 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @isPrime(i32 noundef 100, i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) br label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.1) br label %10 10: ; preds = %8, %6 %11 = phi i32 [ %7, %6 ], [ %9, %8 ] %12 = load i32, ptr %2, align 4 %13 = call i64 @isPrime(i32 noundef 111, i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %10 %16 = call i32 @printf(ptr noundef @.str) br label %19 17: ; preds = %10 %18 = call i32 @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17, %15 %20 = phi i32 [ %16, %15 ], [ %18, %17 ] ret i32 0 } declare i64 @isPrime(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp286xouuk.c' source_filename = "/tmp/tmp286xouuk.c" target datalayout = "e-m:e-p270: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_pid.buf = internal global [24 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_pid() #0 { %1 = call i32 (...) @getpid() %2 = call i32 @sprintf(ptr noundef @str_pid.buf, ptr noundef @.str, i32 noundef %1) ret ptr @str_pid.buf } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp286xouuk.c" target datalayout = "e-m:e-p270: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_pid.buf = internal global [24 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_pid() #0 { %1 = call i32 (...) @getpid() %2 = call i32 @sprintf(ptr noundef @str_pid.buf, ptr noundef @.str, i32 noundef %1) ret ptr @str_pid.buf } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaa6hems5.c' source_filename = "/tmp/tmpaa6hems5.c" target datalayout = "e-m:e-p270: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"Parent PID is %zd\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Fork failed\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"New Child: %zd\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 i8, align 1 %7 = alloca i32, align 4 %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 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 %13 = load i8, ptr %12, align 1 store i8 %13, ptr %6, align 1 %14 = call i64 (...) @getpid() %15 = trunc i64 %14 to i32 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) %21 = load i8, ptr %6, align 1 %22 = call i32 @fill_some(i32 noundef %20, i8 noundef signext %21) store i32 3, ptr %7, align 4 br label %23 23: ; preds = %51, %2 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %54 27: ; preds = %23 %28 = call i64 (...) @fork() store i64 %28, ptr %8, align 8 %29 = load i64, ptr %8, align 8 %30 = icmp slt i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %27 %32 = call i32 @perror(ptr noundef @.str.1) %33 = call i32 @exit(i32 noundef 2) #3 unreachable 34: ; preds = %27 %35 = load i64, ptr %8, align 8 %36 = icmp ne i64 %35, 0 br i1 %36, label %50, label %37 37: ; preds = %34 %38 = call i64 (...) @getpid() %39 = trunc i64 %38 to i32 %40 = call i32 @printf(ptr noundef @.str.2, i32 noundef %39) %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = call i32 @atoi(ptr noundef %45) %47 = load i8, ptr %6, align 1 %48 = call i32 @fill_some(i32 noundef %46, i8 noundef signext %47) %49 = call i32 @exit(i32 noundef 0) #3 unreachable 50: ; preds = %34 br label %51 51: ; preds = %50 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 br label %23, !llvm.loop !6 54: ; preds = %23 %55 = load i32, ptr %4, align 4 %56 = call i32 @sleep(i32 noundef %55) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @getpid(...) #1 declare i32 @fill_some(i32 noundef, i8 noundef signext) #1 declare i32 @atoi(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaa6hems5.c" target datalayout = "e-m:e-p270: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"Parent PID is %zd\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Fork failed\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"New Child: %zd\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 i8, align 1 %7 = alloca i32, align 4 %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 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 %13 = load i8, ptr %12, align 1 store i8 %13, ptr %6, align 1 %14 = call i64 (...) @getpid() %15 = trunc i64 %14 to i32 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) %21 = load i8, ptr %6, align 1 %22 = call i32 @fill_some(i32 noundef %20, i8 noundef signext %21) store i32 3, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %56 .lr.ph: ; preds = %2 br label %26 26: ; preds = %.lr.ph, %50 %27 = call i64 (...) @fork() store i64 %27, ptr %8, align 8 %28 = load i64, ptr %8, align 8 %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = call i32 @perror(ptr noundef @.str.1) %32 = call i32 @exit(i32 noundef 2) #3 unreachable 33: ; preds = %26 %34 = load i64, ptr %8, align 8 %35 = icmp ne i64 %34, 0 br i1 %35, label %49, label %36 36: ; preds = %33 %37 = call i64 (...) @getpid() %38 = trunc i64 %37 to i32 %39 = call i32 @printf(ptr noundef @.str.2, i32 noundef %38) %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = call i32 @atoi(ptr noundef %44) %46 = load i8, ptr %6, align 1 %47 = call i32 @fill_some(i32 noundef %45, i8 noundef signext %46) %48 = call i32 @exit(i32 noundef 0) #3 unreachable 49: ; preds = %33 br label %50 50: ; preds = %49 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 %53 = load i32, ptr %7, align 4 %54 = load i32, ptr %4, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %56 56: ; preds = %._crit_edge, %2 %57 = load i32, ptr %4, align 4 %58 = call i32 @sleep(i32 noundef %57) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @getpid(...) #1 declare i32 @fill_some(i32 noundef, i8 noundef signext) #1 declare i32 @atoi(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgqw_d7xi.c' source_filename = "/tmp/tmpgqw_d7xi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%d:%d->%d:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @secondary_diagonal_prod(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr %7, align 4 %12 = icmp sgt i32 %11, 16 br i1 %12, label %13, label %14 13: ; preds = %10, %3 store i32 -1, ptr %4, align 4 br label %63 14: ; preds = %10 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %17, 3 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 3 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %16, i32 noundef %18, i32 noundef %20) %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [20 x i32], ptr %22, i64 %24 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [20 x i32], ptr %25, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %6, align 4 %32 = sub nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [20 x i32], ptr %30, i64 %33 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [20 x i32], ptr %34, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = mul nsw i32 %29, %39 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %6, align 4 %43 = sub nsw i32 %42, 2 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [20 x i32], ptr %41, i64 %44 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 2 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [20 x i32], ptr %45, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = mul nsw i32 %40, %50 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %6, align 4 %54 = sub nsw i32 %53, 3 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [20 x i32], ptr %52, i64 %55 %57 = load i32, ptr %7, align 4 %58 = add nsw i32 %57, 3 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [20 x i32], ptr %56, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 %62 = mul nsw i32 %51, %61 store i32 %62, ptr %4, align 4 br label %63 63: ; preds = %14, %13 %64 = load i32, ptr %4, align 4 ret i32 %64 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgqw_d7xi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%d:%d->%d:%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @secondary_diagonal_prod(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr %7, align 4 %12 = icmp sgt i32 %11, 16 br i1 %12, label %13, label %14 13: ; preds = %10, %3 store i32 -1, ptr %4, align 4 br label %63 14: ; preds = %10 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %17, 3 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 3 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %16, i32 noundef %18, i32 noundef %20) %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [20 x i32], ptr %22, i64 %24 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [20 x i32], ptr %25, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %6, align 4 %32 = sub nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [20 x i32], ptr %30, i64 %33 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [20 x i32], ptr %34, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = mul nsw i32 %29, %39 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %6, align 4 %43 = sub nsw i32 %42, 2 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [20 x i32], ptr %41, i64 %44 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 2 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [20 x i32], ptr %45, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = mul nsw i32 %40, %50 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %6, align 4 %54 = sub nsw i32 %53, 3 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [20 x i32], ptr %52, i64 %55 %57 = load i32, ptr %7, align 4 %58 = add nsw i32 %57, 3 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [20 x i32], ptr %56, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 %62 = mul nsw i32 %51, %61 store i32 %62, ptr %4, align 4 br label %63 63: ; preds = %14, %13 %64 = load i32, ptr %4, align 4 ret i32 %64 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpic0lhzc3.c' source_filename = "/tmp/tmpic0lhzc3.c" target datalayout = "e-m:e-p270: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/tmpic0lhzc3.c" target datalayout = "e-m:e-p270: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/tmpfz5svvja.c' source_filename = "/tmp/tmpfz5svvja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.areas = private unnamed_addr constant [5 x i32] [i32 10, i32 12, i32 13, i32 14, i32 20], align 16 @__const.main.name = private unnamed_addr constant [4 x i8] c"Zed\00", align 1 @__const.main.full_name = private unnamed_addr constant [12 x i8] c"Zed A. Shaw\00", align 1 @.str = private unnamed_addr constant [25 x i8] c"The size of an int: %ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"The size of areas (int[]): %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"The first area is %d, the 2nd %d.\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"The size of a char: %ld\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"The size of name (char[]): %ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"The number of chars: %ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"The size of full_name (char[]): %ld\0A\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"name=\22%s\22 and full_name=\22%s\22\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 [5 x i32], align 16 %7 = alloca [4 x i8], align 1 %8 = alloca [12 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.areas, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.name, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.full_name, i64 12, i1 false) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 4) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 5) %11 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 %12 = load i32, ptr %11, align 16 %13 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 1 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12, i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 1) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 4) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 4) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 12) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 12) %21 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %22 = getelementptr inbounds [12 x i8], ptr %8, i64 0, i64 0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %21, ptr noundef %22) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfz5svvja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.areas = private unnamed_addr constant [5 x i32] [i32 10, i32 12, i32 13, i32 14, i32 20], align 16 @__const.main.name = private unnamed_addr constant [4 x i8] c"Zed\00", align 1 @__const.main.full_name = private unnamed_addr constant [12 x i8] c"Zed A. Shaw\00", align 1 @.str = private unnamed_addr constant [25 x i8] c"The size of an int: %ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"The size of areas (int[]): %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"The first area is %d, the 2nd %d.\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"The size of a char: %ld\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"The size of name (char[]): %ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"The number of chars: %ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"The size of full_name (char[]): %ld\0A\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"name=\22%s\22 and full_name=\22%s\22\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 [5 x i32], align 16 %7 = alloca [4 x i8], align 1 %8 = alloca [12 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.areas, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.name, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.full_name, i64 12, i1 false) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 4) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 5) %11 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 %12 = load i32, ptr %11, align 16 %13 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 1 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12, i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 1) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 4) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 4) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 12) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 12) %21 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %22 = getelementptr inbounds [12 x i8], ptr %8, i64 0, i64 0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %21, ptr noundef %22) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq3dumk0w.c' source_filename = "/tmp/tmpq3dumk0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 br label %4 4: ; preds = %10, %1 %5 = load ptr, ptr %2, align 8 %6 = load i64, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %5, i64 %6 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = load i64, ptr %3, align 8 %12 = add i64 %11, 1 store i64 %12, ptr %3, align 8 br label %4, !llvm.loop !6 13: ; preds = %4 %14 = load i64, ptr %3, align 8 ret i64 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq3dumk0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i64, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %4, i64 %5 %7 = load i8, ptr %6, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i64, ptr %3, align 8 %11 = add i64 %10, 1 store i64 %11, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i64, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %12, i64 %13 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %17 17: ; preds = %._crit_edge, %1 %18 = load i64, ptr %3, align 8 ret i64 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpura8mxvo.c' source_filename = "/tmp/tmpura8mxvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_blocksize(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strtoul(ptr noundef %7, ptr noundef %6, i32 noundef 10) %9 = load ptr, ptr %4, align 8 store i64 %8, ptr %9, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 switch i32 %13, label %27 [ i32 0, label %14 i32 98, label %14 i32 66, label %14 i32 107, label %15 i32 75, label %15 i32 109, label %19 i32 77, label %19 i32 103, label %23 i32 71, label %23 ] 14: ; preds = %2, %2, %2 br label %30 15: ; preds = %2, %2 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %16, align 8 %18 = mul i64 %17, 1024 store i64 %18, ptr %16, align 8 br label %30 19: ; preds = %2, %2 %20 = load ptr, ptr %4, align 8 %21 = load i64, ptr %20, align 8 %22 = mul i64 %21, 1048576 store i64 %22, ptr %20, align 8 br label %30 23: ; preds = %2, %2 %24 = load ptr, ptr %4, align 8 %25 = load i64, ptr %24, align 8 %26 = mul i64 %25, 1073741824 store i64 %26, ptr %24, align 8 br label %30 27: ; preds = %2 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %30 30: ; preds = %27, %23, %19, %15, %14 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 0 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %45 36: ; preds = %30 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %45 42: ; preds = %36 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 br label %45 45: ; preds = %42, %36, %30 %46 = load i32, ptr %5, align 4 %47 = sext i32 %46 to i64 ret i64 %47 } declare i64 @strtoul(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/tmpura8mxvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_blocksize(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strtoul(ptr noundef %7, ptr noundef %6, i32 noundef 10) %9 = load ptr, ptr %4, align 8 store i64 %8, ptr %9, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 switch i32 %13, label %27 [ i32 0, label %14 i32 98, label %14 i32 66, label %14 i32 107, label %15 i32 75, label %15 i32 109, label %19 i32 77, label %19 i32 103, label %23 i32 71, label %23 ] 14: ; preds = %2, %2, %2 br label %30 15: ; preds = %2, %2 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %16, align 8 %18 = mul i64 %17, 1024 store i64 %18, ptr %16, align 8 br label %30 19: ; preds = %2, %2 %20 = load ptr, ptr %4, align 8 %21 = load i64, ptr %20, align 8 %22 = mul i64 %21, 1048576 store i64 %22, ptr %20, align 8 br label %30 23: ; preds = %2, %2 %24 = load ptr, ptr %4, align 8 %25 = load i64, ptr %24, align 8 %26 = mul i64 %25, 1073741824 store i64 %26, ptr %24, align 8 br label %30 27: ; preds = %2 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %30 30: ; preds = %27, %23, %19, %15, %14 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 0 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %45 36: ; preds = %30 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %45 42: ; preds = %36 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 br label %45 45: ; preds = %42, %36, %30 %46 = load i32, ptr %5, align 4 %47 = sext i32 %46 to i64 ret i64 %47 } declare i64 @strtoul(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/tmpj5lesirj.c' source_filename = "/tmp/tmpj5lesirj.c" target datalayout = "e-m:e-p270: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 [68 x i8] c"For encoding write 'c' and for decoding write 'd' and 'q' for exit\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%1000s\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 i8, align 1 %4 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) br label %7 7: ; preds = %28, %0 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 113 br i1 %10, label %11, label %30 11: ; preds = %7 %12 = load i8, ptr %3, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 99 br i1 %14, label %15, label %20 15: ; preds = %11 %16 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %17 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %16) %18 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %19 = call i32 @caesar(ptr noundef %18) br label %28 20: ; preds = %11 %21 = load i8, ptr %3, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 100 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %26 = call i32 @caesar1(ptr noundef %25) br label %27 27: ; preds = %24, %20 br label %28 28: ; preds = %27, %15 %29 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) br label %7, !llvm.loop !6 30: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @caesar(ptr noundef) #1 declare i32 @caesar1(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/tmpj5lesirj.c" target datalayout = "e-m:e-p270: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 [68 x i8] c"For encoding write 'c' and for decoding write 'd' and 'q' for exit\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%1000s\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 i8, align 1 %4 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %7 = load i8, ptr %3, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 113 br i1 %9, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %27 %11 = load i8, ptr %3, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 99 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %16 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %15) %17 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @caesar(ptr noundef %17) br label %27 19: ; preds = %10 %20 = load i8, ptr %3, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 100 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @caesar1(ptr noundef %24) br label %26 26: ; preds = %23, %19 br label %27 27: ; preds = %26, %14 %28 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %29 = load i8, ptr %3, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 113 br i1 %31, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @caesar(ptr noundef) #1 declare i32 @caesar1(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/tmppu2q4px2.c' source_filename = "/tmp/tmppu2q4px2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @valid_ip(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %4, align 8 store i32 1, ptr %6, align 4 br label %8 8: ; preds = %57, %1 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %12, label %60 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @atoi(ptr noundef %13) store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %12 %18 = load i32, ptr %5, align 4 %19 = icmp sgt i32 %18, 255 br i1 %19, label %20, label %21 20: ; preds = %17, %12 store i32 0, ptr %2, align 4 br label %61 21: ; preds = %17 br label %22 22: ; preds = %34, %21 %23 = load ptr, ptr %4, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sge i32 %25, 48 br i1 %26, label %27, label %32 27: ; preds = %22 %28 = load ptr, ptr %4, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp sle i32 %30, 57 br label %32 32: ; preds = %27, %22 %33 = phi i1 [ false, %22 ], [ %31, %27 ] br i1 %33, label %34, label %37 34: ; preds = %32 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %4, align 8 br label %22, !llvm.loop !6 37: ; preds = %32 %38 = load i32, ptr %6, align 4 %39 = icmp ne i32 %38, 4 br i1 %39, label %40, label %49 40: ; preds = %37 %41 = load ptr, ptr %4, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %43, 46 br i1 %44, label %45, label %46 45: ; preds = %40 store i32 0, ptr %2, align 4 br label %61 46: ; preds = %40 %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %6, align 4 br label %56 49: ; preds = %37 %50 = load ptr, ptr %4, align 8 %51 = load ptr, ptr %3, align 8 %52 = ptrtoint ptr %50 to i64 %53 = ptrtoint ptr %51 to i64 %54 = sub i64 %52, %53 %55 = trunc i64 %54 to i32 store i32 %55, ptr %2, align 4 br label %61 56: ; preds = %46 br label %57 57: ; preds = %56 %58 = load ptr, ptr %4, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr %4, align 8 br label %8, !llvm.loop !8 60: ; preds = %8 store i32 0, ptr %2, align 4 br label %61 61: ; preds = %60, %49, %45, %20 %62 = load i32, ptr %2, align 4 ret i32 %62 } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppu2q4px2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @valid_ip(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %4, align 8 store i32 1, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %.lr.ph, label %62 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %56 %12 = load ptr, ptr %4, align 8 %13 = call i32 @atoi(ptr noundef %12) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %11 %17 = load i32, ptr %5, align 4 %18 = icmp sgt i32 %17, 255 br i1 %18, label %19, label %20 19: ; preds = %16, %11 store i32 0, ptr %2, align 4 br label %63 20: ; preds = %16 br label %21 21: ; preds = %33, %20 %22 = load ptr, ptr %4, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp sge i32 %24, 48 br i1 %25, label %26, label %31 26: ; preds = %21 %27 = load ptr, ptr %4, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp sle i32 %29, 57 br label %31 31: ; preds = %26, %21 %32 = phi i1 [ false, %21 ], [ %30, %26 ] br i1 %32, label %33, label %36 33: ; preds = %31 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %4, align 8 br label %21, !llvm.loop !6 36: ; preds = %31 %37 = load i32, ptr %6, align 4 %38 = icmp ne i32 %37, 4 br i1 %38, label %39, label %48 39: ; preds = %36 %40 = load ptr, ptr %4, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp ne i32 %42, 46 br i1 %43, label %44, label %45 44: ; preds = %39 store i32 0, ptr %2, align 4 br label %63 45: ; preds = %39 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 br label %55 48: ; preds = %36 %49 = load ptr, ptr %4, align 8 %50 = load ptr, ptr %3, align 8 %51 = ptrtoint ptr %49 to i64 %52 = ptrtoint ptr %50 to i64 %53 = sub i64 %51, %52 %54 = trunc i64 %53 to i32 store i32 %54, ptr %2, align 4 br label %63 55: ; preds = %45 br label %56 56: ; preds = %55 %57 = load ptr, ptr %4, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %4, align 8 %59 = load ptr, ptr %4, align 8 %60 = load i8, ptr %59, align 1 %61 = icmp ne i8 %60, 0 br i1 %61, label %11, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %1 store i32 0, ptr %2, align 4 br label %63 63: ; preds = %62, %48, %44, %19 %64 = load i32, ptr %2, align 4 ret i32 %64 } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp773fwk67.c' source_filename = "/tmp/tmp773fwk67.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @setall.T1 = internal global i64 0, align 8 @setall.g = internal global i64 0, align 8 @setall.ocgn = internal global i64 0, align 8 @setall.qrgnin = internal global i64 0, align 8 @Xig1 = external global [0 x i64], align 8 @Xig2 = external global [0 x i64], align 8 @Xa1vw = external global i64, align 8 @Xm1 = external global i64, align 8 @Xa2vw = external global i64, align 8 @Xm2 = external global i64, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setall(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr @setall.T1, align 8 call void @gssst(i64 noundef 1, ptr noundef @setall.T1) call void @gscgn(i64 noundef 0, ptr noundef @setall.ocgn) call void @gsrgs(i64 noundef 0, ptr noundef @setall.qrgnin) %5 = load i64, ptr @setall.qrgnin, align 8 %6 = icmp ne i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = call i32 (...) @inrgcm() br label %9 9: ; preds = %7, %2 %10 = load i64, ptr %3, align 8 store i64 %10, ptr @Xig1, align 8 %11 = load i64, ptr %4, align 8 store i64 %11, ptr @Xig2, align 8 %12 = call i32 @initgn(i64 noundef -1) store i64 2, ptr @setall.g, align 8 br label %13 13: ; preds = %38, %9 %14 = load i64, ptr @setall.g, align 8 %15 = icmp sle i64 %14, 32 br i1 %15, label %16, label %41 16: ; preds = %13 %17 = load i64, ptr @Xa1vw, align 8 %18 = load i64, ptr @setall.g, align 8 %19 = getelementptr inbounds i64, ptr @Xig1, i64 %18 %20 = getelementptr inbounds i64, ptr %19, i64 -2 %21 = load i64, ptr %20, align 8 %22 = load i64, ptr @Xm1, align 8 %23 = call i64 @mltmod(i64 noundef %17, i64 noundef %21, i64 noundef %22) %24 = load i64, ptr @setall.g, align 8 %25 = getelementptr inbounds i64, ptr @Xig1, i64 %24 %26 = getelementptr inbounds i64, ptr %25, i64 -1 store i64 %23, ptr %26, align 8 %27 = load i64, ptr @Xa2vw, align 8 %28 = load i64, ptr @setall.g, align 8 %29 = getelementptr inbounds i64, ptr @Xig2, i64 %28 %30 = getelementptr inbounds i64, ptr %29, i64 -2 %31 = load i64, ptr %30, align 8 %32 = load i64, ptr @Xm2, align 8 %33 = call i64 @mltmod(i64 noundef %27, i64 noundef %31, i64 noundef %32) %34 = load i64, ptr @setall.g, align 8 %35 = getelementptr inbounds i64, ptr @Xig2, i64 %34 %36 = getelementptr inbounds i64, ptr %35, i64 -1 store i64 %33, ptr %36, align 8 call void @gscgn(i64 noundef 1, ptr noundef @setall.g) %37 = call i32 @initgn(i64 noundef -1) br label %38 38: ; preds = %16 %39 = load i64, ptr @setall.g, align 8 %40 = add nsw i64 %39, 1 store i64 %40, ptr @setall.g, align 8 br label %13, !llvm.loop !6 41: ; preds = %13 call void @gscgn(i64 noundef 1, ptr noundef @setall.ocgn) ret void } declare void @gssst(i64 noundef, ptr noundef) #1 declare void @gscgn(i64 noundef, ptr noundef) #1 declare void @gsrgs(i64 noundef, ptr noundef) #1 declare i32 @inrgcm(...) #1 declare i32 @initgn(i64 noundef) #1 declare i64 @mltmod(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/tmp773fwk67.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @setall.T1 = internal global i64 0, align 8 @setall.g = internal global i64 0, align 8 @setall.ocgn = internal global i64 0, align 8 @setall.qrgnin = internal global i64 0, align 8 @Xig1 = external global [0 x i64], align 8 @Xig2 = external global [0 x i64], align 8 @Xa1vw = external global i64, align 8 @Xm1 = external global i64, align 8 @Xa2vw = external global i64, align 8 @Xm2 = external global i64, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setall(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr @setall.T1, align 8 call void @gssst(i64 noundef 1, ptr noundef @setall.T1) call void @gscgn(i64 noundef 0, ptr noundef @setall.ocgn) call void @gsrgs(i64 noundef 0, ptr noundef @setall.qrgnin) %5 = load i64, ptr @setall.qrgnin, align 8 %6 = icmp ne i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = call i32 (...) @inrgcm() br label %9 9: ; preds = %7, %2 %10 = load i64, ptr %3, align 8 store i64 %10, ptr @Xig1, align 8 %11 = load i64, ptr %4, align 8 store i64 %11, ptr @Xig2, align 8 %12 = call i32 @initgn(i64 noundef -1) store i64 2, ptr @setall.g, align 8 %13 = load i64, ptr @setall.g, align 8 %14 = icmp sle i64 %13, 32 br i1 %14, label %.lr.ph, label %42 .lr.ph: ; preds = %9 br label %15 15: ; preds = %.lr.ph, %37 %16 = load i64, ptr @Xa1vw, align 8 %17 = load i64, ptr @setall.g, align 8 %18 = getelementptr inbounds i64, ptr @Xig1, i64 %17 %19 = getelementptr inbounds i64, ptr %18, i64 -2 %20 = load i64, ptr %19, align 8 %21 = load i64, ptr @Xm1, align 8 %22 = call i64 @mltmod(i64 noundef %16, i64 noundef %20, i64 noundef %21) %23 = load i64, ptr @setall.g, align 8 %24 = getelementptr inbounds i64, ptr @Xig1, i64 %23 %25 = getelementptr inbounds i64, ptr %24, i64 -1 store i64 %22, ptr %25, align 8 %26 = load i64, ptr @Xa2vw, align 8 %27 = load i64, ptr @setall.g, align 8 %28 = getelementptr inbounds i64, ptr @Xig2, i64 %27 %29 = getelementptr inbounds i64, ptr %28, i64 -2 %30 = load i64, ptr %29, align 8 %31 = load i64, ptr @Xm2, align 8 %32 = call i64 @mltmod(i64 noundef %26, i64 noundef %30, i64 noundef %31) %33 = load i64, ptr @setall.g, align 8 %34 = getelementptr inbounds i64, ptr @Xig2, i64 %33 %35 = getelementptr inbounds i64, ptr %34, i64 -1 store i64 %32, ptr %35, align 8 call void @gscgn(i64 noundef 1, ptr noundef @setall.g) %36 = call i32 @initgn(i64 noundef -1) br label %37 37: ; preds = %15 %38 = load i64, ptr @setall.g, align 8 %39 = add nsw i64 %38, 1 store i64 %39, ptr @setall.g, align 8 %40 = load i64, ptr @setall.g, align 8 %41 = icmp sle i64 %40, 32 br i1 %41, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %42 42: ; preds = %._crit_edge, %9 call void @gscgn(i64 noundef 1, ptr noundef @setall.ocgn) ret void } declare void @gssst(i64 noundef, ptr noundef) #1 declare void @gscgn(i64 noundef, ptr noundef) #1 declare void @gsrgs(i64 noundef, ptr noundef) #1 declare i32 @inrgcm(...) #1 declare i32 @initgn(i64 noundef) #1 declare i64 @mltmod(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/tmp8w7b_0a7.c' source_filename = "/tmp/tmp8w7b_0a7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 store ptr %2, ptr %7, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i32, ptr %8, align 4 store i32 %9, ptr %3, align 4 store ptr null, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %5, align 4 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %4, align 4 ret i32 1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8w7b_0a7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 store ptr %2, ptr %7, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i32, ptr %8, align 4 store i32 %9, ptr %3, align 4 store ptr null, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %5, align 4 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %4, align 4 ret i32 1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp82jw0wlj.c' source_filename = "/tmp/tmp82jw0wlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETLKW = dso_local global i32 0, align 4 @F_WRLCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fd_lock(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @F_SETLKW, align 4 %7 = load i32, ptr @F_WRLCK, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @fd_fcntl(i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) ret i32 %9 } declare i32 @fd_fcntl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp82jw0wlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETLKW = dso_local global i32 0, align 4 @F_WRLCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fd_lock(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @F_SETLKW, align 4 %7 = load i32, ptr @F_WRLCK, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @fd_fcntl(i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) ret i32 %9 } declare i32 @fd_fcntl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzq3gprqs.c' source_filename = "/tmp/tmpzq3gprqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_caseless_compare(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i8, align 1 %16 = alloca i8, align 1 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 7, ptr %14, align 8 %17 = load ptr, ptr %6, align 8 store ptr %17, ptr %12, align 8 %18 = load ptr, ptr %8, align 8 store ptr %18, ptr %13, align 8 %19 = load ptr, ptr %12, align 8 %20 = ptrtoint ptr %19 to i64 %21 = load i64, ptr %14, align 8 %22 = and i64 %20, %21 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %63 24: ; preds = %4 %25 = load ptr, ptr %13, align 8 %26 = ptrtoint ptr %25 to i64 %27 = load i64, ptr %14, align 8 %28 = and i64 %26, %27 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %63 30: ; preds = %24 %31 = load i64, ptr %7, align 8 %32 = load i64, ptr %9, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = load i64, ptr %7, align 8 br label %38 36: ; preds = %30 %37 = load i64, ptr %9, align 8 br label %38 38: ; preds = %36, %34 %39 = phi i64 [ %35, %34 ], [ %37, %36 ] %40 = load i64, ptr %14, align 8 %41 = xor i64 %40, -1 %42 = and i64 %39, %41 store i64 %42, ptr %11, align 8 br label %43 43: ; preds = %59, %38 %44 = load i64, ptr %10, align 8 %45 = load i64, ptr %11, align 8 %46 = icmp ult i64 %44, %45 br i1 %46, label %47, label %62 47: ; preds = %43 %48 = load ptr, ptr %12, align 8 %49 = load i64, ptr %48, align 8 %50 = load ptr, ptr %13, align 8 %51 = load i64, ptr %50, align 8 %52 = icmp ne i64 %49, %51 br i1 %52, label %53, label %54 53: ; preds = %47 br label %62 54: ; preds = %47 %55 = load ptr, ptr %12, align 8 %56 = getelementptr inbounds i64, ptr %55, i32 1 store ptr %56, ptr %12, align 8 %57 = load ptr, ptr %13, align 8 %58 = getelementptr inbounds i64, ptr %57, i32 1 store ptr %58, ptr %13, align 8 br label %59 59: ; preds = %54 %60 = load i64, ptr %10, align 8 %61 = add i64 %60, 8 store i64 %61, ptr %10, align 8 br label %43, !llvm.loop !6 62: ; preds = %53, %43 br label %63 63: ; preds = %62, %24, %4 %64 = load ptr, ptr %12, align 8 store ptr %64, ptr %6, align 8 %65 = load ptr, ptr %13, align 8 store ptr %65, ptr %8, align 8 %66 = load i64, ptr %7, align 8 %67 = load i64, ptr %9, align 8 %68 = icmp ult i64 %66, %67 br i1 %68, label %69, label %71 69: ; preds = %63 %70 = load i64, ptr %7, align 8 br label %73 71: ; preds = %63 %72 = load i64, ptr %9, align 8 br label %73 73: ; preds = %71, %69 %74 = phi i64 [ %70, %69 ], [ %72, %71 ] store i64 %74, ptr %11, align 8 br label %75 75: ; preds = %149, %73 %76 = load i64, ptr %10, align 8 %77 = load i64, ptr %11, align 8 %78 = icmp ult i64 %76, %77 br i1 %78, label %79, label %152 79: ; preds = %75 %80 = load ptr, ptr %6, align 8 %81 = getelementptr inbounds i8, ptr %80, i32 1 store ptr %81, ptr %6, align 8 %82 = load i8, ptr %80, align 1 store i8 %82, ptr %15, align 1 %83 = load ptr, ptr %8, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 1 store ptr %84, ptr %8, align 8 %85 = load i8, ptr %83, align 1 store i8 %85, ptr %16, align 1 %86 = load i8, ptr %15, align 1 %87 = sext i8 %86 to i32 %88 = load i8, ptr %16, align 1 %89 = sext i8 %88 to i32 %90 = icmp ne i32 %87, %89 br i1 %90, label %91, label %148 91: ; preds = %79 %92 = load i8, ptr %15, align 1 %93 = sext i8 %92 to i32 %94 = icmp sge i32 %93, 65 br i1 %94, label %95, label %112 95: ; preds = %91 %96 = load i8, ptr %15, align 1 %97 = sext i8 %96 to i32 %98 = icmp sle i32 %97, 90 br i1 %98, label %99, label %112 99: ; preds = %95 %100 = load i8, ptr %16, align 1 %101 = sext i8 %100 to i32 %102 = icmp sge i32 %101, 97 br i1 %102, label %103, label %112 103: ; preds = %99 %104 = load i8, ptr %16, align 1 %105 = sext i8 %104 to i32 %106 = icmp sle i32 %105, 122 br i1 %106, label %107, label %112 107: ; preds = %103 %108 = load i8, ptr %15, align 1 %109 = sext i8 %108 to i32 %110 = or i32 %109, 32 %111 = trunc i32 %110 to i8 store i8 %111, ptr %15, align 1 br label %134 112: ; preds = %103, %99, %95, %91 %113 = load i8, ptr %15, align 1 %114 = sext i8 %113 to i32 %115 = icmp sge i32 %114, 97 br i1 %115, label %116, label %133 116: ; preds = %112 %117 = load i8, ptr %15, align 1 %118 = sext i8 %117 to i32 %119 = icmp sle i32 %118, 122 br i1 %119, label %120, label %133 120: ; preds = %116 %121 = load i8, ptr %16, align 1 %122 = sext i8 %121 to i32 %123 = icmp sge i32 %122, 65 br i1 %123, label %124, label %133 124: ; preds = %120 %125 = load i8, ptr %16, align 1 %126 = sext i8 %125 to i32 %127 = icmp sle i32 %126, 90 br i1 %127, label %128, label %133 128: ; preds = %124 %129 = load i8, ptr %16, align 1 %130 = sext i8 %129 to i32 %131 = or i32 %130, 32 %132 = trunc i32 %131 to i8 store i8 %132, ptr %16, align 1 br label %133 133: ; preds = %128, %124, %120, %116, %112 br label %134 134: ; preds = %133, %107 %135 = load i8, ptr %15, align 1 %136 = sext i8 %135 to i32 %137 = load i8, ptr %16, align 1 %138 = sext i8 %137 to i32 %139 = sub nsw i32 %136, %138 %140 = icmp ne i32 %139, 0 br i1 %140, label %141, label %147 141: ; preds = %134 %142 = load i8, ptr %15, align 1 %143 = sext i8 %142 to i32 %144 = load i8, ptr %16, align 1 %145 = sext i8 %144 to i32 %146 = sub nsw i32 %143, %145 store i32 %146, ptr %5, align 4 br label %162 147: ; preds = %134 br label %148 148: ; preds = %147, %79 br label %149 149: ; preds = %148 %150 = load i64, ptr %10, align 8 %151 = add i64 %150, 1 store i64 %151, ptr %10, align 8 br label %75, !llvm.loop !8 152: ; preds = %75 %153 = load i64, ptr %7, align 8 %154 = load i64, ptr %9, align 8 %155 = icmp eq i64 %153, %154 br i1 %155, label %156, label %157 156: ; preds = %152 store i32 0, ptr %5, align 4 br label %162 157: ; preds = %152 %158 = load i64, ptr %7, align 8 %159 = load i64, ptr %9, align 8 %160 = sub i64 %158, %159 %161 = trunc i64 %160 to i32 store i32 %161, ptr %5, align 4 br label %162 162: ; preds = %157, %156, %141 %163 = load i32, ptr %5, align 4 ret i32 %163 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzq3gprqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_caseless_compare(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i8, align 1 %16 = alloca i8, align 1 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 7, ptr %14, align 8 %17 = load ptr, ptr %6, align 8 store ptr %17, ptr %12, align 8 %18 = load ptr, ptr %8, align 8 store ptr %18, ptr %13, align 8 %19 = load ptr, ptr %12, align 8 %20 = ptrtoint ptr %19 to i64 %21 = load i64, ptr %14, align 8 %22 = and i64 %20, %21 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %65 24: ; preds = %4 %25 = load ptr, ptr %13, align 8 %26 = ptrtoint ptr %25 to i64 %27 = load i64, ptr %14, align 8 %28 = and i64 %26, %27 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %65 30: ; preds = %24 %31 = load i64, ptr %7, align 8 %32 = load i64, ptr %9, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = load i64, ptr %7, align 8 br label %38 36: ; preds = %30 %37 = load i64, ptr %9, align 8 br label %38 38: ; preds = %36, %34 %39 = phi i64 [ %35, %34 ], [ %37, %36 ] %40 = load i64, ptr %14, align 8 %41 = xor i64 %40, -1 %42 = and i64 %39, %41 store i64 %42, ptr %11, align 8 %43 = load i64, ptr %10, align 8 %44 = load i64, ptr %11, align 8 %45 = icmp ult i64 %43, %44 br i1 %45, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %38 br label %46 46: ; preds = %.lr.ph, %58 %47 = load ptr, ptr %12, align 8 %48 = load i64, ptr %47, align 8 %49 = load ptr, ptr %13, align 8 %50 = load i64, ptr %49, align 8 %51 = icmp ne i64 %48, %50 br i1 %51, label %52, label %53 52: ; preds = %46 br label %64 53: ; preds = %46 %54 = load ptr, ptr %12, align 8 %55 = getelementptr inbounds i64, ptr %54, i32 1 store ptr %55, ptr %12, align 8 %56 = load ptr, ptr %13, align 8 %57 = getelementptr inbounds i64, ptr %56, i32 1 store ptr %57, ptr %13, align 8 br label %58 58: ; preds = %53 %59 = load i64, ptr %10, align 8 %60 = add i64 %59, 8 store i64 %60, ptr %10, align 8 %61 = load i64, ptr %10, align 8 %62 = load i64, ptr %11, align 8 %63 = icmp ult i64 %61, %62 br i1 %63, label %46, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %58 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %38 br label %64 64: ; preds = %.loopexit, %52 br label %65 65: ; preds = %64, %24, %4 %66 = load ptr, ptr %12, align 8 store ptr %66, ptr %6, align 8 %67 = load ptr, ptr %13, align 8 store ptr %67, ptr %8, align 8 %68 = load i64, ptr %7, align 8 %69 = load i64, ptr %9, align 8 %70 = icmp ult i64 %68, %69 br i1 %70, label %71, label %73 71: ; preds = %65 %72 = load i64, ptr %7, align 8 br label %75 73: ; preds = %65 %74 = load i64, ptr %9, align 8 br label %75 75: ; preds = %73, %71 %76 = phi i64 [ %72, %71 ], [ %74, %73 ] store i64 %76, ptr %11, align 8 %77 = load i64, ptr %10, align 8 %78 = load i64, ptr %11, align 8 %79 = icmp ult i64 %77, %78 br i1 %79, label %.lr.ph1, label %156 .lr.ph1: ; preds = %75 br label %80 80: ; preds = %.lr.ph1, %150 %81 = load ptr, ptr %6, align 8 %82 = getelementptr inbounds i8, ptr %81, i32 1 store ptr %82, ptr %6, align 8 %83 = load i8, ptr %81, align 1 store i8 %83, ptr %15, align 1 %84 = load ptr, ptr %8, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %8, align 8 %86 = load i8, ptr %84, align 1 store i8 %86, ptr %16, align 1 %87 = load i8, ptr %15, align 1 %88 = sext i8 %87 to i32 %89 = load i8, ptr %16, align 1 %90 = sext i8 %89 to i32 %91 = icmp ne i32 %88, %90 br i1 %91, label %92, label %149 92: ; preds = %80 %93 = load i8, ptr %15, align 1 %94 = sext i8 %93 to i32 %95 = icmp sge i32 %94, 65 br i1 %95, label %96, label %113 96: ; preds = %92 %97 = load i8, ptr %15, align 1 %98 = sext i8 %97 to i32 %99 = icmp sle i32 %98, 90 br i1 %99, label %100, label %113 100: ; preds = %96 %101 = load i8, ptr %16, align 1 %102 = sext i8 %101 to i32 %103 = icmp sge i32 %102, 97 br i1 %103, label %104, label %113 104: ; preds = %100 %105 = load i8, ptr %16, align 1 %106 = sext i8 %105 to i32 %107 = icmp sle i32 %106, 122 br i1 %107, label %108, label %113 108: ; preds = %104 %109 = load i8, ptr %15, align 1 %110 = sext i8 %109 to i32 %111 = or i32 %110, 32 %112 = trunc i32 %111 to i8 store i8 %112, ptr %15, align 1 br label %135 113: ; preds = %104, %100, %96, %92 %114 = load i8, ptr %15, align 1 %115 = sext i8 %114 to i32 %116 = icmp sge i32 %115, 97 br i1 %116, label %117, label %134 117: ; preds = %113 %118 = load i8, ptr %15, align 1 %119 = sext i8 %118 to i32 %120 = icmp sle i32 %119, 122 br i1 %120, label %121, label %134 121: ; preds = %117 %122 = load i8, ptr %16, align 1 %123 = sext i8 %122 to i32 %124 = icmp sge i32 %123, 65 br i1 %124, label %125, label %134 125: ; preds = %121 %126 = load i8, ptr %16, align 1 %127 = sext i8 %126 to i32 %128 = icmp sle i32 %127, 90 br i1 %128, label %129, label %134 129: ; preds = %125 %130 = load i8, ptr %16, align 1 %131 = sext i8 %130 to i32 %132 = or i32 %131, 32 %133 = trunc i32 %132 to i8 store i8 %133, ptr %16, align 1 br label %134 134: ; preds = %129, %125, %121, %117, %113 br label %135 135: ; preds = %134, %108 %136 = load i8, ptr %15, align 1 %137 = sext i8 %136 to i32 %138 = load i8, ptr %16, align 1 %139 = sext i8 %138 to i32 %140 = sub nsw i32 %137, %139 %141 = icmp ne i32 %140, 0 br i1 %141, label %142, label %148 142: ; preds = %135 %143 = load i8, ptr %15, align 1 %144 = sext i8 %143 to i32 %145 = load i8, ptr %16, align 1 %146 = sext i8 %145 to i32 %147 = sub nsw i32 %144, %146 store i32 %147, ptr %5, align 4 br label %166 148: ; preds = %135 br label %149 149: ; preds = %148, %80 br label %150 150: ; preds = %149 %151 = load i64, ptr %10, align 8 %152 = add i64 %151, 1 store i64 %152, ptr %10, align 8 %153 = load i64, ptr %10, align 8 %154 = load i64, ptr %11, align 8 %155 = icmp ult i64 %153, %154 br i1 %155, label %80, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %150 br label %156 156: ; preds = %._crit_edge, %75 %157 = load i64, ptr %7, align 8 %158 = load i64, ptr %9, align 8 %159 = icmp eq i64 %157, %158 br i1 %159, label %160, label %161 160: ; preds = %156 store i32 0, ptr %5, align 4 br label %166 161: ; preds = %156 %162 = load i64, ptr %7, align 8 %163 = load i64, ptr %9, align 8 %164 = sub i64 %162, %163 %165 = trunc i64 %164 to i32 store i32 %165, ptr %5, align 4 br label %166 166: ; preds = %161, %160, %142 %167 = load i32, ptr %5, align 4 ret i32 %167 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp6eodvpew.c' source_filename = "/tmp/tmp6eodvpew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RNAplex_cmdline_parser_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @RNAplex_cmdline_parser_release(ptr noundef %3) ret void } declare i32 @RNAplex_cmdline_parser_release(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/tmp6eodvpew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RNAplex_cmdline_parser_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @RNAplex_cmdline_parser_release(ptr noundef %3) ret void } declare i32 @RNAplex_cmdline_parser_release(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/tmpgbfedvum.c' source_filename = "/tmp/tmpgbfedvum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UINT16_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgbfedvum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UINT16_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphtwjah3b.c' source_filename = "/tmp/tmphtwjah3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @correl(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %20 = load ptr, ptr %17, align 8 store double 0.000000e+00, ptr %20, align 8 %21 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %21, align 8 %22 = load ptr, ptr %15, align 8 store double 0.000000e+00, ptr %22, align 8 %23 = load ptr, ptr %14, align 8 store double 0.000000e+00, ptr %23, align 8 %24 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %24, align 8 store i32 0, ptr %19, align 4 br label %25 25: ; preds = %141, %9 %26 = load i32, ptr %19, align 4 %27 = load i32, ptr %12, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %144 29: ; preds = %25 %30 = load ptr, ptr %10, align 8 %31 = load i32, ptr %19, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %30, i64 %32 %34 = load double, ptr %33, align 8 %35 = load ptr, ptr %13, align 8 %36 = load double, ptr %35, align 8 %37 = fsub double %34, %36 %38 = load ptr, ptr %10, align 8 %39 = load i32, ptr %19, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 %43 = load ptr, ptr %13, align 8 %44 = load double, ptr %43, align 8 %45 = fsub double %42, %44 %46 = fmul double %37, %45 %47 = load i32, ptr %19, align 4 %48 = sitofp i32 %47 to double %49 = fmul double %46, %48 %50 = load i32, ptr %19, align 4 %51 = sitofp i32 %50 to double %52 = fadd double %51, 1.000000e+00 %53 = fdiv double %49, %52 %54 = load ptr, ptr %15, align 8 %55 = load double, ptr %54, align 8 %56 = fadd double %55, %53 store double %56, ptr %54, align 8 %57 = load ptr, ptr %11, align 8 %58 = load i32, ptr %19, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %57, i64 %59 %61 = load double, ptr %60, align 8 %62 = load ptr, ptr %14, align 8 %63 = load double, ptr %62, align 8 %64 = fsub double %61, %63 %65 = load ptr, ptr %11, align 8 %66 = load i32, ptr %19, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %14, align 8 %71 = load double, ptr %70, align 8 %72 = fsub double %69, %71 %73 = fmul double %64, %72 %74 = load i32, ptr %19, align 4 %75 = sitofp i32 %74 to double %76 = fmul double %73, %75 %77 = load i32, ptr %19, align 4 %78 = sitofp i32 %77 to double %79 = fadd double %78, 1.000000e+00 %80 = fdiv double %76, %79 %81 = load ptr, ptr %17, align 8 %82 = load double, ptr %81, align 8 %83 = fadd double %82, %80 store double %83, ptr %81, align 8 %84 = load ptr, ptr %10, align 8 %85 = load i32, ptr %19, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds double, ptr %84, i64 %86 %88 = load double, ptr %87, align 8 %89 = load ptr, ptr %13, align 8 %90 = load double, ptr %89, align 8 %91 = fsub double %88, %90 %92 = load ptr, ptr %11, align 8 %93 = load i32, ptr %19, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %92, i64 %94 %96 = load double, ptr %95, align 8 %97 = load ptr, ptr %14, align 8 %98 = load double, ptr %97, align 8 %99 = fsub double %96, %98 %100 = fmul double %91, %99 %101 = load i32, ptr %19, align 4 %102 = sitofp i32 %101 to double %103 = fmul double %100, %102 %104 = load i32, ptr %19, align 4 %105 = sitofp i32 %104 to double %106 = fadd double %105, 1.000000e+00 %107 = fdiv double %103, %106 %108 = load ptr, ptr %16, align 8 %109 = load double, ptr %108, align 8 %110 = fadd double %109, %107 store double %110, ptr %108, align 8 %111 = load ptr, ptr %13, align 8 %112 = load double, ptr %111, align 8 %113 = load i32, ptr %19, align 4 %114 = sitofp i32 %113 to double %115 = load ptr, ptr %10, align 8 %116 = load i32, ptr %19, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %115, i64 %117 %119 = load double, ptr %118, align 8 %120 = call double @llvm.fmuladd.f64(double %112, double %114, double %119) %121 = load i32, ptr %19, align 4 %122 = sitofp i32 %121 to double %123 = fadd double %122, 1.000000e+00 %124 = fdiv double %120, %123 %125 = load ptr, ptr %13, align 8 store double %124, ptr %125, align 8 %126 = load ptr, ptr %14, align 8 %127 = load double, ptr %126, align 8 %128 = load i32, ptr %19, align 4 %129 = sitofp i32 %128 to double %130 = load ptr, ptr %11, align 8 %131 = load i32, ptr %19, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds double, ptr %130, i64 %132 %134 = load double, ptr %133, align 8 %135 = call double @llvm.fmuladd.f64(double %127, double %129, double %134) %136 = load i32, ptr %19, align 4 %137 = sitofp i32 %136 to double %138 = fadd double %137, 1.000000e+00 %139 = fdiv double %135, %138 %140 = load ptr, ptr %14, align 8 store double %139, ptr %140, align 8 br label %141 141: ; preds = %29 %142 = load i32, ptr %19, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %19, align 4 br label %25, !llvm.loop !6 144: ; preds = %25 %145 = load ptr, ptr %15, align 8 %146 = load double, ptr %145, align 8 %147 = fcmp ogt double %146, 0.000000e+00 br i1 %147, label %148, label %163 148: ; preds = %144 %149 = load ptr, ptr %17, align 8 %150 = load double, ptr %149, align 8 %151 = fcmp ogt double %150, 0.000000e+00 br i1 %151, label %152, label %163 152: ; preds = %148 %153 = load ptr, ptr %16, align 8 %154 = load double, ptr %153, align 8 %155 = load ptr, ptr %15, align 8 %156 = load double, ptr %155, align 8 %157 = load ptr, ptr %17, align 8 %158 = load double, ptr %157, align 8 %159 = fmul double %156, %158 %160 = call double @sqrt(double noundef %159) #3 %161 = fdiv double %154, %160 %162 = load ptr, ptr %18, align 8 store double %161, ptr %162, align 8 br label %165 163: ; preds = %148, %144 %164 = load ptr, ptr %18, align 8 store double -9.000000e+00, ptr %164, align 8 br label %165 165: ; preds = %163, %152 ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphtwjah3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @correl(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store i32 %2, ptr %12, align 4 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %20 = load ptr, ptr %17, align 8 store double 0.000000e+00, ptr %20, align 8 %21 = load ptr, ptr %16, align 8 store double 0.000000e+00, ptr %21, align 8 %22 = load ptr, ptr %15, align 8 store double 0.000000e+00, ptr %22, align 8 %23 = load ptr, ptr %14, align 8 store double 0.000000e+00, ptr %23, align 8 %24 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %24, align 8 store i32 0, ptr %19, align 4 %25 = load i32, ptr %19, align 4 %26 = load i32, ptr %12, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %146 .lr.ph: ; preds = %9 br label %28 28: ; preds = %.lr.ph, %140 %29 = load ptr, ptr %10, align 8 %30 = load i32, ptr %19, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %29, i64 %31 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %13, align 8 %35 = load double, ptr %34, align 8 %36 = fsub double %33, %35 %37 = load ptr, ptr %10, align 8 %38 = load i32, ptr %19, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %37, i64 %39 %41 = load double, ptr %40, align 8 %42 = load ptr, ptr %13, align 8 %43 = load double, ptr %42, align 8 %44 = fsub double %41, %43 %45 = fmul double %36, %44 %46 = load i32, ptr %19, align 4 %47 = sitofp i32 %46 to double %48 = fmul double %45, %47 %49 = load i32, ptr %19, align 4 %50 = sitofp i32 %49 to double %51 = fadd double %50, 1.000000e+00 %52 = fdiv double %48, %51 %53 = load ptr, ptr %15, align 8 %54 = load double, ptr %53, align 8 %55 = fadd double %54, %52 store double %55, ptr %53, align 8 %56 = load ptr, ptr %11, align 8 %57 = load i32, ptr %19, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds double, ptr %56, i64 %58 %60 = load double, ptr %59, align 8 %61 = load ptr, ptr %14, align 8 %62 = load double, ptr %61, align 8 %63 = fsub double %60, %62 %64 = load ptr, ptr %11, align 8 %65 = load i32, ptr %19, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %14, align 8 %70 = load double, ptr %69, align 8 %71 = fsub double %68, %70 %72 = fmul double %63, %71 %73 = load i32, ptr %19, align 4 %74 = sitofp i32 %73 to double %75 = fmul double %72, %74 %76 = load i32, ptr %19, align 4 %77 = sitofp i32 %76 to double %78 = fadd double %77, 1.000000e+00 %79 = fdiv double %75, %78 %80 = load ptr, ptr %17, align 8 %81 = load double, ptr %80, align 8 %82 = fadd double %81, %79 store double %82, ptr %80, align 8 %83 = load ptr, ptr %10, align 8 %84 = load i32, ptr %19, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds double, ptr %83, i64 %85 %87 = load double, ptr %86, align 8 %88 = load ptr, ptr %13, align 8 %89 = load double, ptr %88, align 8 %90 = fsub double %87, %89 %91 = load ptr, ptr %11, align 8 %92 = load i32, ptr %19, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %91, i64 %93 %95 = load double, ptr %94, align 8 %96 = load ptr, ptr %14, align 8 %97 = load double, ptr %96, align 8 %98 = fsub double %95, %97 %99 = fmul double %90, %98 %100 = load i32, ptr %19, align 4 %101 = sitofp i32 %100 to double %102 = fmul double %99, %101 %103 = load i32, ptr %19, align 4 %104 = sitofp i32 %103 to double %105 = fadd double %104, 1.000000e+00 %106 = fdiv double %102, %105 %107 = load ptr, ptr %16, align 8 %108 = load double, ptr %107, align 8 %109 = fadd double %108, %106 store double %109, ptr %107, align 8 %110 = load ptr, ptr %13, align 8 %111 = load double, ptr %110, align 8 %112 = load i32, ptr %19, align 4 %113 = sitofp i32 %112 to double %114 = load ptr, ptr %10, align 8 %115 = load i32, ptr %19, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds double, ptr %114, i64 %116 %118 = load double, ptr %117, align 8 %119 = call double @llvm.fmuladd.f64(double %111, double %113, double %118) %120 = load i32, ptr %19, align 4 %121 = sitofp i32 %120 to double %122 = fadd double %121, 1.000000e+00 %123 = fdiv double %119, %122 %124 = load ptr, ptr %13, align 8 store double %123, ptr %124, align 8 %125 = load ptr, ptr %14, align 8 %126 = load double, ptr %125, align 8 %127 = load i32, ptr %19, align 4 %128 = sitofp i32 %127 to double %129 = load ptr, ptr %11, align 8 %130 = load i32, ptr %19, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %129, i64 %131 %133 = load double, ptr %132, align 8 %134 = call double @llvm.fmuladd.f64(double %126, double %128, double %133) %135 = load i32, ptr %19, align 4 %136 = sitofp i32 %135 to double %137 = fadd double %136, 1.000000e+00 %138 = fdiv double %134, %137 %139 = load ptr, ptr %14, align 8 store double %138, ptr %139, align 8 br label %140 140: ; preds = %28 %141 = load i32, ptr %19, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %19, align 4 %143 = load i32, ptr %19, align 4 %144 = load i32, ptr %12, align 4 %145 = icmp slt i32 %143, %144 br i1 %145, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %140 br label %146 146: ; preds = %._crit_edge, %9 %147 = load ptr, ptr %15, align 8 %148 = load double, ptr %147, align 8 %149 = fcmp ogt double %148, 0.000000e+00 br i1 %149, label %150, label %165 150: ; preds = %146 %151 = load ptr, ptr %17, align 8 %152 = load double, ptr %151, align 8 %153 = fcmp ogt double %152, 0.000000e+00 br i1 %153, label %154, label %165 154: ; preds = %150 %155 = load ptr, ptr %16, align 8 %156 = load double, ptr %155, align 8 %157 = load ptr, ptr %15, align 8 %158 = load double, ptr %157, align 8 %159 = load ptr, ptr %17, align 8 %160 = load double, ptr %159, align 8 %161 = fmul double %158, %160 %162 = call double @sqrt(double noundef %161) #3 %163 = fdiv double %156, %162 %164 = load ptr, ptr %18, align 8 store double %163, ptr %164, align 8 br label %167 165: ; preds = %150, %146 %166 = load ptr, ptr %18, align 8 store double -9.000000e+00, ptr %166, align 8 br label %167 167: ; preds = %165, %154 ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwbdiboi8.c' source_filename = "/tmp/tmpwbdiboi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_partition_physical_disk_drive_id_fat32(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i8 -128, ptr %3, align 1 %4 = load ptr, ptr %2, align 8 %5 = call i32 @write_data(ptr noundef %4, i32 noundef 64, ptr noundef %3, i32 noundef 1) ret i32 %5 } declare i32 @write_data(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwbdiboi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_partition_physical_disk_drive_id_fat32(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i8 -128, ptr %3, align 1 %4 = load ptr, ptr %2, align 8 %5 = call i32 @write_data(ptr noundef %4, i32 noundef 64, ptr noundef %3, i32 noundef 1) ret i32 %5 } declare i32 @write_data(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoimt8z4g.c' source_filename = "/tmp/tmpoimt8z4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"enter value1, then value2 and then value3: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"value1=%.2f, value2=%.2f, value3=%.2f\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 float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %9 = load float, ptr %2, align 4 %10 = fpext float %9 to double %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = load float, ptr %4, align 4 %14 = fpext float %13 to double %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %10, double noundef %12, double noundef %14) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoimt8z4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"enter value1, then value2 and then value3: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"value1=%.2f, value2=%.2f, value3=%.2f\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 float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %9 = load float, ptr %2, align 4 %10 = fpext float %9 to double %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = load float, ptr %4, align 4 %14 = fpext float %13 to double %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %10, double noundef %12, double noundef %14) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqcp0p55w.c' source_filename = "/tmp/tmpqcp0p55w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OnFwdRegEx(i8 noundef zeroext %0, i8 noundef signext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #0 { %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store i8 %0, ptr %5, align 1 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 store i8 %3, ptr %8, align 1 %9 = load i8, ptr %5, align 1 %10 = call i32 @Fwd(i8 noundef zeroext %9) %11 = load i8, ptr %5, align 1 %12 = load i8, ptr %6, align 1 %13 = call i32 @SetSpeed(i8 noundef zeroext %11, i8 noundef signext %12) %14 = load i8, ptr %5, align 1 %15 = load i8, ptr %8, align 1 %16 = call i32 @OnEx(i8 noundef zeroext %14, i8 noundef zeroext %15) ret void } declare i32 @Fwd(i8 noundef zeroext) #1 declare i32 @SetSpeed(i8 noundef zeroext, i8 noundef signext) #1 declare i32 @OnEx(i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqcp0p55w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OnFwdRegEx(i8 noundef zeroext %0, i8 noundef signext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #0 { %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store i8 %0, ptr %5, align 1 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 store i8 %3, ptr %8, align 1 %9 = load i8, ptr %5, align 1 %10 = call i32 @Fwd(i8 noundef zeroext %9) %11 = load i8, ptr %5, align 1 %12 = load i8, ptr %6, align 1 %13 = call i32 @SetSpeed(i8 noundef zeroext %11, i8 noundef signext %12) %14 = load i8, ptr %5, align 1 %15 = load i8, ptr %8, align 1 %16 = call i32 @OnEx(i8 noundef zeroext %14, i8 noundef zeroext %15) ret void } declare i32 @Fwd(i8 noundef zeroext) #1 declare i32 @SetSpeed(i8 noundef zeroext, i8 noundef signext) #1 declare i32 @OnEx(i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprzi4rp3u.c' source_filename = "/tmp/tmprzi4rp3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cri_mutex_init_once(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ENOTSUP, align 4 %4 = sub nsw i32 0, %3 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprzi4rp3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cri_mutex_init_once(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ENOTSUP, align 4 %4 = sub nsw i32 0, %3 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyfca8_8n.c' source_filename = "/tmp/tmpyfca8_8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Izav opsega!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i32], align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %28, %0 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 3 br i1 %6, label %7, label %31 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %9 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = icmp slt i32 %15, 50 br i1 %16, label %23, label %17 17: ; preds = %7 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp sgt i32 %21, 200 br i1 %22, label %23, label %27 23: ; preds = %17, %7 %24 = call i32 @printf(ptr noundef @.str.1) %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %23, %17 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %4, !llvm.loop !6 31: ; preds = %4 %32 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0 %33 = call i32 @sortiraj(ptr noundef %32) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sortiraj(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/tmpyfca8_8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Izav opsega!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i32], align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 3 br i1 %5, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %27 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %8 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9) %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = icmp slt i32 %14, 50 br i1 %15, label %22, label %16 16: ; preds = %6 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %18 %20 = load i32, ptr %19, align 4 %21 = icmp sgt i32 %20, 200 br i1 %21, label %22, label %26 22: ; preds = %16, %6 %23 = call i32 @printf(ptr noundef @.str.1) %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %22, %16 br label %27 27: ; preds = %26 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %30, 3 br i1 %31, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %0 %33 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0 %34 = call i32 @sortiraj(ptr noundef %33) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sortiraj(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"}