llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpjzvz0b5l.c' source_filename = "/tmp/tmpjzvz0b5l.c" target datalayout = "e-m:e-p270: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/tmpjzvz0b5l.c" target datalayout = "e-m:e-p270: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/tmpkzv4z4dt.c' source_filename = "/tmp/tmpkzv4z4dt.c" target datalayout = "e-m:e-p270: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"pipe\00", align 1 @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"socketpair\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"test\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 %3 = alloca [2 x i32], align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %7 = call i64 @pipe(ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %63 11: ; preds = %0 %12 = load i32, ptr @AF_UNIX, align 4 %13 = load i32, ptr @SOCK_STREAM, align 4 %14 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %15 = call i64 @socketpair(i32 noundef %12, i32 noundef %13, i32 noundef 0, ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %11 %18 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %63 19: ; preds = %11 %20 = call i32 (...) @fork() store i32 %20, ptr %4, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @perror(ptr noundef @.str.2) br label %61 24: ; preds = %19 %25 = load i32, ptr %4, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %32, label %27 27: ; preds = %24 %28 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %29 = load i32, ptr %28, align 4 %30 = call i32 @recv_fd(i32 noundef %29) %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %24 %33 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %34 = load i32, ptr %33, align 4 %35 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %36 = load i32, ptr %35, align 4 %37 = call i32 @send_fd(i32 noundef %34, i32 noundef %36) %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %44 39: ; preds = %32 %40 = load i32, ptr %4, align 4 %41 = call i32 @kill(i32 noundef %40, i32 noundef 9) %42 = load i32, ptr %4, align 4 %43 = call i32 @waitpid(i32 noundef %42, ptr noundef null, i32 noundef 0) store i32 2, ptr %1, align 4 br label %63 44: ; preds = %32 %45 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1 %46 = load i32, ptr %45, align 4 %47 = call i32 @write(i32 noundef %46, ptr noundef @.str.3, i32 noundef 5) %48 = sext i32 %47 to i64 %49 = icmp ne i64 %48, 5 br i1 %49, label %50, label %54 50: ; preds = %44 %51 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) store i32 -1, ptr %1, align 4 br label %63 54: ; preds = %44 %55 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1 %56 = load i32, ptr %55, align 4 %57 = call i32 @close(i32 noundef %56) %58 = load i32, ptr %4, align 4 %59 = call i32 @waitpid(i32 noundef %58, ptr noundef %5, i32 noundef 0) br label %60 60: ; preds = %54 br label %61 61: ; preds = %60, %22 %62 = load i32, ptr %5, align 4 store i32 %62, ptr %1, align 4 br label %63 63: ; preds = %61, %50, %39, %17, %9 %64 = load i32, ptr %1, align 4 ret i32 %64 } declare i64 @pipe(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @recv_fd(i32 noundef) #1 declare i32 @send_fd(i32 noundef, i32 noundef) #1 declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkzv4z4dt.c" target datalayout = "e-m:e-p270: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"pipe\00", align 1 @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"socketpair\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"test\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 %3 = alloca [2 x i32], align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %7 = call i64 @pipe(ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %63 11: ; preds = %0 %12 = load i32, ptr @AF_UNIX, align 4 %13 = load i32, ptr @SOCK_STREAM, align 4 %14 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %15 = call i64 @socketpair(i32 noundef %12, i32 noundef %13, i32 noundef 0, ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %11 %18 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %63 19: ; preds = %11 %20 = call i32 (...) @fork() store i32 %20, ptr %4, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @perror(ptr noundef @.str.2) br label %61 24: ; preds = %19 %25 = load i32, ptr %4, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %32, label %27 27: ; preds = %24 %28 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %29 = load i32, ptr %28, align 4 %30 = call i32 @recv_fd(i32 noundef %29) %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %24 %33 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %34 = load i32, ptr %33, align 4 %35 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %36 = load i32, ptr %35, align 4 %37 = call i32 @send_fd(i32 noundef %34, i32 noundef %36) %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %44 39: ; preds = %32 %40 = load i32, ptr %4, align 4 %41 = call i32 @kill(i32 noundef %40, i32 noundef 9) %42 = load i32, ptr %4, align 4 %43 = call i32 @waitpid(i32 noundef %42, ptr noundef null, i32 noundef 0) store i32 2, ptr %1, align 4 br label %63 44: ; preds = %32 %45 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1 %46 = load i32, ptr %45, align 4 %47 = call i32 @write(i32 noundef %46, ptr noundef @.str.3, i32 noundef 5) %48 = sext i32 %47 to i64 %49 = icmp ne i64 %48, 5 br i1 %49, label %50, label %54 50: ; preds = %44 %51 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) store i32 -1, ptr %1, align 4 br label %63 54: ; preds = %44 %55 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1 %56 = load i32, ptr %55, align 4 %57 = call i32 @close(i32 noundef %56) %58 = load i32, ptr %4, align 4 %59 = call i32 @waitpid(i32 noundef %58, ptr noundef %5, i32 noundef 0) br label %60 60: ; preds = %54 br label %61 61: ; preds = %60, %22 %62 = load i32, ptr %5, align 4 store i32 %62, ptr %1, align 4 br label %63 63: ; preds = %61, %50, %39, %17, %9 %64 = load i32, ptr %1, align 4 ret i32 %64 } declare i64 @pipe(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @recv_fd(i32 noundef) #1 declare i32 @send_fd(i32 noundef, i32 noundef) #1 declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaqj4o4a4.c' source_filename = "/tmp/tmpaqj4o4a4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gendefs(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (...) @gendata() store i32 1, ptr %5, align 4 br label %7 7: ; preds = %35, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %38 12: ; preds = %7 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call i64 @isalnum(i8 noundef signext %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %27 20: ; preds = %12 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = call i32 @cgdefc(i8 noundef signext %25) br label %34 27: ; preds = %12 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = call i32 @cgdefb(i8 noundef signext %32) br label %34 34: ; preds = %27, %20 br label %35 35: ; preds = %34 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 br label %7, !llvm.loop !6 38: ; preds = %7 ret void } declare i32 @gendata(...) #1 declare i64 @isalnum(i8 noundef signext) #1 declare i32 @cgdefc(i8 noundef signext) #1 declare i32 @cgdefb(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/tmpaqj4o4a4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gendefs(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (...) @gendata() store i32 1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = sub nsw i32 %8, 1 %10 = icmp slt i32 %7, %9 br i1 %10, label %.lr.ph, label %41 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %34 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i64 @isalnum(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %11 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = call i32 @cgdefc(i8 noundef signext %24) br label %33 26: ; preds = %11 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = call i32 @cgdefb(i8 noundef signext %31) br label %33 33: ; preds = %26, %19 br label %34 34: ; preds = %33 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %4, align 4 %39 = sub nsw i32 %38, 1 %40 = icmp slt i32 %37, %39 br i1 %40, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %41 41: ; preds = %._crit_edge, %2 ret void } declare i32 @gendata(...) #1 declare i64 @isalnum(i8 noundef signext) #1 declare i32 @cgdefc(i8 noundef signext) #1 declare i32 @cgdefb(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/tmpplnrh5cm.c' source_filename = "/tmp/tmpplnrh5cm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Exit Program!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Exit_Prin() #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/tmpplnrh5cm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Exit Program!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Exit_Prin() #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/tmpbq74xipi.c' source_filename = "/tmp/tmpbq74xipi.c" target datalayout = "e-m:e-p270: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 [25 x i8] c"Answer: %li - %li = %li\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 1, ptr %4, align 8 br label %7 7: ; preds = %16, %0 %8 = load i64, ptr %4, align 8 %9 = icmp sle i64 %8, 100 br i1 %9, label %10, label %19 10: ; preds = %7 %11 = load i64, ptr %2, align 8 %12 = load i64, ptr %4, align 8 %13 = load i64, ptr %4, align 8 %14 = mul nsw i64 %12, %13 %15 = add nsw i64 %11, %14 store i64 %15, ptr %2, align 8 br label %16 16: ; preds = %10 %17 = load i64, ptr %4, align 8 %18 = add nsw i64 %17, 1 store i64 %18, ptr %4, align 8 br label %7, !llvm.loop !6 19: ; preds = %7 store i64 1, ptr %5, align 8 br label %20 20: ; preds = %37, %19 %21 = load i64, ptr %5, align 8 %22 = icmp sle i64 %21, 100 br i1 %22, label %23, label %40 23: ; preds = %20 store i64 1, ptr %6, align 8 br label %24 24: ; preds = %33, %23 %25 = load i64, ptr %6, align 8 %26 = icmp sle i64 %25, 100 br i1 %26, label %27, label %36 27: ; preds = %24 %28 = load i64, ptr %3, align 8 %29 = load i64, ptr %5, align 8 %30 = load i64, ptr %6, align 8 %31 = mul nsw i64 %29, %30 %32 = add nsw i64 %28, %31 store i64 %32, ptr %3, align 8 br label %33 33: ; preds = %27 %34 = load i64, ptr %6, align 8 %35 = add nsw i64 %34, 1 store i64 %35, ptr %6, align 8 br label %24, !llvm.loop !8 36: ; preds = %24 br label %37 37: ; preds = %36 %38 = load i64, ptr %5, align 8 %39 = add nsw i64 %38, 1 store i64 %39, ptr %5, align 8 br label %20, !llvm.loop !9 40: ; preds = %20 %41 = load i64, ptr %3, align 8 %42 = load i64, ptr %2, align 8 %43 = load i64, ptr %3, align 8 %44 = load i64, ptr %2, align 8 %45 = sub nsw i64 %43, %44 %46 = call i32 @printf(ptr noundef @.str, i64 noundef %41, i64 noundef %42, i64 noundef %45) ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbq74xipi.c" target datalayout = "e-m:e-p270: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 [25 x i8] c"Answer: %li - %li = %li\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 1, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp sle i64 %7, 100 br i1 %8, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %15 %10 = load i64, ptr %2, align 8 %11 = load i64, ptr %4, align 8 %12 = load i64, ptr %4, align 8 %13 = mul nsw i64 %11, %12 %14 = add nsw i64 %10, %13 store i64 %14, ptr %2, align 8 br label %15 15: ; preds = %9 %16 = load i64, ptr %4, align 8 %17 = add nsw i64 %16, 1 store i64 %17, ptr %4, align 8 %18 = load i64, ptr %4, align 8 %19 = icmp sle i64 %18, 100 br i1 %19, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %0 store i64 1, ptr %5, align 8 %21 = load i64, ptr %5, align 8 %22 = icmp sle i64 %21, 100 br i1 %22, label %.lr.ph5, label %43 .lr.ph5: ; preds = %20 br label %23 23: ; preds = %.lr.ph5, %38 store i64 1, ptr %6, align 8 %24 = load i64, ptr %6, align 8 %25 = icmp sle i64 %24, 100 br i1 %25, label %.lr.ph2, label %37 .lr.ph2: ; preds = %23 br label %26 26: ; preds = %.lr.ph2, %32 %27 = load i64, ptr %3, align 8 %28 = load i64, ptr %5, align 8 %29 = load i64, ptr %6, align 8 %30 = mul nsw i64 %28, %29 %31 = add nsw i64 %27, %30 store i64 %31, ptr %3, align 8 br label %32 32: ; preds = %26 %33 = load i64, ptr %6, align 8 %34 = add nsw i64 %33, 1 store i64 %34, ptr %6, align 8 %35 = load i64, ptr %6, align 8 %36 = icmp sle i64 %35, 100 br i1 %36, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %37 37: ; preds = %._crit_edge3, %23 br label %38 38: ; preds = %37 %39 = load i64, ptr %5, align 8 %40 = add nsw i64 %39, 1 store i64 %40, ptr %5, align 8 %41 = load i64, ptr %5, align 8 %42 = icmp sle i64 %41, 100 br i1 %42, label %23, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %38 br label %43 43: ; preds = %._crit_edge6, %20 %44 = load i64, ptr %3, align 8 %45 = load i64, ptr %2, align 8 %46 = load i64, ptr %3, align 8 %47 = load i64, ptr %2, align 8 %48 = sub nsw i64 %46, %47 %49 = call i32 @printf(ptr noundef @.str, i64 noundef %44, i64 noundef %45, i64 noundef %48) ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpnzn91w6o.c' source_filename = "/tmp/tmpnzn91w6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRCLOSEFIGURE_swap(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 = call i32 @core5_swap(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @core5_swap(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/tmpnzn91w6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRCLOSEFIGURE_swap(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 = call i32 @core5_swap(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @core5_swap(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/tmp8pbjzxu_.c' source_filename = "/tmp/tmp8pbjzxu_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_ANON = dso_local global i32 0, align 4 @MAP_FIXED = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = 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/tmp8pbjzxu_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_ANON = dso_local global i32 0, align 4 @MAP_FIXED = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = 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/tmpuvtcdl2w.c' source_filename = "/tmp/tmpuvtcdl2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hook_focus_hashtable_map_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %9, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %25 14: ; preds = %4 %15 = load ptr, ptr %7, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %25 17: ; preds = %14 %18 = load ptr, ptr %8, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 @hashtable_set(ptr noundef %21, ptr noundef %22, ptr noundef %23) br label %25 25: ; preds = %20, %17, %14, %4 ret void } declare i32 @hashtable_set(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/tmpuvtcdl2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hook_focus_hashtable_map_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %9, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %25 14: ; preds = %4 %15 = load ptr, ptr %7, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %25 17: ; preds = %14 %18 = load ptr, ptr %8, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 @hashtable_set(ptr noundef %21, ptr noundef %22, ptr noundef %23) br label %25 25: ; preds = %20, %17, %14, %4 ret void } declare i32 @hashtable_set(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/tmpurzhz2lm.c' source_filename = "/tmp/tmpurzhz2lm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart1_test() #0 { %1 = alloca i32, align 4 store i32 170, ptr %1, align 4 br label %2 2: ; preds = %0, %2 %3 = load i32, ptr %1, align 4 %4 = call i32 @uart1_writeb(i32 noundef %3) %5 = call i32 @delay(i32 noundef 100) br label %2 } declare i32 @uart1_writeb(i32 noundef) #1 declare i32 @delay(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpurzhz2lm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart1_test() #0 { %1 = alloca i32, align 4 store i32 170, ptr %1, align 4 br label %2 2: ; preds = %2, %0 %3 = load i32, ptr %1, align 4 %4 = call i32 @uart1_writeb(i32 noundef %3) %5 = call i32 @delay(i32 noundef 100) br label %2 } declare i32 @uart1_writeb(i32 noundef) #1 declare i32 @delay(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4c56tj_6.c' source_filename = "/tmp/tmp4c56tj_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%c[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @jnx_term_default() #0 { %1 = call i32 @printf(ptr noundef @.str, i32 noundef 27) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4c56tj_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%c[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @jnx_term_default() #0 { %1 = call i32 @printf(ptr noundef @.str, i32 noundef 27) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4t4vtg_3.c' source_filename = "/tmp/tmp4t4vtg_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 [10 x i8] c"No suffix\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @biggest_suffix(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = icmp sgt i32 %10, %12 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %7, align 4 br label %20 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strlen(ptr noundef %18) store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %17, %14 store i32 0, ptr %6, align 4 br label %21 21: ; preds = %35, %20 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %25, label %38 25: ; preds = %21 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %6, align 4 %29 = call i64 @equality(ptr noundef %26, ptr noundef %27, i32 noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %25 %32 = load i32, ptr %6, align 4 store i32 %32, ptr %8, align 4 br label %34 33: ; preds = %25 br label %38 34: ; preds = %31 br label %35 35: ; preds = %34 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 br label %21, !llvm.loop !6 38: ; preds = %33, %21 %39 = load i32, ptr %8, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %38 store ptr @.str, ptr %3, align 8 br label %52 42: ; preds = %38 %43 = load ptr, ptr %4, align 8 %44 = load ptr, ptr %4, align 8 %45 = call i32 @strlen(ptr noundef %44) %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = sub i64 0, %49 %51 = getelementptr inbounds i8, ptr %47, i64 %50 store ptr %51, ptr %3, align 8 br label %52 52: ; preds = %42, %41 %53 = load ptr, ptr %3, align 8 ret ptr %53 } declare i32 @strlen(ptr noundef) #1 declare i64 @equality(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4t4vtg_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 [10 x i8] c"No suffix\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @biggest_suffix(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = icmp sgt i32 %10, %12 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %7, align 4 br label %20 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strlen(ptr noundef %18) store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %17, %14 store i32 0, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %7, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %20 br label %24 24: ; preds = %.lr.ph, %34 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = call i64 @equality(ptr noundef %25, ptr noundef %26, i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %24 %31 = load i32, ptr %6, align 4 store i32 %31, ptr %8, align 4 br label %33 32: ; preds = %24 br label %40 33: ; preds = %30 br label %34 34: ; preds = %33 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp sle i32 %37, %38 br i1 %39, label %24, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %34 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %20 br label %40 40: ; preds = %.loopexit, %32 %41 = load i32, ptr %8, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %40 store ptr @.str, ptr %3, align 8 br label %54 44: ; preds = %40 %45 = load ptr, ptr %4, align 8 %46 = load ptr, ptr %4, align 8 %47 = call i32 @strlen(ptr noundef %46) %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %45, i64 %48 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = sub i64 0, %51 %53 = getelementptr inbounds i8, ptr %49, i64 %52 store ptr %53, ptr %3, align 8 br label %54 54: ; preds = %44, %43 %55 = load ptr, ptr %3, align 8 ret ptr %55 } declare i32 @strlen(ptr noundef) #1 declare i64 @equality(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvqxwohpo.c' source_filename = "/tmp/tmpvqxwohpo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FIONBIO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setNonblocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @FIONBIO, align 4 %6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3) ret i32 %6 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvqxwohpo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FIONBIO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setNonblocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @FIONBIO, align 4 %6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3) ret i32 %6 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpblv82s2z.c' source_filename = "/tmp/tmpblv82s2z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0xd8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0xd8() #0 { %1 = call i64 @iscntrl(i32 noundef 216) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1085, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(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/tmpblv82s2z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0xd8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0xd8() #0 { %1 = call i64 @iscntrl(i32 noundef 216) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1085, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(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/tmp4o029p04.c' source_filename = "/tmp/tmp4o029p04.c" target datalayout = "e-m:e-p270: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/tmp4o029p04.c" target datalayout = "e-m:e-p270: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/tmpyca7m0c7.c' source_filename = "/tmp/tmpyca7m0c7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"ingresar el parametro\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"secuencia mayor: %d \0A.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = 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 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) store i64 1, ptr %7, align 8 store i64 1, ptr %8, align 8 store i64 1, ptr %9, align 8 br label %13 13: ; preds = %27, %2 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %6, align 8 %16 = icmp sle i64 %14, %15 br i1 %16, label %17, label %30 17: ; preds = %13 %18 = load i64, ptr %9, align 8 %19 = call i64 @siracusa(i64 noundef %18) store i64 %19, ptr %10, align 8 %20 = load i64, ptr %8, align 8 %21 = load i64, ptr %10, align 8 %22 = icmp slt i64 %20, %21 br i1 %22, label %23, label %26 23: ; preds = %17 %24 = load i64, ptr %10, align 8 store i64 %24, ptr %8, align 8 %25 = load i64, ptr %9, align 8 store i64 %25, ptr %7, align 8 br label %26 26: ; preds = %23, %17 br label %27 27: ; preds = %26 %28 = load i64, ptr %9, align 8 %29 = add nsw i64 %28, 1 store i64 %29, ptr %9, align 8 br label %13, !llvm.loop !6 30: ; preds = %13 %31 = load i64, ptr %7, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %31) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @siracusa(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyca7m0c7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"ingresar el parametro\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"secuencia mayor: %d \0A.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = 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 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) store i64 1, ptr %7, align 8 store i64 1, ptr %8, align 8 store i64 1, ptr %9, align 8 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %6, align 8 %15 = icmp sle i64 %13, %14 br i1 %15, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %26 %17 = load i64, ptr %9, align 8 %18 = call i64 @siracusa(i64 noundef %17) store i64 %18, ptr %10, align 8 %19 = load i64, ptr %8, align 8 %20 = load i64, ptr %10, align 8 %21 = icmp slt i64 %19, %20 br i1 %21, label %22, label %25 22: ; preds = %16 %23 = load i64, ptr %10, align 8 store i64 %23, ptr %8, align 8 %24 = load i64, ptr %9, align 8 store i64 %24, ptr %7, align 8 br label %25 25: ; preds = %22, %16 br label %26 26: ; preds = %25 %27 = load i64, ptr %9, align 8 %28 = add nsw i64 %27, 1 store i64 %28, ptr %9, align 8 %29 = load i64, ptr %9, align 8 %30 = load i64, ptr %6, align 8 %31 = icmp sle i64 %29, %30 br i1 %31, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %2 %33 = load i64, ptr %7, align 8 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %33) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @siracusa(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_s5vquu1.c' source_filename = "/tmp/tmp_s5vquu1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @config_change_prefix_align_min(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 (...) @config_compute_prefix_max_length_all_buffers() %11 = call i32 @gui_window_ask_refresh(i32 noundef 1) ret void } declare i32 @config_compute_prefix_max_length_all_buffers(...) #1 declare i32 @gui_window_ask_refresh(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_s5vquu1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @config_change_prefix_align_min(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 (...) @config_compute_prefix_max_length_all_buffers() %11 = call i32 @gui_window_ask_refresh(i32 noundef 1) ret void } declare i32 @config_compute_prefix_max_length_all_buffers(...) #1 declare i32 @gui_window_ask_refresh(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/tmpb7_b2a8w.c' source_filename = "/tmp/tmpb7_b2a8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = trunc i64 %13 to i32 %15 = call ptr @malloc(i32 noundef %14) store ptr %15, ptr %10, align 8 store i32 0, ptr %7, align 4 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %17 17: ; preds = %79, %3 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %82 21: ; preds = %17 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %32 25: ; preds = %21 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds i32, ptr %26, i64 %29 %31 = load i32, ptr %30, align 4 br label %73 32: ; preds = %21 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp eq i32 %33, %34 br i1 %35, label %36, label %43 36: ; preds = %32 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = sext i32 %38 to i64 %41 = getelementptr inbounds i32, ptr %37, i64 %40 %42 = load i32, ptr %41, align 4 br label %71 43: ; preds = %32 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = load i32, ptr %52, align 4 %54 = icmp slt i32 %48, %53 br i1 %54, label %55, label %62 55: ; preds = %43 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %8, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %8, align 4 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds i32, ptr %56, i64 %59 %61 = load i32, ptr %60, align 4 br label %69 62: ; preds = %43 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %7, align 4 %66 = sext i32 %64 to i64 %67 = getelementptr inbounds i32, ptr %63, i64 %66 %68 = load i32, ptr %67, align 4 br label %69 69: ; preds = %62, %55 %70 = phi i32 [ %61, %55 ], [ %68, %62 ] br label %71 71: ; preds = %69, %36 %72 = phi i32 [ %42, %36 ], [ %70, %69 ] br label %73 73: ; preds = %71, %25 %74 = phi i32 [ %31, %25 ], [ %72, %71 ] %75 = load ptr, ptr %10, align 8 %76 = load i32, ptr %9, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %75, i64 %77 store i32 %74, ptr %78, align 4 br label %79 79: ; preds = %73 %80 = load i32, ptr %9, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %9, align 4 br label %17, !llvm.loop !6 82: ; preds = %17 store i32 0, ptr %7, align 4 br label %83 83: ; preds = %97, %82 %84 = load i32, ptr %7, align 4 %85 = load i32, ptr %5, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %87, label %100 87: ; preds = %83 %88 = load ptr, ptr %10, align 8 %89 = load i32, ptr %7, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 %92 = load i32, ptr %91, align 4 %93 = load ptr, ptr %4, align 8 %94 = load i32, ptr %7, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 store i32 %92, ptr %96, align 4 br label %97 97: ; preds = %87 %98 = load i32, ptr %7, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %7, align 4 br label %83, !llvm.loop !8 100: ; preds = %83 %101 = load ptr, ptr %10, align 8 %102 = call i32 @free(ptr noundef %101) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb7_b2a8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = trunc i64 %13 to i32 %15 = call ptr @malloc(i32 noundef %14) store ptr %15, ptr %10, align 8 store i32 0, ptr %7, align 4 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %8, align 4 store i32 0, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %84 .lr.ph: ; preds = %3 br label %20 20: ; preds = %.lr.ph, %78 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp eq i32 %21, %22 br i1 %23, label %24, label %31 24: ; preds = %20 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds i32, ptr %25, i64 %28 %30 = load i32, ptr %29, align 4 br label %72 31: ; preds = %20 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp eq i32 %32, %33 br i1 %34, label %35, label %42 35: ; preds = %31 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds i32, ptr %36, i64 %39 %41 = load i32, ptr %40, align 4 br label %70 42: ; preds = %31 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %8, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = icmp slt i32 %47, %52 br i1 %53, label %54, label %61 54: ; preds = %42 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %8, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %8, align 4 %58 = sext i32 %56 to i64 %59 = getelementptr inbounds i32, ptr %55, i64 %58 %60 = load i32, ptr %59, align 4 br label %68 61: ; preds = %42 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %7, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %7, align 4 %65 = sext i32 %63 to i64 %66 = getelementptr inbounds i32, ptr %62, i64 %65 %67 = load i32, ptr %66, align 4 br label %68 68: ; preds = %61, %54 %69 = phi i32 [ %60, %54 ], [ %67, %61 ] br label %70 70: ; preds = %68, %35 %71 = phi i32 [ %41, %35 ], [ %69, %68 ] br label %72 72: ; preds = %70, %24 %73 = phi i32 [ %30, %24 ], [ %71, %70 ] %74 = load ptr, ptr %10, align 8 %75 = load i32, ptr %9, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 store i32 %73, ptr %77, align 4 br label %78 78: ; preds = %72 %79 = load i32, ptr %9, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %9, align 4 %81 = load i32, ptr %9, align 4 %82 = load i32, ptr %5, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %78 br label %84 84: ; preds = %._crit_edge, %3 store i32 0, ptr %7, align 4 %85 = load i32, ptr %7, align 4 %86 = load i32, ptr %5, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %.lr.ph2, label %104 .lr.ph2: ; preds = %84 br label %88 88: ; preds = %.lr.ph2, %98 %89 = load ptr, ptr %10, align 8 %90 = load i32, ptr %7, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %89, i64 %91 %93 = load i32, ptr %92, align 4 %94 = load ptr, ptr %4, align 8 %95 = load i32, ptr %7, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %94, i64 %96 store i32 %93, ptr %97, align 4 br label %98 98: ; preds = %88 %99 = load i32, ptr %7, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %7, align 4 %101 = load i32, ptr %7, align 4 %102 = load i32, ptr %5, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %88, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %98 br label %104 104: ; preds = %._crit_edge3, %84 %105 = load ptr, ptr %10, align 8 %106 = call i32 @free(ptr noundef %105) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp12z0wd67.c' source_filename = "/tmp/tmp12z0wd67.c" target datalayout = "e-m:e-p270: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/tmp12z0wd67.c" target datalayout = "e-m:e-p270: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/tmpxuur2jfw.c' source_filename = "/tmp/tmpxuur2jfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @check_string_setting(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call ptr @search_store(ptr noundef %8, ptr noundef %9) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %3 %14 = load ptr, ptr %6, align 8 store ptr %14, ptr %7, align 8 br label %15 15: ; preds = %13, %3 %16 = load ptr, ptr %7, align 8 ret ptr %16 } declare ptr @search_store(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/tmpxuur2jfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @check_string_setting(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call ptr @search_store(ptr noundef %8, ptr noundef %9) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %3 %14 = load ptr, ptr %6, align 8 store ptr %14, ptr %7, align 8 br label %15 15: ; preds = %13, %3 %16 = load ptr, ptr %7, align 8 ret ptr %16 } declare ptr @search_store(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/tmpdomh3th2.c' source_filename = "/tmp/tmpdomh3th2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 @M_PI = dso_local global double 0.000000e+00, align 8 @.str = private unnamed_addr constant [12 x i8] c"%d %.12e\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [5 x double], align 16 %8 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false) store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %82, %0 %10 = load i32, ptr %5, align 4 %11 = icmp sle i32 %10, 4 br i1 %11, label %12, label %85 12: ; preds = %9 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %4, align 4 br label %13 13: ; preds = %57, %12 %14 = load i32, ptr %4, align 4 %15 = sitofp i32 %14 to double %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 %18 = call double @pow(i32 noundef 10, i32 noundef %17) %19 = fcmp olt double %15, %18 br i1 %19, label %20, label %60 20: ; preds = %13 br label %21 21: ; preds = %50, %20 %22 = load i32, ptr %6, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %51 24: ; preds = %21 %25 = call i64 (...) @rand() %26 = sitofp i64 %25 to double %27 = load i64, ptr @RAND_MAX, align 8 %28 = sitofp i64 %27 to double %29 = fdiv double %26, %28 store double %29, ptr %3, align 8 %30 = call i64 (...) @rand() %31 = sitofp i64 %30 to double %32 = load i64, ptr @RAND_MAX, align 8 %33 = sitofp i64 %32 to double %34 = fdiv double %31, %33 %35 = call double @llvm.fmuladd.f64(double %34, double 1.000000e+01, double -5.000000e+00) store double %35, ptr %2, align 8 %36 = load double, ptr %3, align 8 %37 = load double, ptr @M_PI, align 8 %38 = fmul double 2.000000e+00, %37 %39 = call double @sqrt(double noundef %38) #5 %40 = fdiv double 1.000000e+00, %39 %41 = load double, ptr %2, align 8 %42 = load double, ptr %2, align 8 %43 = fmul double %41, %42 %44 = fdiv double %43, -2.000000e+00 %45 = call i32 @exp(double noundef %44) %46 = sitofp i32 %45 to double %47 = fmul double %40, %46 %48 = fcmp ole double %36, %47 br i1 %48, label %49, label %50 49: ; preds = %24 store i32 1, ptr %6, align 4 br label %51 50: ; preds = %24 br label %21, !llvm.loop !6 51: ; preds = %49, %21 %52 = load double, ptr %8, align 8 %53 = load double, ptr %2, align 8 %54 = call double @cos(double noundef %53) #5 %55 = fadd double %54, 5.000000e+00 %56 = fadd double %52, %55 store double %56, ptr %8, align 8 br label %57 57: ; preds = %51 %58 = load i32, ptr %4, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %4, align 4 br label %13, !llvm.loop !8 60: ; preds = %13 %61 = load double, ptr %8, align 8 %62 = load double, ptr @M_PI, align 8 %63 = fmul double 2.000000e+00, %62 %64 = call double @sqrt(double noundef %63) #5 %65 = fmul double %61, %64 %66 = load i32, ptr %5, align 4 %67 = add nsw i32 %66, 1 %68 = call double @pow(i32 noundef 10, i32 noundef %67) %69 = fdiv double %65, %68 %70 = load i32, ptr %5, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 %71 store double %69, ptr %72, align 8 %73 = load i32, ptr %5, align 4 %74 = add nsw i32 %73, 1 %75 = call double @pow(i32 noundef 10, i32 noundef %74) %76 = fptosi double %75 to i32 %77 = load i32, ptr %5, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 %78 %80 = load double, ptr %79, align 8 %81 = call i32 @printf(ptr noundef @.str, i32 noundef %76, double noundef %80) br label %82 82: ; preds = %60 %83 = load i32, ptr %5, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %5, align 4 br label %9, !llvm.loop !9 85: ; preds = %9 ret i32 -1 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare double @pow(i32 noundef, i32 noundef) #2 declare i64 @rand(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @sqrt(double noundef) #4 declare i32 @exp(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #4 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdomh3th2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 @M_PI = dso_local global double 0.000000e+00, align 8 @.str = private unnamed_addr constant [12 x i8] c"%d %.12e\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [5 x double], align 16 %8 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false) store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 4 br i1 %10, label %.lr.ph3, label %92 .lr.ph3: ; preds = %0 br label %11 11: ; preds = %.lr.ph3, %87 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = sitofp i32 %12 to double %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 1 %16 = call double @pow(i32 noundef 10, i32 noundef %15) %17 = fcmp olt double %13, %16 br i1 %17, label %.lr.ph1, label %65 .lr.ph1: ; preds = %11 br label %18 18: ; preds = %.lr.ph1, %56 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %18 br label %24 21: ; preds = %24 %22 = load i32, ptr %6, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %..loopexit_crit_edge, !llvm.loop !6 24: ; preds = %.lr.ph, %21 %25 = call i64 (...) @rand() %26 = sitofp i64 %25 to double %27 = load i64, ptr @RAND_MAX, align 8 %28 = sitofp i64 %27 to double %29 = fdiv double %26, %28 store double %29, ptr %3, align 8 %30 = call i64 (...) @rand() %31 = sitofp i64 %30 to double %32 = load i64, ptr @RAND_MAX, align 8 %33 = sitofp i64 %32 to double %34 = fdiv double %31, %33 %35 = call double @llvm.fmuladd.f64(double %34, double 1.000000e+01, double -5.000000e+00) store double %35, ptr %2, align 8 %36 = load double, ptr %3, align 8 %37 = load double, ptr @M_PI, align 8 %38 = fmul double 2.000000e+00, %37 %39 = call double @sqrt(double noundef %38) #5 %40 = fdiv double 1.000000e+00, %39 %41 = load double, ptr %2, align 8 %42 = load double, ptr %2, align 8 %43 = fmul double %41, %42 %44 = fdiv double %43, -2.000000e+00 %45 = call i32 @exp(double noundef %44) %46 = sitofp i32 %45 to double %47 = fmul double %40, %46 %48 = fcmp ole double %36, %47 br i1 %48, label %49, label %21 49: ; preds = %24 store i32 1, ptr %6, align 4 br label %50 ..loopexit_crit_edge: ; preds = %21 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %18 br label %50 50: ; preds = %.loopexit, %49 %51 = load double, ptr %8, align 8 %52 = load double, ptr %2, align 8 %53 = call double @cos(double noundef %52) #5 %54 = fadd double %53, 5.000000e+00 %55 = fadd double %51, %54 store double %55, ptr %8, align 8 br label %56 56: ; preds = %50 %57 = load i32, ptr %4, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %4, align 4 %59 = load i32, ptr %4, align 4 %60 = sitofp i32 %59 to double %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %61, 1 %63 = call double @pow(i32 noundef 10, i32 noundef %62) %64 = fcmp olt double %60, %63 br i1 %64, label %18, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %56 br label %65 65: ; preds = %._crit_edge, %11 %66 = load double, ptr %8, align 8 %67 = load double, ptr @M_PI, align 8 %68 = fmul double 2.000000e+00, %67 %69 = call double @sqrt(double noundef %68) #5 %70 = fmul double %66, %69 %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %71, 1 %73 = call double @pow(i32 noundef 10, i32 noundef %72) %74 = fdiv double %70, %73 %75 = load i32, ptr %5, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 %76 store double %74, ptr %77, align 8 %78 = load i32, ptr %5, align 4 %79 = add nsw i32 %78, 1 %80 = call double @pow(i32 noundef 10, i32 noundef %79) %81 = fptosi double %80 to i32 %82 = load i32, ptr %5, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [5 x double], ptr %7, i64 0, i64 %83 %85 = load double, ptr %84, align 8 %86 = call i32 @printf(ptr noundef @.str, i32 noundef %81, double noundef %85) br label %87 87: ; preds = %65 %88 = load i32, ptr %5, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %5, align 4 %90 = load i32, ptr %5, align 4 %91 = icmp sle i32 %90, 4 br i1 %91, label %11, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %87 br label %92 92: ; preds = %._crit_edge4, %0 ret i32 -1 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare double @pow(i32 noundef, i32 noundef) #2 declare i64 @rand(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @sqrt(double noundef) #4 declare i32 @exp(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #4 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpyjpehy0b.c' source_filename = "/tmp/tmpyjpehy0b.c" target datalayout = "e-m:e-p270: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"'%s': unknown function\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @unknown(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) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyjpehy0b.c" target datalayout = "e-m:e-p270: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"'%s': unknown function\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @unknown(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) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6uc9of8z.c' source_filename = "/tmp/tmp6uc9of8z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0x95\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x95() #0 { %1 = call i64 @isalnum(i32 noundef 149) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 750, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmp6uc9of8z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0x95\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x95() #0 { %1 = call i64 @isalnum(i32 noundef 149) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 750, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmpw9e553qc.c' source_filename = "/tmp/tmpw9e553qc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @svdfit(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca float, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store ptr %2, ptr %14, align 8 store i32 %3, ptr %15, align 4 store ptr %4, ptr %16, align 8 store i32 %5, ptr %17, align 4 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %31 = load i32, ptr %15, align 4 %32 = call ptr @vector(i32 noundef 1, i32 noundef %31) store ptr %32, ptr %29, align 8 %33 = load i32, ptr %17, align 4 %34 = call ptr @vector(i32 noundef 1, i32 noundef %33) store ptr %34, ptr %30, align 8 store i32 1, ptr %24, align 4 br label %35 35: ; preds = %91, %11 %36 = load i32, ptr %24, align 4 %37 = load i32, ptr %15, align 4 %38 = icmp sle i32 %36, %37 br i1 %38, label %39, label %94 39: ; preds = %35 %40 = load ptr, ptr %22, align 8 %41 = load ptr, ptr %12, align 8 %42 = load i32, ptr %24, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds float, ptr %41, i64 %43 %45 = load float, ptr %44, align 4 %46 = load ptr, ptr %30, align 8 %47 = load i32, ptr %17, align 4 call void %40(float noundef %45, ptr noundef %46, i32 noundef %47) %48 = load ptr, ptr %14, align 8 %49 = load i32, ptr %24, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds float, ptr %48, i64 %50 %52 = load float, ptr %51, align 4 %53 = fpext float %52 to double %54 = fdiv double 1.000000e+00, %53 %55 = fptrunc double %54 to float store float %55, ptr %26, align 4 store i32 1, ptr %23, align 4 br label %56 56: ; preds = %76, %39 %57 = load i32, ptr %23, align 4 %58 = load i32, ptr %17, align 4 %59 = icmp sle i32 %57, %58 br i1 %59, label %60, label %79 60: ; preds = %56 %61 = load ptr, ptr %30, align 8 %62 = load i32, ptr %23, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds float, ptr %61, i64 %63 %65 = load float, ptr %64, align 4 %66 = load float, ptr %26, align 4 %67 = fmul float %65, %66 %68 = load ptr, ptr %18, align 8 %69 = load i32, ptr %24, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = load i32, ptr %23, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds float, ptr %72, i64 %74 store float %67, ptr %75, align 4 br label %76 76: ; preds = %60 %77 = load i32, ptr %23, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %23, align 4 br label %56, !llvm.loop !6 79: ; preds = %56 %80 = load ptr, ptr %13, align 8 %81 = load i32, ptr %24, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds float, ptr %80, i64 %82 %84 = load float, ptr %83, align 4 %85 = load float, ptr %26, align 4 %86 = fmul float %84, %85 %87 = load ptr, ptr %29, align 8 %88 = load i32, ptr %24, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds float, ptr %87, i64 %89 store float %86, ptr %90, align 4 br label %91 91: ; preds = %79 %92 = load i32, ptr %24, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %24, align 4 br label %35, !llvm.loop !8 94: ; preds = %35 %95 = load ptr, ptr %18, align 8 %96 = load i32, ptr %15, align 4 %97 = load i32, ptr %17, align 4 %98 = load ptr, ptr %20, align 8 %99 = load ptr, ptr %19, align 8 call void @svdcmp(ptr noundef %95, i32 noundef %96, i32 noundef %97, ptr noundef %98, ptr noundef %99) store float 0.000000e+00, ptr %25, align 4 store i32 1, ptr %23, align 4 br label %100 100: ; preds = %119, %94 %101 = load i32, ptr %23, align 4 %102 = load i32, ptr %17, align 4 %103 = icmp sle i32 %101, %102 br i1 %103, label %104, label %122 104: ; preds = %100 %105 = load ptr, ptr %20, align 8 %106 = load i32, ptr %23, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds float, ptr %105, i64 %107 %109 = load float, ptr %108, align 4 %110 = load float, ptr %25, align 4 %111 = fcmp ogt float %109, %110 br i1 %111, label %112, label %118 112: ; preds = %104 %113 = load ptr, ptr %20, align 8 %114 = load i32, ptr %23, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds float, ptr %113, i64 %115 %117 = load float, ptr %116, align 4 store float %117, ptr %25, align 4 br label %118 118: ; preds = %112, %104 br label %119 119: ; preds = %118 %120 = load i32, ptr %23, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %23, align 4 br label %100, !llvm.loop !9 122: ; preds = %100 %123 = load float, ptr %25, align 4 %124 = fpext float %123 to double %125 = fmul double 1.000000e-05, %124 %126 = fptrunc double %125 to float store float %126, ptr %27, align 4 store i32 1, ptr %23, align 4 br label %127 127: ; preds = %145, %122 %128 = load i32, ptr %23, align 4 %129 = load i32, ptr %17, align 4 %130 = icmp sle i32 %128, %129 br i1 %130, label %131, label %148 131: ; preds = %127 %132 = load ptr, ptr %20, align 8 %133 = load i32, ptr %23, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds float, ptr %132, i64 %134 %136 = load float, ptr %135, align 4 %137 = load float, ptr %27, align 4 %138 = fcmp olt float %136, %137 br i1 %138, label %139, label %144 139: ; preds = %131 %140 = load ptr, ptr %20, align 8 %141 = load i32, ptr %23, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds float, ptr %140, i64 %142 store float 0.000000e+00, ptr %143, align 4 br label %144 144: ; preds = %139, %131 br label %145 145: ; preds = %144 %146 = load i32, ptr %23, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %23, align 4 br label %127, !llvm.loop !10 148: ; preds = %127 %149 = load ptr, ptr %18, align 8 %150 = load ptr, ptr %20, align 8 %151 = load ptr, ptr %19, align 8 %152 = load i32, ptr %15, align 4 %153 = load i32, ptr %17, align 4 %154 = load ptr, ptr %29, align 8 %155 = load ptr, ptr %16, align 8 call void @svbksb(ptr noundef %149, ptr noundef %150, ptr noundef %151, i32 noundef %152, i32 noundef %153, ptr noundef %154, ptr noundef %155) %156 = load ptr, ptr %21, align 8 store float 0.000000e+00, ptr %156, align 4 store i32 1, ptr %24, align 4 br label %157 157: ; preds = %209, %148 %158 = load i32, ptr %24, align 4 %159 = load i32, ptr %15, align 4 %160 = icmp sle i32 %158, %159 br i1 %160, label %161, label %212 161: ; preds = %157 %162 = load ptr, ptr %22, align 8 %163 = load ptr, ptr %12, align 8 %164 = load i32, ptr %24, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds float, ptr %163, i64 %165 %167 = load float, ptr %166, align 4 %168 = load ptr, ptr %30, align 8 %169 = load i32, ptr %17, align 4 call void %162(float noundef %167, ptr noundef %168, i32 noundef %169) store float 0.000000e+00, ptr %28, align 4 store i32 1, ptr %23, align 4 br label %170 170: ; preds = %187, %161 %171 = load i32, ptr %23, align 4 %172 = load i32, ptr %17, align 4 %173 = icmp sle i32 %171, %172 br i1 %173, label %174, label %190 174: ; preds = %170 %175 = load ptr, ptr %16, align 8 %176 = load i32, ptr %23, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds float, ptr %175, i64 %177 %179 = load float, ptr %178, align 4 %180 = load ptr, ptr %30, align 8 %181 = load i32, ptr %23, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds float, ptr %180, i64 %182 %184 = load float, ptr %183, align 4 %185 = load float, ptr %28, align 4 %186 = call float @llvm.fmuladd.f32(float %179, float %184, float %185) store float %186, ptr %28, align 4 br label %187 187: ; preds = %174 %188 = load i32, ptr %23, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %23, align 4 br label %170, !llvm.loop !11 190: ; preds = %170 %191 = load ptr, ptr %13, align 8 %192 = load i32, ptr %24, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds float, ptr %191, i64 %193 %195 = load float, ptr %194, align 4 %196 = load float, ptr %28, align 4 %197 = fsub float %195, %196 %198 = load ptr, ptr %14, align 8 %199 = load i32, ptr %24, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds float, ptr %198, i64 %200 %202 = load float, ptr %201, align 4 %203 = fdiv float %197, %202 store float %203, ptr %26, align 4 %204 = load float, ptr %26, align 4 %205 = load float, ptr %26, align 4 %206 = load ptr, ptr %21, align 8 %207 = load float, ptr %206, align 4 %208 = call float @llvm.fmuladd.f32(float %204, float %205, float %207) store float %208, ptr %206, align 4 br label %209 209: ; preds = %190 %210 = load i32, ptr %24, align 4 %211 = add nsw i32 %210, 1 store i32 %211, ptr %24, align 4 br label %157, !llvm.loop !12 212: ; preds = %157 %213 = load ptr, ptr %30, align 8 %214 = load i32, ptr %17, align 4 %215 = call i32 @free_vector(ptr noundef %213, i32 noundef 1, i32 noundef %214) %216 = load ptr, ptr %29, align 8 %217 = load i32, ptr %15, align 4 %218 = call i32 @free_vector(ptr noundef %216, i32 noundef 1, i32 noundef %217) ret void } declare ptr @vector(i32 noundef, i32 noundef) #1 declare void @svdcmp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare void @svbksb(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @free_vector(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" } 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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw9e553qc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @svdfit(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca float, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store ptr %2, ptr %14, align 8 store i32 %3, ptr %15, align 4 store ptr %4, ptr %16, align 8 store i32 %5, ptr %17, align 4 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %31 = load i32, ptr %15, align 4 %32 = call ptr @vector(i32 noundef 1, i32 noundef %31) store ptr %32, ptr %29, align 8 %33 = load i32, ptr %17, align 4 %34 = call ptr @vector(i32 noundef 1, i32 noundef %33) store ptr %34, ptr %30, align 8 store i32 1, ptr %24, align 4 %35 = load i32, ptr %24, align 4 %36 = load i32, ptr %15, align 4 %37 = icmp sle i32 %35, %36 br i1 %37, label %.lr.ph2, label %98 .lr.ph2: ; preds = %11 br label %38 38: ; preds = %.lr.ph2, %92 %39 = load ptr, ptr %22, align 8 %40 = load ptr, ptr %12, align 8 %41 = load i32, ptr %24, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds float, ptr %40, i64 %42 %44 = load float, ptr %43, align 4 %45 = load ptr, ptr %30, align 8 %46 = load i32, ptr %17, align 4 call void %39(float noundef %44, ptr noundef %45, i32 noundef %46) %47 = load ptr, ptr %14, align 8 %48 = load i32, ptr %24, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds float, ptr %47, i64 %49 %51 = load float, ptr %50, align 4 %52 = fpext float %51 to double %53 = fdiv double 1.000000e+00, %52 %54 = fptrunc double %53 to float store float %54, ptr %26, align 4 store i32 1, ptr %23, align 4 %55 = load i32, ptr %23, align 4 %56 = load i32, ptr %17, align 4 %57 = icmp sle i32 %55, %56 br i1 %57, label %.lr.ph, label %80 .lr.ph: ; preds = %38 br label %58 58: ; preds = %.lr.ph, %74 %59 = load ptr, ptr %30, align 8 %60 = load i32, ptr %23, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds float, ptr %59, i64 %61 %63 = load float, ptr %62, align 4 %64 = load float, ptr %26, align 4 %65 = fmul float %63, %64 %66 = load ptr, ptr %18, align 8 %67 = load i32, ptr %24, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = load i32, ptr %23, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds float, ptr %70, i64 %72 store float %65, ptr %73, align 4 br label %74 74: ; preds = %58 %75 = load i32, ptr %23, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %23, align 4 %77 = load i32, ptr %23, align 4 %78 = load i32, ptr %17, align 4 %79 = icmp sle i32 %77, %78 br i1 %79, label %58, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %80 80: ; preds = %._crit_edge, %38 %81 = load ptr, ptr %13, align 8 %82 = load i32, ptr %24, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds float, ptr %81, i64 %83 %85 = load float, ptr %84, align 4 %86 = load float, ptr %26, align 4 %87 = fmul float %85, %86 %88 = load ptr, ptr %29, align 8 %89 = load i32, ptr %24, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds float, ptr %88, i64 %90 store float %87, ptr %91, align 4 br label %92 92: ; preds = %80 %93 = load i32, ptr %24, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %24, align 4 %95 = load i32, ptr %24, align 4 %96 = load i32, ptr %15, align 4 %97 = icmp sle i32 %95, %96 br i1 %97, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %92 br label %98 98: ; preds = %._crit_edge3, %11 %99 = load ptr, ptr %18, align 8 %100 = load i32, ptr %15, align 4 %101 = load i32, ptr %17, align 4 %102 = load ptr, ptr %20, align 8 %103 = load ptr, ptr %19, align 8 call void @svdcmp(ptr noundef %99, i32 noundef %100, i32 noundef %101, ptr noundef %102, ptr noundef %103) store float 0.000000e+00, ptr %25, align 4 store i32 1, ptr %23, align 4 %104 = load i32, ptr %23, align 4 %105 = load i32, ptr %17, align 4 %106 = icmp sle i32 %104, %105 br i1 %106, label %.lr.ph5, label %128 .lr.ph5: ; preds = %98 br label %107 107: ; preds = %.lr.ph5, %122 %108 = load ptr, ptr %20, align 8 %109 = load i32, ptr %23, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds float, ptr %108, i64 %110 %112 = load float, ptr %111, align 4 %113 = load float, ptr %25, align 4 %114 = fcmp ogt float %112, %113 br i1 %114, label %115, label %121 115: ; preds = %107 %116 = load ptr, ptr %20, align 8 %117 = load i32, ptr %23, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds float, ptr %116, i64 %118 %120 = load float, ptr %119, align 4 store float %120, ptr %25, align 4 br label %121 121: ; preds = %115, %107 br label %122 122: ; preds = %121 %123 = load i32, ptr %23, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %23, align 4 %125 = load i32, ptr %23, align 4 %126 = load i32, ptr %17, align 4 %127 = icmp sle i32 %125, %126 br i1 %127, label %107, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %122 br label %128 128: ; preds = %._crit_edge6, %98 %129 = load float, ptr %25, align 4 %130 = fpext float %129 to double %131 = fmul double 1.000000e-05, %130 %132 = fptrunc double %131 to float store float %132, ptr %27, align 4 store i32 1, ptr %23, align 4 %133 = load i32, ptr %23, align 4 %134 = load i32, ptr %17, align 4 %135 = icmp sle i32 %133, %134 br i1 %135, label %.lr.ph8, label %156 .lr.ph8: ; preds = %128 br label %136 136: ; preds = %.lr.ph8, %150 %137 = load ptr, ptr %20, align 8 %138 = load i32, ptr %23, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds float, ptr %137, i64 %139 %141 = load float, ptr %140, align 4 %142 = load float, ptr %27, align 4 %143 = fcmp olt float %141, %142 br i1 %143, label %144, label %149 144: ; preds = %136 %145 = load ptr, ptr %20, align 8 %146 = load i32, ptr %23, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds float, ptr %145, i64 %147 store float 0.000000e+00, ptr %148, align 4 br label %149 149: ; preds = %144, %136 br label %150 150: ; preds = %149 %151 = load i32, ptr %23, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %23, align 4 %153 = load i32, ptr %23, align 4 %154 = load i32, ptr %17, align 4 %155 = icmp sle i32 %153, %154 br i1 %155, label %136, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %150 br label %156 156: ; preds = %._crit_edge9, %128 %157 = load ptr, ptr %18, align 8 %158 = load ptr, ptr %20, align 8 %159 = load ptr, ptr %19, align 8 %160 = load i32, ptr %15, align 4 %161 = load i32, ptr %17, align 4 %162 = load ptr, ptr %29, align 8 %163 = load ptr, ptr %16, align 8 call void @svbksb(ptr noundef %157, ptr noundef %158, ptr noundef %159, i32 noundef %160, i32 noundef %161, ptr noundef %162, ptr noundef %163) %164 = load ptr, ptr %21, align 8 store float 0.000000e+00, ptr %164, align 4 store i32 1, ptr %24, align 4 %165 = load i32, ptr %24, align 4 %166 = load i32, ptr %15, align 4 %167 = icmp sle i32 %165, %166 br i1 %167, label %.lr.ph14, label %224 .lr.ph14: ; preds = %156 br label %168 168: ; preds = %.lr.ph14, %218 %169 = load ptr, ptr %22, align 8 %170 = load ptr, ptr %12, align 8 %171 = load i32, ptr %24, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds float, ptr %170, i64 %172 %174 = load float, ptr %173, align 4 %175 = load ptr, ptr %30, align 8 %176 = load i32, ptr %17, align 4 call void %169(float noundef %174, ptr noundef %175, i32 noundef %176) store float 0.000000e+00, ptr %28, align 4 store i32 1, ptr %23, align 4 %177 = load i32, ptr %23, align 4 %178 = load i32, ptr %17, align 4 %179 = icmp sle i32 %177, %178 br i1 %179, label %.lr.ph11, label %199 .lr.ph11: ; preds = %168 br label %180 180: ; preds = %.lr.ph11, %193 %181 = load ptr, ptr %16, align 8 %182 = load i32, ptr %23, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds float, ptr %181, i64 %183 %185 = load float, ptr %184, align 4 %186 = load ptr, ptr %30, align 8 %187 = load i32, ptr %23, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds float, ptr %186, i64 %188 %190 = load float, ptr %189, align 4 %191 = load float, ptr %28, align 4 %192 = call float @llvm.fmuladd.f32(float %185, float %190, float %191) store float %192, ptr %28, align 4 br label %193 193: ; preds = %180 %194 = load i32, ptr %23, align 4 %195 = add nsw i32 %194, 1 store i32 %195, ptr %23, align 4 %196 = load i32, ptr %23, align 4 %197 = load i32, ptr %17, align 4 %198 = icmp sle i32 %196, %197 br i1 %198, label %180, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %193 br label %199 199: ; preds = %._crit_edge12, %168 %200 = load ptr, ptr %13, align 8 %201 = load i32, ptr %24, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds float, ptr %200, i64 %202 %204 = load float, ptr %203, align 4 %205 = load float, ptr %28, align 4 %206 = fsub float %204, %205 %207 = load ptr, ptr %14, align 8 %208 = load i32, ptr %24, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds float, ptr %207, i64 %209 %211 = load float, ptr %210, align 4 %212 = fdiv float %206, %211 store float %212, ptr %26, align 4 %213 = load float, ptr %26, align 4 %214 = load float, ptr %26, align 4 %215 = load ptr, ptr %21, align 8 %216 = load float, ptr %215, align 4 %217 = call float @llvm.fmuladd.f32(float %213, float %214, float %216) store float %217, ptr %215, align 4 br label %218 218: ; preds = %199 %219 = load i32, ptr %24, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %24, align 4 %221 = load i32, ptr %24, align 4 %222 = load i32, ptr %15, align 4 %223 = icmp sle i32 %221, %222 br i1 %223, label %168, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %218 br label %224 224: ; preds = %._crit_edge15, %156 %225 = load ptr, ptr %30, align 8 %226 = load i32, ptr %17, align 4 %227 = call i32 @free_vector(ptr noundef %225, i32 noundef 1, i32 noundef %226) %228 = load ptr, ptr %29, align 8 %229 = load i32, ptr %15, align 4 %230 = call i32 @free_vector(ptr noundef %228, i32 noundef 1, i32 noundef %229) ret void } declare ptr @vector(i32 noundef, i32 noundef) #1 declare void @svdcmp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare void @svbksb(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @free_vector(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" } 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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpig4m7azz.c' source_filename = "/tmp/tmpig4m7azz.c" target datalayout = "e-m:e-p270: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"I %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generic_sendinfo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 47) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 store ptr %10, ptr %3, align 8 br label %14 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %3, align 8 br label %14 14: ; preds = %11, %9 %15 = load ptr, ptr %3, align 8 %16 = call ptr @strrchr(ptr noundef %15, i8 noundef signext 46) store ptr %16, ptr %4, align 8 %17 = load ptr, ptr %4, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %14 %20 = load ptr, ptr %4, align 8 store i8 0, ptr %20, align 1 br label %21 21: ; preds = %19, %14 %22 = load ptr, ptr %3, align 8 %23 = call i32 @generic_sendmsg(ptr noundef @.str, ptr noundef %22) ret void } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @generic_sendmsg(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/tmpig4m7azz.c" target datalayout = "e-m:e-p270: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"I %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generic_sendinfo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 47) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 store ptr %10, ptr %3, align 8 br label %14 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %3, align 8 br label %14 14: ; preds = %11, %9 %15 = load ptr, ptr %3, align 8 %16 = call ptr @strrchr(ptr noundef %15, i8 noundef signext 46) store ptr %16, ptr %4, align 8 %17 = load ptr, ptr %4, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %14 %20 = load ptr, ptr %4, align 8 store i8 0, ptr %20, align 1 br label %21 21: ; preds = %19, %14 %22 = load ptr, ptr %3, align 8 %23 = call i32 @generic_sendmsg(ptr noundef @.str, ptr noundef %22) ret void } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @generic_sendmsg(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/tmpjeojzkz8.c' source_filename = "/tmp/tmpjeojzkz8.c" target datalayout = "e-m:e-p270: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 [113 x i8] c"USAGE: %s <input consistent-trees directory> <output LHALOTREE directory> <particle mass (10^10 Msun/h units) >\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 0 %9 = load ptr, ptr %8, align 8 %10 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef %9) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjeojzkz8.c" target datalayout = "e-m:e-p270: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 [113 x i8] c"USAGE: %s <input consistent-trees directory> <output LHALOTREE directory> <particle mass (10^10 Msun/h units) >\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 0 %9 = load ptr, ptr %8, align 8 %10 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef %9) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj6g8c2dk.c' source_filename = "/tmp/tmpj6g8c2dk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr = type { i64 } %struct.sockaddr_in = type { i16 } %struct.sockaddr_in6 = type { i16 } @AF_INET = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @get_in_port(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds %struct.sockaddr, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = load i64, ptr @AF_INET, align 8 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 %12 = load i16, ptr %11, align 2 store i16 %12, ptr %2, align 2 br label %17 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds %struct.sockaddr_in6, ptr %14, i32 0, i32 0 %16 = load i16, ptr %15, align 2 store i16 %16, ptr %2, align 2 br label %17 17: ; preds = %13, %9 %18 = load i16, ptr %2, align 2 ret i16 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj6g8c2dk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr = type { i64 } %struct.sockaddr_in = type { i16 } %struct.sockaddr_in6 = type { i16 } @AF_INET = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @get_in_port(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds %struct.sockaddr, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = load i64, ptr @AF_INET, align 8 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 %12 = load i16, ptr %11, align 2 store i16 %12, ptr %2, align 2 br label %17 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds %struct.sockaddr_in6, ptr %14, i32 0, i32 0 %16 = load i16, ptr %15, align 2 store i16 %16, ptr %2, align 2 br label %17 17: ; preds = %13, %9 %18 = load i16, ptr %2, align 2 ret i16 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2zpji5i_.c' source_filename = "/tmp/tmp2zpji5i_.c" target datalayout = "e-m:e-p270: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"%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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = 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 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %14 13: ; preds = %2 store i32 -1, ptr %3, align 4 br label %35 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i64 @atol(ptr noundef %17) store i64 %18, ptr %6, align 8 store i64 1, ptr %7, align 8 store i64 2, ptr %8, align 8 store i64 0, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 0, ptr %9, align 8 br label %19 19: ; preds = %29, %14 %20 = load i64, ptr %9, align 8 %21 = load i64, ptr %6, align 8 %22 = icmp ult i64 %20, %21 br i1 %22, label %23, label %32 23: ; preds = %19 %24 = load i64, ptr %7, align 8 %25 = load i64, ptr %8, align 8 %26 = add i64 %24, %25 store i64 %26, ptr %10, align 8 %27 = load i64, ptr %8, align 8 store i64 %27, ptr %7, align 8 %28 = load i64, ptr %10, align 8 store i64 %28, ptr %8, align 8 br label %29 29: ; preds = %23 %30 = load i64, ptr %9, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %9, align 8 br label %19, !llvm.loop !6 32: ; preds = %19 %33 = load i64, ptr %10, align 8 %34 = call i32 @printf(ptr noundef @.str, i64 noundef %33) br label %35 35: ; preds = %32, %13 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i64 @atol(ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2zpji5i_.c" target datalayout = "e-m:e-p270: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"%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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = 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 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %14 13: ; preds = %2 store i32 -1, ptr %3, align 4 br label %37 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i64 @atol(ptr noundef %17) store i64 %18, ptr %6, align 8 store i64 1, ptr %7, align 8 store i64 2, ptr %8, align 8 store i64 0, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 0, ptr %9, align 8 %19 = load i64, ptr %9, align 8 %20 = load i64, ptr %6, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %.lr.ph, label %34 .lr.ph: ; preds = %14 br label %22 22: ; preds = %.lr.ph, %28 %23 = load i64, ptr %7, align 8 %24 = load i64, ptr %8, align 8 %25 = add i64 %23, %24 store i64 %25, ptr %10, align 8 %26 = load i64, ptr %8, align 8 store i64 %26, ptr %7, align 8 %27 = load i64, ptr %10, align 8 store i64 %27, ptr %8, align 8 br label %28 28: ; preds = %22 %29 = load i64, ptr %9, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %9, align 8 %31 = load i64, ptr %9, align 8 %32 = load i64, ptr %6, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %14 %35 = load i64, ptr %10, align 8 %36 = call i32 @printf(ptr noundef @.str, i64 noundef %35) br label %37 37: ; preds = %34, %13 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i64 @atol(ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpza8dgdss.c' source_filename = "/tmp/tmpza8dgdss.c" target datalayout = "e-m:e-p270: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/tmpza8dgdss.c" target datalayout = "e-m:e-p270: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/tmp9roksnyl.c' source_filename = "/tmp/tmp9roksnyl.c" target datalayout = "e-m:e-p270: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/tmp9roksnyl.c" target datalayout = "e-m:e-p270: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/tmpwd5i9kd5.c' source_filename = "/tmp/tmpwd5i9kd5.c" target datalayout = "e-m:e-p270: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/tmpwd5i9kd5.c" target datalayout = "e-m:e-p270: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/tmppxhts8ag.c' source_filename = "/tmp/tmppxhts8ag.c" target datalayout = "e-m:e-p270: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/tmppxhts8ag.c" target datalayout = "e-m:e-p270: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/tmpz82plyyg.c' source_filename = "/tmp/tmpz82plyyg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"NOT IMPLEMENTED:pa_tagstruct_put_channel_map\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_tagstruct_put_channel_map() #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/tmpz82plyyg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"NOT IMPLEMENTED:pa_tagstruct_put_channel_map\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_tagstruct_put_channel_map() #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/tmp3xvqahyx.c' source_filename = "/tmp/tmp3xvqahyx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"#address-cells\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fdt_address_cells(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 = call i32 @fdt_cells(ptr noundef %5, i32 noundef %6, ptr noundef @.str) ret i32 %7 } declare i32 @fdt_cells(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3xvqahyx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"#address-cells\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fdt_address_cells(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 = call i32 @fdt_cells(ptr noundef %5, i32 noundef %6, ptr noundef @.str) ret i32 %7 } declare i32 @fdt_cells(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj86hdray.c' source_filename = "/tmp/tmpj86hdray.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj86hdray.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwc54_fp9.c' source_filename = "/tmp/tmpwc54_fp9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Hello world #%d\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"shared_buffer = %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [30 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @buffer_create(i32 noundef 32768, ptr noundef %8, ptr noundef %6) %12 = load ptr, ptr %6, align 8 %13 = call i32 @buffer_clear(ptr noundef %7, ptr noundef %12) store i32 0, ptr %9, align 4 br label %14 14: ; preds = %17, %2 %15 = load i32, ptr %9, align 4 %16 = icmp slt i32 %15, 1000 br i1 %16, label %17, label %30 17: ; preds = %14 %18 = getelementptr inbounds [30 x i8], ptr %10, i64 0, i64 0 %19 = call i32 @memset(ptr noundef %18, i32 noundef 30, i32 noundef 0) %20 = getelementptr inbounds [30 x i8], ptr %10, i64 0, i64 0 %21 = load i32, ptr %9, align 4 %22 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str, i32 noundef %21) %23 = getelementptr inbounds [30 x i8], ptr %10, i64 0, i64 0 %24 = load ptr, ptr %6, align 8 %25 = call i32 @insert_item(ptr noundef %23, ptr noundef %7, ptr noundef %24) %26 = load ptr, ptr %7, align 8 %27 = call i32 @printf(ptr noundef @.str.1, ptr noundef %26) %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %9, align 4 br label %14, !llvm.loop !6 30: ; preds = %14 %31 = load i32, ptr %8, align 4 %32 = load ptr, ptr %6, align 8 %33 = call i32 @buffer_close(i32 noundef %31, ptr noundef %32) ret i32 0 } declare i32 @buffer_create(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @buffer_clear(ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @insert_item(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @buffer_close(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/tmpwc54_fp9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Hello world #%d\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"shared_buffer = %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [30 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @buffer_create(i32 noundef 32768, ptr noundef %8, ptr noundef %6) %12 = load ptr, ptr %6, align 8 %13 = call i32 @buffer_clear(ptr noundef %7, ptr noundef %12) store i32 0, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = icmp slt i32 %14, 1000 br i1 %15, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %16 %17 = getelementptr inbounds [30 x i8], ptr %10, i64 0, i64 0 %18 = call i32 @memset(ptr noundef %17, i32 noundef 30, i32 noundef 0) %19 = getelementptr inbounds [30 x i8], ptr %10, i64 0, i64 0 %20 = load i32, ptr %9, align 4 %21 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str, i32 noundef %20) %22 = getelementptr inbounds [30 x i8], ptr %10, i64 0, i64 0 %23 = load ptr, ptr %6, align 8 %24 = call i32 @insert_item(ptr noundef %22, ptr noundef %7, ptr noundef %23) %25 = load ptr, ptr %7, align 8 %26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %25) %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 %29 = load i32, ptr %9, align 4 %30 = icmp slt i32 %29, 1000 br i1 %30, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %31 31: ; preds = %._crit_edge, %2 %32 = load i32, ptr %8, align 4 %33 = load ptr, ptr %6, align 8 %34 = call i32 @buffer_close(i32 noundef %32, ptr noundef %33) ret i32 0 } declare i32 @buffer_create(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @buffer_clear(ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @insert_item(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @buffer_close(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/tmpi0huis22.c' source_filename = "/tmp/tmpi0huis22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cst_safe_calloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call ptr @cst_safe_alloc(i32 noundef %3) ret ptr %4 } declare ptr @cst_safe_alloc(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/tmpi0huis22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cst_safe_calloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call ptr @cst_safe_alloc(i32 noundef %3) ret ptr %4 } declare ptr @cst_safe_alloc(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/tmpavcjgfwr.c' source_filename = "/tmp/tmpavcjgfwr.c" target datalayout = "e-m:e-p270: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/tmpavcjgfwr.c" target datalayout = "e-m:e-p270: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/tmp3zdeta49.c' source_filename = "/tmp/tmp3zdeta49.c" target datalayout = "e-m:e-p270: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.str1 = private unnamed_addr constant [80 x i8] c"An array was initalized to me.\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [33 x i8] c"A pointer was initialized to me.\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"I'm an argument to puts().\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"I am a #defined string.\00", align 1 ; 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 ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str1, i64 80, i1 false) store ptr @.str, ptr %3, align 8 %4 = call i32 @puts(ptr noundef @.str.1) %5 = call i32 @puts(ptr noundef @.str.2) %6 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @puts(ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @puts(ptr noundef %8) %10 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 5 %11 = call i32 @puts(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 4 %14 = call i32 @puts(ptr noundef %13) 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmp3zdeta49.c" target datalayout = "e-m:e-p270: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.str1 = private unnamed_addr constant [80 x i8] c"An array was initalized to me.\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [33 x i8] c"A pointer was initialized to me.\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"I'm an argument to puts().\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"I am a #defined string.\00", align 1 ; 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 ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str1, i64 80, i1 false) store ptr @.str, ptr %3, align 8 %4 = call i32 @puts(ptr noundef @.str.1) %5 = call i32 @puts(ptr noundef @.str.2) %6 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @puts(ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @puts(ptr noundef %8) %10 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 5 %11 = call i32 @puts(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 4 %14 = call i32 @puts(ptr noundef %13) 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmp59a8o64z.c' source_filename = "/tmp/tmp59a8o64z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_disable_blockprotect_at25fs040(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 @spi_disable_blockprotect_generic(ptr noundef %3, i32 noundef 124, i32 noundef 128, i32 noundef 0) ret i32 %4 } declare i32 @spi_disable_blockprotect_generic(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp59a8o64z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spi_disable_blockprotect_at25fs040(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 @spi_disable_blockprotect_generic(ptr noundef %3, i32 noundef 124, i32 noundef 128, i32 noundef 0) ret i32 %4 } declare i32 @spi_disable_blockprotect_generic(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp91g0hdpa.c' source_filename = "/tmp/tmp91g0hdpa.c" target datalayout = "e-m:e-p270: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" {\0A\00", align 1 @.str.1 = private unnamed_addr constant [55 x i8] c" ( %f %f %f ) ( %f %f %f ) ( %f %f %f ) %s 0 0 0 1 1\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" }\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_block(ptr noundef %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store float %2, ptr %11, align 4 store float %3, ptr %12, align 4 store float %4, ptr %13, align 4 store float %5, ptr %14, align 4 store float %6, ptr %15, align 4 store float %7, ptr %16, align 4 %17 = load ptr, ptr %9, align 8 %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str) %19 = load ptr, ptr %9, align 8 %20 = load float, ptr %11, align 4 %21 = fpext float %20 to double %22 = load float, ptr %12, align 4 %23 = fpext float %22 to double %24 = load float, ptr %16, align 4 %25 = fpext float %24 to double %26 = load float, ptr %14, align 4 %27 = fpext float %26 to double %28 = load float, ptr %15, align 4 %29 = fpext float %28 to double %30 = load float, ptr %16, align 4 %31 = fpext float %30 to double %32 = load float, ptr %14, align 4 %33 = fpext float %32 to double %34 = load float, ptr %12, align 4 %35 = fpext float %34 to double %36 = load float, ptr %16, align 4 %37 = fpext float %36 to double %38 = load ptr, ptr %10, align 8 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.1, double noundef %21, double noundef %23, double noundef %25, double noundef %27, double noundef %29, double noundef %31, double noundef %33, double noundef %35, double noundef %37, ptr noundef %38) %40 = load ptr, ptr %9, align 8 %41 = load float, ptr %14, align 4 %42 = fpext float %41 to double %43 = load float, ptr %15, align 4 %44 = fpext float %43 to double %45 = load float, ptr %13, align 4 %46 = fpext float %45 to double %47 = load float, ptr %11, align 4 %48 = fpext float %47 to double %49 = load float, ptr %12, align 4 %50 = fpext float %49 to double %51 = load float, ptr %13, align 4 %52 = fpext float %51 to double %53 = load float, ptr %14, align 4 %54 = fpext float %53 to double %55 = load float, ptr %12, align 4 %56 = fpext float %55 to double %57 = load float, ptr %13, align 4 %58 = fpext float %57 to double %59 = load ptr, ptr %10, align 8 %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.1, double noundef %42, double noundef %44, double noundef %46, double noundef %48, double noundef %50, double noundef %52, double noundef %54, double noundef %56, double noundef %58, ptr noundef %59) %61 = load ptr, ptr %9, align 8 %62 = load float, ptr %11, align 4 %63 = fpext float %62 to double %64 = load float, ptr %12, align 4 %65 = fpext float %64 to double %66 = load float, ptr %13, align 4 %67 = fpext float %66 to double %68 = load float, ptr %11, align 4 %69 = fpext float %68 to double %70 = load float, ptr %12, align 4 %71 = fpext float %70 to double %72 = load float, ptr %16, align 4 %73 = fpext float %72 to double %74 = load float, ptr %14, align 4 %75 = fpext float %74 to double %76 = load float, ptr %12, align 4 %77 = fpext float %76 to double %78 = load float, ptr %13, align 4 %79 = fpext float %78 to double %80 = load ptr, ptr %10, align 8 %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.1, double noundef %63, double noundef %65, double noundef %67, double noundef %69, double noundef %71, double noundef %73, double noundef %75, double noundef %77, double noundef %79, ptr noundef %80) %82 = load ptr, ptr %9, align 8 %83 = load float, ptr %11, align 4 %84 = fpext float %83 to double %85 = load float, ptr %15, align 4 %86 = fpext float %85 to double %87 = load float, ptr %16, align 4 %88 = fpext float %87 to double %89 = load float, ptr %11, align 4 %90 = fpext float %89 to double %91 = load float, ptr %15, align 4 %92 = fpext float %91 to double %93 = load float, ptr %13, align 4 %94 = fpext float %93 to double %95 = load float, ptr %14, align 4 %96 = fpext float %95 to double %97 = load float, ptr %15, align 4 %98 = fpext float %97 to double %99 = load float, ptr %13, align 4 %100 = fpext float %99 to double %101 = load ptr, ptr %10, align 8 %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.1, double noundef %84, double noundef %86, double noundef %88, double noundef %90, double noundef %92, double noundef %94, double noundef %96, double noundef %98, double noundef %100, ptr noundef %101) %103 = load ptr, ptr %9, align 8 %104 = load float, ptr %11, align 4 %105 = fpext float %104 to double %106 = load float, ptr %12, align 4 %107 = fpext float %106 to double %108 = load float, ptr %13, align 4 %109 = fpext float %108 to double %110 = load float, ptr %11, align 4 %111 = fpext float %110 to double %112 = load float, ptr %15, align 4 %113 = fpext float %112 to double %114 = load float, ptr %16, align 4 %115 = fpext float %114 to double %116 = load float, ptr %11, align 4 %117 = fpext float %116 to double %118 = load float, ptr %12, align 4 %119 = fpext float %118 to double %120 = load float, ptr %16, align 4 %121 = fpext float %120 to double %122 = load ptr, ptr %10, align 8 %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.1, double noundef %105, double noundef %107, double noundef %109, double noundef %111, double noundef %113, double noundef %115, double noundef %117, double noundef %119, double noundef %121, ptr noundef %122) %124 = load ptr, ptr %9, align 8 %125 = load float, ptr %14, align 4 %126 = fpext float %125 to double %127 = load float, ptr %15, align 4 %128 = fpext float %127 to double %129 = load float, ptr %16, align 4 %130 = fpext float %129 to double %131 = load float, ptr %14, align 4 %132 = fpext float %131 to double %133 = load float, ptr %12, align 4 %134 = fpext float %133 to double %135 = load float, ptr %13, align 4 %136 = fpext float %135 to double %137 = load float, ptr %14, align 4 %138 = fpext float %137 to double %139 = load float, ptr %12, align 4 %140 = fpext float %139 to double %141 = load float, ptr %16, align 4 %142 = fpext float %141 to double %143 = load ptr, ptr %10, align 8 %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef @.str.1, double noundef %126, double noundef %128, double noundef %130, double noundef %132, double noundef %134, double noundef %136, double noundef %138, double noundef %140, double noundef %142, ptr noundef %143) %145 = load ptr, ptr %9, align 8 %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %145, ptr noundef @.str.2) ret void } declare i32 @fprintf(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/tmp91g0hdpa.c" target datalayout = "e-m:e-p270: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" {\0A\00", align 1 @.str.1 = private unnamed_addr constant [55 x i8] c" ( %f %f %f ) ( %f %f %f ) ( %f %f %f ) %s 0 0 0 1 1\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" }\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_block(ptr noundef %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store float %2, ptr %11, align 4 store float %3, ptr %12, align 4 store float %4, ptr %13, align 4 store float %5, ptr %14, align 4 store float %6, ptr %15, align 4 store float %7, ptr %16, align 4 %17 = load ptr, ptr %9, align 8 %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str) %19 = load ptr, ptr %9, align 8 %20 = load float, ptr %11, align 4 %21 = fpext float %20 to double %22 = load float, ptr %12, align 4 %23 = fpext float %22 to double %24 = load float, ptr %16, align 4 %25 = fpext float %24 to double %26 = load float, ptr %14, align 4 %27 = fpext float %26 to double %28 = load float, ptr %15, align 4 %29 = fpext float %28 to double %30 = load float, ptr %16, align 4 %31 = fpext float %30 to double %32 = load float, ptr %14, align 4 %33 = fpext float %32 to double %34 = load float, ptr %12, align 4 %35 = fpext float %34 to double %36 = load float, ptr %16, align 4 %37 = fpext float %36 to double %38 = load ptr, ptr %10, align 8 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.1, double noundef %21, double noundef %23, double noundef %25, double noundef %27, double noundef %29, double noundef %31, double noundef %33, double noundef %35, double noundef %37, ptr noundef %38) %40 = load ptr, ptr %9, align 8 %41 = load float, ptr %14, align 4 %42 = fpext float %41 to double %43 = load float, ptr %15, align 4 %44 = fpext float %43 to double %45 = load float, ptr %13, align 4 %46 = fpext float %45 to double %47 = load float, ptr %11, align 4 %48 = fpext float %47 to double %49 = load float, ptr %12, align 4 %50 = fpext float %49 to double %51 = load float, ptr %13, align 4 %52 = fpext float %51 to double %53 = load float, ptr %14, align 4 %54 = fpext float %53 to double %55 = load float, ptr %12, align 4 %56 = fpext float %55 to double %57 = load float, ptr %13, align 4 %58 = fpext float %57 to double %59 = load ptr, ptr %10, align 8 %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.1, double noundef %42, double noundef %44, double noundef %46, double noundef %48, double noundef %50, double noundef %52, double noundef %54, double noundef %56, double noundef %58, ptr noundef %59) %61 = load ptr, ptr %9, align 8 %62 = load float, ptr %11, align 4 %63 = fpext float %62 to double %64 = load float, ptr %12, align 4 %65 = fpext float %64 to double %66 = load float, ptr %13, align 4 %67 = fpext float %66 to double %68 = load float, ptr %11, align 4 %69 = fpext float %68 to double %70 = load float, ptr %12, align 4 %71 = fpext float %70 to double %72 = load float, ptr %16, align 4 %73 = fpext float %72 to double %74 = load float, ptr %14, align 4 %75 = fpext float %74 to double %76 = load float, ptr %12, align 4 %77 = fpext float %76 to double %78 = load float, ptr %13, align 4 %79 = fpext float %78 to double %80 = load ptr, ptr %10, align 8 %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.1, double noundef %63, double noundef %65, double noundef %67, double noundef %69, double noundef %71, double noundef %73, double noundef %75, double noundef %77, double noundef %79, ptr noundef %80) %82 = load ptr, ptr %9, align 8 %83 = load float, ptr %11, align 4 %84 = fpext float %83 to double %85 = load float, ptr %15, align 4 %86 = fpext float %85 to double %87 = load float, ptr %16, align 4 %88 = fpext float %87 to double %89 = load float, ptr %11, align 4 %90 = fpext float %89 to double %91 = load float, ptr %15, align 4 %92 = fpext float %91 to double %93 = load float, ptr %13, align 4 %94 = fpext float %93 to double %95 = load float, ptr %14, align 4 %96 = fpext float %95 to double %97 = load float, ptr %15, align 4 %98 = fpext float %97 to double %99 = load float, ptr %13, align 4 %100 = fpext float %99 to double %101 = load ptr, ptr %10, align 8 %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.1, double noundef %84, double noundef %86, double noundef %88, double noundef %90, double noundef %92, double noundef %94, double noundef %96, double noundef %98, double noundef %100, ptr noundef %101) %103 = load ptr, ptr %9, align 8 %104 = load float, ptr %11, align 4 %105 = fpext float %104 to double %106 = load float, ptr %12, align 4 %107 = fpext float %106 to double %108 = load float, ptr %13, align 4 %109 = fpext float %108 to double %110 = load float, ptr %11, align 4 %111 = fpext float %110 to double %112 = load float, ptr %15, align 4 %113 = fpext float %112 to double %114 = load float, ptr %16, align 4 %115 = fpext float %114 to double %116 = load float, ptr %11, align 4 %117 = fpext float %116 to double %118 = load float, ptr %12, align 4 %119 = fpext float %118 to double %120 = load float, ptr %16, align 4 %121 = fpext float %120 to double %122 = load ptr, ptr %10, align 8 %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.1, double noundef %105, double noundef %107, double noundef %109, double noundef %111, double noundef %113, double noundef %115, double noundef %117, double noundef %119, double noundef %121, ptr noundef %122) %124 = load ptr, ptr %9, align 8 %125 = load float, ptr %14, align 4 %126 = fpext float %125 to double %127 = load float, ptr %15, align 4 %128 = fpext float %127 to double %129 = load float, ptr %16, align 4 %130 = fpext float %129 to double %131 = load float, ptr %14, align 4 %132 = fpext float %131 to double %133 = load float, ptr %12, align 4 %134 = fpext float %133 to double %135 = load float, ptr %13, align 4 %136 = fpext float %135 to double %137 = load float, ptr %14, align 4 %138 = fpext float %137 to double %139 = load float, ptr %12, align 4 %140 = fpext float %139 to double %141 = load float, ptr %16, align 4 %142 = fpext float %141 to double %143 = load ptr, ptr %10, align 8 %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef @.str.1, double noundef %126, double noundef %128, double noundef %130, double noundef %132, double noundef %134, double noundef %136, double noundef %138, double noundef %140, double noundef %142, ptr noundef %143) %145 = load ptr, ptr %9, align 8 %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %145, ptr noundef @.str.2) ret void } declare i32 @fprintf(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/tmpgpjfi46k.c' source_filename = "/tmp/tmpgpjfi46k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = add nsw i32 %9, %10 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = mul nsw i32 %12, %13 %15 = add nsw i32 %11, %14 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgpjfi46k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = add nsw i32 %9, %10 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = mul nsw i32 %12, %13 %15 = add nsw i32 %11, %14 %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcl3uxtst.c' source_filename = "/tmp/tmpcl3uxtst.c" target datalayout = "e-m:e-p270: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"sort\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @completion_list_add_plugins_installed_exec_cb(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 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47) 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 %17 14: ; preds = %2 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %6, align 8 br label %19 17: ; preds = %2 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %6, align 8 br label %19 19: ; preds = %17, %14 %20 = load ptr, ptr %6, align 8 %21 = call ptr @strrchr(ptr noundef %20, i8 noundef signext 46) store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %33 24: ; preds = %19 %25 = load ptr, ptr %6, align 8 %26 = load ptr, ptr %7, align 8 %27 = load ptr, ptr %6, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = trunc i64 %30 to i32 %32 = call ptr @string_strndup(ptr noundef %25, i32 noundef %31) store ptr %32, ptr %8, align 8 br label %36 33: ; preds = %19 %34 = load ptr, ptr %6, align 8 %35 = call ptr @strdup(ptr noundef %34) store ptr %35, ptr %8, align 8 br label %36 36: ; preds = %33, %24 %37 = load ptr, ptr %8, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %39, label %45 39: ; preds = %36 %40 = load ptr, ptr %5, align 8 %41 = load ptr, ptr %8, align 8 %42 = call i32 @gui_completion_list_add(ptr noundef %40, ptr noundef %41, i32 noundef 0, ptr noundef @.str) %43 = load ptr, ptr %8, align 8 %44 = call i32 @free(ptr noundef %43) br label %45 45: ; preds = %39, %36 ret void } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @string_strndup(ptr noundef, i32 noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @gui_completion_list_add(ptr noundef, ptr noundef, i32 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/tmpcl3uxtst.c" target datalayout = "e-m:e-p270: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"sort\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @completion_list_add_plugins_installed_exec_cb(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 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @strrchr(ptr noundef %10, i8 noundef signext 47) 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 %17 14: ; preds = %2 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %6, align 8 br label %19 17: ; preds = %2 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %6, align 8 br label %19 19: ; preds = %17, %14 %20 = load ptr, ptr %6, align 8 %21 = call ptr @strrchr(ptr noundef %20, i8 noundef signext 46) store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %33 24: ; preds = %19 %25 = load ptr, ptr %6, align 8 %26 = load ptr, ptr %7, align 8 %27 = load ptr, ptr %6, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = trunc i64 %30 to i32 %32 = call ptr @string_strndup(ptr noundef %25, i32 noundef %31) store ptr %32, ptr %8, align 8 br label %36 33: ; preds = %19 %34 = load ptr, ptr %6, align 8 %35 = call ptr @strdup(ptr noundef %34) store ptr %35, ptr %8, align 8 br label %36 36: ; preds = %33, %24 %37 = load ptr, ptr %8, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %39, label %45 39: ; preds = %36 %40 = load ptr, ptr %5, align 8 %41 = load ptr, ptr %8, align 8 %42 = call i32 @gui_completion_list_add(ptr noundef %40, ptr noundef %41, i32 noundef 0, ptr noundef @.str) %43 = load ptr, ptr %8, align 8 %44 = call i32 @free(ptr noundef %43) br label %45 45: ; preds = %39, %36 ret void } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @string_strndup(ptr noundef, i32 noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @gui_completion_list_add(ptr noundef, ptr noundef, i32 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/tmpkbaxrudt.c' source_filename = "/tmp/tmpkbaxrudt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quat_to_rpy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds double, ptr %10, i64 0 %12 = load double, ptr %11, align 8 store double %12, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds double, ptr %13, i64 1 %15 = load double, ptr %14, align 8 store double %15, ptr %6, align 8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds double, ptr %16, i64 2 %18 = load double, ptr %17, align 8 store double %18, ptr %7, align 8 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds double, ptr %19, i64 3 %21 = load double, ptr %20, align 8 store double %21, ptr %8, align 8 %22 = load double, ptr %5, align 8 %23 = load double, ptr %7, align 8 %24 = load double, ptr %6, align 8 %25 = load double, ptr %8, align 8 %26 = fmul double %24, %25 %27 = fneg double %26 %28 = call double @llvm.fmuladd.f64(double %22, double %23, double %27) store double %28, ptr %9, align 8 %29 = load double, ptr %9, align 8 %30 = fadd double %29, 5.000000e-01 %31 = call i32 @fabs(double noundef %30) %32 = sitofp i32 %31 to double %33 = fcmp olt double %32, 1.000000e-08 br i1 %33, label %34, label %47 34: ; preds = %2 %35 = load double, ptr %6, align 8 %36 = load double, ptr %5, align 8 %37 = fdiv double %35, %36 %38 = call i32 @atan(double noundef %37) %39 = mul nsw i32 2, %38 %40 = sitofp i32 %39 to double %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds double, ptr %41, i64 0 store double %40, ptr %42, align 8 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds double, ptr %43, i64 1 store double 0xBFF921FB54442D18, ptr %44, align 8 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds double, ptr %45, i64 2 store double 0.000000e+00, ptr %46, align 8 br label %114 47: ; preds = %2 %48 = load double, ptr %9, align 8 %49 = fsub double %48, 5.000000e-01 %50 = call i32 @fabs(double noundef %49) %51 = sitofp i32 %50 to double %52 = fcmp olt double %51, 1.000000e-08 br i1 %52, label %53, label %66 53: ; preds = %47 %54 = load double, ptr %6, align 8 %55 = load double, ptr %5, align 8 %56 = fdiv double %54, %55 %57 = call i32 @atan(double noundef %56) %58 = mul nsw i32 -2, %57 %59 = sitofp i32 %58 to double %60 = load ptr, ptr %4, align 8 %61 = getelementptr inbounds double, ptr %60, i64 0 store double %59, ptr %61, align 8 %62 = load ptr, ptr %4, align 8 %63 = getelementptr inbounds double, ptr %62, i64 1 store double 0x3FF921FB54442D18, ptr %63, align 8 %64 = load ptr, ptr %4, align 8 %65 = getelementptr inbounds double, ptr %64, i64 2 store double 0.000000e+00, ptr %65, align 8 br label %113 66: ; preds = %47 %67 = load double, ptr %5, align 8 %68 = load double, ptr %8, align 8 %69 = load double, ptr %6, align 8 %70 = load double, ptr %7, align 8 %71 = fmul double %69, %70 %72 = call double @llvm.fmuladd.f64(double %67, double %68, double %71) %73 = fmul double 2.000000e+00, %72 %74 = load double, ptr %7, align 8 %75 = call i32 @pow(double noundef %74, i32 noundef 2) %76 = load double, ptr %8, align 8 %77 = call i32 @pow(double noundef %76, i32 noundef 2) %78 = add nsw i32 %75, %77 %79 = mul nsw i32 2, %78 %80 = sub nsw i32 1, %79 %81 = sitofp i32 %80 to double %82 = fdiv double %73, %81 %83 = call i32 @atan(double noundef %82) %84 = sitofp i32 %83 to double %85 = load ptr, ptr %4, align 8 %86 = getelementptr inbounds double, ptr %85, i64 0 store double %84, ptr %86, align 8 %87 = load double, ptr %9, align 8 %88 = fmul double 2.000000e+00, %87 %89 = fptosi double %88 to i32 %90 = call double @asin(i32 noundef %89) %91 = load ptr, ptr %4, align 8 %92 = getelementptr inbounds double, ptr %91, i64 1 store double %90, ptr %92, align 8 %93 = load double, ptr %5, align 8 %94 = load double, ptr %6, align 8 %95 = load double, ptr %7, align 8 %96 = load double, ptr %8, align 8 %97 = fmul double %95, %96 %98 = call double @llvm.fmuladd.f64(double %93, double %94, double %97) %99 = fmul double 2.000000e+00, %98 %100 = load double, ptr %6, align 8 %101 = call i32 @pow(double noundef %100, i32 noundef 2) %102 = load double, ptr %7, align 8 %103 = call i32 @pow(double noundef %102, i32 noundef 2) %104 = add nsw i32 %101, %103 %105 = mul nsw i32 2, %104 %106 = sub nsw i32 1, %105 %107 = sitofp i32 %106 to double %108 = fdiv double %99, %107 %109 = call i32 @atan(double noundef %108) %110 = sitofp i32 %109 to double %111 = load ptr, ptr %4, align 8 %112 = getelementptr inbounds double, ptr %111, i64 2 store double %110, ptr %112, align 8 br label %113 113: ; preds = %66, %53 br label %114 114: ; preds = %113, %34 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @fabs(double noundef) #2 declare i32 @atan(double noundef) #2 declare i32 @pow(double noundef, i32 noundef) #2 declare double @asin(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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/tmpkbaxrudt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quat_to_rpy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds double, ptr %10, i64 0 %12 = load double, ptr %11, align 8 store double %12, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds double, ptr %13, i64 1 %15 = load double, ptr %14, align 8 store double %15, ptr %6, align 8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds double, ptr %16, i64 2 %18 = load double, ptr %17, align 8 store double %18, ptr %7, align 8 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds double, ptr %19, i64 3 %21 = load double, ptr %20, align 8 store double %21, ptr %8, align 8 %22 = load double, ptr %5, align 8 %23 = load double, ptr %7, align 8 %24 = load double, ptr %6, align 8 %25 = load double, ptr %8, align 8 %26 = fmul double %24, %25 %27 = fneg double %26 %28 = call double @llvm.fmuladd.f64(double %22, double %23, double %27) store double %28, ptr %9, align 8 %29 = load double, ptr %9, align 8 %30 = fadd double %29, 5.000000e-01 %31 = call i32 @fabs(double noundef %30) %32 = sitofp i32 %31 to double %33 = fcmp olt double %32, 1.000000e-08 br i1 %33, label %34, label %47 34: ; preds = %2 %35 = load double, ptr %6, align 8 %36 = load double, ptr %5, align 8 %37 = fdiv double %35, %36 %38 = call i32 @atan(double noundef %37) %39 = mul nsw i32 2, %38 %40 = sitofp i32 %39 to double %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds double, ptr %41, i64 0 store double %40, ptr %42, align 8 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds double, ptr %43, i64 1 store double 0xBFF921FB54442D18, ptr %44, align 8 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds double, ptr %45, i64 2 store double 0.000000e+00, ptr %46, align 8 br label %114 47: ; preds = %2 %48 = load double, ptr %9, align 8 %49 = fsub double %48, 5.000000e-01 %50 = call i32 @fabs(double noundef %49) %51 = sitofp i32 %50 to double %52 = fcmp olt double %51, 1.000000e-08 br i1 %52, label %53, label %66 53: ; preds = %47 %54 = load double, ptr %6, align 8 %55 = load double, ptr %5, align 8 %56 = fdiv double %54, %55 %57 = call i32 @atan(double noundef %56) %58 = mul nsw i32 -2, %57 %59 = sitofp i32 %58 to double %60 = load ptr, ptr %4, align 8 %61 = getelementptr inbounds double, ptr %60, i64 0 store double %59, ptr %61, align 8 %62 = load ptr, ptr %4, align 8 %63 = getelementptr inbounds double, ptr %62, i64 1 store double 0x3FF921FB54442D18, ptr %63, align 8 %64 = load ptr, ptr %4, align 8 %65 = getelementptr inbounds double, ptr %64, i64 2 store double 0.000000e+00, ptr %65, align 8 br label %113 66: ; preds = %47 %67 = load double, ptr %5, align 8 %68 = load double, ptr %8, align 8 %69 = load double, ptr %6, align 8 %70 = load double, ptr %7, align 8 %71 = fmul double %69, %70 %72 = call double @llvm.fmuladd.f64(double %67, double %68, double %71) %73 = fmul double 2.000000e+00, %72 %74 = load double, ptr %7, align 8 %75 = call i32 @pow(double noundef %74, i32 noundef 2) %76 = load double, ptr %8, align 8 %77 = call i32 @pow(double noundef %76, i32 noundef 2) %78 = add nsw i32 %75, %77 %79 = mul nsw i32 2, %78 %80 = sub nsw i32 1, %79 %81 = sitofp i32 %80 to double %82 = fdiv double %73, %81 %83 = call i32 @atan(double noundef %82) %84 = sitofp i32 %83 to double %85 = load ptr, ptr %4, align 8 %86 = getelementptr inbounds double, ptr %85, i64 0 store double %84, ptr %86, align 8 %87 = load double, ptr %9, align 8 %88 = fmul double 2.000000e+00, %87 %89 = fptosi double %88 to i32 %90 = call double @asin(i32 noundef %89) %91 = load ptr, ptr %4, align 8 %92 = getelementptr inbounds double, ptr %91, i64 1 store double %90, ptr %92, align 8 %93 = load double, ptr %5, align 8 %94 = load double, ptr %6, align 8 %95 = load double, ptr %7, align 8 %96 = load double, ptr %8, align 8 %97 = fmul double %95, %96 %98 = call double @llvm.fmuladd.f64(double %93, double %94, double %97) %99 = fmul double 2.000000e+00, %98 %100 = load double, ptr %6, align 8 %101 = call i32 @pow(double noundef %100, i32 noundef 2) %102 = load double, ptr %7, align 8 %103 = call i32 @pow(double noundef %102, i32 noundef 2) %104 = add nsw i32 %101, %103 %105 = mul nsw i32 2, %104 %106 = sub nsw i32 1, %105 %107 = sitofp i32 %106 to double %108 = fdiv double %99, %107 %109 = call i32 @atan(double noundef %108) %110 = sitofp i32 %109 to double %111 = load ptr, ptr %4, align 8 %112 = getelementptr inbounds double, ptr %111, i64 2 store double %110, ptr %112, align 8 br label %113 113: ; preds = %66, %53 br label %114 114: ; preds = %113, %34 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @fabs(double noundef) #2 declare i32 @atan(double noundef) #2 declare i32 @pow(double noundef, i32 noundef) #2 declare double @asin(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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/tmpe6g_me5z.c' source_filename = "/tmp/tmpe6g_me5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = call i32 @cudaSetDevice(i32 noundef 0) %14 = call ptr (...) @createArray() store ptr %14, ptr %6, align 8 %15 = call ptr (...) @createArray() store ptr %15, ptr %7, align 8 %16 = call ptr (...) @createArray() store ptr %16, ptr %8, align 8 %17 = call i32 @cudaMalloc(ptr noundef %9, i32 noundef 1280) %18 = call i32 @cudaMalloc(ptr noundef %10, i32 noundef 1280) %19 = call i32 @cudaMalloc(ptr noundef %11, i32 noundef 1280) %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %8, align 8 %22 = call i32 @flipField(ptr noundef %20, ptr noundef %21, i32 noundef 2, i32 noundef 2) %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %8, align 8 %25 = call i32 @flipField(ptr noundef %23, ptr noundef %24, i32 noundef 3, i32 noundef 3) %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %8, align 8 %28 = call i32 @flipField(ptr noundef %26, ptr noundef %27, i32 noundef 1, i32 noundef 4) %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %8, align 8 %31 = call i32 @flipField(ptr noundef %29, ptr noundef %30, i32 noundef 2, i32 noundef 4) %32 = load ptr, ptr %6, align 8 %33 = load ptr, ptr %8, align 8 %34 = call i32 @flipField(ptr noundef %32, ptr noundef %33, i32 noundef 3, i32 noundef 4) store i32 0, ptr %12, align 4 br label %35 35: ; preds = %47, %2 %36 = load i32, ptr %12, align 4 %37 = icmp slt i32 %36, 20 br i1 %37, label %38, label %50 38: ; preds = %35 %39 = call i32 (...) @cls() %40 = load ptr, ptr %6, align 8 %41 = call i32 @printArray(ptr noundef %40) %42 = load ptr, ptr %6, align 8 %43 = load ptr, ptr %7, align 8 %44 = load ptr, ptr %8, align 8 %45 = call i32 @evolve(ptr noundef %42, ptr noundef %43, ptr noundef %44) %46 = call i32 @usleep(i32 noundef 100000) br label %47 47: ; preds = %38 %48 = load i32, ptr %12, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %12, align 4 br label %35, !llvm.loop !6 50: ; preds = %35 %51 = load ptr, ptr %6, align 8 %52 = call i32 @destroyArray(ptr noundef %51) %53 = load ptr, ptr %7, align 8 %54 = call i32 @destroyArray(ptr noundef %53) %55 = load ptr, ptr %8, align 8 %56 = call i32 @destroyArray(ptr noundef %55) ret i32 0 } declare i32 @cudaSetDevice(i32 noundef) #1 declare ptr @createArray(...) #1 declare i32 @cudaMalloc(ptr noundef, i32 noundef) #1 declare i32 @flipField(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @cls(...) #1 declare i32 @printArray(ptr noundef) #1 declare i32 @evolve(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @destroyArray(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpe6g_me5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = call i32 @cudaSetDevice(i32 noundef 0) %14 = call ptr (...) @createArray() store ptr %14, ptr %6, align 8 %15 = call ptr (...) @createArray() store ptr %15, ptr %7, align 8 %16 = call ptr (...) @createArray() store ptr %16, ptr %8, align 8 %17 = call i32 @cudaMalloc(ptr noundef %9, i32 noundef 1280) %18 = call i32 @cudaMalloc(ptr noundef %10, i32 noundef 1280) %19 = call i32 @cudaMalloc(ptr noundef %11, i32 noundef 1280) %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %8, align 8 %22 = call i32 @flipField(ptr noundef %20, ptr noundef %21, i32 noundef 2, i32 noundef 2) %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %8, align 8 %25 = call i32 @flipField(ptr noundef %23, ptr noundef %24, i32 noundef 3, i32 noundef 3) %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %8, align 8 %28 = call i32 @flipField(ptr noundef %26, ptr noundef %27, i32 noundef 1, i32 noundef 4) %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %8, align 8 %31 = call i32 @flipField(ptr noundef %29, ptr noundef %30, i32 noundef 2, i32 noundef 4) %32 = load ptr, ptr %6, align 8 %33 = load ptr, ptr %8, align 8 %34 = call i32 @flipField(ptr noundef %32, ptr noundef %33, i32 noundef 3, i32 noundef 4) store i32 0, ptr %12, align 4 %35 = load i32, ptr %12, align 4 %36 = icmp slt i32 %35, 20 br i1 %36, label %.lr.ph, label %51 .lr.ph: ; preds = %2 br label %37 37: ; preds = %.lr.ph, %46 %38 = call i32 (...) @cls() %39 = load ptr, ptr %6, align 8 %40 = call i32 @printArray(ptr noundef %39) %41 = load ptr, ptr %6, align 8 %42 = load ptr, ptr %7, align 8 %43 = load ptr, ptr %8, align 8 %44 = call i32 @evolve(ptr noundef %41, ptr noundef %42, ptr noundef %43) %45 = call i32 @usleep(i32 noundef 100000) br label %46 46: ; preds = %37 %47 = load i32, ptr %12, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %12, align 4 %49 = load i32, ptr %12, align 4 %50 = icmp slt i32 %49, 20 br i1 %50, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %51 51: ; preds = %._crit_edge, %2 %52 = load ptr, ptr %6, align 8 %53 = call i32 @destroyArray(ptr noundef %52) %54 = load ptr, ptr %7, align 8 %55 = call i32 @destroyArray(ptr noundef %54) %56 = load ptr, ptr %8, align 8 %57 = call i32 @destroyArray(ptr noundef %56) ret i32 0 } declare i32 @cudaSetDevice(i32 noundef) #1 declare ptr @createArray(...) #1 declare i32 @cudaMalloc(ptr noundef, i32 noundef) #1 declare i32 @flipField(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @cls(...) #1 declare i32 @printArray(ptr noundef) #1 declare i32 @evolve(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @destroyArray(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp7nfowngi.c' source_filename = "/tmp/tmp7nfowngi.c" target datalayout = "e-m:e-p270: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 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef poison) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7nfowngi.c" target datalayout = "e-m:e-p270: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 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef poison) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwlj3k0yi.c' source_filename = "/tmp/tmpwlj3k0yi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"foo////bar//.//.././x\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"foo////bar//.//.././x/\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"foo/.\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"foo/bar/..\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"foo/bar/../\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"foo/bar/../..\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"foo/bar/../../\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"/foo/.\00", align 1 @.str.10 = private unnamed_addr constant [12 x i8] c"/foo/bar/..\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"/foo/bar/../\00", align 1 @.str.12 = private unnamed_addr constant [15 x i8] c"/foo/bar/../..\00", align 1 @.str.13 = private unnamed_addr constant [16 x i8] c"/foo/bar/../../\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @.str.15 = private unnamed_addr constant [21 x i8] c"../../../../../../..\00", align 1 @.str.16 = private unnamed_addr constant [22 x i8] c"../../../../../../../\00", align 1 @.str.17 = private unnamed_addr constant [22 x i8] c"/../../../../../../..\00", align 1 @.str.18 = private unnamed_addr constant [23 x i8] c"/../../../../../../../\00", align 1 @.str.19 = private unnamed_addr constant [4 x i8] c"/..\00", align 1 @.str.20 = private unnamed_addr constant [5 x i8] c"/../\00", align 1 @.str.21 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.22 = private unnamed_addr constant [3 x i8] c"/.\00", align 1 @.str.23 = private unnamed_addr constant [17 x i8] c"/.///././././etc\00", align 1 @.str.24 = private unnamed_addr constant [18 x i8] c"/.///././.././etc\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"//\00", align 1 @.str.26 = private unnamed_addr constant [4 x i8] c"/./\00", align 1 @.str.27 = private unnamed_addr constant [6 x i8] c"///./\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @test(ptr noundef @.str.1) %8 = call i32 @test(ptr noundef @.str.2) %9 = call i32 @test(ptr noundef @.str.3) %10 = call i32 @test(ptr noundef @.str.4) %11 = call i32 @test(ptr noundef @.str.5) %12 = call i32 @test(ptr noundef @.str.6) %13 = call i32 @test(ptr noundef @.str.7) %14 = call i32 @test(ptr noundef @.str.8) %15 = call i32 @test(ptr noundef @.str.9) %16 = call i32 @test(ptr noundef @.str.10) %17 = call i32 @test(ptr noundef @.str.11) %18 = call i32 @test(ptr noundef @.str.12) %19 = call i32 @test(ptr noundef @.str.13) %20 = call i32 @test(ptr noundef @.str.14) %21 = call i32 @test(ptr noundef @.str.15) %22 = call i32 @test(ptr noundef @.str.16) %23 = call i32 @test(ptr noundef @.str.17) %24 = call i32 @test(ptr noundef @.str.18) %25 = call i32 @test(ptr noundef @.str.19) %26 = call i32 @test(ptr noundef @.str.20) %27 = call i32 @test(ptr noundef @.str.21) %28 = call i32 @test(ptr noundef @.str.22) %29 = call i32 @test(ptr noundef @.str.23) %30 = call i32 @test(ptr noundef @.str.24) %31 = call i32 @test(ptr noundef @.str.25) %32 = call i32 @test(ptr noundef @.str.26) %33 = call i32 @test(ptr noundef @.str.27) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @test(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwlj3k0yi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"foo////bar//.//.././x\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"foo////bar//.//.././x/\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"foo/.\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"foo/bar/..\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"foo/bar/../\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"foo/bar/../..\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"foo/bar/../../\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"/foo/.\00", align 1 @.str.10 = private unnamed_addr constant [12 x i8] c"/foo/bar/..\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"/foo/bar/../\00", align 1 @.str.12 = private unnamed_addr constant [15 x i8] c"/foo/bar/../..\00", align 1 @.str.13 = private unnamed_addr constant [16 x i8] c"/foo/bar/../../\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @.str.15 = private unnamed_addr constant [21 x i8] c"../../../../../../..\00", align 1 @.str.16 = private unnamed_addr constant [22 x i8] c"../../../../../../../\00", align 1 @.str.17 = private unnamed_addr constant [22 x i8] c"/../../../../../../..\00", align 1 @.str.18 = private unnamed_addr constant [23 x i8] c"/../../../../../../../\00", align 1 @.str.19 = private unnamed_addr constant [4 x i8] c"/..\00", align 1 @.str.20 = private unnamed_addr constant [5 x i8] c"/../\00", align 1 @.str.21 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.22 = private unnamed_addr constant [3 x i8] c"/.\00", align 1 @.str.23 = private unnamed_addr constant [17 x i8] c"/.///././././etc\00", align 1 @.str.24 = private unnamed_addr constant [18 x i8] c"/.///././.././etc\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"//\00", align 1 @.str.26 = private unnamed_addr constant [4 x i8] c"/./\00", align 1 @.str.27 = private unnamed_addr constant [6 x i8] c"///./\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @test(ptr noundef @.str.1) %8 = call i32 @test(ptr noundef @.str.2) %9 = call i32 @test(ptr noundef @.str.3) %10 = call i32 @test(ptr noundef @.str.4) %11 = call i32 @test(ptr noundef @.str.5) %12 = call i32 @test(ptr noundef @.str.6) %13 = call i32 @test(ptr noundef @.str.7) %14 = call i32 @test(ptr noundef @.str.8) %15 = call i32 @test(ptr noundef @.str.9) %16 = call i32 @test(ptr noundef @.str.10) %17 = call i32 @test(ptr noundef @.str.11) %18 = call i32 @test(ptr noundef @.str.12) %19 = call i32 @test(ptr noundef @.str.13) %20 = call i32 @test(ptr noundef @.str.14) %21 = call i32 @test(ptr noundef @.str.15) %22 = call i32 @test(ptr noundef @.str.16) %23 = call i32 @test(ptr noundef @.str.17) %24 = call i32 @test(ptr noundef @.str.18) %25 = call i32 @test(ptr noundef @.str.19) %26 = call i32 @test(ptr noundef @.str.20) %27 = call i32 @test(ptr noundef @.str.21) %28 = call i32 @test(ptr noundef @.str.22) %29 = call i32 @test(ptr noundef @.str.23) %30 = call i32 @test(ptr noundef @.str.24) %31 = call i32 @test(ptr noundef @.str.25) %32 = call i32 @test(ptr noundef @.str.26) %33 = call i32 @test(ptr noundef @.str.27) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @test(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpya_zkeya.c' source_filename = "/tmp/tmpya_zkeya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 @LOG_NOTICE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"setsid(): %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @spawn_child(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @fork() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 switch i32 %8, label %25 [ i32 -1, label %9 i32 0, label %10 ] 9: ; preds = %2 store i32 -1, ptr %3, align 4 br label %30 10: ; preds = %2 %11 = load i32, ptr @STDIN_FILENO, align 4 %12 = call i32 @close(i32 noundef %11) %13 = load i32, ptr @STDOUT_FILENO, align 4 %14 = call i32 @close(i32 noundef %13) %15 = load i32, ptr @STDERR_FILENO, align 4 %16 = call i32 @close(i32 noundef %15) %17 = call i32 (...) @setsid() %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %24 19: ; preds = %10 %20 = load i32, ptr @LOG_NOTICE, align 4 %21 = load i32, ptr @errno, align 4 %22 = call i32 @strerror(i32 noundef %21) %23 = call i32 @syslog(i32 noundef %20, ptr noundef @.str, i32 noundef %22) store i32 -1, ptr %3, align 4 br label %30 24: ; preds = %10 br label %27 25: ; preds = %2 %26 = load i32, ptr %6, align 4 store i32 %26, ptr %3, align 4 br label %30 27: ; preds = %24 %28 = load i32, ptr %4, align 4 %29 = load ptr, ptr %5, align 8 store i32 %28, ptr %29, align 4 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %27, %25, %19, %9 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @setsid(...) #1 declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpya_zkeya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 @LOG_NOTICE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"setsid(): %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @spawn_child(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @fork() store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 switch i32 %8, label %25 [ i32 -1, label %9 i32 0, label %10 ] 9: ; preds = %2 store i32 -1, ptr %3, align 4 br label %30 10: ; preds = %2 %11 = load i32, ptr @STDIN_FILENO, align 4 %12 = call i32 @close(i32 noundef %11) %13 = load i32, ptr @STDOUT_FILENO, align 4 %14 = call i32 @close(i32 noundef %13) %15 = load i32, ptr @STDERR_FILENO, align 4 %16 = call i32 @close(i32 noundef %15) %17 = call i32 (...) @setsid() %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %24 19: ; preds = %10 %20 = load i32, ptr @LOG_NOTICE, align 4 %21 = load i32, ptr @errno, align 4 %22 = call i32 @strerror(i32 noundef %21) %23 = call i32 @syslog(i32 noundef %20, ptr noundef @.str, i32 noundef %22) store i32 -1, ptr %3, align 4 br label %30 24: ; preds = %10 br label %27 25: ; preds = %2 %26 = load i32, ptr %6, align 4 store i32 %26, ptr %3, align 4 br label %30 27: ; preds = %24 %28 = load i32, ptr %4, align 4 %29 = load ptr, ptr %5, align 8 store i32 %28, ptr %29, align 4 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %27, %25, %19, %9 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @setsid(...) #1 declare i32 @syslog(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzik1zphy.c' source_filename = "/tmp/tmpzik1zphy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFL = dso_local global i32 0, align 4 @O_ASYNC = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"Fcntl F_SETFL\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @unset_block(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @F_SETFL, align 4 %4 = load i32, ptr @O_ASYNC, align 4 %5 = call i64 @fcntl(i32 noundef 0, i32 noundef %3, i32 noundef %4) %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %1 %8 = call i32 @perror(ptr noundef @.str) %9 = load i32, ptr @EXIT_FAILURE, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable 11: ; preds = %1 ret void } declare i64 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzik1zphy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFL = dso_local global i32 0, align 4 @O_ASYNC = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"Fcntl F_SETFL\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @unset_block(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @F_SETFL, align 4 %4 = load i32, ptr @O_ASYNC, align 4 %5 = call i64 @fcntl(i32 noundef 0, i32 noundef %3, i32 noundef %4) %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %1 %8 = call i32 @perror(ptr noundef @.str) %9 = load i32, ptr @EXIT_FAILURE, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable 11: ; preds = %1 ret void } declare i64 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbjke830q.c' source_filename = "/tmp/tmpbjke830q.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\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 [27 x i8] c"Couldn't open file %s; %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_regex(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 i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = 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 %8, align 4 store ptr null, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i32 @regcomp(ptr noundef %12, ptr noundef %13, i32 noundef 0) store i32 %14, ptr %8, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %35 16: ; preds = %3 %17 = load i32, ptr %8, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i64 @regerror(i32 noundef %17, ptr noundef %18, ptr noundef null, i64 noundef 0) store i64 %19, ptr %10, align 8 %20 = load i64, ptr %10, align 8 %21 = call ptr @malloc(i64 noundef %20) store ptr %21, ptr %11, align 8 %22 = load i32, ptr %8, align 4 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %11, align 8 %25 = load i64, ptr %10, align 8 %26 = call i64 @regerror(i32 noundef %22, ptr noundef %23, ptr noundef %24, i64 noundef %25) %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %11, align 8 %29 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str, ptr noundef %28) %30 = load ptr, ptr %11, align 8 %31 = call i32 @free(ptr noundef %30) %32 = load ptr, ptr %5, align 8 %33 = call i32 @regfree(ptr noundef %32) %34 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %34, ptr %4, align 4 br label %58 35: ; preds = %3 %36 = load ptr, ptr %7, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.1) store ptr %37, ptr %9, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %47 39: ; preds = %35 %40 = load i32, ptr @stderr, align 4 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr @errno, align 4 %43 = call ptr @strerror(i32 noundef %42) %44 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.2, ptr noundef %41, ptr noundef %43) %45 = load i32, ptr @EXIT_FAILURE, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable 47: ; preds = %35 %48 = load ptr, ptr %5, align 8 %49 = load ptr, ptr %9, align 8 %50 = call i32 @match_patterns(ptr noundef %48, ptr noundef %49) %51 = load ptr, ptr %5, align 8 %52 = call i32 @regfree(ptr noundef %51) %53 = load ptr, ptr %5, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %9, align 8 %56 = call i32 @fclose(ptr noundef %55) %57 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %57, ptr %4, align 4 br label %58 58: ; preds = %47, %16 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @regerror(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 declare i32 @regfree(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @match_patterns(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbjke830q.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\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 [27 x i8] c"Couldn't open file %s; %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_regex(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 i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = 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 %8, align 4 store ptr null, ptr %9, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i32 @regcomp(ptr noundef %12, ptr noundef %13, i32 noundef 0) store i32 %14, ptr %8, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %35 16: ; preds = %3 %17 = load i32, ptr %8, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i64 @regerror(i32 noundef %17, ptr noundef %18, ptr noundef null, i64 noundef 0) store i64 %19, ptr %10, align 8 %20 = load i64, ptr %10, align 8 %21 = call ptr @malloc(i64 noundef %20) store ptr %21, ptr %11, align 8 %22 = load i32, ptr %8, align 4 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %11, align 8 %25 = load i64, ptr %10, align 8 %26 = call i64 @regerror(i32 noundef %22, ptr noundef %23, ptr noundef %24, i64 noundef %25) %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %11, align 8 %29 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str, ptr noundef %28) %30 = load ptr, ptr %11, align 8 %31 = call i32 @free(ptr noundef %30) %32 = load ptr, ptr %5, align 8 %33 = call i32 @regfree(ptr noundef %32) %34 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %34, ptr %4, align 4 br label %58 35: ; preds = %3 %36 = load ptr, ptr %7, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.1) store ptr %37, ptr %9, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %47 39: ; preds = %35 %40 = load i32, ptr @stderr, align 4 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr @errno, align 4 %43 = call ptr @strerror(i32 noundef %42) %44 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.2, ptr noundef %41, ptr noundef %43) %45 = load i32, ptr @EXIT_FAILURE, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable 47: ; preds = %35 %48 = load ptr, ptr %5, align 8 %49 = load ptr, ptr %9, align 8 %50 = call i32 @match_patterns(ptr noundef %48, ptr noundef %49) %51 = load ptr, ptr %5, align 8 %52 = call i32 @regfree(ptr noundef %51) %53 = load ptr, ptr %5, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %9, align 8 %56 = call i32 @fclose(ptr noundef %55) %57 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %57, ptr %4, align 4 br label %58 58: ; preds = %47, %16 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @regerror(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 declare i32 @regfree(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @match_patterns(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkm6ocbxf.c' source_filename = "/tmp/tmpkm6ocbxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcfio_openreaddirect_(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %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 ptr @mallocNCopyMcfio(ptr noundef %7, i32 noundef %8) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @mcfioC_OpenReadDirect(ptr noundef %10) store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = call i32 @free(ptr noundef %15) br label %17 17: ; preds = %14, %2 %18 = load i32, ptr %6, align 4 ret i32 %18 } declare ptr @mallocNCopyMcfio(ptr noundef, i32 noundef) #1 declare i32 @mcfioC_OpenReadDirect(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/tmpkm6ocbxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcfio_openreaddirect_(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %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 ptr @mallocNCopyMcfio(ptr noundef %7, i32 noundef %8) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @mcfioC_OpenReadDirect(ptr noundef %10) store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = call i32 @free(ptr noundef %15) br label %17 17: ; preds = %14, %2 %18 = load i32, ptr %6, align 4 ret i32 %18 } declare ptr @mallocNCopyMcfio(ptr noundef, i32 noundef) #1 declare i32 @mcfioC_OpenReadDirect(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/tmp3f7oxfty.c' source_filename = "/tmp/tmp3f7oxfty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @function(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = add nsw i64 %3, 1 ret i64 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3f7oxfty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @function(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = add nsw i64 %3, 1 ret i64 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpufimwqos.c' source_filename = "/tmp/tmpufimwqos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"\1B[?25l\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cursorOff() #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/tmpufimwqos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"\1B[?25l\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cursorOff() #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/tmp3qettl2x.c' source_filename = "/tmp/tmp3qettl2x.c" target datalayout = "e-m:e-p270: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_3__ = type { i32, i32 } @REG_NOMATCH = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @do_strip_re(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca [80 x %struct.TYPE_3__], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i8 0, ptr %9, align 1 store i32 0, ptr %10, align 4 br label %14 14: ; preds = %76, %4 store i32 -1, ptr %12, align 4 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i32, ptr %10, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 0 %21 = call i64 @regexec(ptr noundef %15, ptr noundef %19, i32 noundef 80, ptr noundef %20, i32 noundef 0) %22 = load i64, ptr @REG_NOMATCH, align 8 %23 = icmp ne i64 %21, %22 br i1 %23, label %24, label %74 24: ; preds = %14 store i32 0, ptr %13, align 4 br label %25 25: ; preds = %70, %24 %26 = load i32, ptr %13, align 4 %27 = icmp slt i32 %26, 80 br i1 %27, label %28, label %73 28: ; preds = %25 %29 = load i32, ptr %13, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 %30 %32 = getelementptr inbounds %struct.TYPE_3__, ptr %31, i32 0, i32 0 %33 = load i32, ptr %32, align 8 %34 = icmp eq i32 %33, -1 br i1 %34, label %42, label %35 35: ; preds = %28 %36 = load i32, ptr %13, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 %37 %39 = getelementptr inbounds %struct.TYPE_3__, ptr %38, i32 0, i32 1 %40 = load i32, ptr %39, align 4 %41 = icmp eq i32 %40, -1 br i1 %41, label %42, label %43 42: ; preds = %35, %28 br label %73 43: ; preds = %35 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr %13, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 %46 %48 = getelementptr inbounds %struct.TYPE_3__, ptr %47, i32 0, i32 0 %49 = load i32, ptr %48, align 8 %50 = load i32, ptr %10, align 4 %51 = add nsw i32 %49, %50 %52 = load i32, ptr %13, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 %53 %55 = getelementptr inbounds %struct.TYPE_3__, ptr %54, i32 0, i32 1 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %56, %57 %59 = call i32 @zero_str(ptr noundef %44, i32 noundef %51, i32 noundef %58) store i8 1, ptr %9, align 1 %60 = load i32, ptr %13, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 %61 %63 = getelementptr inbounds %struct.TYPE_3__, ptr %62, i32 0, i32 1 %64 = load i32, ptr %63, align 4 %65 = load i32, ptr %10, align 4 %66 = add nsw i32 %64, %65 store i32 %66, ptr %12, align 4 %67 = load ptr, ptr %6, align 8 %68 = load i32, ptr %67, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %67, align 4 br label %70 70: ; preds = %43 %71 = load i32, ptr %13, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %13, align 4 br label %25, !llvm.loop !6 73: ; preds = %42, %25 br label %74 74: ; preds = %73, %14 %75 = load i32, ptr %12, align 4 store i32 %75, ptr %10, align 4 br label %76 76: ; preds = %74 %77 = load i32, ptr %10, align 4 %78 = icmp ne i32 %77, -1 br i1 %78, label %14, label %79, !llvm.loop !8 79: ; preds = %76 %80 = load i8, ptr %9, align 1 ret i8 %80 } declare i64 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @zero_str(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3qettl2x.c" target datalayout = "e-m:e-p270: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_3__ = type { i32, i32 } @REG_NOMATCH = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @do_strip_re(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca [80 x %struct.TYPE_3__], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i8 0, ptr %9, align 1 store i32 0, ptr %10, align 4 br label %14 14: ; preds = %77, %4 store i32 -1, ptr %12, align 4 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i32, ptr %10, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 0 %21 = call i64 @regexec(ptr noundef %15, ptr noundef %19, i32 noundef 80, ptr noundef %20, i32 noundef 0) %22 = load i64, ptr @REG_NOMATCH, align 8 %23 = icmp ne i64 %21, %22 br i1 %23, label %24, label %75 24: ; preds = %14 store i32 0, ptr %13, align 4 %25 = load i32, ptr %13, align 4 %26 = icmp slt i32 %25, 80 br i1 %26, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %24 br label %27 27: ; preds = %.lr.ph, %69 %28 = load i32, ptr %13, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 %29 %31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i32 0, i32 0 %32 = load i32, ptr %31, align 8 %33 = icmp eq i32 %32, -1 br i1 %33, label %41, label %34 34: ; preds = %27 %35 = load i32, ptr %13, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 %36 %38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i32 0, i32 1 %39 = load i32, ptr %38, align 4 %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %42 41: ; preds = %34, %27 br label %74 42: ; preds = %34 %43 = load ptr, ptr %8, align 8 %44 = load i32, ptr %13, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 %45 %47 = getelementptr inbounds %struct.TYPE_3__, ptr %46, i32 0, i32 0 %48 = load i32, ptr %47, align 8 %49 = load i32, ptr %10, align 4 %50 = add nsw i32 %48, %49 %51 = load i32, ptr %13, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 %52 %54 = getelementptr inbounds %struct.TYPE_3__, ptr %53, i32 0, i32 1 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %55, %56 %58 = call i32 @zero_str(ptr noundef %43, i32 noundef %50, i32 noundef %57) store i8 1, ptr %9, align 1 %59 = load i32, ptr %13, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [80 x %struct.TYPE_3__], ptr %11, i64 0, i64 %60 %62 = getelementptr inbounds %struct.TYPE_3__, ptr %61, i32 0, i32 1 %63 = load i32, ptr %62, align 4 %64 = load i32, ptr %10, align 4 %65 = add nsw i32 %63, %64 store i32 %65, ptr %12, align 4 %66 = load ptr, ptr %6, align 8 %67 = load i32, ptr %66, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %66, align 4 br label %69 69: ; preds = %42 %70 = load i32, ptr %13, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %13, align 4 %72 = load i32, ptr %13, align 4 %73 = icmp slt i32 %72, 80 br i1 %73, label %27, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %69 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %24 br label %74 74: ; preds = %.loopexit, %41 br label %75 75: ; preds = %74, %14 %76 = load i32, ptr %12, align 4 store i32 %76, ptr %10, align 4 br label %77 77: ; preds = %75 %78 = load i32, ptr %10, align 4 %79 = icmp ne i32 %78, -1 br i1 %79, label %14, label %80, !llvm.loop !8 80: ; preds = %77 %81 = load i8, ptr %9, align 1 ret i8 %81 } declare i64 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @zero_str(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpv9q_heef.c' source_filename = "/tmp/tmpv9q_heef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_XTimeCoord() #0 { %1 = alloca ptr, align 8 %2 = call i64 @malloc(i32 noundef 4) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @abort() #3 unreachable 8: ; preds = %0 %9 = load ptr, ptr %1, align 8 ret ptr %9 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv9q_heef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_XTimeCoord() #0 { %1 = alloca ptr, align 8 %2 = call i64 @malloc(i32 noundef 4) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @abort() #3 unreachable 8: ; preds = %0 %9 = load ptr, ptr %1, align 8 ret ptr %9 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq8m_esq6.c' source_filename = "/tmp/tmpq8m_esq6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 20, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %11, %12 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %21 16: ; preds = %3 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = call i32 @insertionSort(ptr noundef %17, i32 noundef %18, i32 noundef %19) br label %101 21: ; preds = %3 %22 = load i32, ptr %5, align 4 store i32 %22, ptr %8, align 4 br label %23 23: ; preds = %46, %21 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %50 27: ; preds = %23 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %30, %31 %33 = sub nsw i32 %32, 1 %34 = load i32, ptr %6, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %41 36: ; preds = %27 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %37, %38 %40 = sub nsw i32 %39, 1 br label %43 41: ; preds = %27 %42 = load i32, ptr %6, align 4 br label %43 43: ; preds = %41, %36 %44 = phi i32 [ %40, %36 ], [ %42, %41 ] %45 = call i32 @insertionSort(ptr noundef %28, i32 noundef %29, i32 noundef %44) br label %46 46: ; preds = %43 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, %47 store i32 %49, ptr %8, align 4 br label %23, !llvm.loop !6 50: ; preds = %23 %51 = load i32, ptr %7, align 4 store i32 %51, ptr %9, align 4 br label %52 52: ; preds = %97, %50 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %5, align 4 %56 = sub nsw i32 %54, %55 %57 = icmp slt i32 %53, %56 br i1 %57, label %58, label %101 58: ; preds = %52 %59 = load i32, ptr %5, align 4 store i32 %59, ptr %10, align 4 br label %60 60: ; preds = %91, %58 %61 = load i32, ptr %10, align 4 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %9, align 4 %64 = sub nsw i32 %62, %63 %65 = icmp sle i32 %61, %64 br i1 %65, label %66, label %96 66: ; preds = %60 %67 = load ptr, ptr %4, align 8 %68 = load i32, ptr %10, align 4 %69 = load i32, ptr %9, align 4 %70 = load i32, ptr %10, align 4 %71 = add nsw i32 %69, %70 %72 = sub nsw i32 %71, 1 %73 = load i32, ptr %10, align 4 %74 = load i32, ptr %9, align 4 %75 = mul nsw i32 2, %74 %76 = add nsw i32 %73, %75 %77 = sub nsw i32 %76, 1 %78 = load i32, ptr %6, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %86 80: ; preds = %66 %81 = load i32, ptr %10, align 4 %82 = load i32, ptr %9, align 4 %83 = mul nsw i32 2, %82 %84 = add nsw i32 %81, %83 %85 = sub nsw i32 %84, 1 br label %88 86: ; preds = %66 %87 = load i32, ptr %6, align 4 br label %88 88: ; preds = %86, %80 %89 = phi i32 [ %85, %80 ], [ %87, %86 ] %90 = call i32 @merge(ptr noundef %67, i32 noundef %68, i32 noundef %72, i32 noundef %89) br label %91 91: ; preds = %88 %92 = load i32, ptr %9, align 4 %93 = mul nsw i32 2, %92 %94 = load i32, ptr %10, align 4 %95 = add nsw i32 %94, %93 store i32 %95, ptr %10, align 4 br label %60, !llvm.loop !8 96: ; preds = %60 br label %97 97: ; preds = %96 %98 = load i32, ptr %9, align 4 %99 = load i32, ptr %9, align 4 %100 = add nsw i32 %99, %98 store i32 %100, ptr %9, align 4 br label %52, !llvm.loop !9 101: ; preds = %16, %52 ret void } declare i32 @insertionSort(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq8m_esq6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 20, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %11, %12 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %21 16: ; preds = %3 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = call i32 @insertionSort(ptr noundef %17, i32 noundef %18, i32 noundef %19) br label %111 21: ; preds = %3 %22 = load i32, ptr %5, align 4 store i32 %22, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %52 .lr.ph: ; preds = %21 br label %26 26: ; preds = %.lr.ph, %45 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %29, %30 %32 = sub nsw i32 %31, 1 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %40 35: ; preds = %26 %36 = load i32, ptr %8, align 4 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %36, %37 %39 = sub nsw i32 %38, 1 br label %42 40: ; preds = %26 %41 = load i32, ptr %6, align 4 br label %42 42: ; preds = %40, %35 %43 = phi i32 [ %39, %35 ], [ %41, %40 ] %44 = call i32 @insertionSort(ptr noundef %27, i32 noundef %28, i32 noundef %43) br label %45 45: ; preds = %42 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, %46 store i32 %48, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %52 52: ; preds = %._crit_edge, %21 %53 = load i32, ptr %7, align 4 store i32 %53, ptr %9, align 4 %54 = load i32, ptr %9, align 4 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr %5, align 4 %57 = sub nsw i32 %55, %56 %58 = icmp slt i32 %54, %57 br i1 %58, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %52 br label %59 59: ; preds = %.lr.ph5, %102 %60 = load i32, ptr %5, align 4 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %9, align 4 %64 = sub nsw i32 %62, %63 %65 = icmp sle i32 %61, %64 br i1 %65, label %.lr.ph2, label %101 .lr.ph2: ; preds = %59 br label %66 66: ; preds = %.lr.ph2, %91 %67 = load ptr, ptr %4, align 8 %68 = load i32, ptr %10, align 4 %69 = load i32, ptr %9, align 4 %70 = load i32, ptr %10, align 4 %71 = add nsw i32 %69, %70 %72 = sub nsw i32 %71, 1 %73 = load i32, ptr %10, align 4 %74 = load i32, ptr %9, align 4 %75 = mul nsw i32 2, %74 %76 = add nsw i32 %73, %75 %77 = sub nsw i32 %76, 1 %78 = load i32, ptr %6, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %86 80: ; preds = %66 %81 = load i32, ptr %10, align 4 %82 = load i32, ptr %9, align 4 %83 = mul nsw i32 2, %82 %84 = add nsw i32 %81, %83 %85 = sub nsw i32 %84, 1 br label %88 86: ; preds = %66 %87 = load i32, ptr %6, align 4 br label %88 88: ; preds = %86, %80 %89 = phi i32 [ %85, %80 ], [ %87, %86 ] %90 = call i32 @merge(ptr noundef %67, i32 noundef %68, i32 noundef %72, i32 noundef %89) br label %91 91: ; preds = %88 %92 = load i32, ptr %9, align 4 %93 = mul nsw i32 2, %92 %94 = load i32, ptr %10, align 4 %95 = add nsw i32 %94, %93 store i32 %95, ptr %10, align 4 %96 = load i32, ptr %10, align 4 %97 = load i32, ptr %6, align 4 %98 = load i32, ptr %9, align 4 %99 = sub nsw i32 %97, %98 %100 = icmp sle i32 %96, %99 br i1 %100, label %66, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %91 br label %101 101: ; preds = %._crit_edge3, %59 br label %102 102: ; preds = %101 %103 = load i32, ptr %9, align 4 %104 = load i32, ptr %9, align 4 %105 = add nsw i32 %104, %103 store i32 %105, ptr %9, align 4 %106 = load i32, ptr %9, align 4 %107 = load i32, ptr %6, align 4 %108 = load i32, ptr %5, align 4 %109 = sub nsw i32 %107, %108 %110 = icmp slt i32 %106, %109 br i1 %110, label %59, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %102 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %52 br label %111 111: ; preds = %.loopexit, %16 ret void } declare i32 @insertionSort(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp8acdbdm8.c' source_filename = "/tmp/tmp8acdbdm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"a: %p -> %p\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"b: %p -> %p\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"ITERATION = 1\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"ITERATION = 2\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"ITERATION = 3\0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"ITERATION = 4\0A\00", align 1 @.str.6 = 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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %11 = call ptr @malloc(i32 noundef 524288) store ptr %11, ptr %8, align 8 %12 = call ptr @malloc(i32 noundef 163840) store ptr %12, ptr %9, align 8 %13 = call ptr @malloc(i32 noundef 524288) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %8, align 8 %15 = call i32 @init(ptr noundef %14, i32 noundef 131072) %16 = load ptr, ptr %10, align 8 %17 = call i32 @init(ptr noundef %16, i32 noundef 131072) %18 = call i32 (...) @cacheflush() %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 0 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 131072 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20, ptr noundef %22) %24 = load ptr, ptr %10, align 8 %25 = getelementptr inbounds i32, ptr %24, i64 0 %26 = load ptr, ptr %10, align 8 %27 = getelementptr inbounds i32, ptr %26, i64 131072 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25, ptr noundef %27) %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.2) %31 = load ptr, ptr %10, align 8 %32 = call i64 @loop(ptr noundef %31, i32 noundef 131072) %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = add nsw i64 %34, %32 %36 = trunc i64 %35 to i32 store i32 %36, ptr %6, align 4 %37 = load i32, ptr @stderr, align 4 %38 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str.3) %39 = load ptr, ptr %8, align 8 %40 = call i64 @loop(ptr noundef %39, i32 noundef 131072) %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = add nsw i64 %42, %40 %44 = trunc i64 %43 to i32 store i32 %44, ptr %6, align 4 %45 = load i32, ptr @stderr, align 4 %46 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str.4) %47 = load ptr, ptr %8, align 8 %48 = call i64 @loop(ptr noundef %47, i32 noundef 131072) %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = add nsw i64 %50, %48 %52 = trunc i64 %51 to i32 store i32 %52, ptr %6, align 4 %53 = load i32, ptr @stderr, align 4 %54 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str.5) %55 = load ptr, ptr %10, align 8 %56 = call i64 @loop(ptr noundef %55, i32 noundef 131072) %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = add nsw i64 %58, %56 %60 = trunc i64 %59 to i32 store i32 %60, ptr %6, align 4 %61 = load i32, ptr %6, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %61) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @init(ptr noundef, i32 noundef) #1 declare i32 @cacheflush(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @loop(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/tmp8acdbdm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"a: %p -> %p\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"b: %p -> %p\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"ITERATION = 1\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"ITERATION = 2\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"ITERATION = 3\0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"ITERATION = 4\0A\00", align 1 @.str.6 = 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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %11 = call ptr @malloc(i32 noundef 524288) store ptr %11, ptr %8, align 8 %12 = call ptr @malloc(i32 noundef 163840) store ptr %12, ptr %9, align 8 %13 = call ptr @malloc(i32 noundef 524288) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %8, align 8 %15 = call i32 @init(ptr noundef %14, i32 noundef 131072) %16 = load ptr, ptr %10, align 8 %17 = call i32 @init(ptr noundef %16, i32 noundef 131072) %18 = call i32 (...) @cacheflush() %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 0 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 131072 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20, ptr noundef %22) %24 = load ptr, ptr %10, align 8 %25 = getelementptr inbounds i32, ptr %24, i64 0 %26 = load ptr, ptr %10, align 8 %27 = getelementptr inbounds i32, ptr %26, i64 131072 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25, ptr noundef %27) %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.2) %31 = load ptr, ptr %10, align 8 %32 = call i64 @loop(ptr noundef %31, i32 noundef 131072) %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = add nsw i64 %34, %32 %36 = trunc i64 %35 to i32 store i32 %36, ptr %6, align 4 %37 = load i32, ptr @stderr, align 4 %38 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str.3) %39 = load ptr, ptr %8, align 8 %40 = call i64 @loop(ptr noundef %39, i32 noundef 131072) %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = add nsw i64 %42, %40 %44 = trunc i64 %43 to i32 store i32 %44, ptr %6, align 4 %45 = load i32, ptr @stderr, align 4 %46 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str.4) %47 = load ptr, ptr %8, align 8 %48 = call i64 @loop(ptr noundef %47, i32 noundef 131072) %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = add nsw i64 %50, %48 %52 = trunc i64 %51 to i32 store i32 %52, ptr %6, align 4 %53 = load i32, ptr @stderr, align 4 %54 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str.5) %55 = load ptr, ptr %10, align 8 %56 = call i64 @loop(ptr noundef %55, i32 noundef 131072) %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = add nsw i64 %58, %56 %60 = trunc i64 %59 to i32 store i32 %60, ptr %6, align 4 %61 = load i32, ptr %6, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %61) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @init(ptr noundef, i32 noundef) #1 declare i32 @cacheflush(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @loop(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/tmpwt0nw9xv.c' source_filename = "/tmp/tmpwt0nw9xv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a() #0 { %1 = call i32 (...) @print_backtrace() ret void } declare i32 @print_backtrace(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwt0nw9xv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a() #0 { %1 = call i32 (...) @print_backtrace() ret void } declare i32 @print_backtrace(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp81lc82qq.c' source_filename = "/tmp/tmp81lc82qq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_args(i32 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 i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 1, ptr %8, align 4 br label %9 9: ; preds = %24, %3 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %27 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = call i64 @strlen(ptr noundef %18) %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = add nsw i64 %21, %19 %23 = trunc i64 %22 to i32 store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %13 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %8, align 4 br label %9, !llvm.loop !6 27: ; preds = %9 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %28, %29 %31 = add nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = mul i64 %32, 1 %34 = trunc i64 %33 to i32 %35 = call ptr @malloc(i32 noundef %34) %36 = load ptr, ptr %6, align 8 store ptr %35, ptr %36, align 8 %37 = load ptr, ptr %6, align 8 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %39, %40 %42 = add nsw i32 %41, 1 %43 = call i32 @memset(ptr noundef %38, i32 noundef 0, i32 noundef %42) store i32 1, ptr %8, align 4 br label %44 44: ; preds = %60, %27 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr %4, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %63 48: ; preds = %44 %49 = load ptr, ptr %6, align 8 %50 = load ptr, ptr %49, align 8 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %51, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = call i32 @strcat(ptr noundef %50, ptr noundef %55) %57 = load ptr, ptr %6, align 8 %58 = load ptr, ptr %57, align 8 %59 = call i32 @strcat(ptr noundef %58, ptr noundef @.str) br label %60 60: ; preds = %48 %61 = load i32, ptr %8, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %8, align 4 br label %44, !llvm.loop !8 63: ; preds = %44 ret void } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp81lc82qq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_args(i32 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 i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 1, ptr %8, align 4 %9 = load i32, ptr %8, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %29 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %23 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i64 @strlen(ptr noundef %17) %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = add nsw i64 %20, %18 %22 = trunc i64 %21 to i32 store i32 %22, ptr %7, align 4 br label %23 23: ; preds = %12 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %3 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %30, %31 %33 = add nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = mul i64 %34, 1 %36 = trunc i64 %35 to i32 %37 = call ptr @malloc(i32 noundef %36) %38 = load ptr, ptr %6, align 8 store ptr %37, ptr %38, align 8 %39 = load ptr, ptr %6, align 8 %40 = load ptr, ptr %39, align 8 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %41, %42 %44 = add nsw i32 %43, 1 %45 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef %44) store i32 1, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %.lr.ph2, label %67 .lr.ph2: ; preds = %29 br label %49 49: ; preds = %.lr.ph2, %61 %50 = load ptr, ptr %6, align 8 %51 = load ptr, ptr %50, align 8 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %8, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %52, i64 %54 %56 = load ptr, ptr %55, align 8 %57 = call i32 @strcat(ptr noundef %51, ptr noundef %56) %58 = load ptr, ptr %6, align 8 %59 = load ptr, ptr %58, align 8 %60 = call i32 @strcat(ptr noundef %59, ptr noundef @.str) br label %61 61: ; preds = %49 %62 = load i32, ptr %8, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %8, align 4 %64 = load i32, ptr %8, align 4 %65 = load i32, ptr %4, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %49, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %61 br label %67 67: ; preds = %._crit_edge3, %29 ret void } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpyqs8mmuj.c' source_filename = "/tmp/tmpyqs8mmuj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nwpwxcp_x_b97_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %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 ptr, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca i32, align 4 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca double, align 8 %40 = alloca [5 x double], align 16 %41 = alloca double, align 8 %42 = alloca i32, align 4 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 ptr %5, ptr %12, align 8 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds double, ptr %43, i64 0 %45 = load double, ptr %44, align 8 store double %45, ptr %13, align 8 %46 = load ptr, ptr %8, align 8 %47 = getelementptr inbounds double, ptr %46, i64 0 %48 = load double, ptr %47, align 8 store double %48, ptr %14, align 8 %49 = load ptr, ptr %9, align 8 %50 = load double, ptr %49, align 8 store double %50, ptr %15, align 8 %51 = load ptr, ptr %7, align 8 %52 = getelementptr inbounds double, ptr %51, i64 1 %53 = load double, ptr %52, align 8 store double %53, ptr %16, align 8 %54 = load ptr, ptr %8, align 8 %55 = getelementptr inbounds double, ptr %54, i64 1 %56 = load double, ptr %55, align 8 store double %56, ptr %17, align 8 %57 = load ptr, ptr %12, align 8 %58 = getelementptr inbounds double, ptr %57, i64 0 %59 = load double, ptr %58, align 8 %60 = fptosi double %59 to i32 store i32 %60, ptr %18, align 4 store double 4.000000e-03, ptr %41, align 8 store i32 0, ptr %42, align 4 br label %61 61: ; preds = %75, %6 %62 = load i32, ptr %42, align 4 %63 = load i32, ptr %18, align 4 %64 = icmp sle i32 %62, %63 br i1 %64, label %65, label %78 65: ; preds = %61 %66 = load ptr, ptr %12, align 8 %67 = load i32, ptr %42, align 4 %68 = add nsw i32 %67, 1 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %66, i64 %69 %71 = load double, ptr %70, align 8 %72 = load i32, ptr %42, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [5 x double], ptr %40, i64 0, i64 %73 store double %71, ptr %74, align 8 br label %75 75: ; preds = %65 %76 = load i32, ptr %42, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %42, align 4 br label %61, !llvm.loop !6 78: ; preds = %61 store double 0x3FEDC6DDE8B69518, ptr %19, align 8 %79 = load double, ptr %19, align 8 %80 = fmul double 0x3FF5555555555555, %79 store double %80, ptr %20, align 8 %81 = load double, ptr %19, align 8 %82 = fmul double 0x3FDC71C71C71C71C, %81 store double %82, ptr %21, align 8 %83 = load double, ptr %13, align 8 %84 = load ptr, ptr %10, align 8 %85 = load double, ptr %84, align 8 %86 = fcmp ogt double %83, %85 br i1 %86, label %87, label %118 87: ; preds = %78 %88 = load i32, ptr %18, align 4 %89 = icmp eq i32 %88, 2 br i1 %89, label %90, label %96 90: ; preds = %87 %91 = load double, ptr %13, align 8 %92 = load double, ptr %16, align 8 %93 = load double, ptr %41, align 8 %94 = getelementptr inbounds [5 x double], ptr %40, i64 0, i64 0 %95 = call i32 @nwpwxcP_xc_gss3tar(double noundef %91, double noundef %92, double noundef %93, ptr noundef %94, ptr noundef %28, ptr noundef %30, ptr noundef %32, ptr noundef %34, ptr noundef %38, ptr noundef %36) br label %102 96: ; preds = %87 %97 = load double, ptr %13, align 8 %98 = load double, ptr %16, align 8 %99 = load double, ptr %41, align 8 %100 = getelementptr inbounds [5 x double], ptr %40, i64 0, i64 0 %101 = call i32 @nwpwxcP_xc_gss5tar(double noundef %97, double noundef %98, double noundef %99, ptr noundef %100, ptr noundef %28, ptr noundef %30, ptr noundef %32, ptr noundef %34, ptr noundef %38, ptr noundef %36) br label %102 102: ; preds = %96, %90 %103 = load double, ptr %19, align 8 %104 = fneg double %103 %105 = load double, ptr %13, align 8 %106 = call double @pow(double noundef %105, double noundef 0x3FF5555555555555) #4 %107 = fmul double %104, %106 store double %107, ptr %22, align 8 %108 = load double, ptr %20, align 8 %109 = fneg double %108 %110 = load double, ptr %13, align 8 %111 = call double @pow(double noundef %110, double noundef 0x3FD5555555555555) #4 %112 = fmul double %109, %111 store double %112, ptr %23, align 8 %113 = load double, ptr %21, align 8 %114 = fneg double %113 %115 = load double, ptr %13, align 8 %116 = call double @pow(double noundef %115, double noundef 0xBFE5555555555555) #4 %117 = fmul double %114, %116 store double %117, ptr %26, align 8 br label %119 118: ; preds = %78 store double 0.000000e+00, ptr %22, align 8 store double 0.000000e+00, ptr %23, align 8 store double 0.000000e+00, ptr %26, align 8 store double 0.000000e+00, ptr %30, align 8 store double 0.000000e+00, ptr %32, align 8 store double 0.000000e+00, ptr %34, align 8 store double 0.000000e+00, ptr %38, align 8 store double 0.000000e+00, ptr %36, align 8 br label %119 119: ; preds = %118, %102 %120 = load double, ptr %14, align 8 %121 = load ptr, ptr %10, align 8 %122 = load double, ptr %121, align 8 %123 = fcmp ogt double %120, %122 br i1 %123, label %124, label %155 124: ; preds = %119 %125 = load i32, ptr %18, align 4 %126 = icmp eq i32 %125, 2 br i1 %126, label %127, label %133 127: ; preds = %124 %128 = load double, ptr %14, align 8 %129 = load double, ptr %17, align 8 %130 = load double, ptr %41, align 8 %131 = getelementptr inbounds [5 x double], ptr %40, i64 0, i64 0 %132 = call i32 @nwpwxcP_xc_gss3tar(double noundef %128, double noundef %129, double noundef %130, ptr noundef %131, ptr noundef %29, ptr noundef %31, ptr noundef %33, ptr noundef %35, ptr noundef %39, ptr noundef %37) br label %139 133: ; preds = %124 %134 = load double, ptr %14, align 8 %135 = load double, ptr %17, align 8 %136 = load double, ptr %41, align 8 %137 = getelementptr inbounds [5 x double], ptr %40, i64 0, i64 0 %138 = call i32 @nwpwxcP_xc_gss5tar(double noundef %134, double noundef %135, double noundef %136, ptr noundef %137, ptr noundef %29, ptr noundef %31, ptr noundef %33, ptr noundef %35, ptr noundef %39, ptr noundef %37) br label %139 139: ; preds = %133, %127 %140 = load double, ptr %19, align 8 %141 = fneg double %140 %142 = load double, ptr %14, align 8 %143 = call double @pow(double noundef %142, double noundef 0x3FF5555555555555) #4 %144 = fmul double %141, %143 store double %144, ptr %24, align 8 %145 = load double, ptr %20, align 8 %146 = fneg double %145 %147 = load double, ptr %14, align 8 %148 = call double @pow(double noundef %147, double noundef 0x3FD5555555555555) #4 %149 = fmul double %146, %148 store double %149, ptr %25, align 8 %150 = load double, ptr %21, align 8 %151 = fneg double %150 %152 = load double, ptr %14, align 8 %153 = call double @pow(double noundef %152, double noundef 0xBFE5555555555555) #4 %154 = fmul double %151, %153 store double %154, ptr %27, align 8 br label %156 155: ; preds = %119 store double 0.000000e+00, ptr %24, align 8 store double 0.000000e+00, ptr %25, align 8 store double 0.000000e+00, ptr %27, align 8 store double 0.000000e+00, ptr %31, align 8 store double 0.000000e+00, ptr %33, align 8 store double 0.000000e+00, ptr %35, align 8 store double 0.000000e+00, ptr %39, align 8 store double 0.000000e+00, ptr %37, align 8 br label %156 156: ; preds = %155, %139 %157 = load double, ptr %15, align 8 %158 = load double, ptr %22, align 8 %159 = load double, ptr %28, align 8 %160 = load double, ptr %24, align 8 %161 = load double, ptr %29, align 8 %162 = fmul double %160, %161 %163 = call double @llvm.fmuladd.f64(double %158, double %159, double %162) %164 = fmul double %157, %163 %165 = load ptr, ptr %11, align 8 %166 = getelementptr inbounds double, ptr %165, i64 0 store double %164, ptr %166, align 8 %167 = load double, ptr %15, align 8 %168 = load double, ptr %23, align 8 %169 = load double, ptr %28, align 8 %170 = load double, ptr %22, align 8 %171 = load double, ptr %30, align 8 %172 = fmul double %170, %171 %173 = call double @llvm.fmuladd.f64(double %168, double %169, double %172) %174 = fmul double %167, %173 %175 = load ptr, ptr %11, align 8 %176 = getelementptr inbounds double, ptr %175, i64 1 store double %174, ptr %176, align 8 %177 = load double, ptr %15, align 8 %178 = load double, ptr %25, align 8 %179 = load double, ptr %29, align 8 %180 = load double, ptr %24, align 8 %181 = load double, ptr %31, align 8 %182 = fmul double %180, %181 %183 = call double @llvm.fmuladd.f64(double %178, double %179, double %182) %184 = fmul double %177, %183 %185 = load ptr, ptr %11, align 8 %186 = getelementptr inbounds double, ptr %185, i64 2 store double %184, ptr %186, align 8 %187 = load double, ptr %15, align 8 %188 = load double, ptr %22, align 8 %189 = load double, ptr %32, align 8 %190 = fmul double %188, %189 %191 = fmul double %187, %190 %192 = load ptr, ptr %11, align 8 %193 = getelementptr inbounds double, ptr %192, i64 3 store double %191, ptr %193, align 8 %194 = load double, ptr %15, align 8 %195 = load double, ptr %24, align 8 %196 = load double, ptr %33, align 8 %197 = fmul double %195, %196 %198 = fmul double %194, %197 %199 = load ptr, ptr %11, align 8 %200 = getelementptr inbounds double, ptr %199, i64 5 store double %198, ptr %200, align 8 %201 = load double, ptr %15, align 8 %202 = load double, ptr %26, align 8 %203 = load double, ptr %28, align 8 %204 = load double, ptr %23, align 8 %205 = fmul double 2.000000e+00, %204 %206 = load double, ptr %30, align 8 %207 = fmul double %205, %206 %208 = call double @llvm.fmuladd.f64(double %202, double %203, double %207) %209 = load double, ptr %22, align 8 %210 = load double, ptr %34, align 8 %211 = call double @llvm.fmuladd.f64(double %209, double %210, double %208) %212 = fmul double %201, %211 %213 = load ptr, ptr %11, align 8 %214 = getelementptr inbounds double, ptr %213, i64 6 store double %212, ptr %214, align 8 %215 = load double, ptr %15, align 8 %216 = load double, ptr %27, align 8 %217 = load double, ptr %29, align 8 %218 = load double, ptr %25, align 8 %219 = fmul double 2.000000e+00, %218 %220 = load double, ptr %31, align 8 %221 = fmul double %219, %220 %222 = call double @llvm.fmuladd.f64(double %216, double %217, double %221) %223 = load double, ptr %24, align 8 %224 = load double, ptr %35, align 8 %225 = call double @llvm.fmuladd.f64(double %223, double %224, double %222) %226 = fmul double %215, %225 %227 = load ptr, ptr %11, align 8 %228 = getelementptr inbounds double, ptr %227, i64 7 store double %226, ptr %228, align 8 %229 = load double, ptr %15, align 8 %230 = load double, ptr %22, align 8 %231 = load double, ptr %36, align 8 %232 = fmul double %230, %231 %233 = fmul double %229, %232 %234 = load ptr, ptr %11, align 8 %235 = getelementptr inbounds double, ptr %234, i64 9 store double %233, ptr %235, align 8 %236 = load double, ptr %15, align 8 %237 = load double, ptr %24, align 8 %238 = load double, ptr %37, align 8 %239 = fmul double %237, %238 %240 = fmul double %236, %239 %241 = load ptr, ptr %11, align 8 %242 = getelementptr inbounds double, ptr %241, i64 13 store double %240, ptr %242, align 8 %243 = load double, ptr %15, align 8 %244 = load double, ptr %23, align 8 %245 = load double, ptr %32, align 8 %246 = load double, ptr %22, align 8 %247 = load double, ptr %38, align 8 %248 = fmul double %246, %247 %249 = call double @llvm.fmuladd.f64(double %244, double %245, double %248) %250 = fmul double %243, %249 %251 = load ptr, ptr %11, align 8 %252 = getelementptr inbounds double, ptr %251, i64 15 store double %250, ptr %252, align 8 %253 = load double, ptr %15, align 8 %254 = load double, ptr %25, align 8 %255 = load double, ptr %33, align 8 %256 = load double, ptr %24, align 8 %257 = load double, ptr %39, align 8 %258 = fmul double %256, %257 %259 = call double @llvm.fmuladd.f64(double %254, double %255, double %258) %260 = fmul double %253, %259 %261 = load ptr, ptr %11, align 8 %262 = getelementptr inbounds double, ptr %261, i64 20 store double %260, ptr %262, align 8 %263 = load ptr, ptr %11, align 8 %264 = getelementptr inbounds double, ptr %263, i64 14 store double 0.000000e+00, ptr %264, align 8 %265 = load ptr, ptr %11, align 8 %266 = getelementptr inbounds double, ptr %265, i64 4 store double 0.000000e+00, ptr %266, align 8 %267 = load ptr, ptr %11, align 8 %268 = getelementptr inbounds double, ptr %267, i64 8 store double 0.000000e+00, ptr %268, align 8 %269 = load ptr, ptr %11, align 8 %270 = getelementptr inbounds double, ptr %269, i64 16 store double 0.000000e+00, ptr %270, align 8 %271 = load ptr, ptr %11, align 8 %272 = getelementptr inbounds double, ptr %271, i64 17 store double 0.000000e+00, ptr %272, align 8 %273 = load ptr, ptr %11, align 8 %274 = getelementptr inbounds double, ptr %273, i64 18 store double 0.000000e+00, ptr %274, align 8 %275 = load ptr, ptr %11, align 8 %276 = getelementptr inbounds double, ptr %275, i64 19 store double 0.000000e+00, ptr %276, align 8 %277 = load ptr, ptr %11, align 8 %278 = getelementptr inbounds double, ptr %277, i64 10 store double 0.000000e+00, ptr %278, align 8 %279 = load ptr, ptr %11, align 8 %280 = getelementptr inbounds double, ptr %279, i64 11 store double 0.000000e+00, ptr %280, align 8 %281 = load ptr, ptr %11, align 8 %282 = getelementptr inbounds double, ptr %281, i64 12 store double 0.000000e+00, ptr %282, align 8 ret void } declare i32 @nwpwxcP_xc_gss3tar(double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @nwpwxcP_xc_gss5tar(double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyqs8mmuj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nwpwxcp_x_b97_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %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 ptr, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca i32, align 4 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca double, align 8 %40 = alloca [5 x double], align 16 %41 = alloca double, align 8 %42 = alloca i32, align 4 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 ptr %5, ptr %12, align 8 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds double, ptr %43, i64 0 %45 = load double, ptr %44, align 8 store double %45, ptr %13, align 8 %46 = load ptr, ptr %8, align 8 %47 = getelementptr inbounds double, ptr %46, i64 0 %48 = load double, ptr %47, align 8 store double %48, ptr %14, align 8 %49 = load ptr, ptr %9, align 8 %50 = load double, ptr %49, align 8 store double %50, ptr %15, align 8 %51 = load ptr, ptr %7, align 8 %52 = getelementptr inbounds double, ptr %51, i64 1 %53 = load double, ptr %52, align 8 store double %53, ptr %16, align 8 %54 = load ptr, ptr %8, align 8 %55 = getelementptr inbounds double, ptr %54, i64 1 %56 = load double, ptr %55, align 8 store double %56, ptr %17, align 8 %57 = load ptr, ptr %12, align 8 %58 = getelementptr inbounds double, ptr %57, i64 0 %59 = load double, ptr %58, align 8 %60 = fptosi double %59 to i32 store i32 %60, ptr %18, align 4 store double 4.000000e-03, ptr %41, align 8 store i32 0, ptr %42, align 4 %61 = load i32, ptr %42, align 4 %62 = load i32, ptr %18, align 4 %63 = icmp sle i32 %61, %62 br i1 %63, label %.lr.ph, label %80 .lr.ph: ; preds = %6 br label %64 64: ; preds = %.lr.ph, %74 %65 = load ptr, ptr %12, align 8 %66 = load i32, ptr %42, align 4 %67 = add nsw i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %65, i64 %68 %70 = load double, ptr %69, align 8 %71 = load i32, ptr %42, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [5 x double], ptr %40, i64 0, i64 %72 store double %70, ptr %73, align 8 br label %74 74: ; preds = %64 %75 = load i32, ptr %42, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %42, align 4 %77 = load i32, ptr %42, align 4 %78 = load i32, ptr %18, align 4 %79 = icmp sle i32 %77, %78 br i1 %79, label %64, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %80 80: ; preds = %._crit_edge, %6 store double 0x3FEDC6DDE8B69518, ptr %19, align 8 %81 = load double, ptr %19, align 8 %82 = fmul double 0x3FF5555555555555, %81 store double %82, ptr %20, align 8 %83 = load double, ptr %19, align 8 %84 = fmul double 0x3FDC71C71C71C71C, %83 store double %84, ptr %21, align 8 %85 = load double, ptr %13, align 8 %86 = load ptr, ptr %10, align 8 %87 = load double, ptr %86, align 8 %88 = fcmp ogt double %85, %87 br i1 %88, label %89, label %120 89: ; preds = %80 %90 = load i32, ptr %18, align 4 %91 = icmp eq i32 %90, 2 br i1 %91, label %92, label %98 92: ; preds = %89 %93 = load double, ptr %13, align 8 %94 = load double, ptr %16, align 8 %95 = load double, ptr %41, align 8 %96 = getelementptr inbounds [5 x double], ptr %40, i64 0, i64 0 %97 = call i32 @nwpwxcP_xc_gss3tar(double noundef %93, double noundef %94, double noundef %95, ptr noundef %96, ptr noundef %28, ptr noundef %30, ptr noundef %32, ptr noundef %34, ptr noundef %38, ptr noundef %36) br label %104 98: ; preds = %89 %99 = load double, ptr %13, align 8 %100 = load double, ptr %16, align 8 %101 = load double, ptr %41, align 8 %102 = getelementptr inbounds [5 x double], ptr %40, i64 0, i64 0 %103 = call i32 @nwpwxcP_xc_gss5tar(double noundef %99, double noundef %100, double noundef %101, ptr noundef %102, ptr noundef %28, ptr noundef %30, ptr noundef %32, ptr noundef %34, ptr noundef %38, ptr noundef %36) br label %104 104: ; preds = %98, %92 %105 = load double, ptr %19, align 8 %106 = fneg double %105 %107 = load double, ptr %13, align 8 %108 = call double @pow(double noundef %107, double noundef 0x3FF5555555555555) #4 %109 = fmul double %106, %108 store double %109, ptr %22, align 8 %110 = load double, ptr %20, align 8 %111 = fneg double %110 %112 = load double, ptr %13, align 8 %113 = call double @pow(double noundef %112, double noundef 0x3FD5555555555555) #4 %114 = fmul double %111, %113 store double %114, ptr %23, align 8 %115 = load double, ptr %21, align 8 %116 = fneg double %115 %117 = load double, ptr %13, align 8 %118 = call double @pow(double noundef %117, double noundef 0xBFE5555555555555) #4 %119 = fmul double %116, %118 store double %119, ptr %26, align 8 br label %121 120: ; preds = %80 store double 0.000000e+00, ptr %22, align 8 store double 0.000000e+00, ptr %23, align 8 store double 0.000000e+00, ptr %26, align 8 store double 0.000000e+00, ptr %30, align 8 store double 0.000000e+00, ptr %32, align 8 store double 0.000000e+00, ptr %34, align 8 store double 0.000000e+00, ptr %38, align 8 store double 0.000000e+00, ptr %36, align 8 br label %121 121: ; preds = %120, %104 %122 = load double, ptr %14, align 8 %123 = load ptr, ptr %10, align 8 %124 = load double, ptr %123, align 8 %125 = fcmp ogt double %122, %124 br i1 %125, label %126, label %157 126: ; preds = %121 %127 = load i32, ptr %18, align 4 %128 = icmp eq i32 %127, 2 br i1 %128, label %129, label %135 129: ; preds = %126 %130 = load double, ptr %14, align 8 %131 = load double, ptr %17, align 8 %132 = load double, ptr %41, align 8 %133 = getelementptr inbounds [5 x double], ptr %40, i64 0, i64 0 %134 = call i32 @nwpwxcP_xc_gss3tar(double noundef %130, double noundef %131, double noundef %132, ptr noundef %133, ptr noundef %29, ptr noundef %31, ptr noundef %33, ptr noundef %35, ptr noundef %39, ptr noundef %37) br label %141 135: ; preds = %126 %136 = load double, ptr %14, align 8 %137 = load double, ptr %17, align 8 %138 = load double, ptr %41, align 8 %139 = getelementptr inbounds [5 x double], ptr %40, i64 0, i64 0 %140 = call i32 @nwpwxcP_xc_gss5tar(double noundef %136, double noundef %137, double noundef %138, ptr noundef %139, ptr noundef %29, ptr noundef %31, ptr noundef %33, ptr noundef %35, ptr noundef %39, ptr noundef %37) br label %141 141: ; preds = %135, %129 %142 = load double, ptr %19, align 8 %143 = fneg double %142 %144 = load double, ptr %14, align 8 %145 = call double @pow(double noundef %144, double noundef 0x3FF5555555555555) #4 %146 = fmul double %143, %145 store double %146, ptr %24, align 8 %147 = load double, ptr %20, align 8 %148 = fneg double %147 %149 = load double, ptr %14, align 8 %150 = call double @pow(double noundef %149, double noundef 0x3FD5555555555555) #4 %151 = fmul double %148, %150 store double %151, ptr %25, align 8 %152 = load double, ptr %21, align 8 %153 = fneg double %152 %154 = load double, ptr %14, align 8 %155 = call double @pow(double noundef %154, double noundef 0xBFE5555555555555) #4 %156 = fmul double %153, %155 store double %156, ptr %27, align 8 br label %158 157: ; preds = %121 store double 0.000000e+00, ptr %24, align 8 store double 0.000000e+00, ptr %25, align 8 store double 0.000000e+00, ptr %27, align 8 store double 0.000000e+00, ptr %31, align 8 store double 0.000000e+00, ptr %33, align 8 store double 0.000000e+00, ptr %35, align 8 store double 0.000000e+00, ptr %39, align 8 store double 0.000000e+00, ptr %37, align 8 br label %158 158: ; preds = %157, %141 %159 = load double, ptr %15, align 8 %160 = load double, ptr %22, align 8 %161 = load double, ptr %28, align 8 %162 = load double, ptr %24, align 8 %163 = load double, ptr %29, align 8 %164 = fmul double %162, %163 %165 = call double @llvm.fmuladd.f64(double %160, double %161, double %164) %166 = fmul double %159, %165 %167 = load ptr, ptr %11, align 8 %168 = getelementptr inbounds double, ptr %167, i64 0 store double %166, ptr %168, align 8 %169 = load double, ptr %15, align 8 %170 = load double, ptr %23, align 8 %171 = load double, ptr %28, align 8 %172 = load double, ptr %22, align 8 %173 = load double, ptr %30, align 8 %174 = fmul double %172, %173 %175 = call double @llvm.fmuladd.f64(double %170, double %171, double %174) %176 = fmul double %169, %175 %177 = load ptr, ptr %11, align 8 %178 = getelementptr inbounds double, ptr %177, i64 1 store double %176, ptr %178, align 8 %179 = load double, ptr %15, align 8 %180 = load double, ptr %25, align 8 %181 = load double, ptr %29, align 8 %182 = load double, ptr %24, align 8 %183 = load double, ptr %31, align 8 %184 = fmul double %182, %183 %185 = call double @llvm.fmuladd.f64(double %180, double %181, double %184) %186 = fmul double %179, %185 %187 = load ptr, ptr %11, align 8 %188 = getelementptr inbounds double, ptr %187, i64 2 store double %186, ptr %188, align 8 %189 = load double, ptr %15, align 8 %190 = load double, ptr %22, align 8 %191 = load double, ptr %32, align 8 %192 = fmul double %190, %191 %193 = fmul double %189, %192 %194 = load ptr, ptr %11, align 8 %195 = getelementptr inbounds double, ptr %194, i64 3 store double %193, ptr %195, align 8 %196 = load double, ptr %15, align 8 %197 = load double, ptr %24, align 8 %198 = load double, ptr %33, align 8 %199 = fmul double %197, %198 %200 = fmul double %196, %199 %201 = load ptr, ptr %11, align 8 %202 = getelementptr inbounds double, ptr %201, i64 5 store double %200, ptr %202, align 8 %203 = load double, ptr %15, align 8 %204 = load double, ptr %26, align 8 %205 = load double, ptr %28, align 8 %206 = load double, ptr %23, align 8 %207 = fmul double 2.000000e+00, %206 %208 = load double, ptr %30, align 8 %209 = fmul double %207, %208 %210 = call double @llvm.fmuladd.f64(double %204, double %205, double %209) %211 = load double, ptr %22, align 8 %212 = load double, ptr %34, align 8 %213 = call double @llvm.fmuladd.f64(double %211, double %212, double %210) %214 = fmul double %203, %213 %215 = load ptr, ptr %11, align 8 %216 = getelementptr inbounds double, ptr %215, i64 6 store double %214, ptr %216, align 8 %217 = load double, ptr %15, align 8 %218 = load double, ptr %27, align 8 %219 = load double, ptr %29, align 8 %220 = load double, ptr %25, align 8 %221 = fmul double 2.000000e+00, %220 %222 = load double, ptr %31, align 8 %223 = fmul double %221, %222 %224 = call double @llvm.fmuladd.f64(double %218, double %219, double %223) %225 = load double, ptr %24, align 8 %226 = load double, ptr %35, align 8 %227 = call double @llvm.fmuladd.f64(double %225, double %226, double %224) %228 = fmul double %217, %227 %229 = load ptr, ptr %11, align 8 %230 = getelementptr inbounds double, ptr %229, i64 7 store double %228, ptr %230, align 8 %231 = load double, ptr %15, align 8 %232 = load double, ptr %22, align 8 %233 = load double, ptr %36, align 8 %234 = fmul double %232, %233 %235 = fmul double %231, %234 %236 = load ptr, ptr %11, align 8 %237 = getelementptr inbounds double, ptr %236, i64 9 store double %235, ptr %237, align 8 %238 = load double, ptr %15, align 8 %239 = load double, ptr %24, align 8 %240 = load double, ptr %37, align 8 %241 = fmul double %239, %240 %242 = fmul double %238, %241 %243 = load ptr, ptr %11, align 8 %244 = getelementptr inbounds double, ptr %243, i64 13 store double %242, ptr %244, align 8 %245 = load double, ptr %15, align 8 %246 = load double, ptr %23, align 8 %247 = load double, ptr %32, align 8 %248 = load double, ptr %22, align 8 %249 = load double, ptr %38, align 8 %250 = fmul double %248, %249 %251 = call double @llvm.fmuladd.f64(double %246, double %247, double %250) %252 = fmul double %245, %251 %253 = load ptr, ptr %11, align 8 %254 = getelementptr inbounds double, ptr %253, i64 15 store double %252, ptr %254, align 8 %255 = load double, ptr %15, align 8 %256 = load double, ptr %25, align 8 %257 = load double, ptr %33, align 8 %258 = load double, ptr %24, align 8 %259 = load double, ptr %39, align 8 %260 = fmul double %258, %259 %261 = call double @llvm.fmuladd.f64(double %256, double %257, double %260) %262 = fmul double %255, %261 %263 = load ptr, ptr %11, align 8 %264 = getelementptr inbounds double, ptr %263, i64 20 store double %262, ptr %264, align 8 %265 = load ptr, ptr %11, align 8 %266 = getelementptr inbounds double, ptr %265, i64 14 store double 0.000000e+00, ptr %266, align 8 %267 = load ptr, ptr %11, align 8 %268 = getelementptr inbounds double, ptr %267, i64 4 store double 0.000000e+00, ptr %268, align 8 %269 = load ptr, ptr %11, align 8 %270 = getelementptr inbounds double, ptr %269, i64 8 store double 0.000000e+00, ptr %270, align 8 %271 = load ptr, ptr %11, align 8 %272 = getelementptr inbounds double, ptr %271, i64 16 store double 0.000000e+00, ptr %272, align 8 %273 = load ptr, ptr %11, align 8 %274 = getelementptr inbounds double, ptr %273, i64 17 store double 0.000000e+00, ptr %274, align 8 %275 = load ptr, ptr %11, align 8 %276 = getelementptr inbounds double, ptr %275, i64 18 store double 0.000000e+00, ptr %276, align 8 %277 = load ptr, ptr %11, align 8 %278 = getelementptr inbounds double, ptr %277, i64 19 store double 0.000000e+00, ptr %278, align 8 %279 = load ptr, ptr %11, align 8 %280 = getelementptr inbounds double, ptr %279, i64 10 store double 0.000000e+00, ptr %280, align 8 %281 = load ptr, ptr %11, align 8 %282 = getelementptr inbounds double, ptr %281, i64 11 store double 0.000000e+00, ptr %282, align 8 %283 = load ptr, ptr %11, align 8 %284 = getelementptr inbounds double, ptr %283, i64 12 store double 0.000000e+00, ptr %284, align 8 ret void } declare i32 @nwpwxcP_xc_gss3tar(double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @nwpwxcP_xc_gss5tar(double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjgs__pei.c' source_filename = "/tmp/tmpjgs__pei.c" target datalayout = "e-m:e-p270: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/tmpjgs__pei.c" target datalayout = "e-m:e-p270: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/tmpp8jsvwfk.c' source_filename = "/tmp/tmpp8jsvwfk.c" target datalayout = "e-m:e-p270: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/tmpp8jsvwfk.c" target datalayout = "e-m:e-p270: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/tmp6ams22w1.c' source_filename = "/tmp/tmp6ams22w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_sha256_hexdigest(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 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = call i32 @sha256_hexdigest(ptr noundef %5, ptr noundef %6, i32 noundef %8) ret void } declare i32 @sha256_hexdigest(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ams22w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_sha256_hexdigest(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 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = call i32 @sha256_hexdigest(ptr noundef %5, ptr noundef %6, i32 noundef %8) ret void } declare i32 @sha256_hexdigest(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphfrh3_3j.c' source_filename = "/tmp/tmphfrh3_3j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %10, align 8 store i64 0, ptr %9, align 8 br label %12 12: ; preds = %34, %32, %3 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %7, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %16, label %43 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %10, align 8 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %9, align 8 %21 = sub i64 %19, %20 %22 = call i32 @write(i32 noundef %17, ptr noundef %18, i64 noundef %21) store i32 %22, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp sle i32 %23, 0 br i1 %24, label %25, label %34 25: ; preds = %16 %26 = load i32, ptr %8, align 4 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load i64, ptr @errno, align 8 %30 = load i64, ptr @EINTR, align 8 %31 = icmp eq i64 %29, %30 br i1 %31, label %32, label %33 32: ; preds = %28 br label %12, !llvm.loop !6 33: ; preds = %28, %25 store i32 -1, ptr %4, align 4 br label %46 34: ; preds = %16 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = load i64, ptr %9, align 8 %38 = add i64 %37, %36 store i64 %38, ptr %9, align 8 %39 = load i32, ptr %8, align 4 %40 = load ptr, ptr %10, align 8 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds i8, ptr %40, i64 %41 store ptr %42, ptr %10, align 8 br label %12, !llvm.loop !6 43: ; preds = %12 %44 = load i64, ptr %9, align 8 %45 = trunc i64 %44 to i32 store i32 %45, ptr %4, align 4 br label %46 46: ; preds = %43, %33 %47 = load i32, ptr %4, align 4 ret i32 %47 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphfrh3_3j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %10, align 8 store i64 0, ptr %9, align 8 %12 = load i64, ptr %9, align 8 %13 = load i64, ptr %7, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %.lr.ph, label %45 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %.backedge %16 = load i32, ptr %5, align 4 %17 = load ptr, ptr %10, align 8 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %9, align 8 %20 = sub i64 %18, %19 %21 = call i32 @write(i32 noundef %16, ptr noundef %17, i64 noundef %20) store i32 %21, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp sle i32 %22, 0 br i1 %23, label %24, label %36 24: ; preds = %15 %25 = load i32, ptr %8, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %35 27: ; preds = %24 %28 = load i64, ptr @errno, align 8 %29 = load i64, ptr @EINTR, align 8 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %35 31: ; preds = %27 br label %.backedge .backedge: ; preds = %31, %36 %32 = load i64, ptr %9, align 8 %33 = load i64, ptr %7, align 8 %34 = icmp ult i64 %32, %33 br i1 %34, label %15, label %._crit_edge, !llvm.loop !6 35: ; preds = %27, %24 store i32 -1, ptr %4, align 4 br label %48 36: ; preds = %15 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = load i64, ptr %9, align 8 %40 = add i64 %39, %38 store i64 %40, ptr %9, align 8 %41 = load i32, ptr %8, align 4 %42 = load ptr, ptr %10, align 8 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i8, ptr %42, i64 %43 store ptr %44, ptr %10, align 8 br label %.backedge ._crit_edge: ; preds = %.backedge br label %45 45: ; preds = %._crit_edge, %3 %46 = load i64, ptr %9, align 8 %47 = trunc i64 %46 to i32 store i32 %47, ptr %4, align 4 br label %48 48: ; preds = %45, %35 %49 = load i32, ptr %4, align 4 ret i32 %49 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpal6i0ayo.c' source_filename = "/tmp/tmpal6i0ayo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assert(i32 noundef 0) ret i32 0 } 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/tmpal6i0ayo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assert(i32 noundef 0) ret i32 0 } 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/tmpeflqgpc3.c' source_filename = "/tmp/tmpeflqgpc3.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"thread started ...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thr_fn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 (...) @pause() ret ptr null } declare i32 @printf(ptr noundef) #1 declare i32 @pause(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeflqgpc3.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"thread started ...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thr_fn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 (...) @pause() ret ptr null } declare i32 @printf(ptr noundef) #1 declare i32 @pause(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsbha8ez4.c' source_filename = "/tmp/tmpsbha8ez4.c" target datalayout = "e-m:e-p270: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/tmpsbha8ez4.c" target datalayout = "e-m:e-p270: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/tmpk2_3y9ec.c' source_filename = "/tmp/tmpk2_3y9ec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"FALSE\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 0, ptr %6, align 1 store i8 0, ptr %10, align 1 store i8 0, ptr %9, align 1 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %111, %76, %65, %54, %43, %28, %0 %12 = call i32 (...) @getchar() store i32 %12, ptr %2, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %114 15: ; preds = %11 %16 = load i8, ptr %6, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 47 br i1 %18, label %19, label %31 19: ; preds = %15 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 42 br i1 %21, label %22, label %23 22: ; preds = %19 store i8 1, ptr %9, align 1 br label %28 23: ; preds = %19 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 47 br i1 %25, label %26, label %27 26: ; preds = %23 store i8 1, ptr %10, align 1 br label %27 27: ; preds = %26, %23 br label %28 28: ; preds = %27, %22 %29 = load i32, ptr %2, align 4 %30 = trunc i32 %29 to i8 store i8 %30, ptr %6, align 1 br label %11, !llvm.loop !6 31: ; preds = %15 %32 = load i8, ptr %9, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %46 35: ; preds = %31 %36 = load i8, ptr %6, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 42 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = load i32, ptr %2, align 4 %41 = icmp eq i32 %40, 47 br i1 %41, label %42, label %43 42: ; preds = %39 store i8 0, ptr %9, align 1 br label %43 43: ; preds = %42, %39, %35 %44 = load i32, ptr %2, align 4 %45 = trunc i32 %44 to i8 store i8 %45, ptr %6, align 1 br label %11, !llvm.loop !6 46: ; preds = %31 %47 = load i8, ptr %10, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 1 br i1 %49, label %50, label %57 50: ; preds = %46 %51 = load i32, ptr %2, align 4 %52 = icmp eq i32 %51, 10 br i1 %52, label %53, label %54 53: ; preds = %50 store i8 0, ptr %10, align 1 br label %54 54: ; preds = %53, %50 %55 = load i32, ptr %2, align 4 %56 = trunc i32 %55 to i8 store i8 %56, ptr %6, align 1 br label %11, !llvm.loop !6 57: ; preds = %46 %58 = load i8, ptr %7, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 1 br i1 %60, label %61, label %68 61: ; preds = %57 %62 = load i32, ptr %2, align 4 %63 = icmp eq i32 %62, 39 br i1 %63, label %64, label %65 64: ; preds = %61 store i8 0, ptr %7, align 1 br label %65 65: ; preds = %64, %61 %66 = load i32, ptr %2, align 4 %67 = trunc i32 %66 to i8 store i8 %67, ptr %6, align 1 br label %11, !llvm.loop !6 68: ; preds = %57 %69 = load i8, ptr %8, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 1 br i1 %71, label %72, label %79 72: ; preds = %68 %73 = load i32, ptr %2, align 4 %74 = icmp eq i32 %73, 34 br i1 %74, label %75, label %76 75: ; preds = %72 store i8 0, ptr %8, align 1 br label %76 76: ; preds = %75, %72 %77 = load i32, ptr %2, align 4 %78 = trunc i32 %77 to i8 store i8 %78, ptr %6, align 1 br label %11, !llvm.loop !6 79: ; preds = %68 %80 = load i32, ptr %2, align 4 switch i32 %80, label %111 [ i32 40, label %81 i32 91, label %84 i32 123, label %87 i32 41, label %90 i32 93, label %97 i32 125, label %104 ] 81: ; preds = %79 %82 = load i32, ptr %3, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %3, align 4 br label %111 84: ; preds = %79 %85 = load i32, ptr %4, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %4, align 4 br label %111 87: ; preds = %79 %88 = load i32, ptr %5, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %5, align 4 br label %111 90: ; preds = %79 %91 = load i32, ptr %3, align 4 %92 = icmp sle i32 %91, 0 br i1 %92, label %93, label %94 93: ; preds = %90 store i32 0, ptr %1, align 4 br label %143 94: ; preds = %90 %95 = load i32, ptr %3, align 4 %96 = add nsw i32 %95, -1 store i32 %96, ptr %3, align 4 br label %111 97: ; preds = %79 %98 = load i32, ptr %4, align 4 %99 = icmp sle i32 %98, 0 br i1 %99, label %100, label %101 100: ; preds = %97 store i32 0, ptr %1, align 4 br label %143 101: ; preds = %97 %102 = load i32, ptr %4, align 4 %103 = add nsw i32 %102, -1 store i32 %103, ptr %4, align 4 br label %111 104: ; preds = %79 %105 = load i32, ptr %5, align 4 %106 = icmp sle i32 %105, 0 br i1 %106, label %107, label %108 107: ; preds = %104 store i32 0, ptr %1, align 4 br label %143 108: ; preds = %104 %109 = load i32, ptr %5, align 4 %110 = add nsw i32 %109, -1 store i32 %110, ptr %5, align 4 br label %111 111: ; preds = %79, %108, %101, %94, %87, %84, %81 %112 = load i32, ptr %2, align 4 %113 = trunc i32 %112 to i8 store i8 %113, ptr %6, align 1 br label %11, !llvm.loop !6 114: ; preds = %11 %115 = load i8, ptr %7, align 1 %116 = sext i8 %115 to i32 %117 = icmp ne i32 %116, 0 br i1 %117, label %139, label %118 118: ; preds = %114 %119 = load i8, ptr %8, align 1 %120 = sext i8 %119 to i32 %121 = icmp ne i32 %120, 0 br i1 %121, label %139, label %122 122: ; preds = %118 %123 = load i8, ptr %9, align 1 %124 = sext i8 %123 to i32 %125 = icmp ne i32 %124, 0 br i1 %125, label %139, label %126 126: ; preds = %122 %127 = load i8, ptr %10, align 1 %128 = sext i8 %127 to i32 %129 = icmp ne i32 %128, 0 br i1 %129, label %139, label %130 130: ; preds = %126 %131 = load i32, ptr %3, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %139, label %133 133: ; preds = %130 %134 = load i32, ptr %4, align 4 %135 = icmp ne i32 %134, 0 br i1 %135, label %139, label %136 136: ; preds = %133 %137 = load i32, ptr %5, align 4 %138 = icmp ne i32 %137, 0 br i1 %138, label %139, label %141 139: ; preds = %136, %133, %130, %126, %122, %118, %114 %140 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %143 141: ; preds = %136 %142 = call i32 @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %143 143: ; preds = %141, %139, %107, %100, %93 %144 = load i32, ptr %1, align 4 ret i32 %144 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk2_3y9ec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"FALSE\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 0, ptr %6, align 1 store i8 0, ptr %10, align 1 store i8 0, ptr %9, align 1 store i8 0, ptr %8, align 1 store i8 0, ptr %7, align 1 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %11 = call i32 (...) @getchar() store i32 %11, ptr %2, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %.lr.ph, label %116 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %.backedge %15 = load i8, ptr %6, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 47 br i1 %17, label %18, label %33 18: ; preds = %14 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 42 br i1 %20, label %21, label %22 21: ; preds = %18 store i8 1, ptr %9, align 1 br label %27 22: ; preds = %18 %23 = load i32, ptr %2, align 4 %24 = icmp eq i32 %23, 47 br i1 %24, label %25, label %26 25: ; preds = %22 store i8 1, ptr %10, align 1 br label %26 26: ; preds = %25, %22 br label %27 27: ; preds = %26, %21 %28 = load i32, ptr %2, align 4 %29 = trunc i32 %28 to i8 store i8 %29, ptr %6, align 1 br label %.backedge .backedge: ; preds = %27, %45, %56, %67, %78, %113 %30 = call i32 (...) @getchar() store i32 %30, ptr %2, align 4 %31 = load i32, ptr @EOF, align 4 %32 = icmp ne i32 %30, %31 br i1 %32, label %14, label %._crit_edge, !llvm.loop !6 33: ; preds = %14 %34 = load i8, ptr %9, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 1 br i1 %36, label %37, label %48 37: ; preds = %33 %38 = load i8, ptr %6, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 42 br i1 %40, label %41, label %45 41: ; preds = %37 %42 = load i32, ptr %2, align 4 %43 = icmp eq i32 %42, 47 br i1 %43, label %44, label %45 44: ; preds = %41 store i8 0, ptr %9, align 1 br label %45 45: ; preds = %44, %41, %37 %46 = load i32, ptr %2, align 4 %47 = trunc i32 %46 to i8 store i8 %47, ptr %6, align 1 br label %.backedge 48: ; preds = %33 %49 = load i8, ptr %10, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 1 br i1 %51, label %52, label %59 52: ; preds = %48 %53 = load i32, ptr %2, align 4 %54 = icmp eq i32 %53, 10 br i1 %54, label %55, label %56 55: ; preds = %52 store i8 0, ptr %10, align 1 br label %56 56: ; preds = %55, %52 %57 = load i32, ptr %2, align 4 %58 = trunc i32 %57 to i8 store i8 %58, ptr %6, align 1 br label %.backedge 59: ; preds = %48 %60 = load i8, ptr %7, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 1 br i1 %62, label %63, label %70 63: ; preds = %59 %64 = load i32, ptr %2, align 4 %65 = icmp eq i32 %64, 39 br i1 %65, label %66, label %67 66: ; preds = %63 store i8 0, ptr %7, align 1 br label %67 67: ; preds = %66, %63 %68 = load i32, ptr %2, align 4 %69 = trunc i32 %68 to i8 store i8 %69, ptr %6, align 1 br label %.backedge 70: ; preds = %59 %71 = load i8, ptr %8, align 1 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 1 br i1 %73, label %74, label %81 74: ; preds = %70 %75 = load i32, ptr %2, align 4 %76 = icmp eq i32 %75, 34 br i1 %76, label %77, label %78 77: ; preds = %74 store i8 0, ptr %8, align 1 br label %78 78: ; preds = %77, %74 %79 = load i32, ptr %2, align 4 %80 = trunc i32 %79 to i8 store i8 %80, ptr %6, align 1 br label %.backedge 81: ; preds = %70 %82 = load i32, ptr %2, align 4 switch i32 %82, label %113 [ i32 40, label %83 i32 91, label %86 i32 123, label %89 i32 41, label %92 i32 93, label %99 i32 125, label %106 ] 83: ; preds = %81 %84 = load i32, ptr %3, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %3, align 4 br label %113 86: ; preds = %81 %87 = load i32, ptr %4, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %4, align 4 br label %113 89: ; preds = %81 %90 = load i32, ptr %5, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %5, align 4 br label %113 92: ; preds = %81 %93 = load i32, ptr %3, align 4 %94 = icmp sle i32 %93, 0 br i1 %94, label %95, label %96 95: ; preds = %92 store i32 0, ptr %1, align 4 br label %145 96: ; preds = %92 %97 = load i32, ptr %3, align 4 %98 = add nsw i32 %97, -1 store i32 %98, ptr %3, align 4 br label %113 99: ; preds = %81 %100 = load i32, ptr %4, align 4 %101 = icmp sle i32 %100, 0 br i1 %101, label %102, label %103 102: ; preds = %99 store i32 0, ptr %1, align 4 br label %145 103: ; preds = %99 %104 = load i32, ptr %4, align 4 %105 = add nsw i32 %104, -1 store i32 %105, ptr %4, align 4 br label %113 106: ; preds = %81 %107 = load i32, ptr %5, align 4 %108 = icmp sle i32 %107, 0 br i1 %108, label %109, label %110 109: ; preds = %106 store i32 0, ptr %1, align 4 br label %145 110: ; preds = %106 %111 = load i32, ptr %5, align 4 %112 = add nsw i32 %111, -1 store i32 %112, ptr %5, align 4 br label %113 113: ; preds = %110, %103, %96, %89, %86, %83, %81 %114 = load i32, ptr %2, align 4 %115 = trunc i32 %114 to i8 store i8 %115, ptr %6, align 1 br label %.backedge ._crit_edge: ; preds = %.backedge br label %116 116: ; preds = %._crit_edge, %0 %117 = load i8, ptr %7, align 1 %118 = sext i8 %117 to i32 %119 = icmp ne i32 %118, 0 br i1 %119, label %141, label %120 120: ; preds = %116 %121 = load i8, ptr %8, align 1 %122 = sext i8 %121 to i32 %123 = icmp ne i32 %122, 0 br i1 %123, label %141, label %124 124: ; preds = %120 %125 = load i8, ptr %9, align 1 %126 = sext i8 %125 to i32 %127 = icmp ne i32 %126, 0 br i1 %127, label %141, label %128 128: ; preds = %124 %129 = load i8, ptr %10, align 1 %130 = sext i8 %129 to i32 %131 = icmp ne i32 %130, 0 br i1 %131, label %141, label %132 132: ; preds = %128 %133 = load i32, ptr %3, align 4 %134 = icmp ne i32 %133, 0 br i1 %134, label %141, label %135 135: ; preds = %132 %136 = load i32, ptr %4, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %141, label %138 138: ; preds = %135 %139 = load i32, ptr %5, align 4 %140 = icmp ne i32 %139, 0 br i1 %140, label %141, label %143 141: ; preds = %138, %135, %132, %128, %124, %120, %116 %142 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %145 143: ; preds = %138 %144 = call i32 @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %145 145: ; preds = %143, %141, %109, %102, %95 %146 = load i32, ptr %1, align 4 ret i32 %146 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6hgwg7ba.c' source_filename = "/tmp/tmp6hgwg7ba.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"A strange merchant is before you.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @merchant(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) #0 { %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %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 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 store ptr %0, ptr %15, align 8 store ptr %1, ptr %16, align 8 store ptr %2, ptr %17, align 8 store ptr %3, ptr %18, align 8 store ptr %4, ptr %19, align 8 store ptr %5, ptr %20, align 8 store ptr %6, ptr %21, align 8 store ptr %7, ptr %22, align 8 store ptr %8, ptr %23, align 8 store ptr %9, ptr %24, align 8 store ptr %10, ptr %25, align 8 store ptr %11, ptr %26, align 8 store ptr %12, ptr %27, align 8 store ptr %13, ptr %28, align 8 %29 = call i32 @printf(ptr noundef @.str) %30 = load ptr, ptr %15, align 8 %31 = load ptr, ptr %16, align 8 %32 = load ptr, ptr %17, align 8 %33 = load ptr, ptr %18, align 8 %34 = load ptr, ptr %19, align 8 %35 = load ptr, ptr %20, align 8 %36 = load ptr, ptr %21, align 8 %37 = load ptr, ptr %22, align 8 %38 = load ptr, ptr %23, align 8 %39 = load ptr, ptr %24, align 8 %40 = load ptr, ptr %25, align 8 %41 = load ptr, ptr %26, align 8 %42 = load ptr, ptr %27, align 8 %43 = load ptr, ptr %28, align 8 %44 = call i32 @trade(ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, i32 noundef 1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @trade(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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/tmp6hgwg7ba.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"A strange merchant is before you.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @merchant(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) #0 { %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %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 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 store ptr %0, ptr %15, align 8 store ptr %1, ptr %16, align 8 store ptr %2, ptr %17, align 8 store ptr %3, ptr %18, align 8 store ptr %4, ptr %19, align 8 store ptr %5, ptr %20, align 8 store ptr %6, ptr %21, align 8 store ptr %7, ptr %22, align 8 store ptr %8, ptr %23, align 8 store ptr %9, ptr %24, align 8 store ptr %10, ptr %25, align 8 store ptr %11, ptr %26, align 8 store ptr %12, ptr %27, align 8 store ptr %13, ptr %28, align 8 %29 = call i32 @printf(ptr noundef @.str) %30 = load ptr, ptr %15, align 8 %31 = load ptr, ptr %16, align 8 %32 = load ptr, ptr %17, align 8 %33 = load ptr, ptr %18, align 8 %34 = load ptr, ptr %19, align 8 %35 = load ptr, ptr %20, align 8 %36 = load ptr, ptr %21, align 8 %37 = load ptr, ptr %22, align 8 %38 = load ptr, ptr %23, align 8 %39 = load ptr, ptr %24, align 8 %40 = load ptr, ptr %25, align 8 %41 = load ptr, ptr %26, align 8 %42 = load ptr, ptr %27, align 8 %43 = load ptr, ptr %28, align 8 %44 = call i32 @trade(ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, i32 noundef 1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @trade(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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/tmpnfecea50.c' source_filename = "/tmp/tmpnfecea50.c" target datalayout = "e-m:e-p270: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/tmpnfecea50.c" target datalayout = "e-m:e-p270: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/tmpsghajflj.c' source_filename = "/tmp/tmpsghajflj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [48 x i8] c"File not valid for reading you christmas toad.\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [57 x i8] c"\0AThe instruction that traps him in the basement is: %i\0A\00", align 1 @.str.3 = private unnamed_addr constant [61 x i8] c"\0AAfter %i instructions Crimbo never tickled the underbelly.\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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %21 17: ; preds = %2 %18 = load ptr, ptr @stderr, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef %18, ptr noundef @.str.1) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %2 br label %22 22: ; preds = %32, %21 %23 = load ptr, ptr %10, align 8 %24 = call i32 @fgetc(ptr noundef %23) store i32 %24, ptr %8, align 4 %25 = load i32, ptr @EOF, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %27, label %30 27: ; preds = %22 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 0 br label %30 30: ; preds = %27, %22 %31 = phi i1 [ false, %22 ], [ %29, %27 ] br i1 %31, label %32, label %43 32: ; preds = %30 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %8, align 4 %36 = call i64 @upOrDown(i32 noundef %35) %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = add nsw i64 %38, %36 %40 = trunc i64 %39 to i32 store i32 %40, ptr %6, align 4 %41 = load i32, ptr %6, align 4 %42 = call i32 @checkCellar(i32 noundef %41) store i32 %42, ptr %9, align 4 br label %22, !llvm.loop !6 43: ; preds = %30 %44 = load ptr, ptr %10, align 8 %45 = call i32 @fclose(ptr noundef %44) %46 = load i32, ptr %9, align 4 %47 = icmp eq i32 %46, 1 br i1 %47, label %48, label %51 48: ; preds = %43 %49 = load i32, ptr %7, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %49) br label %54 51: ; preds = %43 %52 = load i32, ptr %7, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %52) br label %54 54: ; preds = %51, %48 %55 = load i32, ptr %3, align 4 ret i32 %55 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fgetc(ptr noundef) #1 declare i64 @upOrDown(i32 noundef) #1 declare i32 @checkCellar(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsghajflj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [48 x i8] c"File not valid for reading you christmas toad.\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [57 x i8] c"\0AThe instruction that traps him in the basement is: %i\0A\00", align 1 @.str.3 = private unnamed_addr constant [61 x i8] c"\0AAfter %i instructions Crimbo never tickled the underbelly.\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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %21 17: ; preds = %2 %18 = load ptr, ptr @stderr, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef %18, ptr noundef @.str.1) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %2 br label %22 22: ; preds = %32, %21 %23 = load ptr, ptr %10, align 8 %24 = call i32 @fgetc(ptr noundef %23) store i32 %24, ptr %8, align 4 %25 = load i32, ptr @EOF, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %27, label %30 27: ; preds = %22 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 0 br label %30 30: ; preds = %27, %22 %31 = phi i1 [ false, %22 ], [ %29, %27 ] br i1 %31, label %32, label %43 32: ; preds = %30 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %8, align 4 %36 = call i64 @upOrDown(i32 noundef %35) %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = add nsw i64 %38, %36 %40 = trunc i64 %39 to i32 store i32 %40, ptr %6, align 4 %41 = load i32, ptr %6, align 4 %42 = call i32 @checkCellar(i32 noundef %41) store i32 %42, ptr %9, align 4 br label %22, !llvm.loop !6 43: ; preds = %30 %44 = load ptr, ptr %10, align 8 %45 = call i32 @fclose(ptr noundef %44) %46 = load i32, ptr %9, align 4 %47 = icmp eq i32 %46, 1 br i1 %47, label %48, label %51 48: ; preds = %43 %49 = load i32, ptr %7, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %49) br label %54 51: ; preds = %43 %52 = load i32, ptr %7, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %52) br label %54 54: ; preds = %51, %48 %55 = load i32, ptr %3, align 4 ret i32 %55 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fgetc(ptr noundef) #1 declare i64 @upOrDown(i32 noundef) #1 declare i32 @checkCellar(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnfbs53iz.c' source_filename = "/tmp/tmpnfbs53iz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MicoSleepMicroSecs(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @MicoSleepHelper(i32 noundef %3, i32 noundef 2) ret void } declare i32 @MicoSleepHelper(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/tmpnfbs53iz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MicoSleepMicroSecs(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @MicoSleepHelper(i32 noundef %3, i32 noundef 2) ret void } declare i32 @MicoSleepHelper(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/tmpa3ff5j2b.c' source_filename = "/tmp/tmpa3ff5j2b.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"Enter the number of terms\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Fibonacci series\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i64 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = icmp sgt i64 %5, 0 br i1 %6, label %7, label %21 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %9 9: ; preds = %17, %7 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %20 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = call i32 @Fibonacci_loop(i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15) br label %17 17: ; preds = %13 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %9, !llvm.loop !6 20: ; preds = %9 br label %21 21: ; preds = %20, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @Fibonacci_loop(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/tmpa3ff5j2b.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"Enter the number of terms\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Fibonacci series\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i64 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = icmp sgt i64 %5, 0 br i1 %6, label %7, label %23 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %.lr.ph, label %22 .lr.ph: ; preds = %7 br label %12 12: ; preds = %.lr.ph, %16 %13 = load i32, ptr %3, align 4 %14 = call i32 @Fibonacci_loop(i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14) br label %16 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %7 br label %23 23: ; preds = %22, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @Fibonacci_loop(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/tmpnzvx4q70.c' source_filename = "/tmp/tmpnzvx4q70.c" target datalayout = "e-m:e-p270: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 ptr @getStr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) %6 = load ptr, ptr %2, align 8 ret ptr %6 } 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/tmpnzvx4q70.c" target datalayout = "e-m:e-p270: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 ptr @getStr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) %6 = load ptr, ptr %2, align 8 ret ptr %6 } 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/tmp_cekspy8.c' source_filename = "/tmp/tmp_cekspy8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SPI_start_transaction() #0 { %1 = call i32 @GPIO_write_SS(i32 noundef 0) %2 = call i32 @s_SPI_delay(i32 noundef 1) ret void } declare i32 @GPIO_write_SS(i32 noundef) #1 declare i32 @s_SPI_delay(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_cekspy8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SPI_start_transaction() #0 { %1 = call i32 @GPIO_write_SS(i32 noundef 0) %2 = call i32 @s_SPI_delay(i32 noundef 1) ret void } declare i32 @GPIO_write_SS(i32 noundef) #1 declare i32 @s_SPI_delay(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbyjxclxf.c' source_filename = "/tmp/tmpbyjxclxf.c" target datalayout = "e-m:e-p270: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 [6 x i32] [i32 49, i32 52, i32 54, i32 55, i32 56, i32 57], align 16 @.str = private unnamed_addr constant [17 x i8] c"Usage: %s <num>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"RESULT: %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 [6 x i32], align 16 %9 = 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 %8, ptr align 16 @__const.main.arr, i64 24, i1 false) store i32 6, ptr %9, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #4 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %19 %25 = load i32, ptr %7, align 4 %26 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 0 %27 = load i32, ptr %9, align 4 %28 = call i32 @binsearch(i32 noundef %25, ptr noundef %26, i32 noundef %27) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 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 i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @atoi(ptr noundef) #2 declare i32 @binsearch(i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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" } attributes #3 = { 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 #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbyjxclxf.c" target datalayout = "e-m:e-p270: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 [6 x i32] [i32 49, i32 52, i32 54, i32 55, i32 56, i32 57], align 16 @.str = private unnamed_addr constant [17 x i8] c"Usage: %s <num>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"RESULT: %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 [6 x i32], align 16 %9 = 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 %8, ptr align 16 @__const.main.arr, i64 24, i1 false) store i32 6, ptr %9, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #4 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %19 %25 = load i32, ptr %7, align 4 %26 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 0 %27 = load i32, ptr %9, align 4 %28 = call i32 @binsearch(i32 noundef %25, ptr noundef %26, i32 noundef %27) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 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 i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @atoi(ptr noundef) #2 declare i32 @binsearch(i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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" } attributes #3 = { 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 #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbt5rpm_l.c' source_filename = "/tmp/tmpbt5rpm_l.c" target datalayout = "e-m:e-p270: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/tmpbt5rpm_l.c" target datalayout = "e-m:e-p270: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/tmp3hq32t9_.c' source_filename = "/tmp/tmp3hq32t9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imm32(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @fread(ptr noundef %4, i32 noundef 4, i32 noundef 1, ptr noundef %5) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %10, %8 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3hq32t9_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imm32(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @fread(ptr noundef %4, i32 noundef 4, i32 noundef 1, ptr noundef %5) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %10, %8 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptejkkq9z.c' source_filename = "/tmp/tmptejkkq9z.c" target datalayout = "e-m:e-p270: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 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"wc: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wc_get_byte_count(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.stat, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i64 @fstat(i32 noundef %4, ptr noundef %3) %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %1 %8 = load i32, ptr @stderr, align 4 %9 = load i32, ptr @errno, align 4 %10 = call ptr @strerror(i32 noundef %9) %11 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %10) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %1 %14 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %15 = load i32, ptr %14, align 4 ret i32 %15 } declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptejkkq9z.c" target datalayout = "e-m:e-p270: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 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"wc: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wc_get_byte_count(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.stat, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i64 @fstat(i32 noundef %4, ptr noundef %3) %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %1 %8 = load i32, ptr @stderr, align 4 %9 = load i32, ptr @errno, align 4 %10 = call ptr @strerror(i32 noundef %9) %11 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %10) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %1 %14 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %15 = load i32, ptr %14, align 4 ret i32 %15 } declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf1oeqp3h.c' source_filename = "/tmp/tmpf1oeqp3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lidirrypt_salt_gen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %12 = load i64, ptr %5, align 8 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca i8, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i64 0, ptr %8, align 8 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i32 @open(ptr noundef @.str, i32 noundef %15) store i32 %16, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %2 store i32 -1, ptr %3, align 4 store i32 1, ptr %10, align 4 br label %57 20: ; preds = %2 br label %21 21: ; preds = %47, %43, %20 %22 = load i64, ptr %8, align 8 %23 = load i64, ptr %5, align 8 %24 = icmp ult i64 %22, %23 br i1 %24, label %25, label %51 25: ; preds = %21 %26 = load i32, ptr %9, align 4 %27 = load i64, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %14, i64 %27 %29 = load i64, ptr %5, align 8 %30 = load i64, ptr %8, align 8 %31 = sub i64 %29, %30 %32 = call i64 @read(i32 noundef %26, ptr noundef %28, i64 noundef %31) store i64 %32, ptr %11, align 8 %33 = load i64, ptr %11, align 8 %34 = icmp slt i64 %33, 0 br i1 %34, label %35, label %47 35: ; preds = %25 %36 = load i64, ptr @errno, align 8 %37 = load i64, ptr @EINTR, align 8 %38 = icmp eq i64 %36, %37 br i1 %38, label %43, label %39 39: ; preds = %35 %40 = load i64, ptr @errno, align 8 %41 = load i64, ptr @EAGAIN, align 8 %42 = icmp eq i64 %40, %41 br i1 %42, label %43, label %44 43: ; preds = %39, %35 br label %21, !llvm.loop !6 44: ; preds = %39 %45 = load i32, ptr %9, align 4 %46 = call i32 @close(i32 noundef %45) store i32 -1, ptr %3, align 4 store i32 1, ptr %10, align 4 br label %57 47: ; preds = %25 %48 = load i64, ptr %11, align 8 %49 = load i64, ptr %8, align 8 %50 = add i64 %49, %48 store i64 %50, ptr %8, align 8 br label %21, !llvm.loop !6 51: ; preds = %21 %52 = load i32, ptr %9, align 4 %53 = call i32 @close(i32 noundef %52) %54 = load ptr, ptr %4, align 8 %55 = load i64, ptr %5, align 8 %56 = call i32 @memcpy(ptr noundef %54, ptr noundef %14, i64 noundef %55) store i32 0, ptr %3, align 4 store i32 1, ptr %10, align 4 br label %57 57: ; preds = %51, %44, %19 %58 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %58) %59 = load i32, ptr %3, align 4 ret i32 %59 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @open(ptr noundef, i32 noundef) #2 declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf1oeqp3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lidirrypt_salt_gen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %12 = load i64, ptr %5, align 8 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca i8, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i64 0, ptr %8, align 8 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i32 @open(ptr noundef @.str, i32 noundef %15) store i32 %16, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %2 store i32 -1, ptr %3, align 4 store i32 1, ptr %10, align 4 br label %59 20: ; preds = %2 %21 = load i64, ptr %8, align 8 %22 = load i64, ptr %5, align 8 %23 = icmp ult i64 %21, %22 br i1 %23, label %.lr.ph, label %53 .lr.ph: ; preds = %20 br label %24 24: ; preds = %.lr.ph, %.backedge %25 = load i32, ptr %9, align 4 %26 = load i64, ptr %8, align 8 %27 = getelementptr inbounds i8, ptr %14, i64 %26 %28 = load i64, ptr %5, align 8 %29 = load i64, ptr %8, align 8 %30 = sub i64 %28, %29 %31 = call i64 @read(i32 noundef %25, ptr noundef %27, i64 noundef %30) store i64 %31, ptr %11, align 8 %32 = load i64, ptr %11, align 8 %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %49 34: ; preds = %24 %35 = load i64, ptr @errno, align 8 %36 = load i64, ptr @EINTR, align 8 %37 = icmp eq i64 %35, %36 br i1 %37, label %42, label %38 38: ; preds = %34 %39 = load i64, ptr @errno, align 8 %40 = load i64, ptr @EAGAIN, align 8 %41 = icmp eq i64 %39, %40 br i1 %41, label %42, label %46 42: ; preds = %38, %34 br label %.backedge .backedge: ; preds = %42, %49 %43 = load i64, ptr %8, align 8 %44 = load i64, ptr %5, align 8 %45 = icmp ult i64 %43, %44 br i1 %45, label %24, label %._crit_edge, !llvm.loop !6 46: ; preds = %38 %47 = load i32, ptr %9, align 4 %48 = call i32 @close(i32 noundef %47) store i32 -1, ptr %3, align 4 store i32 1, ptr %10, align 4 br label %59 49: ; preds = %24 %50 = load i64, ptr %11, align 8 %51 = load i64, ptr %8, align 8 %52 = add i64 %51, %50 store i64 %52, ptr %8, align 8 br label %.backedge ._crit_edge: ; preds = %.backedge br label %53 53: ; preds = %._crit_edge, %20 %54 = load i32, ptr %9, align 4 %55 = call i32 @close(i32 noundef %54) %56 = load ptr, ptr %4, align 8 %57 = load i64, ptr %5, align 8 %58 = call i32 @memcpy(ptr noundef %56, ptr noundef %14, i64 noundef %57) store i32 0, ptr %3, align 4 store i32 1, ptr %10, align 4 br label %59 59: ; preds = %53, %46, %19 %60 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %60) %61 = load i32, ptr %3, align 4 ret i32 %61 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @open(ptr noundef, i32 noundef) #2 declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppcuy3v26.c' source_filename = "/tmp/tmppcuy3v26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"[cgit] Failed to include file %s: %s (%d).\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @html_include(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [4096 x i8], align 16 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %17, label %10 10: ; preds = %1 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr @errno, align 4 %14 = call ptr @strerror(i32 noundef %13) %15 = load i32, ptr @errno, align 4 %16 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %12, ptr noundef %14, i32 noundef %15) store i32 -1, ptr %2, align 4 br label %30 17: ; preds = %1 br label %18 18: ; preds = %23, %17 %19 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %20 = load ptr, ptr %4, align 8 %21 = call i64 @fread(ptr noundef %19, i32 noundef 1, i32 noundef 4096, ptr noundef %20) store i64 %21, ptr %6, align 8 %22 = icmp ugt i64 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %18 %24 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %25 = load i64, ptr %6, align 8 %26 = call i32 @html_raw(ptr noundef %24, i64 noundef %25) br label %18, !llvm.loop !6 27: ; preds = %18 %28 = load ptr, ptr %4, align 8 %29 = call i32 @fclose(ptr noundef %28) store i32 0, ptr %2, align 4 br label %30 30: ; preds = %27, %10 %31 = load i32, ptr %2, align 4 ret i32 %31 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @html_raw(ptr noundef, i64 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppcuy3v26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"[cgit] Failed to include file %s: %s (%d).\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @html_include(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [4096 x i8], align 16 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %17, label %10 10: ; preds = %1 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr @errno, align 4 %14 = call ptr @strerror(i32 noundef %13) %15 = load i32, ptr @errno, align 4 %16 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %12, ptr noundef %14, i32 noundef %15) store i32 -1, ptr %2, align 4 br label %32 17: ; preds = %1 %18 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %19 = load ptr, ptr %4, align 8 %20 = call i64 @fread(ptr noundef %18, i32 noundef 1, i32 noundef 4096, ptr noundef %19) store i64 %20, ptr %6, align 8 %21 = icmp ugt i64 %20, 0 br i1 %21, label %.lr.ph, label %29 .lr.ph: ; preds = %17 br label %22 22: ; preds = %.lr.ph, %22 %23 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0 %24 = load i64, ptr %6, align 8 %25 = call i32 @html_raw(ptr noundef %23, i64 noundef %24) %26 = load ptr, ptr %4, align 8 %27 = call i64 @fread(ptr noundef %18, i32 noundef 1, i32 noundef 4096, ptr noundef %26) store i64 %27, ptr %6, align 8 %28 = icmp ugt i64 %27, 0 br i1 %28, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %29 29: ; preds = %._crit_edge, %17 %30 = load ptr, ptr %4, align 8 %31 = call i32 @fclose(ptr noundef %30) store i32 0, ptr %2, align 4 br label %32 32: ; preds = %29, %10 %33 = load i32, ptr %2, align 4 ret i32 %33 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @html_raw(ptr noundef, i64 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy9_ooho0.c' source_filename = "/tmp/tmpy9_ooho0.c" target datalayout = "e-m:e-p270: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 @validate(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %31, %1 %6 = load ptr, ptr %2, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = load i32, ptr %4, align 4 %10 = add nsw i32 %8, %9 %11 = icmp sge i32 %10, 48 br i1 %11, label %12, label %19 12: ; preds = %5 %13 = load ptr, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %15, %16 %18 = icmp sle i32 %17, 57 br label %19 19: ; preds = %12, %5 %20 = phi i1 [ false, %5 ], [ %18, %12 ] br i1 %20, label %21, label %34 21: ; preds = %19 %22 = load i32, ptr %3, align 4 %23 = mul nsw i32 %22, 10 %24 = load ptr, ptr %2, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %26, %27 %29 = sub nsw i32 %28, 48 %30 = add nsw i32 %23, %29 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %21 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 br label %5, !llvm.loop !6 34: ; preds = %19 %35 = load i32, ptr %3, align 4 %36 = call i32 @printf(ptr noundef @.str, i32 noundef %35) %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy9_ooho0.c" target datalayout = "e-m:e-p270: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 @validate(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %31, %1 %6 = load ptr, ptr %2, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = load i32, ptr %4, align 4 %10 = add nsw i32 %8, %9 %11 = icmp sge i32 %10, 48 br i1 %11, label %12, label %19 12: ; preds = %5 %13 = load ptr, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %15, %16 %18 = icmp sle i32 %17, 57 br label %19 19: ; preds = %12, %5 %20 = phi i1 [ false, %5 ], [ %18, %12 ] br i1 %20, label %21, label %34 21: ; preds = %19 %22 = load i32, ptr %3, align 4 %23 = mul nsw i32 %22, 10 %24 = load ptr, ptr %2, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %26, %27 %29 = sub nsw i32 %28, 48 %30 = add nsw i32 %23, %29 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %21 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 br label %5, !llvm.loop !6 34: ; preds = %19 %35 = load i32, ptr %3, align 4 %36 = call i32 @printf(ptr noundef @.str, i32 noundef %35) %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9lbvpfkq.c' source_filename = "/tmp/tmp9lbvpfkq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CompareIRCModes(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %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 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 %17 = load ptr, ptr %10, align 8 store ptr %17, ptr %14, align 8 %18 = load ptr, ptr %12, align 8 store ptr %18, ptr %15, align 8 %19 = load i32, ptr %11, align 4 %20 = icmp ule i32 %19, 1 br i1 %20, label %24, label %21 21: ; preds = %6 %22 = load i32, ptr %13, align 4 %23 = icmp ule i32 %22, 1 br i1 %23, label %24, label %25 24: ; preds = %21, %6 store i32 0, ptr %7, align 4 br label %108 25: ; preds = %21 %26 = load i32, ptr %11, align 4 %27 = add i32 %26, -1 store i32 %27, ptr %11, align 4 %28 = load i32, ptr %13, align 4 %29 = add i32 %28, -1 store i32 %29, ptr %13, align 4 %30 = load ptr, ptr %8, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %67 32: ; preds = %25 %33 = load ptr, ptr %8, align 8 store ptr %33, ptr %16, align 8 br label %34 34: ; preds = %63, %32 %35 = load ptr, ptr %16, align 8 %36 = load i8, ptr %35, align 1 %37 = icmp ne i8 %36, 0 br i1 %37, label %38, label %66 38: ; preds = %34 %39 = load ptr, ptr %9, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %47 41: ; preds = %38 %42 = load ptr, ptr %9, align 8 %43 = load ptr, ptr %16, align 8 %44 = load i8, ptr %43, align 1 %45 = call i32 @strchr(ptr noundef %42, i8 noundef signext %44) %46 = icmp ne i32 %45, 0 br i1 %46, label %62, label %47 47: ; preds = %41, %38 %48 = load ptr, ptr %16, align 8 %49 = load i8, ptr %48, align 1 %50 = load ptr, ptr %15, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 1 store ptr %51, ptr %15, align 8 store i8 %49, ptr %50, align 1 %52 = load ptr, ptr %15, align 8 %53 = load ptr, ptr %12, align 8 %54 = ptrtoint ptr %52 to i64 %55 = ptrtoint ptr %53 to i64 %56 = sub i64 %54, %55 %57 = trunc i64 %56 to i32 %58 = load i32, ptr %13, align 4 %59 = icmp uge i32 %57, %58 br i1 %59, label %60, label %61 60: ; preds = %47 br label %66 61: ; preds = %47 br label %62 62: ; preds = %61, %41 br label %63 63: ; preds = %62 %64 = load ptr, ptr %16, align 8 %65 = getelementptr inbounds i8, ptr %64, i32 1 store ptr %65, ptr %16, align 8 br label %34, !llvm.loop !6 66: ; preds = %60, %34 br label %67 67: ; preds = %66, %25 %68 = load ptr, ptr %9, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %70, label %105 70: ; preds = %67 %71 = load ptr, ptr %9, align 8 store ptr %71, ptr %16, align 8 br label %72 72: ; preds = %101, %70 %73 = load ptr, ptr %16, align 8 %74 = load i8, ptr %73, align 1 %75 = icmp ne i8 %74, 0 br i1 %75, label %76, label %104 76: ; preds = %72 %77 = load ptr, ptr %8, align 8 %78 = icmp ne ptr %77, null br i1 %78, label %79, label %85 79: ; preds = %76 %80 = load ptr, ptr %8, align 8 %81 = load ptr, ptr %16, align 8 %82 = load i8, ptr %81, align 1 %83 = call i32 @strchr(ptr noundef %80, i8 noundef signext %82) %84 = icmp ne i32 %83, 0 br i1 %84, label %100, label %85 85: ; preds = %79, %76 %86 = load ptr, ptr %16, align 8 %87 = load i8, ptr %86, align 1 %88 = load ptr, ptr %14, align 8 %89 = getelementptr inbounds i8, ptr %88, i32 1 store ptr %89, ptr %14, align 8 store i8 %87, ptr %88, align 1 %90 = load ptr, ptr %14, align 8 %91 = load ptr, ptr %10, align 8 %92 = ptrtoint ptr %90 to i64 %93 = ptrtoint ptr %91 to i64 %94 = sub i64 %92, %93 %95 = trunc i64 %94 to i32 %96 = load i32, ptr %11, align 4 %97 = icmp uge i32 %95, %96 br i1 %97, label %98, label %99 98: ; preds = %85 br label %104 99: ; preds = %85 br label %100 100: ; preds = %99, %79 br label %101 101: ; preds = %100 %102 = load ptr, ptr %16, align 8 %103 = getelementptr inbounds i8, ptr %102, i32 1 store ptr %103, ptr %16, align 8 br label %72, !llvm.loop !8 104: ; preds = %98, %72 br label %105 105: ; preds = %104, %67 %106 = load ptr, ptr %14, align 8 store i8 0, ptr %106, align 1 %107 = load ptr, ptr %15, align 8 store i8 0, ptr %107, align 1 store i32 1, ptr %7, align 4 br label %108 108: ; preds = %105, %24 %109 = load i32, ptr %7, align 4 ret i32 %109 } declare i32 @strchr(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9lbvpfkq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CompareIRCModes(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %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 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 %17 = load ptr, ptr %10, align 8 store ptr %17, ptr %14, align 8 %18 = load ptr, ptr %12, align 8 store ptr %18, ptr %15, align 8 %19 = load i32, ptr %11, align 4 %20 = icmp ule i32 %19, 1 br i1 %20, label %24, label %21 21: ; preds = %6 %22 = load i32, ptr %13, align 4 %23 = icmp ule i32 %22, 1 br i1 %23, label %24, label %25 24: ; preds = %21, %6 store i32 0, ptr %7, align 4 br label %112 25: ; preds = %21 %26 = load i32, ptr %11, align 4 %27 = add i32 %26, -1 store i32 %27, ptr %11, align 4 %28 = load i32, ptr %13, align 4 %29 = add i32 %28, -1 store i32 %29, ptr %13, align 4 %30 = load ptr, ptr %8, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %69 32: ; preds = %25 %33 = load ptr, ptr %8, align 8 store ptr %33, ptr %16, align 8 %34 = load ptr, ptr %16, align 8 %35 = load i8, ptr %34, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %32 br label %37 37: ; preds = %.lr.ph, %62 %38 = load ptr, ptr %9, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %40, label %46 40: ; preds = %37 %41 = load ptr, ptr %9, align 8 %42 = load ptr, ptr %16, align 8 %43 = load i8, ptr %42, align 1 %44 = call i32 @strchr(ptr noundef %41, i8 noundef signext %43) %45 = icmp ne i32 %44, 0 br i1 %45, label %61, label %46 46: ; preds = %40, %37 %47 = load ptr, ptr %16, align 8 %48 = load i8, ptr %47, align 1 %49 = load ptr, ptr %15, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %15, align 8 store i8 %48, ptr %49, align 1 %51 = load ptr, ptr %15, align 8 %52 = load ptr, ptr %12, align 8 %53 = ptrtoint ptr %51 to i64 %54 = ptrtoint ptr %52 to i64 %55 = sub i64 %53, %54 %56 = trunc i64 %55 to i32 %57 = load i32, ptr %13, align 4 %58 = icmp uge i32 %56, %57 br i1 %58, label %59, label %60 59: ; preds = %46 br label %68 60: ; preds = %46 br label %61 61: ; preds = %60, %40 br label %62 62: ; preds = %61 %63 = load ptr, ptr %16, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %16, align 8 %65 = load ptr, ptr %16, align 8 %66 = load i8, ptr %65, align 1 %67 = icmp ne i8 %66, 0 br i1 %67, label %37, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %62 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %32 br label %68 68: ; preds = %.loopexit1, %59 br label %69 69: ; preds = %68, %25 %70 = load ptr, ptr %9, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %72, label %109 72: ; preds = %69 %73 = load ptr, ptr %9, align 8 store ptr %73, ptr %16, align 8 %74 = load ptr, ptr %16, align 8 %75 = load i8, ptr %74, align 1 %76 = icmp ne i8 %75, 0 br i1 %76, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %72 br label %77 77: ; preds = %.lr.ph2, %102 %78 = load ptr, ptr %8, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %80, label %86 80: ; preds = %77 %81 = load ptr, ptr %8, align 8 %82 = load ptr, ptr %16, align 8 %83 = load i8, ptr %82, align 1 %84 = call i32 @strchr(ptr noundef %81, i8 noundef signext %83) %85 = icmp ne i32 %84, 0 br i1 %85, label %101, label %86 86: ; preds = %80, %77 %87 = load ptr, ptr %16, align 8 %88 = load i8, ptr %87, align 1 %89 = load ptr, ptr %14, align 8 %90 = getelementptr inbounds i8, ptr %89, i32 1 store ptr %90, ptr %14, align 8 store i8 %88, ptr %89, align 1 %91 = load ptr, ptr %14, align 8 %92 = load ptr, ptr %10, align 8 %93 = ptrtoint ptr %91 to i64 %94 = ptrtoint ptr %92 to i64 %95 = sub i64 %93, %94 %96 = trunc i64 %95 to i32 %97 = load i32, ptr %11, align 4 %98 = icmp uge i32 %96, %97 br i1 %98, label %99, label %100 99: ; preds = %86 br label %108 100: ; preds = %86 br label %101 101: ; preds = %100, %80 br label %102 102: ; preds = %101 %103 = load ptr, ptr %16, align 8 %104 = getelementptr inbounds i8, ptr %103, i32 1 store ptr %104, ptr %16, align 8 %105 = load ptr, ptr %16, align 8 %106 = load i8, ptr %105, align 1 %107 = icmp ne i8 %106, 0 br i1 %107, label %77, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %102 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %72 br label %108 108: ; preds = %.loopexit, %99 br label %109 109: ; preds = %108, %69 %110 = load ptr, ptr %14, align 8 store i8 0, ptr %110, align 1 %111 = load ptr, ptr %15, align 8 store i8 0, ptr %111, align 1 store i32 1, ptr %7, align 4 br label %112 112: ; preds = %109, %24 %113 = load i32, ptr %7, align 4 ret i32 %113 } declare i32 @strchr(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpknjuz3sp.c' source_filename = "/tmp/tmpknjuz3sp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @BIO_NOCLOSE = dso_local global i32 0, align 4 @BIO_FLAGS_BASE64_NO_NL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @b64_enc(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = sdiv i32 %11, 3 %13 = mul nsw i32 %12, 4 %14 = add nsw i32 %13, 4 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 %17 = call ptr @calloc(i32 noundef 1, i32 noundef %16) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 %21 = call ptr @fmemopen(ptr noundef %18, i32 noundef %20, ptr noundef @.str) store ptr %21, ptr %7, align 8 %22 = call i32 (...) @BIO_f_base64() %23 = call ptr @BIO_new(i32 noundef %22) store ptr %23, ptr %8, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr @BIO_NOCLOSE, align 4 %26 = call ptr @BIO_new_fp(ptr noundef %24, i32 noundef %25) store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %9, align 8 %29 = call ptr @BIO_push(ptr noundef %27, ptr noundef %28) store ptr %29, ptr %9, align 8 %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4 %32 = call i32 @BIO_set_flags(ptr noundef %30, i32 noundef %31) %33 = load ptr, ptr %9, align 8 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %3, align 4 %36 = call i32 @BIO_write(ptr noundef %33, ptr noundef %34, i32 noundef %35) %37 = load ptr, ptr %9, align 8 %38 = call i32 @BIO_flush(ptr noundef %37) %39 = load ptr, ptr %9, align 8 %40 = call i32 @BIO_free_all(ptr noundef %39) %41 = load ptr, ptr %7, align 8 %42 = call i32 @fclose(ptr noundef %41) %43 = load ptr, ptr %6, align 8 ret ptr %43 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @fmemopen(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @BIO_new(i32 noundef) #1 declare i32 @BIO_f_base64(...) #1 declare ptr @BIO_new_fp(ptr noundef, i32 noundef) #1 declare ptr @BIO_push(ptr noundef, ptr noundef) #1 declare i32 @BIO_set_flags(ptr noundef, i32 noundef) #1 declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @BIO_flush(ptr noundef) #1 declare i32 @BIO_free_all(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpknjuz3sp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @BIO_NOCLOSE = dso_local global i32 0, align 4 @BIO_FLAGS_BASE64_NO_NL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @b64_enc(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = sdiv i32 %11, 3 %13 = mul nsw i32 %12, 4 %14 = add nsw i32 %13, 4 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 %17 = call ptr @calloc(i32 noundef 1, i32 noundef %16) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 %21 = call ptr @fmemopen(ptr noundef %18, i32 noundef %20, ptr noundef @.str) store ptr %21, ptr %7, align 8 %22 = call i32 (...) @BIO_f_base64() %23 = call ptr @BIO_new(i32 noundef %22) store ptr %23, ptr %8, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr @BIO_NOCLOSE, align 4 %26 = call ptr @BIO_new_fp(ptr noundef %24, i32 noundef %25) store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %9, align 8 %29 = call ptr @BIO_push(ptr noundef %27, ptr noundef %28) store ptr %29, ptr %9, align 8 %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4 %32 = call i32 @BIO_set_flags(ptr noundef %30, i32 noundef %31) %33 = load ptr, ptr %9, align 8 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %3, align 4 %36 = call i32 @BIO_write(ptr noundef %33, ptr noundef %34, i32 noundef %35) %37 = load ptr, ptr %9, align 8 %38 = call i32 @BIO_flush(ptr noundef %37) %39 = load ptr, ptr %9, align 8 %40 = call i32 @BIO_free_all(ptr noundef %39) %41 = load ptr, ptr %7, align 8 %42 = call i32 @fclose(ptr noundef %41) %43 = load ptr, ptr %6, align 8 ret ptr %43 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @fmemopen(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @BIO_new(i32 noundef) #1 declare i32 @BIO_f_base64(...) #1 declare ptr @BIO_new_fp(ptr noundef, i32 noundef) #1 declare ptr @BIO_push(ptr noundef, ptr noundef) #1 declare i32 @BIO_set_flags(ptr noundef, i32 noundef) #1 declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @BIO_flush(ptr noundef) #1 declare i32 @BIO_free_all(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfmi5ajv4.c' source_filename = "/tmp/tmpfmi5ajv4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Server Started!\0A\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 @printf(ptr noundef @.str) %3 = call i32 (...) @master_server() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @master_server(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfmi5ajv4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Server Started!\0A\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 @printf(ptr noundef @.str) %3 = call i32 (...) @master_server() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @master_server(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzh8d19oq.c' source_filename = "/tmp/tmpzh8d19oq.c" target datalayout = "e-m:e-p270: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/tmpzh8d19oq.c" target datalayout = "e-m:e-p270: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/tmpt0365wbb.c' source_filename = "/tmp/tmpt0365wbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dup2(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @syscall(i32 noundef 43, i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt0365wbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dup2(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @syscall(i32 noundef 43, i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpolj21_v_.c' source_filename = "/tmp/tmpolj21_v_.c" target datalayout = "e-m:e-p270: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 i32 @get_XButtonReleasedEvent_x(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 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpolj21_v_.c" target datalayout = "e-m:e-p270: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 i32 @get_XButtonReleasedEvent_x(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 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfj4bih3p.c' source_filename = "/tmp/tmpfj4bih3p.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writeInt(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @STDOUT_FILENO, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fwriteInt(i32 noundef %3, i32 noundef %4) ret void } declare i32 @fwriteInt(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/tmpfj4bih3p.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @writeInt(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @STDOUT_FILENO, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fwriteInt(i32 noundef %3, i32 noundef %4) ret void } declare i32 @fwriteInt(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/tmp7a28x5yu.c' source_filename = "/tmp/tmp7a28x5yu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @_exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @ece391_halt(i32 noundef %3) br label %5 5: ; preds = %5, %1 br label %5 } declare i32 @ece391_halt(i32 noundef) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7a28x5yu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @_exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @ece391_halt(i32 noundef %3) br label %5 5: ; preds = %5, %1 br label %5 } declare i32 @ece391_halt(i32 noundef) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjiz5xazp.c' source_filename = "/tmp/tmpjiz5xazp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @sec3_polar_stereo.gds = internal global [65 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sec3_polar_stereo(double noundef %0, double noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4, double noundef %5, i32 noundef %6, double noundef %7, double noundef %8, ptr noundef %9) #0 { %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 store double %0, ptr %11, align 8 store double %1, ptr %12, align 8 store i32 %2, ptr %13, align 4 store i32 %3, ptr %14, align 4 store double %4, ptr %15, align 8 store double %5, ptr %16, align 8 store i32 %6, ptr %17, align 4 store double %7, ptr %18, align 8 store double %8, ptr %19, align 8 store ptr %9, ptr %20, align 8 %23 = load double, ptr %15, align 8 %24 = fcmp olt double %23, 0.000000e+00 br i1 %24, label %25, label %28 25: ; preds = %10 %26 = load double, ptr %15, align 8 %27 = fadd double %26, 3.600000e+02 store double %27, ptr %15, align 8 br label %28 28: ; preds = %25, %10 %29 = call i32 @uint_char(i32 noundef 65, ptr noundef @sec3_polar_stereo.gds) store i8 3, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 4), align 4 store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 5), align 1 %30 = load i32, ptr %14, align 4 %31 = load i32, ptr %17, align 4 %32 = mul nsw i32 %30, %31 %33 = call i32 @uint_char(i32 noundef %32, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 6)) store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 10), align 2 store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 11), align 1 store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 12), align 4 store i8 20, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 13), align 1 %34 = load ptr, ptr %20, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %40 36: ; preds = %28 store i8 6, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 14), align 2 store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 15), align 1 %37 = call i32 @uint_char(i32 noundef 0, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 16)) store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 20), align 4 %38 = call i32 @uint_char(i32 noundef 0, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 21)) store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 25), align 1 %39 = call i32 @uint_char(i32 noundef 0, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 26)) br label %60 40: ; preds = %28 %41 = load ptr, ptr %20, align 8 %42 = call ptr @code_table_3_2_location(ptr noundef %41) store ptr %42, ptr %22, align 8 store i32 0, ptr %21, align 4 br label %43 43: ; preds = %56, %40 %44 = load i32, ptr %21, align 4 %45 = icmp slt i32 %44, 16 br i1 %45, label %46, label %59 46: ; preds = %43 %47 = load ptr, ptr %22, align 8 %48 = load i32, ptr %21, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = load i32, ptr %21, align 4 %53 = add nsw i32 14, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 %54 store i8 %51, ptr %55, align 1 br label %56 56: ; preds = %46 %57 = load i32, ptr %21, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %21, align 4 br label %43, !llvm.loop !6 59: ; preds = %43 br label %60 60: ; preds = %59, %36 %61 = load i32, ptr %14, align 4 %62 = call i32 @uint_char(i32 noundef %61, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 30)) %63 = load i32, ptr %17, align 4 %64 = call i32 @uint_char(i32 noundef %63, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 34)) %65 = load double, ptr %18, align 8 %66 = call double @llvm.fmuladd.f64(double %65, double 1.000000e+06, double 5.000000e-01) %67 = fptosi double %66 to i32 %68 = call i64 @floor(i32 noundef %67) %69 = trunc i64 %68 to i32 %70 = call i32 @int_char(i32 noundef %69, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 38)) %71 = load double, ptr %15, align 8 %72 = call double @llvm.fmuladd.f64(double %71, double 1.000000e+06, double 5.000000e-01) %73 = fptosi double %72 to i32 %74 = call i64 @floor(i32 noundef %73) %75 = trunc i64 %74 to i32 %76 = call i32 @uint_char(i32 noundef %75, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 42)) store i8 48, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 46), align 2 %77 = load double, ptr %12, align 8 %78 = call double @llvm.fmuladd.f64(double %77, double 1.000000e+06, double 5.000000e-01) %79 = fptosi double %78 to i32 %80 = call i64 @floor(i32 noundef %79) %81 = trunc i64 %80 to i32 %82 = call i32 @int_char(i32 noundef %81, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 47)) %83 = load double, ptr %11, align 8 %84 = call double @llvm.fmuladd.f64(double %83, double 1.000000e+06, double 5.000000e-01) %85 = fptosi double %84 to i32 %86 = call i64 @floor(i32 noundef %85) %87 = trunc i64 %86 to i32 %88 = call i32 @uint_char(i32 noundef %87, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 51)) %89 = load double, ptr %16, align 8 %90 = call i32 @fabs(double noundef %89) %91 = mul nsw i32 %90, 1000 %92 = sitofp i32 %91 to double %93 = fadd double %92, 5.000000e-01 %94 = fptosi double %93 to i32 %95 = call i64 @floor(i32 noundef %94) %96 = trunc i64 %95 to i32 %97 = call i32 @int_char(i32 noundef %96, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 55)) %98 = load double, ptr %19, align 8 %99 = call i32 @fabs(double noundef %98) %100 = mul nsw i32 %99, 1000 %101 = sitofp i32 %100 to double %102 = fadd double %101, 5.000000e-01 %103 = fptosi double %102 to i32 %104 = call i64 @floor(i32 noundef %103) %105 = trunc i64 %104 to i32 %106 = call i32 @int_char(i32 noundef %105, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 59)) %107 = load i32, ptr %13, align 4 %108 = trunc i32 %107 to i8 store i8 %108, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 63), align 1 store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 64), align 16 %109 = load double, ptr %16, align 8 %110 = fcmp olt double %109, 0.000000e+00 br i1 %110, label %111, label %116 111: ; preds = %60 %112 = load i8, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 64), align 16 %113 = zext i8 %112 to i32 %114 = or i32 %113, 128 %115 = trunc i32 %114 to i8 store i8 %115, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 64), align 16 br label %116 116: ; preds = %111, %60 %117 = load double, ptr %19, align 8 %118 = fcmp ogt double %117, 0.000000e+00 br i1 %118, label %119, label %124 119: ; preds = %116 %120 = load i8, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 64), align 16 %121 = zext i8 %120 to i32 %122 = or i32 %121, 64 %123 = trunc i32 %122 to i8 store i8 %123, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 64), align 16 br label %124 124: ; preds = %119, %116 ret ptr @sec3_polar_stereo.gds } declare i32 @uint_char(i32 noundef, ptr noundef) #1 declare ptr @code_table_3_2_location(ptr noundef) #1 declare i32 @int_char(i32 noundef, ptr noundef) #1 declare i64 @floor(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @fabs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjiz5xazp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @sec3_polar_stereo.gds = internal global [65 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sec3_polar_stereo(double noundef %0, double noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4, double noundef %5, i32 noundef %6, double noundef %7, double noundef %8, ptr noundef %9) #0 { %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 store double %0, ptr %11, align 8 store double %1, ptr %12, align 8 store i32 %2, ptr %13, align 4 store i32 %3, ptr %14, align 4 store double %4, ptr %15, align 8 store double %5, ptr %16, align 8 store i32 %6, ptr %17, align 4 store double %7, ptr %18, align 8 store double %8, ptr %19, align 8 store ptr %9, ptr %20, align 8 %23 = load double, ptr %15, align 8 %24 = fcmp olt double %23, 0.000000e+00 br i1 %24, label %25, label %28 25: ; preds = %10 %26 = load double, ptr %15, align 8 %27 = fadd double %26, 3.600000e+02 store double %27, ptr %15, align 8 br label %28 28: ; preds = %25, %10 %29 = call i32 @uint_char(i32 noundef 65, ptr noundef @sec3_polar_stereo.gds) store i8 3, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 4), align 4 store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 5), align 1 %30 = load i32, ptr %14, align 4 %31 = load i32, ptr %17, align 4 %32 = mul nsw i32 %30, %31 %33 = call i32 @uint_char(i32 noundef %32, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 6)) store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 10), align 2 store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 11), align 1 store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 12), align 4 store i8 20, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 13), align 1 %34 = load ptr, ptr %20, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %40 36: ; preds = %28 store i8 6, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 14), align 2 store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 15), align 1 %37 = call i32 @uint_char(i32 noundef 0, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 16)) store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 20), align 4 %38 = call i32 @uint_char(i32 noundef 0, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 21)) store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 25), align 1 %39 = call i32 @uint_char(i32 noundef 0, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 26)) br label %61 40: ; preds = %28 %41 = load ptr, ptr %20, align 8 %42 = call ptr @code_table_3_2_location(ptr noundef %41) store ptr %42, ptr %22, align 8 store i32 0, ptr %21, align 4 %43 = load i32, ptr %21, align 4 %44 = icmp slt i32 %43, 16 br i1 %44, label %.lr.ph, label %60 .lr.ph: ; preds = %40 br label %45 45: ; preds = %.lr.ph, %55 %46 = load ptr, ptr %22, align 8 %47 = load i32, ptr %21, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = load i32, ptr %21, align 4 %52 = add nsw i32 14, %51 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 %53 store i8 %50, ptr %54, align 1 br label %55 55: ; preds = %45 %56 = load i32, ptr %21, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %21, align 4 %58 = load i32, ptr %21, align 4 %59 = icmp slt i32 %58, 16 br i1 %59, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %60 60: ; preds = %._crit_edge, %40 br label %61 61: ; preds = %60, %36 %62 = load i32, ptr %14, align 4 %63 = call i32 @uint_char(i32 noundef %62, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 30)) %64 = load i32, ptr %17, align 4 %65 = call i32 @uint_char(i32 noundef %64, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 34)) %66 = load double, ptr %18, align 8 %67 = call double @llvm.fmuladd.f64(double %66, double 1.000000e+06, double 5.000000e-01) %68 = fptosi double %67 to i32 %69 = call i64 @floor(i32 noundef %68) %70 = trunc i64 %69 to i32 %71 = call i32 @int_char(i32 noundef %70, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 38)) %72 = load double, ptr %15, align 8 %73 = call double @llvm.fmuladd.f64(double %72, double 1.000000e+06, double 5.000000e-01) %74 = fptosi double %73 to i32 %75 = call i64 @floor(i32 noundef %74) %76 = trunc i64 %75 to i32 %77 = call i32 @uint_char(i32 noundef %76, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 42)) store i8 48, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 46), align 2 %78 = load double, ptr %12, align 8 %79 = call double @llvm.fmuladd.f64(double %78, double 1.000000e+06, double 5.000000e-01) %80 = fptosi double %79 to i32 %81 = call i64 @floor(i32 noundef %80) %82 = trunc i64 %81 to i32 %83 = call i32 @int_char(i32 noundef %82, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 47)) %84 = load double, ptr %11, align 8 %85 = call double @llvm.fmuladd.f64(double %84, double 1.000000e+06, double 5.000000e-01) %86 = fptosi double %85 to i32 %87 = call i64 @floor(i32 noundef %86) %88 = trunc i64 %87 to i32 %89 = call i32 @uint_char(i32 noundef %88, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 51)) %90 = load double, ptr %16, align 8 %91 = call i32 @fabs(double noundef %90) %92 = mul nsw i32 %91, 1000 %93 = sitofp i32 %92 to double %94 = fadd double %93, 5.000000e-01 %95 = fptosi double %94 to i32 %96 = call i64 @floor(i32 noundef %95) %97 = trunc i64 %96 to i32 %98 = call i32 @int_char(i32 noundef %97, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 55)) %99 = load double, ptr %19, align 8 %100 = call i32 @fabs(double noundef %99) %101 = mul nsw i32 %100, 1000 %102 = sitofp i32 %101 to double %103 = fadd double %102, 5.000000e-01 %104 = fptosi double %103 to i32 %105 = call i64 @floor(i32 noundef %104) %106 = trunc i64 %105 to i32 %107 = call i32 @int_char(i32 noundef %106, ptr noundef getelementptr inbounds (i8, ptr @sec3_polar_stereo.gds, i64 59)) %108 = load i32, ptr %13, align 4 %109 = trunc i32 %108 to i8 store i8 %109, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 63), align 1 store i8 0, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 64), align 16 %110 = load double, ptr %16, align 8 %111 = fcmp olt double %110, 0.000000e+00 br i1 %111, label %112, label %117 112: ; preds = %61 %113 = load i8, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 64), align 16 %114 = zext i8 %113 to i32 %115 = or i32 %114, 128 %116 = trunc i32 %115 to i8 store i8 %116, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 64), align 16 br label %117 117: ; preds = %112, %61 %118 = load double, ptr %19, align 8 %119 = fcmp ogt double %118, 0.000000e+00 br i1 %119, label %120, label %125 120: ; preds = %117 %121 = load i8, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 64), align 16 %122 = zext i8 %121 to i32 %123 = or i32 %122, 64 %124 = trunc i32 %123 to i8 store i8 %124, ptr getelementptr inbounds ([65 x i8], ptr @sec3_polar_stereo.gds, i64 0, i64 64), align 16 br label %125 125: ; preds = %120, %117 ret ptr @sec3_polar_stereo.gds } declare i32 @uint_char(i32 noundef, ptr noundef) #1 declare ptr @code_table_3_2_location(ptr noundef) #1 declare i32 @int_char(i32 noundef, ptr noundef) #1 declare i64 @floor(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @fabs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpz2447hcn.c' source_filename = "/tmp/tmpz2447hcn.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"\0A\0AERROR in %s: diff = %f\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%s PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_mats_diff(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca double, align 8 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store ptr %2, ptr %12, align 8 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store ptr %5, ptr %15, align 8 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store ptr %8, ptr %18, align 8 %20 = load i32, ptr %10, align 4 %21 = load i32, ptr %11, align 4 %22 = load ptr, ptr %12, align 8 %23 = load i32, ptr %13, align 4 %24 = load i32, ptr %14, align 4 %25 = load ptr, ptr %15, align 8 %26 = load i32, ptr %16, align 4 %27 = load i32, ptr %17, align 4 %28 = call double @diff_mats(i32 noundef %20, i32 noundef %21, ptr noundef %22, i32 noundef %23, i32 noundef %24, ptr noundef %25, i32 noundef %26, i32 noundef %27) store double %28, ptr %19, align 8 %29 = load double, ptr %19, align 8 %30 = fcmp une double %29, 0.000000e+00 br i1 %30, label %31, label %35 31: ; preds = %9 %32 = load ptr, ptr %18, align 8 %33 = load double, ptr %19, align 8 %34 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %32, double noundef %33) br label %38 35: ; preds = %9 %36 = load ptr, ptr %18, align 8 %37 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %36) br label %38 38: ; preds = %35, %31 ret void } declare double @diff_mats(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 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/tmpz2447hcn.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"\0A\0AERROR in %s: diff = %f\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%s PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_mats_diff(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca double, align 8 store i32 %0, ptr %10, align 4 store i32 %1, ptr %11, align 4 store ptr %2, ptr %12, align 8 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store ptr %5, ptr %15, align 8 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store ptr %8, ptr %18, align 8 %20 = load i32, ptr %10, align 4 %21 = load i32, ptr %11, align 4 %22 = load ptr, ptr %12, align 8 %23 = load i32, ptr %13, align 4 %24 = load i32, ptr %14, align 4 %25 = load ptr, ptr %15, align 8 %26 = load i32, ptr %16, align 4 %27 = load i32, ptr %17, align 4 %28 = call double @diff_mats(i32 noundef %20, i32 noundef %21, ptr noundef %22, i32 noundef %23, i32 noundef %24, ptr noundef %25, i32 noundef %26, i32 noundef %27) store double %28, ptr %19, align 8 %29 = load double, ptr %19, align 8 %30 = fcmp une double %29, 0.000000e+00 br i1 %30, label %31, label %35 31: ; preds = %9 %32 = load ptr, ptr %18, align 8 %33 = load double, ptr %19, align 8 %34 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %32, double noundef %33) br label %38 35: ; preds = %9 %36 = load ptr, ptr %18, align 8 %37 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %36) br label %38 38: ; preds = %35, %31 ret void } declare double @diff_mats(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 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/tmphlbyx7rt.c' source_filename = "/tmp/tmphlbyx7rt.c" target datalayout = "e-m:e-p270: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/tmphlbyx7rt.c" target datalayout = "e-m:e-p270: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/tmpgbrcu6h8.c' source_filename = "/tmp/tmpgbrcu6h8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Modem is idle\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Waiting for StartSend\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"TxWait: no RF field present\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Antenna state: %d \0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Transmitting...\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"RxWait: no RF field present\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"Waiting for data...\0A\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"Receiving...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @MFRC522_ToCard(i8 noundef zeroext %0, ptr noundef %1, i8 noundef zeroext %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca i8, align 1 %16 = alloca i32, align 4 store i8 %0, ptr %6, align 1 store ptr %1, ptr %7, align 8 store i8 %2, ptr %8, align 1 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i8 2, ptr %11, align 1 store i8 0, ptr %12, align 1 store i8 0, ptr %13, align 1 %17 = load i8, ptr %6, align 1 %18 = zext i8 %17 to i32 switch i32 %18, label %21 [ i32 14, label %19 i32 12, label %20 ] 19: ; preds = %5 store i8 18, ptr %12, align 1 store i8 16, ptr %13, align 1 br label %22 20: ; preds = %5 store i8 119, ptr %12, align 1 store i8 48, ptr %13, align 1 br label %22 21: ; preds = %5 br label %22 22: ; preds = %21, %20, %19 %23 = load i8, ptr %12, align 1 %24 = zext i8 %23 to i32 %25 = or i32 %24, 128 %26 = trunc i32 %25 to i8 %27 = call i32 @Write_MFRC522(i32 noundef 2, i8 noundef zeroext %26) %28 = call i32 @ClearBitMask(i32 noundef 4, i32 noundef 128) %29 = call i32 @SetBitMask(i32 noundef 10, i32 noundef 128) %30 = call i32 @Write_MFRC522(i32 noundef 1, i8 noundef zeroext 0) store i32 0, ptr %16, align 4 br label %31 31: ; preds = %43, %22 %32 = load i32, ptr %16, align 4 %33 = load i8, ptr %8, align 1 %34 = zext i8 %33 to i32 %35 = icmp ult i32 %32, %34 br i1 %35, label %36, label %46 36: ; preds = %31 %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %16, align 4 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = call i32 @Write_MFRC522(i32 noundef 9, i8 noundef zeroext %41) br label %43 43: ; preds = %36 %44 = load i32, ptr %16, align 4 %45 = add i32 %44, 1 store i32 %45, ptr %16, align 4 br label %31, !llvm.loop !6 46: ; preds = %31 %47 = load i8, ptr %6, align 1 %48 = call i32 @Write_MFRC522(i32 noundef 1, i8 noundef zeroext %47) %49 = load i8, ptr %6, align 1 %50 = zext i8 %49 to i32 %51 = icmp eq i32 %50, 12 br i1 %51, label %52, label %54 52: ; preds = %46 %53 = call i32 @SetBitMask(i32 noundef 13, i32 noundef 128) br label %54 54: ; preds = %52, %46 store i32 2000, ptr %16, align 4 br label %55 55: ; preds = %95, %54 %56 = call i32 @Read_MFRC522(i32 noundef 8) %57 = and i32 %56, 7 switch i32 %57, label %74 [ i32 0, label %58 i32 1, label %60 i32 2, label %62 i32 3, label %66 i32 4, label %68 i32 5, label %70 i32 6, label %72 ] 58: ; preds = %55 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %74 60: ; preds = %55 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %74 62: ; preds = %55 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %64 = call i32 @Read_MFRC522(i32 noundef 20) %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %64) br label %74 66: ; preds = %55 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %74 68: ; preds = %55 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %74 70: ; preds = %55 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %74 72: ; preds = %55 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %74 74: ; preds = %55, %72, %70, %68, %66, %62, %60, %58 %75 = call i32 @Read_MFRC522(i32 noundef 4) %76 = trunc i32 %75 to i8 store i8 %76, ptr %15, align 1 %77 = load i32, ptr %16, align 4 %78 = add i32 %77, -1 store i32 %78, ptr %16, align 4 br label %79 79: ; preds = %74 %80 = load i32, ptr %16, align 4 %81 = icmp ne i32 %80, 0 br i1 %81, label %82, label %95 82: ; preds = %79 %83 = load i8, ptr %15, align 1 %84 = zext i8 %83 to i32 %85 = and i32 %84, 1 %86 = icmp ne i32 %85, 0 br i1 %86, label %95, label %87 87: ; preds = %82 %88 = load i8, ptr %15, align 1 %89 = zext i8 %88 to i32 %90 = load i8, ptr %13, align 1 %91 = zext i8 %90 to i32 %92 = and i32 %89, %91 %93 = icmp ne i32 %92, 0 %94 = xor i1 %93, true br label %95 95: ; preds = %87, %82, %79 %96 = phi i1 [ false, %82 ], [ false, %79 ], [ %94, %87 ] br i1 %96, label %55, label %97, !llvm.loop !8 97: ; preds = %95 %98 = call i32 @ClearBitMask(i32 noundef 13, i32 noundef 128) %99 = load i32, ptr %16, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %170 101: ; preds = %97 %102 = call i32 @Read_MFRC522(i32 noundef 6) %103 = and i32 %102, 27 %104 = icmp ne i32 %103, 0 br i1 %104, label %168, label %105 105: ; preds = %101 store i8 0, ptr %11, align 1 %106 = load i8, ptr %15, align 1 %107 = zext i8 %106 to i32 %108 = load i8, ptr %12, align 1 %109 = zext i8 %108 to i32 %110 = and i32 %107, %109 %111 = and i32 %110, 1 %112 = icmp ne i32 %111, 0 br i1 %112, label %113, label %114 113: ; preds = %105 store i8 1, ptr %11, align 1 br label %114 114: ; preds = %113, %105 %115 = load i8, ptr %6, align 1 %116 = zext i8 %115 to i32 %117 = icmp eq i32 %116, 12 br i1 %117, label %118, label %167 118: ; preds = %114 %119 = call i32 @Read_MFRC522(i32 noundef 10) %120 = trunc i32 %119 to i8 store i8 %120, ptr %15, align 1 %121 = call i32 @Read_MFRC522(i32 noundef 12) %122 = and i32 %121, 7 %123 = trunc i32 %122 to i8 store i8 %123, ptr %14, align 1 %124 = load i8, ptr %14, align 1 %125 = icmp ne i8 %124, 0 br i1 %125, label %126, label %135 126: ; preds = %118 %127 = load i8, ptr %15, align 1 %128 = zext i8 %127 to i32 %129 = sub nsw i32 %128, 1 %130 = mul nsw i32 %129, 8 %131 = load i8, ptr %14, align 1 %132 = zext i8 %131 to i32 %133 = add nsw i32 %130, %132 %134 = load ptr, ptr %10, align 8 store i32 %133, ptr %134, align 4 br label %140 135: ; preds = %118 %136 = load i8, ptr %15, align 1 %137 = zext i8 %136 to i32 %138 = mul nsw i32 %137, 8 %139 = load ptr, ptr %10, align 8 store i32 %138, ptr %139, align 4 br label %140 140: ; preds = %135, %126 %141 = load i8, ptr %15, align 1 %142 = zext i8 %141 to i32 %143 = icmp eq i32 %142, 0 br i1 %143, label %144, label %145 144: ; preds = %140 store i8 1, ptr %15, align 1 br label %145 145: ; preds = %144, %140 %146 = load i8, ptr %15, align 1 %147 = zext i8 %146 to i32 %148 = icmp sgt i32 %147, 32 br i1 %148, label %149, label %150 149: ; preds = %145 store i8 32, ptr %15, align 1 br label %150 150: ; preds = %149, %145 store i32 0, ptr %16, align 4 br label %151 151: ; preds = %163, %150 %152 = load i32, ptr %16, align 4 %153 = load i8, ptr %15, align 1 %154 = zext i8 %153 to i32 %155 = icmp ult i32 %152, %154 br i1 %155, label %156, label %166 156: ; preds = %151 %157 = call i32 @Read_MFRC522(i32 noundef 9) %158 = trunc i32 %157 to i8 %159 = load ptr, ptr %9, align 8 %160 = load i32, ptr %16, align 4 %161 = zext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %159, i64 %161 store i8 %158, ptr %162, align 1 br label %163 163: ; preds = %156 %164 = load i32, ptr %16, align 4 %165 = add i32 %164, 1 store i32 %165, ptr %16, align 4 br label %151, !llvm.loop !9 166: ; preds = %151 br label %167 167: ; preds = %166, %114 br label %169 168: ; preds = %101 store i8 2, ptr %11, align 1 br label %169 169: ; preds = %168, %167 br label %171 170: ; preds = %97 br label %171 171: ; preds = %170, %169 %172 = load i8, ptr %11, align 1 ret i8 %172 } declare i32 @Write_MFRC522(i32 noundef, i8 noundef zeroext) #1 declare i32 @ClearBitMask(i32 noundef, i32 noundef) #1 declare i32 @SetBitMask(i32 noundef, i32 noundef) #1 declare i32 @Read_MFRC522(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgbrcu6h8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Modem is idle\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Waiting for StartSend\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"TxWait: no RF field present\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Antenna state: %d \0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Transmitting...\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"RxWait: no RF field present\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"Waiting for data...\0A\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"Receiving...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @MFRC522_ToCard(i8 noundef zeroext %0, ptr noundef %1, i8 noundef zeroext %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca i8, align 1 %16 = alloca i32, align 4 store i8 %0, ptr %6, align 1 store ptr %1, ptr %7, align 8 store i8 %2, ptr %8, align 1 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i8 2, ptr %11, align 1 store i8 0, ptr %12, align 1 store i8 0, ptr %13, align 1 %17 = load i8, ptr %6, align 1 %18 = zext i8 %17 to i32 switch i32 %18, label %21 [ i32 14, label %19 i32 12, label %20 ] 19: ; preds = %5 store i8 18, ptr %12, align 1 store i8 16, ptr %13, align 1 br label %22 20: ; preds = %5 store i8 119, ptr %12, align 1 store i8 48, ptr %13, align 1 br label %22 21: ; preds = %5 br label %22 22: ; preds = %21, %20, %19 %23 = load i8, ptr %12, align 1 %24 = zext i8 %23 to i32 %25 = or i32 %24, 128 %26 = trunc i32 %25 to i8 %27 = call i32 @Write_MFRC522(i32 noundef 2, i8 noundef zeroext %26) %28 = call i32 @ClearBitMask(i32 noundef 4, i32 noundef 128) %29 = call i32 @SetBitMask(i32 noundef 10, i32 noundef 128) %30 = call i32 @Write_MFRC522(i32 noundef 1, i8 noundef zeroext 0) store i32 0, ptr %16, align 4 %31 = load i32, ptr %16, align 4 %32 = load i8, ptr %8, align 1 %33 = zext i8 %32 to i32 %34 = icmp ult i32 %31, %33 br i1 %34, label %.lr.ph, label %49 .lr.ph: ; preds = %22 br label %35 35: ; preds = %.lr.ph, %42 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %16, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = call i32 @Write_MFRC522(i32 noundef 9, i8 noundef zeroext %40) br label %42 42: ; preds = %35 %43 = load i32, ptr %16, align 4 %44 = add i32 %43, 1 store i32 %44, ptr %16, align 4 %45 = load i32, ptr %16, align 4 %46 = load i8, ptr %8, align 1 %47 = zext i8 %46 to i32 %48 = icmp ult i32 %45, %47 br i1 %48, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %49 49: ; preds = %._crit_edge, %22 %50 = load i8, ptr %6, align 1 %51 = call i32 @Write_MFRC522(i32 noundef 1, i8 noundef zeroext %50) %52 = load i8, ptr %6, align 1 %53 = zext i8 %52 to i32 %54 = icmp eq i32 %53, 12 br i1 %54, label %55, label %57 55: ; preds = %49 %56 = call i32 @SetBitMask(i32 noundef 13, i32 noundef 128) br label %57 57: ; preds = %55, %49 store i32 2000, ptr %16, align 4 br label %58 58: ; preds = %98, %57 %59 = call i32 @Read_MFRC522(i32 noundef 8) %60 = and i32 %59, 7 switch i32 %60, label %77 [ i32 0, label %61 i32 1, label %63 i32 2, label %65 i32 3, label %69 i32 4, label %71 i32 5, label %73 i32 6, label %75 ] 61: ; preds = %58 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %77 63: ; preds = %58 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %77 65: ; preds = %58 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %67 = call i32 @Read_MFRC522(i32 noundef 20) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %67) br label %77 69: ; preds = %58 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %77 71: ; preds = %58 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %77 73: ; preds = %58 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %77 75: ; preds = %58 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %77 77: ; preds = %75, %73, %71, %69, %65, %63, %61, %58 %78 = call i32 @Read_MFRC522(i32 noundef 4) %79 = trunc i32 %78 to i8 store i8 %79, ptr %15, align 1 %80 = load i32, ptr %16, align 4 %81 = add i32 %80, -1 store i32 %81, ptr %16, align 4 br label %82 82: ; preds = %77 %83 = load i32, ptr %16, align 4 %84 = icmp ne i32 %83, 0 br i1 %84, label %85, label %98 85: ; preds = %82 %86 = load i8, ptr %15, align 1 %87 = zext i8 %86 to i32 %88 = and i32 %87, 1 %89 = icmp ne i32 %88, 0 br i1 %89, label %98, label %90 90: ; preds = %85 %91 = load i8, ptr %15, align 1 %92 = zext i8 %91 to i32 %93 = load i8, ptr %13, align 1 %94 = zext i8 %93 to i32 %95 = and i32 %92, %94 %96 = icmp ne i32 %95, 0 %97 = xor i1 %96, true br label %98 98: ; preds = %90, %85, %82 %99 = phi i1 [ false, %85 ], [ false, %82 ], [ %97, %90 ] br i1 %99, label %58, label %100, !llvm.loop !8 100: ; preds = %98 %101 = call i32 @ClearBitMask(i32 noundef 13, i32 noundef 128) %102 = load i32, ptr %16, align 4 %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %176 104: ; preds = %100 %105 = call i32 @Read_MFRC522(i32 noundef 6) %106 = and i32 %105, 27 %107 = icmp ne i32 %106, 0 br i1 %107, label %174, label %108 108: ; preds = %104 store i8 0, ptr %11, align 1 %109 = load i8, ptr %15, align 1 %110 = zext i8 %109 to i32 %111 = load i8, ptr %12, align 1 %112 = zext i8 %111 to i32 %113 = and i32 %110, %112 %114 = and i32 %113, 1 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %117 116: ; preds = %108 store i8 1, ptr %11, align 1 br label %117 117: ; preds = %116, %108 %118 = load i8, ptr %6, align 1 %119 = zext i8 %118 to i32 %120 = icmp eq i32 %119, 12 br i1 %120, label %121, label %173 121: ; preds = %117 %122 = call i32 @Read_MFRC522(i32 noundef 10) %123 = trunc i32 %122 to i8 store i8 %123, ptr %15, align 1 %124 = call i32 @Read_MFRC522(i32 noundef 12) %125 = and i32 %124, 7 %126 = trunc i32 %125 to i8 store i8 %126, ptr %14, align 1 %127 = load i8, ptr %14, align 1 %128 = icmp ne i8 %127, 0 br i1 %128, label %129, label %138 129: ; preds = %121 %130 = load i8, ptr %15, align 1 %131 = zext i8 %130 to i32 %132 = sub nsw i32 %131, 1 %133 = mul nsw i32 %132, 8 %134 = load i8, ptr %14, align 1 %135 = zext i8 %134 to i32 %136 = add nsw i32 %133, %135 %137 = load ptr, ptr %10, align 8 store i32 %136, ptr %137, align 4 br label %143 138: ; preds = %121 %139 = load i8, ptr %15, align 1 %140 = zext i8 %139 to i32 %141 = mul nsw i32 %140, 8 %142 = load ptr, ptr %10, align 8 store i32 %141, ptr %142, align 4 br label %143 143: ; preds = %138, %129 %144 = load i8, ptr %15, align 1 %145 = zext i8 %144 to i32 %146 = icmp eq i32 %145, 0 br i1 %146, label %147, label %148 147: ; preds = %143 store i8 1, ptr %15, align 1 br label %148 148: ; preds = %147, %143 %149 = load i8, ptr %15, align 1 %150 = zext i8 %149 to i32 %151 = icmp sgt i32 %150, 32 br i1 %151, label %152, label %153 152: ; preds = %148 store i8 32, ptr %15, align 1 br label %153 153: ; preds = %152, %148 store i32 0, ptr %16, align 4 %154 = load i32, ptr %16, align 4 %155 = load i8, ptr %15, align 1 %156 = zext i8 %155 to i32 %157 = icmp ult i32 %154, %156 br i1 %157, label %.lr.ph2, label %172 .lr.ph2: ; preds = %153 br label %158 158: ; preds = %.lr.ph2, %165 %159 = call i32 @Read_MFRC522(i32 noundef 9) %160 = trunc i32 %159 to i8 %161 = load ptr, ptr %9, align 8 %162 = load i32, ptr %16, align 4 %163 = zext i32 %162 to i64 %164 = getelementptr inbounds i8, ptr %161, i64 %163 store i8 %160, ptr %164, align 1 br label %165 165: ; preds = %158 %166 = load i32, ptr %16, align 4 %167 = add i32 %166, 1 store i32 %167, ptr %16, align 4 %168 = load i32, ptr %16, align 4 %169 = load i8, ptr %15, align 1 %170 = zext i8 %169 to i32 %171 = icmp ult i32 %168, %170 br i1 %171, label %158, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %165 br label %172 172: ; preds = %._crit_edge3, %153 br label %173 173: ; preds = %172, %117 br label %175 174: ; preds = %104 store i8 2, ptr %11, align 1 br label %175 175: ; preds = %174, %173 br label %177 176: ; preds = %100 br label %177 177: ; preds = %176, %175 %178 = load i8, ptr %11, align 1 ret i8 %178 } declare i32 @Write_MFRC522(i32 noundef, i8 noundef zeroext) #1 declare i32 @ClearBitMask(i32 noundef, i32 noundef) #1 declare i32 @SetBitMask(i32 noundef, i32 noundef) #1 declare i32 @Read_MFRC522(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpfrktcy_4.c' source_filename = "/tmp/tmpfrktcy_4.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"Close socket error:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closeSocket(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @close(i32 noundef %3) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = call i32 @perror(ptr noundef @.str) %8 = call i32 @exit(i32 noundef -1) #3 unreachable 9: ; preds = %1 ret void } declare i64 @close(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfrktcy_4.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"Close socket error:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closeSocket(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @close(i32 noundef %3) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = call i32 @perror(ptr noundef @.str) %8 = call i32 @exit(i32 noundef -1) #3 unreachable 9: ; preds = %1 ret void } declare i64 @close(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppm2w57n3.c' source_filename = "/tmp/tmppm2w57n3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CEX_aligned_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %10 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 -1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @CEX_free(ptr noundef %8) br label %10 10: ; preds = %5, %1 ret void } declare i32 @CEX_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/tmppm2w57n3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CEX_aligned_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %10 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 -1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @CEX_free(ptr noundef %8) br label %10 10: ; preds = %5, %1 ret void } declare i32 @CEX_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/tmpmehwdl51.c' source_filename = "/tmp/tmpmehwdl51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @init_logger(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmehwdl51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @init_logger(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjzbk4lix.c' source_filename = "/tmp/tmpjzbk4lix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ulongval() #0 { ret i64 8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjzbk4lix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ulongval() #0 { ret i64 8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp2yih3o2.c' source_filename = "/tmp/tmpp2yih3o2.c" target datalayout = "e-m:e-p270: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"toto | tata => %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"toto\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"tata\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"toto | toto => %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"toto | => %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.6 = private unnamed_addr constant [15 x i8] c" | tata => %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"dqsfQSDFQSDFtoto | tata => %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [17 x i8] c"dqsfQSDFQSDFtoto\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"toto | tataqdfqsdfsd => %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [14 x i8] c"totoqdfqsdfsd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef @.str.2) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef @.str.1) %9 = call i32 @printf(ptr noundef @.str.3, i32 noundef %8) %10 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef @.str.5) %11 = call i32 @printf(ptr noundef @.str.4, i32 noundef %10) %12 = call i32 @strcmp(ptr noundef @.str.5, ptr noundef @.str.2) %13 = call i32 @printf(ptr noundef @.str.6, i32 noundef %12) %14 = call i32 @strcmp(ptr noundef @.str.8, ptr noundef @.str.2) %15 = call i32 @printf(ptr noundef @.str.7, i32 noundef %14) %16 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef @.str.10) %17 = call i32 @printf(ptr noundef @.str.9, i32 noundef %16) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @strcmp(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/tmpp2yih3o2.c" target datalayout = "e-m:e-p270: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"toto | tata => %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"toto\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"tata\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"toto | toto => %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"toto | => %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.6 = private unnamed_addr constant [15 x i8] c" | tata => %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"dqsfQSDFQSDFtoto | tata => %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [17 x i8] c"dqsfQSDFQSDFtoto\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"toto | tataqdfqsdfsd => %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [14 x i8] c"totoqdfqsdfsd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef @.str.2) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef @.str.1) %9 = call i32 @printf(ptr noundef @.str.3, i32 noundef %8) %10 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef @.str.5) %11 = call i32 @printf(ptr noundef @.str.4, i32 noundef %10) %12 = call i32 @strcmp(ptr noundef @.str.5, ptr noundef @.str.2) %13 = call i32 @printf(ptr noundef @.str.6, i32 noundef %12) %14 = call i32 @strcmp(ptr noundef @.str.8, ptr noundef @.str.2) %15 = call i32 @printf(ptr noundef @.str.7, i32 noundef %14) %16 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef @.str.10) %17 = call i32 @printf(ptr noundef @.str.9, i32 noundef %16) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @strcmp(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/tmpyjlt81r5.c' source_filename = "/tmp/tmpyjlt81r5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"No se pudo abrir el archivo %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Archivo abierto %s\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_nodes_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %7 = load i32, ptr @BUFSIZ, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca i8, i64 %8, align 16 store i64 %8, ptr %5, align 8 %11 = load ptr, ptr %2, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %1 %16 = load ptr, ptr %2, align 8 %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16) br label %18 18: ; preds = %15, %1 %19 = load ptr, ptr %2, align 8 %20 = call i32 @printf(ptr noundef @.str.2, ptr noundef %19) store i8 0, ptr %6, align 1 br label %21 21: ; preds = %26, %18 %22 = trunc i64 %8 to i32 %23 = load ptr, ptr %3, align 8 %24 = call i64 @fgets(ptr noundef %10, i32 noundef %22, ptr noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %21 %27 = load i8, ptr %6, align 1 %28 = add i8 %27, 1 store i8 %28, ptr %6, align 1 %29 = call i32 @printf(ptr noundef @.str.3, ptr noundef %10) br label %21, !llvm.loop !6 30: ; preds = %21 %31 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %31) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyjlt81r5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"No se pudo abrir el archivo %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Archivo abierto %s\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_nodes_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %7 = load i32, ptr @BUFSIZ, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca i8, i64 %8, align 16 store i64 %8, ptr %5, align 8 %11 = load ptr, ptr %2, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %1 %16 = load ptr, ptr %2, align 8 %17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %16) br label %18 18: ; preds = %15, %1 %19 = load ptr, ptr %2, align 8 %20 = call i32 @printf(ptr noundef @.str.2, ptr noundef %19) store i8 0, ptr %6, align 1 %21 = trunc i64 %8 to i32 %22 = load ptr, ptr %3, align 8 %23 = call i64 @fgets(ptr noundef %10, i32 noundef %21, ptr noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %.lr.ph, label %32 .lr.ph: ; preds = %18 br label %25 25: ; preds = %.lr.ph, %25 %26 = load i8, ptr %6, align 1 %27 = add i8 %26, 1 store i8 %27, ptr %6, align 1 %28 = call i32 @printf(ptr noundef @.str.3, ptr noundef %10) %29 = load ptr, ptr %3, align 8 %30 = call i64 @fgets(ptr noundef %10, i32 noundef %21, ptr noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %32 32: ; preds = %._crit_edge, %18 %33 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %33) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppr_qbgpz.c' source_filename = "/tmp/tmppr_qbgpz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dimensionesValidas(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 slt i32 %3, 10 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = icmp sge i32 %6, 0 br label %8 8: ; preds = %5, %1 %9 = phi i1 [ false, %1 ], [ %7, %5 ] %10 = zext i1 %9 to i32 ret i32 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppr_qbgpz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dimensionesValidas(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 slt i32 %3, 10 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = icmp sge i32 %6, 0 br label %8 8: ; preds = %5, %1 %9 = phi i1 [ false, %1 ], [ %7, %5 ] %10 = zext i1 %9 to i32 ret i32 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}