llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp2sjzhsf4.c' source_filename = "/tmp/tmp2sjzhsf4.c" target datalayout = "e-m:e-p270: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"auto\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"none\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sep_arg(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 %6, align 8 %8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str) %9 = icmp eq i64 0, %8 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 store i8 0, ptr %11, align 1 br label %24 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp eq i64 0, %14 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 store i8 10, ptr %17, align 1 br label %23 18: ; preds = %12 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @chr_arg(ptr noundef %19, ptr noundef %20, ptr noundef %21) br label %23 23: ; preds = %18, %16 br label %24 24: ; preds = %23, %10 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @chr_arg(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/tmp2sjzhsf4.c" target datalayout = "e-m:e-p270: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"auto\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"none\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sep_arg(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 %6, align 8 %8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str) %9 = icmp eq i64 0, %8 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 store i8 0, ptr %11, align 1 br label %24 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp eq i64 0, %14 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 store i8 10, ptr %17, align 1 br label %23 18: ; preds = %12 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @chr_arg(ptr noundef %19, ptr noundef %20, ptr noundef %21) br label %23 23: ; preds = %18, %16 br label %24 24: ; preds = %23, %10 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @chr_arg(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/tmpy9t3pyxc.c' source_filename = "/tmp/tmpy9t3pyxc.c" target datalayout = "e-m:e-p270: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/tmpy9t3pyxc.c" target datalayout = "e-m:e-p270: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/tmpz690cfkz.c' source_filename = "/tmp/tmpz690cfkz.c" target datalayout = "e-m:e-p270: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.servent = type { i16 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @inet_service(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i16, align 2 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i16 0, ptr %6, align 2 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %2 store i16 0, ptr %3, align 2 br label %43 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i64 @strtol(ptr noundef %14, ptr noundef %7, i32 noundef 0) store i64 %15, ptr %8, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %30 20: ; preds = %13 %21 = load i64, ptr %8, align 8 %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load i64, ptr %8, align 8 %25 = icmp slt i64 %24, 65536 br i1 %25, label %26, label %30 26: ; preds = %23 %27 = load i64, ptr %8, align 8 %28 = trunc i64 %27 to i16 %29 = call zeroext i16 @htons(i16 noundef zeroext %28) store i16 %29, ptr %6, align 2 br label %41 30: ; preds = %23, %20, %13 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %5, align 8 %33 = call ptr @getservbyname(ptr noundef %31, ptr noundef %32) store ptr %33, ptr %9, align 8 %34 = load ptr, ptr %9, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %40 36: ; preds = %30 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds %struct.servent, ptr %37, i32 0, i32 0 %39 = load i16, ptr %38, align 2 store i16 %39, ptr %6, align 2 br label %40 40: ; preds = %36, %30 br label %41 41: ; preds = %40, %26 %42 = load i16, ptr %6, align 2 store i16 %42, ptr %3, align 2 br label %43 43: ; preds = %41, %12 %44 = load i16, ptr %3, align 2 ret i16 %44 } declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare zeroext i16 @htons(i16 noundef zeroext) #1 declare ptr @getservbyname(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/tmpz690cfkz.c" target datalayout = "e-m:e-p270: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.servent = type { i16 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @inet_service(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i16, align 2 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i16 0, ptr %6, align 2 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %2 store i16 0, ptr %3, align 2 br label %43 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = call i64 @strtol(ptr noundef %14, ptr noundef %7, i32 noundef 0) store i64 %15, ptr %8, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %30 20: ; preds = %13 %21 = load i64, ptr %8, align 8 %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load i64, ptr %8, align 8 %25 = icmp slt i64 %24, 65536 br i1 %25, label %26, label %30 26: ; preds = %23 %27 = load i64, ptr %8, align 8 %28 = trunc i64 %27 to i16 %29 = call zeroext i16 @htons(i16 noundef zeroext %28) store i16 %29, ptr %6, align 2 br label %41 30: ; preds = %23, %20, %13 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %5, align 8 %33 = call ptr @getservbyname(ptr noundef %31, ptr noundef %32) store ptr %33, ptr %9, align 8 %34 = load ptr, ptr %9, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %40 36: ; preds = %30 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds %struct.servent, ptr %37, i32 0, i32 0 %39 = load i16, ptr %38, align 2 store i16 %39, ptr %6, align 2 br label %40 40: ; preds = %36, %30 br label %41 41: ; preds = %40, %26 %42 = load i16, ptr %6, align 2 store i16 %42, ptr %3, align 2 br label %43 43: ; preds = %41, %12 %44 = load i16, ptr %3, align 2 ret i16 %44 } declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare zeroext i16 @htons(i16 noundef zeroext) #1 declare ptr @getservbyname(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/tmpvqjhkdgv.c' source_filename = "/tmp/tmpvqjhkdgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [29 x i8] c"cannot canonicalize \22%s\22: %s\00", align 1 @errno = dso_local global i32 0, align 4 @ENAMETOOLONG = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"cannot canonicalize \22%s\22: exceeded max path length\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"cannot stat \22%s\22: %s\00", align 1 @EINVAL = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [40 x i8] c"cannot check \22%s\22: unexpected file type\00", align 1 @S_IXUSR = dso_local global i32 0, align 4 @S_IXGRP = dso_local global i32 0, align 4 @S_IXOTH = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [45 x i8] c"execute permissions for all required on \22%s\22\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"cannot check \22%s\22: internal error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @path_is_accessible(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca [4096 x i8], align 16 %10 = alloca %struct.stat, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %14 = call i32 @path_canonicalize(ptr noundef %12, ptr noundef %13, i32 noundef 4096) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %3 %18 = load ptr, ptr %6, align 8 %19 = load i64, ptr %7, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr @errno, align 4 %22 = call i32 @strerror(i32 noundef %21) %23 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %18, i64 noundef %19, ptr noundef @.str, ptr noundef %20, i32 noundef %22) store i32 %23, ptr %4, align 4 br label %130 24: ; preds = %3 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = icmp uge i64 %26, 4096 br i1 %27, label %28, label %34 28: ; preds = %24 %29 = load i32, ptr @ENAMETOOLONG, align 4 store i32 %29, ptr @errno, align 4 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %7, align 8 %32 = load ptr, ptr %5, align 8 %33 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %30, i64 noundef %31, ptr noundef @.str.1, ptr noundef %32) store i32 %33, ptr %4, align 4 br label %130 34: ; preds = %24 %35 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %36 = call i64 @lstat(ptr noundef %35, ptr noundef %10) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %45 38: ; preds = %34 %39 = load ptr, ptr %6, align 8 %40 = load i64, ptr %7, align 8 %41 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %42 = load i32, ptr @errno, align 4 %43 = call i32 @strerror(i32 noundef %42) %44 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %39, i64 noundef %40, ptr noundef @.str.2, ptr noundef %41, i32 noundef %43) store i32 %44, ptr %4, align 4 br label %130 45: ; preds = %34 %46 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %47 = load i32, ptr %46, align 4 %48 = call i32 @S_ISDIR(i32 noundef %47) %49 = icmp ne i32 %48, 0 br i1 %49, label %57, label %50 50: ; preds = %45 %51 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %52 = call ptr @strrchr(ptr noundef %51, i8 noundef signext 47) store ptr %52, ptr %11, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %56 54: ; preds = %50 %55 = load ptr, ptr %11, align 8 store i8 0, ptr %55, align 1 br label %56 56: ; preds = %54, %50 br label %57 57: ; preds = %56, %45 br label %58 58: ; preds = %127, %57 %59 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %60 = load i8, ptr %59, align 16 %61 = sext i8 %60 to i32 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %129 63: ; preds = %58 %64 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %65 = call i64 @lstat(ptr noundef %64, ptr noundef %10) %66 = icmp slt i64 %65, 0 br i1 %66, label %67, label %74 67: ; preds = %63 %68 = load ptr, ptr %6, align 8 %69 = load i64, ptr %7, align 8 %70 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %71 = load i32, ptr @errno, align 4 %72 = call i32 @strerror(i32 noundef %71) %73 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %68, i64 noundef %69, ptr noundef @.str.2, ptr noundef %70, i32 noundef %72) store i32 %73, ptr %4, align 4 br label %130 74: ; preds = %63 %75 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %76 = load i32, ptr %75, align 4 %77 = call i32 @S_ISDIR(i32 noundef %76) %78 = icmp ne i32 %77, 0 br i1 %78, label %85, label %79 79: ; preds = %74 %80 = load i32, ptr @EINVAL, align 4 store i32 %80, ptr @errno, align 4 %81 = load ptr, ptr %6, align 8 %82 = load i64, ptr %7, align 8 %83 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %84 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %81, i64 noundef %82, ptr noundef @.str.3, ptr noundef %83) store i32 %84, ptr %4, align 4 br label %130 85: ; preds = %74 %86 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %87 = load i32, ptr %86, align 4 %88 = load i32, ptr @S_IXUSR, align 4 %89 = load i32, ptr @S_IXGRP, align 4 %90 = or i32 %88, %89 %91 = load i32, ptr @S_IXOTH, align 4 %92 = or i32 %90, %91 %93 = and i32 %87, %92 %94 = load i32, ptr @S_IXUSR, align 4 %95 = load i32, ptr @S_IXGRP, align 4 %96 = or i32 %94, %95 %97 = load i32, ptr @S_IXOTH, align 4 %98 = or i32 %96, %97 %99 = icmp ne i32 %93, %98 br i1 %99, label %100, label %105 100: ; preds = %85 %101 = load ptr, ptr %6, align 8 %102 = load i64, ptr %7, align 8 %103 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %104 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef 0, ptr noundef %101, i64 noundef %102, ptr noundef @.str.4, ptr noundef %103) store i32 %104, ptr %4, align 4 br label %130 105: ; preds = %85 %106 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %107 = call ptr @strrchr(ptr noundef %106, i8 noundef signext 47) store ptr %107, ptr %11, align 8 %108 = icmp ne ptr %107, null br i1 %108, label %115, label %109 109: ; preds = %105 %110 = load i32, ptr @EINVAL, align 4 store i32 %110, ptr @errno, align 4 %111 = load ptr, ptr %6, align 8 %112 = load i64, ptr %7, align 8 %113 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %114 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %111, i64 noundef %112, ptr noundef @.str.5, ptr noundef %113) store i32 %114, ptr %4, align 4 br label %130 115: ; preds = %105 %116 = load ptr, ptr %11, align 8 %117 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %118 = icmp eq ptr %116, %117 br i1 %118, label %119, label %127 119: ; preds = %115 %120 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 1 %121 = load i8, ptr %120, align 1 %122 = sext i8 %121 to i32 %123 = icmp ne i32 %122, 0 br i1 %123, label %124, label %127 124: ; preds = %119 %125 = load ptr, ptr %11, align 8 %126 = getelementptr inbounds i8, ptr %125, i32 1 store ptr %126, ptr %11, align 8 br label %127 127: ; preds = %124, %119, %115 %128 = load ptr, ptr %11, align 8 store i8 0, ptr %128, align 1 br label %58, !llvm.loop !6 129: ; preds = %58 store i32 1, ptr %4, align 4 br label %130 130: ; preds = %129, %109, %100, %79, %67, %38, %28, %17 %131 = load i32, ptr %4, align 4 ret i32 %131 } declare i32 @path_canonicalize(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @_path_set_err(i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @strerror(i32 noundef) #1 declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i32 @S_ISDIR(i32 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvqjhkdgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [29 x i8] c"cannot canonicalize \22%s\22: %s\00", align 1 @errno = dso_local global i32 0, align 4 @ENAMETOOLONG = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"cannot canonicalize \22%s\22: exceeded max path length\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"cannot stat \22%s\22: %s\00", align 1 @EINVAL = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [40 x i8] c"cannot check \22%s\22: unexpected file type\00", align 1 @S_IXUSR = dso_local global i32 0, align 4 @S_IXGRP = dso_local global i32 0, align 4 @S_IXOTH = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [45 x i8] c"execute permissions for all required on \22%s\22\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"cannot check \22%s\22: internal error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @path_is_accessible(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca [4096 x i8], align 16 %10 = alloca %struct.stat, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %14 = call i32 @path_canonicalize(ptr noundef %12, ptr noundef %13, i32 noundef 4096) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %3 %18 = load ptr, ptr %6, align 8 %19 = load i64, ptr %7, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr @errno, align 4 %22 = call i32 @strerror(i32 noundef %21) %23 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %18, i64 noundef %19, ptr noundef @.str, ptr noundef %20, i32 noundef %22) store i32 %23, ptr %4, align 4 br label %132 24: ; preds = %3 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = icmp uge i64 %26, 4096 br i1 %27, label %28, label %34 28: ; preds = %24 %29 = load i32, ptr @ENAMETOOLONG, align 4 store i32 %29, ptr @errno, align 4 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %7, align 8 %32 = load ptr, ptr %5, align 8 %33 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %30, i64 noundef %31, ptr noundef @.str.1, ptr noundef %32) store i32 %33, ptr %4, align 4 br label %132 34: ; preds = %24 %35 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %36 = call i64 @lstat(ptr noundef %35, ptr noundef %10) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %45 38: ; preds = %34 %39 = load ptr, ptr %6, align 8 %40 = load i64, ptr %7, align 8 %41 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %42 = load i32, ptr @errno, align 4 %43 = call i32 @strerror(i32 noundef %42) %44 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %39, i64 noundef %40, ptr noundef @.str.2, ptr noundef %41, i32 noundef %43) store i32 %44, ptr %4, align 4 br label %132 45: ; preds = %34 %46 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %47 = load i32, ptr %46, align 4 %48 = call i32 @S_ISDIR(i32 noundef %47) %49 = icmp ne i32 %48, 0 br i1 %49, label %57, label %50 50: ; preds = %45 %51 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %52 = call ptr @strrchr(ptr noundef %51, i8 noundef signext 47) store ptr %52, ptr %11, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %56 54: ; preds = %50 %55 = load ptr, ptr %11, align 8 store i8 0, ptr %55, align 1 br label %56 56: ; preds = %54, %50 br label %57 57: ; preds = %56, %45 %58 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %59 = load i8, ptr %58, align 16 %60 = sext i8 %59 to i32 %61 = icmp ne i32 %60, 0 br i1 %61, label %.lr.ph, label %131 .lr.ph: ; preds = %57 br label %62 62: ; preds = %.lr.ph, %126 %63 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %64 = call i64 @lstat(ptr noundef %63, ptr noundef %10) %65 = icmp slt i64 %64, 0 br i1 %65, label %66, label %73 66: ; preds = %62 %67 = load ptr, ptr %6, align 8 %68 = load i64, ptr %7, align 8 %69 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %70 = load i32, ptr @errno, align 4 %71 = call i32 @strerror(i32 noundef %70) %72 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %67, i64 noundef %68, ptr noundef @.str.2, ptr noundef %69, i32 noundef %71) store i32 %72, ptr %4, align 4 br label %132 73: ; preds = %62 %74 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %75 = load i32, ptr %74, align 4 %76 = call i32 @S_ISDIR(i32 noundef %75) %77 = icmp ne i32 %76, 0 br i1 %77, label %84, label %78 78: ; preds = %73 %79 = load i32, ptr @EINVAL, align 4 store i32 %79, ptr @errno, align 4 %80 = load ptr, ptr %6, align 8 %81 = load i64, ptr %7, align 8 %82 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %83 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %80, i64 noundef %81, ptr noundef @.str.3, ptr noundef %82) store i32 %83, ptr %4, align 4 br label %132 84: ; preds = %73 %85 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %86 = load i32, ptr %85, align 4 %87 = load i32, ptr @S_IXUSR, align 4 %88 = load i32, ptr @S_IXGRP, align 4 %89 = or i32 %87, %88 %90 = load i32, ptr @S_IXOTH, align 4 %91 = or i32 %89, %90 %92 = and i32 %86, %91 %93 = load i32, ptr @S_IXUSR, align 4 %94 = load i32, ptr @S_IXGRP, align 4 %95 = or i32 %93, %94 %96 = load i32, ptr @S_IXOTH, align 4 %97 = or i32 %95, %96 %98 = icmp ne i32 %92, %97 br i1 %98, label %99, label %104 99: ; preds = %84 %100 = load ptr, ptr %6, align 8 %101 = load i64, ptr %7, align 8 %102 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %103 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef 0, ptr noundef %100, i64 noundef %101, ptr noundef @.str.4, ptr noundef %102) store i32 %103, ptr %4, align 4 br label %132 104: ; preds = %84 %105 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %106 = call ptr @strrchr(ptr noundef %105, i8 noundef signext 47) store ptr %106, ptr %11, align 8 %107 = icmp ne ptr %106, null br i1 %107, label %114, label %108 108: ; preds = %104 %109 = load i32, ptr @EINVAL, align 4 store i32 %109, ptr @errno, align 4 %110 = load ptr, ptr %6, align 8 %111 = load i64, ptr %7, align 8 %112 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %113 = call i32 (i32, ptr, i64, ptr, ptr, ...) @_path_set_err(i32 noundef -1, ptr noundef %110, i64 noundef %111, ptr noundef @.str.5, ptr noundef %112) store i32 %113, ptr %4, align 4 br label %132 114: ; preds = %104 %115 = load ptr, ptr %11, align 8 %116 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %117 = icmp eq ptr %115, %116 br i1 %117, label %118, label %126 118: ; preds = %114 %119 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 1 %120 = load i8, ptr %119, align 1 %121 = sext i8 %120 to i32 %122 = icmp ne i32 %121, 0 br i1 %122, label %123, label %126 123: ; preds = %118 %124 = load ptr, ptr %11, align 8 %125 = getelementptr inbounds i8, ptr %124, i32 1 store ptr %125, ptr %11, align 8 br label %126 126: ; preds = %123, %118, %114 %127 = load ptr, ptr %11, align 8 store i8 0, ptr %127, align 1 %128 = load i8, ptr %58, align 16 %129 = sext i8 %128 to i32 %130 = icmp ne i32 %129, 0 br i1 %130, label %62, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %126 br label %131 131: ; preds = %._crit_edge, %57 store i32 1, ptr %4, align 4 br label %132 132: ; preds = %131, %108, %99, %78, %66, %38, %28, %17 %133 = load i32, ptr %4, align 4 ret i32 %133 } declare i32 @path_canonicalize(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @_path_set_err(i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @strerror(i32 noundef) #1 declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i32 @S_ISDIR(i32 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmzw0fztn.c' source_filename = "/tmp/tmpmzw0fztn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__VERIFIER_nondet_String() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i32 (...) @__VERIFIER_nondet_int() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp slt i32 %4, 1 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 1, ptr %1, align 4 br label %7 7: ; preds = %6, %0 %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 1 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %1, align 4 %16 = sub nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %14, i64 %17 store i8 0, ptr %18, align 1 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i64 @malloc(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/tmpmzw0fztn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__VERIFIER_nondet_String() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i32 (...) @__VERIFIER_nondet_int() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp slt i32 %4, 1 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 1, ptr %1, align 4 br label %7 7: ; preds = %6, %0 %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 1 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %1, align 4 %16 = sub nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %14, i64 %17 store i8 0, ptr %18, align 1 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i64 @malloc(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/tmpu9yzwe21.c' source_filename = "/tmp/tmpu9yzwe21.c" target datalayout = "e-m:e-p270: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.utsname = type { ptr, ptr, ptr, ptr, ptr } @octave_uname_wrapper.unm = internal global %struct.utsname zeroinitializer, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @octave_uname_wrapper(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = call i32 @uname(ptr noundef @octave_uname_wrapper.unm) store i32 %12, ptr %11, align 4 %13 = load i32, ptr %11, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %26 15: ; preds = %5 %16 = load ptr, ptr @octave_uname_wrapper.unm, align 8 %17 = load ptr, ptr %6, align 8 store ptr %16, ptr %17, align 8 %18 = load ptr, ptr getelementptr inbounds (%struct.utsname, ptr @octave_uname_wrapper.unm, i32 0, i32 1), align 8 %19 = load ptr, ptr %7, align 8 store ptr %18, ptr %19, align 8 %20 = load ptr, ptr getelementptr inbounds (%struct.utsname, ptr @octave_uname_wrapper.unm, i32 0, i32 2), align 8 %21 = load ptr, ptr %8, align 8 store ptr %20, ptr %21, align 8 %22 = load ptr, ptr getelementptr inbounds (%struct.utsname, ptr @octave_uname_wrapper.unm, i32 0, i32 3), align 8 %23 = load ptr, ptr %9, align 8 store ptr %22, ptr %23, align 8 %24 = load ptr, ptr getelementptr inbounds (%struct.utsname, ptr @octave_uname_wrapper.unm, i32 0, i32 4), align 8 %25 = load ptr, ptr %10, align 8 store ptr %24, ptr %25, align 8 br label %32 26: ; preds = %5 %27 = load ptr, ptr %6, align 8 store ptr null, ptr %27, align 8 %28 = load ptr, ptr %7, align 8 store ptr null, ptr %28, align 8 %29 = load ptr, ptr %8, align 8 store ptr null, ptr %29, align 8 %30 = load ptr, ptr %9, align 8 store ptr null, ptr %30, align 8 %31 = load ptr, ptr %10, align 8 store ptr null, ptr %31, align 8 br label %32 32: ; preds = %26, %15 %33 = load i32, ptr %11, align 4 ret i32 %33 } declare i32 @uname(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/tmpu9yzwe21.c" target datalayout = "e-m:e-p270: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.utsname = type { ptr, ptr, ptr, ptr, ptr } @octave_uname_wrapper.unm = internal global %struct.utsname zeroinitializer, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @octave_uname_wrapper(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = call i32 @uname(ptr noundef @octave_uname_wrapper.unm) store i32 %12, ptr %11, align 4 %13 = load i32, ptr %11, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %26 15: ; preds = %5 %16 = load ptr, ptr @octave_uname_wrapper.unm, align 8 %17 = load ptr, ptr %6, align 8 store ptr %16, ptr %17, align 8 %18 = load ptr, ptr getelementptr inbounds (%struct.utsname, ptr @octave_uname_wrapper.unm, i32 0, i32 1), align 8 %19 = load ptr, ptr %7, align 8 store ptr %18, ptr %19, align 8 %20 = load ptr, ptr getelementptr inbounds (%struct.utsname, ptr @octave_uname_wrapper.unm, i32 0, i32 2), align 8 %21 = load ptr, ptr %8, align 8 store ptr %20, ptr %21, align 8 %22 = load ptr, ptr getelementptr inbounds (%struct.utsname, ptr @octave_uname_wrapper.unm, i32 0, i32 3), align 8 %23 = load ptr, ptr %9, align 8 store ptr %22, ptr %23, align 8 %24 = load ptr, ptr getelementptr inbounds (%struct.utsname, ptr @octave_uname_wrapper.unm, i32 0, i32 4), align 8 %25 = load ptr, ptr %10, align 8 store ptr %24, ptr %25, align 8 br label %32 26: ; preds = %5 %27 = load ptr, ptr %6, align 8 store ptr null, ptr %27, align 8 %28 = load ptr, ptr %7, align 8 store ptr null, ptr %28, align 8 %29 = load ptr, ptr %8, align 8 store ptr null, ptr %29, align 8 %30 = load ptr, ptr %9, align 8 store ptr null, ptr %30, align 8 %31 = load ptr, ptr %10, align 8 store ptr null, ptr %31, align 8 br label %32 32: ; preds = %26, %15 %33 = load i32, ptr %11, align 4 ret i32 %33 } declare i32 @uname(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/tmpefd48vcd.c' source_filename = "/tmp/tmpefd48vcd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @solve() %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @solve(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpefd48vcd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @solve() %2 = call i32 @printf(ptr noundef @.str, i32 noundef %1) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @solve(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph0ou3dnp.c' source_filename = "/tmp/tmph0ou3dnp.c" target datalayout = "e-m:e-p270: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"./test.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"file open failed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1024 x i8], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @O_RDONLY, align 4 %5 = call i32 @open(ptr noundef @.str, i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = icmp slt i32 0, %5 br i1 %6, label %7, label %15 7: ; preds = %0 %8 = load i32, ptr %3, align 4 %9 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef 1024) %11 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @puts(ptr noundef %11) %13 = load i32, ptr %3, align 4 %14 = call i32 @close(i32 noundef %13) br label %17 15: ; preds = %0 %16 = call i32 @printf(ptr noundef @.str.1) br label %17 17: ; preds = %15, %7 ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @close(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/tmph0ou3dnp.c" target datalayout = "e-m:e-p270: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"./test.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"file open failed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1024 x i8], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @O_RDONLY, align 4 %5 = call i32 @open(ptr noundef @.str, i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = icmp slt i32 0, %5 br i1 %6, label %7, label %15 7: ; preds = %0 %8 = load i32, ptr %3, align 4 %9 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef 1024) %11 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @puts(ptr noundef %11) %13 = load i32, ptr %3, align 4 %14 = call i32 @close(i32 noundef %13) br label %17 15: ; preds = %0 %16 = call i32 @printf(ptr noundef @.str.1) br label %17 17: ; preds = %15, %7 ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @close(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/tmp_cqwkna1.c' source_filename = "/tmp/tmp_cqwkna1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lstat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @syscall(i32 noundef 196, ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_cqwkna1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lstat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @syscall(i32 noundef 196, ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz_t9m7do.c' source_filename = "/tmp/tmpz_t9m7do.c" target datalayout = "e-m:e-p270: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"%1x\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert_string_hex(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 1 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %2, align 8 store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %6, align 8 %17 = load i32, ptr %3, align 4 %18 = and i32 %17, 1 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %29 20: ; preds = %1 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %6, align 8 %24 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str, ptr noundef %22) %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %4, align 8 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %29 29: ; preds = %20, %1 br label %30 30: ; preds = %34, %29 %31 = load ptr, ptr %4, align 8 %32 = load i8, ptr %31, align 1 %33 = icmp ne i8 %32, 0 br i1 %33, label %34, label %41 34: ; preds = %30 %35 = load ptr, ptr %4, align 8 %36 = load ptr, ptr %6, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %6, align 8 %38 = call i32 @sscanf(ptr noundef %35, ptr noundef @.str.1, ptr noundef %36) %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 2 store ptr %40, ptr %4, align 8 br label %30, !llvm.loop !6 41: ; preds = %30 %42 = load ptr, ptr %2, align 8 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %3, align 4 %45 = call i32 @strncpy(ptr noundef %42, ptr noundef %43, i32 noundef %44) %46 = load ptr, ptr %5, align 8 %47 = call i32 @free(ptr noundef %46) ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz_t9m7do.c" target datalayout = "e-m:e-p270: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"%1x\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert_string_hex(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 1 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %2, align 8 store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %6, align 8 %17 = load i32, ptr %3, align 4 %18 = and i32 %17, 1 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %29 20: ; preds = %1 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %6, align 8 %24 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str, ptr noundef %22) %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %4, align 8 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %29 29: ; preds = %20, %1 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = icmp ne i8 %31, 0 br i1 %32, label %.lr.ph, label %43 .lr.ph: ; preds = %29 br label %33 33: ; preds = %.lr.ph, %33 %34 = load ptr, ptr %4, align 8 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %6, align 8 %37 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.1, ptr noundef %35) %38 = load ptr, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 2 store ptr %39, ptr %4, align 8 %40 = load ptr, ptr %4, align 8 %41 = load i8, ptr %40, align 1 %42 = icmp ne i8 %41, 0 br i1 %42, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %43 43: ; preds = %._crit_edge, %29 %44 = load ptr, ptr %2, align 8 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %3, align 4 %47 = call i32 @strncpy(ptr noundef %44, ptr noundef %45, i32 noundef %46) %48 = load ptr, ptr %5, align 8 %49 = call i32 @free(ptr noundef %48) ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpydgy2fys.c' source_filename = "/tmp/tmpydgy2fys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim_whitespaces(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store ptr null, ptr %2, align 8 br label %90 13: ; preds = %1 %14 = load i64, ptr %4, align 8 %15 = add i64 %14, 1 store i64 %15, ptr %4, align 8 %16 = mul i64 1, %15 %17 = trunc i64 %16 to i32 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %13 %22 = call i32 @exit(i32 noundef 21) #3 unreachable 23: ; preds = %13 br label %24 24: ; preds = %29, %23 %25 = load ptr, ptr %3, align 8 %26 = load i8, ptr %25, align 1 %27 = call i64 @isspace(i8 noundef zeroext %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %24 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %3, align 8 br label %24, !llvm.loop !6 32: ; preds = %24 %33 = load ptr, ptr %3, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %32 %38 = load ptr, ptr %5, align 8 %39 = call i32 @free(ptr noundef %38) store ptr null, ptr %2, align 8 br label %90 40: ; preds = %32 %41 = load ptr, ptr %3, align 8 %42 = load ptr, ptr %3, align 8 %43 = call i64 @strlen(ptr noundef %42) %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = getelementptr inbounds i8, ptr %44, i64 -1 store ptr %45, ptr %6, align 8 br label %46 46: ; preds = %57, %40 %47 = load ptr, ptr %6, align 8 %48 = load ptr, ptr %3, align 8 %49 = icmp ugt ptr %47, %48 br i1 %49, label %50, label %55 50: ; preds = %46 %51 = load ptr, ptr %6, align 8 %52 = load i8, ptr %51, align 1 %53 = call i64 @isspace(i8 noundef zeroext %52) %54 = icmp ne i64 %53, 0 br label %55 55: ; preds = %50, %46 %56 = phi i1 [ false, %46 ], [ %54, %50 ] br i1 %56, label %57, label %60 57: ; preds = %55 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 -1 store ptr %59, ptr %6, align 8 br label %46, !llvm.loop !8 60: ; preds = %55 %61 = load ptr, ptr %6, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %6, align 8 %63 = load ptr, ptr %6, align 8 %64 = load ptr, ptr %3, align 8 %65 = ptrtoint ptr %63 to i64 %66 = ptrtoint ptr %64 to i64 %67 = sub i64 %65, %66 %68 = load i64, ptr %4, align 8 %69 = sub i64 %68, 1 %70 = icmp ult i64 %67, %69 br i1 %70, label %71, label %77 71: ; preds = %60 %72 = load ptr, ptr %6, align 8 %73 = load ptr, ptr %3, align 8 %74 = ptrtoint ptr %72 to i64 %75 = ptrtoint ptr %73 to i64 %76 = sub i64 %74, %75 br label %80 77: ; preds = %60 %78 = load i64, ptr %4, align 8 %79 = sub i64 %78, 1 br label %80 80: ; preds = %77, %71 %81 = phi i64 [ %76, %71 ], [ %79, %77 ] store i64 %81, ptr %7, align 8 %82 = load ptr, ptr %5, align 8 %83 = load ptr, ptr %3, align 8 %84 = load i64, ptr %7, align 8 %85 = call i32 @memcpy(ptr noundef %82, ptr noundef %83, i64 noundef %84) %86 = load ptr, ptr %5, align 8 %87 = load i64, ptr %7, align 8 %88 = getelementptr inbounds i8, ptr %86, i64 %87 store i8 0, ptr %88, align 1 %89 = load ptr, ptr %5, align 8 store ptr %89, ptr %2, align 8 br label %90 90: ; preds = %80, %37, %12 %91 = load ptr, ptr %2, align 8 ret ptr %91 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @isspace(i8 noundef zeroext) #1 declare i32 @free(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpydgy2fys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim_whitespaces(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store ptr null, ptr %2, align 8 br label %93 13: ; preds = %1 %14 = load i64, ptr %4, align 8 %15 = add i64 %14, 1 store i64 %15, ptr %4, align 8 %16 = mul i64 1, %15 %17 = trunc i64 %16 to i32 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %5, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %13 %22 = call i32 @exit(i32 noundef 21) #3 unreachable 23: ; preds = %13 %24 = load ptr, ptr %3, align 8 %25 = load i8, ptr %24, align 1 %26 = call i64 @isspace(i8 noundef zeroext %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %.lr.ph, label %35 .lr.ph: ; preds = %23 br label %28 28: ; preds = %.lr.ph, %28 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %3, align 8 %31 = load ptr, ptr %3, align 8 %32 = load i8, ptr %31, align 1 %33 = call i64 @isspace(i8 noundef zeroext %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %35 35: ; preds = %._crit_edge, %23 %36 = load ptr, ptr %3, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %35 %41 = load ptr, ptr %5, align 8 %42 = call i32 @free(ptr noundef %41) store ptr null, ptr %2, align 8 br label %93 43: ; preds = %35 %44 = load ptr, ptr %3, align 8 %45 = load ptr, ptr %3, align 8 %46 = call i64 @strlen(ptr noundef %45) %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = getelementptr inbounds i8, ptr %47, i64 -1 store ptr %48, ptr %6, align 8 br label %49 49: ; preds = %60, %43 %50 = load ptr, ptr %6, align 8 %51 = load ptr, ptr %3, align 8 %52 = icmp ugt ptr %50, %51 br i1 %52, label %53, label %58 53: ; preds = %49 %54 = load ptr, ptr %6, align 8 %55 = load i8, ptr %54, align 1 %56 = call i64 @isspace(i8 noundef zeroext %55) %57 = icmp ne i64 %56, 0 br label %58 58: ; preds = %53, %49 %59 = phi i1 [ false, %49 ], [ %57, %53 ] br i1 %59, label %60, label %63 60: ; preds = %58 %61 = load ptr, ptr %6, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 -1 store ptr %62, ptr %6, align 8 br label %49, !llvm.loop !8 63: ; preds = %58 %64 = load ptr, ptr %6, align 8 %65 = getelementptr inbounds i8, ptr %64, i32 1 store ptr %65, ptr %6, align 8 %66 = load ptr, ptr %6, align 8 %67 = load ptr, ptr %3, align 8 %68 = ptrtoint ptr %66 to i64 %69 = ptrtoint ptr %67 to i64 %70 = sub i64 %68, %69 %71 = load i64, ptr %4, align 8 %72 = sub i64 %71, 1 %73 = icmp ult i64 %70, %72 br i1 %73, label %74, label %80 74: ; preds = %63 %75 = load ptr, ptr %6, align 8 %76 = load ptr, ptr %3, align 8 %77 = ptrtoint ptr %75 to i64 %78 = ptrtoint ptr %76 to i64 %79 = sub i64 %77, %78 br label %83 80: ; preds = %63 %81 = load i64, ptr %4, align 8 %82 = sub i64 %81, 1 br label %83 83: ; preds = %80, %74 %84 = phi i64 [ %79, %74 ], [ %82, %80 ] store i64 %84, ptr %7, align 8 %85 = load ptr, ptr %5, align 8 %86 = load ptr, ptr %3, align 8 %87 = load i64, ptr %7, align 8 %88 = call i32 @memcpy(ptr noundef %85, ptr noundef %86, i64 noundef %87) %89 = load ptr, ptr %5, align 8 %90 = load i64, ptr %7, align 8 %91 = getelementptr inbounds i8, ptr %89, i64 %90 store i8 0, ptr %91, align 1 %92 = load ptr, ptr %5, align 8 store ptr %92, ptr %2, align 8 br label %93 93: ; preds = %83, %40, %12 %94 = load ptr, ptr %2, align 8 ret ptr %94 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @isspace(i8 noundef zeroext) #1 declare i32 @free(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxawu3or3.c' source_filename = "/tmp/tmpxawu3or3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base64_encode(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 store ptr null, ptr %3, align 8 br label %34 11: ; preds = %2 %12 = load i64, ptr %5, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load ptr, ptr %4, align 8 %16 = call i64 @strlen(ptr noundef %15) store i64 %16, ptr %5, align 8 br label %17 17: ; preds = %14, %11 %18 = load i64, ptr %5, align 8 %19 = call i64 @base64_encoded_size(i64 noundef %18) store i64 %19, ptr %7, align 8 %20 = load i64, ptr %7, align 8 %21 = add i64 %20, 1 %22 = mul i64 1, %21 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %6, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %28 27: ; preds = %17 store ptr null, ptr %3, align 8 br label %34 28: ; preds = %17 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %4, align 8 %31 = load i64, ptr %5, align 8 %32 = call i32 @base64_encode_binary(ptr noundef %29, ptr noundef %30, i64 noundef %31) %33 = load ptr, ptr %6, align 8 store ptr %33, ptr %3, align 8 br label %34 34: ; preds = %28, %27, %10 %35 = load ptr, ptr %3, align 8 ret ptr %35 } declare i64 @strlen(ptr noundef) #1 declare i64 @base64_encoded_size(i64 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @base64_encode_binary(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxawu3or3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base64_encode(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 store ptr null, ptr %3, align 8 br label %34 11: ; preds = %2 %12 = load i64, ptr %5, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load ptr, ptr %4, align 8 %16 = call i64 @strlen(ptr noundef %15) store i64 %16, ptr %5, align 8 br label %17 17: ; preds = %14, %11 %18 = load i64, ptr %5, align 8 %19 = call i64 @base64_encoded_size(i64 noundef %18) store i64 %19, ptr %7, align 8 %20 = load i64, ptr %7, align 8 %21 = add i64 %20, 1 %22 = mul i64 1, %21 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %6, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %28 27: ; preds = %17 store ptr null, ptr %3, align 8 br label %34 28: ; preds = %17 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %4, align 8 %31 = load i64, ptr %5, align 8 %32 = call i32 @base64_encode_binary(ptr noundef %29, ptr noundef %30, i64 noundef %31) %33 = load ptr, ptr %6, align 8 store ptr %33, ptr %3, align 8 br label %34 34: ; preds = %28, %27, %10 %35 = load ptr, ptr %3, align 8 ret ptr %35 } declare i64 @strlen(ptr noundef) #1 declare i64 @base64_encoded_size(i64 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @base64_encode_binary(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgbj_zip8.c' source_filename = "/tmp/tmpgbj_zip8.c" target datalayout = "e-m:e-p270: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" YOU HAVE WON! :) \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @you_won() #0 { %1 = call i32 @mvaddstr(i32 noundef 12, i32 noundef 24, ptr noundef @.str) %2 = call i32 (...) @end_game() ret void } declare i32 @mvaddstr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @end_game(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgbj_zip8.c" target datalayout = "e-m:e-p270: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" YOU HAVE WON! :) \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @you_won() #0 { %1 = call i32 @mvaddstr(i32 noundef 12, i32 noundef 24, ptr noundef @.str) %2 = call i32 (...) @end_game() ret void } declare i32 @mvaddstr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @end_game(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9_z7fxq5.c' source_filename = "/tmp/tmp9_z7fxq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIOCGIFHWADDR = 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/tmp9_z7fxq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIOCGIFHWADDR = 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/tmpkpuqn187.c' source_filename = "/tmp/tmpkpuqn187.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main18() #0 { %1 = call i32 (...) @area4() ret i32 0 } declare i32 @area4(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkpuqn187.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main18() #0 { %1 = call i32 (...) @area4() ret i32 0 } declare i32 @area4(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuxzwf60q.c' source_filename = "/tmp/tmpuxzwf60q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i64 0, align 8 @EXIT_SUCCESS = 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/tmpuxzwf60q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i64 0, align 8 @EXIT_SUCCESS = 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/tmpgvwlsywv.c' source_filename = "/tmp/tmpgvwlsywv.c" target datalayout = "e-m:e-p270: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.nums = private unnamed_addr constant [7 x i32] [i32 2, i32 1, i32 11, i32 15, i32 17, i32 20, i32 23], align 16 @.str = private unnamed_addr constant [45 x i8] c"indices that sum 31 in the following array:\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\0Awe use indices %d and %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i32], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.nums, i64 28, i1 false) %5 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %6 = call ptr @two_sum_direct(ptr noundef %5, i32 noundef 7, i32 noundef 31) store ptr %6, ptr %3, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %8 8: ; preds = %17, %0 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 7 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15) br label %17 17: ; preds = %11 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 0 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i32, ptr %24, i64 1 %26 = load i32, ptr %25, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23, i32 noundef %26) %28 = load ptr, ptr %3, align 8 %29 = call i32 @free(ptr noundef %28) 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 ptr @two_sum_direct(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @free(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/tmpgvwlsywv.c" target datalayout = "e-m:e-p270: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.nums = private unnamed_addr constant [7 x i32] [i32 2, i32 1, i32 11, i32 15, i32 17, i32 20, i32 23], align 16 @.str = private unnamed_addr constant [45 x i8] c"indices that sum 31 in the following array:\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\0Awe use indices %d and %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i32], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.nums, i64 28, i1 false) %5 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %6 = call ptr @two_sum_direct(ptr noundef %5, i32 noundef 7, i32 noundef 31) store ptr %6, ptr %3, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 7 br i1 %9, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %16 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14) br label %16 16: ; preds = %10 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %19, 7 br i1 %20, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 0 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i32, ptr %25, i64 1 %27 = load i32, ptr %26, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24, i32 noundef %27) %29 = load ptr, ptr %3, align 8 %30 = call i32 @free(ptr noundef %29) 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 ptr @two_sum_direct(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @free(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/tmpc5gqbzmy.c' source_filename = "/tmp/tmpc5gqbzmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pushinteger4array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = mul nsw i32 %6, 4 %8 = call i32 @pushNarray(ptr noundef %5, i32 noundef %7) ret void } declare i32 @pushNarray(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/tmpc5gqbzmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pushinteger4array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = mul nsw i32 %6, 4 %8 = call i32 @pushNarray(ptr noundef %5, i32 noundef %7) ret void } declare i32 @pushNarray(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/tmpc9anc9nx.c' source_filename = "/tmp/tmpc9anc9nx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [10 x double], align 16 %4 = alloca [20 x [30 x double]], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %11 = call i64 @malloc(i32 noundef 320) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 store ptr %2, ptr %6, align 8 %13 = getelementptr inbounds [10 x double], ptr %3, i64 0, i64 0 store ptr %13, ptr %7, align 8 %14 = getelementptr inbounds [20 x [30 x double]], ptr %4, i64 0, i64 0 store ptr %14, ptr %8, align 8 %15 = getelementptr inbounds [20 x [30 x double]], ptr %4, i64 0, i64 2 %16 = getelementptr inbounds [30 x double], ptr %15, i64 0, i64 3 store ptr %16, ptr %9, align 8 %17 = getelementptr inbounds [10 x double], ptr %3, i64 0, i64 3 store ptr %17, ptr %9, align 8 %18 = load ptr, ptr %5, align 8 store ptr %18, ptr %10, align 8 ret i32 0 } declare i64 @malloc(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/tmpc9anc9nx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [10 x double], align 16 %4 = alloca [20 x [30 x double]], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %11 = call i64 @malloc(i32 noundef 320) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 store ptr %2, ptr %6, align 8 %13 = getelementptr inbounds [10 x double], ptr %3, i64 0, i64 0 store ptr %13, ptr %7, align 8 %14 = getelementptr inbounds [20 x [30 x double]], ptr %4, i64 0, i64 0 store ptr %14, ptr %8, align 8 %15 = getelementptr inbounds [20 x [30 x double]], ptr %4, i64 0, i64 2 %16 = getelementptr inbounds [30 x double], ptr %15, i64 0, i64 3 store ptr %16, ptr %9, align 8 %17 = getelementptr inbounds [10 x double], ptr %3, i64 0, i64 3 store ptr %17, ptr %9, align 8 %18 = load ptr, ptr %5, align 8 store ptr %18, ptr %10, align 8 ret i32 0 } declare i64 @malloc(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/tmp_7opcouj.c' source_filename = "/tmp/tmp_7opcouj.c" target datalayout = "e-m:e-p270: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"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @asctime_r(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strftime(ptr noundef %5, i32 noundef 28, ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %4, align 8 ret ptr %8 } declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_7opcouj.c" target datalayout = "e-m:e-p270: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"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @asctime_r(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strftime(ptr noundef %5, i32 noundef 28, ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %4, align 8 ret ptr %8 } declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptgmnbjtf.c' source_filename = "/tmp/tmptgmnbjtf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @key_cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br label %12 12: ; preds = %9, %2 %13 = phi i1 [ false, %2 ], [ %11, %9 ] %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load ptr, ptr %3, align 8 store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %20, align 4 %22 = icmp slt i32 %19, %21 %23 = zext i1 %22 to i32 ret i32 %23 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptgmnbjtf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @key_cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br label %12 12: ; preds = %9, %2 %13 = phi i1 [ false, %2 ], [ %11, %9 ] %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load ptr, ptr %3, align 8 store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %20, align 4 %22 = icmp slt i32 %19, %21 %23 = zext i1 %22 to i32 ret i32 %23 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgiialq6t.c' source_filename = "/tmp/tmpgiialq6t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi_decimal(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %28, %1 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %5 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 46 br label %15 15: ; preds = %10, %5 %16 = phi i1 [ false, %5 ], [ %14, %10 ] br i1 %16, label %17, label %38 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp slt i32 %20, 48 br i1 %21, label %27, label %22 22: ; preds = %17 %23 = load ptr, ptr %3, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sgt i32 %25, 57 br i1 %26, label %27, label %28 27: ; preds = %22, %17 store i32 0, ptr %2, align 4 br label %40 28: ; preds = %22 %29 = load i32, ptr %4, align 4 %30 = mul nsw i32 %29, 10 %31 = load ptr, ptr %3, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = sub nsw i32 %33, 48 %35 = add nsw i32 %30, %34 store i32 %35, ptr %4, align 4 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %3, align 8 br label %5, !llvm.loop !6 38: ; preds = %15 %39 = load i32, ptr %4, align 4 store i32 %39, ptr %2, align 4 br label %40 40: ; preds = %38, %27 %41 = load i32, ptr %2, align 4 ret i32 %41 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpgiialq6t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi_decimal(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %28, %1 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %5 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 46 br label %15 15: ; preds = %10, %5 %16 = phi i1 [ false, %5 ], [ %14, %10 ] br i1 %16, label %17, label %38 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp slt i32 %20, 48 br i1 %21, label %27, label %22 22: ; preds = %17 %23 = load ptr, ptr %3, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sgt i32 %25, 57 br i1 %26, label %27, label %28 27: ; preds = %22, %17 store i32 0, ptr %2, align 4 br label %40 28: ; preds = %22 %29 = load i32, ptr %4, align 4 %30 = mul nsw i32 %29, 10 %31 = load ptr, ptr %3, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = sub nsw i32 %33, 48 %35 = add nsw i32 %30, %34 store i32 %35, ptr %4, align 4 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %3, align 8 br label %5, !llvm.loop !6 38: ; preds = %15 %39 = load i32, ptr %4, align 4 store i32 %39, ptr %2, align 4 br label %40 40: ; preds = %38, %27 %41 = load i32, ptr %2, align 4 ret i32 %41 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp5tedgbjd.c' source_filename = "/tmp/tmp5tedgbjd.c" target datalayout = "e-m:e-p270: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/tmp5tedgbjd.c" target datalayout = "e-m:e-p270: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/tmpzbsdtp4w.c' source_filename = "/tmp/tmpzbsdtp4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Could not create module from name %s: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kmod_lookup_alias_from_moddep_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %6, align 8 %12 = call i64 @strchr(ptr noundef %11, i8 noundef signext 58) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %48 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %6, align 8 %18 = call ptr @kmod_search_moddep(ptr noundef %16, ptr noundef %17) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %43 21: ; preds = %15 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = call i32 @kmod_module_new_from_name(ptr noundef %22, ptr noundef %23, ptr noundef %10) store i32 %24, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %34 27: ; preds = %21 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %9, align 4 %31 = sub nsw i32 0, %30 %32 = call i32 @strerror(i32 noundef %31) %33 = call i32 @kmod_log_null(ptr noundef %28, ptr noundef @.str, ptr noundef %29, i32 noundef %32) br label %44 34: ; preds = %21 %35 = load ptr, ptr %7, align 8 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %10, align 8 %38 = call ptr @kmod_list_append(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %7, align 8 store ptr %38, ptr %39, align 8 %40 = load ptr, ptr %10, align 8 %41 = load ptr, ptr %8, align 8 %42 = call i32 @kmod_module_parse_depline(ptr noundef %40, ptr noundef %41) br label %43 43: ; preds = %34, %15 br label %44 44: ; preds = %43, %27 %45 = load ptr, ptr %8, align 8 %46 = call i32 @free(ptr noundef %45) %47 = load i32, ptr %9, align 4 store i32 %47, ptr %4, align 4 br label %48 48: ; preds = %44, %14 %49 = load i32, ptr %4, align 4 ret i32 %49 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @kmod_search_moddep(ptr noundef, ptr noundef) #1 declare i32 @kmod_module_new_from_name(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @kmod_log_null(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 declare ptr @kmod_list_append(ptr noundef, ptr noundef) #1 declare i32 @kmod_module_parse_depline(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzbsdtp4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Could not create module from name %s: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kmod_lookup_alias_from_moddep_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %6, align 8 %12 = call i64 @strchr(ptr noundef %11, i8 noundef signext 58) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %48 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %6, align 8 %18 = call ptr @kmod_search_moddep(ptr noundef %16, ptr noundef %17) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %43 21: ; preds = %15 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = call i32 @kmod_module_new_from_name(ptr noundef %22, ptr noundef %23, ptr noundef %10) store i32 %24, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %34 27: ; preds = %21 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %9, align 4 %31 = sub nsw i32 0, %30 %32 = call i32 @strerror(i32 noundef %31) %33 = call i32 @kmod_log_null(ptr noundef %28, ptr noundef @.str, ptr noundef %29, i32 noundef %32) br label %44 34: ; preds = %21 %35 = load ptr, ptr %7, align 8 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %10, align 8 %38 = call ptr @kmod_list_append(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %7, align 8 store ptr %38, ptr %39, align 8 %40 = load ptr, ptr %10, align 8 %41 = load ptr, ptr %8, align 8 %42 = call i32 @kmod_module_parse_depline(ptr noundef %40, ptr noundef %41) br label %43 43: ; preds = %34, %15 br label %44 44: ; preds = %43, %27 %45 = load ptr, ptr %8, align 8 %46 = call i32 @free(ptr noundef %45) %47 = load i32, ptr %9, align 4 store i32 %47, ptr %4, align 4 br label %48 48: ; preds = %44, %14 %49 = load i32, ptr %4, align 4 ret i32 %49 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @kmod_search_moddep(ptr noundef, ptr noundef) #1 declare i32 @kmod_module_new_from_name(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @kmod_log_null(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 declare ptr @kmod_list_append(ptr noundef, ptr noundef) #1 declare i32 @kmod_module_parse_depline(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcd4697rs.c' source_filename = "/tmp/tmpcd4697rs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Random(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = call i32 (...) @rand() %6 = load i32, ptr %4, align 4 %7 = srem i32 %5, %6 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %7, %8 ret i32 %9 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcd4697rs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Random(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = call i32 (...) @rand() %6 = load i32, ptr %4, align 4 %7 = srem i32 %5, %6 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %7, %8 ret i32 %9 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprt66kroo.c' source_filename = "/tmp/tmprt66kroo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safestrdup5(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 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 i32, align 4 %15 = alloca i32, align 4 %16 = 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 i32 %6, ptr %14, align 4 %17 = load ptr, ptr %8, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %7 %20 = load ptr, ptr %8, align 8 %21 = call i32 @safestrlen(ptr noundef %20) br label %23 22: ; preds = %7 br label %23 23: ; preds = %22, %19 %24 = phi i32 [ %21, %19 ], [ 0, %22 ] %25 = add nsw i32 1, %24 %26 = load ptr, ptr %9, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %23 %29 = load ptr, ptr %9, align 8 %30 = call i32 @safestrlen(ptr noundef %29) br label %32 31: ; preds = %23 br label %32 32: ; preds = %31, %28 %33 = phi i32 [ %30, %28 ], [ 0, %31 ] %34 = add nsw i32 %25, %33 %35 = load ptr, ptr %10, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %40 37: ; preds = %32 %38 = load ptr, ptr %10, align 8 %39 = call i32 @safestrlen(ptr noundef %38) br label %41 40: ; preds = %32 br label %41 41: ; preds = %40, %37 %42 = phi i32 [ %39, %37 ], [ 0, %40 ] %43 = add nsw i32 %34, %42 %44 = load ptr, ptr %11, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %49 46: ; preds = %41 %47 = load ptr, ptr %11, align 8 %48 = call i32 @safestrlen(ptr noundef %47) br label %50 49: ; preds = %41 br label %50 50: ; preds = %49, %46 %51 = phi i32 [ %48, %46 ], [ 0, %49 ] %52 = add nsw i32 %43, %51 %53 = load ptr, ptr %12, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %58 55: ; preds = %50 %56 = load ptr, ptr %12, align 8 %57 = call i32 @safestrlen(ptr noundef %56) br label %59 58: ; preds = %50 br label %59 59: ; preds = %58, %55 %60 = phi i32 [ %57, %55 ], [ 0, %58 ] %61 = add nsw i32 %52, %60 store i32 %61, ptr %15, align 4 %62 = load i32, ptr %15, align 4 %63 = load ptr, ptr %13, align 8 %64 = load i32, ptr %14, align 4 %65 = call ptr @malloc_or_die(i32 noundef %62, ptr noundef %63, i32 noundef %64) store ptr %65, ptr %16, align 8 %66 = load ptr, ptr %16, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 0 store i8 0, ptr %67, align 1 %68 = load ptr, ptr %8, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %70, label %74 70: ; preds = %59 %71 = load ptr, ptr %16, align 8 %72 = load ptr, ptr %8, align 8 %73 = call i32 @strcat(ptr noundef %71, ptr noundef %72) br label %74 74: ; preds = %70, %59 %75 = load ptr, ptr %9, align 8 %76 = icmp ne ptr %75, null br i1 %76, label %77, label %81 77: ; preds = %74 %78 = load ptr, ptr %16, align 8 %79 = load ptr, ptr %9, align 8 %80 = call i32 @strcat(ptr noundef %78, ptr noundef %79) br label %81 81: ; preds = %77, %74 %82 = load ptr, ptr %10, align 8 %83 = icmp ne ptr %82, null br i1 %83, label %84, label %88 84: ; preds = %81 %85 = load ptr, ptr %16, align 8 %86 = load ptr, ptr %10, align 8 %87 = call i32 @strcat(ptr noundef %85, ptr noundef %86) br label %88 88: ; preds = %84, %81 %89 = load ptr, ptr %11, align 8 %90 = icmp ne ptr %89, null br i1 %90, label %91, label %95 91: ; preds = %88 %92 = load ptr, ptr %16, align 8 %93 = load ptr, ptr %11, align 8 %94 = call i32 @strcat(ptr noundef %92, ptr noundef %93) br label %95 95: ; preds = %91, %88 %96 = load ptr, ptr %12, align 8 %97 = icmp ne ptr %96, null br i1 %97, label %98, label %102 98: ; preds = %95 %99 = load ptr, ptr %16, align 8 %100 = load ptr, ptr %12, align 8 %101 = call i32 @strcat(ptr noundef %99, ptr noundef %100) br label %102 102: ; preds = %98, %95 %103 = load ptr, ptr %16, align 8 ret ptr %103 } declare i32 @safestrlen(ptr noundef) #1 declare ptr @malloc_or_die(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprt66kroo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safestrdup5(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 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 i32, align 4 %15 = alloca i32, align 4 %16 = 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 i32 %6, ptr %14, align 4 %17 = load ptr, ptr %8, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %7 %20 = load ptr, ptr %8, align 8 %21 = call i32 @safestrlen(ptr noundef %20) br label %23 22: ; preds = %7 br label %23 23: ; preds = %22, %19 %24 = phi i32 [ %21, %19 ], [ 0, %22 ] %25 = add nsw i32 1, %24 %26 = load ptr, ptr %9, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %23 %29 = load ptr, ptr %9, align 8 %30 = call i32 @safestrlen(ptr noundef %29) br label %32 31: ; preds = %23 br label %32 32: ; preds = %31, %28 %33 = phi i32 [ %30, %28 ], [ 0, %31 ] %34 = add nsw i32 %25, %33 %35 = load ptr, ptr %10, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %40 37: ; preds = %32 %38 = load ptr, ptr %10, align 8 %39 = call i32 @safestrlen(ptr noundef %38) br label %41 40: ; preds = %32 br label %41 41: ; preds = %40, %37 %42 = phi i32 [ %39, %37 ], [ 0, %40 ] %43 = add nsw i32 %34, %42 %44 = load ptr, ptr %11, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %49 46: ; preds = %41 %47 = load ptr, ptr %11, align 8 %48 = call i32 @safestrlen(ptr noundef %47) br label %50 49: ; preds = %41 br label %50 50: ; preds = %49, %46 %51 = phi i32 [ %48, %46 ], [ 0, %49 ] %52 = add nsw i32 %43, %51 %53 = load ptr, ptr %12, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %58 55: ; preds = %50 %56 = load ptr, ptr %12, align 8 %57 = call i32 @safestrlen(ptr noundef %56) br label %59 58: ; preds = %50 br label %59 59: ; preds = %58, %55 %60 = phi i32 [ %57, %55 ], [ 0, %58 ] %61 = add nsw i32 %52, %60 store i32 %61, ptr %15, align 4 %62 = load i32, ptr %15, align 4 %63 = load ptr, ptr %13, align 8 %64 = load i32, ptr %14, align 4 %65 = call ptr @malloc_or_die(i32 noundef %62, ptr noundef %63, i32 noundef %64) store ptr %65, ptr %16, align 8 %66 = load ptr, ptr %16, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 0 store i8 0, ptr %67, align 1 %68 = load ptr, ptr %8, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %70, label %74 70: ; preds = %59 %71 = load ptr, ptr %16, align 8 %72 = load ptr, ptr %8, align 8 %73 = call i32 @strcat(ptr noundef %71, ptr noundef %72) br label %74 74: ; preds = %70, %59 %75 = load ptr, ptr %9, align 8 %76 = icmp ne ptr %75, null br i1 %76, label %77, label %81 77: ; preds = %74 %78 = load ptr, ptr %16, align 8 %79 = load ptr, ptr %9, align 8 %80 = call i32 @strcat(ptr noundef %78, ptr noundef %79) br label %81 81: ; preds = %77, %74 %82 = load ptr, ptr %10, align 8 %83 = icmp ne ptr %82, null br i1 %83, label %84, label %88 84: ; preds = %81 %85 = load ptr, ptr %16, align 8 %86 = load ptr, ptr %10, align 8 %87 = call i32 @strcat(ptr noundef %85, ptr noundef %86) br label %88 88: ; preds = %84, %81 %89 = load ptr, ptr %11, align 8 %90 = icmp ne ptr %89, null br i1 %90, label %91, label %95 91: ; preds = %88 %92 = load ptr, ptr %16, align 8 %93 = load ptr, ptr %11, align 8 %94 = call i32 @strcat(ptr noundef %92, ptr noundef %93) br label %95 95: ; preds = %91, %88 %96 = load ptr, ptr %12, align 8 %97 = icmp ne ptr %96, null br i1 %97, label %98, label %102 98: ; preds = %95 %99 = load ptr, ptr %16, align 8 %100 = load ptr, ptr %12, align 8 %101 = call i32 @strcat(ptr noundef %99, ptr noundef %100) br label %102 102: ; preds = %98, %95 %103 = load ptr, ptr %16, align 8 ret ptr %103 } declare i32 @safestrlen(ptr noundef) #1 declare ptr @malloc_or_die(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4wz1h7vv.c' source_filename = "/tmp/tmp4wz1h7vv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_freqs(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store i32 %0, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = mul i32 3, %9 %11 = zext i32 %10 to i64 %12 = mul i64 %11, 8 %13 = trunc i64 %12 to i32 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %3, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %16 16: ; preds = %30, %1 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp ult i32 %17, %18 br i1 %19, label %20, label %33 20: ; preds = %16 %21 = load i32, ptr %2, align 4 %22 = uitofp i32 %21 to double %23 = fdiv double 1.000000e+00, %22 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %4, align 4 %27 = add i32 %25, %26 %28 = zext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %24, i64 %28 store double %23, ptr %29, align 8 br label %30 30: ; preds = %20 %31 = load i32, ptr %4, align 4 %32 = add i32 %31, 1 store i32 %32, ptr %4, align 4 br label %16, !llvm.loop !6 33: ; preds = %16 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %5, align 4 %36 = add i32 %35, %34 store i32 %36, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %37 37: ; preds = %85, %33 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp ult i32 %38, %39 br i1 %40, label %41, label %88 41: ; preds = %37 %42 = load i32, ptr %2, align 4 %43 = uitofp i32 %42 to double %44 = fdiv double 1.000000e+00, %43 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %4, align 4 %48 = add i32 %46, %47 %49 = zext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %45, i64 %49 store double %44, ptr %50, align 8 %51 = load i32, ptr %2, align 4 %52 = uitofp i32 %51 to double %53 = fmul double 3.000000e+00, %52 %54 = fdiv double 1.000000e+00, %53 store double %54, ptr %6, align 8 %55 = load i32, ptr %4, align 4 %56 = urem i32 %55, 2 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %68 58: ; preds = %41 %59 = load double, ptr %6, align 8 %60 = load ptr, ptr %3, align 8 %61 = load i32, ptr %5, align 4 %62 = load i32, ptr %4, align 4 %63 = add i32 %61, %62 %64 = zext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %60, i64 %64 %66 = load double, ptr %65, align 8 %67 = fadd double %66, %59 store double %67, ptr %65, align 8 br label %84 68: ; preds = %41 %69 = load i32, ptr %4, align 4 %70 = load i32, ptr %2, align 4 %71 = sub i32 %70, 1 %72 = icmp ne i32 %69, %71 br i1 %72, label %73, label %83 73: ; preds = %68 %74 = load double, ptr %6, align 8 %75 = load ptr, ptr %3, align 8 %76 = load i32, ptr %5, align 4 %77 = load i32, ptr %4, align 4 %78 = add i32 %76, %77 %79 = zext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %75, i64 %79 %81 = load double, ptr %80, align 8 %82 = fsub double %81, %74 store double %82, ptr %80, align 8 br label %83 83: ; preds = %73, %68 br label %84 84: ; preds = %83, %58 br label %85 85: ; preds = %84 %86 = load i32, ptr %4, align 4 %87 = add i32 %86, 1 store i32 %87, ptr %4, align 4 br label %37, !llvm.loop !8 88: ; preds = %37 store double 1.000000e-03, ptr %7, align 8 %89 = load i32, ptr %2, align 4 %90 = uitofp i32 %89 to double %91 = fmul double 5.000000e-01, %90 %92 = fneg double %91 %93 = call double @llvm.fmuladd.f64(double %92, double 1.000000e-03, double 1.000000e+00) %94 = load i32, ptr %2, align 4 %95 = uitofp i32 %94 to double %96 = fmul double 5.000000e-01, %95 %97 = fdiv double %93, %96 store double %97, ptr %8, align 8 %98 = load i32, ptr %2, align 4 %99 = load i32, ptr %5, align 4 %100 = add i32 %99, %98 store i32 %100, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %101 101: ; preds = %120, %88 %102 = load i32, ptr %4, align 4 %103 = load i32, ptr %2, align 4 %104 = icmp ult i32 %102, %103 br i1 %104, label %105, label %123 105: ; preds = %101 %106 = load i32, ptr %4, align 4 %107 = urem i32 %106, 2 %108 = icmp eq i32 %107, 0 br i1 %108, label %109, label %110 109: ; preds = %105 br label %112 110: ; preds = %105 %111 = load double, ptr %8, align 8 br label %112 112: ; preds = %110, %109 %113 = phi double [ 1.000000e-03, %109 ], [ %111, %110 ] %114 = load ptr, ptr %3, align 8 %115 = load i32, ptr %5, align 4 %116 = load i32, ptr %4, align 4 %117 = add i32 %115, %116 %118 = zext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %114, i64 %118 store double %113, ptr %119, align 8 br label %120 120: ; preds = %112 %121 = load i32, ptr %4, align 4 %122 = add i32 %121, 1 store i32 %122, ptr %4, align 4 br label %101, !llvm.loop !9 123: ; preds = %101 %124 = load ptr, ptr %3, align 8 ret ptr %124 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4wz1h7vv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_freqs(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store i32 %0, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = mul i32 3, %9 %11 = zext i32 %10 to i64 %12 = mul i64 %11, 8 %13 = trunc i64 %12 to i32 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %3, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp ult i32 %16, %17 br i1 %18, label %.lr.ph, label %35 .lr.ph: ; preds = %1 br label %19 19: ; preds = %.lr.ph, %29 %20 = load i32, ptr %2, align 4 %21 = uitofp i32 %20 to double %22 = fdiv double 1.000000e+00, %21 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = add i32 %24, %25 %27 = zext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %23, i64 %27 store double %22, ptr %28, align 8 br label %29 29: ; preds = %19 %30 = load i32, ptr %4, align 4 %31 = add i32 %30, 1 store i32 %31, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp ult i32 %32, %33 br i1 %34, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %1 %36 = load i32, ptr %2, align 4 %37 = load i32, ptr %5, align 4 %38 = add i32 %37, %36 store i32 %38, ptr %5, align 4 store i32 0, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp ult i32 %39, %40 br i1 %41, label %.lr.ph2, label %92 .lr.ph2: ; preds = %35 br label %42 42: ; preds = %.lr.ph2, %86 %43 = load i32, ptr %2, align 4 %44 = uitofp i32 %43 to double %45 = fdiv double 1.000000e+00, %44 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %5, align 4 %48 = load i32, ptr %4, align 4 %49 = add i32 %47, %48 %50 = zext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %46, i64 %50 store double %45, ptr %51, align 8 %52 = load i32, ptr %2, align 4 %53 = uitofp i32 %52 to double %54 = fmul double 3.000000e+00, %53 %55 = fdiv double 1.000000e+00, %54 store double %55, ptr %6, align 8 %56 = load i32, ptr %4, align 4 %57 = urem i32 %56, 2 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %69 59: ; preds = %42 %60 = load double, ptr %6, align 8 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr %5, align 4 %63 = load i32, ptr %4, align 4 %64 = add i32 %62, %63 %65 = zext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %61, i64 %65 %67 = load double, ptr %66, align 8 %68 = fadd double %67, %60 store double %68, ptr %66, align 8 br label %85 69: ; preds = %42 %70 = load i32, ptr %4, align 4 %71 = load i32, ptr %2, align 4 %72 = sub i32 %71, 1 %73 = icmp ne i32 %70, %72 br i1 %73, label %74, label %84 74: ; preds = %69 %75 = load double, ptr %6, align 8 %76 = load ptr, ptr %3, align 8 %77 = load i32, ptr %5, align 4 %78 = load i32, ptr %4, align 4 %79 = add i32 %77, %78 %80 = zext i32 %79 to i64 %81 = getelementptr inbounds double, ptr %76, i64 %80 %82 = load double, ptr %81, align 8 %83 = fsub double %82, %75 store double %83, ptr %81, align 8 br label %84 84: ; preds = %74, %69 br label %85 85: ; preds = %84, %59 br label %86 86: ; preds = %85 %87 = load i32, ptr %4, align 4 %88 = add i32 %87, 1 store i32 %88, ptr %4, align 4 %89 = load i32, ptr %4, align 4 %90 = load i32, ptr %2, align 4 %91 = icmp ult i32 %89, %90 br i1 %91, label %42, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %86 br label %92 92: ; preds = %._crit_edge3, %35 store double 1.000000e-03, ptr %7, align 8 %93 = load i32, ptr %2, align 4 %94 = uitofp i32 %93 to double %95 = fmul double 5.000000e-01, %94 %96 = fneg double %95 %97 = call double @llvm.fmuladd.f64(double %96, double 1.000000e-03, double 1.000000e+00) %98 = load i32, ptr %2, align 4 %99 = uitofp i32 %98 to double %100 = fmul double 5.000000e-01, %99 %101 = fdiv double %97, %100 store double %101, ptr %8, align 8 %102 = load i32, ptr %2, align 4 %103 = load i32, ptr %5, align 4 %104 = add i32 %103, %102 store i32 %104, ptr %5, align 4 store i32 0, ptr %4, align 4 %105 = load i32, ptr %4, align 4 %106 = load i32, ptr %2, align 4 %107 = icmp ult i32 %105, %106 br i1 %107, label %.lr.ph5, label %129 .lr.ph5: ; preds = %92 br label %108 108: ; preds = %.lr.ph5, %123 %109 = load i32, ptr %4, align 4 %110 = urem i32 %109, 2 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %113 112: ; preds = %108 br label %115 113: ; preds = %108 %114 = load double, ptr %8, align 8 br label %115 115: ; preds = %113, %112 %116 = phi double [ 1.000000e-03, %112 ], [ %114, %113 ] %117 = load ptr, ptr %3, align 8 %118 = load i32, ptr %5, align 4 %119 = load i32, ptr %4, align 4 %120 = add i32 %118, %119 %121 = zext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %117, i64 %121 store double %116, ptr %122, align 8 br label %123 123: ; preds = %115 %124 = load i32, ptr %4, align 4 %125 = add i32 %124, 1 store i32 %125, ptr %4, align 4 %126 = load i32, ptr %4, align 4 %127 = load i32, ptr %2, align 4 %128 = icmp ult i32 %126, %127 br i1 %128, label %108, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %123 br label %129 129: ; preds = %._crit_edge6, %92 %130 = load ptr, ptr %3, align 8 ret ptr %130 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpu0f0dozh.c' source_filename = "/tmp/tmpu0f0dozh.c" target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [50 x i8] c"Hello, world !\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [32 x i8] c"We are the knights who say ni !\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [50 x i8], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.s1, i64 50, i1 false) %2 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @puts(ptr noundef %2) %4 = call i32 @puts(ptr noundef @.str) %5 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @squeeze(ptr noundef %5, ptr noundef @.str) %7 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %8 = call i32 @puts(ptr noundef %7) 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 @puts(ptr noundef) #2 declare i32 @squeeze(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu0f0dozh.c" target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [50 x i8] c"Hello, world !\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [32 x i8] c"We are the knights who say ni !\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [50 x i8], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.s1, i64 50, i1 false) %2 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @puts(ptr noundef %2) %4 = call i32 @puts(ptr noundef @.str) %5 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @squeeze(ptr noundef %5, ptr noundef @.str) %7 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %8 = call i32 @puts(ptr noundef %7) 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 @puts(ptr noundef) #2 declare i32 @squeeze(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9etvu2_e.c' source_filename = "/tmp/tmp9etvu2_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_timeout(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca %struct.timeval, align 8 %5 = alloca %struct.timeval, align 8 store ptr %0, ptr %3, align 8 %6 = call i64 @gettimeofday(ptr noundef %4, ptr noundef null) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i64 -1, ptr %2, align 8 br label %14 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @timersub(ptr noundef %10, ptr noundef %4, ptr noundef %5) %12 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 %13 = load i64, ptr %12, align 8 store i64 %13, ptr %2, align 8 br label %14 14: ; preds = %9, %8 %15 = load i64, ptr %2, align 8 ret i64 %15 } declare i64 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @timersub(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/tmp9etvu2_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_timeout(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca %struct.timeval, align 8 %5 = alloca %struct.timeval, align 8 store ptr %0, ptr %3, align 8 %6 = call i64 @gettimeofday(ptr noundef %4, ptr noundef null) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i64 -1, ptr %2, align 8 br label %14 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @timersub(ptr noundef %10, ptr noundef %4, ptr noundef %5) %12 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 %13 = load i64, ptr %12, align 8 store i64 %13, ptr %2, align 8 br label %14 14: ; preds = %9, %8 %15 = load i64, ptr %2, align 8 ret i64 %15 } declare i64 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @timersub(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/tmpowotddlj.c' source_filename = "/tmp/tmpowotddlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @adc_read(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 call void asm sideeffect " LDI32 r1, 0x44e0d100 \0A LBBO &r14, r1, 0, 4 \0A LDI32 r1, 0x00000fff \0A AND r14, r14, r1 \0A JMP R3.w2 \0A", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !6 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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 = !{i64 585, i64 615, i64 643, i64 672, i64 697}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpowotddlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @adc_read(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 call void asm sideeffect " LDI32 r1, 0x44e0d100 \0A LBBO &r14, r1, 0, 4 \0A LDI32 r1, 0x00000fff \0A AND r14, r14, r1 \0A JMP R3.w2 \0A", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !6 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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 = !{i64 585, i64 615, i64 643, i64 672, i64 697}
; ModuleID = '/tmp/tmp6f50i2u2.c' source_filename = "/tmp/tmp6f50i2u2.c" target datalayout = "e-m:e-p270: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"0000000\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"000000\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"00000\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"0000\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"000\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"00\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hexa_line(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @ft_putstr(ptr noundef @.str) br label %61 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, 16 br i1 %9, label %13, label %10 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 256 br i1 %12, label %13, label %15 13: ; preds = %10, %7 %14 = call i32 @ft_putstr(ptr noundef @.str.1) br label %60 15: ; preds = %10 %16 = load i32, ptr %2, align 4 %17 = icmp eq i32 %16, 256 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %19, 4096 br i1 %20, label %21, label %23 21: ; preds = %18, %15 %22 = call i32 @ft_putstr(ptr noundef @.str.2) br label %59 23: ; preds = %18 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 4096 br i1 %25, label %29, label %26 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %27, 65536 br i1 %28, label %29, label %31 29: ; preds = %26, %23 %30 = call i32 @ft_putstr(ptr noundef @.str.3) br label %58 31: ; preds = %26 %32 = load i32, ptr %2, align 4 %33 = icmp eq i32 %32, 65536 br i1 %33, label %37, label %34 34: ; preds = %31 %35 = load i32, ptr %2, align 4 %36 = icmp slt i32 %35, 1048576 br i1 %36, label %37, label %39 37: ; preds = %34, %31 %38 = call i32 @ft_putstr(ptr noundef @.str.4) br label %57 39: ; preds = %34 %40 = load i32, ptr %2, align 4 %41 = icmp eq i32 %40, 1048576 br i1 %41, label %45, label %42 42: ; preds = %39 %43 = load i32, ptr %2, align 4 %44 = icmp slt i32 %43, 16777216 br i1 %44, label %45, label %47 45: ; preds = %42, %39 %46 = call i32 @ft_putstr(ptr noundef @.str.5) br label %56 47: ; preds = %42 %48 = load i32, ptr %2, align 4 %49 = icmp eq i32 %48, 16777216 br i1 %49, label %53, label %50 50: ; preds = %47 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %51, 268435456 br i1 %52, label %53, label %55 53: ; preds = %50, %47 %54 = call i32 @ft_putstr(ptr noundef @.str.6) br label %55 55: ; preds = %53, %50 br label %56 56: ; preds = %55, %45 br label %57 57: ; preds = %56, %37 br label %58 58: ; preds = %57, %29 br label %59 59: ; preds = %58, %21 br label %60 60: ; preds = %59, %13 br label %61 61: ; preds = %60, %5 %62 = load i32, ptr %2, align 4 %63 = call i32 @ft_putnbr_base(i32 noundef %62, ptr noundef @.str.7) ret void } declare i32 @ft_putstr(ptr noundef) #1 declare i32 @ft_putnbr_base(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/tmp6f50i2u2.c" target datalayout = "e-m:e-p270: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"0000000\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"000000\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"00000\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"0000\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"000\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"00\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hexa_line(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @ft_putstr(ptr noundef @.str) br label %61 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, 16 br i1 %9, label %13, label %10 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 256 br i1 %12, label %13, label %15 13: ; preds = %10, %7 %14 = call i32 @ft_putstr(ptr noundef @.str.1) br label %60 15: ; preds = %10 %16 = load i32, ptr %2, align 4 %17 = icmp eq i32 %16, 256 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %19, 4096 br i1 %20, label %21, label %23 21: ; preds = %18, %15 %22 = call i32 @ft_putstr(ptr noundef @.str.2) br label %59 23: ; preds = %18 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 4096 br i1 %25, label %29, label %26 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %27, 65536 br i1 %28, label %29, label %31 29: ; preds = %26, %23 %30 = call i32 @ft_putstr(ptr noundef @.str.3) br label %58 31: ; preds = %26 %32 = load i32, ptr %2, align 4 %33 = icmp eq i32 %32, 65536 br i1 %33, label %37, label %34 34: ; preds = %31 %35 = load i32, ptr %2, align 4 %36 = icmp slt i32 %35, 1048576 br i1 %36, label %37, label %39 37: ; preds = %34, %31 %38 = call i32 @ft_putstr(ptr noundef @.str.4) br label %57 39: ; preds = %34 %40 = load i32, ptr %2, align 4 %41 = icmp eq i32 %40, 1048576 br i1 %41, label %45, label %42 42: ; preds = %39 %43 = load i32, ptr %2, align 4 %44 = icmp slt i32 %43, 16777216 br i1 %44, label %45, label %47 45: ; preds = %42, %39 %46 = call i32 @ft_putstr(ptr noundef @.str.5) br label %56 47: ; preds = %42 %48 = load i32, ptr %2, align 4 %49 = icmp eq i32 %48, 16777216 br i1 %49, label %53, label %50 50: ; preds = %47 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %51, 268435456 br i1 %52, label %53, label %55 53: ; preds = %50, %47 %54 = call i32 @ft_putstr(ptr noundef @.str.6) br label %55 55: ; preds = %53, %50 br label %56 56: ; preds = %55, %45 br label %57 57: ; preds = %56, %37 br label %58 58: ; preds = %57, %29 br label %59 59: ; preds = %58, %21 br label %60 60: ; preds = %59, %13 br label %61 61: ; preds = %60, %5 %62 = load i32, ptr %2, align 4 %63 = call i32 @ft_putnbr_base(i32 noundef %62, ptr noundef @.str.7) ret void } declare i32 @ft_putstr(ptr noundef) #1 declare i32 @ft_putnbr_base(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/tmp4xdqzdwi.c' source_filename = "/tmp/tmp4xdqzdwi.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [5 x i32] [i32 2, i32 3, i32 4, i32 10, i32 40], align 16 @.str = private unnamed_addr constant [32 x i8] c"Element is not present in array\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Element is present at index %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 20, i1 false) store i32 5, ptr %3, align 4 store i32 10, ptr %4, align 4 %6 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %7, 1 %9 = load i32, ptr %4, align 4 %10 = call i32 @search(ptr noundef %6, i32 noundef %8, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %18 15: ; preds = %0 %16 = load i32, ptr %5, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %15, %13 %19 = phi i32 [ %14, %13 ], [ %17, %15 ] 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 @search(ptr noundef, i32 noundef, i32 noundef) #2 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/tmp4xdqzdwi.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [5 x i32] [i32 2, i32 3, i32 4, i32 10, i32 40], align 16 @.str = private unnamed_addr constant [32 x i8] c"Element is not present in array\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Element is present at index %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 20, i1 false) store i32 5, ptr %3, align 4 store i32 10, ptr %4, align 4 %6 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %7, 1 %9 = load i32, ptr %4, align 4 %10 = call i32 @search(ptr noundef %6, i32 noundef %8, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %18 15: ; preds = %0 %16 = load i32, ptr %5, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %15, %13 %19 = phi i32 [ %14, %13 ], [ %17, %15 ] 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 @search(ptr noundef, i32 noundef, i32 noundef) #2 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/tmprs1my0jo.c' source_filename = "/tmp/tmprs1my0jo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @log_level_from_str(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = load ptr, ptr %3, align 8 %11 = call i32 @strtol(ptr noundef %10, ptr noundef %4, i32 noundef 10) store i32 %11, ptr %5, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %22, label %16 16: ; preds = %1 %17 = load i32, ptr %5, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i32, ptr %5, align 4 %21 = icmp sle i32 %20, 3 br i1 %21, label %23, label %22 22: ; preds = %19, %16, %1 store i32 -1, ptr %2, align 4 br label %25 23: ; preds = %19 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %23, %22 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @assert(i32 noundef) #1 declare i32 @strtol(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/tmprs1my0jo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @log_level_from_str(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = load ptr, ptr %3, align 8 %11 = call i32 @strtol(ptr noundef %10, ptr noundef %4, i32 noundef 10) store i32 %11, ptr %5, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %22, label %16 16: ; preds = %1 %17 = load i32, ptr %5, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i32, ptr %5, align 4 %21 = icmp sle i32 %20, 3 br i1 %21, label %23, label %22 22: ; preds = %19, %16, %1 store i32 -1, ptr %2, align 4 br label %25 23: ; preds = %19 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %23, %22 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @assert(i32 noundef) #1 declare i32 @strtol(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/tmpdszeecbf.c' source_filename = "/tmp/tmpdszeecbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pool_create_toggle(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = call ptr @createwidget(ptr noundef %10) store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = call i32 @widget_toggle_init(ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15) ret void } declare ptr @createwidget(ptr noundef) #1 declare i32 @widget_toggle_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdszeecbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pool_create_toggle(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = call ptr @createwidget(ptr noundef %10) store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %8, align 4 %16 = call i32 @widget_toggle_init(ptr noundef %12, ptr noundef %13, ptr noundef %14, i32 noundef %15) ret void } declare ptr @createwidget(ptr noundef) #1 declare i32 @widget_toggle_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzk7ej5xs.c' source_filename = "/tmp/tmpzk7ej5xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %12, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 26 br i1 %5, label %6, label %15 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 65, %7 %9 = trunc i32 %8 to i8 %10 = call ptr @banner(i8 noundef signext %9) %11 = call i32 @printf(ptr noundef @.str, ptr noundef %10) br label %12 12: ; preds = %6 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %3, !llvm.loop !6 15: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @banner(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzk7ej5xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 26 br i1 %4, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %11 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 65, %6 %8 = trunc i32 %7 to i8 %9 = call ptr @banner(i8 noundef signext %8) %10 = call i32 @printf(ptr noundef @.str, ptr noundef %9) br label %11 11: ; preds = %5 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 26 br i1 %15, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @banner(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdvla1hr0.c' source_filename = "/tmp/tmpdvla1hr0.c" target datalayout = "e-m:e-p270: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 ptr @str2longp(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %29 10: ; preds = %2 %11 = call ptr @xmalloc(i32 noundef 8) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %28 14: ; preds = %10 %15 = load i32, ptr @errno, align 4 store i32 %15, ptr %7, align 4 store i32 0, ptr @errno, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = call i64 @strtol(ptr noundef %16, ptr noundef null, i32 noundef %17) %19 = load ptr, ptr %6, align 8 store i64 %18, ptr %19, align 8 %20 = load i32, ptr @errno, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %14 %23 = load i32, ptr %7, align 4 store i32 %23, ptr @errno, align 4 %24 = load ptr, ptr %6, align 8 store ptr %24, ptr %3, align 8 br label %30 25: ; preds = %14 %26 = load ptr, ptr %6, align 8 %27 = call i32 @xfree(ptr noundef %26) store ptr null, ptr %3, align 8 br label %30 28: ; preds = %10 br label %29 29: ; preds = %28, %2 store ptr null, ptr %3, align 8 br label %30 30: ; preds = %29, %25, %22 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare ptr @xmalloc(i32 noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @xfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdvla1hr0.c" target datalayout = "e-m:e-p270: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 ptr @str2longp(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %29 10: ; preds = %2 %11 = call ptr @xmalloc(i32 noundef 8) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %28 14: ; preds = %10 %15 = load i32, ptr @errno, align 4 store i32 %15, ptr %7, align 4 store i32 0, ptr @errno, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = call i64 @strtol(ptr noundef %16, ptr noundef null, i32 noundef %17) %19 = load ptr, ptr %6, align 8 store i64 %18, ptr %19, align 8 %20 = load i32, ptr @errno, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %14 %23 = load i32, ptr %7, align 4 store i32 %23, ptr @errno, align 4 %24 = load ptr, ptr %6, align 8 store ptr %24, ptr %3, align 8 br label %30 25: ; preds = %14 %26 = load ptr, ptr %6, align 8 %27 = call i32 @xfree(ptr noundef %26) store ptr null, ptr %3, align 8 br label %30 28: ; preds = %10 br label %29 29: ; preds = %28, %2 store ptr null, ptr %3, align 8 br label %30 30: ; preds = %29, %25, %22 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare ptr @xmalloc(i32 noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @xfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo880lf7h.c' source_filename = "/tmp/tmpo880lf7h.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 1, ptr %6, align 4 %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7) store i32 1, ptr %3, align 4 br label %9 9: ; preds = %51, %0 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %54 13: ; preds = %9 %14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2) store i32 1, ptr %4, align 4 br label %15 15: ; preds = %47, %13 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %50 19: ; preds = %15 %20 = load i32, ptr %6, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %19 %23 = call i32 @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22, %19 store i32 0, ptr %6, align 4 store i32 1, ptr %5, align 4 br label %25 25: ; preds = %32, %24 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %1, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %35 29: ; preds = %25 %30 = load i32, ptr %5, align 4 %31 = call i32 @line(i32 noundef %30) br label %32 32: ; preds = %29 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %25, !llvm.loop !6 35: ; preds = %25 %36 = load i32, ptr %1, align 4 store i32 %36, ptr %5, align 4 br label %37 37: ; preds = %43, %35 %38 = load i32, ptr %5, align 4 %39 = icmp sgt i32 %38, 0 br i1 %39, label %40, label %46 40: ; preds = %37 %41 = load i32, ptr %5, align 4 %42 = call i32 @line(i32 noundef %41) br label %43 43: ; preds = %40 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %5, align 4 br label %37, !llvm.loop !8 46: ; preds = %37 br label %47 47: ; preds = %46 %48 = load i32, ptr %4, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %4, align 4 br label %15, !llvm.loop !9 50: ; preds = %15 br label %51 51: ; preds = %50 %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %3, align 4 br label %9, !llvm.loop !10 54: ; preds = %9 ret void } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @line(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/tmpo880lf7h.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 1, ptr %6, align 4 %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7) store i32 1, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %.lr.ph8, label %61 .lr.ph8: ; preds = %0 br label %12 12: ; preds = %.lr.ph8, %55 %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2) store i32 1, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %.lr.ph5, label %54 .lr.ph5: ; preds = %12 br label %17 17: ; preds = %.lr.ph5, %48 %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %17 %21 = call i32 @printf(ptr noundef @.str.2) br label %22 22: ; preds = %20, %17 store i32 0, ptr %6, align 4 store i32 1, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %1, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %35 .lr.ph: ; preds = %22 br label %26 26: ; preds = %.lr.ph, %29 %27 = load i32, ptr %5, align 4 %28 = call i32 @line(i32 noundef %27) br label %29 29: ; preds = %26 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %1, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %22 %36 = load i32, ptr %1, align 4 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = icmp sgt i32 %37, 0 br i1 %38, label %.lr.ph2, label %47 .lr.ph2: ; preds = %35 br label %39 39: ; preds = %.lr.ph2, %42 %40 = load i32, ptr %5, align 4 %41 = call i32 @line(i32 noundef %40) br label %42 42: ; preds = %39 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %5, align 4 %45 = load i32, ptr %5, align 4 %46 = icmp sgt i32 %45, 0 br i1 %46, label %39, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %47 47: ; preds = %._crit_edge3, %35 br label %48 48: ; preds = %47 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %2, align 4 %53 = icmp sle i32 %51, %52 br i1 %53, label %17, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %48 br label %54 54: ; preds = %._crit_edge6, %12 br label %55 55: ; preds = %54 %56 = load i32, ptr %3, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %3, align 4 %58 = load i32, ptr %3, align 4 %59 = load i32, ptr %7, align 4 %60 = icmp sle i32 %58, %59 br i1 %60, label %12, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %55 br label %61 61: ; preds = %._crit_edge9, %0 ret void } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @line(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/tmp5q5xtyuy.c' source_filename = "/tmp/tmp5q5xtyuy.c" target datalayout = "e-m:e-p270: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/tmp5q5xtyuy.c" target datalayout = "e-m:e-p270: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/tmpuglvuky0.c' source_filename = "/tmp/tmpuglvuky0.c" target datalayout = "e-m:e-p270: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"Set-Cookie: %s=%s;\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c" EXPIRES=%s;\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c" PATH=%s;\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c" DOMAIN=%s;\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c" SECURE\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_cookie(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i16 noundef signext %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i16, align 2 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i16 %5, ptr %12, align 2 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %9, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %6 %19 = load ptr, ptr %9, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %18, %6 %22 = load ptr, ptr %10, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %27 24: ; preds = %21 %25 = load ptr, ptr %10, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %25) br label %27 27: ; preds = %24, %21 %28 = load ptr, ptr %11, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load ptr, ptr %11, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %31) br label %33 33: ; preds = %30, %27 %34 = load i16, ptr %12, align 2 %35 = icmp ne i16 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %38 38: ; preds = %36, %33 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) 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/tmpuglvuky0.c" target datalayout = "e-m:e-p270: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"Set-Cookie: %s=%s;\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c" EXPIRES=%s;\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c" PATH=%s;\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c" DOMAIN=%s;\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c" SECURE\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_cookie(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i16 noundef signext %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i16, align 2 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i16 %5, ptr %12, align 2 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %9, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %6 %19 = load ptr, ptr %9, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %18, %6 %22 = load ptr, ptr %10, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %27 24: ; preds = %21 %25 = load ptr, ptr %10, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %25) br label %27 27: ; preds = %24, %21 %28 = load ptr, ptr %11, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load ptr, ptr %11, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %31) br label %33 33: ; preds = %30, %27 %34 = load i16, ptr %12, align 2 %35 = icmp ne i16 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %38 38: ; preds = %36, %33 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) 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/tmpub4xssqi.c' source_filename = "/tmp/tmpub4xssqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cheb_resetCell(i32 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store i32 %0, ptr %7, align 4 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load i32, ptr %7, align 4 %14 = load i64, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load ptr, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %12, align 8 %19 = call i32 @ChebCell_reset(i32 noundef %13, i64 noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) ret void } declare i32 @ChebCell_reset(i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpub4xssqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cheb_resetCell(i32 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store i32 %0, ptr %7, align 4 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load i32, ptr %7, align 4 %14 = load i64, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load ptr, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %12, align 8 %19 = call i32 @ChebCell_reset(i32 noundef %13, i64 noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) ret void } declare i32 @ChebCell_reset(i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpteti4052.c' source_filename = "/tmp/tmpteti4052.c" target datalayout = "e-m:e-p270: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"\1B[0;37m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_default_colour() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpteti4052.c" target datalayout = "e-m:e-p270: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"\1B[0;37m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_default_colour() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppwfekdla.c' source_filename = "/tmp/tmppwfekdla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %36 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) store i64 %29, ptr %9, align 8 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32 store i64 %30, ptr %33, align 8 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %19, !llvm.loop !6 36: ; preds = %19 %37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38) %40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %41 = load i64, ptr %40, align 8 %42 = icmp eq i64 %41, 335745088 br i1 %42, label %43, label %45 43: ; preds = %36 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 45: ; preds = %36 br label %46 46: ; preds = %45, %43 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %50, %46 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 br label %47, !llvm.loop !8 58: ; preds = %47 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppwfekdla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %37 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) store i64 %28, ptr %9, align 8 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31 store i64 %29, ptr %32, align 8 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %35, 1 br i1 %36, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %37 37: ; preds = %._crit_edge, %18 %38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %42 = load i64, ptr %41, align 8 %43 = icmp eq i64 %42, 335745088 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %.lr.ph2, label %60 .lr.ph2: ; preds = %47 br label %50 50: ; preds = %.lr.ph2, %50 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %58, 1 br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %60 60: ; preds = %._crit_edge3, %47 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp2q2i_3s2.c' source_filename = "/tmp/tmp2q2i_3s2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @timer_getoverrun(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @ENOSYS, align 4 %4 = call i32 @__set_errno(i32 noundef %3) ret i32 -1 } declare i32 @__set_errno(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/tmp2q2i_3s2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @timer_getoverrun(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @ENOSYS, align 4 %4 = call i32 @__set_errno(i32 noundef %3) ret i32 -1 } declare i32 @__set_errno(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/tmp0wx8z2l2.c' source_filename = "/tmp/tmp0wx8z2l2.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00], align 16 @.str = private unnamed_addr constant [31 x i8] c"sample standard deviation: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [8 x float], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 32, i1 false) store i32 4, ptr %2, align 4 store i32 2, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [8 x float], ptr %1, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call float @stdlib_strided_sstdevyc(i32 noundef %5, float noundef 1.000000e+00, ptr noundef %6, i32 noundef %7) store float %8, ptr %4, align 4 %9 = load float, ptr %4, align 4 %10 = call i32 @printf(ptr noundef @.str, float noundef %9) 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 float @stdlib_strided_sstdevyc(i32 noundef, float noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, float 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/tmp0wx8z2l2.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00], align 16 @.str = private unnamed_addr constant [31 x i8] c"sample standard deviation: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [8 x float], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 32, i1 false) store i32 4, ptr %2, align 4 store i32 2, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [8 x float], ptr %1, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call float @stdlib_strided_sstdevyc(i32 noundef %5, float noundef 1.000000e+00, ptr noundef %6, i32 noundef %7) store float %8, ptr %4, align 4 %9 = load float, ptr %4, align 4 %10 = call i32 @printf(ptr noundef @.str, float noundef %9) 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 float @stdlib_strided_sstdevyc(i32 noundef, float noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, float 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/tmppad0ntu4.c' source_filename = "/tmp/tmppad0ntu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [80 x i8], align 16 %3 = alloca [80 x i8], align 16 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 80, i1 false) %5 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 0 store i8 84, ptr %5, align 16 %6 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 1 store i8 101, ptr %6, align 1 %7 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 2 store i8 115, ptr %7, align 2 %8 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 3 store i8 116, ptr %8, align 1 %9 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 4 store i8 101, ptr %9, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 80, i1 false) %10 = getelementptr inbounds [80 x i8], ptr %3, i32 0, i32 0 store i8 84, ptr %10, align 16 %11 = getelementptr inbounds [80 x i8], ptr %3, i32 0, i32 1 store i8 101, ptr %11, align 1 %12 = getelementptr inbounds [80 x i8], ptr %3, i32 0, i32 2 store i8 115, ptr %12, align 2 %13 = getelementptr inbounds [80 x i8], ptr %3, i32 0, i32 3 store i8 116, ptr %13, align 1 %14 = getelementptr inbounds [80 x i8], ptr %3, i32 0, i32 4 store i8 101, ptr %14, align 4 store ptr @strcmp, ptr %4, align 8 %15 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %16 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %17 = load ptr, ptr %4, align 8 %18 = call i32 @check(ptr noundef %15, ptr noundef %16, ptr noundef %17) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @check(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppad0ntu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [80 x i8], align 16 %3 = alloca [80 x i8], align 16 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 80, i1 false) %5 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 0 store i8 84, ptr %5, align 16 %6 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 1 store i8 101, ptr %6, align 1 %7 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 2 store i8 115, ptr %7, align 2 %8 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 3 store i8 116, ptr %8, align 1 %9 = getelementptr inbounds [80 x i8], ptr %2, i32 0, i32 4 store i8 101, ptr %9, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 80, i1 false) %10 = getelementptr inbounds [80 x i8], ptr %3, i32 0, i32 0 store i8 84, ptr %10, align 16 %11 = getelementptr inbounds [80 x i8], ptr %3, i32 0, i32 1 store i8 101, ptr %11, align 1 %12 = getelementptr inbounds [80 x i8], ptr %3, i32 0, i32 2 store i8 115, ptr %12, align 2 %13 = getelementptr inbounds [80 x i8], ptr %3, i32 0, i32 3 store i8 116, ptr %13, align 1 %14 = getelementptr inbounds [80 x i8], ptr %3, i32 0, i32 4 store i8 101, ptr %14, align 4 store ptr @strcmp, ptr %4, align 8 %15 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %16 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %17 = load ptr, ptr %4, align 8 %18 = call i32 @check(ptr noundef %15, ptr noundef %16, ptr noundef %17) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @check(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7sn2k9as.c' source_filename = "/tmp/tmp7sn2k9as.c" target datalayout = "e-m:e-p270: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/tmp7sn2k9as.c" target datalayout = "e-m:e-p270: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/tmppvr4iy0m.c' source_filename = "/tmp/tmppvr4iy0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gang_3(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @clear(ptr noundef %7, i32 noundef %8) store i32 0, ptr %5, align 4 br label %10 10: ; preds = %32, %2 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = sdiv i32 %12, 64 %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %35 15: ; preds = %10 store i32 0, ptr %6, align 4 br label %16 16: ; preds = %28, %15 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 64 br i1 %18, label %19, label %31 19: ; preds = %16 %20 = call i32 (...) @place() %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %5, align 4 %24 = mul nsw i32 %23, 64 %25 = add nsw i32 %22, %24 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %21, i64 %26 store i32 %20, ptr %27, align 4 br label %28 28: ; preds = %19 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %16, !llvm.loop !6 31: ; preds = %16 br label %32 32: ; preds = %31 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %10, !llvm.loop !8 35: ; preds = %10 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %4, align 4 %38 = call i32 @check(ptr noundef %36, i32 noundef %37, i32 noundef 1, i32 noundef 1, i32 noundef 1) ret i32 %38 } declare i32 @clear(ptr noundef, i32 noundef) #1 declare i32 @place(...) #1 declare i32 @check(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppvr4iy0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gang_3(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @clear(ptr noundef %7, i32 noundef %8) store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = sdiv i32 %11, 64 %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph2, label %39 .lr.ph2: ; preds = %2 br label %14 14: ; preds = %.lr.ph2, %32 store i32 0, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %15, 64 br i1 %16, label %.lr.ph, label %31 .lr.ph: ; preds = %14 br label %17 17: ; preds = %.lr.ph, %26 %18 = call i32 (...) @place() %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = mul nsw i32 %21, 64 %23 = add nsw i32 %20, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %19, i64 %24 store i32 %18, ptr %25, align 4 br label %26 26: ; preds = %17 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %29, 64 br i1 %30, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %14 br label %32 32: ; preds = %31 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %4, align 4 %37 = sdiv i32 %36, 64 %38 = icmp slt i32 %35, %37 br i1 %38, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %39 39: ; preds = %._crit_edge3, %2 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %4, align 4 %42 = call i32 @check(ptr noundef %40, i32 noundef %41, i32 noundef 1, i32 noundef 1, i32 noundef 1) ret i32 %42 } declare i32 @clear(ptr noundef, i32 noundef) #1 declare i32 @place(...) #1 declare i32 @check(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmppsptkz5b.c' source_filename = "/tmp/tmppsptkz5b.c" target datalayout = "e-m:e-p270: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.proto = private unnamed_addr constant [8 x i8] c"tcp\00\00\00\00\00", align 1 @.str = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [8 x i8], align 1 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) store i32 %17, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.proto, i64 8, i1 false) store ptr null, ptr %10, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 3 %20 = load ptr, ptr %19, align 8 %21 = call i32 @atoi(ptr noundef %20) store i32 %21, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %22 22: ; preds = %39, %2 %23 = load i32, ptr %13, align 4 %24 = load i32, ptr %11, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %42 26: ; preds = %22 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = load i32, ptr %8, align 4 %31 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %32 = call ptr @clnt_create(ptr noundef %29, i32 noundef %30, i32 noundef 1, ptr noundef %31) store ptr %32, ptr %10, align 8 %33 = load ptr, ptr %10, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %38 35: ; preds = %26 %36 = load i32, ptr %12, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %12, align 4 br label %38 38: ; preds = %35, %26 br label %39 39: ; preds = %38 %40 = load i32, ptr %13, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %13, align 4 br label %22, !llvm.loop !6 42: ; preds = %22 %43 = load i32, ptr %6, align 4 %44 = icmp eq i32 %43, 1 br i1 %44, label %45, label %50 45: ; preds = %42 %46 = load i32, ptr %11, align 4 %47 = call i32 @printf(ptr noundef @.str, i32 noundef %46) %48 = load i32, ptr %12, align 4 %49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48) br label %50 50: ; preds = %45, %42 %51 = load i32, ptr %12, align 4 %52 = load i32, ptr %11, align 4 %53 = icmp eq i32 %51, %52 %54 = zext i1 %53 to i64 %55 = select i1 %53, i32 0, i32 1 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = call i32 @printf(ptr noundef @.str.2, i32 noundef %56) %58 = load i32, ptr %7, align 4 ret i32 %58 } declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @clnt_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppsptkz5b.c" target datalayout = "e-m:e-p270: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.proto = private unnamed_addr constant [8 x i8] c"tcp\00\00\00\00\00", align 1 @.str = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [8 x i8], align 1 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) store i32 %17, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.proto, i64 8, i1 false) store ptr null, ptr %10, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 3 %20 = load ptr, ptr %19, align 8 %21 = call i32 @atoi(ptr noundef %20) store i32 %21, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %22 = load i32, ptr %13, align 4 %23 = load i32, ptr %11, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %44 .lr.ph: ; preds = %2 br label %25 25: ; preds = %.lr.ph, %38 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = load i32, ptr %8, align 4 %30 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %31 = call ptr @clnt_create(ptr noundef %28, i32 noundef %29, i32 noundef 1, ptr noundef %30) store ptr %31, ptr %10, align 8 %32 = load ptr, ptr %10, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %37 34: ; preds = %25 %35 = load i32, ptr %12, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %12, align 4 br label %37 37: ; preds = %34, %25 br label %38 38: ; preds = %37 %39 = load i32, ptr %13, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %13, align 4 %41 = load i32, ptr %13, align 4 %42 = load i32, ptr %11, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %2 %45 = load i32, ptr %6, align 4 %46 = icmp eq i32 %45, 1 br i1 %46, label %47, label %52 47: ; preds = %44 %48 = load i32, ptr %11, align 4 %49 = call i32 @printf(ptr noundef @.str, i32 noundef %48) %50 = load i32, ptr %12, align 4 %51 = call i32 @printf(ptr noundef @.str.1, i32 noundef %50) br label %52 52: ; preds = %47, %44 %53 = load i32, ptr %12, align 4 %54 = load i32, ptr %11, align 4 %55 = icmp eq i32 %53, %54 %56 = zext i1 %55 to i64 %57 = select i1 %55, i32 0, i32 1 store i32 %57, ptr %7, align 4 %58 = load i32, ptr %7, align 4 %59 = call i32 @printf(ptr noundef @.str.2, i32 noundef %58) %60 = load i32, ptr %7, align 4 ret i32 %60 } declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @clnt_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk2oc1bu8.c' source_filename = "/tmp/tmpk2oc1bu8.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"NOT IMPLEMENTED:pa_channel_map_parse\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_channel_map_parse() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpk2oc1bu8.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"NOT IMPLEMENTED:pa_channel_map_parse\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_channel_map_parse() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpuw1g8r6t.c' source_filename = "/tmp/tmpuw1g8r6t.c" target datalayout = "e-m:e-p270: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/tmpuw1g8r6t.c" target datalayout = "e-m:e-p270: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/tmp9p4sheu4.c' source_filename = "/tmp/tmp9p4sheu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CRYPTO_thread_id() #0 { %1 = call i64 (...) @pthread_self() ret i64 %1 } declare i64 @pthread_self(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9p4sheu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CRYPTO_thread_id() #0 { %1 = call i64 (...) @pthread_self() ret i64 %1 } declare i64 @pthread_self(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6g2dyuvi.c' source_filename = "/tmp/tmp6g2dyuvi.c" target datalayout = "e-m:e-p270: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"%#x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_each_byte(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = zext i8 %12 to i32 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13) %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6g2dyuvi.c" target datalayout = "e-m:e-p270: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"%#x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_each_byte(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = zext i8 %11 to i32 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp88918pe9.c' source_filename = "/tmp/tmp88918pe9.c" target datalayout = "e-m:e-p270: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/tmp88918pe9.c" target datalayout = "e-m:e-p270: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/tmpm3u09xat.c' source_filename = "/tmp/tmpm3u09xat.c" target datalayout = "e-m:e-p270: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 [64 x i8] c"Encryption support not yet implemented for non-windows systems.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__getusername(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [150 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds [150 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @strncpy(ptr noundef %5, ptr noundef %6, i32 noundef 150) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @strncpy(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/tmpm3u09xat.c" target datalayout = "e-m:e-p270: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 [64 x i8] c"Encryption support not yet implemented for non-windows systems.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__getusername(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [150 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds [150 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @strncpy(ptr noundef %5, ptr noundef %6, i32 noundef 150) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @strncpy(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/tmpcwxhqwp8.c' source_filename = "/tmp/tmpcwxhqwp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initFlex(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 @yyjscript_scan_string(ptr noundef %3) %5 = call i32 @yyjscript_switch_to_buffer(i32 noundef %4) ret void } declare i32 @yyjscript_switch_to_buffer(i32 noundef) #1 declare i32 @yyjscript_scan_string(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/tmpcwxhqwp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initFlex(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 @yyjscript_scan_string(ptr noundef %3) %5 = call i32 @yyjscript_switch_to_buffer(i32 noundef %4) ret void } declare i32 @yyjscript_switch_to_buffer(i32 noundef) #1 declare i32 @yyjscript_scan_string(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/tmp1380vi45.c' source_filename = "/tmp/tmp1380vi45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @BinRead(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 8 %9 = trunc i64 %8 to i32 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %3, align 8 %14 = call i32 @fread(ptr noundef %11, i32 noundef 8, i32 noundef %12, ptr noundef %13) %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr @SEEK_SET, align 4 %17 = call i32 @fseek(ptr noundef %15, i32 noundef 0, i32 noundef %16) %18 = load ptr, ptr %5, align 8 ret ptr %18 } declare ptr @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fseek(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/tmp1380vi45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @BinRead(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 8 %9 = trunc i64 %8 to i32 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %3, align 8 %14 = call i32 @fread(ptr noundef %11, i32 noundef 8, i32 noundef %12, ptr noundef %13) %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr @SEEK_SET, align 4 %17 = call i32 @fseek(ptr noundef %15, i32 noundef 0, i32 noundef %16) %18 = load ptr, ptr %5, align 8 ret ptr %18 } declare ptr @malloc(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fseek(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/tmppdvp_jnr.c' source_filename = "/tmp/tmppdvp_jnr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gl_push(ptr noundef null) %3 = call i32 @gl_destroy_until(ptr noundef null) ret i32 0 } declare i32 @gl_push(ptr noundef) #1 declare i32 @gl_destroy_until(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/tmppdvp_jnr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gl_push(ptr noundef null) %3 = call i32 @gl_destroy_until(ptr noundef null) ret i32 0 } declare i32 @gl_push(ptr noundef) #1 declare i32 @gl_destroy_until(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/tmpbkvsscsc.c' source_filename = "/tmp/tmpbkvsscsc.c" target datalayout = "e-m:e-p270: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/tmpbkvsscsc.c" target datalayout = "e-m:e-p270: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/tmpmhezfa81.c' source_filename = "/tmp/tmpmhezfa81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"< \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%8.4f\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c" >\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cd_mat_vec_fprintf(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 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 ptr, align 8 %13 = alloca i32, align 4 %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 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store i32 %3, ptr %13, align 4 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 %27 = load ptr, ptr %10, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %31 29: ; preds = %9 %30 = load ptr, ptr %10, align 8 br label %33 31: ; preds = %9 %32 = load ptr, ptr @stdout, align 8 br label %33 33: ; preds = %31, %29 %34 = phi ptr [ %30, %29 ], [ %32, %31 ] store ptr %34, ptr %20, align 8 %35 = load ptr, ptr %11, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %39 37: ; preds = %33 %38 = load ptr, ptr %11, align 8 br label %40 39: ; preds = %33 br label %40 40: ; preds = %39, %37 %41 = phi ptr [ %38, %37 ], [ @.str, %39 ] store ptr %41, ptr %21, align 8 %42 = load ptr, ptr %14, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %46 44: ; preds = %40 %45 = load ptr, ptr %14, align 8 br label %47 46: ; preds = %40 br label %47 47: ; preds = %46, %44 %48 = phi ptr [ %45, %44 ], [ @.str.1, %46 ] store ptr %48, ptr %22, align 8 %49 = load ptr, ptr %15, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %53 51: ; preds = %47 %52 = load ptr, ptr %15, align 8 br label %54 53: ; preds = %47 br label %54 54: ; preds = %53, %51 %55 = phi ptr [ %52, %51 ], [ @.str.2, %53 ] store ptr %55, ptr %23, align 8 %56 = load ptr, ptr %16, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %60 58: ; preds = %54 %59 = load ptr, ptr %16, align 8 br label %61 60: ; preds = %54 br label %61 61: ; preds = %60, %58 %62 = phi ptr [ %59, %58 ], [ @.str.3, %60 ] store ptr %62, ptr %24, align 8 %63 = load ptr, ptr %17, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %65, label %67 65: ; preds = %61 %66 = load ptr, ptr %17, align 8 br label %68 67: ; preds = %61 br label %68 68: ; preds = %67, %65 %69 = phi ptr [ %66, %65 ], [ @.str.4, %67 ] store ptr %69, ptr %25, align 8 %70 = load ptr, ptr %18, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %72, label %74 72: ; preds = %68 %73 = load ptr, ptr %18, align 8 br label %75 74: ; preds = %68 br label %75 75: ; preds = %74, %72 %76 = phi ptr [ %73, %72 ], [ @.str.5, %74 ] store ptr %76, ptr %26, align 8 %77 = load ptr, ptr %21, align 8 %78 = load ptr, ptr %20, align 8 %79 = call i32 @fputs(ptr noundef %77, ptr noundef %78) %80 = load ptr, ptr %22, align 8 %81 = load ptr, ptr %20, align 8 %82 = call i32 @fputs(ptr noundef %80, ptr noundef %81) store i32 0, ptr %19, align 4 br label %83 83: ; preds = %103, %75 %84 = load i32, ptr %19, align 4 %85 = load i32, ptr %13, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %87, label %106 87: ; preds = %83 %88 = load i32, ptr %19, align 4 %89 = icmp sgt i32 %88, 0 br i1 %89, label %90, label %94 90: ; preds = %87 %91 = load ptr, ptr %24, align 8 %92 = load ptr, ptr %20, align 8 %93 = call i32 @fputs(ptr noundef %91, ptr noundef %92) br label %94 94: ; preds = %90, %87 %95 = load ptr, ptr %20, align 8 %96 = load ptr, ptr %23, align 8 %97 = load ptr, ptr %12, align 8 %98 = load i32, ptr %19, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %97, i64 %99 %101 = load double, ptr %100, align 8 %102 = call i32 @fprintf(ptr noundef %95, ptr noundef %96, double noundef %101) br label %103 103: ; preds = %94 %104 = load i32, ptr %19, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %19, align 4 br label %83, !llvm.loop !6 106: ; preds = %83 %107 = load ptr, ptr %25, align 8 %108 = load ptr, ptr %20, align 8 %109 = call i32 @fputs(ptr noundef %107, ptr noundef %108) %110 = load ptr, ptr %26, align 8 %111 = load ptr, ptr %20, align 8 %112 = call i32 @fputs(ptr noundef %110, ptr noundef %111) ret i32 0 } declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpmhezfa81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"< \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%8.4f\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c" >\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cd_mat_vec_fprintf(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 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 ptr, align 8 %13 = alloca i32, align 4 %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 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store i32 %3, ptr %13, align 4 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 %27 = load ptr, ptr %10, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %31 29: ; preds = %9 %30 = load ptr, ptr %10, align 8 br label %33 31: ; preds = %9 %32 = load ptr, ptr @stdout, align 8 br label %33 33: ; preds = %31, %29 %34 = phi ptr [ %30, %29 ], [ %32, %31 ] store ptr %34, ptr %20, align 8 %35 = load ptr, ptr %11, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %39 37: ; preds = %33 %38 = load ptr, ptr %11, align 8 br label %40 39: ; preds = %33 br label %40 40: ; preds = %39, %37 %41 = phi ptr [ %38, %37 ], [ @.str, %39 ] store ptr %41, ptr %21, align 8 %42 = load ptr, ptr %14, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %46 44: ; preds = %40 %45 = load ptr, ptr %14, align 8 br label %47 46: ; preds = %40 br label %47 47: ; preds = %46, %44 %48 = phi ptr [ %45, %44 ], [ @.str.1, %46 ] store ptr %48, ptr %22, align 8 %49 = load ptr, ptr %15, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %53 51: ; preds = %47 %52 = load ptr, ptr %15, align 8 br label %54 53: ; preds = %47 br label %54 54: ; preds = %53, %51 %55 = phi ptr [ %52, %51 ], [ @.str.2, %53 ] store ptr %55, ptr %23, align 8 %56 = load ptr, ptr %16, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %60 58: ; preds = %54 %59 = load ptr, ptr %16, align 8 br label %61 60: ; preds = %54 br label %61 61: ; preds = %60, %58 %62 = phi ptr [ %59, %58 ], [ @.str.3, %60 ] store ptr %62, ptr %24, align 8 %63 = load ptr, ptr %17, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %65, label %67 65: ; preds = %61 %66 = load ptr, ptr %17, align 8 br label %68 67: ; preds = %61 br label %68 68: ; preds = %67, %65 %69 = phi ptr [ %66, %65 ], [ @.str.4, %67 ] store ptr %69, ptr %25, align 8 %70 = load ptr, ptr %18, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %72, label %74 72: ; preds = %68 %73 = load ptr, ptr %18, align 8 br label %75 74: ; preds = %68 br label %75 75: ; preds = %74, %72 %76 = phi ptr [ %73, %72 ], [ @.str.5, %74 ] store ptr %76, ptr %26, align 8 %77 = load ptr, ptr %21, align 8 %78 = load ptr, ptr %20, align 8 %79 = call i32 @fputs(ptr noundef %77, ptr noundef %78) %80 = load ptr, ptr %22, align 8 %81 = load ptr, ptr %20, align 8 %82 = call i32 @fputs(ptr noundef %80, ptr noundef %81) store i32 0, ptr %19, align 4 %83 = load i32, ptr %19, align 4 %84 = load i32, ptr %13, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %.lr.ph, label %108 .lr.ph: ; preds = %75 br label %86 86: ; preds = %.lr.ph, %102 %87 = load i32, ptr %19, align 4 %88 = icmp sgt i32 %87, 0 br i1 %88, label %89, label %93 89: ; preds = %86 %90 = load ptr, ptr %24, align 8 %91 = load ptr, ptr %20, align 8 %92 = call i32 @fputs(ptr noundef %90, ptr noundef %91) br label %93 93: ; preds = %89, %86 %94 = load ptr, ptr %20, align 8 %95 = load ptr, ptr %23, align 8 %96 = load ptr, ptr %12, align 8 %97 = load i32, ptr %19, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds double, ptr %96, i64 %98 %100 = load double, ptr %99, align 8 %101 = call i32 @fprintf(ptr noundef %94, ptr noundef %95, double noundef %100) br label %102 102: ; preds = %93 %103 = load i32, ptr %19, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %19, align 4 %105 = load i32, ptr %19, align 4 %106 = load i32, ptr %13, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %86, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %102 br label %108 108: ; preds = %._crit_edge, %75 %109 = load ptr, ptr %25, align 8 %110 = load ptr, ptr %20, align 8 %111 = call i32 @fputs(ptr noundef %109, ptr noundef %110) %112 = load ptr, ptr %26, align 8 %113 = load ptr, ptr %20, align 8 %114 = call i32 @fputs(ptr noundef %112, ptr noundef %113) ret i32 0 } declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp72uvzu_3.c' source_filename = "/tmp/tmp72uvzu_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Usage : %s <file-path>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(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 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp72uvzu_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Usage : %s <file-path>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(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 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp091g79ko.c' source_filename = "/tmp/tmp091g79ko.c" target datalayout = "e-m:e-p270: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.alterations.alphabet = private unnamed_addr constant [26 x i8] c"abcdefghijklmnopqrstuvwxyz", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @alterations(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [26 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 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 %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.alterations.alphabet, i64 26, i1 false) store i32 26, ptr %10, align 4 br label %12 12: ; preds = %84, %3 %13 = load i32, ptr %10, align 4 %14 = load ptr, ptr %4, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = add nsw i32 %15, 1 %17 = mul nsw i32 %16, 26 %18 = icmp slt i32 %13, %17 br i1 %18, label %19, label %87 19: ; preds = %12 store i32 0, ptr %8, align 4 %20 = load ptr, ptr %4, align 8 %21 = call i32 @strlen(ptr noundef %20) %22 = add nsw i32 %21, 1 %23 = call ptr @malloc(i32 noundef %22) store ptr %23, ptr %11, align 8 store i32 0, ptr %7, align 4 br label %24 24: ; preds = %41, %19 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %10, align 4 %27 = sdiv i32 %26, 26 %28 = icmp slt i32 %25, %27 br i1 %28, label %29, label %44 29: ; preds = %24 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = load ptr, ptr %11, align 8 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 %34, ptr %38, align 1 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 br label %41 41: ; preds = %29 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 br label %24, !llvm.loop !6 44: ; preds = %24 %45 = load i32, ptr %10, align 4 %46 = srem i32 %45, 26 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [26 x i8], ptr %9, i64 0, i64 %47 %49 = load i8, ptr %48, align 1 %50 = load ptr, ptr %11, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = getelementptr inbounds i8, ptr %53, i64 -1 store i8 %49, ptr %54, align 1 br label %55 55: ; preds = %73, %44 %56 = load i32, ptr %7, align 4 %57 = load ptr, ptr %4, align 8 %58 = call i32 @strlen(ptr noundef %57) %59 = add nsw i32 %58, 1 %60 = icmp slt i32 %56, %59 br i1 %60, label %61, label %76 61: ; preds = %55 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %8, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = load ptr, ptr %11, align 8 %68 = load i32, ptr %7, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 store i8 %66, ptr %70, align 1 %71 = load i32, ptr %8, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %8, align 4 br label %73 73: ; preds = %61 %74 = load i32, ptr %7, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %7, align 4 br label %55, !llvm.loop !8 76: ; preds = %55 %77 = load ptr, ptr %11, align 8 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %6, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %78, i64 %80 store ptr %77, ptr %81, align 8 %82 = load i32, ptr %6, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %6, align 4 br label %84 84: ; preds = %76 %85 = load i32, ptr %10, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %10, align 4 br label %12, !llvm.loop !9 87: ; preds = %12 %88 = load i32, ptr %6, align 4 ret i32 %88 } ; 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 @strlen(ptr noundef) #2 declare ptr @malloc(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp091g79ko.c" target datalayout = "e-m:e-p270: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.alterations.alphabet = private unnamed_addr constant [26 x i8] c"abcdefghijklmnopqrstuvwxyz", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @alterations(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [26 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 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 %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.alterations.alphabet, i64 26, i1 false) store i32 26, ptr %10, align 4 %12 = load i32, ptr %10, align 4 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = add nsw i32 %14, 1 %16 = mul nsw i32 %15, 26 %17 = icmp slt i32 %12, %16 br i1 %17, label %.lr.ph5, label %99 .lr.ph5: ; preds = %3 br label %18 18: ; preds = %.lr.ph5, %90 store i32 0, ptr %8, align 4 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = add nsw i32 %20, 1 %22 = call ptr @malloc(i32 noundef %21) store ptr %22, ptr %11, align 8 store i32 0, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %10, align 4 %25 = sdiv i32 %24, 26 %26 = icmp slt i32 %23, %25 br i1 %26, label %.lr.ph, label %46 .lr.ph: ; preds = %18 br label %27 27: ; preds = %.lr.ph, %39 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = load ptr, ptr %11, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 store i8 %32, ptr %36, align 1 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 br label %39 39: ; preds = %27 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %10, align 4 %44 = sdiv i32 %43, 26 %45 = icmp slt i32 %42, %44 br i1 %45, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %46 46: ; preds = %._crit_edge, %18 %47 = load i32, ptr %10, align 4 %48 = srem i32 %47, 26 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [26 x i8], ptr %9, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = load ptr, ptr %11, align 8 %53 = load i32, ptr %7, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = getelementptr inbounds i8, ptr %55, i64 -1 store i8 %51, ptr %56, align 1 %57 = load i32, ptr %7, align 4 %58 = load ptr, ptr %4, align 8 %59 = call i32 @strlen(ptr noundef %58) %60 = add nsw i32 %59, 1 %61 = icmp slt i32 %57, %60 br i1 %61, label %.lr.ph2, label %82 .lr.ph2: ; preds = %46 br label %62 62: ; preds = %.lr.ph2, %74 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %8, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = load ptr, ptr %11, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 store i8 %67, ptr %71, align 1 %72 = load i32, ptr %8, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %8, align 4 br label %74 74: ; preds = %62 %75 = load i32, ptr %7, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %7, align 4 %77 = load i32, ptr %7, align 4 %78 = load ptr, ptr %4, align 8 %79 = call i32 @strlen(ptr noundef %78) %80 = add nsw i32 %79, 1 %81 = icmp slt i32 %77, %80 br i1 %81, label %62, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %74 br label %82 82: ; preds = %._crit_edge3, %46 %83 = load ptr, ptr %11, align 8 %84 = load ptr, ptr %5, align 8 %85 = load i32, ptr %6, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds ptr, ptr %84, i64 %86 store ptr %83, ptr %87, align 8 %88 = load i32, ptr %6, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %6, align 4 br label %90 90: ; preds = %82 %91 = load i32, ptr %10, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %10, align 4 %93 = load i32, ptr %10, align 4 %94 = load ptr, ptr %4, align 8 %95 = call i32 @strlen(ptr noundef %94) %96 = add nsw i32 %95, 1 %97 = mul nsw i32 %96, 26 %98 = icmp slt i32 %93, %97 br i1 %98, label %18, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %90 br label %99 99: ; preds = %._crit_edge6, %3 %100 = load i32, ptr %6, align 4 ret i32 %100 } ; 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 @strlen(ptr noundef) #2 declare ptr @malloc(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpd9n2fbl2.c' source_filename = "/tmp/tmpd9n2fbl2.c" target datalayout = "e-m:e-p270: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.pattern = private unnamed_addr constant [21 x i8] c"31415926535897932385\00", align 16 @.str = private unnamed_addr constant [25 x i8] c"big_pi_test_with_pi_test\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"idx:%li\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 [21 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.pattern, i64 21, i1 false) store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i8 0, ptr %10, align 1 store i64 0, ptr %11, align 8 store i64 0, ptr %12, align 8 %15 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %15, ptr %13, align 8 store i32 1, ptr %14, align 4 br label %16 16: ; preds = %60, %2 %17 = load i32, ptr %14, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %16 %20 = load i32, ptr %7, align 4 %21 = icmp ne i32 %20, 0 %22 = xor i1 %21, true br label %23 23: ; preds = %19, %16 %24 = phi i1 [ false, %16 ], [ %22, %19 ] br i1 %24, label %25, label %61 25: ; preds = %23 store i32 0, ptr %8, align 4 store i8 0, ptr %10, align 1 br label %26 26: ; preds = %51, %25 %27 = load ptr, ptr %13, align 8 %28 = call i32 @fread(ptr noundef %10, i32 noundef 1, i32 noundef 1, ptr noundef %27) store i32 %28, ptr %14, align 4 %29 = load i64, ptr %11, align 8 %30 = add nsw i64 %29, 1 store i64 %30, ptr %11, align 8 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, %31 store i32 %33, ptr %8, align 4 store i32 0, ptr %9, align 4 %34 = load i8, ptr %10, align 1 %35 = sext i8 %34 to i32 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %35, %40 br i1 %41, label %42, label %50 42: ; preds = %26 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = icmp eq i64 %44, 19 br i1 %45, label %46, label %49 46: ; preds = %42 store i32 1, ptr %7, align 4 %47 = load i64, ptr %11, align 8 %48 = sub nsw i64 %47, 20 store i64 %48, ptr %12, align 8 br label %60 49: ; preds = %42 store i32 1, ptr %9, align 4 br label %50 50: ; preds = %49, %26 br label %51 51: ; preds = %50 %52 = load i8, ptr %10, align 1 %53 = sext i8 %52 to i32 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %53, %58 br i1 %59, label %26, label %60, !llvm.loop !6 60: ; preds = %51, %46 br label %16, !llvm.loop !8 61: ; preds = %23 %62 = load i32, ptr @stderr, align 4 %63 = load i64, ptr %12, align 8 %64 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str.2, i64 noundef %63) 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 ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd9n2fbl2.c" target datalayout = "e-m:e-p270: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.pattern = private unnamed_addr constant [21 x i8] c"31415926535897932385\00", align 16 @.str = private unnamed_addr constant [25 x i8] c"big_pi_test_with_pi_test\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"idx:%li\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 [21 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.pattern, i64 21, i1 false) store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i8 0, ptr %10, align 1 store i64 0, ptr %11, align 8 store i64 0, ptr %12, align 8 %15 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %15, ptr %13, align 8 store i32 1, ptr %14, align 4 br label %16 16: ; preds = %60, %2 %17 = load i32, ptr %14, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %16 %20 = load i32, ptr %7, align 4 %21 = icmp ne i32 %20, 0 %22 = xor i1 %21, true br label %23 23: ; preds = %19, %16 %24 = phi i1 [ false, %16 ], [ %22, %19 ] br i1 %24, label %25, label %61 25: ; preds = %23 store i32 0, ptr %8, align 4 store i8 0, ptr %10, align 1 br label %26 26: ; preds = %51, %25 %27 = load ptr, ptr %13, align 8 %28 = call i32 @fread(ptr noundef %10, i32 noundef 1, i32 noundef 1, ptr noundef %27) store i32 %28, ptr %14, align 4 %29 = load i64, ptr %11, align 8 %30 = add nsw i64 %29, 1 store i64 %30, ptr %11, align 8 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, %31 store i32 %33, ptr %8, align 4 store i32 0, ptr %9, align 4 %34 = load i8, ptr %10, align 1 %35 = sext i8 %34 to i32 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %35, %40 br i1 %41, label %42, label %50 42: ; preds = %26 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = icmp eq i64 %44, 19 br i1 %45, label %46, label %49 46: ; preds = %42 store i32 1, ptr %7, align 4 %47 = load i64, ptr %11, align 8 %48 = sub nsw i64 %47, 20 store i64 %48, ptr %12, align 8 br label %60 49: ; preds = %42 store i32 1, ptr %9, align 4 br label %50 50: ; preds = %49, %26 br label %51 51: ; preds = %50 %52 = load i8, ptr %10, align 1 %53 = sext i8 %52 to i32 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [21 x i8], ptr %6, i64 0, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %53, %58 br i1 %59, label %26, label %.loopexit, !llvm.loop !6 .loopexit: ; preds = %51 br label %60 60: ; preds = %.loopexit, %46 br label %16, !llvm.loop !8 61: ; preds = %23 %62 = load i32, ptr @stderr, align 4 %63 = load i64, ptr %12, align 8 %64 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str.2, i64 noundef %63) 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 ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpoq3tierz.c' source_filename = "/tmp/tmpoq3tierz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @am_free_ints(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @free(ptr noundef %5) ret void } 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/tmpoq3tierz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @am_free_ints(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @free(ptr noundef %5) ret void } 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/tmpahbgbfs6.c' source_filename = "/tmp/tmpahbgbfs6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"scssl - track invalid: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seq_ctrl_set_step_length(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @seq_utils_clamp(i32 noundef %7, i32 noundef 0, i32 noundef 16) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %24 11: ; preds = %2 store i32 0, ptr %5, align 4 br label %12 12: ; preds = %20, %11 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %13, 6 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = call i32 (...) @seq_engine_get_current_scene() %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = call i32 @song_set_step_length(i32 noundef %16, i32 noundef %17, i32 noundef %18) br label %20 20: ; preds = %15 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %12, !llvm.loop !6 23: ; preds = %12 br label %38 24: ; preds = %2 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %24 %28 = load i32, ptr %3, align 4 %29 = icmp sge i32 %28, 6 br i1 %29, label %30, label %33 30: ; preds = %27, %24 %31 = load i32, ptr %3, align 4 %32 = call i32 @log_error(ptr noundef @.str, i32 noundef %31) br label %38 33: ; preds = %27 %34 = call i32 (...) @seq_engine_get_current_scene() %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %6, align 4 %37 = call i32 @song_set_step_length(i32 noundef %34, i32 noundef %35, i32 noundef %36) br label %38 38: ; preds = %30, %33, %23 ret void } declare i32 @seq_utils_clamp(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @song_set_step_length(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @seq_engine_get_current_scene(...) #1 declare i32 @log_error(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/tmpahbgbfs6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"scssl - track invalid: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seq_ctrl_set_step_length(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @seq_utils_clamp(i32 noundef %7, i32 noundef 0, i32 noundef 16) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %25 11: ; preds = %2 store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 6 br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %11 br label %14 14: ; preds = %.lr.ph, %19 %15 = call i32 (...) @seq_engine_get_current_scene() %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = call i32 @song_set_step_length(i32 noundef %15, i32 noundef %16, i32 noundef %17) br label %19 19: ; preds = %14 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %22, 6 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %11 br label %39 25: ; preds = %2 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %31, label %28 28: ; preds = %25 %29 = load i32, ptr %3, align 4 %30 = icmp sge i32 %29, 6 br i1 %30, label %31, label %34 31: ; preds = %28, %25 %32 = load i32, ptr %3, align 4 %33 = call i32 @log_error(ptr noundef @.str, i32 noundef %32) br label %39 34: ; preds = %28 %35 = call i32 (...) @seq_engine_get_current_scene() %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %6, align 4 %38 = call i32 @song_set_step_length(i32 noundef %35, i32 noundef %36, i32 noundef %37) br label %39 39: ; preds = %34, %31, %24 ret void } declare i32 @seq_utils_clamp(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @song_set_step_length(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @seq_engine_get_current_scene(...) #1 declare i32 @log_error(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/tmpera1axbp.c' source_filename = "/tmp/tmpera1axbp.c" target datalayout = "e-m:e-p270: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"\0A%s%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"********************************\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"Enter the number of the desired hotel: \0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"1) Fairfield Arms 2) Hotel Olympic\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"3) Chertworthy Plaza 4) The Stockton\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"5) quit\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%*s\00", align 1 @.str.8 = private unnamed_addr constant [39 x i8] c"Enter an integer from 1 to 5, please.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @menu() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.1) br label %9 9: ; preds = %27, %0 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %1) store i32 %10, ptr %2, align 4 %11 = icmp ne i32 %10, 1 br i1 %11, label %20, label %12 12: ; preds = %9 %13 = load i32, ptr %1, align 4 %14 = icmp slt i32 %13, 1 br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load i32, ptr %1, align 4 %17 = icmp sgt i32 %16, 5 br label %18 18: ; preds = %15, %12 %19 = phi i1 [ true, %12 ], [ %17, %15 ] br label %20 20: ; preds = %18, %9 %21 = phi i1 [ true, %9 ], [ %19, %18 ] br i1 %21, label %22, label %29 22: ; preds = %20 %23 = load i32, ptr %2, align 4 %24 = icmp ne i32 %23, 1 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7) br label %27 27: ; preds = %25, %22 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %9, !llvm.loop !6 29: ; preds = %20 %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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/tmpera1axbp.c" target datalayout = "e-m:e-p270: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"\0A%s%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"********************************\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"Enter the number of the desired hotel: \0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"1) Fairfield Arms 2) Hotel Olympic\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"3) Chertworthy Plaza 4) The Stockton\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"5) quit\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%*s\00", align 1 @.str.8 = private unnamed_addr constant [39 x i8] c"Enter an integer from 1 to 5, please.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @menu() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.1) br label %9 9: ; preds = %27, %0 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %1) store i32 %10, ptr %2, align 4 %11 = icmp ne i32 %10, 1 br i1 %11, label %20, label %12 12: ; preds = %9 %13 = load i32, ptr %1, align 4 %14 = icmp slt i32 %13, 1 br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load i32, ptr %1, align 4 %17 = icmp sgt i32 %16, 5 br label %18 18: ; preds = %15, %12 %19 = phi i1 [ true, %12 ], [ %17, %15 ] br label %20 20: ; preds = %18, %9 %21 = phi i1 [ true, %9 ], [ %19, %18 ] br i1 %21, label %22, label %29 22: ; preds = %20 %23 = load i32, ptr %2, align 4 %24 = icmp ne i32 %23, 1 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7) br label %27 27: ; preds = %25, %22 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %9, !llvm.loop !6 29: ; preds = %20 %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_yu45j8w.c' source_filename = "/tmp/tmp_yu45j8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @global_pool_init() #0 { %1 = call i32 (...) @global_meta_pool_init() %2 = call i32 (...) @global_data_pool_init() ret void } declare i32 @global_meta_pool_init(...) #1 declare i32 @global_data_pool_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_yu45j8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @global_pool_init() #0 { %1 = call i32 (...) @global_meta_pool_init() %2 = call i32 (...) @global_data_pool_init() ret void } declare i32 @global_meta_pool_init(...) #1 declare i32 @global_data_pool_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp60k6ico7.c' source_filename = "/tmp/tmp60k6ico7.c" target datalayout = "e-m:e-p270: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/tmp60k6ico7.c" target datalayout = "e-m:e-p270: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/tmp8msvm_qc.c' source_filename = "/tmp/tmp8msvm_qc.c" target datalayout = "e-m:e-p270: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/tmp8msvm_qc.c" target datalayout = "e-m:e-p270: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/tmpga4cqocz.c' source_filename = "/tmp/tmpga4cqocz.c" target datalayout = "e-m:e-p270: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 [57 x i8] c"Usage : <Descriptor 1> <Descriptor 2> of the same type \0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"DESCRIPTOR OPENNING FAILED \0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"NOT SAME TYPE %s vs %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"picture\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"sound\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"text\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"NOT RECONIZED TYPE \0A\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 ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [100 x i8], align 16 %9 = alloca [100 x i8], align 16 %10 = alloca [100 x i8], align 16 %11 = alloca [100 x i8], align 16 %12 = alloca [100 x i8], align 16 %13 = alloca [100 x i8], align 16 %14 = alloca [100 x i8], align 16 %15 = alloca [100 x i8], align 16 %16 = alloca [100 x i8], align 16 %17 = alloca [100 x i8], align 16 %18 = alloca [100 x i8], align 16 %19 = alloca [100 x i8], align 16 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = 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 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %18, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %19, i8 0, i64 100, i1 false) store i32 0, ptr %29, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %30, 3 br i1 %31, label %32, label %36 32: ; preds = %2 %33 = load i32, ptr @stderr, align 4 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str) %35 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %35, ptr %3, align 4 br label %146 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 %40 = call ptr @fopen(ptr noundef %39, ptr noundef @.str.1) store ptr %40, ptr %6, align 8 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 2 %43 = load ptr, ptr %42, align 8 %44 = call ptr @fopen(ptr noundef %43, ptr noundef @.str.1) store ptr %44, ptr %7, align 8 %45 = load ptr, ptr %6, align 8 %46 = icmp eq ptr %45, null br i1 %46, label %50, label %47 47: ; preds = %36 %48 = load ptr, ptr %7, align 8 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %54 50: ; preds = %47, %36 %51 = load i32, ptr @stderr, align 4 %52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.2) %53 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %53, ptr %3, align 4 br label %146 54: ; preds = %47 %55 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %56 = load ptr, ptr %6, align 8 %57 = call i32 @fgets(ptr noundef %55, i32 noundef 100, ptr noundef %56) %58 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %59 = load ptr, ptr %7, align 8 %60 = call i32 @fgets(ptr noundef %58, i32 noundef 100, ptr noundef %59) %61 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %62 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %63 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %64 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %65 = call i32 @splitHeader(ptr noundef %61, ptr noundef %62, ptr noundef %20, ptr noundef %21, ptr noundef %63, ptr noundef %64) %66 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %67 = getelementptr inbounds [100 x i8], ptr %19, i64 0, i64 0 %68 = getelementptr inbounds [100 x i8], ptr %18, i64 0, i64 0 %69 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0 %70 = call i32 @splitHeader(ptr noundef %66, ptr noundef %67, ptr noundef %22, ptr noundef %23, ptr noundef %68, ptr noundef %69) %71 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %72 = getelementptr inbounds [100 x i8], ptr %18, i64 0, i64 0 %73 = call i64 @strcmp(ptr noundef %71, ptr noundef %72) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %81 75: ; preds = %54 %76 = load i32, ptr @stderr, align 4 %77 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %78 = getelementptr inbounds [100 x i8], ptr %18, i64 0, i64 0 %79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.3, ptr noundef %77, ptr noundef %78) %80 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %80, ptr %3, align 4 br label %146 81: ; preds = %54 %82 = load i32, ptr %21, align 4 %83 = load i32, ptr %23, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %85, label %88 85: ; preds = %81 %86 = load i32, ptr %21, align 4 store i32 %86, ptr %26, align 4 %87 = load i32, ptr %23, align 4 store i32 %87, ptr %27, align 4 br label %91 88: ; preds = %81 %89 = load i32, ptr %23, align 4 store i32 %89, ptr %26, align 4 %90 = load i32, ptr %21, align 4 store i32 %90, ptr %27, align 4 br label %91 91: ; preds = %88, %85 %92 = load i32, ptr %20, align 4 %93 = load i32, ptr %22, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %95, label %98 95: ; preds = %91 %96 = load i32, ptr %20, align 4 store i32 %96, ptr %24, align 4 %97 = load i32, ptr %22, align 4 store i32 %97, ptr %25, align 4 br label %101 98: ; preds = %91 %99 = load i32, ptr %22, align 4 store i32 %99, ptr %24, align 4 %100 = load i32, ptr %20, align 4 store i32 %100, ptr %25, align 4 br label %101 101: ; preds = %98, %95 %102 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %103 = call i64 @strcmp(ptr noundef %102, ptr noundef @.str.4) %104 = icmp eq i64 %103, 0 br i1 %104, label %105, label %112 105: ; preds = %101 %106 = load ptr, ptr %6, align 8 %107 = load ptr, ptr %7, align 8 %108 = load i32, ptr %26, align 4 %109 = load i32, ptr %27, align 4 %110 = call double @comparePicture(ptr noundef %106, ptr noundef %107, i32 noundef %108, i32 noundef %109) %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %110) br label %140 112: ; preds = %101 %113 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %114 = call i64 @strcmp(ptr noundef %113, ptr noundef @.str.6) %115 = icmp eq i64 %114, 0 br i1 %115, label %116, label %125 116: ; preds = %112 %117 = load ptr, ptr %6, align 8 %118 = load ptr, ptr %7, align 8 %119 = load i32, ptr %26, align 4 %120 = load i32, ptr %27, align 4 %121 = load i32, ptr %24, align 4 %122 = load i32, ptr %25, align 4 %123 = call double @compareSound(ptr noundef %117, ptr noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef %121, i32 noundef %122) %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %123) br label %139 125: ; preds = %112 %126 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %127 = call i64 @strcmp(ptr noundef %126, ptr noundef @.str.7) %128 = icmp eq i64 %127, 0 br i1 %128, label %129, label %136 129: ; preds = %125 %130 = load ptr, ptr %6, align 8 %131 = load ptr, ptr %7, align 8 %132 = load i32, ptr %21, align 4 %133 = load i32, ptr %23, align 4 %134 = call double @compareText(ptr noundef %130, ptr noundef %131, i32 noundef %132, i32 noundef %133) %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %134) br label %138 136: ; preds = %125 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %138 138: ; preds = %136, %129 br label %139 139: ; preds = %138, %116 br label %140 140: ; preds = %139, %105 %141 = load ptr, ptr %6, align 8 %142 = call i32 @fclose(ptr noundef %141) %143 = load ptr, ptr %7, align 8 %144 = call i32 @fclose(ptr noundef %143) %145 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %145, ptr %3, align 4 br label %146 146: ; preds = %140, %75, %50, %32 %147 = load i32, ptr %3, align 4 ret i32 %147 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @splitHeader(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare double @comparePicture(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare double @compareSound(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare double @compareText(ptr noundef, ptr noundef, i32 noundef, i32 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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpga4cqocz.c" target datalayout = "e-m:e-p270: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 [57 x i8] c"Usage : <Descriptor 1> <Descriptor 2> of the same type \0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"DESCRIPTOR OPENNING FAILED \0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"NOT SAME TYPE %s vs %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"picture\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"sound\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"text\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"NOT RECONIZED TYPE \0A\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 ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [100 x i8], align 16 %9 = alloca [100 x i8], align 16 %10 = alloca [100 x i8], align 16 %11 = alloca [100 x i8], align 16 %12 = alloca [100 x i8], align 16 %13 = alloca [100 x i8], align 16 %14 = alloca [100 x i8], align 16 %15 = alloca [100 x i8], align 16 %16 = alloca [100 x i8], align 16 %17 = alloca [100 x i8], align 16 %18 = alloca [100 x i8], align 16 %19 = alloca [100 x i8], align 16 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = 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 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %18, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %19, i8 0, i64 100, i1 false) store i32 0, ptr %29, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %30, 3 br i1 %31, label %32, label %36 32: ; preds = %2 %33 = load i32, ptr @stderr, align 4 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str) %35 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %35, ptr %3, align 4 br label %146 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 %40 = call ptr @fopen(ptr noundef %39, ptr noundef @.str.1) store ptr %40, ptr %6, align 8 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 2 %43 = load ptr, ptr %42, align 8 %44 = call ptr @fopen(ptr noundef %43, ptr noundef @.str.1) store ptr %44, ptr %7, align 8 %45 = load ptr, ptr %6, align 8 %46 = icmp eq ptr %45, null br i1 %46, label %50, label %47 47: ; preds = %36 %48 = load ptr, ptr %7, align 8 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %54 50: ; preds = %47, %36 %51 = load i32, ptr @stderr, align 4 %52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.2) %53 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %53, ptr %3, align 4 br label %146 54: ; preds = %47 %55 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %56 = load ptr, ptr %6, align 8 %57 = call i32 @fgets(ptr noundef %55, i32 noundef 100, ptr noundef %56) %58 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %59 = load ptr, ptr %7, align 8 %60 = call i32 @fgets(ptr noundef %58, i32 noundef 100, ptr noundef %59) %61 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %62 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %63 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %64 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %65 = call i32 @splitHeader(ptr noundef %61, ptr noundef %62, ptr noundef %20, ptr noundef %21, ptr noundef %63, ptr noundef %64) %66 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %67 = getelementptr inbounds [100 x i8], ptr %19, i64 0, i64 0 %68 = getelementptr inbounds [100 x i8], ptr %18, i64 0, i64 0 %69 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0 %70 = call i32 @splitHeader(ptr noundef %66, ptr noundef %67, ptr noundef %22, ptr noundef %23, ptr noundef %68, ptr noundef %69) %71 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %72 = getelementptr inbounds [100 x i8], ptr %18, i64 0, i64 0 %73 = call i64 @strcmp(ptr noundef %71, ptr noundef %72) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %81 75: ; preds = %54 %76 = load i32, ptr @stderr, align 4 %77 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %78 = getelementptr inbounds [100 x i8], ptr %18, i64 0, i64 0 %79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.3, ptr noundef %77, ptr noundef %78) %80 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %80, ptr %3, align 4 br label %146 81: ; preds = %54 %82 = load i32, ptr %21, align 4 %83 = load i32, ptr %23, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %85, label %88 85: ; preds = %81 %86 = load i32, ptr %21, align 4 store i32 %86, ptr %26, align 4 %87 = load i32, ptr %23, align 4 store i32 %87, ptr %27, align 4 br label %91 88: ; preds = %81 %89 = load i32, ptr %23, align 4 store i32 %89, ptr %26, align 4 %90 = load i32, ptr %21, align 4 store i32 %90, ptr %27, align 4 br label %91 91: ; preds = %88, %85 %92 = load i32, ptr %20, align 4 %93 = load i32, ptr %22, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %95, label %98 95: ; preds = %91 %96 = load i32, ptr %20, align 4 store i32 %96, ptr %24, align 4 %97 = load i32, ptr %22, align 4 store i32 %97, ptr %25, align 4 br label %101 98: ; preds = %91 %99 = load i32, ptr %22, align 4 store i32 %99, ptr %24, align 4 %100 = load i32, ptr %20, align 4 store i32 %100, ptr %25, align 4 br label %101 101: ; preds = %98, %95 %102 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %103 = call i64 @strcmp(ptr noundef %102, ptr noundef @.str.4) %104 = icmp eq i64 %103, 0 br i1 %104, label %105, label %112 105: ; preds = %101 %106 = load ptr, ptr %6, align 8 %107 = load ptr, ptr %7, align 8 %108 = load i32, ptr %26, align 4 %109 = load i32, ptr %27, align 4 %110 = call double @comparePicture(ptr noundef %106, ptr noundef %107, i32 noundef %108, i32 noundef %109) %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %110) br label %140 112: ; preds = %101 %113 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %114 = call i64 @strcmp(ptr noundef %113, ptr noundef @.str.6) %115 = icmp eq i64 %114, 0 br i1 %115, label %116, label %125 116: ; preds = %112 %117 = load ptr, ptr %6, align 8 %118 = load ptr, ptr %7, align 8 %119 = load i32, ptr %26, align 4 %120 = load i32, ptr %27, align 4 %121 = load i32, ptr %24, align 4 %122 = load i32, ptr %25, align 4 %123 = call double @compareSound(ptr noundef %117, ptr noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef %121, i32 noundef %122) %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %123) br label %139 125: ; preds = %112 %126 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %127 = call i64 @strcmp(ptr noundef %126, ptr noundef @.str.7) %128 = icmp eq i64 %127, 0 br i1 %128, label %129, label %136 129: ; preds = %125 %130 = load ptr, ptr %6, align 8 %131 = load ptr, ptr %7, align 8 %132 = load i32, ptr %21, align 4 %133 = load i32, ptr %23, align 4 %134 = call double @compareText(ptr noundef %130, ptr noundef %131, i32 noundef %132, i32 noundef %133) %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %134) br label %138 136: ; preds = %125 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %138 138: ; preds = %136, %129 br label %139 139: ; preds = %138, %116 br label %140 140: ; preds = %139, %105 %141 = load ptr, ptr %6, align 8 %142 = call i32 @fclose(ptr noundef %141) %143 = load ptr, ptr %7, align 8 %144 = call i32 @fclose(ptr noundef %143) %145 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %145, ptr %3, align 4 br label %146 146: ; preds = %140, %75, %50, %32 %147 = load i32, ptr %3, align 4 ret i32 %147 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @splitHeader(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare double @comparePicture(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare double @compareSound(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare double @compareText(ptr noundef, ptr noundef, i32 noundef, i32 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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn0c3mfcr.c' source_filename = "/tmp/tmpn0c3mfcr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xgraphicsexpose_major_code(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i32 %5, ptr %8, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn0c3mfcr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xgraphicsexpose_major_code(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i32 %5, ptr %8, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbtwb9khb.c' source_filename = "/tmp/tmpbtwb9khb.c" target datalayout = "e-m:e-p270: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"BM\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @putBmpHeader(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %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 %12 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp sle i32 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %4 %16 = load i32, ptr %8, align 4 %17 = icmp sle i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %15, %4 store i32 0, ptr %5, align 4 br label %98 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %26, label %22 22: ; preds = %19 %23 = load ptr, ptr %6, align 8 %24 = call i64 @ferror(ptr noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %22, %19 store i32 0, ptr %5, align 4 br label %98 27: ; preds = %22 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 24 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 0, ptr %11, align 4 br label %43 31: ; preds = %27 store i32 1, ptr %11, align 4 store i32 1, ptr %10, align 4 br label %32 32: ; preds = %39, %31 %33 = load i32, ptr %10, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp sle i32 %33, %34 br i1 %35, label %36, label %42 36: ; preds = %32 %37 = load i32, ptr %11, align 4 %38 = mul nsw i32 %37, 2 store i32 %38, ptr %11, align 4 br label %39 39: ; preds = %36 %40 = load i32, ptr %10, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %10, align 4 br label %32, !llvm.loop !6 42: ; preds = %32 br label %43 43: ; preds = %42, %30 %44 = load i32, ptr %11, align 4 %45 = mul nsw i32 4, %44 %46 = add nsw i32 54, %45 %47 = sext i32 %46 to i64 store i64 %47, ptr %12, align 8 %48 = load ptr, ptr %6, align 8 %49 = call i32 @fputs(ptr noundef @.str, ptr noundef %48) %50 = load i64, ptr %12, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = load i32, ptr %8, align 4 %54 = sext i32 %53 to i64 %55 = mul i64 %52, %54 %56 = add i64 %50, %55 %57 = trunc i64 %56 to i32 %58 = load ptr, ptr %6, align 8 %59 = call i32 @fputc4LowHigh(i32 noundef %57, ptr noundef %58) %60 = load ptr, ptr %6, align 8 %61 = call i32 @fputc2LowHigh(i32 noundef 0, ptr noundef %60) %62 = load ptr, ptr %6, align 8 %63 = call i32 @fputc2LowHigh(i32 noundef 0, ptr noundef %62) %64 = load i64, ptr %12, align 8 %65 = trunc i64 %64 to i32 %66 = load ptr, ptr %6, align 8 %67 = call i32 @fputc4LowHigh(i32 noundef %65, ptr noundef %66) %68 = load ptr, ptr %6, align 8 %69 = call i32 @fputc4LowHigh(i32 noundef 40, ptr noundef %68) %70 = load i32, ptr %7, align 4 %71 = load ptr, ptr %6, align 8 %72 = call i32 @fputc4LowHigh(i32 noundef %70, ptr noundef %71) %73 = load i32, ptr %8, align 4 %74 = load ptr, ptr %6, align 8 %75 = call i32 @fputc4LowHigh(i32 noundef %73, ptr noundef %74) %76 = load ptr, ptr %6, align 8 %77 = call i32 @fputc2LowHigh(i32 noundef 1, ptr noundef %76) %78 = load i32, ptr %9, align 4 %79 = load ptr, ptr %6, align 8 %80 = call i32 @fputc2LowHigh(i32 noundef %78, ptr noundef %79) %81 = load ptr, ptr %6, align 8 %82 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %81) %83 = load ptr, ptr %6, align 8 %84 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %83) %85 = load ptr, ptr %6, align 8 %86 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %85) %87 = load ptr, ptr %6, align 8 %88 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %87) %89 = load ptr, ptr %6, align 8 %90 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %89) %91 = load ptr, ptr %6, align 8 %92 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %91) %93 = load ptr, ptr %6, align 8 %94 = call i64 @ferror(ptr noundef %93) %95 = icmp ne i64 %94, 0 br i1 %95, label %96, label %97 96: ; preds = %43 store i32 0, ptr %5, align 4 br label %98 97: ; preds = %43 store i32 1, ptr %5, align 4 br label %98 98: ; preds = %97, %96, %26, %18 %99 = load i32, ptr %5, align 4 ret i32 %99 } declare i64 @ferror(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fputc4LowHigh(i32 noundef, ptr noundef) #1 declare i32 @fputc2LowHigh(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbtwb9khb.c" target datalayout = "e-m:e-p270: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"BM\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @putBmpHeader(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %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 %12 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp sle i32 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %4 %16 = load i32, ptr %8, align 4 %17 = icmp sle i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %15, %4 store i32 0, ptr %5, align 4 br label %100 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %26, label %22 22: ; preds = %19 %23 = load ptr, ptr %6, align 8 %24 = call i64 @ferror(ptr noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %22, %19 store i32 0, ptr %5, align 4 br label %100 27: ; preds = %22 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 24 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 0, ptr %11, align 4 br label %45 31: ; preds = %27 store i32 1, ptr %11, align 4 store i32 1, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %.lr.ph, label %44 .lr.ph: ; preds = %31 br label %35 35: ; preds = %.lr.ph, %38 %36 = load i32, ptr %11, align 4 %37 = mul nsw i32 %36, 2 store i32 %37, ptr %11, align 4 br label %38 38: ; preds = %35 %39 = load i32, ptr %10, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %10, align 4 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp sle i32 %41, %42 br i1 %43, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %31 br label %45 45: ; preds = %44, %30 %46 = load i32, ptr %11, align 4 %47 = mul nsw i32 4, %46 %48 = add nsw i32 54, %47 %49 = sext i32 %48 to i64 store i64 %49, ptr %12, align 8 %50 = load ptr, ptr %6, align 8 %51 = call i32 @fputs(ptr noundef @.str, ptr noundef %50) %52 = load i64, ptr %12, align 8 %53 = load i32, ptr %7, align 4 %54 = sext i32 %53 to i64 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = mul i64 %54, %56 %58 = add i64 %52, %57 %59 = trunc i64 %58 to i32 %60 = load ptr, ptr %6, align 8 %61 = call i32 @fputc4LowHigh(i32 noundef %59, ptr noundef %60) %62 = load ptr, ptr %6, align 8 %63 = call i32 @fputc2LowHigh(i32 noundef 0, ptr noundef %62) %64 = load ptr, ptr %6, align 8 %65 = call i32 @fputc2LowHigh(i32 noundef 0, ptr noundef %64) %66 = load i64, ptr %12, align 8 %67 = trunc i64 %66 to i32 %68 = load ptr, ptr %6, align 8 %69 = call i32 @fputc4LowHigh(i32 noundef %67, ptr noundef %68) %70 = load ptr, ptr %6, align 8 %71 = call i32 @fputc4LowHigh(i32 noundef 40, ptr noundef %70) %72 = load i32, ptr %7, align 4 %73 = load ptr, ptr %6, align 8 %74 = call i32 @fputc4LowHigh(i32 noundef %72, ptr noundef %73) %75 = load i32, ptr %8, align 4 %76 = load ptr, ptr %6, align 8 %77 = call i32 @fputc4LowHigh(i32 noundef %75, ptr noundef %76) %78 = load ptr, ptr %6, align 8 %79 = call i32 @fputc2LowHigh(i32 noundef 1, ptr noundef %78) %80 = load i32, ptr %9, align 4 %81 = load ptr, ptr %6, align 8 %82 = call i32 @fputc2LowHigh(i32 noundef %80, ptr noundef %81) %83 = load ptr, ptr %6, align 8 %84 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %83) %85 = load ptr, ptr %6, align 8 %86 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %85) %87 = load ptr, ptr %6, align 8 %88 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %87) %89 = load ptr, ptr %6, align 8 %90 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %89) %91 = load ptr, ptr %6, align 8 %92 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %91) %93 = load ptr, ptr %6, align 8 %94 = call i32 @fputc4LowHigh(i32 noundef 0, ptr noundef %93) %95 = load ptr, ptr %6, align 8 %96 = call i64 @ferror(ptr noundef %95) %97 = icmp ne i64 %96, 0 br i1 %97, label %98, label %99 98: ; preds = %45 store i32 0, ptr %5, align 4 br label %100 99: ; preds = %45 store i32 1, ptr %5, align 4 br label %100 100: ; preds = %99, %98, %26, %18 %101 = load i32, ptr %5, align 4 ret i32 %101 } declare i64 @ferror(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fputc4LowHigh(i32 noundef, ptr noundef) #1 declare i32 @fputc2LowHigh(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpiprjqm7s.c' source_filename = "/tmp/tmpiprjqm7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @ENOTEMPTY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @ENOMEM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"could not rename\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Fatal error in rename_unlink()\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rename_unlink(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %3, align 8 %11 = call i32 @assert(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i64 @lstat(ptr noundef %12, ptr noundef %6) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %1 store i32 -1, ptr %2, align 4 br label %108 16: ; preds = %1 %17 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = call i64 @S_ISDIR(i32 noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = call i64 @empty_directory(ptr noundef %22) %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = load i32, ptr @ENOTEMPTY, align 4 store i32 %26, ptr @errno, align 4 store i32 -1, ptr %2, align 4 br label %108 27: ; preds = %21, %16 %28 = load ptr, ptr %3, align 8 %29 = call i32 @strlen(ptr noundef %28) %30 = add nsw i32 %29, 15 %31 = sext i32 %30 to i64 store i64 %31, ptr %7, align 8 %32 = load i64, ptr %7, align 8 %33 = call i64 @alloca(i64 noundef %32) %34 = inttoptr i64 %33 to ptr store ptr %34, ptr %4, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %38 36: ; preds = %27 %37 = load i32, ptr @ENOMEM, align 4 store i32 %37, ptr @errno, align 4 store i32 -1, ptr %2, align 4 br label %108 38: ; preds = %27 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %3, align 8 %41 = load i64, ptr %7, align 8 %42 = call i32 @strncpy(ptr noundef %39, ptr noundef %40, i64 noundef %41) %43 = load ptr, ptr %4, align 8 %44 = call ptr @strrchr(ptr noundef %43, i8 noundef signext 47) store ptr %44, ptr %5, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %38 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %5, align 8 %49 = load ptr, ptr %5, align 8 store i8 0, ptr %49, align 1 br label %52 50: ; preds = %38 %51 = load ptr, ptr %4, align 8 store ptr %51, ptr %5, align 8 br label %52 52: ; preds = %50, %46 br label %53 53: ; preds = %77, %52 store i32 0, ptr %8, align 4 br label %54 54: ; preds = %71, %53 %55 = load i32, ptr %8, align 4 %56 = icmp slt i32 %55, 14 br i1 %56, label %57, label %72 57: ; preds = %54 %58 = call zeroext i8 (...) @random_char() store i8 %58, ptr %9, align 1 %59 = load i8, ptr %9, align 1 %60 = zext i8 %59 to i32 %61 = call i64 @isalnum(i32 noundef %60) %62 = icmp ne i64 %61, 0 br i1 %62, label %63, label %71 63: ; preds = %57 %64 = load i8, ptr %9, align 1 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %8, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 %64, ptr %68, align 1 %69 = load i32, ptr %8, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %8, align 4 br label %71 71: ; preds = %63, %57 br label %54, !llvm.loop !6 72: ; preds = %54 %73 = load ptr, ptr %5, align 8 %74 = load i32, ptr %8, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 store i8 0, ptr %76, align 1 br label %77 77: ; preds = %72 %78 = load ptr, ptr %4, align 8 %79 = call i64 @lstat(ptr noundef %78, ptr noundef %6) %80 = icmp eq i64 %79, 0 br i1 %80, label %53, label %81, !llvm.loop !8 81: ; preds = %77 %82 = load ptr, ptr %3, align 8 %83 = load ptr, ptr %4, align 8 %84 = call i64 @rename(ptr noundef %82, ptr noundef %83) %85 = icmp slt i64 %84, 0 br i1 %85, label %86, label %88 86: ; preds = %81 %87 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %108 88: ; preds = %81 %89 = call i32 (...) @sync() %90 = load ptr, ptr %4, align 8 %91 = call i64 @lstat(ptr noundef %90, ptr noundef %6) %92 = icmp slt i64 %91, 0 br i1 %92, label %93, label %97 93: ; preds = %88 %94 = call i32 @perror(ptr noundef @.str.1) %95 = load i32, ptr @EXIT_FAILURE, align 4 %96 = call i32 @exit(i32 noundef %95) #3 unreachable 97: ; preds = %88 %98 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %99 = load i32, ptr %98, align 4 %100 = call i64 @S_ISDIR(i32 noundef %99) %101 = icmp ne i64 %100, 0 br i1 %101, label %102, label %105 102: ; preds = %97 %103 = load ptr, ptr %4, align 8 %104 = call i32 @rmdir(ptr noundef %103) store i32 %104, ptr %2, align 4 br label %108 105: ; preds = %97 %106 = load ptr, ptr %4, align 8 %107 = call i32 @unlink(ptr noundef %106) store i32 %107, ptr %2, align 4 br label %108 108: ; preds = %105, %102, %86, %36, %25, %15 %109 = load i32, ptr %2, align 4 ret i32 %109 } declare i32 @assert(ptr noundef) #1 declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 declare i64 @empty_directory(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @alloca(i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare zeroext i8 @random_char(...) #1 declare i64 @isalnum(i32 noundef) #1 declare i64 @rename(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @sync(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @rmdir(ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiprjqm7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @ENOTEMPTY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @ENOMEM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"could not rename\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Fatal error in rename_unlink()\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rename_unlink(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %3, align 8 %11 = call i32 @assert(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i64 @lstat(ptr noundef %12, ptr noundef %6) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %1 store i32 -1, ptr %2, align 4 br label %109 16: ; preds = %1 %17 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = call i64 @S_ISDIR(i32 noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = call i64 @empty_directory(ptr noundef %22) %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = load i32, ptr @ENOTEMPTY, align 4 store i32 %26, ptr @errno, align 4 store i32 -1, ptr %2, align 4 br label %109 27: ; preds = %21, %16 %28 = load ptr, ptr %3, align 8 %29 = call i32 @strlen(ptr noundef %28) %30 = add nsw i32 %29, 15 %31 = sext i32 %30 to i64 store i64 %31, ptr %7, align 8 %32 = load i64, ptr %7, align 8 %33 = call i64 @alloca(i64 noundef %32) %34 = inttoptr i64 %33 to ptr store ptr %34, ptr %4, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %38 36: ; preds = %27 %37 = load i32, ptr @ENOMEM, align 4 store i32 %37, ptr @errno, align 4 store i32 -1, ptr %2, align 4 br label %109 38: ; preds = %27 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %3, align 8 %41 = load i64, ptr %7, align 8 %42 = call i32 @strncpy(ptr noundef %39, ptr noundef %40, i64 noundef %41) %43 = load ptr, ptr %4, align 8 %44 = call ptr @strrchr(ptr noundef %43, i8 noundef signext 47) store ptr %44, ptr %5, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %38 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %5, align 8 %49 = load ptr, ptr %5, align 8 store i8 0, ptr %49, align 1 br label %52 50: ; preds = %38 %51 = load ptr, ptr %4, align 8 store ptr %51, ptr %5, align 8 br label %52 52: ; preds = %50, %46 br label %53 53: ; preds = %78, %52 store i32 0, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = icmp slt i32 %54, 14 br i1 %55, label %.lr.ph, label %73 .lr.ph: ; preds = %53 br label %56 56: ; preds = %.lr.ph, %70 %57 = call zeroext i8 (...) @random_char() store i8 %57, ptr %9, align 1 %58 = load i8, ptr %9, align 1 %59 = zext i8 %58 to i32 %60 = call i64 @isalnum(i32 noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %70 62: ; preds = %56 %63 = load i8, ptr %9, align 1 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %8, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 store i8 %63, ptr %67, align 1 %68 = load i32, ptr %8, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %8, align 4 br label %70 70: ; preds = %62, %56 %71 = load i32, ptr %8, align 4 %72 = icmp slt i32 %71, 14 br i1 %72, label %56, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %70 br label %73 73: ; preds = %._crit_edge, %53 %74 = load ptr, ptr %5, align 8 %75 = load i32, ptr %8, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 store i8 0, ptr %77, align 1 br label %78 78: ; preds = %73 %79 = load ptr, ptr %4, align 8 %80 = call i64 @lstat(ptr noundef %79, ptr noundef %6) %81 = icmp eq i64 %80, 0 br i1 %81, label %53, label %82, !llvm.loop !8 82: ; preds = %78 %83 = load ptr, ptr %3, align 8 %84 = load ptr, ptr %4, align 8 %85 = call i64 @rename(ptr noundef %83, ptr noundef %84) %86 = icmp slt i64 %85, 0 br i1 %86, label %87, label %89 87: ; preds = %82 %88 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %109 89: ; preds = %82 %90 = call i32 (...) @sync() %91 = load ptr, ptr %4, align 8 %92 = call i64 @lstat(ptr noundef %91, ptr noundef %6) %93 = icmp slt i64 %92, 0 br i1 %93, label %94, label %98 94: ; preds = %89 %95 = call i32 @perror(ptr noundef @.str.1) %96 = load i32, ptr @EXIT_FAILURE, align 4 %97 = call i32 @exit(i32 noundef %96) #3 unreachable 98: ; preds = %89 %99 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %100 = load i32, ptr %99, align 4 %101 = call i64 @S_ISDIR(i32 noundef %100) %102 = icmp ne i64 %101, 0 br i1 %102, label %103, label %106 103: ; preds = %98 %104 = load ptr, ptr %4, align 8 %105 = call i32 @rmdir(ptr noundef %104) store i32 %105, ptr %2, align 4 br label %109 106: ; preds = %98 %107 = load ptr, ptr %4, align 8 %108 = call i32 @unlink(ptr noundef %107) store i32 %108, ptr %2, align 4 br label %109 109: ; preds = %106, %103, %87, %36, %25, %15 %110 = load i32, ptr %2, align 4 ret i32 %110 } declare i32 @assert(ptr noundef) #1 declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 declare i64 @empty_directory(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @alloca(i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare zeroext i8 @random_char(...) #1 declare i64 @isalnum(i32 noundef) #1 declare i64 @rename(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @sync(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @rmdir(ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp4zdkuzn1.c' source_filename = "/tmp/tmp4zdkuzn1.c" target datalayout = "e-m:e-p270: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.input_argument_free.somesys = private unnamed_addr constant [22 x i8] c"\0ATITLE : some system\0A\00", align 16 @.str = private unnamed_addr constant [46 x i8] c"\0AReading and writing a polynomial system ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"-> read_target_system returns %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"-> copy_target_system_to_container returns %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\0AThe system read :\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"-> print_system returns %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"\0AGive name of the output file : \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.7 = private unnamed_addr constant [46 x i8] c"-> define_output_file_with_string returns %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [51 x i8] c"-> write_string_to_defined_output_file returns %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"-> close_output_file returns %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @input_argument_free() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [80 x i8], align 16 %4 = alloca i8, align 1 %5 = alloca [22 x i8], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.input_argument_free.somesys, i64 22, i1 false) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (...) @read_standard_target_system() store i32 %7, ptr %1, align 4 %8 = load i32, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8) %10 = call i32 (...) @copy_target_system_to_container() store i32 %10, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %14 = call i32 (...) @print_system() store i32 %14, ptr %1, align 4 %15 = load i32, ptr %1, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %18 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %18) %20 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %21 = call i64 @strlen(ptr noundef %20) %22 = trunc i64 %21 to i32 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %25 = call i32 @define_output_file_with_string(i32 noundef %23, ptr noundef %24) store i32 %25, ptr %1, align 4 %26 = load i32, ptr %1, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %26) %28 = call i32 (...) @print_system() store i32 %28, ptr %1, align 4 %29 = load i32, ptr %1, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %29) %31 = getelementptr inbounds [22 x i8], ptr %5, i64 0, i64 0 %32 = call i32 @write_string_to_defined_output_file(i32 noundef 21, ptr noundef %31) store i32 %32, ptr %1, align 4 %33 = load i32, ptr %1, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %33) %35 = call i32 (...) @close_output_file() store i32 %35, ptr %1, align 4 %36 = load i32, ptr %1, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %36) 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 declare i32 @read_standard_target_system(...) #2 declare i32 @copy_target_system_to_container(...) #2 declare i32 @print_system(...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @define_output_file_with_string(i32 noundef, ptr noundef) #2 declare i32 @write_string_to_defined_output_file(i32 noundef, ptr noundef) #2 declare i32 @close_output_file(...) #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/tmp4zdkuzn1.c" target datalayout = "e-m:e-p270: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.input_argument_free.somesys = private unnamed_addr constant [22 x i8] c"\0ATITLE : some system\0A\00", align 16 @.str = private unnamed_addr constant [46 x i8] c"\0AReading and writing a polynomial system ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"-> read_target_system returns %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"-> copy_target_system_to_container returns %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\0AThe system read :\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"-> print_system returns %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"\0AGive name of the output file : \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.7 = private unnamed_addr constant [46 x i8] c"-> define_output_file_with_string returns %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [51 x i8] c"-> write_string_to_defined_output_file returns %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"-> close_output_file returns %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @input_argument_free() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [80 x i8], align 16 %4 = alloca i8, align 1 %5 = alloca [22 x i8], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.input_argument_free.somesys, i64 22, i1 false) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (...) @read_standard_target_system() store i32 %7, ptr %1, align 4 %8 = load i32, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8) %10 = call i32 (...) @copy_target_system_to_container() store i32 %10, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %14 = call i32 (...) @print_system() store i32 %14, ptr %1, align 4 %15 = load i32, ptr %1, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %18 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @scanf(ptr noundef @.str.6, ptr noundef %18) %20 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %21 = call i64 @strlen(ptr noundef %20) %22 = trunc i64 %21 to i32 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %25 = call i32 @define_output_file_with_string(i32 noundef %23, ptr noundef %24) store i32 %25, ptr %1, align 4 %26 = load i32, ptr %1, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %26) %28 = call i32 (...) @print_system() store i32 %28, ptr %1, align 4 %29 = load i32, ptr %1, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %29) %31 = getelementptr inbounds [22 x i8], ptr %5, i64 0, i64 0 %32 = call i32 @write_string_to_defined_output_file(i32 noundef 21, ptr noundef %31) store i32 %32, ptr %1, align 4 %33 = load i32, ptr %1, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %33) %35 = call i32 (...) @close_output_file() store i32 %35, ptr %1, align 4 %36 = load i32, ptr %1, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %36) 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 declare i32 @read_standard_target_system(...) #2 declare i32 @copy_target_system_to_container(...) #2 declare i32 @print_system(...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @define_output_file_with_string(i32 noundef, ptr noundef) #2 declare i32 @write_string_to_defined_output_file(i32 noundef, ptr noundef) #2 declare i32 @close_output_file(...) #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/tmpmybprpa8.c' source_filename = "/tmp/tmpmybprpa8.c" target datalayout = "e-m:e-p270: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"./data/relay1.dat\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"./data/relay_2x2.dat\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"./data/relay_4x4.dat\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"./data/relay_simple2.dat\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"./data/step_1x1.dat\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"./data/step_2x2.dat\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"./data/step_4x4.dat\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"---\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @data_collection() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 150, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 8 %7 = trunc i64 %6 to i32 %8 = call i64 @malloc(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %2, align 8 store i32 0, ptr %3, align 4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = sext i32 %11 to i64 %14 = getelementptr inbounds ptr, ptr %10, i64 %13 store ptr @.str, ptr %14, align 8 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = sext i32 %16 to i64 %19 = getelementptr inbounds ptr, ptr %15, i64 %18 store ptr @.str.1, ptr %19, align 8 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds ptr, ptr %20, i64 %23 store ptr @.str.2, ptr %24, align 8 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds ptr, ptr %25, i64 %28 store ptr @.str.3, ptr %29, align 8 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 %33 = sext i32 %31 to i64 %34 = getelementptr inbounds ptr, ptr %30, i64 %33 store ptr @.str.4, ptr %34, align 8 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 %38 = sext i32 %36 to i64 %39 = getelementptr inbounds ptr, ptr %35, i64 %38 store ptr @.str.5, ptr %39, align 8 %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %3, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds ptr, ptr %40, i64 %43 store ptr @.str.6, ptr %44, align 8 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = sext i32 %46 to i64 %49 = getelementptr inbounds ptr, ptr %45, i64 %48 store ptr @.str.7, ptr %49, align 8 %50 = load ptr, ptr %2, align 8 ret ptr %50 } declare i64 @malloc(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/tmpmybprpa8.c" target datalayout = "e-m:e-p270: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"./data/relay1.dat\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"./data/relay_2x2.dat\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"./data/relay_4x4.dat\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"./data/relay_simple2.dat\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"./data/step_1x1.dat\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"./data/step_2x2.dat\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"./data/step_4x4.dat\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"---\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @data_collection() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 150, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 8 %7 = trunc i64 %6 to i32 %8 = call i64 @malloc(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %2, align 8 store i32 0, ptr %3, align 4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = sext i32 %11 to i64 %14 = getelementptr inbounds ptr, ptr %10, i64 %13 store ptr @.str, ptr %14, align 8 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = sext i32 %16 to i64 %19 = getelementptr inbounds ptr, ptr %15, i64 %18 store ptr @.str.1, ptr %19, align 8 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds ptr, ptr %20, i64 %23 store ptr @.str.2, ptr %24, align 8 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds ptr, ptr %25, i64 %28 store ptr @.str.3, ptr %29, align 8 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 %33 = sext i32 %31 to i64 %34 = getelementptr inbounds ptr, ptr %30, i64 %33 store ptr @.str.4, ptr %34, align 8 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 %38 = sext i32 %36 to i64 %39 = getelementptr inbounds ptr, ptr %35, i64 %38 store ptr @.str.5, ptr %39, align 8 %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %3, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds ptr, ptr %40, i64 %43 store ptr @.str.6, ptr %44, align 8 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = sext i32 %46 to i64 %49 = getelementptr inbounds ptr, ptr %45, i64 %48 store ptr @.str.7, ptr %49, align 8 %50 = load ptr, ptr %2, align 8 ret ptr %50 } declare i64 @malloc(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/tmpqmvl0qa8.c' source_filename = "/tmp/tmpqmvl0qa8.c" target datalayout = "e-m:e-p270: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/tmpqmvl0qa8.c" target datalayout = "e-m:e-p270: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/tmpg4t9tju7.c' source_filename = "/tmp/tmpg4t9tju7.c" target datalayout = "e-m:e-p270: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"rm \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @remove_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [500 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str) %6 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strcat(ptr noundef %6, ptr noundef %7) %9 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @system(ptr noundef %9) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr 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/tmpg4t9tju7.c" target datalayout = "e-m:e-p270: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"rm \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @remove_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [500 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str) %6 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strcat(ptr noundef %6, ptr noundef %7) %9 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @system(ptr noundef %9) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr 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/tmppyh3uq4h.c' source_filename = "/tmp/tmppyh3uq4h.c" target datalayout = "e-m:e-p270: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/tmppyh3uq4h.c" target datalayout = "e-m:e-p270: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/tmp1jtp319x.c' source_filename = "/tmp/tmp1jtp319x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_raw() #0 { %1 = call i32 (...) @raw() ret i32 %1 } declare i32 @raw(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1jtp319x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_raw() #0 { %1 = call i32 (...) @raw() ret i32 %1 } declare i32 @raw(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpygbqmpd1.c' source_filename = "/tmp/tmpygbqmpd1.c" target datalayout = "e-m:e-p270: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/tmpygbqmpd1.c" target datalayout = "e-m:e-p270: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/tmpu8t467lk.c' source_filename = "/tmp/tmpu8t467lk.c" target datalayout = "e-m:e-p270: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/tmpu8t467lk.c" target datalayout = "e-m:e-p270: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/tmp8sht8ryt.c' source_filename = "/tmp/tmp8sht8ryt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPalindrom(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %32, %1 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = sdiv i32 %10, 2 %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %35 13: ; preds = %8 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %15, %16 %18 = sub nsw i32 %17, 1 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %14, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %22, %28 br i1 %29, label %30, label %31 30: ; preds = %13 store i32 0, ptr %3, align 4 br label %35 31: ; preds = %13 br label %32 32: ; preds = %31 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %8, !llvm.loop !6 35: ; preds = %30, %8 %36 = load i32, ptr %3, align 4 ret i32 %36 } 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/tmp8sht8ryt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPalindrom(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = sdiv i32 %9, 2 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %31 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %14, %15 %17 = sub nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %13, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %21, %27 br i1 %28, label %29, label %30 29: ; preds = %12 store i32 0, ptr %3, align 4 br label %38 30: ; preds = %12 br label %31 31: ; preds = %30 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %4, align 4 %36 = sdiv i32 %35, 2 %37 = icmp slt i32 %34, %36 br i1 %37, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %31 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %38 38: ; preds = %.loopexit, %29 %39 = load i32, ptr %3, align 4 ret i32 %39 } 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/tmpzpjhbe33.c' source_filename = "/tmp/tmpzpjhbe33.c" target datalayout = "e-m:e-p270: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"test_1\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 [100 x i32], align 16 store i32 0, ptr %1, align 4 %5 = call i32 (...) @rdtsc_markerInit() %6 = call i32 @rdtsc_markerStartRegion(ptr noundef @.str, i32 noundef 0, i32 noundef 1) store i32 0, ptr %2, align 4 br label %7 7: ; preds = %12, %0 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %10, label %15 10: ; preds = %7 %11 = call i32 (...) @fake_call() br label %12 12: ; preds = %10 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %7, !llvm.loop !6 15: ; preds = %7 %16 = call i32 @rdtsc_markerStopRegion(ptr noundef @.str, i32 noundef 0, i32 noundef 1) ret i32 0 } declare i32 @rdtsc_markerInit(...) #1 declare i32 @rdtsc_markerStartRegion(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fake_call(...) #1 declare i32 @rdtsc_markerStopRegion(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/tmpzpjhbe33.c" target datalayout = "e-m:e-p270: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"test_1\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 [100 x i32], align 16 store i32 0, ptr %1, align 4 %5 = call i32 (...) @rdtsc_markerInit() %6 = call i32 @rdtsc_markerStartRegion(ptr noundef @.str, i32 noundef 0, i32 noundef 1) store i32 0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %11 %10 = call i32 (...) @fake_call() br label %11 11: ; preds = %9 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 10 br i1 %15, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 %17 = call i32 @rdtsc_markerStopRegion(ptr noundef @.str, i32 noundef 0, i32 noundef 1) ret i32 0 } declare i32 @rdtsc_markerInit(...) #1 declare i32 @rdtsc_markerStartRegion(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fake_call(...) #1 declare i32 @rdtsc_markerStopRegion(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/tmpf2g8ufdi.c' source_filename = "/tmp/tmpf2g8ufdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @is_name2_prefix(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [2048 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %25, label %15 15: ; preds = %9, %2 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %24 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %25, label %24 24: ; preds = %18, %15 store i8 1, ptr %3, align 1 br label %73 25: ; preds = %18, %9 %26 = load ptr, ptr %4, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %43 28: ; preds = %25 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 0 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %43 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %43 37: ; preds = %34 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 0 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 0 br i1 %42, label %44, label %43 43: ; preds = %37, %34, %28, %25 store i8 0, ptr %3, align 1 br label %73 44: ; preds = %37 br label %45 45: ; preds = %71, %44 %46 = load ptr, ptr %5, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %54 48: ; preds = %45 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 0 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %52, 0 br label %54 54: ; preds = %48, %45 %55 = phi i1 [ false, %45 ], [ %53, %48 ] br i1 %55, label %56, label %72 56: ; preds = %54 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %59 = call ptr @one_argument2(ptr noundef %57, ptr noundef %58) store ptr %59, ptr %5, align 8 %60 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %61 = load i8, ptr %60, align 16 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %62, 0 br i1 %63, label %65, label %64 64: ; preds = %56 store i8 0, ptr %3, align 1 br label %73 65: ; preds = %56 %66 = load ptr, ptr %4, align 8 %67 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %68 = call i32 @str_prefix(ptr noundef %66, ptr noundef %67) %69 = icmp ne i32 %68, 0 br i1 %69, label %71, label %70 70: ; preds = %65 store i8 1, ptr %3, align 1 br label %73 71: ; preds = %65 br label %45, !llvm.loop !6 72: ; preds = %54 store i8 0, ptr %3, align 1 br label %73 73: ; preds = %72, %70, %64, %43, %24 %74 = load i8, ptr %3, align 1 ret i8 %74 } declare ptr @one_argument2(ptr noundef, ptr noundef) #1 declare i32 @str_prefix(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/tmpf2g8ufdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @is_name2_prefix(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [2048 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %25, label %15 15: ; preds = %9, %2 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %24 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %25, label %24 24: ; preds = %18, %15 store i8 1, ptr %3, align 1 br label %72 25: ; preds = %18, %9 %26 = load ptr, ptr %4, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %43 28: ; preds = %25 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 0 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %43 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %43 37: ; preds = %34 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 0 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 0 br i1 %42, label %44, label %43 43: ; preds = %37, %34, %28, %25 store i8 0, ptr %3, align 1 br label %72 44: ; preds = %37 br label %45 45: ; preds = %65, %44 %46 = load ptr, ptr %5, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %54 48: ; preds = %45 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 0 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %52, 0 br label %54 54: ; preds = %48, %45 %55 = phi i1 [ false, %45 ], [ %53, %48 ] br i1 %55, label %56, label %71 56: ; preds = %54 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %59 = call ptr @one_argument2(ptr noundef %57, ptr noundef %58) store ptr %59, ptr %5, align 8 %60 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %61 = load i8, ptr %60, align 16 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %62, 0 br i1 %63, label %65, label %64 64: ; preds = %56 store i8 0, ptr %3, align 1 br label %72 65: ; preds = %56 %66 = load ptr, ptr %4, align 8 %67 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %68 = call i32 @str_prefix(ptr noundef %66, ptr noundef %67) %69 = icmp ne i32 %68, 0 br i1 %69, label %45, label %70, !llvm.loop !6 70: ; preds = %65 store i8 1, ptr %3, align 1 br label %72 71: ; preds = %54 store i8 0, ptr %3, align 1 br label %72 72: ; preds = %71, %70, %64, %43, %24 %73 = load i8, ptr %3, align 1 ret i8 %73 } declare ptr @one_argument2(ptr noundef, ptr noundef) #1 declare i32 @str_prefix(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/tmpoxry5w5g.c' source_filename = "/tmp/tmpoxry5w5g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %6 6: ; preds = %30, %0 %7 = load i32, ptr %3, align 4 %8 = icmp sle i32 %7, 100 br i1 %8, label %9, label %33 9: ; preds = %6 store i32 0, ptr %5, align 4 store i32 1, ptr %4, align 4 br label %10 10: ; preds = %19, %9 %11 = load i32, ptr %4, align 4 %12 = icmp sle i32 %11, 100 br i1 %12, label %13, label %22 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %14, %15 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, %16 store i32 %18, ptr %5, align 4 br label %19 19: ; preds = %13 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 br label %10, !llvm.loop !6 22: ; preds = %10 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = mul nsw i32 %24, %25 %27 = sub nsw i32 %23, %26 %28 = load i32, ptr %2, align 4 %29 = add nsw i32 %28, %27 store i32 %29, ptr %2, align 4 br label %30 30: ; preds = %22 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 br label %6, !llvm.loop !8 33: ; preds = %6 %34 = load i32, ptr %2, align 4 %35 = call i32 @printf(ptr noundef @.str, i32 noundef %34) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoxry5w5g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sle i32 %6, 100 br i1 %7, label %.lr.ph2, label %35 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %30 store i32 0, ptr %5, align 4 store i32 1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %9, 100 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %17 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = mul nsw i32 %12, %13 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %5, align 4 br label %17 17: ; preds = %11 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp sle i32 %20, 100 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %8 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = mul nsw i32 %24, %25 %27 = sub nsw i32 %23, %26 %28 = load i32, ptr %2, align 4 %29 = add nsw i32 %28, %27 store i32 %29, ptr %2, align 4 br label %30 30: ; preds = %22 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp sle i32 %33, 100 br i1 %34, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %35 35: ; preds = %._crit_edge3, %0 %36 = load i32, ptr %2, align 4 %37 = call i32 @printf(ptr noundef @.str, i32 noundef %36) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpc4c81e7c.c' source_filename = "/tmp/tmpc4c81e7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @y_memdup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call ptr @malloc(i32 noundef %6) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = call i32 @bcopy(ptr noundef %11, ptr noundef %12, i32 noundef %13) br label %15 15: ; preds = %10, %2 %16 = load ptr, ptr %5, align 8 ret ptr %16 } declare ptr @malloc(i32 noundef) #1 declare i32 @bcopy(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/tmpc4c81e7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @y_memdup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call ptr @malloc(i32 noundef %6) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = call i32 @bcopy(ptr noundef %11, ptr noundef %12, i32 noundef %13) br label %15 15: ; preds = %10, %2 %16 = load ptr, ptr %5, align 8 ret ptr %16 } declare ptr @malloc(i32 noundef) #1 declare i32 @bcopy(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/tmp0_aech_n.c' source_filename = "/tmp/tmp0_aech_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"9 + (3 - 1) * 5 + 8 / 2 = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"931-5*+82/+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @compute(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @compute(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/tmp0_aech_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"9 + (3 - 1) * 5 + 8 / 2 = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"931-5*+82/+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @compute(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @compute(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd_1cj4dj.c' source_filename = "/tmp/tmpd_1cj4dj.c" target datalayout = "e-m:e-p270: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/tmpd_1cj4dj.c" target datalayout = "e-m:e-p270: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/tmpq8qr9pjr.c' source_filename = "/tmp/tmpq8qr9pjr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [8 x i8] c"crvd:f:\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global i8 0, align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"Option -%c requires path to binary.\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Unknown option `-%c'.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Unknown option character `\\x%x'.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [40 x i8] c"%s: -d <dev> [-c | -r | -v] [-f <bin>]\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"\09-r : load to ram\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"\09-v : verify flash after write\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"\09-c : clear flash\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [19 x i8] c"Failed opening %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"Failed setting attributes of %s\0A\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"Erasing flash...\0A\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"E\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c"Erasing done. Read %c\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [32 x i8] c"Error: No flash file specified\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [2 x i8] c"R\00", align 1 @.str.15 = private unnamed_addr constant [2 x i8] c"V\00", align 1 @.str.16 = private unnamed_addr constant [2 x i8] c"F\00", align 1 @.str.17 = private unnamed_addr constant [39 x i8] c"Phase 1: Mojo didn't respond. Read %c\0A\00", align 1 @.str.18 = private unnamed_addr constant [39 x i8] c"Phase 2: Mojo didn't respond. Read %c\0A\00", align 1 @.str.19 = private unnamed_addr constant [23 x i8] c"Error loading file %s\0A\00", align 1 @.str.20 = private unnamed_addr constant [39 x i8] c"Phase 3: Mojo didn't respond. Read %c\0A\00", align 1 @.str.21 = private unnamed_addr constant [13 x i8] c"Verifying...\00", align 1 @.str.22 = private unnamed_addr constant [2 x i8] c"S\00", align 1 @.str.23 = private unnamed_addr constant [52 x i8] c"Failed. Mojo didn't not send valid header. Read %c\0A\00", align 1 @.str.24 = private unnamed_addr constant [33 x i8] c"Failed. Size mismatch. %d vs %d\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.25 = private unnamed_addr constant [59 x i8] c"Failed. Data mismatch. Got %02x expected %02x @ offset %d\0A\00", align 1 @.str.26 = private unnamed_addr constant [4 x i8] c"OK\0A\00", align 1 @.str.27 = private unnamed_addr constant [2 x i8] c"L\00", align 1 @.str.28 = private unnamed_addr constant [39 x i8] c"Phase 4: Mojo didn't respond. Read %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca [256 x i8], align 16 %17 = alloca [4 x i8], align 1 %18 = alloca %struct.stat, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca [256 x i8], align 16 %25 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %9, align 4 store ptr null, ptr %11, align 8 store ptr null, ptr %12, align 8 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %26 26: ; preds = %79, %2 %27 = load i32, ptr %4, align 4 %28 = load ptr, ptr %5, align 8 %29 = call i32 @getopt(i32 noundef %27, ptr noundef %28, ptr noundef @.str) store i32 %29, ptr %6, align 4 %30 = icmp ne i32 %29, -1 br i1 %30, label %31, label %80 31: ; preds = %26 %32 = load i32, ptr %6, align 4 switch i32 %32, label %66 [ i32 99, label %33 i32 100, label %34 i32 102, label %36 i32 114, label %38 i32 118, label %39 i32 63, label %40 ] 33: ; preds = %31 store i32 1, ptr %13, align 4 br label %79 34: ; preds = %31 %35 = load ptr, ptr @optarg, align 8 store ptr %35, ptr %11, align 8 br label %79 36: ; preds = %31 %37 = load ptr, ptr @optarg, align 8 store ptr %37, ptr %12, align 8 br label %79 38: ; preds = %31 store i32 1, ptr %15, align 4 br label %79 39: ; preds = %31 store i32 1, ptr %14, align 4 br label %79 40: ; preds = %31 %41 = load i8, ptr @optopt, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 99 br i1 %43, label %44, label %49 44: ; preds = %40 %45 = load i32, ptr @stderr, align 4 %46 = load i8, ptr @optopt, align 1 %47 = sext i8 %46 to i32 %48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.1, i32 noundef %47) br label %64 49: ; preds = %40 %50 = load i8, ptr @optopt, align 1 %51 = call i32 @isprint(i8 noundef signext %50) %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %58 53: ; preds = %49 %54 = load i32, ptr @stderr, align 4 %55 = load i8, ptr @optopt, align 1 %56 = sext i8 %55 to i32 %57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.2, i32 noundef %56) br label %63 58: ; preds = %49 %59 = load i32, ptr @stderr, align 4 %60 = load i8, ptr @optopt, align 1 %61 = sext i8 %60 to i32 %62 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.3, i32 noundef %61) br label %63 63: ; preds = %58, %53 br label %64 64: ; preds = %63, %44 %65 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %65, ptr %3, align 4 br label %437 66: ; preds = %31 %67 = load i32, ptr @stderr, align 4 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds ptr, ptr %68, i64 0 %70 = load ptr, ptr %69, align 8 %71 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %67, ptr noundef @.str.4, ptr noundef %70) %72 = load i32, ptr @stderr, align 4 %73 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.5) %74 = load i32, ptr @stderr, align 4 %75 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %74, ptr noundef @.str.6) %76 = load i32, ptr @stderr, align 4 %77 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.7) %78 = call i32 (...) @abort() #3 unreachable 79: ; preds = %39, %38, %36, %34, %33 br label %26, !llvm.loop !6 80: ; preds = %26 %81 = load ptr, ptr %11, align 8 %82 = icmp ne ptr %81, null br i1 %82, label %96, label %83 83: ; preds = %80 %84 = load i32, ptr @stderr, align 4 %85 = load ptr, ptr %5, align 8 %86 = getelementptr inbounds ptr, ptr %85, i64 0 %87 = load ptr, ptr %86, align 8 %88 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.4, ptr noundef %87) %89 = load i32, ptr @stderr, align 4 %90 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %89, ptr noundef @.str.5) %91 = load i32, ptr @stderr, align 4 %92 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %91, ptr noundef @.str.6) %93 = load i32, ptr @stderr, align 4 %94 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %93, ptr noundef @.str.7) %95 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %95, ptr %3, align 4 br label %437 96: ; preds = %80 %97 = load ptr, ptr %11, align 8 %98 = load i32, ptr @O_RDWR, align 4 %99 = load i32, ptr @O_NOCTTY, align 4 %100 = or i32 %98, %99 %101 = load i32, ptr @O_SYNC, align 4 %102 = or i32 %100, %101 %103 = call i32 @open(ptr noundef %97, i32 noundef %102) store i32 %103, ptr %7, align 4 %104 = icmp slt i32 %103, 0 br i1 %104, label %105, label %110 105: ; preds = %96 %106 = load i32, ptr @stderr, align 4 %107 = load ptr, ptr %11, align 8 %108 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %106, ptr noundef @.str.8, ptr noundef %107) %109 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %109, ptr %3, align 4 br label %437 110: ; preds = %96 %111 = load i32, ptr %7, align 4 %112 = call i64 @setup_serial(i32 noundef %111) %113 = icmp ne i64 %112, 0 br i1 %113, label %114, label %119 114: ; preds = %110 %115 = load i32, ptr @stderr, align 4 %116 = load ptr, ptr %11, align 8 %117 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %115, ptr noundef @.str.9, ptr noundef %116) %118 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %118, ptr %3, align 4 br label %437 119: ; preds = %110 %120 = load i32, ptr %7, align 4 %121 = call i32 @restart_mojo(i32 noundef %120) %122 = load i32, ptr %15, align 4 %123 = icmp ne i32 %122, 0 br i1 %123, label %149, label %124 124: ; preds = %119 %125 = load i32, ptr %13, align 4 %126 = icmp ne i32 %125, 0 br i1 %126, label %127, label %149 127: ; preds = %124 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %129 = load i32, ptr %7, align 4 %130 = call i32 @write(i32 noundef %129, ptr noundef @.str.11, i32 noundef 1) %131 = load i32, ptr %7, align 4 %132 = call i32 @wait_for_fd(i32 noundef %131, i32 noundef 0) %133 = load i32, ptr %7, align 4 %134 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %135 = call i32 @read(i32 noundef %133, ptr noundef %134, i32 noundef 1) %136 = icmp eq i32 %135, 1 br i1 %136, label %137, label %147 137: ; preds = %127 %138 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %139 = load i8, ptr %138, align 16 %140 = sext i8 %139 to i32 %141 = icmp eq i32 %140, 68 br i1 %141, label %142, label %147 142: ; preds = %137 %143 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %144 = load i8, ptr %143, align 16 %145 = sext i8 %144 to i32 %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %145) br label %147 147: ; preds = %142, %137, %127 %148 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %148, ptr %3, align 4 br label %437 149: ; preds = %124, %119 %150 = load ptr, ptr %12, align 8 %151 = icmp ne ptr %150, null br i1 %151, label %156, label %152 152: ; preds = %149 %153 = load i32, ptr @stderr, align 4 %154 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %153, ptr noundef @.str.13) %155 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %155, ptr %3, align 4 br label %437 156: ; preds = %149 %157 = load ptr, ptr %12, align 8 %158 = load i32, ptr @O_RDONLY, align 4 %159 = call i32 @open(ptr noundef %157, i32 noundef %158) store i32 %159, ptr %8, align 4 %160 = icmp slt i32 %159, 0 br i1 %160, label %165, label %161 161: ; preds = %156 %162 = load ptr, ptr %12, align 8 %163 = call i32 @stat(ptr noundef %162, ptr noundef %18) %164 = icmp eq i32 %163, -1 br i1 %164, label %165, label %170 165: ; preds = %161, %156 %166 = load i32, ptr @stderr, align 4 %167 = load ptr, ptr %12, align 8 %168 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %166, ptr noundef @.str.8, ptr noundef %167) %169 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %169, ptr %3, align 4 br label %437 170: ; preds = %161 %171 = load i32, ptr %7, align 4 %172 = load i32, ptr %15, align 4 %173 = icmp ne i32 %172, 0 br i1 %173, label %174, label %175 174: ; preds = %170 br label %180 175: ; preds = %170 %176 = load i32, ptr %14, align 4 %177 = icmp ne i32 %176, 0 %178 = zext i1 %177 to i64 %179 = select i1 %177, ptr @.str.15, ptr @.str.16 br label %180 180: ; preds = %175, %174 %181 = phi ptr [ @.str.14, %174 ], [ %179, %175 ] %182 = call i32 @write(i32 noundef %171, ptr noundef %181, i32 noundef 1) %183 = load i32, ptr %7, align 4 %184 = call i32 @wait_for_fd(i32 noundef %183, i32 noundef 0) %185 = load i32, ptr %7, align 4 %186 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %187 = call i32 @read(i32 noundef %185, ptr noundef %186, i32 noundef 1) %188 = icmp ne i32 %187, 1 br i1 %188, label %194, label %189 189: ; preds = %180 %190 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %191 = load i8, ptr %190, align 16 %192 = sext i8 %191 to i32 %193 = icmp ne i32 %192, 82 br i1 %193, label %194, label %200 194: ; preds = %189, %180 %195 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %196 = load i8, ptr %195, align 16 %197 = sext i8 %196 to i32 %198 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %197) %199 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %199, ptr %3, align 4 br label %437 200: ; preds = %189 store i32 0, ptr %19, align 4 br label %201 201: ; preds = %215, %200 %202 = load i32, ptr %19, align 4 %203 = icmp slt i32 %202, 4 br i1 %203, label %204, label %218 204: ; preds = %201 %205 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 0 %206 = load i32, ptr %205, align 4 %207 = load i32, ptr %19, align 4 %208 = mul nsw i32 %207, 8 %209 = ashr i32 %206, %208 %210 = and i32 %209, 255 %211 = trunc i32 %210 to i8 %212 = load i32, ptr %19, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds [4 x i8], ptr %17, i64 0, i64 %213 store i8 %211, ptr %214, align 1 br label %215 215: ; preds = %204 %216 = load i32, ptr %19, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %19, align 4 br label %201, !llvm.loop !8 218: ; preds = %201 %219 = load i32, ptr %7, align 4 %220 = getelementptr inbounds [4 x i8], ptr %17, i64 0, i64 0 %221 = call i32 @write(i32 noundef %219, ptr noundef %220, i32 noundef 4) %222 = load i32, ptr %7, align 4 %223 = call i32 @wait_for_fd(i32 noundef %222, i32 noundef 0) %224 = load i32, ptr %7, align 4 %225 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %226 = call i32 @read(i32 noundef %224, ptr noundef %225, i32 noundef 1) %227 = icmp ne i32 %226, 1 br i1 %227, label %233, label %228 228: ; preds = %218 %229 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %230 = load i8, ptr %229, align 16 %231 = sext i8 %230 to i32 %232 = icmp ne i32 %231, 79 br i1 %232, label %233, label %239 233: ; preds = %228, %218 %234 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %235 = load i8, ptr %234, align 16 %236 = sext i8 %235 to i32 %237 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %236) %238 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %238, ptr %3, align 4 br label %437 239: ; preds = %228 br label %240 240: ; preds = %257, %239 %241 = load i32, ptr %8, align 4 %242 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %243 = call i32 @read(i32 noundef %241, ptr noundef %242, i32 noundef 256) store i32 %243, ptr %10, align 4 %244 = icmp sgt i32 %243, 0 br i1 %244, label %245, label %258 245: ; preds = %240 %246 = load i32, ptr %7, align 4 %247 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %248 = load i32, ptr %10, align 4 %249 = call i32 @write(i32 noundef %246, ptr noundef %247, i32 noundef %248) %250 = load i32, ptr %10, align 4 %251 = icmp ne i32 %249, %250 br i1 %251, label %252, label %257 252: ; preds = %245 %253 = load i32, ptr @stderr, align 4 %254 = load ptr, ptr %12, align 8 %255 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %253, ptr noundef @.str.19, ptr noundef %254) %256 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %256, ptr %3, align 4 br label %437 257: ; preds = %245 br label %240, !llvm.loop !9 258: ; preds = %240 %259 = load i32, ptr %7, align 4 %260 = call i32 @wait_for_fd(i32 noundef %259, i32 noundef 0) %261 = load i32, ptr %7, align 4 %262 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %263 = call i32 @read(i32 noundef %261, ptr noundef %262, i32 noundef 1) %264 = icmp ne i32 %263, 1 br i1 %264, label %270, label %265 265: ; preds = %258 %266 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %267 = load i8, ptr %266, align 16 %268 = sext i8 %267 to i32 %269 = icmp ne i32 %268, 68 br i1 %269, label %270, label %276 270: ; preds = %265, %258 %271 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %272 = load i8, ptr %271, align 16 %273 = sext i8 %272 to i32 %274 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %273) %275 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %275, ptr %3, align 4 br label %437 276: ; preds = %265 %277 = load i32, ptr %15, align 4 %278 = icmp ne i32 %277, 0 br i1 %278, label %415, label %279 279: ; preds = %276 %280 = load i32, ptr %14, align 4 %281 = icmp ne i32 %280, 0 br i1 %281, label %282, label %415 282: ; preds = %279 %283 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %284 = load i32, ptr %7, align 4 %285 = call i32 @write(i32 noundef %284, ptr noundef @.str.22, i32 noundef 1) %286 = load i32, ptr %7, align 4 %287 = call i32 @wait_for_fd(i32 noundef %286, i32 noundef 0) %288 = load i32, ptr %7, align 4 %289 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %290 = call i32 @read(i32 noundef %288, ptr noundef %289, i32 noundef 5) %291 = icmp ne i32 %290, 5 br i1 %291, label %297, label %292 292: ; preds = %282 %293 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %294 = load i8, ptr %293, align 16 %295 = sext i8 %294 to i32 %296 = icmp ne i32 %295, -86 br i1 %296, label %297, label %303 297: ; preds = %292, %282 %298 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %299 = load i8, ptr %298, align 16 %300 = sext i8 %299 to i32 %301 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %300) %302 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %302, ptr %3, align 4 br label %437 303: ; preds = %292 store i32 0, ptr %20, align 4 br label %304 304: ; preds = %320, %303 %305 = load i32, ptr %20, align 4 %306 = icmp slt i32 %305, 4 br i1 %306, label %307, label %323 307: ; preds = %304 %308 = load i32, ptr %20, align 4 %309 = add nsw i32 %308, 1 %310 = sext i32 %309 to i64 %311 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 %310 %312 = load i8, ptr %311, align 1 %313 = sext i8 %312 to i32 %314 = and i32 %313, 255 %315 = load i32, ptr %20, align 4 %316 = mul nsw i32 %315, 8 %317 = shl i32 %314, %316 %318 = load i32, ptr %9, align 4 %319 = or i32 %318, %317 store i32 %319, ptr %9, align 4 br label %320 320: ; preds = %307 %321 = load i32, ptr %20, align 4 %322 = add nsw i32 %321, 1 store i32 %322, ptr %20, align 4 br label %304, !llvm.loop !10 323: ; preds = %304 %324 = load i32, ptr %9, align 4 %325 = sub nsw i32 %324, 5 %326 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 0 %327 = load i32, ptr %326, align 4 %328 = icmp ne i32 %325, %327 br i1 %328, label %329, label %336 329: ; preds = %323 %330 = load i32, ptr %9, align 4 %331 = sub nsw i32 %330, 5 %332 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 0 %333 = load i32, ptr %332, align 4 %334 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, i32 noundef %331, i32 noundef %333) %335 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %335, ptr %3, align 4 br label %437 336: ; preds = %323 %337 = load i32, ptr %8, align 4 %338 = load i32, ptr @SEEK_SET, align 4 %339 = call i32 @lseek(i32 noundef %337, i32 noundef 0, i32 noundef %338) %340 = load i32, ptr %9, align 4 %341 = sub nsw i32 %340, 5 store i32 %341, ptr %21, align 4 %342 = load i32, ptr %21, align 4 %343 = icmp sgt i32 %342, 256 br i1 %343, label %344, label %345 344: ; preds = %336 br label %347 345: ; preds = %336 %346 = load i32, ptr %21, align 4 br label %347 347: ; preds = %345, %344 %348 = phi i32 [ 256, %344 ], [ %346, %345 ] store i32 %348, ptr %22, align 4 store i32 1, ptr %23, align 4 %349 = load i32, ptr %7, align 4 %350 = call i32 @wait_for_fd(i32 noundef %349, i32 noundef 0) br label %351 351: ; preds = %410, %347 %352 = load i32, ptr %7, align 4 %353 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %354 = load i32, ptr %22, align 4 %355 = call i32 @read(i32 noundef %352, ptr noundef %353, i32 noundef %354) store i32 %355, ptr %10, align 4 %356 = icmp sgt i32 %355, 0 br i1 %356, label %357, label %413 357: ; preds = %351 %358 = load i32, ptr %10, align 4 %359 = load i32, ptr %21, align 4 %360 = sub nsw i32 %359, %358 store i32 %360, ptr %21, align 4 %361 = load i32, ptr %21, align 4 %362 = icmp sgt i32 %361, 256 br i1 %362, label %363, label %364 363: ; preds = %357 br label %366 364: ; preds = %357 %365 = load i32, ptr %21, align 4 br label %366 366: ; preds = %364, %363 %367 = phi i32 [ 256, %363 ], [ %365, %364 ] store i32 %367, ptr %22, align 4 %368 = load i32, ptr %8, align 4 %369 = call i32 @wait_for_fd(i32 noundef %368, i32 noundef 0) %370 = load i32, ptr %8, align 4 %371 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0 %372 = load i32, ptr %10, align 4 %373 = call i32 @read(i32 noundef %370, ptr noundef %371, i32 noundef %372) store i32 0, ptr %25, align 4 br label %374 374: ; preds = %405, %366 %375 = load i32, ptr %25, align 4 %376 = load i32, ptr %10, align 4 %377 = icmp slt i32 %375, %376 br i1 %377, label %378, label %410 378: ; preds = %374 %379 = load i32, ptr %25, align 4 %380 = sext i32 %379 to i64 %381 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 %380 %382 = load i8, ptr %381, align 1 %383 = sext i8 %382 to i32 %384 = load i32, ptr %25, align 4 %385 = sext i32 %384 to i64 %386 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 %385 %387 = load i8, ptr %386, align 1 %388 = sext i8 %387 to i32 %389 = icmp ne i32 %383, %388 br i1 %389, label %390, label %404 390: ; preds = %378 %391 = load i32, ptr %25, align 4 %392 = sext i32 %391 to i64 %393 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 %392 %394 = load i8, ptr %393, align 1 %395 = sext i8 %394 to i32 %396 = load i32, ptr %25, align 4 %397 = sext i32 %396 to i64 %398 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 %397 %399 = load i8, ptr %398, align 1 %400 = sext i8 %399 to i32 %401 = load i32, ptr %23, align 4 %402 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %395, i32 noundef %400, i32 noundef %401) %403 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %403, ptr %3, align 4 br label %437 404: ; preds = %378 br label %405 405: ; preds = %404 %406 = load i32, ptr %25, align 4 %407 = add nsw i32 %406, 1 store i32 %407, ptr %25, align 4 %408 = load i32, ptr %23, align 4 %409 = add nsw i32 %408, 1 store i32 %409, ptr %23, align 4 br label %374, !llvm.loop !11 410: ; preds = %374 %411 = load i32, ptr %7, align 4 %412 = call i32 @wait_for_fd(i32 noundef %411, i32 noundef 0) br label %351, !llvm.loop !12 413: ; preds = %351 %414 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) br label %415 415: ; preds = %413, %279, %276 %416 = load i32, ptr %7, align 4 %417 = call i32 @write(i32 noundef %416, ptr noundef @.str.27, i32 noundef 1) %418 = load i32, ptr %7, align 4 %419 = call i32 @wait_for_fd(i32 noundef %418, i32 noundef 0) %420 = load i32, ptr %7, align 4 %421 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %422 = call i32 @read(i32 noundef %420, ptr noundef %421, i32 noundef 1) %423 = icmp ne i32 %422, 1 br i1 %423, label %429, label %424 424: ; preds = %415 %425 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %426 = load i8, ptr %425, align 16 %427 = sext i8 %426 to i32 %428 = icmp ne i32 %427, 68 br i1 %428, label %429, label %435 429: ; preds = %424, %415 %430 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %431 = load i8, ptr %430, align 16 %432 = sext i8 %431 to i32 %433 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, i32 noundef %432) %434 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %434, ptr %3, align 4 br label %437 435: ; preds = %424 %436 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %436, ptr %3, align 4 br label %437 437: ; preds = %435, %429, %390, %329, %297, %270, %252, %233, %194, %165, %152, %147, %114, %105, %83, %64 %438 = load i32, ptr %3, align 4 ret i32 %438 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @isprint(i8 noundef signext) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @setup_serial(i32 noundef) #1 declare i32 @restart_mojo(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @wait_for_fd(i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @lseek(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq8qr9pjr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [8 x i8] c"crvd:f:\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global i8 0, align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"Option -%c requires path to binary.\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Unknown option `-%c'.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Unknown option character `\\x%x'.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [40 x i8] c"%s: -d <dev> [-c | -r | -v] [-f <bin>]\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"\09-r : load to ram\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"\09-v : verify flash after write\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"\09-c : clear flash\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [19 x i8] c"Failed opening %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"Failed setting attributes of %s\0A\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"Erasing flash...\0A\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"E\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c"Erasing done. Read %c\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [32 x i8] c"Error: No flash file specified\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [2 x i8] c"R\00", align 1 @.str.15 = private unnamed_addr constant [2 x i8] c"V\00", align 1 @.str.16 = private unnamed_addr constant [2 x i8] c"F\00", align 1 @.str.17 = private unnamed_addr constant [39 x i8] c"Phase 1: Mojo didn't respond. Read %c\0A\00", align 1 @.str.18 = private unnamed_addr constant [39 x i8] c"Phase 2: Mojo didn't respond. Read %c\0A\00", align 1 @.str.19 = private unnamed_addr constant [23 x i8] c"Error loading file %s\0A\00", align 1 @.str.20 = private unnamed_addr constant [39 x i8] c"Phase 3: Mojo didn't respond. Read %c\0A\00", align 1 @.str.21 = private unnamed_addr constant [13 x i8] c"Verifying...\00", align 1 @.str.22 = private unnamed_addr constant [2 x i8] c"S\00", align 1 @.str.23 = private unnamed_addr constant [52 x i8] c"Failed. Mojo didn't not send valid header. Read %c\0A\00", align 1 @.str.24 = private unnamed_addr constant [33 x i8] c"Failed. Size mismatch. %d vs %d\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.25 = private unnamed_addr constant [59 x i8] c"Failed. Data mismatch. Got %02x expected %02x @ offset %d\0A\00", align 1 @.str.26 = private unnamed_addr constant [4 x i8] c"OK\0A\00", align 1 @.str.27 = private unnamed_addr constant [2 x i8] c"L\00", align 1 @.str.28 = private unnamed_addr constant [39 x i8] c"Phase 4: Mojo didn't respond. Read %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca [256 x i8], align 16 %17 = alloca [4 x i8], align 1 %18 = alloca %struct.stat, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca [256 x i8], align 16 %25 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %9, align 4 store ptr null, ptr %11, align 8 store ptr null, ptr %12, align 8 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %26 = load i32, ptr %4, align 4 %27 = load ptr, ptr %5, align 8 %28 = call i32 @getopt(i32 noundef %26, ptr noundef %27, ptr noundef @.str) store i32 %28, ptr %6, align 4 %29 = icmp ne i32 %28, -1 br i1 %29, label %.lr.ph, label %83 .lr.ph: ; preds = %2 br label %30 30: ; preds = %.lr.ph, %78 %31 = load i32, ptr %6, align 4 switch i32 %31, label %65 [ i32 99, label %32 i32 100, label %33 i32 102, label %35 i32 114, label %37 i32 118, label %38 i32 63, label %39 ] 32: ; preds = %30 store i32 1, ptr %13, align 4 br label %78 33: ; preds = %30 %34 = load ptr, ptr @optarg, align 8 store ptr %34, ptr %11, align 8 br label %78 35: ; preds = %30 %36 = load ptr, ptr @optarg, align 8 store ptr %36, ptr %12, align 8 br label %78 37: ; preds = %30 store i32 1, ptr %15, align 4 br label %78 38: ; preds = %30 store i32 1, ptr %14, align 4 br label %78 39: ; preds = %30 %40 = load i8, ptr @optopt, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 99 br i1 %42, label %43, label %48 43: ; preds = %39 %44 = load i32, ptr @stderr, align 4 %45 = load i8, ptr @optopt, align 1 %46 = sext i8 %45 to i32 %47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.1, i32 noundef %46) br label %63 48: ; preds = %39 %49 = load i8, ptr @optopt, align 1 %50 = call i32 @isprint(i8 noundef signext %49) %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %48 %53 = load i32, ptr @stderr, align 4 %54 = load i8, ptr @optopt, align 1 %55 = sext i8 %54 to i32 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.2, i32 noundef %55) br label %62 57: ; preds = %48 %58 = load i32, ptr @stderr, align 4 %59 = load i8, ptr @optopt, align 1 %60 = sext i8 %59 to i32 %61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.3, i32 noundef %60) br label %62 62: ; preds = %57, %52 br label %63 63: ; preds = %62, %43 %64 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %64, ptr %3, align 4 br label %449 65: ; preds = %30 %66 = load i32, ptr @stderr, align 4 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds ptr, ptr %67, i64 0 %69 = load ptr, ptr %68, align 8 %70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %66, ptr noundef @.str.4, ptr noundef %69) %71 = load i32, ptr @stderr, align 4 %72 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %71, ptr noundef @.str.5) %73 = load i32, ptr @stderr, align 4 %74 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %73, ptr noundef @.str.6) %75 = load i32, ptr @stderr, align 4 %76 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %75, ptr noundef @.str.7) %77 = call i32 (...) @abort() #3 unreachable 78: ; preds = %38, %37, %35, %33, %32 %79 = load i32, ptr %4, align 4 %80 = load ptr, ptr %5, align 8 %81 = call i32 @getopt(i32 noundef %79, ptr noundef %80, ptr noundef @.str) store i32 %81, ptr %6, align 4 %82 = icmp ne i32 %81, -1 br i1 %82, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %78 br label %83 83: ; preds = %._crit_edge, %2 %84 = load ptr, ptr %11, align 8 %85 = icmp ne ptr %84, null br i1 %85, label %99, label %86 86: ; preds = %83 %87 = load i32, ptr @stderr, align 4 %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds ptr, ptr %88, i64 0 %90 = load ptr, ptr %89, align 8 %91 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.4, ptr noundef %90) %92 = load i32, ptr @stderr, align 4 %93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %92, ptr noundef @.str.5) %94 = load i32, ptr @stderr, align 4 %95 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.6) %96 = load i32, ptr @stderr, align 4 %97 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.7) %98 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %98, ptr %3, align 4 br label %449 99: ; preds = %83 %100 = load ptr, ptr %11, align 8 %101 = load i32, ptr @O_RDWR, align 4 %102 = load i32, ptr @O_NOCTTY, align 4 %103 = or i32 %101, %102 %104 = load i32, ptr @O_SYNC, align 4 %105 = or i32 %103, %104 %106 = call i32 @open(ptr noundef %100, i32 noundef %105) store i32 %106, ptr %7, align 4 %107 = icmp slt i32 %106, 0 br i1 %107, label %108, label %113 108: ; preds = %99 %109 = load i32, ptr @stderr, align 4 %110 = load ptr, ptr %11, align 8 %111 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %109, ptr noundef @.str.8, ptr noundef %110) %112 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %112, ptr %3, align 4 br label %449 113: ; preds = %99 %114 = load i32, ptr %7, align 4 %115 = call i64 @setup_serial(i32 noundef %114) %116 = icmp ne i64 %115, 0 br i1 %116, label %117, label %122 117: ; preds = %113 %118 = load i32, ptr @stderr, align 4 %119 = load ptr, ptr %11, align 8 %120 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %118, ptr noundef @.str.9, ptr noundef %119) %121 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %121, ptr %3, align 4 br label %449 122: ; preds = %113 %123 = load i32, ptr %7, align 4 %124 = call i32 @restart_mojo(i32 noundef %123) %125 = load i32, ptr %15, align 4 %126 = icmp ne i32 %125, 0 br i1 %126, label %152, label %127 127: ; preds = %122 %128 = load i32, ptr %13, align 4 %129 = icmp ne i32 %128, 0 br i1 %129, label %130, label %152 130: ; preds = %127 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %132 = load i32, ptr %7, align 4 %133 = call i32 @write(i32 noundef %132, ptr noundef @.str.11, i32 noundef 1) %134 = load i32, ptr %7, align 4 %135 = call i32 @wait_for_fd(i32 noundef %134, i32 noundef 0) %136 = load i32, ptr %7, align 4 %137 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %138 = call i32 @read(i32 noundef %136, ptr noundef %137, i32 noundef 1) %139 = icmp eq i32 %138, 1 br i1 %139, label %140, label %150 140: ; preds = %130 %141 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %142 = load i8, ptr %141, align 16 %143 = sext i8 %142 to i32 %144 = icmp eq i32 %143, 68 br i1 %144, label %145, label %150 145: ; preds = %140 %146 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %147 = load i8, ptr %146, align 16 %148 = sext i8 %147 to i32 %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %148) br label %150 150: ; preds = %145, %140, %130 %151 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %151, ptr %3, align 4 br label %449 152: ; preds = %127, %122 %153 = load ptr, ptr %12, align 8 %154 = icmp ne ptr %153, null br i1 %154, label %159, label %155 155: ; preds = %152 %156 = load i32, ptr @stderr, align 4 %157 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %156, ptr noundef @.str.13) %158 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %158, ptr %3, align 4 br label %449 159: ; preds = %152 %160 = load ptr, ptr %12, align 8 %161 = load i32, ptr @O_RDONLY, align 4 %162 = call i32 @open(ptr noundef %160, i32 noundef %161) store i32 %162, ptr %8, align 4 %163 = icmp slt i32 %162, 0 br i1 %163, label %168, label %164 164: ; preds = %159 %165 = load ptr, ptr %12, align 8 %166 = call i32 @stat(ptr noundef %165, ptr noundef %18) %167 = icmp eq i32 %166, -1 br i1 %167, label %168, label %173 168: ; preds = %164, %159 %169 = load i32, ptr @stderr, align 4 %170 = load ptr, ptr %12, align 8 %171 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %169, ptr noundef @.str.8, ptr noundef %170) %172 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %172, ptr %3, align 4 br label %449 173: ; preds = %164 %174 = load i32, ptr %7, align 4 %175 = load i32, ptr %15, align 4 %176 = icmp ne i32 %175, 0 br i1 %176, label %177, label %178 177: ; preds = %173 br label %183 178: ; preds = %173 %179 = load i32, ptr %14, align 4 %180 = icmp ne i32 %179, 0 %181 = zext i1 %180 to i64 %182 = select i1 %180, ptr @.str.15, ptr @.str.16 br label %183 183: ; preds = %178, %177 %184 = phi ptr [ @.str.14, %177 ], [ %182, %178 ] %185 = call i32 @write(i32 noundef %174, ptr noundef %184, i32 noundef 1) %186 = load i32, ptr %7, align 4 %187 = call i32 @wait_for_fd(i32 noundef %186, i32 noundef 0) %188 = load i32, ptr %7, align 4 %189 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %190 = call i32 @read(i32 noundef %188, ptr noundef %189, i32 noundef 1) %191 = icmp ne i32 %190, 1 br i1 %191, label %197, label %192 192: ; preds = %183 %193 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %194 = load i8, ptr %193, align 16 %195 = sext i8 %194 to i32 %196 = icmp ne i32 %195, 82 br i1 %196, label %197, label %203 197: ; preds = %192, %183 %198 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %199 = load i8, ptr %198, align 16 %200 = sext i8 %199 to i32 %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %200) %202 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %202, ptr %3, align 4 br label %449 203: ; preds = %192 store i32 0, ptr %19, align 4 %204 = load i32, ptr %19, align 4 %205 = icmp slt i32 %204, 4 br i1 %205, label %.lr.ph2, label %222 .lr.ph2: ; preds = %203 br label %206 206: ; preds = %.lr.ph2, %217 %207 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 0 %208 = load i32, ptr %207, align 4 %209 = load i32, ptr %19, align 4 %210 = mul nsw i32 %209, 8 %211 = ashr i32 %208, %210 %212 = and i32 %211, 255 %213 = trunc i32 %212 to i8 %214 = load i32, ptr %19, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds [4 x i8], ptr %17, i64 0, i64 %215 store i8 %213, ptr %216, align 1 br label %217 217: ; preds = %206 %218 = load i32, ptr %19, align 4 %219 = add nsw i32 %218, 1 store i32 %219, ptr %19, align 4 %220 = load i32, ptr %19, align 4 %221 = icmp slt i32 %220, 4 br i1 %221, label %206, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %217 br label %222 222: ; preds = %._crit_edge3, %203 %223 = load i32, ptr %7, align 4 %224 = getelementptr inbounds [4 x i8], ptr %17, i64 0, i64 0 %225 = call i32 @write(i32 noundef %223, ptr noundef %224, i32 noundef 4) %226 = load i32, ptr %7, align 4 %227 = call i32 @wait_for_fd(i32 noundef %226, i32 noundef 0) %228 = load i32, ptr %7, align 4 %229 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %230 = call i32 @read(i32 noundef %228, ptr noundef %229, i32 noundef 1) %231 = icmp ne i32 %230, 1 br i1 %231, label %237, label %232 232: ; preds = %222 %233 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %234 = load i8, ptr %233, align 16 %235 = sext i8 %234 to i32 %236 = icmp ne i32 %235, 79 br i1 %236, label %237, label %243 237: ; preds = %232, %222 %238 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %239 = load i8, ptr %238, align 16 %240 = sext i8 %239 to i32 %241 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %240) %242 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %242, ptr %3, align 4 br label %449 243: ; preds = %232 %244 = load i32, ptr %8, align 4 %245 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %246 = call i32 @read(i32 noundef %244, ptr noundef %245, i32 noundef 256) store i32 %246, ptr %10, align 4 %247 = icmp sgt i32 %246, 0 br i1 %247, label %.lr.ph5, label %264 .lr.ph5: ; preds = %243 br label %252 248: ; preds = %252 %249 = load i32, ptr %8, align 4 %250 = call i32 @read(i32 noundef %249, ptr noundef %245, i32 noundef 256) store i32 %250, ptr %10, align 4 %251 = icmp sgt i32 %250, 0 br i1 %251, label %252, label %._crit_edge6, !llvm.loop !9 252: ; preds = %.lr.ph5, %248 %253 = load i32, ptr %7, align 4 %254 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %255 = load i32, ptr %10, align 4 %256 = call i32 @write(i32 noundef %253, ptr noundef %254, i32 noundef %255) %257 = load i32, ptr %10, align 4 %258 = icmp ne i32 %256, %257 br i1 %258, label %259, label %248 259: ; preds = %252 %260 = load i32, ptr @stderr, align 4 %261 = load ptr, ptr %12, align 8 %262 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %260, ptr noundef @.str.19, ptr noundef %261) %263 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %263, ptr %3, align 4 br label %449 ._crit_edge6: ; preds = %248 br label %264 264: ; preds = %._crit_edge6, %243 %265 = load i32, ptr %7, align 4 %266 = call i32 @wait_for_fd(i32 noundef %265, i32 noundef 0) %267 = load i32, ptr %7, align 4 %268 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %269 = call i32 @read(i32 noundef %267, ptr noundef %268, i32 noundef 1) %270 = icmp ne i32 %269, 1 br i1 %270, label %276, label %271 271: ; preds = %264 %272 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %273 = load i8, ptr %272, align 16 %274 = sext i8 %273 to i32 %275 = icmp ne i32 %274, 68 br i1 %275, label %276, label %282 276: ; preds = %271, %264 %277 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %278 = load i8, ptr %277, align 16 %279 = sext i8 %278 to i32 %280 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %279) %281 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %281, ptr %3, align 4 br label %449 282: ; preds = %271 %283 = load i32, ptr %15, align 4 %284 = icmp ne i32 %283, 0 br i1 %284, label %427, label %285 285: ; preds = %282 %286 = load i32, ptr %14, align 4 %287 = icmp ne i32 %286, 0 br i1 %287, label %288, label %427 288: ; preds = %285 %289 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %290 = load i32, ptr %7, align 4 %291 = call i32 @write(i32 noundef %290, ptr noundef @.str.22, i32 noundef 1) %292 = load i32, ptr %7, align 4 %293 = call i32 @wait_for_fd(i32 noundef %292, i32 noundef 0) %294 = load i32, ptr %7, align 4 %295 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %296 = call i32 @read(i32 noundef %294, ptr noundef %295, i32 noundef 5) %297 = icmp ne i32 %296, 5 br i1 %297, label %303, label %298 298: ; preds = %288 %299 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %300 = load i8, ptr %299, align 16 %301 = sext i8 %300 to i32 %302 = icmp ne i32 %301, -86 br i1 %302, label %303, label %309 303: ; preds = %298, %288 %304 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %305 = load i8, ptr %304, align 16 %306 = sext i8 %305 to i32 %307 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %306) %308 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %308, ptr %3, align 4 br label %449 309: ; preds = %298 store i32 0, ptr %20, align 4 %310 = load i32, ptr %20, align 4 %311 = icmp slt i32 %310, 4 br i1 %311, label %.lr.ph8, label %330 .lr.ph8: ; preds = %309 br label %312 312: ; preds = %.lr.ph8, %325 %313 = load i32, ptr %20, align 4 %314 = add nsw i32 %313, 1 %315 = sext i32 %314 to i64 %316 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 %315 %317 = load i8, ptr %316, align 1 %318 = sext i8 %317 to i32 %319 = and i32 %318, 255 %320 = load i32, ptr %20, align 4 %321 = mul nsw i32 %320, 8 %322 = shl i32 %319, %321 %323 = load i32, ptr %9, align 4 %324 = or i32 %323, %322 store i32 %324, ptr %9, align 4 br label %325 325: ; preds = %312 %326 = load i32, ptr %20, align 4 %327 = add nsw i32 %326, 1 store i32 %327, ptr %20, align 4 %328 = load i32, ptr %20, align 4 %329 = icmp slt i32 %328, 4 br i1 %329, label %312, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %325 br label %330 330: ; preds = %._crit_edge9, %309 %331 = load i32, ptr %9, align 4 %332 = sub nsw i32 %331, 5 %333 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 0 %334 = load i32, ptr %333, align 4 %335 = icmp ne i32 %332, %334 br i1 %335, label %336, label %343 336: ; preds = %330 %337 = load i32, ptr %9, align 4 %338 = sub nsw i32 %337, 5 %339 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 0 %340 = load i32, ptr %339, align 4 %341 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, i32 noundef %338, i32 noundef %340) %342 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %342, ptr %3, align 4 br label %449 343: ; preds = %330 %344 = load i32, ptr %8, align 4 %345 = load i32, ptr @SEEK_SET, align 4 %346 = call i32 @lseek(i32 noundef %344, i32 noundef 0, i32 noundef %345) %347 = load i32, ptr %9, align 4 %348 = sub nsw i32 %347, 5 store i32 %348, ptr %21, align 4 %349 = load i32, ptr %21, align 4 %350 = icmp sgt i32 %349, 256 br i1 %350, label %351, label %352 351: ; preds = %343 br label %354 352: ; preds = %343 %353 = load i32, ptr %21, align 4 br label %354 354: ; preds = %352, %351 %355 = phi i32 [ 256, %351 ], [ %353, %352 ] store i32 %355, ptr %22, align 4 store i32 1, ptr %23, align 4 %356 = load i32, ptr %7, align 4 %357 = call i32 @wait_for_fd(i32 noundef %356, i32 noundef 0) %358 = load i32, ptr %7, align 4 %359 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %360 = load i32, ptr %22, align 4 %361 = call i32 @read(i32 noundef %358, ptr noundef %359, i32 noundef %360) store i32 %361, ptr %10, align 4 %362 = icmp sgt i32 %361, 0 br i1 %362, label %.lr.ph14, label %425 .lr.ph14: ; preds = %354 br label %363 363: ; preds = %.lr.ph14, %418 %364 = load i32, ptr %10, align 4 %365 = load i32, ptr %21, align 4 %366 = sub nsw i32 %365, %364 store i32 %366, ptr %21, align 4 %367 = load i32, ptr %21, align 4 %368 = icmp sgt i32 %367, 256 br i1 %368, label %369, label %370 369: ; preds = %363 br label %372 370: ; preds = %363 %371 = load i32, ptr %21, align 4 br label %372 372: ; preds = %370, %369 %373 = phi i32 [ 256, %369 ], [ %371, %370 ] store i32 %373, ptr %22, align 4 %374 = load i32, ptr %8, align 4 %375 = call i32 @wait_for_fd(i32 noundef %374, i32 noundef 0) %376 = load i32, ptr %8, align 4 %377 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0 %378 = load i32, ptr %10, align 4 %379 = call i32 @read(i32 noundef %376, ptr noundef %377, i32 noundef %378) store i32 0, ptr %25, align 4 %380 = load i32, ptr %25, align 4 %381 = load i32, ptr %10, align 4 %382 = icmp slt i32 %380, %381 br i1 %382, label %.lr.ph11, label %418 .lr.ph11: ; preds = %372 br label %383 383: ; preds = %.lr.ph11, %410 %384 = load i32, ptr %25, align 4 %385 = sext i32 %384 to i64 %386 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 %385 %387 = load i8, ptr %386, align 1 %388 = sext i8 %387 to i32 %389 = load i32, ptr %25, align 4 %390 = sext i32 %389 to i64 %391 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 %390 %392 = load i8, ptr %391, align 1 %393 = sext i8 %392 to i32 %394 = icmp ne i32 %388, %393 br i1 %394, label %395, label %409 395: ; preds = %383 %396 = load i32, ptr %25, align 4 %397 = sext i32 %396 to i64 %398 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 %397 %399 = load i8, ptr %398, align 1 %400 = sext i8 %399 to i32 %401 = load i32, ptr %25, align 4 %402 = sext i32 %401 to i64 %403 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 %402 %404 = load i8, ptr %403, align 1 %405 = sext i8 %404 to i32 %406 = load i32, ptr %23, align 4 %407 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %400, i32 noundef %405, i32 noundef %406) %408 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %408, ptr %3, align 4 br label %449 409: ; preds = %383 br label %410 410: ; preds = %409 %411 = load i32, ptr %25, align 4 %412 = add nsw i32 %411, 1 store i32 %412, ptr %25, align 4 %413 = load i32, ptr %23, align 4 %414 = add nsw i32 %413, 1 store i32 %414, ptr %23, align 4 %415 = load i32, ptr %25, align 4 %416 = load i32, ptr %10, align 4 %417 = icmp slt i32 %415, %416 br i1 %417, label %383, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %410 br label %418 418: ; preds = %._crit_edge12, %372 %419 = load i32, ptr %7, align 4 %420 = call i32 @wait_for_fd(i32 noundef %419, i32 noundef 0) %421 = load i32, ptr %7, align 4 %422 = load i32, ptr %22, align 4 %423 = call i32 @read(i32 noundef %421, ptr noundef %359, i32 noundef %422) store i32 %423, ptr %10, align 4 %424 = icmp sgt i32 %423, 0 br i1 %424, label %363, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %418 br label %425 425: ; preds = %._crit_edge15, %354 %426 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) br label %427 427: ; preds = %425, %285, %282 %428 = load i32, ptr %7, align 4 %429 = call i32 @write(i32 noundef %428, ptr noundef @.str.27, i32 noundef 1) %430 = load i32, ptr %7, align 4 %431 = call i32 @wait_for_fd(i32 noundef %430, i32 noundef 0) %432 = load i32, ptr %7, align 4 %433 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %434 = call i32 @read(i32 noundef %432, ptr noundef %433, i32 noundef 1) %435 = icmp ne i32 %434, 1 br i1 %435, label %441, label %436 436: ; preds = %427 %437 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %438 = load i8, ptr %437, align 16 %439 = sext i8 %438 to i32 %440 = icmp ne i32 %439, 68 br i1 %440, label %441, label %447 441: ; preds = %436, %427 %442 = getelementptr inbounds [256 x i8], ptr %16, i64 0, i64 0 %443 = load i8, ptr %442, align 16 %444 = sext i8 %443 to i32 %445 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, i32 noundef %444) %446 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %446, ptr %3, align 4 br label %449 447: ; preds = %436 %448 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %448, ptr %3, align 4 br label %449 449: ; preds = %447, %441, %395, %336, %303, %276, %259, %237, %197, %168, %155, %150, %117, %108, %86, %63 %450 = load i32, ptr %3, align 4 ret i32 %450 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @isprint(i8 noundef signext) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @setup_serial(i32 noundef) #1 declare i32 @restart_mojo(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @wait_for_fd(i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @lseek(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpg4yxqs8_.c' source_filename = "/tmp/tmpg4yxqs8_.c" target datalayout = "e-m:e-p270: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.euler_problem_84.chance = private unnamed_addr constant [16 x i32] [i32 0, i32 10, i32 11, i32 24, i32 39, i32 5, i32 -1, i32 -1, i32 -2, i32 -3, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10], align 16 @__const.euler_problem_84.comchest = private unnamed_addr constant [16 x i32] [i32 0, i32 10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10], align 16 @.str = private unnamed_addr constant [14 x i8] c"%02d%02d%02d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @euler_problem_84() #0 { %1 = alloca i32, align 4 %2 = alloca [40 x i64], align 16 %3 = alloca [16 x i32], align 16 %4 = alloca [16 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 320, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.euler_problem_84.chance, i64 64, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.euler_problem_84.comchest, i64 64, i1 false) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 4, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i64 10000000, ptr %13, align 8 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 store i64 0, ptr %16, align 8 store i64 0, ptr %17, align 8 %18 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0 %19 = call i32 @shuffle(ptr noundef %18, i32 noundef 16) %20 = getelementptr inbounds [16 x i32], ptr %4, i64 0, i64 0 %21 = call i32 @shuffle(ptr noundef %20, i32 noundef 16) store i64 0, ptr %14, align 8 br label %22 22: ; preds = %151, %0 %23 = load i64, ptr %14, align 8 %24 = load i64, ptr %13, align 8 %25 = icmp slt i64 %23, %24 br i1 %25, label %26, label %154 26: ; preds = %22 %27 = load i32, ptr %8, align 4 %28 = call i32 @roll(i32 noundef %27) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %8, align 4 %30 = call i32 @roll(i32 noundef %29) store i32 %30, ptr %7, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %31, %32 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %33, %34 %36 = icmp sgt i32 %35, 39 br i1 %36, label %37, label %44 37: ; preds = %26 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %38, %39 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %40, %41 %43 = sub nsw i32 %42, 39 store i32 %43, ptr %5, align 4 br label %50 44: ; preds = %26 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %45, %46 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %47, %48 store i32 %49, ptr %5, align 4 br label %50 50: ; preds = %44, %37 %51 = load i32, ptr %6, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp eq i32 %51, %52 br i1 %53, label %54, label %57 54: ; preds = %50 %55 = load i32, ptr %9, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %9, align 4 br label %58 57: ; preds = %50 store i32 0, ptr %9, align 4 br label %58 58: ; preds = %57, %54 %59 = load i32, ptr %9, align 4 %60 = icmp eq i32 %59, 3 br i1 %60, label %61, label %62 61: ; preds = %58 store i32 10, ptr %5, align 4 store i32 0, ptr %9, align 4 br label %62 62: ; preds = %61, %58 %63 = load i32, ptr %5, align 4 %64 = icmp eq i32 %63, 2 br i1 %64, label %71, label %65 65: ; preds = %62 %66 = load i32, ptr %5, align 4 %67 = icmp eq i32 %66, 17 br i1 %67, label %71, label %68 68: ; preds = %65 %69 = load i32, ptr %5, align 4 %70 = icmp eq i32 %69, 33 br i1 %70, label %71, label %87 71: ; preds = %68, %65, %62 %72 = load i32, ptr %10, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [16 x i32], ptr %4, i64 0, i64 %73 %75 = load i32, ptr %74, align 4 switch i32 %75, label %79 [ i32 -10, label %76 i32 0, label %77 i32 10, label %78 ] 76: ; preds = %71 br label %80 77: ; preds = %71 store i32 0, ptr %5, align 4 br label %80 78: ; preds = %71 store i32 10, ptr %5, align 4 br label %80 79: ; preds = %71 store i32 1, ptr %1, align 4 br label %234 80: ; preds = %78, %77, %76 %81 = load i32, ptr %10, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %10, align 4 %83 = load i32, ptr %10, align 4 %84 = icmp eq i32 %83, 16 br i1 %84, label %85, label %86 85: ; preds = %80 store i32 0, ptr %10, align 4 br label %86 86: ; preds = %85, %80 br label %87 87: ; preds = %86, %68 %88 = load i32, ptr %5, align 4 %89 = icmp eq i32 %88, 7 br i1 %89, label %96, label %90 90: ; preds = %87 %91 = load i32, ptr %5, align 4 %92 = icmp eq i32 %91, 22 br i1 %92, label %96, label %93 93: ; preds = %90 %94 = load i32, ptr %5, align 4 %95 = icmp eq i32 %94, 36 br i1 %95, label %96, label %141 96: ; preds = %93, %90, %87 %97 = load i32, ptr %11, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %98 %100 = load i32, ptr %99, align 4 switch i32 %100, label %133 [ i32 -10, label %101 i32 0, label %102 i32 10, label %103 i32 11, label %104 i32 24, label %105 i32 39, label %106 i32 5, label %107 i32 -1, label %108 i32 -2, label %119 i32 -3, label %130 ] 101: ; preds = %96 br label %134 102: ; preds = %96 store i32 0, ptr %5, align 4 br label %134 103: ; preds = %96 store i32 10, ptr %5, align 4 br label %134 104: ; preds = %96 store i32 11, ptr %5, align 4 br label %134 105: ; preds = %96 store i32 24, ptr %5, align 4 br label %134 106: ; preds = %96 store i32 39, ptr %5, align 4 br label %134 107: ; preds = %96 store i32 5, ptr %5, align 4 br label %134 108: ; preds = %96 %109 = load i32, ptr %5, align 4 %110 = icmp eq i32 %109, 7 br i1 %110, label %111, label %112 111: ; preds = %108 br label %117 112: ; preds = %108 %113 = load i32, ptr %5, align 4 %114 = icmp eq i32 %113, 22 %115 = zext i1 %114 to i64 %116 = select i1 %114, i32 25, i32 5 br label %117 117: ; preds = %112, %111 %118 = phi i32 [ 15, %111 ], [ %116, %112 ] store i32 %118, ptr %5, align 4 br label %134 119: ; preds = %96 %120 = load i32, ptr %5, align 4 %121 = icmp eq i32 %120, 7 br i1 %121, label %122, label %123 122: ; preds = %119 br label %128 123: ; preds = %119 %124 = load i32, ptr %5, align 4 %125 = icmp eq i32 %124, 22 %126 = zext i1 %125 to i64 %127 = select i1 %125, i32 28, i32 12 br label %128 128: ; preds = %123, %122 %129 = phi i32 [ 12, %122 ], [ %127, %123 ] store i32 %129, ptr %5, align 4 br label %134 130: ; preds = %96 %131 = load i32, ptr %5, align 4 %132 = sub nsw i32 %131, 3 store i32 %132, ptr %5, align 4 br label %134 133: ; preds = %96 store i32 2, ptr %1, align 4 br label %234 134: ; preds = %130, %128, %117, %107, %106, %105, %104, %103, %102, %101 %135 = load i32, ptr %11, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %11, align 4 %137 = load i32, ptr %11, align 4 %138 = icmp eq i32 %137, 16 br i1 %138, label %139, label %140 139: ; preds = %134 store i32 0, ptr %11, align 4 br label %140 140: ; preds = %139, %134 br label %141 141: ; preds = %140, %93 %142 = load i32, ptr %5, align 4 %143 = icmp eq i32 %142, 30 br i1 %143, label %144, label %145 144: ; preds = %141 store i32 10, ptr %5, align 4 br label %145 145: ; preds = %144, %141 %146 = load i32, ptr %5, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %147 %149 = load i64, ptr %148, align 8 %150 = add nsw i64 %149, 1 store i64 %150, ptr %148, align 8 br label %151 151: ; preds = %145 %152 = load i64, ptr %14, align 8 %153 = add nsw i64 %152, 1 store i64 %153, ptr %14, align 8 br label %22, !llvm.loop !6 154: ; preds = %22 store i32 0, ptr %12, align 4 br label %155 155: ; preds = %171, %154 %156 = load i32, ptr %12, align 4 %157 = icmp slt i32 %156, 40 br i1 %157, label %158, label %174 158: ; preds = %155 %159 = load i32, ptr %12, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %160 %162 = load i64, ptr %161, align 8 %163 = load i64, ptr %15, align 8 %164 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %163 %165 = load i64, ptr %164, align 8 %166 = icmp sgt i64 %162, %165 br i1 %166, label %167, label %170 167: ; preds = %158 %168 = load i32, ptr %12, align 4 %169 = sext i32 %168 to i64 store i64 %169, ptr %15, align 8 br label %170 170: ; preds = %167, %158 br label %171 171: ; preds = %170 %172 = load i32, ptr %12, align 4 %173 = add nsw i32 %172, 1 store i32 %173, ptr %12, align 4 br label %155, !llvm.loop !8 174: ; preds = %155 store i32 0, ptr %12, align 4 br label %175 175: ; preds = %196, %174 %176 = load i32, ptr %12, align 4 %177 = icmp slt i32 %176, 40 br i1 %177, label %178, label %199 178: ; preds = %175 %179 = load i32, ptr %12, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %180 %182 = load i64, ptr %181, align 8 %183 = load i64, ptr %16, align 8 %184 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %183 %185 = load i64, ptr %184, align 8 %186 = icmp sgt i64 %182, %185 br i1 %186, label %187, label %195 187: ; preds = %178 %188 = load i32, ptr %12, align 4 %189 = sext i32 %188 to i64 %190 = load i64, ptr %15, align 8 %191 = icmp ne i64 %189, %190 br i1 %191, label %192, label %195 192: ; preds = %187 %193 = load i32, ptr %12, align 4 %194 = sext i32 %193 to i64 store i64 %194, ptr %16, align 8 br label %195 195: ; preds = %192, %187, %178 br label %196 196: ; preds = %195 %197 = load i32, ptr %12, align 4 %198 = add nsw i32 %197, 1 store i32 %198, ptr %12, align 4 br label %175, !llvm.loop !9 199: ; preds = %175 store i32 0, ptr %12, align 4 br label %200 200: ; preds = %226, %199 %201 = load i32, ptr %12, align 4 %202 = icmp slt i32 %201, 40 br i1 %202, label %203, label %229 203: ; preds = %200 %204 = load i32, ptr %12, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %205 %207 = load i64, ptr %206, align 8 %208 = load i64, ptr %17, align 8 %209 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %208 %210 = load i64, ptr %209, align 8 %211 = icmp sgt i64 %207, %210 br i1 %211, label %212, label %225 212: ; preds = %203 %213 = load i32, ptr %12, align 4 %214 = sext i32 %213 to i64 %215 = load i64, ptr %15, align 8 %216 = icmp ne i64 %214, %215 br i1 %216, label %217, label %225 217: ; preds = %212 %218 = load i32, ptr %12, align 4 %219 = sext i32 %218 to i64 %220 = load i64, ptr %16, align 8 %221 = icmp ne i64 %219, %220 br i1 %221, label %222, label %225 222: ; preds = %217 %223 = load i32, ptr %12, align 4 %224 = sext i32 %223 to i64 store i64 %224, ptr %17, align 8 br label %225 225: ; preds = %222, %217, %212, %203 br label %226 226: ; preds = %225 %227 = load i32, ptr %12, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %12, align 4 br label %200, !llvm.loop !10 229: ; preds = %200 %230 = load i64, ptr %15, align 8 %231 = load i64, ptr %16, align 8 %232 = load i64, ptr %17, align 8 %233 = call i32 @printf(ptr noundef @.str, i64 noundef %230, i64 noundef %231, i64 noundef %232) store i32 0, ptr %1, align 4 br label %234 234: ; preds = %229, %133, %79 %235 = load i32, ptr %1, align 4 ret i32 %235 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @shuffle(ptr noundef, i32 noundef) #3 declare i32 @roll(i32 noundef) #3 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 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 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpg4yxqs8_.c" target datalayout = "e-m:e-p270: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.euler_problem_84.chance = private unnamed_addr constant [16 x i32] [i32 0, i32 10, i32 11, i32 24, i32 39, i32 5, i32 -1, i32 -1, i32 -2, i32 -3, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10], align 16 @__const.euler_problem_84.comchest = private unnamed_addr constant [16 x i32] [i32 0, i32 10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10, i32 -10], align 16 @.str = private unnamed_addr constant [14 x i8] c"%02d%02d%02d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @euler_problem_84() #0 { %1 = alloca i32, align 4 %2 = alloca [40 x i64], align 16 %3 = alloca [16 x i32], align 16 %4 = alloca [16 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 320, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.euler_problem_84.chance, i64 64, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.euler_problem_84.comchest, i64 64, i1 false) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 4, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i64 10000000, ptr %13, align 8 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 store i64 0, ptr %16, align 8 store i64 0, ptr %17, align 8 %18 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0 %19 = call i32 @shuffle(ptr noundef %18, i32 noundef 16) %20 = getelementptr inbounds [16 x i32], ptr %4, i64 0, i64 0 %21 = call i32 @shuffle(ptr noundef %20, i32 noundef 16) store i64 0, ptr %14, align 8 %22 = load i64, ptr %14, align 8 %23 = load i64, ptr %13, align 8 %24 = icmp slt i64 %22, %23 br i1 %24, label %.lr.ph, label %156 .lr.ph: ; preds = %0 br label %25 25: ; preds = %.lr.ph, %150 %26 = load i32, ptr %8, align 4 %27 = call i32 @roll(i32 noundef %26) store i32 %27, ptr %6, align 4 %28 = load i32, ptr %8, align 4 %29 = call i32 @roll(i32 noundef %28) store i32 %29, ptr %7, align 4 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %30, %31 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %32, %33 %35 = icmp sgt i32 %34, 39 br i1 %35, label %36, label %43 36: ; preds = %25 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %37, %38 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %39, %40 %42 = sub nsw i32 %41, 39 store i32 %42, ptr %5, align 4 br label %49 43: ; preds = %25 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %44, %45 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %46, %47 store i32 %48, ptr %5, align 4 br label %49 49: ; preds = %43, %36 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %56 53: ; preds = %49 %54 = load i32, ptr %9, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %9, align 4 br label %57 56: ; preds = %49 store i32 0, ptr %9, align 4 br label %57 57: ; preds = %56, %53 %58 = load i32, ptr %9, align 4 %59 = icmp eq i32 %58, 3 br i1 %59, label %60, label %61 60: ; preds = %57 store i32 10, ptr %5, align 4 store i32 0, ptr %9, align 4 br label %61 61: ; preds = %60, %57 %62 = load i32, ptr %5, align 4 %63 = icmp eq i32 %62, 2 br i1 %63, label %70, label %64 64: ; preds = %61 %65 = load i32, ptr %5, align 4 %66 = icmp eq i32 %65, 17 br i1 %66, label %70, label %67 67: ; preds = %64 %68 = load i32, ptr %5, align 4 %69 = icmp eq i32 %68, 33 br i1 %69, label %70, label %86 70: ; preds = %67, %64, %61 %71 = load i32, ptr %10, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [16 x i32], ptr %4, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 switch i32 %74, label %78 [ i32 -10, label %75 i32 0, label %76 i32 10, label %77 ] 75: ; preds = %70 br label %79 76: ; preds = %70 store i32 0, ptr %5, align 4 br label %79 77: ; preds = %70 store i32 10, ptr %5, align 4 br label %79 78: ; preds = %70 store i32 1, ptr %1, align 4 br label %239 79: ; preds = %77, %76, %75 %80 = load i32, ptr %10, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %10, align 4 %82 = load i32, ptr %10, align 4 %83 = icmp eq i32 %82, 16 br i1 %83, label %84, label %85 84: ; preds = %79 store i32 0, ptr %10, align 4 br label %85 85: ; preds = %84, %79 br label %86 86: ; preds = %85, %67 %87 = load i32, ptr %5, align 4 %88 = icmp eq i32 %87, 7 br i1 %88, label %95, label %89 89: ; preds = %86 %90 = load i32, ptr %5, align 4 %91 = icmp eq i32 %90, 22 br i1 %91, label %95, label %92 92: ; preds = %89 %93 = load i32, ptr %5, align 4 %94 = icmp eq i32 %93, 36 br i1 %94, label %95, label %140 95: ; preds = %92, %89, %86 %96 = load i32, ptr %11, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 %97 %99 = load i32, ptr %98, align 4 switch i32 %99, label %132 [ i32 -10, label %100 i32 0, label %101 i32 10, label %102 i32 11, label %103 i32 24, label %104 i32 39, label %105 i32 5, label %106 i32 -1, label %107 i32 -2, label %118 i32 -3, label %129 ] 100: ; preds = %95 br label %133 101: ; preds = %95 store i32 0, ptr %5, align 4 br label %133 102: ; preds = %95 store i32 10, ptr %5, align 4 br label %133 103: ; preds = %95 store i32 11, ptr %5, align 4 br label %133 104: ; preds = %95 store i32 24, ptr %5, align 4 br label %133 105: ; preds = %95 store i32 39, ptr %5, align 4 br label %133 106: ; preds = %95 store i32 5, ptr %5, align 4 br label %133 107: ; preds = %95 %108 = load i32, ptr %5, align 4 %109 = icmp eq i32 %108, 7 br i1 %109, label %110, label %111 110: ; preds = %107 br label %116 111: ; preds = %107 %112 = load i32, ptr %5, align 4 %113 = icmp eq i32 %112, 22 %114 = zext i1 %113 to i64 %115 = select i1 %113, i32 25, i32 5 br label %116 116: ; preds = %111, %110 %117 = phi i32 [ 15, %110 ], [ %115, %111 ] store i32 %117, ptr %5, align 4 br label %133 118: ; preds = %95 %119 = load i32, ptr %5, align 4 %120 = icmp eq i32 %119, 7 br i1 %120, label %121, label %122 121: ; preds = %118 br label %127 122: ; preds = %118 %123 = load i32, ptr %5, align 4 %124 = icmp eq i32 %123, 22 %125 = zext i1 %124 to i64 %126 = select i1 %124, i32 28, i32 12 br label %127 127: ; preds = %122, %121 %128 = phi i32 [ 12, %121 ], [ %126, %122 ] store i32 %128, ptr %5, align 4 br label %133 129: ; preds = %95 %130 = load i32, ptr %5, align 4 %131 = sub nsw i32 %130, 3 store i32 %131, ptr %5, align 4 br label %133 132: ; preds = %95 store i32 2, ptr %1, align 4 br label %239 133: ; preds = %129, %127, %116, %106, %105, %104, %103, %102, %101, %100 %134 = load i32, ptr %11, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %11, align 4 %136 = load i32, ptr %11, align 4 %137 = icmp eq i32 %136, 16 br i1 %137, label %138, label %139 138: ; preds = %133 store i32 0, ptr %11, align 4 br label %139 139: ; preds = %138, %133 br label %140 140: ; preds = %139, %92 %141 = load i32, ptr %5, align 4 %142 = icmp eq i32 %141, 30 br i1 %142, label %143, label %144 143: ; preds = %140 store i32 10, ptr %5, align 4 br label %144 144: ; preds = %143, %140 %145 = load i32, ptr %5, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %146 %148 = load i64, ptr %147, align 8 %149 = add nsw i64 %148, 1 store i64 %149, ptr %147, align 8 br label %150 150: ; preds = %144 %151 = load i64, ptr %14, align 8 %152 = add nsw i64 %151, 1 store i64 %152, ptr %14, align 8 %153 = load i64, ptr %14, align 8 %154 = load i64, ptr %13, align 8 %155 = icmp slt i64 %153, %154 br i1 %155, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %150 br label %156 156: ; preds = %._crit_edge, %0 store i32 0, ptr %12, align 4 %157 = load i32, ptr %12, align 4 %158 = icmp slt i32 %157, 40 br i1 %158, label %.lr.ph2, label %177 .lr.ph2: ; preds = %156 br label %159 159: ; preds = %.lr.ph2, %172 %160 = load i32, ptr %12, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %161 %163 = load i64, ptr %162, align 8 %164 = load i64, ptr %15, align 8 %165 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %164 %166 = load i64, ptr %165, align 8 %167 = icmp sgt i64 %163, %166 br i1 %167, label %168, label %171 168: ; preds = %159 %169 = load i32, ptr %12, align 4 %170 = sext i32 %169 to i64 store i64 %170, ptr %15, align 8 br label %171 171: ; preds = %168, %159 br label %172 172: ; preds = %171 %173 = load i32, ptr %12, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %12, align 4 %175 = load i32, ptr %12, align 4 %176 = icmp slt i32 %175, 40 br i1 %176, label %159, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %172 br label %177 177: ; preds = %._crit_edge3, %156 store i32 0, ptr %12, align 4 %178 = load i32, ptr %12, align 4 %179 = icmp slt i32 %178, 40 br i1 %179, label %.lr.ph5, label %203 .lr.ph5: ; preds = %177 br label %180 180: ; preds = %.lr.ph5, %198 %181 = load i32, ptr %12, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %182 %184 = load i64, ptr %183, align 8 %185 = load i64, ptr %16, align 8 %186 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %185 %187 = load i64, ptr %186, align 8 %188 = icmp sgt i64 %184, %187 br i1 %188, label %189, label %197 189: ; preds = %180 %190 = load i32, ptr %12, align 4 %191 = sext i32 %190 to i64 %192 = load i64, ptr %15, align 8 %193 = icmp ne i64 %191, %192 br i1 %193, label %194, label %197 194: ; preds = %189 %195 = load i32, ptr %12, align 4 %196 = sext i32 %195 to i64 store i64 %196, ptr %16, align 8 br label %197 197: ; preds = %194, %189, %180 br label %198 198: ; preds = %197 %199 = load i32, ptr %12, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %12, align 4 %201 = load i32, ptr %12, align 4 %202 = icmp slt i32 %201, 40 br i1 %202, label %180, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %198 br label %203 203: ; preds = %._crit_edge6, %177 store i32 0, ptr %12, align 4 %204 = load i32, ptr %12, align 4 %205 = icmp slt i32 %204, 40 br i1 %205, label %.lr.ph8, label %234 .lr.ph8: ; preds = %203 br label %206 206: ; preds = %.lr.ph8, %229 %207 = load i32, ptr %12, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %208 %210 = load i64, ptr %209, align 8 %211 = load i64, ptr %17, align 8 %212 = getelementptr inbounds [40 x i64], ptr %2, i64 0, i64 %211 %213 = load i64, ptr %212, align 8 %214 = icmp sgt i64 %210, %213 br i1 %214, label %215, label %228 215: ; preds = %206 %216 = load i32, ptr %12, align 4 %217 = sext i32 %216 to i64 %218 = load i64, ptr %15, align 8 %219 = icmp ne i64 %217, %218 br i1 %219, label %220, label %228 220: ; preds = %215 %221 = load i32, ptr %12, align 4 %222 = sext i32 %221 to i64 %223 = load i64, ptr %16, align 8 %224 = icmp ne i64 %222, %223 br i1 %224, label %225, label %228 225: ; preds = %220 %226 = load i32, ptr %12, align 4 %227 = sext i32 %226 to i64 store i64 %227, ptr %17, align 8 br label %228 228: ; preds = %225, %220, %215, %206 br label %229 229: ; preds = %228 %230 = load i32, ptr %12, align 4 %231 = add nsw i32 %230, 1 store i32 %231, ptr %12, align 4 %232 = load i32, ptr %12, align 4 %233 = icmp slt i32 %232, 40 br i1 %233, label %206, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %229 br label %234 234: ; preds = %._crit_edge9, %203 %235 = load i64, ptr %15, align 8 %236 = load i64, ptr %16, align 8 %237 = load i64, ptr %17, align 8 %238 = call i32 @printf(ptr noundef @.str, i64 noundef %235, i64 noundef %236, i64 noundef %237) store i32 0, ptr %1, align 4 br label %239 239: ; preds = %234, %132, %78 %240 = load i32, ptr %1, align 4 ret i32 %240 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @shuffle(ptr noundef, i32 noundef) #3 declare i32 @roll(i32 noundef) #3 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 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 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpzgd1568x.c' source_filename = "/tmp/tmpzgd1568x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getLine(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %20, %2 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %4, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %7 %12 = call i32 (...) @getchar() store i32 %12, ptr %5, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = icmp ne i32 %16, 10 br label %18 18: ; preds = %15, %11, %7 %19 = phi i1 [ false, %11 ], [ false, %7 ], [ %17, %15 ] br i1 %19, label %20, label %28 20: ; preds = %18 %21 = load i32, ptr %5, align 4 %22 = trunc i32 %21 to i8 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 store i8 %22, ptr %27, align 1 br label %7, !llvm.loop !6 28: ; preds = %18 %29 = load i32, ptr %5, align 4 %30 = icmp eq i32 %29, 10 br i1 %30, label %31, label %37 31: ; preds = %28 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 store i8 10, ptr %36, align 1 br label %37 37: ; preds = %31, %28 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 0, ptr %41, align 1 %42 = load i32, ptr @stdin, align 4 %43 = call i32 @fflush(i32 noundef %42) %44 = load i32, ptr %6, align 4 ret i32 %44 } declare i32 @getchar(...) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzgd1568x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getLine(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %20, %2 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %4, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %7 %12 = call i32 (...) @getchar() store i32 %12, ptr %5, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = icmp ne i32 %16, 10 br label %18 18: ; preds = %15, %11, %7 %19 = phi i1 [ false, %11 ], [ false, %7 ], [ %17, %15 ] br i1 %19, label %20, label %28 20: ; preds = %18 %21 = load i32, ptr %5, align 4 %22 = trunc i32 %21 to i8 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 store i8 %22, ptr %27, align 1 br label %7, !llvm.loop !6 28: ; preds = %18 %29 = load i32, ptr %5, align 4 %30 = icmp eq i32 %29, 10 br i1 %30, label %31, label %37 31: ; preds = %28 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 store i8 10, ptr %36, align 1 br label %37 37: ; preds = %31, %28 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 0, ptr %41, align 1 %42 = load i32, ptr @stdin, align 4 %43 = call i32 @fflush(i32 noundef %42) %44 = load i32, ptr %6, align 4 ret i32 %44 } declare i32 @getchar(...) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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_zgvdq9t.c' source_filename = "/tmp/tmp_zgvdq9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Wartosc Accermana dla m=%d i n=%d wynosi %llu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca 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 = call i64 @atoi(ptr noundef %11) store i64 %12, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 2 %15 = load ptr, ptr %14, align 8 %16 = call i64 @atoi(ptr noundef %15) store i64 %16, ptr %7, align 8 %17 = load i64, ptr %6, align 8 %18 = load i64, ptr %7, align 8 %19 = call i64 @Ackermann(i64 noundef %17, i64 noundef %18) store i64 %19, ptr %8, align 8 %20 = load i64, ptr %6, align 8 %21 = load i64, ptr %7, align 8 %22 = load i64, ptr %8, align 8 %23 = call i32 @printf(ptr noundef @.str, i64 noundef %20, i64 noundef %21, i64 noundef %22) ret i32 0 } declare i64 @atoi(ptr noundef) #1 declare i64 @Ackermann(i64 noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_zgvdq9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Wartosc Accermana dla m=%d i n=%d wynosi %llu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca 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 = call i64 @atoi(ptr noundef %11) store i64 %12, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 2 %15 = load ptr, ptr %14, align 8 %16 = call i64 @atoi(ptr noundef %15) store i64 %16, ptr %7, align 8 %17 = load i64, ptr %6, align 8 %18 = load i64, ptr %7, align 8 %19 = call i64 @Ackermann(i64 noundef %17, i64 noundef %18) store i64 %19, ptr %8, align 8 %20 = load i64, ptr %6, align 8 %21 = load i64, ptr %7, align 8 %22 = load i64, ptr %8, align 8 %23 = call i32 @printf(ptr noundef @.str, i64 noundef %20, i64 noundef %21, i64 noundef %22) ret i32 0 } declare i64 @atoi(ptr noundef) #1 declare i64 @Ackermann(i64 noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_tmqk8we.c' source_filename = "/tmp/tmp_tmqk8we.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @um_destroy_world() #0 { %1 = call i32 (...) @um_crtf() %2 = call i32 (...) @um_crti() ret void } declare i32 @um_crtf(...) #1 declare i32 @um_crti(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_tmqk8we.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @um_destroy_world() #0 { %1 = call i32 (...) @um_crtf() %2 = call i32 (...) @um_crti() ret void } declare i32 @um_crtf(...) #1 declare i32 @um_crti(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp77jxhbi8.c' source_filename = "/tmp/tmp77jxhbi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XFontProp_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 ret i64 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp77jxhbi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XFontProp_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 ret i64 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl0avff72.c' source_filename = "/tmp/tmpl0avff72.c" target datalayout = "e-m:e-p270: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"videocd.bin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cdio_get_devices_bincue() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 store ptr null, ptr %1, align 8 store i32 0, ptr %2, align 4 %3 = call i32 @cdio_add_device_list(ptr noundef %1, ptr noundef @.str, ptr noundef %2) %4 = call i32 @cdio_add_device_list(ptr noundef %1, ptr noundef null, ptr noundef %2) %5 = load ptr, ptr %1, align 8 ret ptr %5 } declare i32 @cdio_add_device_list(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/tmpl0avff72.c" target datalayout = "e-m:e-p270: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"videocd.bin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cdio_get_devices_bincue() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 store ptr null, ptr %1, align 8 store i32 0, ptr %2, align 4 %3 = call i32 @cdio_add_device_list(ptr noundef %1, ptr noundef @.str, ptr noundef %2) %4 = call i32 @cdio_add_device_list(ptr noundef %1, ptr noundef null, ptr noundef %2) %5 = load ptr, ptr %1, align 8 ret ptr %5 } declare i32 @cdio_add_device_list(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/tmptd3u2cxv.c' source_filename = "/tmp/tmptd3u2cxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_n_cmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %16, label %10 10: ; preds = %3 %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i64, ptr %7, align 8 %15 = icmp ule i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %13, %10, %3 store i32 -2, ptr %4, align 4 br label %48 17: ; preds = %13 br label %18 18: ; preds = %40, %17 %19 = load i64, ptr %7, align 8 %20 = icmp ugt i64 %19, 0 br i1 %20, label %21, label %47 21: ; preds = %18 %22 = load ptr, ptr %5, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = load ptr, ptr %6, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp slt i32 %24, %27 br i1 %28, label %29, label %30 29: ; preds = %21 store i32 -1, ptr %4, align 4 br label %48 30: ; preds = %21 %31 = load ptr, ptr %5, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load ptr, ptr %6, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp sgt i32 %33, %36 br i1 %37, label %38, label %39 38: ; preds = %30 store i32 1, ptr %4, align 4 br label %48 39: ; preds = %30 br label %40 40: ; preds = %39 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %5, align 8 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %6, align 8 %45 = load i64, ptr %7, align 8 %46 = add i64 %45, -1 store i64 %46, ptr %7, align 8 br label %18, !llvm.loop !6 47: ; preds = %18 store i32 0, ptr %4, align 4 br label %48 48: ; preds = %47, %38, %29, %16 %49 = load i32, ptr %4, align 4 ret i32 %49 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmptd3u2cxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_n_cmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %16, label %10 10: ; preds = %3 %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i64, ptr %7, align 8 %15 = icmp ule i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %13, %10, %3 store i32 -2, ptr %4, align 4 br label %49 17: ; preds = %13 %18 = load i64, ptr %7, align 8 %19 = icmp ugt i64 %18, 0 br i1 %19, label %.lr.ph, label %48 .lr.ph: ; preds = %17 br label %20 20: ; preds = %.lr.ph, %39 %21 = load ptr, ptr %5, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load ptr, ptr %6, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp slt i32 %23, %26 br i1 %27, label %28, label %29 28: ; preds = %20 store i32 -1, ptr %4, align 4 br label %49 29: ; preds = %20 %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load ptr, ptr %6, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp sgt i32 %32, %35 br i1 %36, label %37, label %38 37: ; preds = %29 store i32 1, ptr %4, align 4 br label %49 38: ; preds = %29 br label %39 39: ; preds = %38 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %5, align 8 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %6, align 8 %44 = load i64, ptr %7, align 8 %45 = add i64 %44, -1 store i64 %45, ptr %7, align 8 %46 = load i64, ptr %7, align 8 %47 = icmp ugt i64 %46, 0 br i1 %47, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %48 48: ; preds = %._crit_edge, %17 store i32 0, ptr %4, align 4 br label %49 49: ; preds = %48, %37, %28, %16 %50 = load i32, ptr %4, align 4 ret i32 %50 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpv2tfjpl9.c' source_filename = "/tmp/tmpv2tfjpl9.c" target datalayout = "e-m:e-p270: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/tmpv2tfjpl9.c" target datalayout = "e-m:e-p270: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/tmpdlcj2wxj.c' source_filename = "/tmp/tmpdlcj2wxj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is16digit(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 i64 @isdigit(i8 noundef signext %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %24, label %6 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp sge i32 %8, 97 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i8, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = icmp sle i32 %12, 102 br i1 %13, label %24, label %14 14: ; preds = %10, %6 %15 = load i8, ptr %2, align 1 %16 = sext i8 %15 to i32 %17 = icmp sge i32 %16, 65 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = load i8, ptr %2, align 1 %20 = sext i8 %19 to i32 %21 = icmp sle i32 %20, 70 br label %22 22: ; preds = %18, %14 %23 = phi i1 [ false, %14 ], [ %21, %18 ] br label %24 24: ; preds = %22, %10, %1 %25 = phi i1 [ true, %10 ], [ true, %1 ], [ %23, %22 ] %26 = zext i1 %25 to i64 %27 = select i1 %25, i32 1, i32 0 ret i32 %27 } declare i64 @isdigit(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/tmpdlcj2wxj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is16digit(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 i64 @isdigit(i8 noundef signext %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %24, label %6 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp sge i32 %8, 97 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i8, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = icmp sle i32 %12, 102 br i1 %13, label %24, label %14 14: ; preds = %10, %6 %15 = load i8, ptr %2, align 1 %16 = sext i8 %15 to i32 %17 = icmp sge i32 %16, 65 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = load i8, ptr %2, align 1 %20 = sext i8 %19 to i32 %21 = icmp sle i32 %20, 70 br label %22 22: ; preds = %18, %14 %23 = phi i1 [ false, %14 ], [ %21, %18 ] br label %24 24: ; preds = %22, %10, %1 %25 = phi i1 [ true, %10 ], [ true, %1 ], [ %23, %22 ] %26 = zext i1 %25 to i64 %27 = select i1 %25, i32 1, i32 0 ret i32 %27 } declare i64 @isdigit(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/tmpy0j1qadp.c' source_filename = "/tmp/tmpy0j1qadp.c" target datalayout = "e-m:e-p270: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/tmpy0j1qadp.c" target datalayout = "e-m:e-p270: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/tmpa1ozioes.c' source_filename = "/tmp/tmpa1ozioes.c" target datalayout = "e-m:e-p270: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/tmpa1ozioes.c" target datalayout = "e-m:e-p270: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/tmp7pak0pra.c' source_filename = "/tmp/tmp7pak0pra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqrt_value(double noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store double %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 %9 = load double, ptr %8, align 8 %10 = load double, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds double, ptr %11, i64 1 %13 = load double, ptr %12, align 8 %14 = fdiv double %10, %13 %15 = call double @sqrt(double noundef %14) %16 = fmul double %9, %15 %17 = load ptr, ptr %6, align 8 store double %16, ptr %17, align 8 ret void } declare double @sqrt(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7pak0pra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqrt_value(double noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store double %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 %9 = load double, ptr %8, align 8 %10 = load double, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds double, ptr %11, i64 1 %13 = load double, ptr %12, align 8 %14 = fdiv double %10, %13 %15 = call double @sqrt(double noundef %14) %16 = fmul double %9, %15 %17 = load ptr, ptr %6, align 8 store double %16, ptr %17, align 8 ret void } declare double @sqrt(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}