llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp9fwf_ojt.c' source_filename = "/tmp/tmp9fwf_ojt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @helper_double_29(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 @helper_double_29_recursive(ptr noundef %3, i32 noundef 29) ret void } declare i32 @helper_double_29_recursive(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/tmp9fwf_ojt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @helper_double_29(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 @helper_double_29_recursive(ptr noundef %3, i32 noundef 29) ret void } declare i32 @helper_double_29_recursive(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/tmpbo77it00.c' source_filename = "/tmp/tmpbo77it00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @consumerShutdown() #0 { %1 = call i32 (...) @consumerStop() ret void } declare i32 @consumerStop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbo77it00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @consumerShutdown() #0 { %1 = call i32 (...) @consumerStop() ret void } declare i32 @consumerStop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprthg2ge3.c' source_filename = "/tmp/tmprthg2ge3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"creer_lien (%s, %s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mv(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [300 x i8], align 16 %4 = alloca [300 x i8], align 16 %5 = alloca [800 x i8], align 16 store ptr %0, ptr %2, align 8 %6 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0 %7 = getelementptr inbounds [300 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = getelementptr inbounds [300 x i8], ptr %4, i64 0, i64 0 %10 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @creer_lien(ptr noundef %9, ptr noundef %10) %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %20 13: ; preds = %1 %14 = getelementptr inbounds [800 x i8], ptr %5, i64 0, i64 0 %15 = getelementptr inbounds [300 x i8], ptr %4, i64 0, i64 0 %16 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0 %17 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str.1, ptr noundef %15, ptr noundef %16) %18 = getelementptr inbounds [800 x i8], ptr %5, i64 0, i64 0 %19 = call i32 @perreur(ptr noundef %18) br label %23 20: ; preds = %1 %21 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0 %22 = call i32 @detruire_lien(ptr noundef %21) br label %23 23: ; preds = %20, %13 ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @creer_lien(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @perreur(ptr noundef) #1 declare i32 @detruire_lien(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprthg2ge3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"creer_lien (%s, %s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mv(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [300 x i8], align 16 %4 = alloca [300 x i8], align 16 %5 = alloca [800 x i8], align 16 store ptr %0, ptr %2, align 8 %6 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0 %7 = getelementptr inbounds [300 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = getelementptr inbounds [300 x i8], ptr %4, i64 0, i64 0 %10 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @creer_lien(ptr noundef %9, ptr noundef %10) %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %20 13: ; preds = %1 %14 = getelementptr inbounds [800 x i8], ptr %5, i64 0, i64 0 %15 = getelementptr inbounds [300 x i8], ptr %4, i64 0, i64 0 %16 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0 %17 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str.1, ptr noundef %15, ptr noundef %16) %18 = getelementptr inbounds [800 x i8], ptr %5, i64 0, i64 0 %19 = call i32 @perreur(ptr noundef %18) br label %23 20: ; preds = %1 %21 = getelementptr inbounds [300 x i8], ptr %3, i64 0, i64 0 %22 = call i32 @detruire_lien(ptr noundef %21) br label %23 23: ; preds = %20, %13 ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @creer_lien(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @perreur(ptr noundef) #1 declare i32 @detruire_lien(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8rptgtaj.c' source_filename = "/tmp/tmp8rptgtaj.c" target datalayout = "e-m:e-p270: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/tmp8rptgtaj.c" target datalayout = "e-m:e-p270: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/tmp8omt1mi8.c' source_filename = "/tmp/tmp8omt1mi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"spurious_inter: \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @spurious_inter(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @disp_str(ptr noundef @.str) %4 = load i32, ptr %2, align 4 %5 = call i32 @disp_int(i32 noundef %4) %6 = call i32 @disp_str(ptr noundef @.str.1) ret void } declare i32 @disp_str(ptr noundef) #1 declare i32 @disp_int(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/tmp8omt1mi8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"spurious_inter: \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @spurious_inter(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @disp_str(ptr noundef @.str) %4 = load i32, ptr %2, align 4 %5 = call i32 @disp_int(i32 noundef %4) %6 = call i32 @disp_str(ptr noundef @.str.1) ret void } declare i32 @disp_str(ptr noundef) #1 declare i32 @disp_int(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/tmpyjpv870p.c' source_filename = "/tmp/tmpyjpv870p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"\1B[35;1m%2d\1B[0m\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\1B[32;1m%2d\1B[0m\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"\1B[33;1m%2d\1B[0m\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"\1B[31;1m%2d\1B[0m\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"\1B[31;41;1m%2s\1B[0m\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"!F\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"\1B[31;44;1m%2s\1B[0m\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"\1B[31;46;1m%2s\1B[0m\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"#*\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_number(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %24 [ i32 0, label %4 i32 1, label %6 i32 8, label %6 i32 2, label %9 i32 7, label %9 i32 3, label %12 i32 6, label %12 i32 4, label %15 i32 5, label %15 i32 456, label %18 i32 123, label %20 i32 1000, label %22 ] 4: ; preds = %1 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) br label %24 6: ; preds = %1, %1 %7 = load i32, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7) br label %24 9: ; preds = %1, %1 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10) br label %24 12: ; preds = %1, %1 %13 = load i32, ptr %2, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13) br label %24 15: ; preds = %1, %1 %16 = load i32, ptr %2, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %16) br label %24 18: ; preds = %1 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.7) br label %24 20: ; preds = %1 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.1) br label %24 22: ; preds = %1 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.10) br label %24 24: ; preds = %1, %22, %20, %18, %15, %12, %9, %6, %4 %25 = load i32, ptr %2, align 4 ret i32 %25 } 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/tmpyjpv870p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"\1B[35;1m%2d\1B[0m\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\1B[32;1m%2d\1B[0m\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"\1B[33;1m%2d\1B[0m\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"\1B[31;1m%2d\1B[0m\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"\1B[31;41;1m%2s\1B[0m\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"!F\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"\1B[31;44;1m%2s\1B[0m\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"\1B[31;46;1m%2s\1B[0m\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"#*\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_number(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %24 [ i32 0, label %4 i32 1, label %6 i32 8, label %6 i32 2, label %9 i32 7, label %9 i32 3, label %12 i32 6, label %12 i32 4, label %15 i32 5, label %15 i32 456, label %18 i32 123, label %20 i32 1000, label %22 ] 4: ; preds = %1 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) br label %24 6: ; preds = %1, %1 %7 = load i32, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7) br label %24 9: ; preds = %1, %1 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10) br label %24 12: ; preds = %1, %1 %13 = load i32, ptr %2, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %13) br label %24 15: ; preds = %1, %1 %16 = load i32, ptr %2, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %16) br label %24 18: ; preds = %1 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.7) br label %24 20: ; preds = %1 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.1) br label %24 22: ; preds = %1 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.10) br label %24 24: ; preds = %22, %20, %18, %15, %12, %9, %6, %4, %1 %25 = load i32, ptr %2, align 4 ret i32 %25 } 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/tmpp_qrdify.c' source_filename = "/tmp/tmpp_qrdify.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dumpdata(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = load i32, ptr @stdout, align 4 %8 = call i32 @dumpdatafile(ptr noundef %5, i64 noundef %6, i32 noundef %7) ret void } declare i32 @dumpdatafile(ptr noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp_qrdify.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dumpdata(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = load i32, ptr @stdout, align 4 %8 = call i32 @dumpdatafile(ptr noundef %5, i64 noundef %6, i32 noundef %7) ret void } declare i32 @dumpdatafile(ptr noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfjd9dggl.c' source_filename = "/tmp/tmpfjd9dggl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_cpu_count() #0 { %1 = alloca i32, align 4 %2 = call i32 @CPU_ZERO(ptr noundef %1) %3 = call i32 @sched_getaffinity(i32 noundef 0, i32 noundef 4, ptr noundef %1) %4 = call i32 @CPU_COUNT(ptr noundef %1) ret i32 %4 } declare i32 @CPU_ZERO(ptr noundef) #1 declare i32 @sched_getaffinity(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @CPU_COUNT(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfjd9dggl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_cpu_count() #0 { %1 = alloca i32, align 4 %2 = call i32 @CPU_ZERO(ptr noundef %1) %3 = call i32 @sched_getaffinity(i32 noundef 0, i32 noundef 4, ptr noundef %1) %4 = call i32 @CPU_COUNT(ptr noundef %1) ret i32 %4 } declare i32 @CPU_ZERO(ptr noundef) #1 declare i32 @sched_getaffinity(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @CPU_COUNT(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8g4i0ptd.c' source_filename = "/tmp/tmp8g4i0ptd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f3(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [10 x i8], align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %8 = load i32, ptr %2, align 4 %9 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef %8) br label %10 10: ; preds = %6, %1 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8g4i0ptd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f3(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [10 x i8], align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %8 = load i32, ptr %2, align 4 %9 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef %8) br label %10 10: ; preds = %6, %1 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0530u20j.c' source_filename = "/tmp/tmp0530u20j.c" target datalayout = "e-m:e-p270: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/tmp0530u20j.c" target datalayout = "e-m:e-p270: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/tmpsnllhzia.c' source_filename = "/tmp/tmpsnllhzia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ytcpsocket_close(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 @close(i32 noundef %3) ret i32 %4 } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsnllhzia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ytcpsocket_close(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 @close(i32 noundef %3) ret i32 %4 } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ajdihxq.c' source_filename = "/tmp/tmp5ajdihxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ajdihxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3365h7m_.c' source_filename = "/tmp/tmp3365h7m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A = {\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"}, B = {\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"}\0Asmall: %d, large: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %13, align 4 br label %15 15: ; preds = %26, %6 %16 = load i32, ptr %13, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %29 19: ; preds = %15 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %13, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24) br label %26 26: ; preds = %19 %27 = load i32, ptr %13, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %13, align 4 br label %15, !llvm.loop !6 29: ; preds = %15 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %13, align 4 br label %31 31: ; preds = %42, %29 %32 = load i32, ptr %13, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %45 35: ; preds = %31 %36 = load ptr, ptr %9, align 8 %37 = load i32, ptr %13, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %40) br label %42 42: ; preds = %35 %43 = load i32, ptr %13, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %13, align 4 br label %31, !llvm.loop !8 45: ; preds = %31 %46 = load i32, ptr %11, align 4 %47 = load i32, ptr %12, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %46, i32 noundef %47) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3365h7m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A = {\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"}, B = {\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"}\0Asmall: %d, large: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %13, align 4 %15 = load i32, ptr %13, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %31 .lr.ph: ; preds = %6 br label %18 18: ; preds = %.lr.ph, %25 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %13, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23) br label %25 25: ; preds = %18 %26 = load i32, ptr %13, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %13, align 4 %28 = load i32, ptr %13, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %6 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %13, align 4 %33 = load i32, ptr %13, align 4 %34 = load i32, ptr %10, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph2, label %49 .lr.ph2: ; preds = %31 br label %36 36: ; preds = %.lr.ph2, %43 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %13, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %41) br label %43 43: ; preds = %36 %44 = load i32, ptr %13, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %13, align 4 %46 = load i32, ptr %13, align 4 %47 = load i32, ptr %10, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %49 49: ; preds = %._crit_edge3, %31 %50 = load i32, ptr %11, align 4 %51 = load i32, ptr %12, align 4 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %50, i32 noundef %51) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpzz7vqw_e.c' source_filename = "/tmp/tmpzz7vqw_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isEnemyRaw(i32 noundef %0, i8 noundef signext %1, i8 noundef signext %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i8 %1, ptr %7, align 1 store i8 %2, ptr %8, align 1 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %4 %13 = load i32, ptr %9, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12, %4 store i32 0, ptr %5, align 4 br label %23 16: ; preds = %12 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %9, align 4 %19 = add nsw i32 3, %18 %20 = load i8, ptr %7, align 1 %21 = load i8, ptr %8, align 1 %22 = call i32 @isThere(i32 noundef %17, i32 noundef %19, i8 noundef signext %20, i8 noundef signext %21) store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %16, %15 %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @isThere(i32 noundef, i32 noundef, i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzz7vqw_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isEnemyRaw(i32 noundef %0, i8 noundef signext %1, i8 noundef signext %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i8 %1, ptr %7, align 1 store i8 %2, ptr %8, align 1 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %4 %13 = load i32, ptr %9, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12, %4 store i32 0, ptr %5, align 4 br label %23 16: ; preds = %12 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %9, align 4 %19 = add nsw i32 3, %18 %20 = load i8, ptr %7, align 1 %21 = load i8, ptr %8, align 1 %22 = call i32 @isThere(i32 noundef %17, i32 noundef %19, i8 noundef signext %20, i8 noundef signext %21) store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %16, %15 %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @isThere(i32 noundef, i32 noundef, i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyq50il2i.c' source_filename = "/tmp/tmpyq50il2i.c" target datalayout = "e-m:e-p270: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/tmpyq50il2i.c" target datalayout = "e-m:e-p270: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/tmpi_svgx2h.c' source_filename = "/tmp/tmpi_svgx2h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"error sending with sendTCP\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"too many failed attempts, exiting\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sendTCP(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 5, ptr %6, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 br label %10 10: ; preds = %39, %2 %11 = load i32, ptr %7, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %40 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef %17) store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %7, align 4 %21 = sub nsw i32 %20, %19 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = load ptr, ptr %3, align 8 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds i8, ptr %23, i64 %24 store ptr %25, ptr %3, align 8 %26 = load i32, ptr %5, align 4 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %39 28: ; preds = %13 %29 = load i32, ptr %6, align 4 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str) %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %6, align 4 br label %38 35: ; preds = %28 %36 = call i32 @printf(ptr noundef @.str.1) %37 = call i32 @exit(i32 noundef -1) #3 unreachable 38: ; preds = %31 br label %39 39: ; preds = %38, %13 br label %10, !llvm.loop !6 40: ; preds = %10 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi_svgx2h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"error sending with sendTCP\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"too many failed attempts, exiting\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sendTCP(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 5, ptr %6, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %.lr.ph, label %41 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %38 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %3, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = call i32 @write(i32 noundef %13, ptr noundef %14, i32 noundef %16) store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %7, align 4 %20 = sub nsw i32 %19, %18 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %5, align 4 %22 = load ptr, ptr %3, align 8 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store ptr %24, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %38 27: ; preds = %12 %28 = load i32, ptr %6, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %27 %31 = call i32 @printf(ptr noundef @.str) %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %6, align 4 br label %37 34: ; preds = %27 %35 = call i32 @printf(ptr noundef @.str.1) %36 = call i32 @exit(i32 noundef -1) #3 unreachable 37: ; preds = %30 br label %38 38: ; preds = %37, %12 %39 = load i32, ptr %7, align 4 %40 = icmp sgt i32 %39, 0 br i1 %40, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %41 41: ; preds = %._crit_edge, %2 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgtx3gg1e.c' source_filename = "/tmp/tmpgtx3gg1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usleep(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = udiv i64 %3, 1000 %5 = call i32 @Sleep(i64 noundef %4) ret void } declare i32 @Sleep(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgtx3gg1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usleep(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = udiv i64 %3, 1000 %5 = call i32 @Sleep(i64 noundef %4) ret void } declare i32 @Sleep(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx2wmho37.c' source_filename = "/tmp/tmpx2wmho37.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @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/tmpx2wmho37.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @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/tmp9ficq9ec.c' source_filename = "/tmp/tmp9ficq9ec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x ptr], align 16 %3 = alloca [1 x ptr], align 8 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 16, i1 false) call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 8, i1 false) %4 = getelementptr inbounds [1 x ptr], ptr %3, i64 0, i64 0 %5 = call i32 @execve(ptr noundef @.str, i32 noundef 0, ptr noundef %4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @execve(ptr noundef, i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ficq9ec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x ptr], align 16 %3 = alloca [1 x ptr], align 8 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 16, i1 false) call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 8, i1 false) %4 = getelementptr inbounds [1 x ptr], ptr %3, i64 0, i64 0 %5 = call i32 @execve(ptr noundef @.str, i32 noundef 0, ptr noundef %4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @execve(ptr noundef, i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc62ij7ch.c' source_filename = "/tmp/tmpc62ij7ch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %8, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = call i32 @putcar(i8 noundef signext %10) %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %2, align 8 br label %3, !llvm.loop !6 14: ; preds = %3 ret void } declare i32 @putcar(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/tmpc62ij7ch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp ne i32 %5, 0 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @putcar(i8 noundef signext %9) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %2, align 8 %13 = load ptr, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %17 17: ; preds = %._crit_edge, %1 ret void } declare i32 @putcar(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/tmp6jzhxn1_.c' source_filename = "/tmp/tmp6jzhxn1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %9, %0 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 1000 br i1 %6, label %7, label %12 7: ; preds = %4 %8 = call i32 (...) @run() store i32 %8, ptr %2, align 4 br label %9 9: ; preds = %7 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 br label %4, !llvm.loop !6 12: ; preds = %4 %13 = load i32, ptr %2, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) ret i32 0 } declare i32 @run(...) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6jzhxn1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 1000 br i1 %5, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %8 %7 = call i32 (...) @run() store i32 %7, ptr %2, align 4 br label %8 8: ; preds = %6 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 1000 br i1 %12, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %13 13: ; preds = %._crit_edge, %0 %14 = load i32, ptr %2, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) ret i32 0 } declare i32 @run(...) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwlw59cdj.c' source_filename = "/tmp/tmpwlw59cdj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @stdout_normal() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwlw59cdj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @stdout_normal() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn92zmddt.c' source_filename = "/tmp/tmpn92zmddt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IF_gplot_del() #0 { %1 = alloca i64, align 8 %2 = call i64 @getParLong(ptr noundef %1) %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %0 %5 = load i64, ptr %1, align 8 %6 = trunc i64 %5 to i16 %7 = call i32 @GP_del(i16 noundef signext %6) br label %8 8: ; preds = %4, %0 ret void } declare i64 @getParLong(ptr noundef) #1 declare i32 @GP_del(i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn92zmddt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IF_gplot_del() #0 { %1 = alloca i64, align 8 %2 = call i64 @getParLong(ptr noundef %1) %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %0 %5 = load i64, ptr %1, align 8 %6 = trunc i64 %5 to i16 %7 = call i32 @GP_del(i16 noundef signext %6) br label %8 8: ; preds = %4, %0 ret void } declare i64 @getParLong(ptr noundef) #1 declare i32 @GP_del(i16 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkxxfhkx4.c' source_filename = "/tmp/tmpkxxfhkx4.c" target datalayout = "e-m:e-p270: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/tmpkxxfhkx4.c" target datalayout = "e-m:e-p270: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/tmpwfwr7mzc.c' source_filename = "/tmp/tmpwfwr7mzc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_setresizable(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 @japi_setresizable(i32 noundef %5, i32 noundef %6) ret void } declare i32 @japi_setresizable(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/tmpwfwr7mzc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_setresizable(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 @japi_setresizable(i32 noundef %5, i32 noundef %6) ret void } declare i32 @japi_setresizable(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/tmp3ndcxmbv.c' source_filename = "/tmp/tmp3ndcxmbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Nchls Frtg McPh\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Nicholas Freitag McPhee\00", align 1 @.str.2 = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/UMM-CSci-3401-F13/Lab_3_starter/refs/heads/master/disemvowel/disemvowel_test.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_my_name() #0 { %1 = call i64 @disemvowel(ptr noundef @.str.1) %2 = inttoptr i64 %1 to ptr %3 = call i32 @_assert_string_equal(ptr noundef @.str, ptr noundef %2, ptr noundef @.str.2, i32 noundef 21) ret void } declare i32 @_assert_string_equal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @disemvowel(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3ndcxmbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Nchls Frtg McPh\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Nicholas Freitag McPhee\00", align 1 @.str.2 = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/UMM-CSci-3401-F13/Lab_3_starter/refs/heads/master/disemvowel/disemvowel_test.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_my_name() #0 { %1 = call i64 @disemvowel(ptr noundef @.str.1) %2 = inttoptr i64 %1 to ptr %3 = call i32 @_assert_string_equal(ptr noundef @.str, ptr noundef %2, ptr noundef @.str.2, i32 noundef 21) ret void } declare i32 @_assert_string_equal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @disemvowel(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp38pdygx0.c' source_filename = "/tmp/tmp38pdygx0.c" target datalayout = "e-m:e-p270: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/tmp38pdygx0.c" target datalayout = "e-m:e-p270: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/tmpwh1_b68w.c' source_filename = "/tmp/tmpwh1_b68w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Trying to directly write %p...\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"waitpid\00", align 1 @SIGSEGV = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [32 x i8] c"No segv (status = 0x%x) - BAD!\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Segv - GOOD\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Trying to write %p via read...\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"/etc/passwd\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @errno = dso_local global i64 0, align 8 @EFAULT = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [29 x i8] c"Didn't return EFAULT - BAD!\0A\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"Returned EFAULT - GOOD\0A\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"Trying to open /dev/mem...\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @EPERM = dso_local global i64 0, align 8 @.str.11 = private unnamed_addr constant [53 x i8] c"Didn't fail with EPERM (fd = %d, errno = %d) - BAD!\0A\00", align 1 @.str.12 = private unnamed_addr constant [26 x i8] c"Failed with EPERM - GOOD\0A\00", align 1 @.str.13 = private unnamed_addr constant [28 x i8] c"Trying to open /dev/kmem...\00", align 1 @.str.14 = private unnamed_addr constant [10 x i8] c"/dev/kmem\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef inttoptr (i64 2692743168 to ptr)) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fflush(i32 noundef %11) %13 = call i32 (...) @fork() store i32 %13, ptr %6, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %37 15: ; preds = %2 %16 = load i32, ptr %6, align 4 %17 = call i64 @waitpid(i32 noundef %16, ptr noundef %7, i32 noundef 0) %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %15 %20 = call i32 @perror(ptr noundef @.str.1) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %15 %23 = load i32, ptr %7, align 4 %24 = call i32 @WIFSIGNALED(i32 noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %22 %27 = load i32, ptr %7, align 4 %28 = call i64 @WTERMSIG(i32 noundef %27) %29 = load i64, ptr @SIGSEGV, align 8 %30 = icmp ne i64 %28, %29 br i1 %30, label %31, label %34 31: ; preds = %26, %22 %32 = load i32, ptr %7, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32) br label %36 34: ; preds = %26 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %36 36: ; preds = %34, %31 br label %39 37: ; preds = %2 store i64 3735928559, ptr inttoptr (i64 2692743168 to ptr), align 8 %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %36 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef inttoptr (i64 2692743168 to ptr)) %41 = load i32, ptr @O_RDONLY, align 4 %42 = call i32 @open(ptr noundef @.str.5, i32 noundef %41) store i32 %42, ptr %8, align 4 %43 = icmp slt i32 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = call i32 @perror(ptr noundef @.str.6) %46 = call i32 @exit(i32 noundef 1) #3 unreachable 47: ; preds = %39 %48 = load i32, ptr %8, align 4 %49 = call i32 @read(i32 noundef %48, ptr noundef inttoptr (i64 2692743168 to ptr), i32 noundef 8) store i32 %49, ptr %9, align 4 %50 = load i32, ptr %9, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %56, label %52 52: ; preds = %47 %53 = load i64, ptr @errno, align 8 %54 = load i64, ptr @EFAULT, align 8 %55 = icmp ne i64 %53, %54 br i1 %55, label %56, label %58 56: ; preds = %52, %47 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %60 58: ; preds = %52 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %60 60: ; preds = %58, %56 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %62 = load i32, ptr @O_WRONLY, align 4 %63 = call i32 @open(ptr noundef @.str.10, i32 noundef %62) store i32 %63, ptr %8, align 4 %64 = load i32, ptr %8, align 4 %65 = icmp sge i32 %64, 0 br i1 %65, label %70, label %66 66: ; preds = %60 %67 = load i64, ptr @errno, align 8 %68 = load i64, ptr @EPERM, align 8 %69 = icmp ne i64 %67, %68 br i1 %69, label %70, label %74 70: ; preds = %66, %60 %71 = load i32, ptr %8, align 4 %72 = load i64, ptr @errno, align 8 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %71, i64 noundef %72) br label %76 74: ; preds = %66 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %76 76: ; preds = %74, %70 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %78 = load i32, ptr @O_WRONLY, align 4 %79 = call i32 @open(ptr noundef @.str.14, i32 noundef %78) store i32 %79, ptr %8, align 4 %80 = load i32, ptr %8, align 4 %81 = icmp sge i32 %80, 0 br i1 %81, label %86, label %82 82: ; preds = %76 %83 = load i64, ptr @errno, align 8 %84 = load i64, ptr @EPERM, align 8 %85 = icmp ne i64 %83, %84 br i1 %85, label %86, label %90 86: ; preds = %82, %76 %87 = load i32, ptr %8, align 4 %88 = load i64, ptr @errno, align 8 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %87, i64 noundef %88) br label %92 90: ; preds = %82 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %92 92: ; preds = %90, %86 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fork(...) #1 declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @WIFSIGNALED(i32 noundef) #1 declare i64 @WTERMSIG(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpwh1_b68w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Trying to directly write %p...\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"waitpid\00", align 1 @SIGSEGV = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [32 x i8] c"No segv (status = 0x%x) - BAD!\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Segv - GOOD\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Trying to write %p via read...\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"/etc/passwd\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @errno = dso_local global i64 0, align 8 @EFAULT = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [29 x i8] c"Didn't return EFAULT - BAD!\0A\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"Returned EFAULT - GOOD\0A\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"Trying to open /dev/mem...\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @EPERM = dso_local global i64 0, align 8 @.str.11 = private unnamed_addr constant [53 x i8] c"Didn't fail with EPERM (fd = %d, errno = %d) - BAD!\0A\00", align 1 @.str.12 = private unnamed_addr constant [26 x i8] c"Failed with EPERM - GOOD\0A\00", align 1 @.str.13 = private unnamed_addr constant [28 x i8] c"Trying to open /dev/kmem...\00", align 1 @.str.14 = private unnamed_addr constant [10 x i8] c"/dev/kmem\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef inttoptr (i64 2692743168 to ptr)) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fflush(i32 noundef %11) %13 = call i32 (...) @fork() store i32 %13, ptr %6, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %37 15: ; preds = %2 %16 = load i32, ptr %6, align 4 %17 = call i64 @waitpid(i32 noundef %16, ptr noundef %7, i32 noundef 0) %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %15 %20 = call i32 @perror(ptr noundef @.str.1) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %15 %23 = load i32, ptr %7, align 4 %24 = call i32 @WIFSIGNALED(i32 noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %22 %27 = load i32, ptr %7, align 4 %28 = call i64 @WTERMSIG(i32 noundef %27) %29 = load i64, ptr @SIGSEGV, align 8 %30 = icmp ne i64 %28, %29 br i1 %30, label %31, label %34 31: ; preds = %26, %22 %32 = load i32, ptr %7, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32) br label %36 34: ; preds = %26 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %36 36: ; preds = %34, %31 br label %39 37: ; preds = %2 store i64 3735928559, ptr inttoptr (i64 2692743168 to ptr), align 8 %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %36 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef inttoptr (i64 2692743168 to ptr)) %41 = load i32, ptr @O_RDONLY, align 4 %42 = call i32 @open(ptr noundef @.str.5, i32 noundef %41) store i32 %42, ptr %8, align 4 %43 = icmp slt i32 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = call i32 @perror(ptr noundef @.str.6) %46 = call i32 @exit(i32 noundef 1) #3 unreachable 47: ; preds = %39 %48 = load i32, ptr %8, align 4 %49 = call i32 @read(i32 noundef %48, ptr noundef inttoptr (i64 2692743168 to ptr), i32 noundef 8) store i32 %49, ptr %9, align 4 %50 = load i32, ptr %9, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %56, label %52 52: ; preds = %47 %53 = load i64, ptr @errno, align 8 %54 = load i64, ptr @EFAULT, align 8 %55 = icmp ne i64 %53, %54 br i1 %55, label %56, label %58 56: ; preds = %52, %47 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %60 58: ; preds = %52 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %60 60: ; preds = %58, %56 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %62 = load i32, ptr @O_WRONLY, align 4 %63 = call i32 @open(ptr noundef @.str.10, i32 noundef %62) store i32 %63, ptr %8, align 4 %64 = load i32, ptr %8, align 4 %65 = icmp sge i32 %64, 0 br i1 %65, label %70, label %66 66: ; preds = %60 %67 = load i64, ptr @errno, align 8 %68 = load i64, ptr @EPERM, align 8 %69 = icmp ne i64 %67, %68 br i1 %69, label %70, label %74 70: ; preds = %66, %60 %71 = load i32, ptr %8, align 4 %72 = load i64, ptr @errno, align 8 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %71, i64 noundef %72) br label %76 74: ; preds = %66 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %76 76: ; preds = %74, %70 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %78 = load i32, ptr @O_WRONLY, align 4 %79 = call i32 @open(ptr noundef @.str.14, i32 noundef %78) store i32 %79, ptr %8, align 4 %80 = load i32, ptr %8, align 4 %81 = icmp sge i32 %80, 0 br i1 %81, label %86, label %82 82: ; preds = %76 %83 = load i64, ptr @errno, align 8 %84 = load i64, ptr @EPERM, align 8 %85 = icmp ne i64 %83, %84 br i1 %85, label %86, label %90 86: ; preds = %82, %76 %87 = load i32, ptr %8, align 4 %88 = load i64, ptr @errno, align 8 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %87, i64 noundef %88) br label %92 90: ; preds = %82 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %92 92: ; preds = %90, %86 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fork(...) #1 declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @WIFSIGNALED(i32 noundef) #1 declare i64 @WTERMSIG(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpb8lmpmlb.c' source_filename = "/tmp/tmpb8lmpmlb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @open_dir(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @opendir(ptr noundef %6) store ptr %7, ptr %5, align 8 %8 = load i32, ptr @errno, align 4 %9 = load ptr, ptr %4, align 8 store i32 %8, ptr %9, align 4 %10 = load ptr, ptr %5, align 8 ret ptr %10 } declare ptr @opendir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb8lmpmlb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @open_dir(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @opendir(ptr noundef %6) store ptr %7, ptr %5, align 8 %8 = load i32, ptr @errno, align 4 %9 = load ptr, ptr %4, align 8 store i32 %8, ptr %9, align 4 %10 = load ptr, ptr %5, align 8 ret ptr %10 } declare ptr @opendir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3y_8b30i.c' source_filename = "/tmp/tmp3y_8b30i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @unknown_action() #0 { %1 = call i32 @display_message(ptr noundef @.str) ret void } declare i32 @display_message(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3y_8b30i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @unknown_action() #0 { %1 = call i32 @display_message(ptr noundef @.str) ret void } declare i32 @display_message(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdx9m0skc.c' source_filename = "/tmp/tmpdx9m0skc.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"usage: %s filepath\0A\00", align 1 @__progname = external global ptr, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = load ptr, ptr @__progname, align 8 %3 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef %2) %4 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdx9m0skc.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"usage: %s filepath\0A\00", align 1 @__progname = external global ptr, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = load ptr, ptr @__progname, align 8 %3 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef %2) %4 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8u7yxvs3.c' source_filename = "/tmp/tmp8u7yxvs3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PrepareLoadIgorData\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PrepareLoadIgorData(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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = call i32 @CheckRunningInMainThread(ptr noundef @.str) %9 = icmp ne i32 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %3 store i32 978, ptr %4, align 4 br label %17 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = call i64 @CallBack3(i32 noundef 153, ptr noundef %12, ptr noundef %13, ptr noundef %14) %16 = trunc i64 %15 to i32 store i32 %16, ptr %4, align 4 br label %17 17: ; preds = %11, %10 %18 = load i32, ptr %4, align 4 ret i32 %18 } declare i32 @CheckRunningInMainThread(ptr noundef) #1 declare i64 @CallBack3(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8u7yxvs3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PrepareLoadIgorData\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PrepareLoadIgorData(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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = call i32 @CheckRunningInMainThread(ptr noundef @.str) %9 = icmp ne i32 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %3 store i32 978, ptr %4, align 4 br label %17 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %7, align 8 %15 = call i64 @CallBack3(i32 noundef 153, ptr noundef %12, ptr noundef %13, ptr noundef %14) %16 = trunc i64 %15 to i32 store i32 %16, ptr %4, align 4 br label %17 17: ; preds = %11, %10 %18 = load i32, ptr %4, align 4 ret i32 %18 } declare i32 @CheckRunningInMainThread(ptr noundef) #1 declare i64 @CallBack3(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppz1rmb36.c' source_filename = "/tmp/tmppz1rmb36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_int32_t(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = add nsw i64 %5, %6 ret i64 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppz1rmb36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_int32_t(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = add nsw i64 %5, %6 ret i64 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2vbkkm9g.c' source_filename = "/tmp/tmp2vbkkm9g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"I am son\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"I am father\0A\00", align 1 @SIGINT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = call i64 (...) @fork() store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @perror(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load i64, ptr %6, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %13 br label %17 17: ; preds = %16, %17 %18 = call i32 @printf(ptr noundef @.str.1) %19 = call i32 @sleep(i32 noundef 1) br label %17 20: ; preds = %13 %21 = load i64, ptr %6, align 8 %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %36 23: ; preds = %20 br label %24 24: ; preds = %23, %35 %25 = call i32 @printf(ptr noundef @.str.2) %26 = call i32 @sleep(i32 noundef 1) %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp eq i32 3, %29 br i1 %30, label %31, label %35 31: ; preds = %24 %32 = load i64, ptr %6, align 8 %33 = load i32, ptr @SIGINT, align 4 %34 = call i32 @kill(i64 noundef %32, i32 noundef %33) br label %35 35: ; preds = %31, %24 br label %24 36: ; preds = %20 br label %37 37: ; preds = %36 ret i32 0 } declare i64 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @kill(i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2vbkkm9g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"I am son\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"I am father\0A\00", align 1 @SIGINT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = call i64 (...) @fork() store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @perror(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load i64, ptr %6, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %13 br label %17 17: ; preds = %17, %16 %18 = call i32 @printf(ptr noundef @.str.1) %19 = call i32 @sleep(i32 noundef 1) br label %17 20: ; preds = %13 %21 = load i64, ptr %6, align 8 %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %36 23: ; preds = %20 br label %24 24: ; preds = %35, %23 %25 = call i32 @printf(ptr noundef @.str.2) %26 = call i32 @sleep(i32 noundef 1) %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp eq i32 3, %29 br i1 %30, label %31, label %35 31: ; preds = %24 %32 = load i64, ptr %6, align 8 %33 = load i32, ptr @SIGINT, align 4 %34 = call i32 @kill(i64 noundef %32, i32 noundef %33) br label %35 35: ; preds = %31, %24 br label %24 36: ; preds = %20 br label %37 37: ; preds = %36 ret i32 0 } declare i64 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @kill(i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr_4gqcv7.c' source_filename = "/tmp/tmpr_4gqcv7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_UNSIGNED_INT_NOT_PROMOTES_TO_SIGNED_TYPE() #0 { %1 = call i32 @assert(i32 noundef 1) %2 = call i32 @assert(i32 noundef 1) %3 = call i32 @assert(i32 noundef 1) %4 = call i32 @assert(i32 noundef 1) %5 = call i32 @assert(i32 noundef 1) %6 = load i32, ptr @CHAR_BIT, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 4, %7 %9 = sub i64 %8, 2 %10 = trunc i64 %9 to i32 %11 = shl i32 1, %10 %12 = load i32, ptr @CHAR_BIT, align 4 %13 = sext i32 %12 to i64 %14 = mul i64 4, %13 %15 = sub i64 %14, 2 %16 = trunc i64 %15 to i32 %17 = shl i32 1, %16 %18 = sub i32 %17, 1 %19 = add i32 %11, %18 %20 = icmp ugt i32 %19, -1 br i1 %20, label %21, label %36 21: ; preds = %0 %22 = load i32, ptr @CHAR_BIT, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 4, %23 %25 = sub i64 %24, 2 %26 = trunc i64 %25 to i32 %27 = shl i32 1, %26 %28 = load i32, ptr @CHAR_BIT, align 4 %29 = sext i32 %28 to i64 %30 = mul i64 4, %29 %31 = sub i64 %30, 2 %32 = trunc i64 %31 to i32 %33 = shl i32 1, %32 %34 = sub i32 %33, 1 %35 = add i32 %27, %34 br label %37 36: ; preds = %0 br label %37 37: ; preds = %36, %21 %38 = phi i32 [ %35, %21 ], [ -1, %36 ] %39 = load i32, ptr @CHAR_BIT, align 4 %40 = sext i32 %39 to i64 %41 = mul i64 4, %40 %42 = sub i64 %41, 2 %43 = trunc i64 %42 to i32 %44 = shl i32 1, %43 %45 = load i32, ptr @CHAR_BIT, align 4 %46 = sext i32 %45 to i64 %47 = mul i64 4, %46 %48 = sub i64 %47, 2 %49 = trunc i64 %48 to i32 %50 = shl i32 1, %49 %51 = sub i32 %50, 1 %52 = add i32 %44, %51 %53 = icmp ugt i32 %52, -1 br i1 %53, label %54, label %69 54: ; preds = %37 %55 = load i32, ptr @CHAR_BIT, align 4 %56 = sext i32 %55 to i64 %57 = mul i64 4, %56 %58 = sub i64 %57, 2 %59 = trunc i64 %58 to i32 %60 = shl i32 1, %59 %61 = load i32, ptr @CHAR_BIT, align 4 %62 = sext i32 %61 to i64 %63 = mul i64 4, %62 %64 = sub i64 %63, 2 %65 = trunc i64 %64 to i32 %66 = shl i32 1, %65 %67 = sub i32 %66, 1 %68 = add i32 %60, %67 br label %70 69: ; preds = %37 br label %70 70: ; preds = %69, %54 %71 = phi i32 [ %68, %54 ], [ -1, %69 ] %72 = sub i32 %38, %71 %73 = load i32, ptr @CHAR_BIT, align 4 %74 = sext i32 %73 to i64 %75 = mul i64 4, %74 %76 = sub i64 %75, 2 %77 = trunc i64 %76 to i32 %78 = shl i32 1, %77 %79 = load i32, ptr @CHAR_BIT, align 4 %80 = sext i32 %79 to i64 %81 = mul i64 4, %80 %82 = sub i64 %81, 2 %83 = trunc i64 %82 to i32 %84 = shl i32 1, %83 %85 = sub i32 %84, 1 %86 = add i32 %78, %85 %87 = icmp ugt i32 %86, -1 br i1 %87, label %88, label %103 88: ; preds = %70 %89 = load i32, ptr @CHAR_BIT, align 4 %90 = sext i32 %89 to i64 %91 = mul i64 4, %90 %92 = sub i64 %91, 2 %93 = trunc i64 %92 to i32 %94 = shl i32 1, %93 %95 = load i32, ptr @CHAR_BIT, align 4 %96 = sext i32 %95 to i64 %97 = mul i64 4, %96 %98 = sub i64 %97, 2 %99 = trunc i64 %98 to i32 %100 = shl i32 1, %99 %101 = sub i32 %100, 1 %102 = add i32 %94, %101 br label %104 103: ; preds = %70 br label %104 104: ; preds = %103, %88 %105 = phi i32 [ %102, %88 ], [ -1, %103 ] %106 = load i32, ptr @CHAR_BIT, align 4 %107 = sext i32 %106 to i64 %108 = mul i64 4, %107 %109 = sub i64 %108, 2 %110 = trunc i64 %109 to i32 %111 = shl i32 1, %110 %112 = load i32, ptr @CHAR_BIT, align 4 %113 = sext i32 %112 to i64 %114 = mul i64 4, %113 %115 = sub i64 %114, 2 %116 = trunc i64 %115 to i32 %117 = shl i32 1, %116 %118 = sub i32 %117, 1 %119 = add i32 %111, %118 %120 = icmp ugt i32 %119, -1 br i1 %120, label %121, label %136 121: ; preds = %104 %122 = load i32, ptr @CHAR_BIT, align 4 %123 = sext i32 %122 to i64 %124 = mul i64 4, %123 %125 = sub i64 %124, 2 %126 = trunc i64 %125 to i32 %127 = shl i32 1, %126 %128 = load i32, ptr @CHAR_BIT, align 4 %129 = sext i32 %128 to i64 %130 = mul i64 4, %129 %131 = sub i64 %130, 2 %132 = trunc i64 %131 to i32 %133 = shl i32 1, %132 %134 = sub i32 %133, 1 %135 = add i32 %127, %134 br label %137 136: ; preds = %104 br label %137 137: ; preds = %136, %121 %138 = phi i32 [ %135, %121 ], [ -1, %136 ] %139 = sub i32 %105, %138 %140 = add i32 %139, 1 %141 = sub i32 %72, %140 %142 = load i32, ptr @CHAR_BIT, align 4 %143 = sext i32 %142 to i64 %144 = mul i64 4, %143 %145 = sub i64 %144, 2 %146 = trunc i64 %145 to i32 %147 = shl i32 1, %146 %148 = load i32, ptr @CHAR_BIT, align 4 %149 = sext i32 %148 to i64 %150 = mul i64 4, %149 %151 = sub i64 %150, 2 %152 = trunc i64 %151 to i32 %153 = shl i32 1, %152 %154 = sub i32 %153, 1 %155 = add i32 %147, %154 %156 = icmp ugt i32 %155, -1 br i1 %156, label %157, label %172 157: ; preds = %137 %158 = load i32, ptr @CHAR_BIT, align 4 %159 = sext i32 %158 to i64 %160 = mul i64 4, %159 %161 = sub i64 %160, 2 %162 = trunc i64 %161 to i32 %163 = shl i32 1, %162 %164 = load i32, ptr @CHAR_BIT, align 4 %165 = sext i32 %164 to i64 %166 = mul i64 4, %165 %167 = sub i64 %166, 2 %168 = trunc i64 %167 to i32 %169 = shl i32 1, %168 %170 = sub i32 %169, 1 %171 = add i32 %163, %170 br label %173 172: ; preds = %137 br label %173 173: ; preds = %172, %157 %174 = phi i32 [ %171, %157 ], [ -1, %172 ] %175 = load i32, ptr @CHAR_BIT, align 4 %176 = sext i32 %175 to i64 %177 = mul i64 4, %176 %178 = sub i64 %177, 2 %179 = trunc i64 %178 to i32 %180 = shl i32 1, %179 %181 = load i32, ptr @CHAR_BIT, align 4 %182 = sext i32 %181 to i64 %183 = mul i64 4, %182 %184 = sub i64 %183, 2 %185 = trunc i64 %184 to i32 %186 = shl i32 1, %185 %187 = sub i32 %186, 1 %188 = add i32 %180, %187 %189 = icmp ugt i32 %188, -1 br i1 %189, label %190, label %205 190: ; preds = %173 %191 = load i32, ptr @CHAR_BIT, align 4 %192 = sext i32 %191 to i64 %193 = mul i64 4, %192 %194 = sub i64 %193, 2 %195 = trunc i64 %194 to i32 %196 = shl i32 1, %195 %197 = load i32, ptr @CHAR_BIT, align 4 %198 = sext i32 %197 to i64 %199 = mul i64 4, %198 %200 = sub i64 %199, 2 %201 = trunc i64 %200 to i32 %202 = shl i32 1, %201 %203 = sub i32 %202, 1 %204 = add i32 %196, %203 br label %206 205: ; preds = %173 br label %206 206: ; preds = %205, %190 %207 = phi i32 [ %204, %190 ], [ -1, %205 ] %208 = sub i32 %174, %207 %209 = icmp ult i32 %141, %208 %210 = xor i1 %209, true %211 = zext i1 %210 to i32 %212 = call i32 @assert(i32 noundef %211) %213 = load i32, ptr @CHAR_BIT, align 4 %214 = sext i32 %213 to i64 %215 = mul i64 4, %214 %216 = sub i64 %215, 2 %217 = trunc i64 %216 to i32 %218 = shl i32 1, %217 %219 = load i32, ptr @CHAR_BIT, align 4 %220 = sext i32 %219 to i64 %221 = mul i64 4, %220 %222 = sub i64 %221, 2 %223 = trunc i64 %222 to i32 %224 = shl i32 1, %223 %225 = sub i32 %224, 1 %226 = add i32 %218, %225 %227 = sub i32 0, %226 %228 = sub i32 %227, 1 %229 = icmp ult i32 %228, 0 br i1 %229, label %230, label %247 230: ; preds = %206 %231 = load i32, ptr @CHAR_BIT, align 4 %232 = sext i32 %231 to i64 %233 = mul i64 4, %232 %234 = sub i64 %233, 2 %235 = trunc i64 %234 to i32 %236 = shl i32 1, %235 %237 = load i32, ptr @CHAR_BIT, align 4 %238 = sext i32 %237 to i64 %239 = mul i64 4, %238 %240 = sub i64 %239, 2 %241 = trunc i64 %240 to i32 %242 = shl i32 1, %241 %243 = sub i32 %242, 1 %244 = add i32 %236, %243 %245 = sub i32 0, %244 %246 = sub i32 %245, 1 br label %248 247: ; preds = %206 br label %248 248: ; preds = %247, %230 %249 = phi i32 [ %246, %230 ], [ 0, %247 ] %250 = load i32, ptr @CHAR_BIT, align 4 %251 = sext i32 %250 to i64 %252 = mul i64 4, %251 %253 = sub i64 %252, 2 %254 = trunc i64 %253 to i32 %255 = shl i32 1, %254 %256 = load i32, ptr @CHAR_BIT, align 4 %257 = sext i32 %256 to i64 %258 = mul i64 4, %257 %259 = sub i64 %258, 2 %260 = trunc i64 %259 to i32 %261 = shl i32 1, %260 %262 = sub i32 %261, 1 %263 = add i32 %255, %262 %264 = sub i32 0, %263 %265 = sub i32 %264, 1 %266 = icmp ult i32 %265, 0 br i1 %266, label %267, label %284 267: ; preds = %248 %268 = load i32, ptr @CHAR_BIT, align 4 %269 = sext i32 %268 to i64 %270 = mul i64 4, %269 %271 = sub i64 %270, 2 %272 = trunc i64 %271 to i32 %273 = shl i32 1, %272 %274 = load i32, ptr @CHAR_BIT, align 4 %275 = sext i32 %274 to i64 %276 = mul i64 4, %275 %277 = sub i64 %276, 2 %278 = trunc i64 %277 to i32 %279 = shl i32 1, %278 %280 = sub i32 %279, 1 %281 = add i32 %273, %280 %282 = sub i32 0, %281 %283 = sub i32 %282, 1 br label %285 284: ; preds = %248 br label %285 285: ; preds = %284, %267 %286 = phi i32 [ %283, %267 ], [ 0, %284 ] %287 = sub i32 %249, %286 %288 = load i32, ptr @CHAR_BIT, align 4 %289 = sext i32 %288 to i64 %290 = mul i64 4, %289 %291 = sub i64 %290, 2 %292 = trunc i64 %291 to i32 %293 = shl i32 1, %292 %294 = load i32, ptr @CHAR_BIT, align 4 %295 = sext i32 %294 to i64 %296 = mul i64 4, %295 %297 = sub i64 %296, 2 %298 = trunc i64 %297 to i32 %299 = shl i32 1, %298 %300 = sub i32 %299, 1 %301 = add i32 %293, %300 %302 = sub i32 0, %301 %303 = sub i32 %302, 1 %304 = icmp ult i32 %303, 0 br i1 %304, label %305, label %322 305: ; preds = %285 %306 = load i32, ptr @CHAR_BIT, align 4 %307 = sext i32 %306 to i64 %308 = mul i64 4, %307 %309 = sub i64 %308, 2 %310 = trunc i64 %309 to i32 %311 = shl i32 1, %310 %312 = load i32, ptr @CHAR_BIT, align 4 %313 = sext i32 %312 to i64 %314 = mul i64 4, %313 %315 = sub i64 %314, 2 %316 = trunc i64 %315 to i32 %317 = shl i32 1, %316 %318 = sub i32 %317, 1 %319 = add i32 %311, %318 %320 = sub i32 0, %319 %321 = sub i32 %320, 1 br label %323 322: ; preds = %285 br label %323 323: ; preds = %322, %305 %324 = phi i32 [ %321, %305 ], [ 0, %322 ] %325 = load i32, ptr @CHAR_BIT, align 4 %326 = sext i32 %325 to i64 %327 = mul i64 4, %326 %328 = sub i64 %327, 2 %329 = trunc i64 %328 to i32 %330 = shl i32 1, %329 %331 = load i32, ptr @CHAR_BIT, align 4 %332 = sext i32 %331 to i64 %333 = mul i64 4, %332 %334 = sub i64 %333, 2 %335 = trunc i64 %334 to i32 %336 = shl i32 1, %335 %337 = sub i32 %336, 1 %338 = add i32 %330, %337 %339 = sub i32 0, %338 %340 = sub i32 %339, 1 %341 = icmp ult i32 %340, 0 br i1 %341, label %342, label %359 342: ; preds = %323 %343 = load i32, ptr @CHAR_BIT, align 4 %344 = sext i32 %343 to i64 %345 = mul i64 4, %344 %346 = sub i64 %345, 2 %347 = trunc i64 %346 to i32 %348 = shl i32 1, %347 %349 = load i32, ptr @CHAR_BIT, align 4 %350 = sext i32 %349 to i64 %351 = mul i64 4, %350 %352 = sub i64 %351, 2 %353 = trunc i64 %352 to i32 %354 = shl i32 1, %353 %355 = sub i32 %354, 1 %356 = add i32 %348, %355 %357 = sub i32 0, %356 %358 = sub i32 %357, 1 br label %360 359: ; preds = %323 br label %360 360: ; preds = %359, %342 %361 = phi i32 [ %358, %342 ], [ 0, %359 ] %362 = sub i32 %324, %361 %363 = add i32 %362, 1 %364 = sub i32 %287, %363 %365 = load i32, ptr @CHAR_BIT, align 4 %366 = sext i32 %365 to i64 %367 = mul i64 4, %366 %368 = sub i64 %367, 2 %369 = trunc i64 %368 to i32 %370 = shl i32 1, %369 %371 = load i32, ptr @CHAR_BIT, align 4 %372 = sext i32 %371 to i64 %373 = mul i64 4, %372 %374 = sub i64 %373, 2 %375 = trunc i64 %374 to i32 %376 = shl i32 1, %375 %377 = sub i32 %376, 1 %378 = add i32 %370, %377 %379 = sub i32 0, %378 %380 = sub i32 %379, 1 %381 = icmp ult i32 %380, 0 br i1 %381, label %382, label %399 382: ; preds = %360 %383 = load i32, ptr @CHAR_BIT, align 4 %384 = sext i32 %383 to i64 %385 = mul i64 4, %384 %386 = sub i64 %385, 2 %387 = trunc i64 %386 to i32 %388 = shl i32 1, %387 %389 = load i32, ptr @CHAR_BIT, align 4 %390 = sext i32 %389 to i64 %391 = mul i64 4, %390 %392 = sub i64 %391, 2 %393 = trunc i64 %392 to i32 %394 = shl i32 1, %393 %395 = sub i32 %394, 1 %396 = add i32 %388, %395 %397 = sub i32 0, %396 %398 = sub i32 %397, 1 br label %400 399: ; preds = %360 br label %400 400: ; preds = %399, %382 %401 = phi i32 [ %398, %382 ], [ 0, %399 ] %402 = load i32, ptr @CHAR_BIT, align 4 %403 = sext i32 %402 to i64 %404 = mul i64 4, %403 %405 = sub i64 %404, 2 %406 = trunc i64 %405 to i32 %407 = shl i32 1, %406 %408 = load i32, ptr @CHAR_BIT, align 4 %409 = sext i32 %408 to i64 %410 = mul i64 4, %409 %411 = sub i64 %410, 2 %412 = trunc i64 %411 to i32 %413 = shl i32 1, %412 %414 = sub i32 %413, 1 %415 = add i32 %407, %414 %416 = sub i32 0, %415 %417 = sub i32 %416, 1 %418 = icmp ult i32 %417, 0 br i1 %418, label %419, label %436 419: ; preds = %400 %420 = load i32, ptr @CHAR_BIT, align 4 %421 = sext i32 %420 to i64 %422 = mul i64 4, %421 %423 = sub i64 %422, 2 %424 = trunc i64 %423 to i32 %425 = shl i32 1, %424 %426 = load i32, ptr @CHAR_BIT, align 4 %427 = sext i32 %426 to i64 %428 = mul i64 4, %427 %429 = sub i64 %428, 2 %430 = trunc i64 %429 to i32 %431 = shl i32 1, %430 %432 = sub i32 %431, 1 %433 = add i32 %425, %432 %434 = sub i32 0, %433 %435 = sub i32 %434, 1 br label %437 436: ; preds = %400 br label %437 437: ; preds = %436, %419 %438 = phi i32 [ %435, %419 ], [ 0, %436 ] %439 = sub i32 %401, %438 %440 = icmp ult i32 %364, %439 %441 = xor i1 %440, true %442 = zext i1 %441 to i32 %443 = call i32 @assert(i32 noundef %442) ret i32 1 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr_4gqcv7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_UNSIGNED_INT_NOT_PROMOTES_TO_SIGNED_TYPE() #0 { %1 = call i32 @assert(i32 noundef 1) %2 = call i32 @assert(i32 noundef 1) %3 = call i32 @assert(i32 noundef 1) %4 = call i32 @assert(i32 noundef 1) %5 = call i32 @assert(i32 noundef 1) %6 = load i32, ptr @CHAR_BIT, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 4, %7 %9 = sub i64 %8, 2 %10 = trunc i64 %9 to i32 %11 = shl i32 1, %10 %12 = load i32, ptr @CHAR_BIT, align 4 %13 = sext i32 %12 to i64 %14 = mul i64 4, %13 %15 = sub i64 %14, 2 %16 = trunc i64 %15 to i32 %17 = shl i32 1, %16 %18 = sub i32 %17, 1 %19 = add i32 %11, %18 %20 = icmp ugt i32 %19, -1 br i1 %20, label %21, label %36 21: ; preds = %0 %22 = load i32, ptr @CHAR_BIT, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 4, %23 %25 = sub i64 %24, 2 %26 = trunc i64 %25 to i32 %27 = shl i32 1, %26 %28 = load i32, ptr @CHAR_BIT, align 4 %29 = sext i32 %28 to i64 %30 = mul i64 4, %29 %31 = sub i64 %30, 2 %32 = trunc i64 %31 to i32 %33 = shl i32 1, %32 %34 = sub i32 %33, 1 %35 = add i32 %27, %34 br label %37 36: ; preds = %0 br label %37 37: ; preds = %36, %21 %38 = phi i32 [ %35, %21 ], [ -1, %36 ] %39 = load i32, ptr @CHAR_BIT, align 4 %40 = sext i32 %39 to i64 %41 = mul i64 4, %40 %42 = sub i64 %41, 2 %43 = trunc i64 %42 to i32 %44 = shl i32 1, %43 %45 = load i32, ptr @CHAR_BIT, align 4 %46 = sext i32 %45 to i64 %47 = mul i64 4, %46 %48 = sub i64 %47, 2 %49 = trunc i64 %48 to i32 %50 = shl i32 1, %49 %51 = sub i32 %50, 1 %52 = add i32 %44, %51 %53 = icmp ugt i32 %52, -1 br i1 %53, label %54, label %69 54: ; preds = %37 %55 = load i32, ptr @CHAR_BIT, align 4 %56 = sext i32 %55 to i64 %57 = mul i64 4, %56 %58 = sub i64 %57, 2 %59 = trunc i64 %58 to i32 %60 = shl i32 1, %59 %61 = load i32, ptr @CHAR_BIT, align 4 %62 = sext i32 %61 to i64 %63 = mul i64 4, %62 %64 = sub i64 %63, 2 %65 = trunc i64 %64 to i32 %66 = shl i32 1, %65 %67 = sub i32 %66, 1 %68 = add i32 %60, %67 br label %70 69: ; preds = %37 br label %70 70: ; preds = %69, %54 %71 = phi i32 [ %68, %54 ], [ -1, %69 ] %72 = sub i32 %38, %71 %73 = load i32, ptr @CHAR_BIT, align 4 %74 = sext i32 %73 to i64 %75 = mul i64 4, %74 %76 = sub i64 %75, 2 %77 = trunc i64 %76 to i32 %78 = shl i32 1, %77 %79 = load i32, ptr @CHAR_BIT, align 4 %80 = sext i32 %79 to i64 %81 = mul i64 4, %80 %82 = sub i64 %81, 2 %83 = trunc i64 %82 to i32 %84 = shl i32 1, %83 %85 = sub i32 %84, 1 %86 = add i32 %78, %85 %87 = icmp ugt i32 %86, -1 br i1 %87, label %88, label %103 88: ; preds = %70 %89 = load i32, ptr @CHAR_BIT, align 4 %90 = sext i32 %89 to i64 %91 = mul i64 4, %90 %92 = sub i64 %91, 2 %93 = trunc i64 %92 to i32 %94 = shl i32 1, %93 %95 = load i32, ptr @CHAR_BIT, align 4 %96 = sext i32 %95 to i64 %97 = mul i64 4, %96 %98 = sub i64 %97, 2 %99 = trunc i64 %98 to i32 %100 = shl i32 1, %99 %101 = sub i32 %100, 1 %102 = add i32 %94, %101 br label %104 103: ; preds = %70 br label %104 104: ; preds = %103, %88 %105 = phi i32 [ %102, %88 ], [ -1, %103 ] %106 = load i32, ptr @CHAR_BIT, align 4 %107 = sext i32 %106 to i64 %108 = mul i64 4, %107 %109 = sub i64 %108, 2 %110 = trunc i64 %109 to i32 %111 = shl i32 1, %110 %112 = load i32, ptr @CHAR_BIT, align 4 %113 = sext i32 %112 to i64 %114 = mul i64 4, %113 %115 = sub i64 %114, 2 %116 = trunc i64 %115 to i32 %117 = shl i32 1, %116 %118 = sub i32 %117, 1 %119 = add i32 %111, %118 %120 = icmp ugt i32 %119, -1 br i1 %120, label %121, label %136 121: ; preds = %104 %122 = load i32, ptr @CHAR_BIT, align 4 %123 = sext i32 %122 to i64 %124 = mul i64 4, %123 %125 = sub i64 %124, 2 %126 = trunc i64 %125 to i32 %127 = shl i32 1, %126 %128 = load i32, ptr @CHAR_BIT, align 4 %129 = sext i32 %128 to i64 %130 = mul i64 4, %129 %131 = sub i64 %130, 2 %132 = trunc i64 %131 to i32 %133 = shl i32 1, %132 %134 = sub i32 %133, 1 %135 = add i32 %127, %134 br label %137 136: ; preds = %104 br label %137 137: ; preds = %136, %121 %138 = phi i32 [ %135, %121 ], [ -1, %136 ] %139 = sub i32 %105, %138 %140 = add i32 %139, 1 %141 = sub i32 %72, %140 %142 = load i32, ptr @CHAR_BIT, align 4 %143 = sext i32 %142 to i64 %144 = mul i64 4, %143 %145 = sub i64 %144, 2 %146 = trunc i64 %145 to i32 %147 = shl i32 1, %146 %148 = load i32, ptr @CHAR_BIT, align 4 %149 = sext i32 %148 to i64 %150 = mul i64 4, %149 %151 = sub i64 %150, 2 %152 = trunc i64 %151 to i32 %153 = shl i32 1, %152 %154 = sub i32 %153, 1 %155 = add i32 %147, %154 %156 = icmp ugt i32 %155, -1 br i1 %156, label %157, label %172 157: ; preds = %137 %158 = load i32, ptr @CHAR_BIT, align 4 %159 = sext i32 %158 to i64 %160 = mul i64 4, %159 %161 = sub i64 %160, 2 %162 = trunc i64 %161 to i32 %163 = shl i32 1, %162 %164 = load i32, ptr @CHAR_BIT, align 4 %165 = sext i32 %164 to i64 %166 = mul i64 4, %165 %167 = sub i64 %166, 2 %168 = trunc i64 %167 to i32 %169 = shl i32 1, %168 %170 = sub i32 %169, 1 %171 = add i32 %163, %170 br label %173 172: ; preds = %137 br label %173 173: ; preds = %172, %157 %174 = phi i32 [ %171, %157 ], [ -1, %172 ] %175 = load i32, ptr @CHAR_BIT, align 4 %176 = sext i32 %175 to i64 %177 = mul i64 4, %176 %178 = sub i64 %177, 2 %179 = trunc i64 %178 to i32 %180 = shl i32 1, %179 %181 = load i32, ptr @CHAR_BIT, align 4 %182 = sext i32 %181 to i64 %183 = mul i64 4, %182 %184 = sub i64 %183, 2 %185 = trunc i64 %184 to i32 %186 = shl i32 1, %185 %187 = sub i32 %186, 1 %188 = add i32 %180, %187 %189 = icmp ugt i32 %188, -1 br i1 %189, label %190, label %205 190: ; preds = %173 %191 = load i32, ptr @CHAR_BIT, align 4 %192 = sext i32 %191 to i64 %193 = mul i64 4, %192 %194 = sub i64 %193, 2 %195 = trunc i64 %194 to i32 %196 = shl i32 1, %195 %197 = load i32, ptr @CHAR_BIT, align 4 %198 = sext i32 %197 to i64 %199 = mul i64 4, %198 %200 = sub i64 %199, 2 %201 = trunc i64 %200 to i32 %202 = shl i32 1, %201 %203 = sub i32 %202, 1 %204 = add i32 %196, %203 br label %206 205: ; preds = %173 br label %206 206: ; preds = %205, %190 %207 = phi i32 [ %204, %190 ], [ -1, %205 ] %208 = sub i32 %174, %207 %209 = icmp ult i32 %141, %208 %210 = xor i1 %209, true %211 = zext i1 %210 to i32 %212 = call i32 @assert(i32 noundef %211) %213 = load i32, ptr @CHAR_BIT, align 4 %214 = sext i32 %213 to i64 %215 = mul i64 4, %214 %216 = sub i64 %215, 2 %217 = trunc i64 %216 to i32 %218 = shl i32 1, %217 %219 = load i32, ptr @CHAR_BIT, align 4 %220 = sext i32 %219 to i64 %221 = mul i64 4, %220 %222 = sub i64 %221, 2 %223 = trunc i64 %222 to i32 %224 = shl i32 1, %223 %225 = sub i32 %224, 1 %226 = add i32 %218, %225 %227 = sub i32 0, %226 %228 = sub i32 %227, 1 %229 = icmp ult i32 %228, 0 br i1 %229, label %230, label %247 230: ; preds = %206 %231 = load i32, ptr @CHAR_BIT, align 4 %232 = sext i32 %231 to i64 %233 = mul i64 4, %232 %234 = sub i64 %233, 2 %235 = trunc i64 %234 to i32 %236 = shl i32 1, %235 %237 = load i32, ptr @CHAR_BIT, align 4 %238 = sext i32 %237 to i64 %239 = mul i64 4, %238 %240 = sub i64 %239, 2 %241 = trunc i64 %240 to i32 %242 = shl i32 1, %241 %243 = sub i32 %242, 1 %244 = add i32 %236, %243 %245 = sub i32 0, %244 %246 = sub i32 %245, 1 br label %248 247: ; preds = %206 br label %248 248: ; preds = %247, %230 %249 = phi i32 [ %246, %230 ], [ 0, %247 ] %250 = load i32, ptr @CHAR_BIT, align 4 %251 = sext i32 %250 to i64 %252 = mul i64 4, %251 %253 = sub i64 %252, 2 %254 = trunc i64 %253 to i32 %255 = shl i32 1, %254 %256 = load i32, ptr @CHAR_BIT, align 4 %257 = sext i32 %256 to i64 %258 = mul i64 4, %257 %259 = sub i64 %258, 2 %260 = trunc i64 %259 to i32 %261 = shl i32 1, %260 %262 = sub i32 %261, 1 %263 = add i32 %255, %262 %264 = sub i32 0, %263 %265 = sub i32 %264, 1 %266 = icmp ult i32 %265, 0 br i1 %266, label %267, label %284 267: ; preds = %248 %268 = load i32, ptr @CHAR_BIT, align 4 %269 = sext i32 %268 to i64 %270 = mul i64 4, %269 %271 = sub i64 %270, 2 %272 = trunc i64 %271 to i32 %273 = shl i32 1, %272 %274 = load i32, ptr @CHAR_BIT, align 4 %275 = sext i32 %274 to i64 %276 = mul i64 4, %275 %277 = sub i64 %276, 2 %278 = trunc i64 %277 to i32 %279 = shl i32 1, %278 %280 = sub i32 %279, 1 %281 = add i32 %273, %280 %282 = sub i32 0, %281 %283 = sub i32 %282, 1 br label %285 284: ; preds = %248 br label %285 285: ; preds = %284, %267 %286 = phi i32 [ %283, %267 ], [ 0, %284 ] %287 = sub i32 %249, %286 %288 = load i32, ptr @CHAR_BIT, align 4 %289 = sext i32 %288 to i64 %290 = mul i64 4, %289 %291 = sub i64 %290, 2 %292 = trunc i64 %291 to i32 %293 = shl i32 1, %292 %294 = load i32, ptr @CHAR_BIT, align 4 %295 = sext i32 %294 to i64 %296 = mul i64 4, %295 %297 = sub i64 %296, 2 %298 = trunc i64 %297 to i32 %299 = shl i32 1, %298 %300 = sub i32 %299, 1 %301 = add i32 %293, %300 %302 = sub i32 0, %301 %303 = sub i32 %302, 1 %304 = icmp ult i32 %303, 0 br i1 %304, label %305, label %322 305: ; preds = %285 %306 = load i32, ptr @CHAR_BIT, align 4 %307 = sext i32 %306 to i64 %308 = mul i64 4, %307 %309 = sub i64 %308, 2 %310 = trunc i64 %309 to i32 %311 = shl i32 1, %310 %312 = load i32, ptr @CHAR_BIT, align 4 %313 = sext i32 %312 to i64 %314 = mul i64 4, %313 %315 = sub i64 %314, 2 %316 = trunc i64 %315 to i32 %317 = shl i32 1, %316 %318 = sub i32 %317, 1 %319 = add i32 %311, %318 %320 = sub i32 0, %319 %321 = sub i32 %320, 1 br label %323 322: ; preds = %285 br label %323 323: ; preds = %322, %305 %324 = phi i32 [ %321, %305 ], [ 0, %322 ] %325 = load i32, ptr @CHAR_BIT, align 4 %326 = sext i32 %325 to i64 %327 = mul i64 4, %326 %328 = sub i64 %327, 2 %329 = trunc i64 %328 to i32 %330 = shl i32 1, %329 %331 = load i32, ptr @CHAR_BIT, align 4 %332 = sext i32 %331 to i64 %333 = mul i64 4, %332 %334 = sub i64 %333, 2 %335 = trunc i64 %334 to i32 %336 = shl i32 1, %335 %337 = sub i32 %336, 1 %338 = add i32 %330, %337 %339 = sub i32 0, %338 %340 = sub i32 %339, 1 %341 = icmp ult i32 %340, 0 br i1 %341, label %342, label %359 342: ; preds = %323 %343 = load i32, ptr @CHAR_BIT, align 4 %344 = sext i32 %343 to i64 %345 = mul i64 4, %344 %346 = sub i64 %345, 2 %347 = trunc i64 %346 to i32 %348 = shl i32 1, %347 %349 = load i32, ptr @CHAR_BIT, align 4 %350 = sext i32 %349 to i64 %351 = mul i64 4, %350 %352 = sub i64 %351, 2 %353 = trunc i64 %352 to i32 %354 = shl i32 1, %353 %355 = sub i32 %354, 1 %356 = add i32 %348, %355 %357 = sub i32 0, %356 %358 = sub i32 %357, 1 br label %360 359: ; preds = %323 br label %360 360: ; preds = %359, %342 %361 = phi i32 [ %358, %342 ], [ 0, %359 ] %362 = sub i32 %324, %361 %363 = add i32 %362, 1 %364 = sub i32 %287, %363 %365 = load i32, ptr @CHAR_BIT, align 4 %366 = sext i32 %365 to i64 %367 = mul i64 4, %366 %368 = sub i64 %367, 2 %369 = trunc i64 %368 to i32 %370 = shl i32 1, %369 %371 = load i32, ptr @CHAR_BIT, align 4 %372 = sext i32 %371 to i64 %373 = mul i64 4, %372 %374 = sub i64 %373, 2 %375 = trunc i64 %374 to i32 %376 = shl i32 1, %375 %377 = sub i32 %376, 1 %378 = add i32 %370, %377 %379 = sub i32 0, %378 %380 = sub i32 %379, 1 %381 = icmp ult i32 %380, 0 br i1 %381, label %382, label %399 382: ; preds = %360 %383 = load i32, ptr @CHAR_BIT, align 4 %384 = sext i32 %383 to i64 %385 = mul i64 4, %384 %386 = sub i64 %385, 2 %387 = trunc i64 %386 to i32 %388 = shl i32 1, %387 %389 = load i32, ptr @CHAR_BIT, align 4 %390 = sext i32 %389 to i64 %391 = mul i64 4, %390 %392 = sub i64 %391, 2 %393 = trunc i64 %392 to i32 %394 = shl i32 1, %393 %395 = sub i32 %394, 1 %396 = add i32 %388, %395 %397 = sub i32 0, %396 %398 = sub i32 %397, 1 br label %400 399: ; preds = %360 br label %400 400: ; preds = %399, %382 %401 = phi i32 [ %398, %382 ], [ 0, %399 ] %402 = load i32, ptr @CHAR_BIT, align 4 %403 = sext i32 %402 to i64 %404 = mul i64 4, %403 %405 = sub i64 %404, 2 %406 = trunc i64 %405 to i32 %407 = shl i32 1, %406 %408 = load i32, ptr @CHAR_BIT, align 4 %409 = sext i32 %408 to i64 %410 = mul i64 4, %409 %411 = sub i64 %410, 2 %412 = trunc i64 %411 to i32 %413 = shl i32 1, %412 %414 = sub i32 %413, 1 %415 = add i32 %407, %414 %416 = sub i32 0, %415 %417 = sub i32 %416, 1 %418 = icmp ult i32 %417, 0 br i1 %418, label %419, label %436 419: ; preds = %400 %420 = load i32, ptr @CHAR_BIT, align 4 %421 = sext i32 %420 to i64 %422 = mul i64 4, %421 %423 = sub i64 %422, 2 %424 = trunc i64 %423 to i32 %425 = shl i32 1, %424 %426 = load i32, ptr @CHAR_BIT, align 4 %427 = sext i32 %426 to i64 %428 = mul i64 4, %427 %429 = sub i64 %428, 2 %430 = trunc i64 %429 to i32 %431 = shl i32 1, %430 %432 = sub i32 %431, 1 %433 = add i32 %425, %432 %434 = sub i32 0, %433 %435 = sub i32 %434, 1 br label %437 436: ; preds = %400 br label %437 437: ; preds = %436, %419 %438 = phi i32 [ %435, %419 ], [ 0, %436 ] %439 = sub i32 %401, %438 %440 = icmp ult i32 %364, %439 %441 = xor i1 %440, true %442 = zext i1 %441 to i32 %443 = call i32 @assert(i32 noundef %442) ret i32 1 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdl0433iy.c' source_filename = "/tmp/tmpdl0433iy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @glmComputeImpulse3d(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, ptr noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca [3 x double], align 16 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store double %5, ptr %12, align 8 %15 = load ptr, ptr %11, align 8 %16 = load ptr, ptr %11, align 8 %17 = call float @glmDotProduct3d(ptr noundef %15, ptr noundef %16) %18 = fpext float %17 to double store double %18, ptr %13, align 8 %19 = load double, ptr %9, align 8 %20 = load double, ptr %10, align 8 %21 = fadd double %19, %20 %22 = load double, ptr %13, align 8 %23 = fmul double %22, %21 store double %23, ptr %13, align 8 %24 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %8, align 8 %27 = call i32 @glmMakeVector3d(ptr noundef %24, ptr noundef %25, ptr noundef %26) %28 = load double, ptr %12, align 8 %29 = fadd double 1.000000e+00, %28 %30 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 %31 = load ptr, ptr %11, align 8 %32 = call float @glmDotProduct3d(ptr noundef %30, ptr noundef %31) %33 = fpext float %32 to double %34 = fmul double %29, %33 %35 = fneg double %34 %36 = load double, ptr %13, align 8 %37 = fdiv double %35, %36 %38 = fptrunc double %37 to float ret float %38 } declare float @glmDotProduct3d(ptr noundef, ptr noundef) #1 declare i32 @glmMakeVector3d(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/tmpdl0433iy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @glmComputeImpulse3d(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, ptr noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca [3 x double], align 16 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store double %5, ptr %12, align 8 %15 = load ptr, ptr %11, align 8 %16 = load ptr, ptr %11, align 8 %17 = call float @glmDotProduct3d(ptr noundef %15, ptr noundef %16) %18 = fpext float %17 to double store double %18, ptr %13, align 8 %19 = load double, ptr %9, align 8 %20 = load double, ptr %10, align 8 %21 = fadd double %19, %20 %22 = load double, ptr %13, align 8 %23 = fmul double %22, %21 store double %23, ptr %13, align 8 %24 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %8, align 8 %27 = call i32 @glmMakeVector3d(ptr noundef %24, ptr noundef %25, ptr noundef %26) %28 = load double, ptr %12, align 8 %29 = fadd double 1.000000e+00, %28 %30 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 %31 = load ptr, ptr %11, align 8 %32 = call float @glmDotProduct3d(ptr noundef %30, ptr noundef %31) %33 = fpext float %32 to double %34 = fmul double %29, %33 %35 = fneg double %34 %36 = load double, ptr %13, align 8 %37 = fdiv double %35, %36 %38 = fptrunc double %37 to float ret float %38 } declare float @glmDotProduct3d(ptr noundef, ptr noundef) #1 declare i32 @glmMakeVector3d(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/tmp0vmm02rs.c' source_filename = "/tmp/tmp0vmm02rs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pot(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr %5, align 8 store i64 1, ptr %6, align 8 br label %7 7: ; preds = %15, %2 %8 = load i64, ptr %6, align 8 %9 = load i64, ptr %4, align 8 %10 = icmp ule i64 %8, %9 br i1 %10, label %11, label %18 11: ; preds = %7 %12 = load i64, ptr %5, align 8 %13 = load i64, ptr %3, align 8 %14 = mul i64 %12, %13 store i64 %14, ptr %5, align 8 br label %15 15: ; preds = %11 %16 = load i64, ptr %6, align 8 %17 = add i64 %16, 1 store i64 %17, ptr %6, align 8 br label %7, !llvm.loop !6 18: ; preds = %7 %19 = load i64, ptr %5, align 8 ret i64 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0vmm02rs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pot(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr %5, align 8 store i64 1, ptr %6, align 8 %7 = load i64, ptr %6, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ule i64 %7, %8 br i1 %9, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %14 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %3, align 8 %13 = mul i64 %11, %12 store i64 %13, ptr %5, align 8 br label %14 14: ; preds = %10 %15 = load i64, ptr %6, align 8 %16 = add i64 %15, 1 store i64 %16, ptr %6, align 8 %17 = load i64, ptr %6, align 8 %18 = load i64, ptr %4, align 8 %19 = icmp ule i64 %17, %18 br i1 %19, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %2 %21 = load i64, ptr %5, align 8 ret i64 %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzr3c8wl9.c' source_filename = "/tmp/tmpzr3c8wl9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %8 8: ; preds = %12, %3 %9 = load i64, ptr %7, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %12, label %19 12: ; preds = %8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %4, align 8 store i64 %14, ptr %15, align 8 %17 = load i64, ptr %7, align 8 %18 = add i64 %17, 1 store i64 %18, ptr %7, align 8 br label %8, !llvm.loop !6 19: ; preds = %8 %20 = load ptr, ptr %4, align 8 ret ptr %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzr3c8wl9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %8 = load i64, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %.lr.ph, label %21 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %4, align 8 store i64 %13, ptr %14, align 8 %16 = load i64, ptr %7, align 8 %17 = add i64 %16, 1 store i64 %17, ptr %7, align 8 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %6, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %21 21: ; preds = %._crit_edge, %3 %22 = load ptr, ptr %4, align 8 ret ptr %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpo83jjjdh.c' source_filename = "/tmp/tmpo83jjjdh.c" target datalayout = "e-m:e-p270: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/tmpo83jjjdh.c" target datalayout = "e-m:e-p270: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/tmpqwc8cv_i.c' source_filename = "/tmp/tmpqwc8cv_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @round(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__nv_round(double noundef %3) ret double %4 } declare double @__nv_round(double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqwc8cv_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @round(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__nv_round(double noundef %3) ret double %4 } declare double @__nv_round(double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpezap42zy.c' source_filename = "/tmp/tmpezap42zy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_nss_hoof_gethostbyname_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 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 i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr @AF_INET, align 4 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load i64, ptr %10, align 8 %18 = load ptr, ptr %11, align 8 %19 = load ptr, ptr %12, align 8 %20 = call i32 @_nss_hoof_gethostbyname2_r(ptr noundef %13, i32 noundef %14, ptr noundef %15, ptr noundef %16, i64 noundef %17, ptr noundef %18, ptr noundef %19) ret i32 %20 } declare i32 @_nss_hoof_gethostbyname2_r(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 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/tmpezap42zy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_nss_hoof_gethostbyname_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 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 i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr @AF_INET, align 4 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load i64, ptr %10, align 8 %18 = load ptr, ptr %11, align 8 %19 = load ptr, ptr %12, align 8 %20 = call i32 @_nss_hoof_gethostbyname2_r(ptr noundef %13, i32 noundef %14, ptr noundef %15, ptr noundef %16, i64 noundef %17, ptr noundef %18, ptr noundef %19) ret i32 %20 } declare i32 @_nss_hoof_gethostbyname2_r(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 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/tmp25avayuh.c' source_filename = "/tmp/tmp25avayuh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Corbettn17 likes sushi and lasagna! \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @username() #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/tmp25avayuh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Corbettn17 likes sushi and lasagna! \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @username() #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/tmpq4q1f7mz.c' source_filename = "/tmp/tmpq4q1f7mz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @fmin(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call double @__nv_fmin(double noundef %5, double noundef %6) ret double %7 } declare double @__nv_fmin(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq4q1f7mz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @fmin(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call double @__nv_fmin(double noundef %5, double noundef %6) ret double %7 } declare double @__nv_fmin(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzjscdhlf.c' source_filename = "/tmp/tmpzjscdhlf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_palindrome(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %8 8: ; preds = %32, %1 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %5, align 4 %11 = sdiv i32 %10, 2 %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %35 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = sub nsw i32 %21, %22 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %20, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %19, %28 br i1 %29, label %30, label %31 30: ; preds = %13 store i32 0, ptr %2, align 4 br label %36 31: ; preds = %13 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 br label %8, !llvm.loop !6 35: ; preds = %8 store i32 1, ptr %2, align 4 br label %36 36: ; preds = %35, %30 %37 = load i32, ptr %2, align 4 ret i32 %37 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzjscdhlf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_palindrome(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = sdiv i32 %9, 2 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %31 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %20, %21 %23 = sub nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %19, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %18, %27 br i1 %28, label %29, label %30 29: ; preds = %12 store i32 0, ptr %2, align 4 br label %39 30: ; preds = %12 br label %31 31: ; preds = %30 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %5, align 4 %36 = sdiv i32 %35, 2 %37 = icmp slt i32 %34, %36 br i1 %37, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %38 38: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %39 39: ; preds = %38, %29 %40 = load i32, ptr %2, align 4 ret i32 %40 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppkrvbgxq.c' source_filename = "/tmp/tmppkrvbgxq.c" target datalayout = "e-m:e-p270: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/tmppkrvbgxq.c" target datalayout = "e-m:e-p270: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/tmp5kpcxgsv.c' source_filename = "/tmp/tmp5kpcxgsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5kpcxgsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxwbeq1nj.c' source_filename = "/tmp/tmpxwbeq1nj.c" target datalayout = "e-m:e-p270: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/tmpxwbeq1nj.c" target datalayout = "e-m:e-p270: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/tmpb7otemaf.c' source_filename = "/tmp/tmpb7otemaf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"file.txt\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"We are in 2012\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%s %s %s %d\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Read String1 |%s|\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Read String2 |%s|\0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"Read String3 |%s|\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Read Integer |%d|\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca [10 x i8], align 1 %4 = alloca [10 x i8], align 1 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %8) %10 = load ptr, ptr %6, align 8 %11 = call i32 @rewind(ptr noundef %10) %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %14 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %15 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %16 = call i32 @fscanf(ptr noundef %12, ptr noundef @.str.3, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %5) %17 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %17) %19 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %19) %21 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %21) %23 = load i32, ptr %5, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %23) %25 = load ptr, ptr %6, align 8 %26 = call i32 @fclose(ptr noundef %25) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmpb7otemaf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"file.txt\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"We are in 2012\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%s %s %s %d\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Read String1 |%s|\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Read String2 |%s|\0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"Read String3 |%s|\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Read Integer |%d|\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca [10 x i8], align 1 %4 = alloca [10 x i8], align 1 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %8) %10 = load ptr, ptr %6, align 8 %11 = call i32 @rewind(ptr noundef %10) %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %14 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %15 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %16 = call i32 @fscanf(ptr noundef %12, ptr noundef @.str.3, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %5) %17 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %17) %19 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %19) %21 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %21) %23 = load i32, ptr %5, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %23) %25 = load ptr, ptr %6, align 8 %26 = call i32 @fclose(ptr noundef %25) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmpd6y0jat5.c' source_filename = "/tmp/tmpd6y0jat5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aabcc\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"dbbca\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"aadbbcbcac\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"aadbbbaccc\00", align 1 @.str.4 = private unnamed_addr constant [60 x i8] c"abbbbbbcabbacaacccababaabcccabcacbcaabbbacccaaaaaababbbacbb\00", align 1 @.str.5 = private unnamed_addr constant [59 x i8] c"ccaacabbacaccacababbbbabbcacccacccccaabaababacbbacabbbbabc\00", align 1 @.str.6 = private unnamed_addr constant [118 x i8] c"cacbabbacbbbabcbaacbbaccacaacaacccabababbbababcccbabcabbaccabcccacccaabbcbcaccccaaaaabaaaaababbbbacbbabacbbacabbbbabc\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"aa\00", align 1 @.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"ab\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"abaa\00", align 1 @.str.11 = private unnamed_addr constant [101 x i8] c"bbbbbabbbbabaababaaaabbababbaaabbabbaaabaaaaababbbababbbbbabbbbababbabaabababbbaabababababbbaaababaa\00", align 1 @.str.12 = private unnamed_addr constant [101 x i8] c"babaaaabbababbbabbbbaabaabbaabbbbaabaaabaababaaaabaaabbaaabaaaabaabaabbbbbbbbbbbabaaabbababbabbabaab\00", align 1 @.str.13 = private unnamed_addr constant [201 x i8] c"babbbabbbaaabbababbbbababaabbabaabaaabbbbabbbaaabbbaaaaabbbbaabbaaabababbaaaaaabababbababaababbababbbababbbbaaaabaabbabbaaaaabbabbaaaabbbaabaaabaababaababbaaabbbbbabbbbaabbabaabbbbabaaabbababbabbabbab\00", align 1 @.str.14 = private unnamed_addr constant [57 x i8] c"cbcccbabbccbbcccbbbcabbbabcababbbbbbaccaccbabbaacbaabbbc\00", align 1 @.str.15 = private unnamed_addr constant [53 x i8] c"abcbbcaababccacbaaaccbabaabbaaabcbababbcccbbabbbcbbb\00", align 1 @.str.16 = private unnamed_addr constant [109 x i8] c"abcbcccbacbbbbccbcbcacacbbbbacabbbabbcacbcaabcbaaacbcbbbabbbaacacbbaaaabccbcbaabbbaaabbcccbcbabababbbcbbbcbb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %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 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 store ptr @.str.2, ptr %3, align 8 store ptr @.str.3, ptr %4, align 8 store ptr @.str.4, ptr %5, align 8 store ptr @.str.5, ptr %6, align 8 store ptr @.str.6, ptr %7, align 8 %14 = call i32 @isInterleave(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.7) %15 = icmp eq i32 %14, 1 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = call i32 @isInterleaveRecursive(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.7) %19 = icmp eq i32 %18, 1 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = call i32 @isInterleave(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.9) %23 = icmp eq i32 %22, 1 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = call i32 @isInterleaveRecursive(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.9) %27 = icmp eq i32 %26, 1 %28 = zext i1 %27 to i32 %29 = call i32 @assert(i32 noundef %28) %30 = call i32 @isInterleave(ptr noundef @.str.7, ptr noundef @.str.9, ptr noundef @.str.10) %31 = icmp eq i32 %30, 1 %32 = zext i1 %31 to i32 %33 = call i32 @assert(i32 noundef %32) %34 = call i32 @isInterleaveRecursive(ptr noundef @.str.7, ptr noundef @.str.9, ptr noundef @.str.10) %35 = icmp eq i32 %34, 1 %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) %38 = call i32 @isInterleave(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %39 = icmp eq i32 %38, 1 %40 = zext i1 %39 to i32 %41 = call i32 @assert(i32 noundef %40) %42 = call i32 @isInterleaveRecursive(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %43 = icmp eq i32 %42, 1 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = call i32 @isInterleave(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.3) %47 = icmp eq i32 %46, 0 %48 = zext i1 %47 to i32 %49 = call i32 @assert(i32 noundef %48) %50 = load ptr, ptr %5, align 8 %51 = load ptr, ptr %6, align 8 %52 = load ptr, ptr %7, align 8 %53 = call i32 @isInterleave(ptr noundef %50, ptr noundef %51, ptr noundef %52) %54 = icmp eq i32 %53, 1 %55 = zext i1 %54 to i32 %56 = call i32 @assert(i32 noundef %55) store ptr @.str.11, ptr %8, align 8 store ptr @.str.12, ptr %9, align 8 store ptr @.str.13, ptr %10, align 8 %57 = load ptr, ptr %8, align 8 %58 = load ptr, ptr %9, align 8 %59 = load ptr, ptr %10, align 8 %60 = call i32 @isInterleave(ptr noundef %57, ptr noundef %58, ptr noundef %59) %61 = icmp eq i32 %60, 0 %62 = zext i1 %61 to i32 %63 = call i32 @assert(i32 noundef %62) store ptr @.str.14, ptr %11, align 8 store ptr @.str.15, ptr %12, align 8 store ptr @.str.16, ptr %13, align 8 %64 = load ptr, ptr %11, align 8 %65 = load ptr, ptr %12, align 8 %66 = load ptr, ptr %13, align 8 %67 = call i32 @isInterleave(ptr noundef %64, ptr noundef %65, ptr noundef %66) %68 = icmp eq i32 %67, 1 %69 = zext i1 %68 to i32 %70 = call i32 @assert(i32 noundef %69) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @isInterleave(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @isInterleaveRecursive(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/tmpd6y0jat5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aabcc\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"dbbca\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"aadbbcbcac\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"aadbbbaccc\00", align 1 @.str.4 = private unnamed_addr constant [60 x i8] c"abbbbbbcabbacaacccababaabcccabcacbcaabbbacccaaaaaababbbacbb\00", align 1 @.str.5 = private unnamed_addr constant [59 x i8] c"ccaacabbacaccacababbbbabbcacccacccccaabaababacbbacabbbbabc\00", align 1 @.str.6 = private unnamed_addr constant [118 x i8] c"cacbabbacbbbabcbaacbbaccacaacaacccabababbbababcccbabcabbaccabcccacccaabbcbcaccccaaaaabaaaaababbbbacbbabacbbacabbbbabc\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"aa\00", align 1 @.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"ab\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"abaa\00", align 1 @.str.11 = private unnamed_addr constant [101 x i8] c"bbbbbabbbbabaababaaaabbababbaaabbabbaaabaaaaababbbababbbbbabbbbababbabaabababbbaabababababbbaaababaa\00", align 1 @.str.12 = private unnamed_addr constant [101 x i8] c"babaaaabbababbbabbbbaabaabbaabbbbaabaaabaababaaaabaaabbaaabaaaabaabaabbbbbbbbbbbabaaabbababbabbabaab\00", align 1 @.str.13 = private unnamed_addr constant [201 x i8] c"babbbabbbaaabbababbbbababaabbabaabaaabbbbabbbaaabbbaaaaabbbbaabbaaabababbaaaaaabababbababaababbababbbababbbbaaaabaabbabbaaaaabbabbaaaabbbaabaaabaababaababbaaabbbbbabbbbaabbabaabbbbabaaabbababbabbabbab\00", align 1 @.str.14 = private unnamed_addr constant [57 x i8] c"cbcccbabbccbbcccbbbcabbbabcababbbbbbaccaccbabbaacbaabbbc\00", align 1 @.str.15 = private unnamed_addr constant [53 x i8] c"abcbbcaababccacbaaaccbabaabbaaabcbababbcccbbabbbcbbb\00", align 1 @.str.16 = private unnamed_addr constant [109 x i8] c"abcbcccbacbbbbccbcbcacacbbbbacabbbabbcacbcaabcbaaacbcbbbabbbaacacbbaaaabccbcbaabbbaaabbcccbcbabababbbcbbbcbb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %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 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 store ptr @.str.2, ptr %3, align 8 store ptr @.str.3, ptr %4, align 8 store ptr @.str.4, ptr %5, align 8 store ptr @.str.5, ptr %6, align 8 store ptr @.str.6, ptr %7, align 8 %14 = call i32 @isInterleave(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.7) %15 = icmp eq i32 %14, 1 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = call i32 @isInterleaveRecursive(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.7) %19 = icmp eq i32 %18, 1 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = call i32 @isInterleave(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.9) %23 = icmp eq i32 %22, 1 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = call i32 @isInterleaveRecursive(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.9) %27 = icmp eq i32 %26, 1 %28 = zext i1 %27 to i32 %29 = call i32 @assert(i32 noundef %28) %30 = call i32 @isInterleave(ptr noundef @.str.7, ptr noundef @.str.9, ptr noundef @.str.10) %31 = icmp eq i32 %30, 1 %32 = zext i1 %31 to i32 %33 = call i32 @assert(i32 noundef %32) %34 = call i32 @isInterleaveRecursive(ptr noundef @.str.7, ptr noundef @.str.9, ptr noundef @.str.10) %35 = icmp eq i32 %34, 1 %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) %38 = call i32 @isInterleave(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %39 = icmp eq i32 %38, 1 %40 = zext i1 %39 to i32 %41 = call i32 @assert(i32 noundef %40) %42 = call i32 @isInterleaveRecursive(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %43 = icmp eq i32 %42, 1 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = call i32 @isInterleave(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.3) %47 = icmp eq i32 %46, 0 %48 = zext i1 %47 to i32 %49 = call i32 @assert(i32 noundef %48) %50 = load ptr, ptr %5, align 8 %51 = load ptr, ptr %6, align 8 %52 = load ptr, ptr %7, align 8 %53 = call i32 @isInterleave(ptr noundef %50, ptr noundef %51, ptr noundef %52) %54 = icmp eq i32 %53, 1 %55 = zext i1 %54 to i32 %56 = call i32 @assert(i32 noundef %55) store ptr @.str.11, ptr %8, align 8 store ptr @.str.12, ptr %9, align 8 store ptr @.str.13, ptr %10, align 8 %57 = load ptr, ptr %8, align 8 %58 = load ptr, ptr %9, align 8 %59 = load ptr, ptr %10, align 8 %60 = call i32 @isInterleave(ptr noundef %57, ptr noundef %58, ptr noundef %59) %61 = icmp eq i32 %60, 0 %62 = zext i1 %61 to i32 %63 = call i32 @assert(i32 noundef %62) store ptr @.str.14, ptr %11, align 8 store ptr @.str.15, ptr %12, align 8 store ptr @.str.16, ptr %13, align 8 %64 = load ptr, ptr %11, align 8 %65 = load ptr, ptr %12, align 8 %66 = load ptr, ptr %13, align 8 %67 = call i32 @isInterleave(ptr noundef %64, ptr noundef %65, ptr noundef %66) %68 = icmp eq i32 %67, 1 %69 = zext i1 %68 to i32 %70 = call i32 @assert(i32 noundef %69) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @isInterleave(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @isInterleaveRecursive(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/tmp6a04yb0i.c' source_filename = "/tmp/tmp6a04yb0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mystrdup(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 i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 1 %7 = call ptr @mymalloc(i64 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9) %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @mymalloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6a04yb0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mystrdup(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 i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 1 %7 = call ptr @mymalloc(i64 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9) %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @mymalloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz9oirv_a.c' source_filename = "/tmp/tmpz9oirv_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Factorizacion en primo de p = \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init() #0 { %1 = alloca i64, align 8 br label %2 2: ; preds = %10, %0 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %4 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %5 = load i64, ptr %1, align 8 %6 = call i32 @factorizacionPrimo(i64 noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = load i32, ptr @stdin, align 4 %9 = call i32 @fflush(i32 noundef %8) br label %10 10: ; preds = %2 %11 = load i64, ptr %1, align 8 %12 = load i64, ptr @EOF, align 8 %13 = icmp ne i64 %11, %12 br i1 %13, label %2, label %14, !llvm.loop !6 14: ; preds = %10 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @factorizacionPrimo(i64 noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz9oirv_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Factorizacion en primo de p = \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init() #0 { %1 = alloca i64, align 8 br label %2 2: ; preds = %10, %0 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %4 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %5 = load i64, ptr %1, align 8 %6 = call i32 @factorizacionPrimo(i64 noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = load i32, ptr @stdin, align 4 %9 = call i32 @fflush(i32 noundef %8) br label %10 10: ; preds = %2 %11 = load i64, ptr %1, align 8 %12 = load i64, ptr @EOF, align 8 %13 = icmp ne i64 %11, %12 br i1 %13, label %2, label %14, !llvm.loop !6 14: ; preds = %10 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @factorizacionPrimo(i64 noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9xmx0qnj.c' source_filename = "/tmp/tmp9xmx0qnj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_match(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load ptr, ptr %5, align 8 %9 = call i32 @assert(ptr noundef %8) br label %10 10: ; preds = %43, %2 %11 = load ptr, ptr %5, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 42, %13 br i1 %14, label %15, label %48 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 0, %18 br i1 %19, label %20, label %26 20: ; preds = %15 %21 = load ptr, ptr %5, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 0, %23 %25 = zext i1 %24 to i32 store i32 %25, ptr %3, align 4 br label %73 26: ; preds = %15 %27 = load ptr, ptr %4, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = call i64 @internal_to_upper(i32 noundef %29) %31 = load ptr, ptr %5, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = call i64 @internal_to_upper(i32 noundef %33) %35 = icmp ne i64 %30, %34 br i1 %35, label %36, label %42 36: ; preds = %26 %37 = load ptr, ptr %5, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 63, %39 br i1 %40, label %41, label %42 41: ; preds = %36 store i32 0, ptr %3, align 4 br label %73 42: ; preds = %36, %26 br label %43 43: ; preds = %42 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %5, align 8 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %4, align 8 br label %10, !llvm.loop !6 48: ; preds = %10 br label %49 49: ; preds = %55, %48 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 1 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 42, %53 br i1 %54, label %55, label %58 55: ; preds = %49 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %5, align 8 br label %49, !llvm.loop !8 58: ; preds = %49 br label %59 59: ; preds = %67, %58 %60 = load ptr, ptr %4, align 8 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 1 %63 = call i32 @trio_match(ptr noundef %60, ptr noundef %62) %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %66 65: ; preds = %59 store i32 1, ptr %3, align 4 br label %73 66: ; preds = %59 br label %67 67: ; preds = %66 %68 = load ptr, ptr %4, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 1 store ptr %69, ptr %4, align 8 %70 = load i8, ptr %68, align 1 %71 = icmp ne i8 %70, 0 br i1 %71, label %59, label %72, !llvm.loop !9 72: ; preds = %67 store i32 0, ptr %3, align 4 br label %73 73: ; preds = %72, %65, %41, %20 %74 = load i32, ptr %3, align 4 ret i32 %74 } declare i32 @assert(ptr noundef) #1 declare i64 @internal_to_upper(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/tmp9xmx0qnj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_match(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load ptr, ptr %5, align 8 %9 = call i32 @assert(ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 42, %12 br i1 %13, label %.lr.ph, label %51 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %42 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 0, %17 br i1 %18, label %19, label %25 19: ; preds = %14 %20 = load ptr, ptr %5, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 0, %22 %24 = zext i1 %23 to i32 store i32 %24, ptr %3, align 4 br label %80 25: ; preds = %14 %26 = load ptr, ptr %4, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = call i64 @internal_to_upper(i32 noundef %28) %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = call i64 @internal_to_upper(i32 noundef %32) %34 = icmp ne i64 %29, %33 br i1 %34, label %35, label %41 35: ; preds = %25 %36 = load ptr, ptr %5, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 63, %38 br i1 %39, label %40, label %41 40: ; preds = %35 store i32 0, ptr %3, align 4 br label %80 41: ; preds = %35, %25 br label %42 42: ; preds = %41 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %5, align 8 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %4, align 8 %47 = load ptr, ptr %5, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 42, %49 br i1 %50, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %51 51: ; preds = %._crit_edge, %2 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 1 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 42, %55 br i1 %56, label %.lr.ph2, label %65 .lr.ph2: ; preds = %51 br label %57 57: ; preds = %.lr.ph2, %57 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr %5, align 8 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 1 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 42, %63 br i1 %64, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %65 65: ; preds = %._crit_edge3, %51 br label %66 66: ; preds = %74, %65 %67 = load ptr, ptr %4, align 8 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 1 %70 = call i32 @trio_match(ptr noundef %67, ptr noundef %69) %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %66 store i32 1, ptr %3, align 4 br label %80 73: ; preds = %66 br label %74 74: ; preds = %73 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i8, ptr %75, i32 1 store ptr %76, ptr %4, align 8 %77 = load i8, ptr %75, align 1 %78 = icmp ne i8 %77, 0 br i1 %78, label %66, label %79, !llvm.loop !9 79: ; preds = %74 store i32 0, ptr %3, align 4 br label %80 80: ; preds = %79, %72, %40, %19 %81 = load i32, ptr %3, align 4 ret i32 %81 } declare i32 @assert(ptr noundef) #1 declare i64 @internal_to_upper(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/tmpewqsf4a5.c' source_filename = "/tmp/tmpewqsf4a5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Fork failed!\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Child (%ld): \00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Parent (%ld): \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Count = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Child (%ld) exiting...\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Parent (%ld) exiting...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @fork() store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %44 14: ; preds = %2 store i32 20, ptr %8, align 4 store i32 1, ptr %7, align 4 br label %15 15: ; preds = %31, %14 %16 = load i32, ptr %7, align 4 %17 = icmp sle i32 %16, 20 br i1 %17, label %18, label %34 18: ; preds = %15 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = call i64 (...) @getpid() %23 = call i32 @printf(ptr noundef @.str.1, i64 noundef %22) br label %27 24: ; preds = %18 %25 = call i64 (...) @getpid() %26 = call i32 @printf(ptr noundef @.str.2, i64 noundef %25) br label %27 27: ; preds = %24, %21 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = call i32 @printf(ptr noundef @.str.3, i64 noundef %29) br label %31 31: ; preds = %27 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %15, !llvm.loop !6 34: ; preds = %15 %35 = load i32, ptr %6, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = call i64 (...) @getpid() %39 = call i32 @printf(ptr noundef @.str.4, i64 noundef %38) br label %43 40: ; preds = %34 %41 = call i64 (...) @getpid() %42 = call i32 @printf(ptr noundef @.str.5, i64 noundef %41) br label %43 43: ; preds = %40, %37 store i32 0, ptr %3, align 4 br label %44 44: ; preds = %43, %12 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i64 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpewqsf4a5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Fork failed!\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Child (%ld): \00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Parent (%ld): \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"Count = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Child (%ld) exiting...\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Parent (%ld) exiting...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @fork() store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %45 14: ; preds = %2 store i32 20, ptr %8, align 4 store i32 1, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp sle i32 %15, 20 br i1 %16, label %.lr.ph, label %35 .lr.ph: ; preds = %14 br label %17 17: ; preds = %.lr.ph, %30 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = call i64 (...) @getpid() %22 = call i32 @printf(ptr noundef @.str.1, i64 noundef %21) br label %26 23: ; preds = %17 %24 = call i64 (...) @getpid() %25 = call i32 @printf(ptr noundef @.str.2, i64 noundef %24) br label %26 26: ; preds = %23, %20 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = call i32 @printf(ptr noundef @.str.3, i64 noundef %28) br label %30 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp sle i32 %33, 20 br i1 %34, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %35 35: ; preds = %._crit_edge, %14 %36 = load i32, ptr %6, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = call i64 (...) @getpid() %40 = call i32 @printf(ptr noundef @.str.4, i64 noundef %39) br label %44 41: ; preds = %35 %42 = call i64 (...) @getpid() %43 = call i32 @printf(ptr noundef @.str.5, i64 noundef %42) br label %44 44: ; preds = %41, %38 store i32 0, ptr %3, align 4 br label %45 45: ; preds = %44, %12 %46 = load i32, ptr %3, align 4 ret i32 %46 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i64 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxglsqnvc.c' source_filename = "/tmp/tmpxglsqnvc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_NOFOLLOW = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @O_WRONLY = 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/tmpxglsqnvc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_NOFOLLOW = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @O_WRONLY = 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/tmpw5jmss44.c' source_filename = "/tmp/tmpw5jmss44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Geben Sie den Vektor u ein \0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Geben Sie den Vektor v ein \0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x double], align 16 %3 = alloca [3 x double], align 16 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca [3 x double], align 16 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %10 10: ; preds = %18, %0 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %13, label %21 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 %15 %17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %16) br label %18 18: ; preds = %13 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %10, !llvm.loop !6 21: ; preds = %10 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %4, align 4 br label %23 23: ; preds = %31, %21 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 3 br i1 %25, label %26, label %34 26: ; preds = %23 %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 %28 %30 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %29) br label %31 31: ; preds = %26 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 br label %23, !llvm.loop !8 34: ; preds = %23 %35 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 1 %36 = load double, ptr %35, align 8 %37 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 2 %38 = load double, ptr %37, align 16 %39 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 2 %40 = load double, ptr %39, align 16 %41 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 1 %42 = load double, ptr %41, align 8 %43 = fmul double %40, %42 %44 = fneg double %43 %45 = call double @llvm.fmuladd.f64(double %36, double %38, double %44) store double %45, ptr %5, align 8 %46 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 2 %47 = load double, ptr %46, align 16 %48 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 0 %49 = load double, ptr %48, align 16 %50 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 0 %51 = load double, ptr %50, align 16 %52 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 2 %53 = load double, ptr %52, align 16 %54 = fmul double %51, %53 %55 = fneg double %54 %56 = call double @llvm.fmuladd.f64(double %47, double %49, double %55) store double %56, ptr %6, align 8 %57 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 0 %58 = load double, ptr %57, align 16 %59 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 1 %60 = load double, ptr %59, align 8 %61 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 1 %62 = load double, ptr %61, align 8 %63 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 0 %64 = load double, ptr %63, align 16 %65 = fmul double %62, %64 %66 = fneg double %65 %67 = call double @llvm.fmuladd.f64(double %58, double %60, double %66) store double %67, ptr %7, align 8 %68 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0 %69 = load double, ptr %5, align 8 store double %69, ptr %68, align 8 %70 = getelementptr inbounds double, ptr %68, i64 1 %71 = load double, ptr %6, align 8 store double %71, ptr %70, align 8 %72 = getelementptr inbounds double, ptr %70, i64 1 %73 = load double, ptr %7, align 8 store double %73, ptr %72, align 8 store i32 0, ptr %4, align 4 br label %74 74: ; preds = %83, %34 %75 = load i32, ptr %4, align 4 %76 = icmp slt i32 %75, 3 br i1 %76, label %77, label %86 77: ; preds = %74 %78 = load i32, ptr %4, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %79 %81 = load double, ptr %80, align 8 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %81) br label %83 83: ; preds = %77 %84 = load i32, ptr %4, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %4, align 4 br label %74, !llvm.loop !9 86: ; preds = %74 %87 = load i32, ptr %1, align 4 ret i32 %87 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw5jmss44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Geben Sie den Vektor u ein \0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Geben Sie den Vektor v ein \0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x double], align 16 %3 = alloca [3 x double], align 16 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca [3 x double], align 16 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %17 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 %14 %16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 3 br i1 %25, label %.lr.ph2, label %36 .lr.ph2: ; preds = %22 br label %26 26: ; preds = %.lr.ph2, %31 %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 %28 %30 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %29) br label %31 31: ; preds = %26 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %34, 3 br i1 %35, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %36 36: ; preds = %._crit_edge3, %22 %37 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 1 %38 = load double, ptr %37, align 8 %39 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 2 %40 = load double, ptr %39, align 16 %41 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 2 %42 = load double, ptr %41, align 16 %43 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 1 %44 = load double, ptr %43, align 8 %45 = fmul double %42, %44 %46 = fneg double %45 %47 = call double @llvm.fmuladd.f64(double %38, double %40, double %46) store double %47, ptr %5, align 8 %48 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 2 %49 = load double, ptr %48, align 16 %50 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 0 %51 = load double, ptr %50, align 16 %52 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 0 %53 = load double, ptr %52, align 16 %54 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 2 %55 = load double, ptr %54, align 16 %56 = fmul double %53, %55 %57 = fneg double %56 %58 = call double @llvm.fmuladd.f64(double %49, double %51, double %57) store double %58, ptr %6, align 8 %59 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 0 %60 = load double, ptr %59, align 16 %61 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 1 %62 = load double, ptr %61, align 8 %63 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 1 %64 = load double, ptr %63, align 8 %65 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 0 %66 = load double, ptr %65, align 16 %67 = fmul double %64, %66 %68 = fneg double %67 %69 = call double @llvm.fmuladd.f64(double %60, double %62, double %68) store double %69, ptr %7, align 8 %70 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0 %71 = load double, ptr %5, align 8 store double %71, ptr %70, align 8 %72 = getelementptr inbounds double, ptr %70, i64 1 %73 = load double, ptr %6, align 8 store double %73, ptr %72, align 8 %74 = getelementptr inbounds double, ptr %72, i64 1 %75 = load double, ptr %7, align 8 store double %75, ptr %74, align 8 store i32 0, ptr %4, align 4 %76 = load i32, ptr %4, align 4 %77 = icmp slt i32 %76, 3 br i1 %77, label %.lr.ph5, label %89 .lr.ph5: ; preds = %36 br label %78 78: ; preds = %.lr.ph5, %84 %79 = load i32, ptr %4, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %80 %82 = load double, ptr %81, align 8 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %82) br label %84 84: ; preds = %78 %85 = load i32, ptr %4, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %4, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp slt i32 %87, 3 br i1 %88, label %78, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %84 br label %89 89: ; preds = %._crit_edge6, %36 %90 = load i32, ptr %1, align 4 ret i32 %90 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpnqeb12mk.c' source_filename = "/tmp/tmpnqeb12mk.c" target datalayout = "e-m:e-p270: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/tmpnqeb12mk.c" target datalayout = "e-m:e-p270: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/tmpkipzpytf.c' source_filename = "/tmp/tmpkipzpytf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkipzpytf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqt3gx2b4.c' source_filename = "/tmp/tmpqt3gx2b4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isupper.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0xda\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isupper_0xda() #0 { %1 = call i64 @isupper(i32 noundef 218) %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 1095, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isupper(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/tmpqt3gx2b4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isupper.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0xda\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isupper_0xda() #0 { %1 = call i64 @isupper(i32 noundef 218) %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 1095, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isupper(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/tmpuoma1jp5.c' source_filename = "/tmp/tmpuoma1jp5.c" target datalayout = "e-m:e-p270: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 [84 x i8] c"Usage: 'tsmodder input.ts [b:buffer_size] +0 pat.ts +pid pmt.ts +pid nit.ts ... '\0A\00", align 1 @.str.1 = private unnamed_addr constant [80 x i8] c"'+pid file.ts' change the packets with 'pid' with the packets from the file.ts\0A\00", align 1 @.str.2 = private unnamed_addr constant [80 x i8] c"'b:buffer_size' set size of the internal buffer to many packets as buffer_size\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) ret void } declare i32 @fprintf(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/tmpuoma1jp5.c" target datalayout = "e-m:e-p270: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 [84 x i8] c"Usage: 'tsmodder input.ts [b:buffer_size] +0 pat.ts +pid pmt.ts +pid nit.ts ... '\0A\00", align 1 @.str.1 = private unnamed_addr constant [80 x i8] c"'+pid file.ts' change the packets with 'pid' with the packets from the file.ts\0A\00", align 1 @.str.2 = private unnamed_addr constant [80 x i8] c"'b:buffer_size' set size of the internal buffer to many packets as buffer_size\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) ret void } declare i32 @fprintf(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/tmpzva50ey7.c' source_filename = "/tmp/tmpzva50ey7.c" target datalayout = "e-m:e-p270: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 [32 x i8] c"Can't mark packet; too small :/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mark_packet(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp sgt i32 %5, 13 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 13 store i8 90, ptr %9, align 1 br label %14 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %7 ret void } declare i32 @fprintf(i32 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/tmpzva50ey7.c" target datalayout = "e-m:e-p270: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 [32 x i8] c"Can't mark packet; too small :/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mark_packet(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp sgt i32 %5, 13 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 13 store i8 90, ptr %9, align 1 br label %14 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %7 ret void } declare i32 @fprintf(i32 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/tmpa3lkg9xp.c' source_filename = "/tmp/tmpa3lkg9xp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ybfasm (experimental)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } 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/tmpa3lkg9xp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ybfasm (experimental)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } 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/tmpcqf2j8rs.c' source_filename = "/tmp/tmpcqf2j8rs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkarglimit(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %12 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 (...) @Usage() br label %48 12: ; preds = %7, %2 %13 = load i32, ptr %3, align 4 %14 = icmp eq i32 %13, 2 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 3 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = call i32 (...) @Usage() br label %47 20: ; preds = %15, %12 %21 = load i32, ptr %3, align 4 %22 = icmp eq i32 %21, 3 br i1 %22, label %23, label %28 23: ; preds = %20 %24 = load i32, ptr %4, align 4 %25 = icmp ne i32 %24, 4 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 (...) @Usage() br label %46 28: ; preds = %23, %20 %29 = load i32, ptr %3, align 4 %30 = icmp eq i32 %29, 4 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load i32, ptr %4, align 4 %33 = icmp ne i32 %32, 5 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 (...) @Usage() br label %45 36: ; preds = %31, %28 %37 = load i32, ptr %3, align 4 %38 = icmp eq i32 %37, 5 br i1 %38, label %39, label %44 39: ; preds = %36 %40 = load i32, ptr %4, align 4 %41 = icmp ne i32 %40, 4 br i1 %41, label %42, label %44 42: ; preds = %39 %43 = call i32 (...) @Usage() br label %44 44: ; preds = %42, %39, %36 br label %45 45: ; preds = %44, %34 br label %46 46: ; preds = %45, %26 br label %47 47: ; preds = %46, %18 br label %48 48: ; preds = %47, %10 ret void } declare i32 @Usage(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcqf2j8rs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkarglimit(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %12 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 (...) @Usage() br label %48 12: ; preds = %7, %2 %13 = load i32, ptr %3, align 4 %14 = icmp eq i32 %13, 2 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 3 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = call i32 (...) @Usage() br label %47 20: ; preds = %15, %12 %21 = load i32, ptr %3, align 4 %22 = icmp eq i32 %21, 3 br i1 %22, label %23, label %28 23: ; preds = %20 %24 = load i32, ptr %4, align 4 %25 = icmp ne i32 %24, 4 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 (...) @Usage() br label %46 28: ; preds = %23, %20 %29 = load i32, ptr %3, align 4 %30 = icmp eq i32 %29, 4 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load i32, ptr %4, align 4 %33 = icmp ne i32 %32, 5 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 (...) @Usage() br label %45 36: ; preds = %31, %28 %37 = load i32, ptr %3, align 4 %38 = icmp eq i32 %37, 5 br i1 %38, label %39, label %44 39: ; preds = %36 %40 = load i32, ptr %4, align 4 %41 = icmp ne i32 %40, 4 br i1 %41, label %42, label %44 42: ; preds = %39 %43 = call i32 (...) @Usage() br label %44 44: ; preds = %42, %39, %36 br label %45 45: ; preds = %44, %34 br label %46 46: ; preds = %45, %26 br label %47 47: ; preds = %46, %18 br label %48 48: ; preds = %47, %10 ret void } declare i32 @Usage(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1lsf8uiq.c' source_filename = "/tmp/tmp1lsf8uiq.c" target datalayout = "e-m:e-p270: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/tmp1lsf8uiq.c" target datalayout = "e-m:e-p270: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/tmp43_uqm__.c' source_filename = "/tmp/tmp43_uqm__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dstinv(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = load ptr, ptr %10, align 8 %16 = load ptr, ptr %13, align 8 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %11, align 8 %19 = load ptr, ptr %14, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %12, align 8 %22 = call i32 @E0000(i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21) ret void } declare i32 @E0000(i32 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) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp43_uqm__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dstinv(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = load ptr, ptr %10, align 8 %16 = load ptr, ptr %13, align 8 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %11, align 8 %19 = load ptr, ptr %14, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %12, align 8 %22 = call i32 @E0000(i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21) ret void } declare i32 @E0000(i32 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) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe24op3se.c' source_filename = "/tmp/tmpe24op3se.c" target datalayout = "e-m:e-p270: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/tmpe24op3se.c" target datalayout = "e-m:e-p270: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/tmp2opdroy3.c' source_filename = "/tmp/tmp2opdroy3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"datadir\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"/lib\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"modulename\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"altfiles\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @usage(ptr noundef %11) store i32 %12, ptr %3, align 4 br label %40 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %22, label %16 16: ; preds = %13 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %16, %13 %23 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2) br label %38 24: ; preds = %16 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.3) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %24 %31 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.4) br label %37 32: ; preds = %24 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 0 %35 = load ptr, ptr %34, align 8 %36 = call i32 @usage(ptr noundef %35) store i32 %36, ptr %3, align 4 br label %40 37: ; preds = %30 br label %38 38: ; preds = %37, %22 %39 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %39, ptr %3, align 4 br label %40 40: ; preds = %38, %32, %8 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @usage(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr 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/tmp2opdroy3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"datadir\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"/lib\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"modulename\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"altfiles\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @usage(ptr noundef %11) store i32 %12, ptr %3, align 4 br label %40 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %22, label %16 16: ; preds = %13 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %16, %13 %23 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2) br label %38 24: ; preds = %16 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.3) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %24 %31 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.4) br label %37 32: ; preds = %24 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 0 %35 = load ptr, ptr %34, align 8 %36 = call i32 @usage(ptr noundef %35) store i32 %36, ptr %3, align 4 br label %40 37: ; preds = %30 br label %38 38: ; preds = %37, %22 %39 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %39, ptr %3, align 4 br label %40 40: ; preds = %38, %32, %8 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @usage(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr 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/tmpk9ph36m0.c' source_filename = "/tmp/tmpk9ph36m0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PWM_ISR_5() #0 { %1 = call i32 @readPWM(i32 noundef 5) ret void } declare i32 @readPWM(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/tmpk9ph36m0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PWM_ISR_5() #0 { %1 = call i32 @readPWM(i32 noundef 5) ret void } declare i32 @readPWM(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/tmp5tyzqjfh.c' source_filename = "/tmp/tmp5tyzqjfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"errno: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @pthread_mutex_init(ptr noundef %1, ptr noundef null) %4 = call i32 @pthread_mutex_lock(ptr noundef %1) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call ptr @strerror(i32 noundef %5) %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) ret i32 0 } declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) #1 declare i32 @pthread_mutex_lock(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @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/tmp5tyzqjfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"errno: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @pthread_mutex_init(ptr noundef %1, ptr noundef null) %4 = call i32 @pthread_mutex_lock(ptr noundef %1) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call ptr @strerror(i32 noundef %5) %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) ret i32 0 } declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) #1 declare i32 @pthread_mutex_lock(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @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/tmp_zkfe5vk.c' source_filename = "/tmp/tmp_zkfe5vk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_zkfe5vk.c" target datalayout = "e-m:e-p270: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/tmplm4n6clb.c' source_filename = "/tmp/tmplm4n6clb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nrf_802154_rssi_cca_ed_threshold_corrected_get(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i64 (...) @nrf_802154_rssi_sample_temp_corr_value_get() %5 = sub nsw i64 %3, %4 ret i64 %5 } declare i64 @nrf_802154_rssi_sample_temp_corr_value_get(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplm4n6clb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nrf_802154_rssi_cca_ed_threshold_corrected_get(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i64 (...) @nrf_802154_rssi_sample_temp_corr_value_get() %5 = sub nsw i64 %3, %4 ret i64 %5 } declare i64 @nrf_802154_rssi_sample_temp_corr_value_get(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaujie9tv.c' source_filename = "/tmp/tmpaujie9tv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"in the string '%s'.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showBadNumeralStringMessage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) 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/tmpaujie9tv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"in the string '%s'.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showBadNumeralStringMessage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) 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/tmphvymx3n4.c' source_filename = "/tmp/tmphvymx3n4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tty_put_i64(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp slt i64 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = call i32 @tty_putchar(i8 noundef signext 45) %7 = load i64, ptr %2, align 8 %8 = sub nsw i64 0, %7 store i64 %8, ptr %2, align 8 br label %9 9: ; preds = %5, %1 %10 = load i64, ptr %2, align 8 %11 = call i32 @tty_put_ui32(i64 noundef %10) ret void } declare i32 @tty_putchar(i8 noundef signext) #1 declare i32 @tty_put_ui32(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphvymx3n4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tty_put_i64(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp slt i64 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = call i32 @tty_putchar(i8 noundef signext 45) %7 = load i64, ptr %2, align 8 %8 = sub nsw i64 0, %7 store i64 %8, ptr %2, align 8 br label %9 9: ; preds = %5, %1 %10 = load i64, ptr %2, align 8 %11 = call i32 @tty_put_ui32(i64 noundef %10) ret void } declare i32 @tty_putchar(i8 noundef signext) #1 declare i32 @tty_put_ui32(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa7zhoz3e.c' source_filename = "/tmp/tmpa7zhoz3e.c" target datalayout = "e-m:e-p270: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/tmpa7zhoz3e.c" target datalayout = "e-m:e-p270: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/tmp6a5h2049.c' source_filename = "/tmp/tmp6a5h2049.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"\0AAccess to dangerous function %s() denied.\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"remove\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @remove(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1) %6 = call i32 @assert(i32 noundef 0) %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6a5h2049.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"\0AAccess to dangerous function %s() denied.\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"remove\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @remove(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1) %6 = call i32 @assert(i32 noundef 0) %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0bqilc5c.c' source_filename = "/tmp/tmp0bqilc5c.c" target datalayout = "e-m:e-p270: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_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = 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/tmp0bqilc5c.c" target datalayout = "e-m:e-p270: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_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = 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/tmpwkmvbi7k.c' source_filename = "/tmp/tmpwkmvbi7k.c" target datalayout = "e-m:e-p270: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/tmpwkmvbi7k.c" target datalayout = "e-m:e-p270: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/tmp2sax_t30.c' source_filename = "/tmp/tmp2sax_t30.c" target datalayout = "e-m:e-p270: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 [17 x i8] c"Usage: ./test n\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i32 @atoi(ptr noundef %15) %17 = call i32 @climbStairs(i32 noundef %16) %18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @climbStairs(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp2sax_t30.c" target datalayout = "e-m:e-p270: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 [17 x i8] c"Usage: ./test n\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i32 @atoi(ptr noundef %15) %17 = call i32 @climbStairs(i32 noundef %16) %18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @climbStairs(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpuae4elfw.c' source_filename = "/tmp/tmpuae4elfw.c" target datalayout = "e-m:e-p270: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 @stdout = 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/tmpuae4elfw.c" target datalayout = "e-m:e-p270: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 @stdout = 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/tmpybbl5cp8.c' source_filename = "/tmp/tmpybbl5cp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %49, %2 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %52 16: ; preds = %8 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %17 17: ; preds = %41, %16 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %44 25: ; preds = %17 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %31, %37 br i1 %38, label %39, label %40 39: ; preds = %25 store i32 1, ptr %7, align 4 br label %44 40: ; preds = %25 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %17, !llvm.loop !6 44: ; preds = %39, %17 %45 = load i32, ptr %7, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %48, label %47 47: ; preds = %44 br label %52 48: ; preds = %44 br label %49 49: ; preds = %48 %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %5, align 4 br label %8, !llvm.loop !8 52: ; preds = %47, %8 %53 = load i32, ptr %5, align 4 ret i32 %53 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpybbl5cp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %.lr.ph2, label %.loopexit1 .lr.ph2: ; preds = %2 br label %15 15: ; preds = %.lr.ph2, %54 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %15 br label %23 23: ; preds = %.lr.ph, %39 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %29, %35 br i1 %36, label %37, label %38 37: ; preds = %23 store i32 1, ptr %7, align 4 br label %49 38: ; preds = %23 br label %39 39: ; preds = %38 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 0 br i1 %48, label %23, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %39 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %15 br label %49 49: ; preds = %.loopexit, %37 %50 = load i32, ptr %7, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %53, label %52 52: ; preds = %49 br label %64 53: ; preds = %49 br label %54 54: ; preds = %53 %55 = load i32, ptr %5, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %5, align 4 %57 = load ptr, ptr %3, align 8 %58 = load i32, ptr %5, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %62, 0 br i1 %63, label %15, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %54 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %2 br label %64 64: ; preds = %.loopexit1, %52 %65 = load i32, ptr %5, align 4 ret i32 %65 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpn2zqi54w.c' source_filename = "/tmp/tmpn2zqi54w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"aio_return failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ps_test_aio_return(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @aio_return(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = call i32 @perror(ptr noundef @.str) %9 = call i32 (...) @abort() #3 unreachable 10: ; preds = %1 %11 = load i32, ptr %3, align 4 ret i32 %11 } declare i32 @aio_return(ptr noundef) #1 declare i32 @perror(ptr 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/tmpn2zqi54w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"aio_return failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ps_test_aio_return(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @aio_return(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = call i32 @perror(ptr noundef @.str) %9 = call i32 (...) @abort() #3 unreachable 10: ; preds = %1 %11 = load i32, ptr %3, align 4 ret i32 %11 } declare i32 @aio_return(ptr noundef) #1 declare i32 @perror(ptr 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/tmpypy5zta5.c' source_filename = "/tmp/tmpypy5zta5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"press enter to continue:\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @More(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 store i64 0, ptr %6, align 8 store i32 25, ptr %7, align 4 %14 = load i64, ptr %3, align 8 %15 = icmp uge i64 %14, 2 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %7, align 4 br label %21 21: ; preds = %16, %2 %22 = call ptr @fidopen(i32 noundef 0, ptr noundef @.str) store ptr %22, ptr %9, align 8 %23 = call ptr @fidopen(i32 noundef 1, ptr noundef @.str.1) store ptr %23, ptr %10, align 8 %24 = call ptr @fidopen(i32 noundef 1, ptr noundef @.str) store ptr %24, ptr %11, align 8 store i32 1, ptr %12, align 4 store i64 0, ptr %13, align 8 br label %25 25: ; preds = %58, %21 %26 = load ptr, ptr %9, align 8 %27 = call signext i8 @fgetc(ptr noundef %26) store i8 %27, ptr %8, align 1 %28 = sext i8 %27 to i32 %29 = load i8, ptr @EOF, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %28, %30 br i1 %31, label %32, label %59 32: ; preds = %25 %33 = load i32, ptr %12, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %49 35: ; preds = %32 %36 = load i64, ptr %13, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %13, align 8 store i32 0, ptr %12, align 4 %38 = load i64, ptr %13, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = urem i64 %38, %40 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %48 43: ; preds = %35 %44 = load ptr, ptr %10, align 8 %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.2) %46 = load ptr, ptr %11, align 8 %47 = call i32 @getline(ptr noundef %5, ptr noundef %6, ptr noundef %46) br label %48 48: ; preds = %43, %35 br label %49 49: ; preds = %48, %32 %50 = load ptr, ptr %10, align 8 %51 = load i8, ptr %8, align 1 %52 = sext i8 %51 to i32 %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.3, i32 noundef %52) %54 = load i8, ptr %8, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 10 br i1 %56, label %57, label %58 57: ; preds = %49 store i32 1, ptr %12, align 4 br label %58 58: ; preds = %57, %49 br label %25, !llvm.loop !6 59: ; preds = %25 %60 = load ptr, ptr %9, align 8 %61 = call i32 @fclose(ptr noundef %60) %62 = load ptr, ptr %10, align 8 %63 = call i32 @fclose(ptr noundef %62) %64 = load ptr, ptr %11, align 8 %65 = call i32 @fclose(ptr noundef %64) %66 = load ptr, ptr %5, align 8 %67 = call i32 @free(ptr noundef %66) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare ptr @fidopen(i32 noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpypy5zta5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"press enter to continue:\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @More(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 store i64 0, ptr %6, align 8 store i32 25, ptr %7, align 4 %14 = load i64, ptr %3, align 8 %15 = icmp uge i64 %14, 2 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) store i32 %20, ptr %7, align 4 br label %21 21: ; preds = %16, %2 %22 = call ptr @fidopen(i32 noundef 0, ptr noundef @.str) store ptr %22, ptr %9, align 8 %23 = call ptr @fidopen(i32 noundef 1, ptr noundef @.str.1) store ptr %23, ptr %10, align 8 %24 = call ptr @fidopen(i32 noundef 1, ptr noundef @.str) store ptr %24, ptr %11, align 8 store i32 1, ptr %12, align 4 store i64 0, ptr %13, align 8 %25 = load ptr, ptr %9, align 8 %26 = call signext i8 @fgetc(ptr noundef %25) store i8 %26, ptr %8, align 1 %27 = sext i8 %26 to i32 %28 = load i8, ptr @EOF, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %27, %29 br i1 %30, label %.lr.ph, label %64 .lr.ph: ; preds = %21 br label %31 31: ; preds = %.lr.ph, %57 %32 = load i32, ptr %12, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %48 34: ; preds = %31 %35 = load i64, ptr %13, align 8 %36 = add i64 %35, 1 store i64 %36, ptr %13, align 8 store i32 0, ptr %12, align 4 %37 = load i64, ptr %13, align 8 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = urem i64 %37, %39 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %34 %43 = load ptr, ptr %10, align 8 %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.2) %45 = load ptr, ptr %11, align 8 %46 = call i32 @getline(ptr noundef %5, ptr noundef %6, ptr noundef %45) br label %47 47: ; preds = %42, %34 br label %48 48: ; preds = %47, %31 %49 = load ptr, ptr %10, align 8 %50 = load i8, ptr %8, align 1 %51 = sext i8 %50 to i32 %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.3, i32 noundef %51) %53 = load i8, ptr %8, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 10 br i1 %55, label %56, label %57 56: ; preds = %48 store i32 1, ptr %12, align 4 br label %57 57: ; preds = %56, %48 %58 = load ptr, ptr %9, align 8 %59 = call signext i8 @fgetc(ptr noundef %58) store i8 %59, ptr %8, align 1 %60 = sext i8 %59 to i32 %61 = load i8, ptr @EOF, align 1 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %60, %62 br i1 %63, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %64 64: ; preds = %._crit_edge, %21 %65 = load ptr, ptr %9, align 8 %66 = call i32 @fclose(ptr noundef %65) %67 = load ptr, ptr %10, align 8 %68 = call i32 @fclose(ptr noundef %67) %69 = load ptr, ptr %11, align 8 %70 = call i32 @fclose(ptr noundef %69) %71 = load ptr, ptr %5, align 8 %72 = call i32 @free(ptr noundef %71) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare ptr @fidopen(i32 noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqx33co0x.c' source_filename = "/tmp/tmpqx33co0x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sclass_is_simple_goal(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sge i32 %4, 10 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %8 8: ; preds = %7, %6 %9 = load i32, ptr %2, align 4 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqx33co0x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sclass_is_simple_goal(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sge i32 %4, 10 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %8 8: ; preds = %7, %6 %9 = load i32, ptr %2, align 4 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwgblk7w3.c' source_filename = "/tmp/tmpwgblk7w3.c" target datalayout = "e-m:e-p270: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/tmpwgblk7w3.c" target datalayout = "e-m:e-p270: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/tmpgdcj_wwz.c' source_filename = "/tmp/tmpgdcj_wwz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @truncated_normal_a_variance(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, 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 %10 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %11 = load double, ptr %6, align 8 %12 = load double, ptr %4, align 8 %13 = fsub double %11, %12 %14 = load double, ptr %5, align 8 %15 = fdiv double %13, %14 store double %15, ptr %7, align 8 %16 = load double, ptr %7, align 8 %17 = call double @normal_01_pdf(double noundef %16) store double %17, ptr %9, align 8 %18 = load double, ptr %7, align 8 %19 = call double @normal_01_cdf(double noundef %18) store double %19, ptr %8, align 8 %20 = load double, ptr %5, align 8 %21 = load double, ptr %5, align 8 %22 = fmul double %20, %21 %23 = load double, ptr %7, align 8 %24 = load double, ptr %9, align 8 %25 = fmul double %23, %24 %26 = load double, ptr %8, align 8 %27 = fsub double 1.000000e+00, %26 %28 = fdiv double %25, %27 %29 = fadd double 1.000000e+00, %28 %30 = load double, ptr %9, align 8 %31 = load double, ptr %8, align 8 %32 = fsub double 1.000000e+00, %31 %33 = fdiv double %30, %32 %34 = call double @pow(double noundef %33, i32 noundef 2) %35 = fsub double %29, %34 %36 = fmul double %22, %35 store double %36, ptr %10, align 8 %37 = load double, ptr %10, align 8 ret double %37 } declare double @normal_01_pdf(double noundef) #1 declare double @normal_01_cdf(double noundef) #1 declare double @pow(double 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/tmpgdcj_wwz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @truncated_normal_a_variance(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, 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 %10 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %11 = load double, ptr %6, align 8 %12 = load double, ptr %4, align 8 %13 = fsub double %11, %12 %14 = load double, ptr %5, align 8 %15 = fdiv double %13, %14 store double %15, ptr %7, align 8 %16 = load double, ptr %7, align 8 %17 = call double @normal_01_pdf(double noundef %16) store double %17, ptr %9, align 8 %18 = load double, ptr %7, align 8 %19 = call double @normal_01_cdf(double noundef %18) store double %19, ptr %8, align 8 %20 = load double, ptr %5, align 8 %21 = load double, ptr %5, align 8 %22 = fmul double %20, %21 %23 = load double, ptr %7, align 8 %24 = load double, ptr %9, align 8 %25 = fmul double %23, %24 %26 = load double, ptr %8, align 8 %27 = fsub double 1.000000e+00, %26 %28 = fdiv double %25, %27 %29 = fadd double 1.000000e+00, %28 %30 = load double, ptr %9, align 8 %31 = load double, ptr %8, align 8 %32 = fsub double 1.000000e+00, %31 %33 = fdiv double %30, %32 %34 = call double @pow(double noundef %33, i32 noundef 2) %35 = fsub double %29, %34 %36 = fmul double %22, %35 store double %36, ptr %10, align 8 %37 = load double, ptr %10, align 8 ret double %37 } declare double @normal_01_pdf(double noundef) #1 declare double @normal_01_cdf(double noundef) #1 declare double @pow(double 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/tmpppr5o_z7.c' source_filename = "/tmp/tmpppr5o_z7.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @normalizedRand() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = call i64 (...) @rand() %4 = sitofp i64 %3 to double store double %4, ptr %1, align 8 %5 = load i64, ptr @RAND_MAX, align 8 %6 = sitofp i64 %5 to double %7 = fadd double %6, 1.000000e+00 store double %7, ptr %2, align 8 %8 = load double, ptr %1, align 8 %9 = load double, ptr %2, align 8 %10 = fdiv double %8, %9 ret double %10 } declare i64 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpppr5o_z7.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @normalizedRand() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = call i64 (...) @rand() %4 = sitofp i64 %3 to double store double %4, ptr %1, align 8 %5 = load i64, ptr @RAND_MAX, align 8 %6 = sitofp i64 %5 to double %7 = fadd double %6, 1.000000e+00 store double %7, ptr %2, align 8 %8 = load double, ptr %1, align 8 %9 = load double, ptr %2, align 8 %10 = fdiv double %8, %9 ret double %10 } declare i64 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3gywdu6l.c' source_filename = "/tmp/tmp3gywdu6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @grow(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 0, ptr %11, align 4 store i32 -1, ptr %12, align 4 br label %13 13: ; preds = %25, %3 %14 = load i32, ptr %12, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %28 16: ; preds = %13 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %11, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %16 %24 = load i32, ptr %11, align 4 store i32 %24, ptr %12, align 4 br label %25 25: ; preds = %23, %16 %26 = load i32, ptr %11, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %11, align 4 br label %13, !llvm.loop !6 28: ; preds = %13 %29 = load i32, ptr %6, align 4 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %12, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 store i32 %29, ptr %33, align 4 %34 = load i32, ptr %12, align 4 %35 = load i32, ptr %7, align 4 %36 = sub nsw i32 %35, 1 %37 = icmp eq i32 %34, %36 br i1 %37, label %38, label %73 38: ; preds = %28 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %7, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %39, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds i32, ptr %45, i64 0 %47 = load i32, ptr %46, align 4 %48 = add nsw i32 %44, %47 %49 = call i32 @isPrime(i32 noundef %48) store i32 %49, ptr %10, align 4 %50 = icmp eq i32 %49, 1 br i1 %50, label %51, label %72 51: ; preds = %38 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 0 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %54) store i32 1, ptr %9, align 4 br label %56 56: ; preds = %67, %51 %57 = load i32, ptr %9, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %60, label %70 60: ; preds = %56 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr %9, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %65) br label %67 67: ; preds = %60 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %9, align 4 br label %56, !llvm.loop !8 70: ; preds = %56 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %72 72: ; preds = %70, %38 br label %73 73: ; preds = %72, %28 store i32 1, ptr %11, align 4 br label %74 74: ; preds = %102, %73 %75 = load i32, ptr %11, align 4 %76 = load i32, ptr %7, align 4 %77 = add nsw i32 %76, 1 %78 = icmp slt i32 %75, %77 br i1 %78, label %79, label %105 79: ; preds = %74 %80 = load ptr, ptr %5, align 8 %81 = load i32, ptr %12, align 4 %82 = load i32, ptr %11, align 4 %83 = call i32 @iInRing(ptr noundef %80, i32 noundef %81, i32 noundef %82) store i32 %83, ptr %10, align 4 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %101 85: ; preds = %79 %86 = load ptr, ptr %5, align 8 %87 = load i32, ptr %12, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %90, %91 %93 = call i32 @isPrime(i32 noundef %92) store i32 %93, ptr %10, align 4 %94 = icmp eq i32 %93, 1 br i1 %94, label %95, label %100 95: ; preds = %85 %96 = load ptr, ptr %5, align 8 %97 = load i32, ptr %11, align 4 %98 = load i32, ptr %7, align 4 %99 = call i32 @grow(ptr noundef %96, i32 noundef %97, i32 noundef %98) br label %100 100: ; preds = %95, %85 br label %101 101: ; preds = %100, %79 br label %102 102: ; preds = %101 %103 = load i32, ptr %11, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %11, align 4 br label %74, !llvm.loop !9 105: ; preds = %74 %106 = load ptr, ptr %5, align 8 %107 = load i32, ptr %12, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %106, i64 %108 store i32 0, ptr %109, align 4 %110 = load i32, ptr %4, align 4 ret i32 %110 } declare i32 @isPrime(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @iInRing(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3gywdu6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @grow(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 0, ptr %11, align 4 store i32 -1, ptr %12, align 4 %13 = load i32, ptr %12, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %.lr.ph, label %29 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %24 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %11, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %15 %23 = load i32, ptr %11, align 4 store i32 %23, ptr %12, align 4 br label %24 24: ; preds = %22, %15 %25 = load i32, ptr %11, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %11, align 4 %27 = load i32, ptr %12, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %3 %30 = load i32, ptr %6, align 4 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %12, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 store i32 %30, ptr %34, align 4 %35 = load i32, ptr %12, align 4 %36 = load i32, ptr %7, align 4 %37 = sub nsw i32 %36, 1 %38 = icmp eq i32 %35, %37 br i1 %38, label %39, label %76 39: ; preds = %29 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %7, align 4 %42 = sub nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %40, i64 %43 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 0 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %45, %48 %50 = call i32 @isPrime(i32 noundef %49) store i32 %50, ptr %10, align 4 %51 = icmp eq i32 %50, 1 br i1 %51, label %52, label %75 52: ; preds = %39 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds i32, ptr %53, i64 0 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %55) store i32 1, ptr %9, align 4 %57 = load i32, ptr %9, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph2, label %73 .lr.ph2: ; preds = %52 br label %60 60: ; preds = %.lr.ph2, %67 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr %9, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %65) br label %67 67: ; preds = %60 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %9, align 4 %70 = load i32, ptr %9, align 4 %71 = load i32, ptr %7, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %60, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %67 br label %73 73: ; preds = %._crit_edge3, %52 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %75 75: ; preds = %73, %39 br label %76 76: ; preds = %75, %29 store i32 1, ptr %11, align 4 %77 = load i32, ptr %11, align 4 %78 = load i32, ptr %7, align 4 %79 = add nsw i32 %78, 1 %80 = icmp slt i32 %77, %79 br i1 %80, label %.lr.ph5, label %111 .lr.ph5: ; preds = %76 br label %81 81: ; preds = %.lr.ph5, %104 %82 = load ptr, ptr %5, align 8 %83 = load i32, ptr %12, align 4 %84 = load i32, ptr %11, align 4 %85 = call i32 @iInRing(ptr noundef %82, i32 noundef %83, i32 noundef %84) store i32 %85, ptr %10, align 4 %86 = icmp eq i32 %85, 0 br i1 %86, label %87, label %103 87: ; preds = %81 %88 = load ptr, ptr %5, align 8 %89 = load i32, ptr %12, 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 i32, ptr %11, align 4 %94 = add nsw i32 %92, %93 %95 = call i32 @isPrime(i32 noundef %94) store i32 %95, ptr %10, align 4 %96 = icmp eq i32 %95, 1 br i1 %96, label %97, label %102 97: ; preds = %87 %98 = load ptr, ptr %5, align 8 %99 = load i32, ptr %11, align 4 %100 = load i32, ptr %7, align 4 %101 = call i32 @grow(ptr noundef %98, i32 noundef %99, i32 noundef %100) br label %102 102: ; preds = %97, %87 br label %103 103: ; preds = %102, %81 br label %104 104: ; preds = %103 %105 = load i32, ptr %11, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %11, align 4 %107 = load i32, ptr %11, align 4 %108 = load i32, ptr %7, align 4 %109 = add nsw i32 %108, 1 %110 = icmp slt i32 %107, %109 br i1 %110, label %81, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %104 br label %111 111: ; preds = %._crit_edge6, %76 %112 = load ptr, ptr %5, align 8 %113 = load i32, ptr %12, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i32, ptr %112, i64 %114 store i32 0, ptr %115, align 4 %116 = load i32, ptr %4, align 4 ret i32 %116 } declare i32 @isPrime(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @iInRing(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp0rnfip8s.c' source_filename = "/tmp/tmp0rnfip8s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dkp-vmin-\00", align 1 @.str.1 = private unnamed_addr constant [67 x i8] c"ui_print Rename me to something like \22dkp-vmin-700.zip\22!\0Aui_print\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"ui_print Explosion mode engaged.\0Aui_print\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"ui_print Have a nice day.\0Aui_print\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"ui_print \00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c" mV? That seems excessive.\0Aui_print\0A\00", align 1 @.str.6 = private unnamed_addr constant [54 x i8] c"ui_print 600 to 1150 mV would be reasonable\0Aui_print\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"/dev/block/mmcblk0p14\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"/system\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"ext4\00", align 1 @MS_NOATIME = dso_local global i32 0, align 4 @MS_NODEV = dso_local global i32 0, align 4 @MS_NODIRATIME = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.11 = private unnamed_addr constant [40 x i8] c"ui_print Can't mount /system!\0Aui_print\0A\00", align 1 @errno = dso_local global i64 0, align 8 @EBUSY = dso_local global i64 0, align 8 @.str.12 = private unnamed_addr constant [48 x i8] c"ui_print Adjusting minimum voltage...\0Aui_print\0A\00", align 1 @.str.13 = private unnamed_addr constant [30 x i8] c"/system/etc/init.d/00dkp-vmin\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [33 x i8] c"ui_print New minimum voltage is \00", align 1 @.str.15 = private unnamed_addr constant [15 x i8] c" mV.\0Aui_print\0A\00", align 1 @.str.16 = private unnamed_addr constant [23 x i8] c"#!/system/bin/sh\0Aecho \00", align 1 @.str.17 = private unnamed_addr constant [44 x i8] c" >/sys/devices/system/cpu/cpufreq/dkp/vmin\0A\00", align 1 @.str.18 = private unnamed_addr constant [38 x i8] c"ui_print Adjustment failed!\0Aui_print\0A\00", align 1 @.str.19 = private unnamed_addr constant [45 x i8] c"ui_print Couldn't unmount /system!\0Aui_print\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 ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %14 = call ptr @calloc(i32 noundef 80, i32 noundef 1) store ptr %14, ptr %9, align 8 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 3 %17 = load ptr, ptr %16, align 8 %18 = call ptr @strstr(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %10, align 8 store ptr null, ptr %11, align 8 store i32 1, ptr %13, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, 4 br i1 %20, label %21, label %22 21: ; preds = %2 store i32 1, ptr %3, align 4 br label %179 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %6, align 4 %27 = load ptr, ptr %10, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %60 29: ; preds = %22 %30 = call i32 @strlen(ptr noundef @.str) %31 = load ptr, ptr %10, align 8 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds i8, ptr %31, i64 %32 store ptr %33, ptr %10, align 8 %34 = load ptr, ptr %10, align 8 store ptr %34, ptr %11, align 8 br label %35 35: ; preds = %48, %29 %36 = load ptr, ptr %11, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp sge i32 %38, 48 br i1 %39, label %40, label %45 40: ; preds = %35 %41 = load ptr, ptr %11, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp sle i32 %43, 57 br label %45 45: ; preds = %40, %35 %46 = phi i1 [ false, %35 ], [ %44, %40 ] br i1 %46, label %47, label %51 47: ; preds = %45 br label %48 48: ; preds = %47 %49 = load ptr, ptr %11, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %11, align 8 br label %35, !llvm.loop !6 51: ; preds = %45 %52 = load ptr, ptr %11, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 46 br i1 %55, label %56, label %58 56: ; preds = %51 %57 = load ptr, ptr %11, align 8 store i8 0, ptr %57, align 1 br label %59 58: ; preds = %51 store ptr null, ptr %11, align 8 br label %59 59: ; preds = %58, %56 br label %60 60: ; preds = %59, %22 %61 = load ptr, ptr %11, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %67, label %63 63: ; preds = %60 %64 = load i32, ptr %6, align 4 %65 = call i32 @strlen(ptr noundef @.str.1) %66 = call i32 @write(i32 noundef %64, ptr noundef @.str.1, i32 noundef %65) store i32 2, ptr %3, align 4 br label %179 67: ; preds = %60 %68 = load ptr, ptr %10, align 8 %69 = call i32 @atoi(ptr noundef %68) store i32 %69, ptr %12, align 4 %70 = load i32, ptr %12, align 4 %71 = icmp sgt i32 %70, 1500 br i1 %71, label %72, label %79 72: ; preds = %67 %73 = load i32, ptr %6, align 4 %74 = call i32 @strlen(ptr noundef @.str.2) %75 = call i32 @write(i32 noundef %73, ptr noundef @.str.2, i32 noundef %74) %76 = load i32, ptr %6, align 4 %77 = call i32 @strlen(ptr noundef @.str.3) %78 = call i32 @write(i32 noundef %76, ptr noundef @.str.3, i32 noundef %77) store i32 2, ptr %3, align 4 br label %179 79: ; preds = %67 %80 = load i32, ptr %12, align 4 %81 = icmp sgt i32 %80, 1150 br i1 %81, label %85, label %82 82: ; preds = %79 %83 = load i32, ptr %12, align 4 %84 = icmp slt i32 %83, 600 br i1 %84, label %85, label %101 85: ; preds = %82, %79 %86 = load ptr, ptr %9, align 8 %87 = call i32 @strncat(ptr noundef %86, ptr noundef @.str.4, i32 noundef 80) %88 = load ptr, ptr %9, align 8 %89 = load ptr, ptr %10, align 8 %90 = call i32 @strncat(ptr noundef %88, ptr noundef %89, i32 noundef 80) %91 = load ptr, ptr %9, align 8 %92 = call i32 @strncat(ptr noundef %91, ptr noundef @.str.5, i32 noundef 80) %93 = load i32, ptr %6, align 4 %94 = load ptr, ptr %9, align 8 %95 = load ptr, ptr %9, align 8 %96 = call i32 @strlen(ptr noundef %95) %97 = call i32 @write(i32 noundef %93, ptr noundef %94, i32 noundef %96) %98 = load i32, ptr %6, align 4 %99 = call i32 @strlen(ptr noundef @.str.6) %100 = call i32 @write(i32 noundef %98, ptr noundef @.str.6, i32 noundef %99) store i32 2, ptr %3, align 4 br label %179 101: ; preds = %82 %102 = load i32, ptr @MS_NOATIME, align 4 %103 = load i32, ptr @MS_NODEV, align 4 %104 = or i32 %102, %103 %105 = load i32, ptr @MS_NODIRATIME, align 4 %106 = or i32 %104, %105 %107 = call i32 @mount(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef %106, ptr noundef @.str.10) store i32 %107, ptr %8, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %120 109: ; preds = %101 %110 = load i32, ptr %6, align 4 %111 = call i32 @strlen(ptr noundef @.str.11) %112 = call i32 @write(i32 noundef %110, ptr noundef @.str.11, i32 noundef %111) %113 = load i64, ptr @errno, align 8 %114 = load i64, ptr @EBUSY, align 8 %115 = icmp ne i64 %113, %114 br i1 %115, label %116, label %119 116: ; preds = %109 %117 = load i64, ptr @errno, align 8 %118 = trunc i64 %117 to i32 store i32 %118, ptr %3, align 4 br label %179 119: ; preds = %109 store i32 0, ptr %13, align 4 br label %120 120: ; preds = %119, %101 %121 = load i32, ptr %6, align 4 %122 = call i32 @strlen(ptr noundef @.str.12) %123 = call i32 @write(i32 noundef %121, ptr noundef @.str.12, i32 noundef %122) %124 = call i32 @unlink(ptr noundef @.str.13) %125 = load i32, ptr @O_WRONLY, align 4 %126 = load i32, ptr @O_CREAT, align 4 %127 = or i32 %125, %126 %128 = load i32, ptr @O_EXCL, align 4 %129 = or i32 %127, %128 %130 = call i32 @open(ptr noundef @.str.13, i32 noundef %129, i32 noundef 493) store i32 %130, ptr %7, align 4 %131 = load i32, ptr %7, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %159 133: ; preds = %120 %134 = load ptr, ptr %9, align 8 %135 = call i32 @strncat(ptr noundef %134, ptr noundef @.str.14, i32 noundef 80) %136 = load ptr, ptr %9, align 8 %137 = load ptr, ptr %10, align 8 %138 = call i32 @strncat(ptr noundef %136, ptr noundef %137, i32 noundef 80) %139 = load ptr, ptr %9, align 8 %140 = call i32 @strncat(ptr noundef %139, ptr noundef @.str.15, i32 noundef 80) %141 = load i32, ptr %6, align 4 %142 = load ptr, ptr %9, align 8 %143 = load ptr, ptr %9, align 8 %144 = call i32 @strlen(ptr noundef %143) %145 = call i32 @write(i32 noundef %141, ptr noundef %142, i32 noundef %144) %146 = load i32, ptr %7, align 4 %147 = call i32 @strlen(ptr noundef @.str.16) %148 = call i32 @write(i32 noundef %146, ptr noundef @.str.16, i32 noundef %147) %149 = load i32, ptr %7, align 4 %150 = load ptr, ptr %10, align 8 %151 = load ptr, ptr %10, align 8 %152 = call i32 @strlen(ptr noundef %151) %153 = call i32 @write(i32 noundef %149, ptr noundef %150, i32 noundef %152) %154 = load i32, ptr %7, align 4 %155 = call i32 @strlen(ptr noundef @.str.17) %156 = call i32 @write(i32 noundef %154, ptr noundef @.str.17, i32 noundef %155) %157 = load i32, ptr %7, align 4 %158 = call i32 @close(i32 noundef %157) br label %163 159: ; preds = %120 %160 = load i32, ptr %6, align 4 %161 = call i32 @strlen(ptr noundef @.str.18) %162 = call i32 @write(i32 noundef %160, ptr noundef @.str.18, i32 noundef %161) store i32 4, ptr %8, align 4 br label %163 163: ; preds = %159, %133 br label %164 164: ; preds = %163 %165 = load i32, ptr %13, align 4 %166 = icmp ne i32 %165, 0 br i1 %166, label %167, label %177 167: ; preds = %164 %168 = call i64 @umount(ptr noundef @.str.8) %169 = icmp ne i64 %168, 0 br i1 %169, label %170, label %176 170: ; preds = %167 %171 = load i32, ptr %6, align 4 %172 = call i32 @strlen(ptr noundef @.str.19) %173 = call i32 @write(i32 noundef %171, ptr noundef @.str.19, i32 noundef %172) %174 = load i32, ptr %8, align 4 %175 = sub nsw i32 0, %174 store i32 %175, ptr %3, align 4 br label %179 176: ; preds = %167 br label %177 177: ; preds = %176, %164 %178 = load i32, ptr %8, align 4 store i32 %178, ptr %3, align 4 br label %179 179: ; preds = %177, %170, %116, %85, %72, %63, %21 %180 = load i32, ptr %3, align 4 ret i32 %180 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @mount(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @umount(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0rnfip8s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dkp-vmin-\00", align 1 @.str.1 = private unnamed_addr constant [67 x i8] c"ui_print Rename me to something like \22dkp-vmin-700.zip\22!\0Aui_print\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"ui_print Explosion mode engaged.\0Aui_print\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"ui_print Have a nice day.\0Aui_print\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"ui_print \00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c" mV? That seems excessive.\0Aui_print\0A\00", align 1 @.str.6 = private unnamed_addr constant [54 x i8] c"ui_print 600 to 1150 mV would be reasonable\0Aui_print\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"/dev/block/mmcblk0p14\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"/system\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"ext4\00", align 1 @MS_NOATIME = dso_local global i32 0, align 4 @MS_NODEV = dso_local global i32 0, align 4 @MS_NODIRATIME = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.11 = private unnamed_addr constant [40 x i8] c"ui_print Can't mount /system!\0Aui_print\0A\00", align 1 @errno = dso_local global i64 0, align 8 @EBUSY = dso_local global i64 0, align 8 @.str.12 = private unnamed_addr constant [48 x i8] c"ui_print Adjusting minimum voltage...\0Aui_print\0A\00", align 1 @.str.13 = private unnamed_addr constant [30 x i8] c"/system/etc/init.d/00dkp-vmin\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [33 x i8] c"ui_print New minimum voltage is \00", align 1 @.str.15 = private unnamed_addr constant [15 x i8] c" mV.\0Aui_print\0A\00", align 1 @.str.16 = private unnamed_addr constant [23 x i8] c"#!/system/bin/sh\0Aecho \00", align 1 @.str.17 = private unnamed_addr constant [44 x i8] c" >/sys/devices/system/cpu/cpufreq/dkp/vmin\0A\00", align 1 @.str.18 = private unnamed_addr constant [38 x i8] c"ui_print Adjustment failed!\0Aui_print\0A\00", align 1 @.str.19 = private unnamed_addr constant [45 x i8] c"ui_print Couldn't unmount /system!\0Aui_print\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 ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %14 = call ptr @calloc(i32 noundef 80, i32 noundef 1) store ptr %14, ptr %9, align 8 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 3 %17 = load ptr, ptr %16, align 8 %18 = call ptr @strstr(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %10, align 8 store ptr null, ptr %11, align 8 store i32 1, ptr %13, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, 4 br i1 %20, label %21, label %22 21: ; preds = %2 store i32 1, ptr %3, align 4 br label %179 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %6, align 4 %27 = load ptr, ptr %10, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %60 29: ; preds = %22 %30 = call i32 @strlen(ptr noundef @.str) %31 = load ptr, ptr %10, align 8 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds i8, ptr %31, i64 %32 store ptr %33, ptr %10, align 8 %34 = load ptr, ptr %10, align 8 store ptr %34, ptr %11, align 8 br label %35 35: ; preds = %48, %29 %36 = load ptr, ptr %11, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp sge i32 %38, 48 br i1 %39, label %40, label %45 40: ; preds = %35 %41 = load ptr, ptr %11, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp sle i32 %43, 57 br label %45 45: ; preds = %40, %35 %46 = phi i1 [ false, %35 ], [ %44, %40 ] br i1 %46, label %47, label %51 47: ; preds = %45 br label %48 48: ; preds = %47 %49 = load ptr, ptr %11, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %11, align 8 br label %35, !llvm.loop !6 51: ; preds = %45 %52 = load ptr, ptr %11, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 46 br i1 %55, label %56, label %58 56: ; preds = %51 %57 = load ptr, ptr %11, align 8 store i8 0, ptr %57, align 1 br label %59 58: ; preds = %51 store ptr null, ptr %11, align 8 br label %59 59: ; preds = %58, %56 br label %60 60: ; preds = %59, %22 %61 = load ptr, ptr %11, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %67, label %63 63: ; preds = %60 %64 = load i32, ptr %6, align 4 %65 = call i32 @strlen(ptr noundef @.str.1) %66 = call i32 @write(i32 noundef %64, ptr noundef @.str.1, i32 noundef %65) store i32 2, ptr %3, align 4 br label %179 67: ; preds = %60 %68 = load ptr, ptr %10, align 8 %69 = call i32 @atoi(ptr noundef %68) store i32 %69, ptr %12, align 4 %70 = load i32, ptr %12, align 4 %71 = icmp sgt i32 %70, 1500 br i1 %71, label %72, label %79 72: ; preds = %67 %73 = load i32, ptr %6, align 4 %74 = call i32 @strlen(ptr noundef @.str.2) %75 = call i32 @write(i32 noundef %73, ptr noundef @.str.2, i32 noundef %74) %76 = load i32, ptr %6, align 4 %77 = call i32 @strlen(ptr noundef @.str.3) %78 = call i32 @write(i32 noundef %76, ptr noundef @.str.3, i32 noundef %77) store i32 2, ptr %3, align 4 br label %179 79: ; preds = %67 %80 = load i32, ptr %12, align 4 %81 = icmp sgt i32 %80, 1150 br i1 %81, label %85, label %82 82: ; preds = %79 %83 = load i32, ptr %12, align 4 %84 = icmp slt i32 %83, 600 br i1 %84, label %85, label %101 85: ; preds = %82, %79 %86 = load ptr, ptr %9, align 8 %87 = call i32 @strncat(ptr noundef %86, ptr noundef @.str.4, i32 noundef 80) %88 = load ptr, ptr %9, align 8 %89 = load ptr, ptr %10, align 8 %90 = call i32 @strncat(ptr noundef %88, ptr noundef %89, i32 noundef 80) %91 = load ptr, ptr %9, align 8 %92 = call i32 @strncat(ptr noundef %91, ptr noundef @.str.5, i32 noundef 80) %93 = load i32, ptr %6, align 4 %94 = load ptr, ptr %9, align 8 %95 = load ptr, ptr %9, align 8 %96 = call i32 @strlen(ptr noundef %95) %97 = call i32 @write(i32 noundef %93, ptr noundef %94, i32 noundef %96) %98 = load i32, ptr %6, align 4 %99 = call i32 @strlen(ptr noundef @.str.6) %100 = call i32 @write(i32 noundef %98, ptr noundef @.str.6, i32 noundef %99) store i32 2, ptr %3, align 4 br label %179 101: ; preds = %82 %102 = load i32, ptr @MS_NOATIME, align 4 %103 = load i32, ptr @MS_NODEV, align 4 %104 = or i32 %102, %103 %105 = load i32, ptr @MS_NODIRATIME, align 4 %106 = or i32 %104, %105 %107 = call i32 @mount(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef %106, ptr noundef @.str.10) store i32 %107, ptr %8, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %120 109: ; preds = %101 %110 = load i32, ptr %6, align 4 %111 = call i32 @strlen(ptr noundef @.str.11) %112 = call i32 @write(i32 noundef %110, ptr noundef @.str.11, i32 noundef %111) %113 = load i64, ptr @errno, align 8 %114 = load i64, ptr @EBUSY, align 8 %115 = icmp ne i64 %113, %114 br i1 %115, label %116, label %119 116: ; preds = %109 %117 = load i64, ptr @errno, align 8 %118 = trunc i64 %117 to i32 store i32 %118, ptr %3, align 4 br label %179 119: ; preds = %109 store i32 0, ptr %13, align 4 br label %120 120: ; preds = %119, %101 %121 = load i32, ptr %6, align 4 %122 = call i32 @strlen(ptr noundef @.str.12) %123 = call i32 @write(i32 noundef %121, ptr noundef @.str.12, i32 noundef %122) %124 = call i32 @unlink(ptr noundef @.str.13) %125 = load i32, ptr @O_WRONLY, align 4 %126 = load i32, ptr @O_CREAT, align 4 %127 = or i32 %125, %126 %128 = load i32, ptr @O_EXCL, align 4 %129 = or i32 %127, %128 %130 = call i32 @open(ptr noundef @.str.13, i32 noundef %129, i32 noundef 493) store i32 %130, ptr %7, align 4 %131 = load i32, ptr %7, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %159 133: ; preds = %120 %134 = load ptr, ptr %9, align 8 %135 = call i32 @strncat(ptr noundef %134, ptr noundef @.str.14, i32 noundef 80) %136 = load ptr, ptr %9, align 8 %137 = load ptr, ptr %10, align 8 %138 = call i32 @strncat(ptr noundef %136, ptr noundef %137, i32 noundef 80) %139 = load ptr, ptr %9, align 8 %140 = call i32 @strncat(ptr noundef %139, ptr noundef @.str.15, i32 noundef 80) %141 = load i32, ptr %6, align 4 %142 = load ptr, ptr %9, align 8 %143 = load ptr, ptr %9, align 8 %144 = call i32 @strlen(ptr noundef %143) %145 = call i32 @write(i32 noundef %141, ptr noundef %142, i32 noundef %144) %146 = load i32, ptr %7, align 4 %147 = call i32 @strlen(ptr noundef @.str.16) %148 = call i32 @write(i32 noundef %146, ptr noundef @.str.16, i32 noundef %147) %149 = load i32, ptr %7, align 4 %150 = load ptr, ptr %10, align 8 %151 = load ptr, ptr %10, align 8 %152 = call i32 @strlen(ptr noundef %151) %153 = call i32 @write(i32 noundef %149, ptr noundef %150, i32 noundef %152) %154 = load i32, ptr %7, align 4 %155 = call i32 @strlen(ptr noundef @.str.17) %156 = call i32 @write(i32 noundef %154, ptr noundef @.str.17, i32 noundef %155) %157 = load i32, ptr %7, align 4 %158 = call i32 @close(i32 noundef %157) br label %163 159: ; preds = %120 %160 = load i32, ptr %6, align 4 %161 = call i32 @strlen(ptr noundef @.str.18) %162 = call i32 @write(i32 noundef %160, ptr noundef @.str.18, i32 noundef %161) store i32 4, ptr %8, align 4 br label %163 163: ; preds = %159, %133 br label %164 164: ; preds = %163 %165 = load i32, ptr %13, align 4 %166 = icmp ne i32 %165, 0 br i1 %166, label %167, label %177 167: ; preds = %164 %168 = call i64 @umount(ptr noundef @.str.8) %169 = icmp ne i64 %168, 0 br i1 %169, label %170, label %176 170: ; preds = %167 %171 = load i32, ptr %6, align 4 %172 = call i32 @strlen(ptr noundef @.str.19) %173 = call i32 @write(i32 noundef %171, ptr noundef @.str.19, i32 noundef %172) %174 = load i32, ptr %8, align 4 %175 = sub nsw i32 0, %174 store i32 %175, ptr %3, align 4 br label %179 176: ; preds = %167 br label %177 177: ; preds = %176, %164 %178 = load i32, ptr %8, align 4 store i32 %178, ptr %3, align 4 br label %179 179: ; preds = %177, %170, %116, %85, %72, %63, %21 %180 = load i32, ptr %3, align 4 ret i32 %180 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @mount(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @umount(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp4kpo2m0x.c' source_filename = "/tmp/tmp4kpo2m0x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Temp.: %.1f C\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_text(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca float, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @read_temp(ptr noundef %3, ptr noundef %4) %6 = icmp ne i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load float, ptr %3, align 4 %9 = call i32 @printf(ptr noundef @.str, float noundef %8) %10 = load i32, ptr @stdout, align 4 %11 = call i32 @fflush(i32 noundef %10) br label %12 12: ; preds = %7, %1 ret void } declare i32 @read_temp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4kpo2m0x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Temp.: %.1f C\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_text(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca float, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @read_temp(ptr noundef %3, ptr noundef %4) %6 = icmp ne i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load float, ptr %3, align 4 %9 = call i32 @printf(ptr noundef @.str, float noundef %8) %10 = load i32, ptr @stdout, align 4 %11 = call i32 @fflush(i32 noundef %10) br label %12 12: ; preds = %7, %1 ret void } declare i32 @read_temp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_py3qhbu.c' source_filename = "/tmp/tmp_py3qhbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"golcli 1.0. Conway's Game of Life with ncurses interface.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Usage: golcli [OPTIONS]\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [223 x i8] c"Options:\0A -h Help\0A -x Width\0A -y Height\0A -d Delay between frames (ms, default: 50)\0A -cf Foreground char\0A -cb Background char\0A -m Map file\0A -mcb Background char in map file (default: ' ')\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHelp() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) 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/tmp_py3qhbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"golcli 1.0. Conway's Game of Life with ncurses interface.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Usage: golcli [OPTIONS]\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [223 x i8] c"Options:\0A -h Help\0A -x Width\0A -y Height\0A -d Delay between frames (ms, default: 50)\0A -cf Foreground char\0A -cb Background char\0A -m Map file\0A -mcb Background char in map file (default: ' ')\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHelp() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) 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/tmpqmqf102r.c' source_filename = "/tmp/tmpqmqf102r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Australia\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Belgium\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"China\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"Denmark\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"England\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"France\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"Greece\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"Ireland\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"Scotland\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"Wales\00", align 1 @__const.main.country_list = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16 @.str.10 = private unnamed_addr constant [9 x i8] c"Canberra\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"Brussels\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"Beijing\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"Copenhagen\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"London\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"Paris\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"Athens\00", align 1 @.str.17 = private unnamed_addr constant [7 x i8] c"Dublin\00", align 1 @.str.18 = private unnamed_addr constant [10 x i8] c"Edinburgh\00", align 1 @.str.19 = private unnamed_addr constant [8 x i8] c"Cardiff\00", align 1 @__const.main.capital_list = private unnamed_addr constant [10 x ptr] [ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19], align 16 @.str.20 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.21 = private unnamed_addr constant [16 x i8] c"Country is here\00", align 1 @.str.22 = private unnamed_addr constant [50 x i8] c"Country not present: please enter another country\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x ptr], align 16 %3 = alloca [10 x ptr], align 16 %4 = alloca [15 x i8], align 1 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.country_list, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.capital_list, i64 80, i1 false) %6 = getelementptr inbounds [15 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str.20, ptr noundef %6) store i32 0, ptr %5, align 4 br label %8 8: ; preds = %27, %0 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 12 br i1 %10, label %11, label %30 11: ; preds = %8 %12 = getelementptr inbounds [15 x i8], ptr %4, i64 0, i64 0 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i64 @strcmp(ptr noundef %12, ptr noundef %16) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %11 %20 = call i32 @printf(ptr noundef @.str.21) %21 = call i32 (...) @getchar() %22 = call i32 (...) @getchar() store i32 0, ptr %1, align 4 br label %33 23: ; preds = %11 %24 = call i32 @printf(ptr noundef @.str.22) %25 = call i32 (...) @getchar() %26 = call i32 (...) @getchar() store i32 0, ptr %1, align 4 br label %33 27: ; No predecessors! %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %8, !llvm.loop !6 30: ; preds = %8 %31 = call i32 (...) @getchar() %32 = call i32 (...) @flushall() store i32 0, ptr %1, align 4 br label %33 33: ; preds = %30, %23, %19 %34 = load i32, ptr %1, align 4 ret i32 %34 } ; 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 @scanf(ptr noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef) #2 declare i32 @getchar(...) #2 declare i32 @flushall(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqmqf102r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Australia\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Belgium\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"China\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"Denmark\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"England\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"France\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"Greece\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"Ireland\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"Scotland\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"Wales\00", align 1 @__const.main.country_list = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16 @.str.10 = private unnamed_addr constant [9 x i8] c"Canberra\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"Brussels\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"Beijing\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"Copenhagen\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"London\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"Paris\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"Athens\00", align 1 @.str.17 = private unnamed_addr constant [7 x i8] c"Dublin\00", align 1 @.str.18 = private unnamed_addr constant [10 x i8] c"Edinburgh\00", align 1 @.str.19 = private unnamed_addr constant [8 x i8] c"Cardiff\00", align 1 @__const.main.capital_list = private unnamed_addr constant [10 x ptr] [ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19], align 16 @.str.20 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.21 = private unnamed_addr constant [16 x i8] c"Country is here\00", align 1 @.str.22 = private unnamed_addr constant [50 x i8] c"Country not present: please enter another country\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x ptr], align 16 %3 = alloca [10 x ptr], align 16 %4 = alloca [15 x i8], align 1 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.country_list, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.capital_list, i64 80, i1 false) %6 = getelementptr inbounds [15 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str.20, ptr noundef %6) store i32 0, ptr %5, align 4 br label %8 8: ; preds = %27, %0 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 12 br i1 %10, label %11, label %30 11: ; preds = %8 %12 = getelementptr inbounds [15 x i8], ptr %4, i64 0, i64 0 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i64 @strcmp(ptr noundef %12, ptr noundef %16) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %11 %20 = call i32 @printf(ptr noundef @.str.21) %21 = call i32 (...) @getchar() %22 = call i32 (...) @getchar() store i32 0, ptr %1, align 4 br label %33 23: ; preds = %11 %24 = call i32 @printf(ptr noundef @.str.22) %25 = call i32 (...) @getchar() %26 = call i32 (...) @getchar() store i32 0, ptr %1, align 4 br label %33 27: ; No predecessors! %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %8, !llvm.loop !6 30: ; preds = %8 %31 = call i32 (...) @getchar() %32 = call i32 (...) @flushall() store i32 0, ptr %1, align 4 br label %33 33: ; preds = %30, %23, %19 %34 = load i32, ptr %1, align 4 ret i32 %34 } ; 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 @scanf(ptr noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef) #2 declare i32 @getchar(...) #2 declare i32 @flushall(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgmkfxgb8.c' source_filename = "/tmp/tmpgmkfxgb8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stbtt_FreeBitmap(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @zfree(ptr noundef %5) ret void } declare i32 @zfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgmkfxgb8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stbtt_FreeBitmap(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @zfree(ptr noundef %5) ret void } declare i32 @zfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr292isaw.c' source_filename = "/tmp/tmpr292isaw.c" target datalayout = "e-m:e-p270: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/tmpr292isaw.c" target datalayout = "e-m:e-p270: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/tmp7_dz42qm.c' source_filename = "/tmp/tmp7_dz42qm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @resourceLeak_mkstemps(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @mkstemps(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 ret void } declare i32 @mkstemps(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/tmp7_dz42qm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @resourceLeak_mkstemps(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @mkstemps(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 ret void } declare i32 @mkstemps(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/tmpepfyo8jg.c' source_filename = "/tmp/tmpepfyo8jg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IRC_GetParameterAt(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 32) store ptr %8, ptr %6, align 8 br label %9 9: ; preds = %19, %2 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %17 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp ult i32 %14, %15 br label %17 17: ; preds = %12, %9 %18 = phi i1 [ false, %9 ], [ %16, %12 ] br i1 %18, label %19, label %23 19: ; preds = %17 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 32) store ptr %22, ptr %6, align 8 br label %9, !llvm.loop !6 23: ; preds = %17 %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 1 ret ptr %25 } declare ptr @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpepfyo8jg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IRC_GetParameterAt(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 32) store ptr %8, ptr %6, align 8 br label %9 9: ; preds = %19, %2 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %17 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp ult i32 %14, %15 br label %17 17: ; preds = %12, %9 %18 = phi i1 [ false, %9 ], [ %16, %12 ] br i1 %18, label %19, label %23 19: ; preds = %17 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = call ptr @strchr(ptr noundef %21, i8 noundef signext 32) store ptr %22, ptr %6, align 8 br label %9, !llvm.loop !6 23: ; preds = %17 %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 1 ret ptr %25 } declare ptr @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"}
; ModuleID = '/tmp/tmpscqib4f1.c' source_filename = "/tmp/tmpscqib4f1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RLIMIT_CORE = dso_local global i32 0, align 4 @RLIM_INFINITY = dso_local global ptr null, align 8 @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/tmpscqib4f1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RLIMIT_CORE = dso_local global i32 0, align 4 @RLIM_INFINITY = dso_local global ptr null, align 8 @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/tmpai9ubmlu.c' source_filename = "/tmp/tmpai9ubmlu.c" target datalayout = "e-m:e-p270: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/tmpai9ubmlu.c" target datalayout = "e-m:e-p270: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/tmpyxfnqdpg.c' source_filename = "/tmp/tmpyxfnqdpg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"usage: %s packets\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @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 [16 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 %19 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17) store i32 1, ptr %3, align 4 br label %67 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 %6, align 4 %24 = load i32, ptr @stdout, align 4 %25 = load i32, ptr @stdin, align 4 %26 = call i32 @copy_bytes(i32 noundef %24, i32 noundef %25, i32 noundef 24) %27 = icmp slt i32 %26, 24 br i1 %27, label %28, label %29 28: ; preds = %19 store i32 1, ptr %3, align 4 br label %67 29: ; preds = %19 store i32 0, ptr %8, align 4 br label %30 30: ; preds = %64, %29 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %67 34: ; preds = %30 %35 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %36 = load i32, ptr @stdin, align 4 %37 = call i64 @fread(ptr noundef %35, i32 noundef 1, i32 noundef 16, i32 noundef %36) store i64 %37, ptr %10, align 8 %38 = load i64, ptr %10, align 8 %39 = icmp ult i64 %38, 16 br i1 %39, label %40, label %49 40: ; preds = %34 %41 = load i32, ptr @stdin, align 4 %42 = call i64 @feof(i32 noundef %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %40 %45 = load i64, ptr %10, align 8 %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %44 store i32 0, ptr %3, align 4 br label %67 48: ; preds = %44, %40 store i32 1, ptr %3, align 4 br label %67 49: ; preds = %34 %50 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %51 = load i32, ptr @stdout, align 4 %52 = call i32 @fwrite(ptr noundef %50, i32 noundef 1, i32 noundef 16, i32 noundef %51) %53 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %54 = getelementptr inbounds i8, ptr %53, i64 8 %55 = load i32, ptr %54, align 4 store i32 %55, ptr %9, align 4 %56 = load i32, ptr @stdout, align 4 %57 = load i32, ptr @stdin, align 4 %58 = load i32, ptr %9, align 4 %59 = call i32 @copy_bytes(i32 noundef %56, i32 noundef %57, i32 noundef %58) %60 = load i32, ptr %9, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %63 62: ; preds = %49 store i32 1, ptr %3, align 4 br label %67 63: ; preds = %49 br label %64 64: ; preds = %63 %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %8, align 4 br label %30, !llvm.loop !6 67: ; preds = %13, %28, %47, %48, %62, %30 %68 = load i32, ptr %3, align 4 ret i32 %68 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @copy_bytes(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @feof(i32 noundef) #1 declare i32 @fwrite(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyxfnqdpg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"usage: %s packets\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @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 [16 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 %19 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17) store i32 1, ptr %3, align 4 br label %69 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 %6, align 4 %24 = load i32, ptr @stdout, align 4 %25 = load i32, ptr @stdin, align 4 %26 = call i32 @copy_bytes(i32 noundef %24, i32 noundef %25, i32 noundef 24) %27 = icmp slt i32 %26, 24 br i1 %27, label %28, label %29 28: ; preds = %19 store i32 1, ptr %3, align 4 br label %69 29: ; preds = %19 store i32 0, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %29 br label %33 33: ; preds = %.lr.ph, %63 %34 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %35 = load i32, ptr @stdin, align 4 %36 = call i64 @fread(ptr noundef %34, i32 noundef 1, i32 noundef 16, i32 noundef %35) store i64 %36, ptr %10, align 8 %37 = load i64, ptr %10, align 8 %38 = icmp ult i64 %37, 16 br i1 %38, label %39, label %48 39: ; preds = %33 %40 = load i32, ptr @stdin, align 4 %41 = call i64 @feof(i32 noundef %40) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %39 %44 = load i64, ptr %10, align 8 %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %43 store i32 0, ptr %3, align 4 br label %69 47: ; preds = %43, %39 store i32 1, ptr %3, align 4 br label %69 48: ; preds = %33 %49 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %50 = load i32, ptr @stdout, align 4 %51 = call i32 @fwrite(ptr noundef %49, i32 noundef 1, i32 noundef 16, i32 noundef %50) %52 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0 %53 = getelementptr inbounds i8, ptr %52, i64 8 %54 = load i32, ptr %53, align 4 store i32 %54, ptr %9, align 4 %55 = load i32, ptr @stdout, align 4 %56 = load i32, ptr @stdin, align 4 %57 = load i32, ptr %9, align 4 %58 = call i32 @copy_bytes(i32 noundef %55, i32 noundef %56, i32 noundef %57) %59 = load i32, ptr %9, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %62 61: ; preds = %48 store i32 1, ptr %3, align 4 br label %69 62: ; preds = %48 br label %63 63: ; preds = %62 %64 = load i32, ptr %8, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %8, align 4 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %33, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %63 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %29 br label %69 69: ; preds = %.loopexit, %61, %47, %46, %28, %13 %70 = load i32, ptr %3, align 4 ret i32 %70 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @copy_bytes(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @feof(i32 noundef) #1 declare i32 @fwrite(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"}
; ModuleID = '/tmp/tmp9mhlvn0z.c' source_filename = "/tmp/tmp9mhlvn0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%Y-%m-%dT%H:%M:%S%z\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"00_%Y%m%d_%H%M%S.txt\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"####################################\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"#\0A\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"# -- TEXTPATGEN GENERATED RANDOM DATA --\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"# -- %s --\0A\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"X-%04X \00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"X-%04X\0A\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"# -- End of file.\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 %11 = alloca i32, align 4 %12 = alloca [32 x i8], align 16 %13 = alloca [32 x i8], align 16 %14 = 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 %15 = call i32 @time(ptr noundef %11) %16 = call ptr @localtime(ptr noundef %11) store ptr %16, ptr %14, align 8 %17 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0 %18 = load ptr, ptr %14, align 8 %19 = call i32 @strftime(ptr noundef %17, i32 noundef 32, ptr noundef @.str, ptr noundef %18) %20 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0 %21 = load ptr, ptr %14, align 8 %22 = call i32 @strftime(ptr noundef %20, i32 noundef 32, ptr noundef @.str.1, ptr noundef %21) %23 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.2) store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %10, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.3) %27 = load ptr, ptr %10, align 8 %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.4) %29 = load ptr, ptr %10, align 8 %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.5) %31 = load ptr, ptr %10, align 8 %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.4) %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0 %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.6, ptr noundef %34) %36 = load ptr, ptr %10, align 8 %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.4) %38 = load ptr, ptr %10, align 8 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.3) %40 = call i32 @srand(i32 noundef 100) store i32 32767, ptr %9, align 4 %41 = call i32 (...) @rand() %42 = load i32, ptr %9, align 4 %43 = srem i32 %41, %42 store i32 %43, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %44 44: ; preds = %68, %2 %45 = load i32, ptr %7, align 4 %46 = icmp slt i32 %45, 16 br i1 %46, label %47, label %71 47: ; preds = %44 store i32 0, ptr %8, align 4 br label %48 48: ; preds = %58, %47 %49 = load i32, ptr %8, align 4 %50 = icmp slt i32 %49, 15 br i1 %50, label %51, label %61 51: ; preds = %48 %52 = load ptr, ptr %10, align 8 %53 = load i32, ptr %6, align 4 %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.7, i32 noundef %53) %55 = call i32 (...) @rand() %56 = load i32, ptr %9, align 4 %57 = srem i32 %55, %56 store i32 %57, ptr %6, align 4 br label %58 58: ; preds = %51 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %8, align 4 br label %48, !llvm.loop !6 61: ; preds = %48 %62 = load ptr, ptr %10, align 8 %63 = load i32, ptr %6, align 4 %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.8, i32 noundef %63) %65 = call i32 (...) @rand() %66 = load i32, ptr %9, align 4 %67 = srem i32 %65, %66 store i32 %67, ptr %6, align 4 br label %68 68: ; preds = %61 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %7, align 4 br label %44, !llvm.loop !8 71: ; preds = %44 %72 = load ptr, ptr %10, align 8 %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef @.str.9) %74 = load ptr, ptr %10, align 8 %75 = call i32 @fclose(ptr noundef %74) ret i32 0 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @rand(...) #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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9mhlvn0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%Y-%m-%dT%H:%M:%S%z\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"00_%Y%m%d_%H%M%S.txt\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"####################################\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"#\0A\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"# -- TEXTPATGEN GENERATED RANDOM DATA --\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"# -- %s --\0A\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"X-%04X \00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"X-%04X\0A\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"# -- End of file.\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 %11 = alloca i32, align 4 %12 = alloca [32 x i8], align 16 %13 = alloca [32 x i8], align 16 %14 = 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 %15 = call i32 @time(ptr noundef %11) %16 = call ptr @localtime(ptr noundef %11) store ptr %16, ptr %14, align 8 %17 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0 %18 = load ptr, ptr %14, align 8 %19 = call i32 @strftime(ptr noundef %17, i32 noundef 32, ptr noundef @.str, ptr noundef %18) %20 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0 %21 = load ptr, ptr %14, align 8 %22 = call i32 @strftime(ptr noundef %20, i32 noundef 32, ptr noundef @.str.1, ptr noundef %21) %23 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.2) store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %10, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.3) %27 = load ptr, ptr %10, align 8 %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.4) %29 = load ptr, ptr %10, align 8 %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.5) %31 = load ptr, ptr %10, align 8 %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.4) %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0 %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.6, ptr noundef %34) %36 = load ptr, ptr %10, align 8 %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.4) %38 = load ptr, ptr %10, align 8 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.3) %40 = call i32 @srand(i32 noundef 100) store i32 32767, ptr %9, align 4 %41 = call i32 (...) @rand() %42 = load i32, ptr %9, align 4 %43 = srem i32 %41, %42 store i32 %43, ptr %6, align 4 store i32 0, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %44, 16 br i1 %45, label %.lr.ph2, label %73 .lr.ph2: ; preds = %2 br label %46 46: ; preds = %.lr.ph2, %68 store i32 0, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp slt i32 %47, 15 br i1 %48, label %.lr.ph, label %61 .lr.ph: ; preds = %46 br label %49 49: ; preds = %.lr.ph, %56 %50 = load ptr, ptr %10, align 8 %51 = load i32, ptr %6, align 4 %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.7, i32 noundef %51) %53 = call i32 (...) @rand() %54 = load i32, ptr %9, align 4 %55 = srem i32 %53, %54 store i32 %55, ptr %6, align 4 br label %56 56: ; preds = %49 %57 = load i32, ptr %8, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %8, align 4 %59 = load i32, ptr %8, align 4 %60 = icmp slt i32 %59, 15 br i1 %60, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %61 61: ; preds = %._crit_edge, %46 %62 = load ptr, ptr %10, align 8 %63 = load i32, ptr %6, align 4 %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.8, i32 noundef %63) %65 = call i32 (...) @rand() %66 = load i32, ptr %9, align 4 %67 = srem i32 %65, %66 store i32 %67, ptr %6, align 4 br label %68 68: ; preds = %61 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %7, align 4 %71 = load i32, ptr %7, align 4 %72 = icmp slt i32 %71, 16 br i1 %72, label %46, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %68 br label %73 73: ; preds = %._crit_edge3, %2 %74 = load ptr, ptr %10, align 8 %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.9) %76 = load ptr, ptr %10, align 8 %77 = call i32 @fclose(ptr noundef %76) ret i32 0 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @srand(i32 noundef) #1 declare i32 @rand(...) #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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbrxrpx9s.c' source_filename = "/tmp/tmpbrxrpx9s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @saturatemat(ptr noundef %0, float noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca float, align 4 %5 = alloca [4 x [4 x float]], align 16 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 store ptr %0, ptr %3, align 8 store float %1, ptr %4, align 4 store float 0x3FCB367A00000000, ptr %15, align 4 store float 0x3FE6E2EB20000000, ptr %16, align 4 store float 0x3FB27BB300000000, ptr %17, align 4 %18 = load float, ptr %4, align 4 %19 = fpext float %18 to double %20 = fsub double 1.000000e+00, %19 %21 = load float, ptr %15, align 4 %22 = fpext float %21 to double %23 = load float, ptr %4, align 4 %24 = fpext float %23 to double %25 = call double @llvm.fmuladd.f64(double %20, double %22, double %24) %26 = fptrunc double %25 to float store float %26, ptr %6, align 4 %27 = load float, ptr %4, align 4 %28 = fpext float %27 to double %29 = fsub double 1.000000e+00, %28 %30 = load float, ptr %15, align 4 %31 = fpext float %30 to double %32 = fmul double %29, %31 %33 = fptrunc double %32 to float store float %33, ptr %7, align 4 %34 = load float, ptr %4, align 4 %35 = fpext float %34 to double %36 = fsub double 1.000000e+00, %35 %37 = load float, ptr %15, align 4 %38 = fpext float %37 to double %39 = fmul double %36, %38 %40 = fptrunc double %39 to float store float %40, ptr %8, align 4 %41 = load float, ptr %4, align 4 %42 = fpext float %41 to double %43 = fsub double 1.000000e+00, %42 %44 = load float, ptr %16, align 4 %45 = fpext float %44 to double %46 = fmul double %43, %45 %47 = fptrunc double %46 to float store float %47, ptr %9, align 4 %48 = load float, ptr %4, align 4 %49 = fpext float %48 to double %50 = fsub double 1.000000e+00, %49 %51 = load float, ptr %16, align 4 %52 = fpext float %51 to double %53 = load float, ptr %4, align 4 %54 = fpext float %53 to double %55 = call double @llvm.fmuladd.f64(double %50, double %52, double %54) %56 = fptrunc double %55 to float store float %56, ptr %10, align 4 %57 = load float, ptr %4, align 4 %58 = fpext float %57 to double %59 = fsub double 1.000000e+00, %58 %60 = load float, ptr %16, align 4 %61 = fpext float %60 to double %62 = fmul double %59, %61 %63 = fptrunc double %62 to float store float %63, ptr %11, align 4 %64 = load float, ptr %4, align 4 %65 = fpext float %64 to double %66 = fsub double 1.000000e+00, %65 %67 = load float, ptr %17, align 4 %68 = fpext float %67 to double %69 = fmul double %66, %68 %70 = fptrunc double %69 to float store float %70, ptr %12, align 4 %71 = load float, ptr %4, align 4 %72 = fpext float %71 to double %73 = fsub double 1.000000e+00, %72 %74 = load float, ptr %17, align 4 %75 = fpext float %74 to double %76 = fmul double %73, %75 %77 = fptrunc double %76 to float store float %77, ptr %13, align 4 %78 = load float, ptr %4, align 4 %79 = fpext float %78 to double %80 = fsub double 1.000000e+00, %79 %81 = load float, ptr %17, align 4 %82 = fpext float %81 to double %83 = load float, ptr %4, align 4 %84 = fpext float %83 to double %85 = call double @llvm.fmuladd.f64(double %80, double %82, double %84) %86 = fptrunc double %85 to float store float %86, ptr %14, align 4 %87 = load float, ptr %6, align 4 %88 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0 %89 = getelementptr inbounds [4 x float], ptr %88, i64 0, i64 0 store float %87, ptr %89, align 16 %90 = load float, ptr %7, align 4 %91 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0 %92 = getelementptr inbounds [4 x float], ptr %91, i64 0, i64 1 store float %90, ptr %92, align 4 %93 = load float, ptr %8, align 4 %94 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0 %95 = getelementptr inbounds [4 x float], ptr %94, i64 0, i64 2 store float %93, ptr %95, align 8 %96 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0 %97 = getelementptr inbounds [4 x float], ptr %96, i64 0, i64 3 store float 0.000000e+00, ptr %97, align 4 %98 = load float, ptr %9, align 4 %99 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 1 %100 = getelementptr inbounds [4 x float], ptr %99, i64 0, i64 0 store float %98, ptr %100, align 16 %101 = load float, ptr %10, align 4 %102 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 1 %103 = getelementptr inbounds [4 x float], ptr %102, i64 0, i64 1 store float %101, ptr %103, align 4 %104 = load float, ptr %11, align 4 %105 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 1 %106 = getelementptr inbounds [4 x float], ptr %105, i64 0, i64 2 store float %104, ptr %106, align 8 %107 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 1 %108 = getelementptr inbounds [4 x float], ptr %107, i64 0, i64 3 store float 0.000000e+00, ptr %108, align 4 %109 = load float, ptr %12, align 4 %110 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 2 %111 = getelementptr inbounds [4 x float], ptr %110, i64 0, i64 0 store float %109, ptr %111, align 16 %112 = load float, ptr %13, align 4 %113 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 2 %114 = getelementptr inbounds [4 x float], ptr %113, i64 0, i64 1 store float %112, ptr %114, align 4 %115 = load float, ptr %14, align 4 %116 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 2 %117 = getelementptr inbounds [4 x float], ptr %116, i64 0, i64 2 store float %115, ptr %117, align 8 %118 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 2 %119 = getelementptr inbounds [4 x float], ptr %118, i64 0, i64 3 store float 0.000000e+00, ptr %119, align 4 %120 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 3 %121 = getelementptr inbounds [4 x float], ptr %120, i64 0, i64 0 store float 0.000000e+00, ptr %121, align 16 %122 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 3 %123 = getelementptr inbounds [4 x float], ptr %122, i64 0, i64 1 store float 0.000000e+00, ptr %123, align 4 %124 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 3 %125 = getelementptr inbounds [4 x float], ptr %124, i64 0, i64 2 store float 0.000000e+00, ptr %125, align 8 %126 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 3 %127 = getelementptr inbounds [4 x float], ptr %126, i64 0, i64 3 store float 1.000000e+00, ptr %127, align 4 %128 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0 %129 = load ptr, ptr %3, align 8 %130 = load ptr, ptr %3, align 8 %131 = call i32 @matrixmult(ptr noundef %128, ptr noundef %129, ptr noundef %130) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @matrixmult(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmpbrxrpx9s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @saturatemat(ptr noundef %0, float noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca float, align 4 %5 = alloca [4 x [4 x float]], align 16 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 store ptr %0, ptr %3, align 8 store float %1, ptr %4, align 4 store float 0x3FCB367A00000000, ptr %15, align 4 store float 0x3FE6E2EB20000000, ptr %16, align 4 store float 0x3FB27BB300000000, ptr %17, align 4 %18 = load float, ptr %4, align 4 %19 = fpext float %18 to double %20 = fsub double 1.000000e+00, %19 %21 = load float, ptr %15, align 4 %22 = fpext float %21 to double %23 = load float, ptr %4, align 4 %24 = fpext float %23 to double %25 = call double @llvm.fmuladd.f64(double %20, double %22, double %24) %26 = fptrunc double %25 to float store float %26, ptr %6, align 4 %27 = load float, ptr %4, align 4 %28 = fpext float %27 to double %29 = fsub double 1.000000e+00, %28 %30 = load float, ptr %15, align 4 %31 = fpext float %30 to double %32 = fmul double %29, %31 %33 = fptrunc double %32 to float store float %33, ptr %7, align 4 %34 = load float, ptr %4, align 4 %35 = fpext float %34 to double %36 = fsub double 1.000000e+00, %35 %37 = load float, ptr %15, align 4 %38 = fpext float %37 to double %39 = fmul double %36, %38 %40 = fptrunc double %39 to float store float %40, ptr %8, align 4 %41 = load float, ptr %4, align 4 %42 = fpext float %41 to double %43 = fsub double 1.000000e+00, %42 %44 = load float, ptr %16, align 4 %45 = fpext float %44 to double %46 = fmul double %43, %45 %47 = fptrunc double %46 to float store float %47, ptr %9, align 4 %48 = load float, ptr %4, align 4 %49 = fpext float %48 to double %50 = fsub double 1.000000e+00, %49 %51 = load float, ptr %16, align 4 %52 = fpext float %51 to double %53 = load float, ptr %4, align 4 %54 = fpext float %53 to double %55 = call double @llvm.fmuladd.f64(double %50, double %52, double %54) %56 = fptrunc double %55 to float store float %56, ptr %10, align 4 %57 = load float, ptr %4, align 4 %58 = fpext float %57 to double %59 = fsub double 1.000000e+00, %58 %60 = load float, ptr %16, align 4 %61 = fpext float %60 to double %62 = fmul double %59, %61 %63 = fptrunc double %62 to float store float %63, ptr %11, align 4 %64 = load float, ptr %4, align 4 %65 = fpext float %64 to double %66 = fsub double 1.000000e+00, %65 %67 = load float, ptr %17, align 4 %68 = fpext float %67 to double %69 = fmul double %66, %68 %70 = fptrunc double %69 to float store float %70, ptr %12, align 4 %71 = load float, ptr %4, align 4 %72 = fpext float %71 to double %73 = fsub double 1.000000e+00, %72 %74 = load float, ptr %17, align 4 %75 = fpext float %74 to double %76 = fmul double %73, %75 %77 = fptrunc double %76 to float store float %77, ptr %13, align 4 %78 = load float, ptr %4, align 4 %79 = fpext float %78 to double %80 = fsub double 1.000000e+00, %79 %81 = load float, ptr %17, align 4 %82 = fpext float %81 to double %83 = load float, ptr %4, align 4 %84 = fpext float %83 to double %85 = call double @llvm.fmuladd.f64(double %80, double %82, double %84) %86 = fptrunc double %85 to float store float %86, ptr %14, align 4 %87 = load float, ptr %6, align 4 %88 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0 %89 = getelementptr inbounds [4 x float], ptr %88, i64 0, i64 0 store float %87, ptr %89, align 16 %90 = load float, ptr %7, align 4 %91 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0 %92 = getelementptr inbounds [4 x float], ptr %91, i64 0, i64 1 store float %90, ptr %92, align 4 %93 = load float, ptr %8, align 4 %94 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0 %95 = getelementptr inbounds [4 x float], ptr %94, i64 0, i64 2 store float %93, ptr %95, align 8 %96 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0 %97 = getelementptr inbounds [4 x float], ptr %96, i64 0, i64 3 store float 0.000000e+00, ptr %97, align 4 %98 = load float, ptr %9, align 4 %99 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 1 %100 = getelementptr inbounds [4 x float], ptr %99, i64 0, i64 0 store float %98, ptr %100, align 16 %101 = load float, ptr %10, align 4 %102 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 1 %103 = getelementptr inbounds [4 x float], ptr %102, i64 0, i64 1 store float %101, ptr %103, align 4 %104 = load float, ptr %11, align 4 %105 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 1 %106 = getelementptr inbounds [4 x float], ptr %105, i64 0, i64 2 store float %104, ptr %106, align 8 %107 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 1 %108 = getelementptr inbounds [4 x float], ptr %107, i64 0, i64 3 store float 0.000000e+00, ptr %108, align 4 %109 = load float, ptr %12, align 4 %110 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 2 %111 = getelementptr inbounds [4 x float], ptr %110, i64 0, i64 0 store float %109, ptr %111, align 16 %112 = load float, ptr %13, align 4 %113 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 2 %114 = getelementptr inbounds [4 x float], ptr %113, i64 0, i64 1 store float %112, ptr %114, align 4 %115 = load float, ptr %14, align 4 %116 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 2 %117 = getelementptr inbounds [4 x float], ptr %116, i64 0, i64 2 store float %115, ptr %117, align 8 %118 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 2 %119 = getelementptr inbounds [4 x float], ptr %118, i64 0, i64 3 store float 0.000000e+00, ptr %119, align 4 %120 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 3 %121 = getelementptr inbounds [4 x float], ptr %120, i64 0, i64 0 store float 0.000000e+00, ptr %121, align 16 %122 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 3 %123 = getelementptr inbounds [4 x float], ptr %122, i64 0, i64 1 store float 0.000000e+00, ptr %123, align 4 %124 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 3 %125 = getelementptr inbounds [4 x float], ptr %124, i64 0, i64 2 store float 0.000000e+00, ptr %125, align 8 %126 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 3 %127 = getelementptr inbounds [4 x float], ptr %126, i64 0, i64 3 store float 1.000000e+00, ptr %127, align 4 %128 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0 %129 = load ptr, ptr %3, align 8 %130 = load ptr, ptr %3, align 8 %131 = call i32 @matrixmult(ptr noundef %128, ptr noundef %129, ptr noundef %130) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @matrixmult(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmpkde6natd.c' source_filename = "/tmp/tmpkde6natd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkde6natd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}