llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpb5zeyn1n.c' source_filename = "/tmp/tmpb5zeyn1n.c" target datalayout = "e-m:e-p270: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/tmpb5zeyn1n.c" target datalayout = "e-m:e-p270: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/tmpdqd8y8rv.c' source_filename = "/tmp/tmpdqd8y8rv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @INT_Excep_USB0_D1FIFO0() #0 { %1 = call i32 (...) @dmaCompleteUsbCh1In() ret void } declare i32 @dmaCompleteUsbCh1In(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdqd8y8rv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @INT_Excep_USB0_D1FIFO0() #0 { %1 = call i32 (...) @dmaCompleteUsbCh1In() ret void } declare i32 @dmaCompleteUsbCh1In(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsyofm4l8.c' source_filename = "/tmp/tmpsyofm4l8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter amount of loan: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Enter interest rate: \00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Enter monthly payment: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 store float 0.000000e+00, ptr %4, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 @printf(ptr noundef @.str.3) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsyofm4l8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter amount of loan: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Enter interest rate: \00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Enter monthly payment: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 store float 0.000000e+00, ptr %4, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 @printf(ptr noundef @.str.3) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw5fu0jhr.c' source_filename = "/tmp/tmpw5fu0jhr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @filestat(ptr noundef %0) #0 { %2 = alloca %struct.stat, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @stat(ptr noundef %4, ptr noundef %2) %6 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0 %7 = load i32, ptr %6, align 4 ret i32 %7 } declare i32 @stat(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/tmpw5fu0jhr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @filestat(ptr noundef %0) #0 { %2 = alloca %struct.stat, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @stat(ptr noundef %4, ptr noundef %2) %6 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0 %7 = load i32, ptr %6, align 4 ret i32 %7 } declare i32 @stat(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/tmpjaira9k3.c' source_filename = "/tmp/tmpjaira9k3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTLD_LAZY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Error loading module %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/zehome/old-MyBot/refs/heads/master/src/modules.c\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"Module %s successfully loaded.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @loadModule(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 = load i32, ptr @RTLD_LAZY, align 4 %6 = call ptr @dlopen(ptr noundef %4, i32 noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %2, align 8 %12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11) %13 = load i32, ptr @stderr, align 4 %14 = call ptr (...) @dlerror() %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14) br label %19 16: ; preds = %1 %17 = load ptr, ptr %2, align 8 %18 = call i32 @_DEBUG(i32 noundef 3, i32 noundef 124, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %17) br label %19 19: ; preds = %16, %9 %20 = load ptr, ptr %3, align 8 ret ptr %20 } declare ptr @dlopen(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @dlerror(...) #1 declare i32 @_DEBUG(i32 noundef, 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/tmpjaira9k3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTLD_LAZY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Error loading module %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/zehome/old-MyBot/refs/heads/master/src/modules.c\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"Module %s successfully loaded.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @loadModule(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 = load i32, ptr @RTLD_LAZY, align 4 %6 = call ptr @dlopen(ptr noundef %4, i32 noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %2, align 8 %12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11) %13 = load i32, ptr @stderr, align 4 %14 = call ptr (...) @dlerror() %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14) br label %19 16: ; preds = %1 %17 = load ptr, ptr %2, align 8 %18 = call i32 @_DEBUG(i32 noundef 3, i32 noundef 124, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %17) br label %19 19: ; preds = %16, %9 %20 = load ptr, ptr %3, align 8 ret ptr %20 } declare ptr @dlopen(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @dlerror(...) #1 declare i32 @_DEBUG(i32 noundef, 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/tmptkcrltih.c' source_filename = "/tmp/tmptkcrltih.c" target datalayout = "e-m:e-p270: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 [28 x i8] c"usage: %s new_root put_old\0A\00", align 1 @SYS_pivot_root = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"pivot_root\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, 3 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12) store i32 1, ptr %3, align 4 br label %27 14: ; preds = %2 %15 = load i32, ptr @SYS_pivot_root, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 %22 = call i64 @syscall(i32 noundef %15, ptr noundef %18, ptr noundef %21) %23 = icmp slt i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %14 %25 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %27 26: ; preds = %14 store i32 0, ptr %3, align 4 br label %27 27: ; preds = %26, %24, %8 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @syscall(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptkcrltih.c" target datalayout = "e-m:e-p270: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 [28 x i8] c"usage: %s new_root put_old\0A\00", align 1 @SYS_pivot_root = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"pivot_root\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, 3 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12) store i32 1, ptr %3, align 4 br label %27 14: ; preds = %2 %15 = load i32, ptr @SYS_pivot_root, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 %22 = call i64 @syscall(i32 noundef %15, ptr noundef %18, ptr noundef %21) %23 = icmp slt i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %14 %25 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %27 26: ; preds = %14 store i32 0, ptr %3, align 4 br label %27 27: ; preds = %26, %24, %8 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @syscall(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpey03urvm.c' source_filename = "/tmp/tmpey03urvm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"AA\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"BB\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"CC\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"DD\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"EE\00", align 1 @__const.test_qsort_strings_reversed.expect = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16 @__const.test_qsort_strings_reversed.in_str = private unnamed_addr constant [5 x ptr] [ptr @.str.4, ptr @.str.3, ptr @.str.2, ptr @.str.1, ptr @.str], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_qsort_strings_reversed() #0 { %1 = alloca [5 x ptr], align 16 %2 = alloca [5 x ptr], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_qsort_strings_reversed.expect, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_qsort_strings_reversed.in_str, i64 40, i1 false) %3 = getelementptr inbounds [5 x ptr], ptr %2, i64 0, i64 0 %4 = getelementptr inbounds [5 x ptr], ptr %1, i64 0, i64 0 %5 = call i32 @test_qsort_strings(ptr noundef %3, ptr noundef %4, i32 noundef 5) ret i32 %5 } ; 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 @test_qsort_strings(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpey03urvm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"AA\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"BB\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"CC\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"DD\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"EE\00", align 1 @__const.test_qsort_strings_reversed.expect = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16 @__const.test_qsort_strings_reversed.in_str = private unnamed_addr constant [5 x ptr] [ptr @.str.4, ptr @.str.3, ptr @.str.2, ptr @.str.1, ptr @.str], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_qsort_strings_reversed() #0 { %1 = alloca [5 x ptr], align 16 %2 = alloca [5 x ptr], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_qsort_strings_reversed.expect, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_qsort_strings_reversed.in_str, i64 40, i1 false) %3 = getelementptr inbounds [5 x ptr], ptr %2, i64 0, i64 0 %4 = getelementptr inbounds [5 x ptr], ptr %1, i64 0, i64 0 %5 = call i32 @test_qsort_strings(ptr noundef %3, ptr noundef %4, i32 noundef 5) ret i32 %5 } ; 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 @test_qsort_strings(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfv_u5ddl.c' source_filename = "/tmp/tmpfv_u5ddl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Too short S3 len=%i\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Too long S3 len=%i\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Unknown special S3 record: '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @process_s3(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 4 br i1 %10, label %11, label %14 11: ; preds = %3 %12 = load i32, ptr %7, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) store i32 1, ptr %4, align 4 br label %84 14: ; preds = %3 %15 = load i32, ptr %7, align 4 %16 = sub nsw i32 %15, 4 %17 = icmp sgt i32 %16, 128 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19) store i32 1, ptr %4, align 4 br label %84 21: ; preds = %14 %22 = load ptr, ptr %6, align 8 %23 = call i32 @get_hex32(ptr noundef %22) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %24, 4 store i32 %25, ptr %7, align 4 %26 = load ptr, ptr %6, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 8 store ptr %27, ptr %6, align 8 %28 = load i32, ptr %8, align 4 %29 = and i32 %28, -16777216 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %74 31: ; preds = %21 %32 = load i32, ptr %8, align 4 %33 = icmp eq i32 %32, -16777216 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = load ptr, ptr %5, align 8 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %8, align 4 %39 = call i64 @process_s3_plug(ptr noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %34 store i32 1, ptr %4, align 4 br label %84 42: ; preds = %34 br label %73 43: ; preds = %31 %44 = load i32, ptr %8, align 4 %45 = icmp eq i32 %44, -15728640 br i1 %45, label %46, label %55 46: ; preds = %43 %47 = load ptr, ptr %5, align 8 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %8, align 4 %51 = call i64 @process_s3_crc16(ptr noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %46 store i32 1, ptr %4, align 4 br label %84 54: ; preds = %46 br label %72 55: ; preds = %43 %56 = load i32, ptr %8, align 4 %57 = and i32 %56, -65536 %58 = icmp eq i32 %57, -14680064 br i1 %58, label %59, label %68 59: ; preds = %55 %60 = load ptr, ptr %5, align 8 %61 = load ptr, ptr %6, align 8 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %8, align 4 %64 = call i64 @process_s3_fw_info(ptr noundef %60, ptr noundef %61, i32 noundef %62, i32 noundef %63) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %67 66: ; preds = %59 store i32 1, ptr %4, align 4 br label %84 67: ; preds = %59 br label %71 68: ; preds = %55 %69 = load ptr, ptr %6, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %69) store i32 1, ptr %4, align 4 br label %84 71: ; preds = %67 br label %72 72: ; preds = %71, %54 br label %73 73: ; preds = %72, %42 br label %83 74: ; preds = %21 %75 = load ptr, ptr %5, align 8 %76 = load ptr, ptr %6, align 8 %77 = load i32, ptr %7, align 4 %78 = load i32, ptr %8, align 4 %79 = call i64 @process_s3_data(ptr noundef %75, ptr noundef %76, i32 noundef %77, i32 noundef %78) %80 = icmp ne i64 %79, 0 br i1 %80, label %81, label %82 81: ; preds = %74 store i32 1, ptr %4, align 4 br label %84 82: ; preds = %74 br label %83 83: ; preds = %82, %73 store i32 0, ptr %4, align 4 br label %84 84: ; preds = %83, %81, %68, %66, %53, %41, %18, %11 %85 = load i32, ptr %4, align 4 ret i32 %85 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @get_hex32(ptr noundef) #1 declare i64 @process_s3_plug(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @process_s3_crc16(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @process_s3_fw_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @process_s3_data(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfv_u5ddl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Too short S3 len=%i\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Too long S3 len=%i\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Unknown special S3 record: '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @process_s3(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 4 br i1 %10, label %11, label %14 11: ; preds = %3 %12 = load i32, ptr %7, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) store i32 1, ptr %4, align 4 br label %84 14: ; preds = %3 %15 = load i32, ptr %7, align 4 %16 = sub nsw i32 %15, 4 %17 = icmp sgt i32 %16, 128 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19) store i32 1, ptr %4, align 4 br label %84 21: ; preds = %14 %22 = load ptr, ptr %6, align 8 %23 = call i32 @get_hex32(ptr noundef %22) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %24, 4 store i32 %25, ptr %7, align 4 %26 = load ptr, ptr %6, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 8 store ptr %27, ptr %6, align 8 %28 = load i32, ptr %8, align 4 %29 = and i32 %28, -16777216 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %74 31: ; preds = %21 %32 = load i32, ptr %8, align 4 %33 = icmp eq i32 %32, -16777216 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = load ptr, ptr %5, align 8 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %8, align 4 %39 = call i64 @process_s3_plug(ptr noundef %35, ptr noundef %36, i32 noundef %37, i32 noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %34 store i32 1, ptr %4, align 4 br label %84 42: ; preds = %34 br label %73 43: ; preds = %31 %44 = load i32, ptr %8, align 4 %45 = icmp eq i32 %44, -15728640 br i1 %45, label %46, label %55 46: ; preds = %43 %47 = load ptr, ptr %5, align 8 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %8, align 4 %51 = call i64 @process_s3_crc16(ptr noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %46 store i32 1, ptr %4, align 4 br label %84 54: ; preds = %46 br label %72 55: ; preds = %43 %56 = load i32, ptr %8, align 4 %57 = and i32 %56, -65536 %58 = icmp eq i32 %57, -14680064 br i1 %58, label %59, label %68 59: ; preds = %55 %60 = load ptr, ptr %5, align 8 %61 = load ptr, ptr %6, align 8 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %8, align 4 %64 = call i64 @process_s3_fw_info(ptr noundef %60, ptr noundef %61, i32 noundef %62, i32 noundef %63) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %67 66: ; preds = %59 store i32 1, ptr %4, align 4 br label %84 67: ; preds = %59 br label %71 68: ; preds = %55 %69 = load ptr, ptr %6, align 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %69) store i32 1, ptr %4, align 4 br label %84 71: ; preds = %67 br label %72 72: ; preds = %71, %54 br label %73 73: ; preds = %72, %42 br label %83 74: ; preds = %21 %75 = load ptr, ptr %5, align 8 %76 = load ptr, ptr %6, align 8 %77 = load i32, ptr %7, align 4 %78 = load i32, ptr %8, align 4 %79 = call i64 @process_s3_data(ptr noundef %75, ptr noundef %76, i32 noundef %77, i32 noundef %78) %80 = icmp ne i64 %79, 0 br i1 %80, label %81, label %82 81: ; preds = %74 store i32 1, ptr %4, align 4 br label %84 82: ; preds = %74 br label %83 83: ; preds = %82, %73 store i32 0, ptr %4, align 4 br label %84 84: ; preds = %83, %81, %68, %66, %53, %41, %18, %11 %85 = load i32, ptr %4, align 4 ret i32 %85 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @get_hex32(ptr noundef) #1 declare i64 @process_s3_plug(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @process_s3_crc16(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @process_s3_fw_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @process_s3_data(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp37praa5l.c' source_filename = "/tmp/tmp37praa5l.c" target datalayout = "e-m:e-p270: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/tmp37praa5l.c" target datalayout = "e-m:e-p270: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/tmpgrotoylk.c' source_filename = "/tmp/tmpgrotoylk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HELLO WORLD\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func() #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/tmpgrotoylk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HELLO WORLD\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func() #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/tmpz7ydlv37.c' source_filename = "/tmp/tmpz7ydlv37.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_buffer_crc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 4294967295, ptr %5, align 8 store i64 4294967295, ptr %6, align 8 store i64 4294967295, ptr %7, align 8 %20 = load i64, ptr %4, align 8 store i64 %20, ptr %8, align 8 store i64 79764919, ptr %9, align 8 store i64 2147483648, ptr %10, align 8 store i32 0, ptr %11, align 4 br label %21 21: ; preds = %62, %2 %22 = load i32, ptr %11, align 4 %23 = sext i32 %22 to i64 %24 = load i64, ptr %8, align 8 %25 = icmp slt i64 %23, %24 br i1 %25, label %26, label %65 26: ; preds = %21 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %11, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i64 store i64 %32, ptr %13, align 8 store i64 128, ptr %12, align 8 br label %33 33: ; preds = %58, %26 %34 = load i64, ptr %12, align 8 %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %61 36: ; preds = %33 %37 = load i64, ptr %5, align 8 %38 = load i64, ptr %10, align 8 %39 = and i64 %37, %38 store i64 %39, ptr %14, align 8 %40 = load i64, ptr %5, align 8 %41 = shl i64 %40, 1 store i64 %41, ptr %5, align 8 %42 = load i64, ptr %13, align 8 %43 = load i64, ptr %12, align 8 %44 = and i64 %42, %43 %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %36 %47 = load i64, ptr %10, align 8 %48 = load i64, ptr %14, align 8 %49 = xor i64 %48, %47 store i64 %49, ptr %14, align 8 br label %50 50: ; preds = %46, %36 %51 = load i64, ptr %14, align 8 %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %57 53: ; preds = %50 %54 = load i64, ptr %9, align 8 %55 = load i64, ptr %5, align 8 %56 = xor i64 %55, %54 store i64 %56, ptr %5, align 8 br label %57 57: ; preds = %53, %50 br label %58 58: ; preds = %57 %59 = load i64, ptr %12, align 8 %60 = ashr i64 %59, 1 store i64 %60, ptr %12, align 8 br label %33, !llvm.loop !6 61: ; preds = %33 br label %62 62: ; preds = %61 %63 = load i32, ptr %11, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %11, align 4 br label %21, !llvm.loop !8 65: ; preds = %21 %66 = load i64, ptr %6, align 8 %67 = load i64, ptr %5, align 8 %68 = xor i64 %67, %66 store i64 %68, ptr %5, align 8 %69 = load i64, ptr %7, align 8 %70 = load i64, ptr %5, align 8 %71 = and i64 %70, %69 store i64 %71, ptr %5, align 8 %72 = load i64, ptr %5, align 8 %73 = and i64 %72, -16777216 %74 = ashr i64 %73, 24 %75 = trunc i64 %74 to i32 store i32 %75, ptr %15, align 4 %76 = load i64, ptr %5, align 8 %77 = and i64 %76, 16711680 %78 = ashr i64 %77, 16 %79 = trunc i64 %78 to i32 store i32 %79, ptr %16, align 4 %80 = load i64, ptr %5, align 8 %81 = and i64 %80, 65280 %82 = ashr i64 %81, 8 %83 = trunc i64 %82 to i32 store i32 %83, ptr %17, align 4 %84 = load i64, ptr %5, align 8 %85 = and i64 %84, 255 %86 = trunc i64 %85 to i32 store i32 %86, ptr %18, align 4 %87 = load i32, ptr %15, align 4 %88 = load i32, ptr %16, align 4 %89 = shl i32 %88, 8 %90 = or i32 %87, %89 %91 = load i32, ptr %17, align 4 %92 = shl i32 %91, 16 %93 = or i32 %90, %92 %94 = load i32, ptr %18, align 4 %95 = shl i32 %94, 24 %96 = or i32 %93, %95 store i32 %96, ptr %19, align 4 %97 = load i32, ptr %19, align 4 %98 = call i32 @reverse_endian32(i32 noundef %97) ret i32 %98 } declare i32 @reverse_endian32(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz7ydlv37.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_buffer_crc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 4294967295, ptr %5, align 8 store i64 4294967295, ptr %6, align 8 store i64 4294967295, ptr %7, align 8 %20 = load i64, ptr %4, align 8 store i64 %20, ptr %8, align 8 store i64 79764919, ptr %9, align 8 store i64 2147483648, ptr %10, align 8 store i32 0, ptr %11, align 4 %21 = load i32, ptr %11, align 4 %22 = sext i32 %21 to i64 %23 = load i64, ptr %8, align 8 %24 = icmp slt i64 %22, %23 br i1 %24, label %.lr.ph2, label %69 .lr.ph2: ; preds = %2 br label %25 25: ; preds = %.lr.ph2, %62 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %11, 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 i64 store i64 %31, ptr %13, align 8 store i64 128, ptr %12, align 8 %32 = load i64, ptr %12, align 8 %33 = icmp ne i64 %32, 0 br i1 %33, label %.lr.ph, label %61 .lr.ph: ; preds = %25 br label %34 34: ; preds = %.lr.ph, %56 %35 = load i64, ptr %5, align 8 %36 = load i64, ptr %10, align 8 %37 = and i64 %35, %36 store i64 %37, ptr %14, align 8 %38 = load i64, ptr %5, align 8 %39 = shl i64 %38, 1 store i64 %39, ptr %5, align 8 %40 = load i64, ptr %13, align 8 %41 = load i64, ptr %12, align 8 %42 = and i64 %40, %41 %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %34 %45 = load i64, ptr %10, align 8 %46 = load i64, ptr %14, align 8 %47 = xor i64 %46, %45 store i64 %47, ptr %14, align 8 br label %48 48: ; preds = %44, %34 %49 = load i64, ptr %14, align 8 %50 = icmp ne i64 %49, 0 br i1 %50, label %51, label %55 51: ; preds = %48 %52 = load i64, ptr %9, align 8 %53 = load i64, ptr %5, align 8 %54 = xor i64 %53, %52 store i64 %54, ptr %5, align 8 br label %55 55: ; preds = %51, %48 br label %56 56: ; preds = %55 %57 = load i64, ptr %12, align 8 %58 = ashr i64 %57, 1 store i64 %58, ptr %12, align 8 %59 = load i64, ptr %12, align 8 %60 = icmp ne i64 %59, 0 br i1 %60, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %61 61: ; preds = %._crit_edge, %25 br label %62 62: ; preds = %61 %63 = load i32, ptr %11, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %11, align 4 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = load i64, ptr %8, align 8 %68 = icmp slt i64 %66, %67 br i1 %68, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %69 69: ; preds = %._crit_edge3, %2 %70 = load i64, ptr %6, align 8 %71 = load i64, ptr %5, align 8 %72 = xor i64 %71, %70 store i64 %72, ptr %5, align 8 %73 = load i64, ptr %7, align 8 %74 = load i64, ptr %5, align 8 %75 = and i64 %74, %73 store i64 %75, ptr %5, align 8 %76 = load i64, ptr %5, align 8 %77 = and i64 %76, -16777216 %78 = ashr i64 %77, 24 %79 = trunc i64 %78 to i32 store i32 %79, ptr %15, align 4 %80 = load i64, ptr %5, align 8 %81 = and i64 %80, 16711680 %82 = ashr i64 %81, 16 %83 = trunc i64 %82 to i32 store i32 %83, ptr %16, align 4 %84 = load i64, ptr %5, align 8 %85 = and i64 %84, 65280 %86 = ashr i64 %85, 8 %87 = trunc i64 %86 to i32 store i32 %87, ptr %17, align 4 %88 = load i64, ptr %5, align 8 %89 = and i64 %88, 255 %90 = trunc i64 %89 to i32 store i32 %90, ptr %18, align 4 %91 = load i32, ptr %15, align 4 %92 = load i32, ptr %16, align 4 %93 = shl i32 %92, 8 %94 = or i32 %91, %93 %95 = load i32, ptr %17, align 4 %96 = shl i32 %95, 16 %97 = or i32 %94, %96 %98 = load i32, ptr %18, align 4 %99 = shl i32 %98, 24 %100 = or i32 %97, %99 store i32 %100, ptr %19, align 4 %101 = load i32, ptr %19, align 4 %102 = call i32 @reverse_endian32(i32 noundef %101) ret i32 %102 } declare i32 @reverse_endian32(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp28bj9cml.c' source_filename = "/tmp/tmp28bj9cml.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global ptr null, align 8 @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [385 x i8] c"%s [OPTION]\0A\09-f num\09tprotocol family\0A\09\09 4 : IPv4\0A\09\09 6 : IPv6\0A\09-I ifname\09name of listening interface\0A\09-m addr\09multicast address\0A\09-F mode\09filter mode\0A\09\09 include : include mode\0A\09\09 exclude : exclude mode\0A\09-s addrs\09comma separated array of Source Addresses\0A\09-p num\09port number\0A\09-t value\09timeout [sec]\0A\09-b\09\09work in the background\0A\09-d\09\09display debug informations\0A\09-h\09\09display this usage\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr @stdout, align 8 store ptr %6, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @EXIT_FAILURE, align 4 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load ptr, ptr @stderr, align 8 store ptr %11, ptr %5, align 8 br label %12 12: ; preds = %10, %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr %4, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable } declare i32 @fprintf(ptr 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/tmp28bj9cml.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global ptr null, align 8 @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [385 x i8] c"%s [OPTION]\0A\09-f num\09tprotocol family\0A\09\09 4 : IPv4\0A\09\09 6 : IPv6\0A\09-I ifname\09name of listening interface\0A\09-m addr\09multicast address\0A\09-F mode\09filter mode\0A\09\09 include : include mode\0A\09\09 exclude : exclude mode\0A\09-s addrs\09comma separated array of Source Addresses\0A\09-p num\09port number\0A\09-t value\09timeout [sec]\0A\09-b\09\09work in the background\0A\09-d\09\09display debug informations\0A\09-h\09\09display this usage\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr @stdout, align 8 store ptr %6, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @EXIT_FAILURE, align 4 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load ptr, ptr @stderr, align 8 store ptr %11, ptr %5, align 8 br label %12 12: ; preds = %10, %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr %4, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable } declare i32 @fprintf(ptr 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/tmpsfje9msp.c' source_filename = "/tmp/tmpsfje9msp.c" target datalayout = "e-m:e-p270: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/tmpsfje9msp.c" target datalayout = "e-m:e-p270: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/tmp49o96q70.c' source_filename = "/tmp/tmp49o96q70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"allocation failure 1 in imatrix_map()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @imatrix_map(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %5, align 8 %14 = sub nsw i64 %12, %13 %15 = add nsw i64 %14, 1 store i64 %15, ptr %9, align 8 %16 = load i64, ptr %8, align 8 %17 = load i64, ptr %7, align 8 %18 = sub nsw i64 %16, %17 %19 = add nsw i64 %18, 1 store i64 %19, ptr %10, align 8 %20 = load i64, ptr %9, align 8 %21 = mul i64 %20, 8 %22 = call i64 @malloc(i64 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %11, align 8 %24 = load ptr, ptr %11, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %28, label %26 26: ; preds = %4 %27 = call i32 @nrerror(ptr noundef @.str) br label %28 28: ; preds = %26, %4 %29 = load i64, ptr %5, align 8 %30 = load ptr, ptr %11, align 8 %31 = sub i64 0, %29 %32 = getelementptr inbounds ptr, ptr %30, i64 %31 store ptr %32, ptr %11, align 8 %33 = load ptr, ptr %11, align 8 ret ptr %33 } declare i64 @malloc(i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp49o96q70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"allocation failure 1 in imatrix_map()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @imatrix_map(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %5, align 8 %14 = sub nsw i64 %12, %13 %15 = add nsw i64 %14, 1 store i64 %15, ptr %9, align 8 %16 = load i64, ptr %8, align 8 %17 = load i64, ptr %7, align 8 %18 = sub nsw i64 %16, %17 %19 = add nsw i64 %18, 1 store i64 %19, ptr %10, align 8 %20 = load i64, ptr %9, align 8 %21 = mul i64 %20, 8 %22 = call i64 @malloc(i64 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %11, align 8 %24 = load ptr, ptr %11, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %28, label %26 26: ; preds = %4 %27 = call i32 @nrerror(ptr noundef @.str) br label %28 28: ; preds = %26, %4 %29 = load i64, ptr %5, align 8 %30 = load ptr, ptr %11, align 8 %31 = sub i64 0, %29 %32 = getelementptr inbounds ptr, ptr %30, i64 %31 store ptr %32, ptr %11, align 8 %33 = load ptr, ptr %11, align 8 ret ptr %33 } declare i64 @malloc(i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqxa1yxrl.c' source_filename = "/tmp/tmpqxa1yxrl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"execve\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 eq i32 %6, 1 br i1 %7, label %8, label %18 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 i64 @execve(ptr noundef %11, ptr noundef null, ptr noundef null) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %8 %15 = call i32 @perror(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %8 br label %18 18: ; preds = %17, %2 %19 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @execve(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqxa1yxrl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"execve\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 eq i32 %6, 1 br i1 %7, label %8, label %18 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 i64 @execve(ptr noundef %11, ptr noundef null, ptr noundef null) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %8 %15 = call i32 @perror(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %8 br label %18 18: ; preds = %17, %2 %19 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @execve(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp141z7x0g.c' source_filename = "/tmp/tmp141z7x0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Error in ffr2f: no. of decimal places < 0\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%.*f\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Error in ffr2f converting float to string\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"Error in ffr2f: float value is a NaN or INDEF\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ffr2f(float noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store float %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %11 = load ptr, ptr %9, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %4 %15 = load ptr, ptr %9, align 8 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %5, align 4 br label %50 17: ; preds = %4 %18 = load ptr, ptr %8, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 store i8 0, ptr %19, align 1 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = call i32 @ffpmsg(ptr noundef @.str) %24 = load ptr, ptr %9, align 8 store i32 411, ptr %24, align 4 store i32 411, ptr %5, align 4 br label %50 25: ; preds = %17 %26 = load ptr, ptr %8, align 8 %27 = load i32, ptr %7, align 4 %28 = load float, ptr %6, align 4 %29 = call i64 @snprintf(ptr noundef %26, i32 noundef 71, ptr noundef @.str.1, i32 noundef %27, float noundef %28) %30 = icmp slt i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %25 %32 = call i32 @ffpmsg(ptr noundef @.str.2) %33 = load ptr, ptr %9, align 8 store i32 402, ptr %33, align 4 br label %34 34: ; preds = %31, %25 %35 = load ptr, ptr %8, align 8 %36 = call ptr @strchr(ptr noundef %35, i8 noundef signext 44) store ptr %36, ptr %10, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %34 %39 = load ptr, ptr %10, align 8 store i8 46, ptr %39, align 1 br label %40 40: ; preds = %38, %34 %41 = load ptr, ptr %8, align 8 %42 = call ptr @strchr(ptr noundef %41, i8 noundef signext 78) %43 = icmp ne ptr %42, null br i1 %43, label %44, label %47 44: ; preds = %40 %45 = call i32 @ffpmsg(ptr noundef @.str.3) %46 = load ptr, ptr %9, align 8 store i32 402, ptr %46, align 4 br label %47 47: ; preds = %44, %40 %48 = load ptr, ptr %9, align 8 %49 = load i32, ptr %48, align 4 store i32 %49, ptr %5, align 4 br label %50 50: ; preds = %47, %22, %14 %51 = load i32, ptr %5, align 4 ret i32 %51 } declare i32 @ffpmsg(ptr noundef) #1 declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef) #1 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp141z7x0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Error in ffr2f: no. of decimal places < 0\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%.*f\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Error in ffr2f converting float to string\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"Error in ffr2f: float value is a NaN or INDEF\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ffr2f(float noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store float %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %11 = load ptr, ptr %9, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %4 %15 = load ptr, ptr %9, align 8 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %5, align 4 br label %50 17: ; preds = %4 %18 = load ptr, ptr %8, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 store i8 0, ptr %19, align 1 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = call i32 @ffpmsg(ptr noundef @.str) %24 = load ptr, ptr %9, align 8 store i32 411, ptr %24, align 4 store i32 411, ptr %5, align 4 br label %50 25: ; preds = %17 %26 = load ptr, ptr %8, align 8 %27 = load i32, ptr %7, align 4 %28 = load float, ptr %6, align 4 %29 = call i64 @snprintf(ptr noundef %26, i32 noundef 71, ptr noundef @.str.1, i32 noundef %27, float noundef %28) %30 = icmp slt i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %25 %32 = call i32 @ffpmsg(ptr noundef @.str.2) %33 = load ptr, ptr %9, align 8 store i32 402, ptr %33, align 4 br label %34 34: ; preds = %31, %25 %35 = load ptr, ptr %8, align 8 %36 = call ptr @strchr(ptr noundef %35, i8 noundef signext 44) store ptr %36, ptr %10, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %34 %39 = load ptr, ptr %10, align 8 store i8 46, ptr %39, align 1 br label %40 40: ; preds = %38, %34 %41 = load ptr, ptr %8, align 8 %42 = call ptr @strchr(ptr noundef %41, i8 noundef signext 78) %43 = icmp ne ptr %42, null br i1 %43, label %44, label %47 44: ; preds = %40 %45 = call i32 @ffpmsg(ptr noundef @.str.3) %46 = load ptr, ptr %9, align 8 store i32 402, ptr %46, align 4 br label %47 47: ; preds = %44, %40 %48 = load ptr, ptr %9, align 8 %49 = load i32, ptr %48, align 4 store i32 %49, ptr %5, align 4 br label %50 50: ; preds = %47, %22, %14 %51 = load i32, ptr %5, align 4 ret i32 %51 } declare i32 @ffpmsg(ptr noundef) #1 declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef) #1 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"}
; ModuleID = '/tmp/tmp3dp97zmn.c' source_filename = "/tmp/tmp3dp97zmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_57() #0 { %1 = call i32 @handle_57(i32 noundef 0) ret i32 0 } declare i32 @handle_57(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/tmp3dp97zmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_57() #0 { %1 = call i32 @handle_57(i32 noundef 0) ret i32 0 } declare i32 @handle_57(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/tmptwbpfzlj.c' source_filename = "/tmp/tmptwbpfzlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Creating a shopping cart...\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Shopping cart should be empty: \00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"success.\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"FAIL.\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Total Price should be zero:\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"milk\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"coffee\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"Shopping cart should contain 'milk': \00", align 1 @.str.8 = private unnamed_addr constant [40 x i8] c"Shopping cart should contain 'coffee': \00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"There should be two items: \00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"The total should be $13: \00", align 1 @.str.11 = private unnamed_addr constant [42 x i8] c"Shopping cart should not contain 'milk': \00", align 1 @.str.12 = private unnamed_addr constant [38 x i8] c"Shopping cart only contain one item: \00", align 1 @.str.13 = private unnamed_addr constant [26 x i8] c"The total should be $10: \00", align 1 @.str.14 = private unnamed_addr constant [8 x i8] c"avacado\00", align 1 @.str.15 = private unnamed_addr constant [45 x i8] c"Shopping cart should not contain 'avacado': \00", align 1 @.str.16 = private unnamed_addr constant [38 x i8] c"Shopping cart should have two items: \00", align 1 @.str.17 = private unnamed_addr constant [32 x i8] c"The total price should be $13: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str) %7 = call ptr @createCart(i32 noundef 2) store ptr %7, ptr %2, align 8 %8 = call i32 @printf(ptr noundef @.str.1) %9 = load ptr, ptr %2, align 8 %10 = call i32 @getNumItems(ptr noundef %9) %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.2) br label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.3) br label %16 16: ; preds = %14, %12 %17 = call i32 @printf(ptr noundef @.str.4) %18 = load ptr, ptr %2, align 8 %19 = call i32 @getTotalPrice(ptr noundef %18) %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = call i32 @printf(ptr noundef @.str.2) br label %25 23: ; preds = %16 %24 = call i32 @printf(ptr noundef @.str.3) br label %25 25: ; preds = %23, %21 %26 = call ptr @createItem(ptr noundef @.str.5, double noundef 3.000000e+00) store ptr %26, ptr %3, align 8 %27 = call ptr @createItem(ptr noundef @.str.6, double noundef 1.000000e+01) store ptr %27, ptr %4, align 8 %28 = load ptr, ptr %2, align 8 %29 = load ptr, ptr %3, align 8 %30 = call i32 @addItemToCart(ptr noundef %28, ptr noundef %29) %31 = load ptr, ptr %2, align 8 %32 = load ptr, ptr %4, align 8 %33 = call i32 @addItemToCart(ptr noundef %31, ptr noundef %32) %34 = call i32 @printf(ptr noundef @.str.7) %35 = load ptr, ptr %2, align 8 %36 = load ptr, ptr %3, align 8 %37 = call i32 @containsItem(ptr noundef %35, ptr noundef %36) %38 = icmp sgt i32 %37, -1 br i1 %38, label %39, label %41 39: ; preds = %25 %40 = call i32 @printf(ptr noundef @.str.2) br label %43 41: ; preds = %25 %42 = call i32 @printf(ptr noundef @.str.3) br label %43 43: ; preds = %41, %39 %44 = call i32 @printf(ptr noundef @.str.8) %45 = load ptr, ptr %2, align 8 %46 = load ptr, ptr %4, align 8 %47 = call i32 @containsItem(ptr noundef %45, ptr noundef %46) %48 = icmp sgt i32 %47, -1 br i1 %48, label %49, label %51 49: ; preds = %43 %50 = call i32 @printf(ptr noundef @.str.2) br label %53 51: ; preds = %43 %52 = call i32 @printf(ptr noundef @.str.3) br label %53 53: ; preds = %51, %49 %54 = call i32 @printf(ptr noundef @.str.9) %55 = load ptr, ptr %2, align 8 %56 = call i32 @getNumItems(ptr noundef %55) %57 = icmp eq i32 %56, 2 br i1 %57, label %58, label %60 58: ; preds = %53 %59 = call i32 @printf(ptr noundef @.str.2) br label %62 60: ; preds = %53 %61 = call i32 @printf(ptr noundef @.str.3) br label %62 62: ; preds = %60, %58 %63 = call i32 @printf(ptr noundef @.str.10) %64 = load ptr, ptr %2, align 8 %65 = call i32 @getTotalPrice(ptr noundef %64) %66 = icmp eq i32 %65, 13 br i1 %66, label %67, label %69 67: ; preds = %62 %68 = call i32 @printf(ptr noundef @.str.2) br label %71 69: ; preds = %62 %70 = call i32 @printf(ptr noundef @.str.3) br label %71 71: ; preds = %69, %67 %72 = load ptr, ptr %2, align 8 %73 = load ptr, ptr %3, align 8 %74 = call i32 @removeItemFromCart(ptr noundef %72, ptr noundef %73) %75 = call i32 @printf(ptr noundef @.str.11) %76 = load ptr, ptr %2, align 8 %77 = load ptr, ptr %3, align 8 %78 = call i32 @containsItem(ptr noundef %76, ptr noundef %77) %79 = icmp eq i32 %78, -1 br i1 %79, label %80, label %82 80: ; preds = %71 %81 = call i32 @printf(ptr noundef @.str.2) br label %84 82: ; preds = %71 %83 = call i32 @printf(ptr noundef @.str.3) br label %84 84: ; preds = %82, %80 %85 = call i32 @printf(ptr noundef @.str.8) %86 = load ptr, ptr %2, align 8 %87 = load ptr, ptr %4, align 8 %88 = call i32 @containsItem(ptr noundef %86, ptr noundef %87) %89 = icmp sgt i32 %88, -1 br i1 %89, label %90, label %92 90: ; preds = %84 %91 = call i32 @printf(ptr noundef @.str.2) br label %94 92: ; preds = %84 %93 = call i32 @printf(ptr noundef @.str.3) br label %94 94: ; preds = %92, %90 %95 = call i32 @printf(ptr noundef @.str.12) %96 = load ptr, ptr %2, align 8 %97 = call i32 @getNumItems(ptr noundef %96) %98 = icmp eq i32 %97, 1 br i1 %98, label %99, label %101 99: ; preds = %94 %100 = call i32 @printf(ptr noundef @.str.2) br label %103 101: ; preds = %94 %102 = call i32 @printf(ptr noundef @.str.3) br label %103 103: ; preds = %101, %99 %104 = call i32 @printf(ptr noundef @.str.13) %105 = load ptr, ptr %2, align 8 %106 = call i32 @getTotalPrice(ptr noundef %105) %107 = icmp eq i32 %106, 10 br i1 %107, label %108, label %110 108: ; preds = %103 %109 = call i32 @printf(ptr noundef @.str.2) br label %112 110: ; preds = %103 %111 = call i32 @printf(ptr noundef @.str.3) br label %112 112: ; preds = %110, %108 %113 = load ptr, ptr %2, align 8 %114 = load ptr, ptr %3, align 8 %115 = call i32 @addItemToCart(ptr noundef %113, ptr noundef %114) %116 = call ptr @createItem(ptr noundef @.str.14, double noundef 2.000000e+00) store ptr %116, ptr %5, align 8 %117 = load ptr, ptr %2, align 8 %118 = load ptr, ptr %5, align 8 %119 = call i32 @addItemToCart(ptr noundef %117, ptr noundef %118) %120 = call i32 @printf(ptr noundef @.str.15) %121 = load ptr, ptr %2, align 8 %122 = load ptr, ptr %5, align 8 %123 = call i32 @containsItem(ptr noundef %121, ptr noundef %122) %124 = icmp sgt i32 %123, -1 br i1 %124, label %125, label %127 125: ; preds = %112 %126 = call i32 @printf(ptr noundef @.str.2) br label %129 127: ; preds = %112 %128 = call i32 @printf(ptr noundef @.str.3) br label %129 129: ; preds = %127, %125 %130 = call i32 @printf(ptr noundef @.str.16) %131 = load ptr, ptr %2, align 8 %132 = call i32 @getNumItems(ptr noundef %131) %133 = icmp eq i32 %132, 2 br i1 %133, label %134, label %136 134: ; preds = %129 %135 = call i32 @printf(ptr noundef @.str.2) br label %138 136: ; preds = %129 %137 = call i32 @printf(ptr noundef @.str.3) br label %138 138: ; preds = %136, %134 %139 = call i32 @printf(ptr noundef @.str.17) %140 = load ptr, ptr %2, align 8 %141 = call i32 @getTotalPrice(ptr noundef %140) %142 = icmp eq i32 %141, 13 br i1 %142, label %143, label %145 143: ; preds = %138 %144 = call i32 @printf(ptr noundef @.str.2) br label %147 145: ; preds = %138 %146 = call i32 @printf(ptr noundef @.str.3) br label %147 147: ; preds = %145, %143 %148 = load ptr, ptr %2, align 8 %149 = call i32 @freeCart(ptr noundef %148) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare ptr @createCart(i32 noundef) #1 declare i32 @getNumItems(ptr noundef) #1 declare i32 @getTotalPrice(ptr noundef) #1 declare ptr @createItem(ptr noundef, double noundef) #1 declare i32 @addItemToCart(ptr noundef, ptr noundef) #1 declare i32 @containsItem(ptr noundef, ptr noundef) #1 declare i32 @removeItemFromCart(ptr noundef, ptr noundef) #1 declare i32 @freeCart(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptwbpfzlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Creating a shopping cart...\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Shopping cart should be empty: \00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"success.\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"FAIL.\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Total Price should be zero:\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"milk\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"coffee\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"Shopping cart should contain 'milk': \00", align 1 @.str.8 = private unnamed_addr constant [40 x i8] c"Shopping cart should contain 'coffee': \00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"There should be two items: \00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"The total should be $13: \00", align 1 @.str.11 = private unnamed_addr constant [42 x i8] c"Shopping cart should not contain 'milk': \00", align 1 @.str.12 = private unnamed_addr constant [38 x i8] c"Shopping cart only contain one item: \00", align 1 @.str.13 = private unnamed_addr constant [26 x i8] c"The total should be $10: \00", align 1 @.str.14 = private unnamed_addr constant [8 x i8] c"avacado\00", align 1 @.str.15 = private unnamed_addr constant [45 x i8] c"Shopping cart should not contain 'avacado': \00", align 1 @.str.16 = private unnamed_addr constant [38 x i8] c"Shopping cart should have two items: \00", align 1 @.str.17 = private unnamed_addr constant [32 x i8] c"The total price should be $13: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str) %7 = call ptr @createCart(i32 noundef 2) store ptr %7, ptr %2, align 8 %8 = call i32 @printf(ptr noundef @.str.1) %9 = load ptr, ptr %2, align 8 %10 = call i32 @getNumItems(ptr noundef %9) %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.2) br label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.3) br label %16 16: ; preds = %14, %12 %17 = call i32 @printf(ptr noundef @.str.4) %18 = load ptr, ptr %2, align 8 %19 = call i32 @getTotalPrice(ptr noundef %18) %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = call i32 @printf(ptr noundef @.str.2) br label %25 23: ; preds = %16 %24 = call i32 @printf(ptr noundef @.str.3) br label %25 25: ; preds = %23, %21 %26 = call ptr @createItem(ptr noundef @.str.5, double noundef 3.000000e+00) store ptr %26, ptr %3, align 8 %27 = call ptr @createItem(ptr noundef @.str.6, double noundef 1.000000e+01) store ptr %27, ptr %4, align 8 %28 = load ptr, ptr %2, align 8 %29 = load ptr, ptr %3, align 8 %30 = call i32 @addItemToCart(ptr noundef %28, ptr noundef %29) %31 = load ptr, ptr %2, align 8 %32 = load ptr, ptr %4, align 8 %33 = call i32 @addItemToCart(ptr noundef %31, ptr noundef %32) %34 = call i32 @printf(ptr noundef @.str.7) %35 = load ptr, ptr %2, align 8 %36 = load ptr, ptr %3, align 8 %37 = call i32 @containsItem(ptr noundef %35, ptr noundef %36) %38 = icmp sgt i32 %37, -1 br i1 %38, label %39, label %41 39: ; preds = %25 %40 = call i32 @printf(ptr noundef @.str.2) br label %43 41: ; preds = %25 %42 = call i32 @printf(ptr noundef @.str.3) br label %43 43: ; preds = %41, %39 %44 = call i32 @printf(ptr noundef @.str.8) %45 = load ptr, ptr %2, align 8 %46 = load ptr, ptr %4, align 8 %47 = call i32 @containsItem(ptr noundef %45, ptr noundef %46) %48 = icmp sgt i32 %47, -1 br i1 %48, label %49, label %51 49: ; preds = %43 %50 = call i32 @printf(ptr noundef @.str.2) br label %53 51: ; preds = %43 %52 = call i32 @printf(ptr noundef @.str.3) br label %53 53: ; preds = %51, %49 %54 = call i32 @printf(ptr noundef @.str.9) %55 = load ptr, ptr %2, align 8 %56 = call i32 @getNumItems(ptr noundef %55) %57 = icmp eq i32 %56, 2 br i1 %57, label %58, label %60 58: ; preds = %53 %59 = call i32 @printf(ptr noundef @.str.2) br label %62 60: ; preds = %53 %61 = call i32 @printf(ptr noundef @.str.3) br label %62 62: ; preds = %60, %58 %63 = call i32 @printf(ptr noundef @.str.10) %64 = load ptr, ptr %2, align 8 %65 = call i32 @getTotalPrice(ptr noundef %64) %66 = icmp eq i32 %65, 13 br i1 %66, label %67, label %69 67: ; preds = %62 %68 = call i32 @printf(ptr noundef @.str.2) br label %71 69: ; preds = %62 %70 = call i32 @printf(ptr noundef @.str.3) br label %71 71: ; preds = %69, %67 %72 = load ptr, ptr %2, align 8 %73 = load ptr, ptr %3, align 8 %74 = call i32 @removeItemFromCart(ptr noundef %72, ptr noundef %73) %75 = call i32 @printf(ptr noundef @.str.11) %76 = load ptr, ptr %2, align 8 %77 = load ptr, ptr %3, align 8 %78 = call i32 @containsItem(ptr noundef %76, ptr noundef %77) %79 = icmp eq i32 %78, -1 br i1 %79, label %80, label %82 80: ; preds = %71 %81 = call i32 @printf(ptr noundef @.str.2) br label %84 82: ; preds = %71 %83 = call i32 @printf(ptr noundef @.str.3) br label %84 84: ; preds = %82, %80 %85 = call i32 @printf(ptr noundef @.str.8) %86 = load ptr, ptr %2, align 8 %87 = load ptr, ptr %4, align 8 %88 = call i32 @containsItem(ptr noundef %86, ptr noundef %87) %89 = icmp sgt i32 %88, -1 br i1 %89, label %90, label %92 90: ; preds = %84 %91 = call i32 @printf(ptr noundef @.str.2) br label %94 92: ; preds = %84 %93 = call i32 @printf(ptr noundef @.str.3) br label %94 94: ; preds = %92, %90 %95 = call i32 @printf(ptr noundef @.str.12) %96 = load ptr, ptr %2, align 8 %97 = call i32 @getNumItems(ptr noundef %96) %98 = icmp eq i32 %97, 1 br i1 %98, label %99, label %101 99: ; preds = %94 %100 = call i32 @printf(ptr noundef @.str.2) br label %103 101: ; preds = %94 %102 = call i32 @printf(ptr noundef @.str.3) br label %103 103: ; preds = %101, %99 %104 = call i32 @printf(ptr noundef @.str.13) %105 = load ptr, ptr %2, align 8 %106 = call i32 @getTotalPrice(ptr noundef %105) %107 = icmp eq i32 %106, 10 br i1 %107, label %108, label %110 108: ; preds = %103 %109 = call i32 @printf(ptr noundef @.str.2) br label %112 110: ; preds = %103 %111 = call i32 @printf(ptr noundef @.str.3) br label %112 112: ; preds = %110, %108 %113 = load ptr, ptr %2, align 8 %114 = load ptr, ptr %3, align 8 %115 = call i32 @addItemToCart(ptr noundef %113, ptr noundef %114) %116 = call ptr @createItem(ptr noundef @.str.14, double noundef 2.000000e+00) store ptr %116, ptr %5, align 8 %117 = load ptr, ptr %2, align 8 %118 = load ptr, ptr %5, align 8 %119 = call i32 @addItemToCart(ptr noundef %117, ptr noundef %118) %120 = call i32 @printf(ptr noundef @.str.15) %121 = load ptr, ptr %2, align 8 %122 = load ptr, ptr %5, align 8 %123 = call i32 @containsItem(ptr noundef %121, ptr noundef %122) %124 = icmp sgt i32 %123, -1 br i1 %124, label %125, label %127 125: ; preds = %112 %126 = call i32 @printf(ptr noundef @.str.2) br label %129 127: ; preds = %112 %128 = call i32 @printf(ptr noundef @.str.3) br label %129 129: ; preds = %127, %125 %130 = call i32 @printf(ptr noundef @.str.16) %131 = load ptr, ptr %2, align 8 %132 = call i32 @getNumItems(ptr noundef %131) %133 = icmp eq i32 %132, 2 br i1 %133, label %134, label %136 134: ; preds = %129 %135 = call i32 @printf(ptr noundef @.str.2) br label %138 136: ; preds = %129 %137 = call i32 @printf(ptr noundef @.str.3) br label %138 138: ; preds = %136, %134 %139 = call i32 @printf(ptr noundef @.str.17) %140 = load ptr, ptr %2, align 8 %141 = call i32 @getTotalPrice(ptr noundef %140) %142 = icmp eq i32 %141, 13 br i1 %142, label %143, label %145 143: ; preds = %138 %144 = call i32 @printf(ptr noundef @.str.2) br label %147 145: ; preds = %138 %146 = call i32 @printf(ptr noundef @.str.3) br label %147 147: ; preds = %145, %143 %148 = load ptr, ptr %2, align 8 %149 = call i32 @freeCart(ptr noundef %148) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare ptr @createCart(i32 noundef) #1 declare i32 @getNumItems(ptr noundef) #1 declare i32 @getTotalPrice(ptr noundef) #1 declare ptr @createItem(ptr noundef, double noundef) #1 declare i32 @addItemToCart(ptr noundef, ptr noundef) #1 declare i32 @containsItem(ptr noundef, ptr noundef) #1 declare i32 @removeItemFromCart(ptr noundef, ptr noundef) #1 declare i32 @freeCart(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpedg_9l21.c' source_filename = "/tmp/tmpedg_9l21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_to_milliseconds(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strtoll(ptr noundef %8, ptr noundef null, i32 noundef 10) store i64 %9, ptr %5, align 8 %10 = load i64, ptr %5, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %1 store i64 -1, ptr %2, align 8 br label %67 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %4, align 8 %16 = sub i64 %15, 1 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 switch i32 %19, label %65 [ i32 115, label %20 i32 109, label %35 i32 104, label %39 i32 100, label %44 i32 119, label %50 i32 121, label %57 ] 20: ; preds = %13 %21 = load ptr, ptr %3, align 8 %22 = load i64, ptr %4, align 8 %23 = sub i64 %22, 2 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 109, %26 br i1 %27, label %28, label %30 28: ; preds = %20 %29 = load i64, ptr %5, align 8 br label %33 30: ; preds = %20 %31 = load i64, ptr %5, align 8 %32 = mul nsw i64 %31, 1000 br label %33 33: ; preds = %30, %28 %34 = phi i64 [ %29, %28 ], [ %32, %30 ] store i64 %34, ptr %2, align 8 br label %67 35: ; preds = %13 %36 = load i64, ptr %5, align 8 %37 = mul nsw i64 %36, 60 %38 = mul nsw i64 %37, 1000 store i64 %38, ptr %2, align 8 br label %67 39: ; preds = %13 %40 = load i64, ptr %5, align 8 %41 = mul nsw i64 %40, 60 %42 = mul nsw i64 %41, 60 %43 = mul nsw i64 %42, 1000 store i64 %43, ptr %2, align 8 br label %67 44: ; preds = %13 %45 = load i64, ptr %5, align 8 %46 = mul nsw i64 %45, 24 %47 = mul nsw i64 %46, 60 %48 = mul nsw i64 %47, 60 %49 = mul nsw i64 %48, 1000 store i64 %49, ptr %2, align 8 br label %67 50: ; preds = %13 %51 = load i64, ptr %5, align 8 %52 = mul nsw i64 %51, 7 %53 = mul nsw i64 %52, 24 %54 = mul nsw i64 %53, 60 %55 = mul nsw i64 %54, 60 %56 = mul nsw i64 %55, 1000 store i64 %56, ptr %2, align 8 br label %67 57: ; preds = %13 %58 = load i64, ptr %5, align 8 %59 = mul nsw i64 %58, 52 %60 = mul nsw i64 %59, 7 %61 = mul nsw i64 %60, 24 %62 = mul nsw i64 %61, 60 %63 = mul nsw i64 %62, 60 %64 = mul nsw i64 %63, 1000 store i64 %64, ptr %2, align 8 br label %67 65: ; preds = %13 %66 = load i64, ptr %5, align 8 store i64 %66, ptr %2, align 8 br label %67 67: ; preds = %65, %57, %50, %44, %39, %35, %33, %12 %68 = load i64, ptr %2, align 8 ret i64 %68 } declare i64 @strlen(ptr noundef) #1 declare i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpedg_9l21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_to_milliseconds(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strtoll(ptr noundef %8, ptr noundef null, i32 noundef 10) store i64 %9, ptr %5, align 8 %10 = load i64, ptr %5, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %1 store i64 -1, ptr %2, align 8 br label %67 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %4, align 8 %16 = sub i64 %15, 1 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 switch i32 %19, label %65 [ i32 115, label %20 i32 109, label %35 i32 104, label %39 i32 100, label %44 i32 119, label %50 i32 121, label %57 ] 20: ; preds = %13 %21 = load ptr, ptr %3, align 8 %22 = load i64, ptr %4, align 8 %23 = sub i64 %22, 2 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 109, %26 br i1 %27, label %28, label %30 28: ; preds = %20 %29 = load i64, ptr %5, align 8 br label %33 30: ; preds = %20 %31 = load i64, ptr %5, align 8 %32 = mul nsw i64 %31, 1000 br label %33 33: ; preds = %30, %28 %34 = phi i64 [ %29, %28 ], [ %32, %30 ] store i64 %34, ptr %2, align 8 br label %67 35: ; preds = %13 %36 = load i64, ptr %5, align 8 %37 = mul nsw i64 %36, 60 %38 = mul nsw i64 %37, 1000 store i64 %38, ptr %2, align 8 br label %67 39: ; preds = %13 %40 = load i64, ptr %5, align 8 %41 = mul nsw i64 %40, 60 %42 = mul nsw i64 %41, 60 %43 = mul nsw i64 %42, 1000 store i64 %43, ptr %2, align 8 br label %67 44: ; preds = %13 %45 = load i64, ptr %5, align 8 %46 = mul nsw i64 %45, 24 %47 = mul nsw i64 %46, 60 %48 = mul nsw i64 %47, 60 %49 = mul nsw i64 %48, 1000 store i64 %49, ptr %2, align 8 br label %67 50: ; preds = %13 %51 = load i64, ptr %5, align 8 %52 = mul nsw i64 %51, 7 %53 = mul nsw i64 %52, 24 %54 = mul nsw i64 %53, 60 %55 = mul nsw i64 %54, 60 %56 = mul nsw i64 %55, 1000 store i64 %56, ptr %2, align 8 br label %67 57: ; preds = %13 %58 = load i64, ptr %5, align 8 %59 = mul nsw i64 %58, 52 %60 = mul nsw i64 %59, 7 %61 = mul nsw i64 %60, 24 %62 = mul nsw i64 %61, 60 %63 = mul nsw i64 %62, 60 %64 = mul nsw i64 %63, 1000 store i64 %64, ptr %2, align 8 br label %67 65: ; preds = %13 %66 = load i64, ptr %5, align 8 store i64 %66, ptr %2, align 8 br label %67 67: ; preds = %65, %57, %50, %44, %39, %35, %33, %12 %68 = load i64, ptr %2, align 8 ret i64 %68 } declare i64 @strlen(ptr noundef) #1 declare i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpibizihcx.c' source_filename = "/tmp/tmpibizihcx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_tick_and_enable_timer() #0 { %1 = alloca i32, align 4 %2 = call i32 @GET32(i32 noundef 536883204) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = add i32 %3, 524288 store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = call i32 @PUT32(i32 noundef 536883216, i32 noundef %5) %7 = call i32 @PUT32(i32 noundef 536883200, i32 noundef 2) ret void } declare i32 @GET32(i32 noundef) #1 declare i32 @PUT32(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/tmpibizihcx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_tick_and_enable_timer() #0 { %1 = alloca i32, align 4 %2 = call i32 @GET32(i32 noundef 536883204) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = add i32 %3, 524288 store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = call i32 @PUT32(i32 noundef 536883216, i32 noundef %5) %7 = call i32 @PUT32(i32 noundef 536883200, i32 noundef 2) ret void } declare i32 @GET32(i32 noundef) #1 declare i32 @PUT32(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/tmpcz5n967a.c' source_filename = "/tmp/tmpcz5n967a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%lld: %.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 store i64 1, ptr %4, align 8 store i64 1, ptr %3, align 8 br label %5 5: ; preds = %26, %0 %6 = load i64, ptr %3, align 8 %7 = sitofp i64 %6 to double %8 = fdiv double 1.000000e+00, %7 %9 = load double, ptr %2, align 8 %10 = fadd double %9, %8 store double %10, ptr %2, align 8 %11 = load i64, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = icmp sge i64 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %5 %15 = load i64, ptr %3, align 8 %16 = load double, ptr %2, align 8 %17 = call i32 @printf(ptr noundef @.str, i64 noundef %15, double noundef %16) %18 = load i64, ptr %4, align 8 %19 = icmp sge i64 %18, 100000000000 br i1 %19, label %20, label %22 20: ; preds = %14 %21 = call i32 @exit(i32 noundef 0) #3 unreachable 22: ; preds = %14 %23 = load i64, ptr %4, align 8 %24 = mul nsw i64 %23, 10 store i64 %24, ptr %4, align 8 br label %25 25: ; preds = %22, %5 br label %26 26: ; preds = %25 %27 = load i64, ptr %3, align 8 %28 = add nsw i64 %27, 1 store i64 %28, ptr %3, align 8 br label %5 } declare i32 @printf(ptr noundef, i64 noundef, double 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/tmpcz5n967a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%lld: %.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 store i64 1, ptr %4, align 8 store i64 1, ptr %3, align 8 br label %5 5: ; preds = %26, %0 %6 = load i64, ptr %3, align 8 %7 = sitofp i64 %6 to double %8 = fdiv double 1.000000e+00, %7 %9 = load double, ptr %2, align 8 %10 = fadd double %9, %8 store double %10, ptr %2, align 8 %11 = load i64, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = icmp sge i64 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %5 %15 = load i64, ptr %3, align 8 %16 = load double, ptr %2, align 8 %17 = call i32 @printf(ptr noundef @.str, i64 noundef %15, double noundef %16) %18 = load i64, ptr %4, align 8 %19 = icmp sge i64 %18, 100000000000 br i1 %19, label %20, label %22 20: ; preds = %14 %21 = call i32 @exit(i32 noundef 0) #3 unreachable 22: ; preds = %14 %23 = load i64, ptr %4, align 8 %24 = mul nsw i64 %23, 10 store i64 %24, ptr %4, align 8 br label %25 25: ; preds = %22, %5 br label %26 26: ; preds = %25 %27 = load i64, ptr %3, align 8 %28 = add nsw i64 %27, 1 store i64 %28, ptr %3, align 8 br label %5 } declare i32 @printf(ptr noundef, i64 noundef, double 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/tmpdf0yepuw.c' source_filename = "/tmp/tmpdf0yepuw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_ZN7android16MediaBufferGroupC1Ev() #0 { %1 = call i32 @_ZN7android16MediaBufferGroupC1Ej(i32 noundef 0) ret i32 %1 } declare i32 @_ZN7android16MediaBufferGroupC1Ej(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/tmpdf0yepuw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_ZN7android16MediaBufferGroupC1Ev() #0 { %1 = call i32 @_ZN7android16MediaBufferGroupC1Ej(i32 noundef 0) ret i32 %1 } declare i32 @_ZN7android16MediaBufferGroupC1Ej(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/tmpyrwvjoio.c' source_filename = "/tmp/tmpyrwvjoio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"a+b\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @__llvm_profile_is_continuous_mode_enabled() %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %2 store i32 1, ptr %3, align 4 br label %38 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %10 store i32 1, ptr %3, align 4 br label %38 18: ; preds = %10 %19 = load ptr, ptr %6, align 8 %20 = call i32 @__llvm_profile_set_file_object(ptr noundef %19, i32 noundef 0) %21 = call i64 (...) @__llvm_profile_write_file() %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %18 store i32 1, ptr %3, align 4 br label %38 24: ; preds = %18 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.1) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %32, label %31 31: ; preds = %24 store i32 1, ptr %3, align 4 br label %38 32: ; preds = %24 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr @SEEK_END, align 4 %35 = call i32 @fseek(ptr noundef %33, i32 noundef 0, i32 noundef %34) %36 = load ptr, ptr %6, align 8 %37 = call i32 @ftell(ptr noundef %36) store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %32, %31, %23, %17, %9 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @__llvm_profile_is_continuous_mode_enabled(...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @__llvm_profile_set_file_object(ptr noundef, i32 noundef) #1 declare i64 @__llvm_profile_write_file(...) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyrwvjoio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"a+b\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @__llvm_profile_is_continuous_mode_enabled() %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %2 store i32 1, ptr %3, align 4 br label %38 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %10 store i32 1, ptr %3, align 4 br label %38 18: ; preds = %10 %19 = load ptr, ptr %6, align 8 %20 = call i32 @__llvm_profile_set_file_object(ptr noundef %19, i32 noundef 0) %21 = call i64 (...) @__llvm_profile_write_file() %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %18 store i32 1, ptr %3, align 4 br label %38 24: ; preds = %18 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.1) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %32, label %31 31: ; preds = %24 store i32 1, ptr %3, align 4 br label %38 32: ; preds = %24 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr @SEEK_END, align 4 %35 = call i32 @fseek(ptr noundef %33, i32 noundef 0, i32 noundef %34) %36 = load ptr, ptr %6, align 8 %37 = call i32 @ftell(ptr noundef %36) store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %32, %31, %23, %17, %9 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @__llvm_profile_is_continuous_mode_enabled(...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @__llvm_profile_set_file_object(ptr noundef, i32 noundef) #1 declare i64 @__llvm_profile_write_file(...) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkmacu7tz.c' source_filename = "/tmp/tmpkmacu7tz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"string length is %d\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"\0A string length derived by ptr diff is: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reverseStr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) store i32 0, ptr %6, align 4 br label %13 13: ; preds = %21, %1 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %15, 1 %17 = icmp slt i32 %14, %16 br i1 %17, label %18, label %24 18: ; preds = %13 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %4, align 8 br label %21 21: ; preds = %18 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 br label %13, !llvm.loop !6 24: ; preds = %13 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %3, align 8 %27 = ptrtoint ptr %25 to i64 %28 = ptrtoint ptr %26 to i64 %29 = sub i64 %27, %28 %30 = add nsw i64 %29, 1 %31 = trunc i64 %30 to i32 %32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31) br label %33 33: ; preds = %37, %24 %34 = load ptr, ptr %3, align 8 %35 = load ptr, ptr %4, align 8 %36 = icmp ult ptr %34, %35 br i1 %36, label %37, label %69 37: ; preds = %33 %38 = load ptr, ptr %3, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = load ptr, ptr %4, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = xor i32 %40, %43 %45 = trunc i32 %44 to i8 %46 = load ptr, ptr %3, align 8 store i8 %45, ptr %46, align 1 %47 = load ptr, ptr %3, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = load ptr, ptr %4, align 8 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = xor i32 %49, %52 %54 = trunc i32 %53 to i8 %55 = load ptr, ptr %4, align 8 store i8 %54, ptr %55, align 1 %56 = load ptr, ptr %3, align 8 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = load ptr, ptr %4, align 8 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = xor i32 %58, %61 %63 = trunc i32 %62 to i8 %64 = load ptr, ptr %3, align 8 store i8 %63, ptr %64, align 1 %65 = load ptr, ptr %3, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %3, align 8 %67 = load ptr, ptr %4, align 8 %68 = getelementptr inbounds i8, ptr %67, i32 -1 store ptr %68, ptr %4, align 8 br label %33, !llvm.loop !8 69: ; preds = %33 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkmacu7tz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"string length is %d\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"\0A string length derived by ptr diff is: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reverseStr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %14, 1 %16 = icmp slt i32 %13, %15 br i1 %16, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %17 17: ; preds = %.lr.ph, %20 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %4, align 8 br label %20 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %5, align 4 %25 = sub nsw i32 %24, 1 %26 = icmp slt i32 %23, %25 br i1 %26, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %27 27: ; preds = %._crit_edge, %1 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %3, align 8 %30 = ptrtoint ptr %28 to i64 %31 = ptrtoint ptr %29 to i64 %32 = sub i64 %30, %31 %33 = add nsw i64 %32, 1 %34 = trunc i64 %33 to i32 %35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34) %36 = load ptr, ptr %3, align 8 %37 = load ptr, ptr %4, align 8 %38 = icmp ult ptr %36, %37 br i1 %38, label %.lr.ph2, label %74 .lr.ph2: ; preds = %27 br label %39 39: ; preds = %.lr.ph2, %39 %40 = load ptr, ptr %3, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = load ptr, ptr %4, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = xor i32 %42, %45 %47 = trunc i32 %46 to i8 %48 = load ptr, ptr %3, align 8 store i8 %47, ptr %48, align 1 %49 = load ptr, ptr %3, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = load ptr, ptr %4, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = xor i32 %51, %54 %56 = trunc i32 %55 to i8 %57 = load ptr, ptr %4, align 8 store i8 %56, ptr %57, align 1 %58 = load ptr, ptr %3, align 8 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = load ptr, ptr %4, align 8 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = xor i32 %60, %63 %65 = trunc i32 %64 to i8 %66 = load ptr, ptr %3, align 8 store i8 %65, ptr %66, align 1 %67 = load ptr, ptr %3, align 8 %68 = getelementptr inbounds i8, ptr %67, i32 1 store ptr %68, ptr %3, align 8 %69 = load ptr, ptr %4, align 8 %70 = getelementptr inbounds i8, ptr %69, i32 -1 store ptr %70, ptr %4, align 8 %71 = load ptr, ptr %3, align 8 %72 = load ptr, ptr %4, align 8 %73 = icmp ult ptr %71, %72 br i1 %73, label %39, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %74 74: ; preds = %._crit_edge3, %27 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmph0uilmr8.c' source_filename = "/tmp/tmph0uilmr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"\0A%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [200 x i8], align 16 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 200, i1 false) store i64 0, ptr %3, align 8 br label %4 4: ; preds = %7, %0 %5 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) br label %7 7: ; preds = %4 %8 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) %10 = icmp sgt i32 %9, 200 br i1 %10, label %4, label %11, !llvm.loop !6 11: ; preds = %7 %12 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 %13 = call i64 @hash(ptr noundef %12) store i64 %13, ptr %3, align 8 %14 = load i64, ptr %3, align 8 %15 = call i32 @printf(ptr noundef @.str.1, i64 noundef %14) 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 @scanf(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i64 @hash(ptr noundef) #2 declare i32 @printf(ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph0uilmr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"\0A%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [200 x i8], align 16 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 200, i1 false) store i64 0, ptr %3, align 8 %4 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 br label %5 5: ; preds = %8, %0 %6 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) br label %8 8: ; preds = %5 %9 = call i32 @strlen(ptr noundef %4) %10 = icmp sgt i32 %9, 200 br i1 %10, label %5, label %11, !llvm.loop !6 11: ; preds = %8 %12 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 %13 = call i64 @hash(ptr noundef %12) store i64 %13, ptr %3, align 8 %14 = load i64, ptr %3, align 8 %15 = call i32 @printf(ptr noundef @.str.1, i64 noundef %14) 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 @scanf(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i64 @hash(ptr noundef) #2 declare i32 @printf(ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpb0tr5xif.c' source_filename = "/tmp/tmpb0tr5xif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @__const.main.send_buff = private unnamed_addr constant [128 x i8] c"Hello world !\0A\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [38 x i8] c"Usage: ./udpclient 192.168.1.1 37128\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"server ip is %s and port is %d\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"inet_pton\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"----->\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"sendto\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"recvfrom\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 [128 x i8], align 16 %8 = alloca [128 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca %struct.sockaddr_in, align 4 %11 = alloca %struct.sockaddr_in, 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 -1, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.send_buff, i64 128, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 128, i1 false) %12 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 12) %13 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 12) %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 3 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fputs(ptr noundef @.str, i32 noundef %17) store i32 -1, ptr %3, align 4 br label %73 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 = 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) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22, i32 noundef %26) %28 = load i32, ptr @AF_INET, align 4 %29 = load i32, ptr @SOCK_DGRAM, align 4 %30 = call i32 @socket(i32 noundef %28, i32 noundef %29, i32 noundef 0) store i32 %30, ptr %6, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %19 %33 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 br label %73 34: ; preds = %19 %35 = load i32, ptr @AF_INET, align 4 %36 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 store i32 %35, ptr %36, align 4 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 @atoi(ptr noundef %39) %41 = call i32 @htons(i32 noundef %40) %42 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1 store i32 %41, ptr %42, align 4 %43 = load i32, ptr @AF_INET, align 4 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 %48 = call i64 @inet_pton(i32 noundef %43, ptr noundef %46, ptr noundef %47) %49 = icmp slt i64 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %34 %51 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %73 52: ; preds = %34 br label %53 53: ; preds = %52, %68 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %55 = load i32, ptr %6, align 4 %56 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %57 = call i32 @sendto(i32 noundef %55, ptr noundef %56, i32 noundef 128, i32 noundef 0, ptr noundef %10, i32 noundef 12) %58 = icmp eq i32 %57, -1 br i1 %58, label %59, label %61 59: ; preds = %53 %60 = call i32 @perror(ptr noundef @.str.5) store i32 -1, ptr %3, align 4 br label %73 61: ; preds = %53 %62 = load i32, ptr %6, align 4 %63 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %64 = call i32 @recvfrom(i32 noundef %62, ptr noundef %63, i32 noundef 128, i32 noundef 0, ptr noundef %11, ptr noundef %9) %65 = icmp eq i32 %64, -1 br i1 %65, label %66, label %68 66: ; preds = %61 %67 = call i32 @perror(ptr noundef @.str.6) store i32 -1, ptr %3, align 4 br label %73 68: ; preds = %61 %69 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %70 = load i32, ptr @stdout, align 4 %71 = call i32 @fputs(ptr noundef %69, i32 noundef %70) %72 = call i32 @sleep(i32 noundef 1) br label %53 73: ; preds = %66, %59, %50, %32, %16 %74 = load i32, ptr %3, align 4 ret i32 %74 } ; 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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @fputs(ptr noundef, i32 noundef) #3 declare i32 @printf(ptr noundef, ...) #3 declare i32 @atoi(ptr noundef) #3 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #3 declare i32 @perror(ptr noundef) #3 declare i32 @htons(i32 noundef) #3 declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #3 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #3 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #3 declare i32 @sleep(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb0tr5xif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @__const.main.send_buff = private unnamed_addr constant [128 x i8] c"Hello world !\0A\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [38 x i8] c"Usage: ./udpclient 192.168.1.1 37128\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"server ip is %s and port is %d\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"inet_pton\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"----->\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"sendto\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"recvfrom\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 [128 x i8], align 16 %8 = alloca [128 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca %struct.sockaddr_in, align 4 %11 = alloca %struct.sockaddr_in, 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 -1, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.send_buff, i64 128, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 128, i1 false) %12 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 12) %13 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 12) %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 3 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fputs(ptr noundef @.str, i32 noundef %17) store i32 -1, ptr %3, align 4 br label %76 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 = 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) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22, i32 noundef %26) %28 = load i32, ptr @AF_INET, align 4 %29 = load i32, ptr @SOCK_DGRAM, align 4 %30 = call i32 @socket(i32 noundef %28, i32 noundef %29, i32 noundef 0) store i32 %30, ptr %6, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %19 %33 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 br label %76 34: ; preds = %19 %35 = load i32, ptr @AF_INET, align 4 %36 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 store i32 %35, ptr %36, align 4 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 @atoi(ptr noundef %39) %41 = call i32 @htons(i32 noundef %40) %42 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1 store i32 %41, ptr %42, align 4 %43 = load i32, ptr @AF_INET, align 4 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 %48 = call i64 @inet_pton(i32 noundef %43, ptr noundef %46, ptr noundef %47) %49 = icmp slt i64 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %34 %51 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %76 52: ; preds = %34 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %54 = load i32, ptr %6, align 4 %55 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %56 = call i32 @sendto(i32 noundef %54, ptr noundef %55, i32 noundef 128, i32 noundef 0, ptr noundef %10, i32 noundef 12) %57 = icmp eq i32 %56, -1 br i1 %57, label %58, label %.lr.ph .lr.ph: ; preds = %52 br label %60 ._crit_edge: ; preds = %67 br label %58 58: ; preds = %._crit_edge, %52 %59 = call i32 @perror(ptr noundef @.str.5) store i32 -1, ptr %3, align 4 br label %76 60: ; preds = %.lr.ph, %67 %61 = load i32, ptr %6, align 4 %62 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %63 = call i32 @recvfrom(i32 noundef %61, ptr noundef %62, i32 noundef 128, i32 noundef 0, ptr noundef %11, ptr noundef %9) %64 = icmp eq i32 %63, -1 br i1 %64, label %65, label %67 65: ; preds = %60 %66 = call i32 @perror(ptr noundef @.str.6) store i32 -1, ptr %3, align 4 br label %76 67: ; preds = %60 %68 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %69 = load i32, ptr @stdout, align 4 %70 = call i32 @fputs(ptr noundef %68, i32 noundef %69) %71 = call i32 @sleep(i32 noundef 1) %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %73 = load i32, ptr %6, align 4 %74 = call i32 @sendto(i32 noundef %73, ptr noundef %55, i32 noundef 128, i32 noundef 0, ptr noundef %10, i32 noundef 12) %75 = icmp eq i32 %74, -1 br i1 %75, label %._crit_edge, label %60 76: ; preds = %65, %58, %50, %32, %16 %77 = load i32, ptr %3, align 4 ret i32 %77 } ; 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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @fputs(ptr noundef, i32 noundef) #3 declare i32 @printf(ptr noundef, ...) #3 declare i32 @atoi(ptr noundef) #3 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #3 declare i32 @perror(ptr noundef) #3 declare i32 @htons(i32 noundef) #3 declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #3 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #3 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #3 declare i32 @sleep(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppb03q4mt.c' source_filename = "/tmp/tmppb03q4mt.c" target datalayout = "e-m:e-p270: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/tmppb03q4mt.c" target datalayout = "e-m:e-p270: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/tmp41ab5obl.c' source_filename = "/tmp/tmp41ab5obl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %11 11: ; preds = %52, %1 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %15, label %55 15: ; preds = %11 store i32 1, ptr %4, align 4 br label %16 16: ; preds = %48, %15 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %20, label %51 20: ; preds = %16 store i32 1, ptr %5, align 4 br label %21 21: ; preds = %44, %20 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %25, label %47 25: ; preds = %21 store i32 1, ptr %6, align 4 br label %26 26: ; preds = %40, %25 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %43 30: ; preds = %26 %31 = call i32 @hash(i32 noundef 1) %32 = load i32, ptr %4, align 4 %33 = call i32 @hash(i32 noundef %32) %34 = load i32, ptr %5, align 4 %35 = call i32 @hash(i32 noundef %34) %36 = load i32, ptr %3, align 4 %37 = call i32 @hash(i32 noundef %36) %38 = load i32, ptr %6, align 4 %39 = call i32 @hash(i32 noundef %38) br label %40 40: ; preds = %30 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %26, !llvm.loop !6 43: ; preds = %26 br label %44 44: ; preds = %43 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %21, !llvm.loop !8 47: ; preds = %21 br label %48 48: ; preds = %47 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 br label %16, !llvm.loop !9 51: ; preds = %16 br label %52 52: ; preds = %51 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %3, align 4 br label %11, !llvm.loop !10 55: ; preds = %11 ret void } declare i32 @hash(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp41ab5obl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %.lr.ph8, label %63 .lr.ph8: ; preds = %1 br label %14 14: ; preds = %.lr.ph8, %57 store i32 1, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph5, label %56 .lr.ph5: ; preds = %14 br label %18 18: ; preds = %.lr.ph5, %50 store i32 1, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %.lr.ph2, label %49 .lr.ph2: ; preds = %18 br label %22 22: ; preds = %.lr.ph2, %43 store i32 1, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp sle i32 %23, %24 br i1 %25, label %.lr.ph, label %42 .lr.ph: ; preds = %22 br label %26 26: ; preds = %.lr.ph, %36 %27 = call i32 @hash(i32 noundef 1) %28 = load i32, ptr %4, align 4 %29 = call i32 @hash(i32 noundef %28) %30 = load i32, ptr %5, align 4 %31 = call i32 @hash(i32 noundef %30) %32 = load i32, ptr %3, align 4 %33 = call i32 @hash(i32 noundef %32) %34 = load i32, ptr %6, align 4 %35 = call i32 @hash(i32 noundef %34) br label %36 36: ; preds = %26 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp sle i32 %39, %40 br i1 %41, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %22 br label %43 43: ; preds = %42 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %2, align 4 %48 = icmp sle i32 %46, %47 br i1 %48, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %49 49: ; preds = %._crit_edge3, %18 br label %50 50: ; preds = %49 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %4, align 4 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %2, align 4 %55 = icmp sle i32 %53, %54 br i1 %55, label %18, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %50 br label %56 56: ; preds = %._crit_edge6, %14 br label %57 57: ; preds = %56 %58 = load i32, ptr %3, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %3, align 4 %60 = load i32, ptr %3, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp sle i32 %60, %61 br i1 %62, label %14, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %57 br label %63 63: ; preds = %._crit_edge9, %1 ret void } declare i32 @hash(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp83ju70aj.c' source_filename = "/tmp/tmp83ju70aj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [11 x i8] c"input-file\00", align 1 @.str.1 = private unnamed_addr constant [65 x i8] c"OPTION PARSING ERROR: --input-file=<filepath> must be supplied.\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"output-file\00", align 1 @.str.3 = private unnamed_addr constant [70 x i8] c"ERROR: --input-file and --output-file must point to different files.\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"ERROR: unable to read file \22%s\22.\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"ERROR: unable to write to \22%s\22.\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @recover_stuff(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 %11 = load ptr, ptr @stdout, align 8 store ptr %11, ptr %9, align 8 store i32 1, ptr %10, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = call ptr @get_option(ptr noundef @.str, ptr noundef %12, i32 noundef %13) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %70 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %4, align 4 %22 = call ptr @get_option(ptr noundef @.str.2, ptr noundef %20, i32 noundef %21) store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %19 %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %7, align 8 %28 = call i64 @strcmp(ptr noundef %26, ptr noundef %27) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %25 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %70 32: ; preds = %25, %19 %33 = load ptr, ptr %6, align 8 %34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.4) store ptr %34, ptr %8, align 8 %35 = load ptr, ptr %8, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %40 37: ; preds = %32 %38 = load ptr, ptr %6, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %38) store i32 1, ptr %3, align 4 br label %70 40: ; preds = %32 %41 = load ptr, ptr %7, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %54 43: ; preds = %40 %44 = load ptr, ptr %7, align 8 %45 = call ptr @fopen(ptr noundef %44, ptr noundef @.str.6) store ptr %45, ptr %9, align 8 %46 = load ptr, ptr %9, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %53 48: ; preds = %43 %49 = load ptr, ptr %8, align 8 %50 = call i32 @fclose(ptr noundef %49) %51 = load ptr, ptr %7, align 8 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %51) store i32 1, ptr %3, align 4 br label %70 53: ; preds = %43 br label %54 54: ; preds = %53, %40 %55 = load ptr, ptr %8, align 8 %56 = load ptr, ptr %9, align 8 %57 = call i32 @recover(ptr noundef %55, ptr noundef %56) store i32 %57, ptr %10, align 4 %58 = load ptr, ptr %8, align 8 %59 = call i32 @fclose(ptr noundef %58) %60 = load ptr, ptr %9, align 8 %61 = load ptr, ptr @stdout, align 8 %62 = icmp ne ptr %60, %61 br i1 %62, label %63, label %66 63: ; preds = %54 %64 = load ptr, ptr %9, align 8 %65 = call i32 @fclose(ptr noundef %64) br label %68 66: ; preds = %54 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %68 68: ; preds = %66, %63 %69 = load i32, ptr %10, align 4 store i32 %69, ptr %3, align 4 br label %70 70: ; preds = %68, %48, %37, %30, %17 %71 = load i32, ptr %3, align 4 ret i32 %71 } declare ptr @get_option(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @recover(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/tmp83ju70aj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [11 x i8] c"input-file\00", align 1 @.str.1 = private unnamed_addr constant [65 x i8] c"OPTION PARSING ERROR: --input-file=<filepath> must be supplied.\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"output-file\00", align 1 @.str.3 = private unnamed_addr constant [70 x i8] c"ERROR: --input-file and --output-file must point to different files.\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"ERROR: unable to read file \22%s\22.\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"ERROR: unable to write to \22%s\22.\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @recover_stuff(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 %11 = load ptr, ptr @stdout, align 8 store ptr %11, ptr %9, align 8 store i32 1, ptr %10, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = call ptr @get_option(ptr noundef @.str, ptr noundef %12, i32 noundef %13) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %70 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %4, align 4 %22 = call ptr @get_option(ptr noundef @.str.2, ptr noundef %20, i32 noundef %21) store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %19 %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %7, align 8 %28 = call i64 @strcmp(ptr noundef %26, ptr noundef %27) %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %25 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %70 32: ; preds = %25, %19 %33 = load ptr, ptr %6, align 8 %34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.4) store ptr %34, ptr %8, align 8 %35 = load ptr, ptr %8, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %40 37: ; preds = %32 %38 = load ptr, ptr %6, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %38) store i32 1, ptr %3, align 4 br label %70 40: ; preds = %32 %41 = load ptr, ptr %7, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %54 43: ; preds = %40 %44 = load ptr, ptr %7, align 8 %45 = call ptr @fopen(ptr noundef %44, ptr noundef @.str.6) store ptr %45, ptr %9, align 8 %46 = load ptr, ptr %9, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %53 48: ; preds = %43 %49 = load ptr, ptr %8, align 8 %50 = call i32 @fclose(ptr noundef %49) %51 = load ptr, ptr %7, align 8 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %51) store i32 1, ptr %3, align 4 br label %70 53: ; preds = %43 br label %54 54: ; preds = %53, %40 %55 = load ptr, ptr %8, align 8 %56 = load ptr, ptr %9, align 8 %57 = call i32 @recover(ptr noundef %55, ptr noundef %56) store i32 %57, ptr %10, align 4 %58 = load ptr, ptr %8, align 8 %59 = call i32 @fclose(ptr noundef %58) %60 = load ptr, ptr %9, align 8 %61 = load ptr, ptr @stdout, align 8 %62 = icmp ne ptr %60, %61 br i1 %62, label %63, label %66 63: ; preds = %54 %64 = load ptr, ptr %9, align 8 %65 = call i32 @fclose(ptr noundef %64) br label %68 66: ; preds = %54 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %68 68: ; preds = %66, %63 %69 = load i32, ptr %10, align 4 store i32 %69, ptr %3, align 4 br label %70 70: ; preds = %68, %48, %37, %30, %17 %71 = load i32, ptr %3, align 4 ret i32 %71 } declare ptr @get_option(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @recover(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/tmp7y19c6mg.c' source_filename = "/tmp/tmp7y19c6mg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RegInvalidationDetect2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call ptr @malloc(i32 noundef 12) store ptr %4, ptr %3, align 8 store ptr %3, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds ptr, ptr %5, i32 1 store ptr %6, ptr %2, align 8 ret ptr null } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7y19c6mg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RegInvalidationDetect2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call ptr @malloc(i32 noundef 12) store ptr %4, ptr %3, align 8 store ptr %3, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds ptr, ptr %5, i32 1 store ptr %6, ptr %2, align 8 ret ptr null } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj2m419zn.c' source_filename = "/tmp/tmpj2m419zn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @funge_stack_greater_than(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = call i32 (...) @funge_thread_stack() %7 = call i32 @funge_stack_pop(i32 noundef %6, ptr noundef %4) store i32 %7, ptr %5, align 4 %8 = call i32 (...) @funge_thread_stack() %9 = call i32 @funge_stack_pop(i32 noundef %8, ptr noundef %3) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %10, %11 %13 = zext i1 %12 to i64 %14 = select i1 %12, i32 1, i32 0 store i32 %14, ptr %3, align 4 %15 = call i32 (...) @funge_thread_stack() %16 = call i32 @funge_stack_push(i32 noundef %15, ptr noundef %3) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 ret i32 %17 } declare i32 @funge_stack_pop(i32 noundef, ptr noundef) #1 declare i32 @funge_thread_stack(...) #1 declare i32 @funge_stack_push(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/tmpj2m419zn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @funge_stack_greater_than(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = call i32 (...) @funge_thread_stack() %7 = call i32 @funge_stack_pop(i32 noundef %6, ptr noundef %4) store i32 %7, ptr %5, align 4 %8 = call i32 (...) @funge_thread_stack() %9 = call i32 @funge_stack_pop(i32 noundef %8, ptr noundef %3) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %10, %11 %13 = zext i1 %12 to i64 %14 = select i1 %12, i32 1, i32 0 store i32 %14, ptr %3, align 4 %15 = call i32 (...) @funge_thread_stack() %16 = call i32 @funge_stack_push(i32 noundef %15, ptr noundef %3) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 ret i32 %17 } declare i32 @funge_stack_pop(i32 noundef, ptr noundef) #1 declare i32 @funge_thread_stack(...) #1 declare i32 @funge_stack_push(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/tmpuysr2hcd.c' source_filename = "/tmp/tmpuysr2hcd.c" target datalayout = "e-m:e-p270: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/tmpuysr2hcd.c" target datalayout = "e-m:e-p270: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/tmpbe56b3e5.c' source_filename = "/tmp/tmpbe56b3e5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter the number \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"The number of setbit in given number = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call i32 @countset(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @countset(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/tmpbe56b3e5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter the number \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"The number of setbit in given number = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call i32 @countset(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @countset(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/tmpa0mm_a54.c' source_filename = "/tmp/tmpa0mm_a54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tmatch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %219, %208, %201, %149, %91, %71, %68, %42, %2 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %9, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %10 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br label %26 26: ; preds = %18, %10 %27 = phi i1 [ true, %10 ], [ %25, %18 ] br i1 %27, label %28, label %222 28: ; preds = %26 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %34, %40 br i1 %41, label %42, label %47 42: ; preds = %28 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 br label %10, !llvm.loop !6 47: ; preds = %28 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 91 br i1 %54, label %55, label %74 55: ; preds = %47 %56 = load ptr, ptr %5, align 8 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %8, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = call i64 @checkrange(ptr noundef %56, ptr noundef %9, i8 noundef signext %61) %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %71 64: ; preds = %55 %65 = load ptr, ptr %6, align 8 %66 = icmp eq ptr %65, null br i1 %66, label %67, label %68 67: ; preds = %64 store i32 0, ptr %3, align 4 br label %223 68: ; preds = %64 %69 = load ptr, ptr %6, align 8 store ptr %69, ptr %5, align 8 store i32 0, ptr %9, align 4 %70 = load ptr, ptr %7, align 8 store ptr %70, ptr %4, align 8 store i32 0, ptr %8, align 4 br label %10, !llvm.loop !6 71: ; preds = %55 %72 = load i32, ptr %8, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %8, align 4 br label %10, !llvm.loop !6 74: ; preds = %47 %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %9, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %80, 63 br i1 %81, label %82, label %96 82: ; preds = %74 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %8, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %91 90: ; preds = %82 store i32 0, ptr %3, align 4 br label %223 91: ; preds = %82 %92 = load i32, ptr %8, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %8, align 4 %94 = load i32, ptr %9, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %9, align 4 br label %10, !llvm.loop !6 96: ; preds = %74 %97 = load ptr, ptr %5, align 8 %98 = load i32, ptr %9, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %97, i64 %99 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 42 br i1 %103, label %104, label %215 104: ; preds = %96 %105 = load ptr, ptr %5, align 8 %106 = load i32, ptr %9, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %105, i64 %107 store ptr %108, ptr %6, align 8 %109 = load i32, ptr %9, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %9, align 4 %111 = load ptr, ptr %5, align 8 %112 = load i32, ptr %9, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %119 118: ; preds = %104 store i32 1, ptr %3, align 4 br label %223 119: ; preds = %104 %120 = load ptr, ptr %5, align 8 %121 = load i32, ptr %9, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %120, i64 %122 %124 = load i8, ptr %123, align 1 %125 = sext i8 %124 to i32 %126 = icmp eq i32 %125, 91 br i1 %126, label %127, label %158 127: ; preds = %119 br label %128 128: ; preds = %146, %127 %129 = load ptr, ptr %5, align 8 %130 = load ptr, ptr %4, align 8 %131 = load i32, ptr %8, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i8, ptr %130, i64 %132 %134 = load i8, ptr %133, align 1 %135 = call i64 @checkrange(ptr noundef %129, ptr noundef %9, i8 noundef signext %134) %136 = icmp eq i64 %135, 0 br i1 %136, label %137, label %149 137: ; preds = %128 %138 = load ptr, ptr %4, align 8 %139 = load i32, ptr %8, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i8, ptr %138, i64 %140 %142 = load i8, ptr %141, align 1 %143 = sext i8 %142 to i32 %144 = icmp eq i32 %143, 0 br i1 %144, label %145, label %146 145: ; preds = %137 store i32 0, ptr %3, align 4 br label %223 146: ; preds = %137 %147 = load i32, ptr %8, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %8, align 4 br label %128, !llvm.loop !8 149: ; preds = %128 %150 = load ptr, ptr %4, align 8 %151 = load i32, ptr %8, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i8, ptr %150, i64 %152 store ptr %153, ptr %7, align 8 %154 = load ptr, ptr %7, align 8 %155 = getelementptr inbounds i8, ptr %154, i32 1 store ptr %155, ptr %7, align 8 %156 = load i32, ptr %8, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %8, align 4 br label %10, !llvm.loop !6 158: ; preds = %119 %159 = load ptr, ptr %5, align 8 %160 = load i32, ptr %9, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %159, i64 %161 %163 = load i8, ptr %162, align 1 %164 = sext i8 %163 to i32 %165 = icmp ne i32 %164, 63 br i1 %165, label %166, label %208 166: ; preds = %158 %167 = load ptr, ptr %5, align 8 %168 = load i32, ptr %9, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i8, ptr %167, i64 %169 %171 = load i8, ptr %170, align 1 %172 = sext i8 %171 to i32 %173 = icmp ne i32 %172, 42 br i1 %173, label %174, label %208 174: ; preds = %166 br label %175 175: ; preds = %198, %174 %176 = load ptr, ptr %4, align 8 %177 = load i32, ptr %8, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds i8, ptr %176, i64 %178 %180 = load i8, ptr %179, align 1 %181 = sext i8 %180 to i32 %182 = load ptr, ptr %5, align 8 %183 = load i32, ptr %9, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds i8, ptr %182, i64 %184 %186 = load i8, ptr %185, align 1 %187 = sext i8 %186 to i32 %188 = icmp ne i32 %181, %187 br i1 %188, label %189, label %201 189: ; preds = %175 %190 = load ptr, ptr %4, align 8 %191 = load i32, ptr %8, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds i8, ptr %190, i64 %192 %194 = load i8, ptr %193, align 1 %195 = sext i8 %194 to i32 %196 = icmp eq i32 %195, 0 br i1 %196, label %197, label %198 197: ; preds = %189 store i32 0, ptr %3, align 4 br label %223 198: ; preds = %189 %199 = load i32, ptr %8, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %8, align 4 br label %175, !llvm.loop !9 201: ; preds = %175 %202 = load ptr, ptr %4, align 8 %203 = load i32, ptr %8, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i8, ptr %202, i64 %204 store ptr %205, ptr %7, align 8 %206 = load ptr, ptr %7, align 8 %207 = getelementptr inbounds i8, ptr %206, i32 1 store ptr %207, ptr %7, align 8 br label %10, !llvm.loop !6 208: ; preds = %166, %158 %209 = load ptr, ptr %4, align 8 %210 = load i32, ptr %8, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds i8, ptr %209, i64 %211 store ptr %212, ptr %7, align 8 %213 = load ptr, ptr %7, align 8 %214 = getelementptr inbounds i8, ptr %213, i32 1 store ptr %214, ptr %7, align 8 br label %10, !llvm.loop !6 215: ; preds = %96 %216 = load ptr, ptr %6, align 8 %217 = icmp eq ptr %216, null br i1 %217, label %218, label %219 218: ; preds = %215 store i32 0, ptr %3, align 4 br label %223 219: ; preds = %215 %220 = load ptr, ptr %6, align 8 store ptr %220, ptr %5, align 8 store i32 0, ptr %9, align 4 %221 = load ptr, ptr %7, align 8 store ptr %221, ptr %4, align 8 store i32 0, ptr %8, align 4 br label %10, !llvm.loop !6 222: ; preds = %26 store i32 1, ptr %3, align 4 br label %223 223: ; preds = %222, %218, %197, %145, %118, %90, %67 %224 = load i32, ptr %3, align 4 ret i32 %224 } declare i64 @checkrange(ptr noundef, ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa0mm_a54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tmatch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %.backedge, %2 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %9, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %10 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br label %26 26: ; preds = %18, %10 %27 = phi i1 [ true, %10 ], [ %25, %18 ] br i1 %27, label %28, label %241 28: ; preds = %26 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %34, %40 br i1 %41, label %42, label %47 42: ; preds = %28 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 br label %.backedge .backedge: ; preds = %42, %68, %71, %91, %156, %220, %227, %238 br label %10, !llvm.loop !6 47: ; preds = %28 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 91 br i1 %54, label %55, label %74 55: ; preds = %47 %56 = load ptr, ptr %5, align 8 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %8, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = call i64 @checkrange(ptr noundef %56, ptr noundef %9, i8 noundef signext %61) %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %71 64: ; preds = %55 %65 = load ptr, ptr %6, align 8 %66 = icmp eq ptr %65, null br i1 %66, label %67, label %68 67: ; preds = %64 store i32 0, ptr %3, align 4 br label %242 68: ; preds = %64 %69 = load ptr, ptr %6, align 8 store ptr %69, ptr %5, align 8 store i32 0, ptr %9, align 4 %70 = load ptr, ptr %7, align 8 store ptr %70, ptr %4, align 8 store i32 0, ptr %8, align 4 br label %.backedge 71: ; preds = %55 %72 = load i32, ptr %8, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %8, align 4 br label %.backedge 74: ; preds = %47 %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %9, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %80, 63 br i1 %81, label %82, label %96 82: ; preds = %74 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %8, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %91 90: ; preds = %82 store i32 0, ptr %3, align 4 br label %242 91: ; preds = %82 %92 = load i32, ptr %8, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %8, align 4 %94 = load i32, ptr %9, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %9, align 4 br label %.backedge 96: ; preds = %74 %97 = load ptr, ptr %5, align 8 %98 = load i32, ptr %9, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %97, i64 %99 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 42 br i1 %103, label %104, label %234 104: ; preds = %96 %105 = load ptr, ptr %5, align 8 %106 = load i32, ptr %9, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %105, i64 %107 store ptr %108, ptr %6, align 8 %109 = load i32, ptr %9, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %9, align 4 %111 = load ptr, ptr %5, align 8 %112 = load i32, ptr %9, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %119 118: ; preds = %104 store i32 1, ptr %3, align 4 br label %242 119: ; preds = %104 %120 = load ptr, ptr %5, align 8 %121 = load i32, ptr %9, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %120, i64 %122 %124 = load i8, ptr %123, align 1 %125 = sext i8 %124 to i32 %126 = icmp eq i32 %125, 91 br i1 %126, label %127, label %165 127: ; preds = %119 %128 = load ptr, ptr %5, align 8 %129 = load ptr, ptr %4, align 8 %130 = load i32, ptr %8, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i8, ptr %129, i64 %131 %133 = load i8, ptr %132, align 1 %134 = call i64 @checkrange(ptr noundef %128, ptr noundef %9, i8 noundef signext %133) %135 = icmp eq i64 %134, 0 br i1 %135, label %.lr.ph2, label %156 .lr.ph2: ; preds = %127 br label %136 136: ; preds = %.lr.ph2, %145 %137 = load ptr, ptr %4, align 8 %138 = load i32, ptr %8, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i8, ptr %137, i64 %139 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp eq i32 %142, 0 br i1 %143, label %144, label %145 144: ; preds = %136 store i32 0, ptr %3, align 4 br label %242 145: ; preds = %136 %146 = load i32, ptr %8, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %8, align 4 %148 = load ptr, ptr %5, align 8 %149 = load ptr, ptr %4, align 8 %150 = load i32, ptr %8, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i8, ptr %149, i64 %151 %153 = load i8, ptr %152, align 1 %154 = call i64 @checkrange(ptr noundef %148, ptr noundef %9, i8 noundef signext %153) %155 = icmp eq i64 %154, 0 br i1 %155, label %136, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %145 br label %156 156: ; preds = %._crit_edge3, %127 %157 = load ptr, ptr %4, align 8 %158 = load i32, ptr %8, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i8, ptr %157, i64 %159 store ptr %160, ptr %7, align 8 %161 = load ptr, ptr %7, align 8 %162 = getelementptr inbounds i8, ptr %161, i32 1 store ptr %162, ptr %7, align 8 %163 = load i32, ptr %8, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %8, align 4 br label %.backedge 165: ; preds = %119 %166 = load ptr, ptr %5, align 8 %167 = load i32, ptr %9, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i8, ptr %166, i64 %168 %170 = load i8, ptr %169, align 1 %171 = sext i8 %170 to i32 %172 = icmp ne i32 %171, 63 br i1 %172, label %173, label %227 173: ; preds = %165 %174 = load ptr, ptr %5, align 8 %175 = load i32, ptr %9, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds i8, ptr %174, i64 %176 %178 = load i8, ptr %177, align 1 %179 = sext i8 %178 to i32 %180 = icmp ne i32 %179, 42 br i1 %180, label %181, label %227 181: ; preds = %173 %182 = load ptr, ptr %4, align 8 %183 = load i32, ptr %8, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds i8, ptr %182, i64 %184 %186 = load i8, ptr %185, align 1 %187 = sext i8 %186 to i32 %188 = load ptr, ptr %5, align 8 %189 = load i32, ptr %9, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds i8, ptr %188, i64 %190 %192 = load i8, ptr %191, align 1 %193 = sext i8 %192 to i32 %194 = icmp ne i32 %187, %193 br i1 %194, label %.lr.ph, label %220 .lr.ph: ; preds = %181 br label %195 195: ; preds = %.lr.ph, %204 %196 = load ptr, ptr %4, align 8 %197 = load i32, ptr %8, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds i8, ptr %196, i64 %198 %200 = load i8, ptr %199, align 1 %201 = sext i8 %200 to i32 %202 = icmp eq i32 %201, 0 br i1 %202, label %203, label %204 203: ; preds = %195 store i32 0, ptr %3, align 4 br label %242 204: ; preds = %195 %205 = load i32, ptr %8, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %8, align 4 %207 = load ptr, ptr %4, align 8 %208 = load i32, ptr %8, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds i8, ptr %207, i64 %209 %211 = load i8, ptr %210, align 1 %212 = sext i8 %211 to i32 %213 = load ptr, ptr %5, align 8 %214 = load i32, ptr %9, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds i8, ptr %213, i64 %215 %217 = load i8, ptr %216, align 1 %218 = sext i8 %217 to i32 %219 = icmp ne i32 %212, %218 br i1 %219, label %195, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %204 br label %220 220: ; preds = %._crit_edge, %181 %221 = load ptr, ptr %4, align 8 %222 = load i32, ptr %8, align 4 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds i8, ptr %221, i64 %223 store ptr %224, ptr %7, align 8 %225 = load ptr, ptr %7, align 8 %226 = getelementptr inbounds i8, ptr %225, i32 1 store ptr %226, ptr %7, align 8 br label %.backedge 227: ; preds = %173, %165 %228 = load ptr, ptr %4, align 8 %229 = load i32, ptr %8, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds i8, ptr %228, i64 %230 store ptr %231, ptr %7, align 8 %232 = load ptr, ptr %7, align 8 %233 = getelementptr inbounds i8, ptr %232, i32 1 store ptr %233, ptr %7, align 8 br label %.backedge 234: ; preds = %96 %235 = load ptr, ptr %6, align 8 %236 = icmp eq ptr %235, null br i1 %236, label %237, label %238 237: ; preds = %234 store i32 0, ptr %3, align 4 br label %242 238: ; preds = %234 %239 = load ptr, ptr %6, align 8 store ptr %239, ptr %5, align 8 store i32 0, ptr %9, align 4 %240 = load ptr, ptr %7, align 8 store ptr %240, ptr %4, align 8 store i32 0, ptr %8, align 4 br label %.backedge 241: ; preds = %26 store i32 1, ptr %3, align 4 br label %242 242: ; preds = %241, %237, %203, %144, %118, %90, %67 %243 = load i32, ptr %3, align 4 ret i32 %243 } declare i64 @checkrange(ptr noundef, ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpq_xtml05.c' source_filename = "/tmp/tmpq_xtml05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [12 x i8] c"N[%d] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [10 x i32], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %4, align 4 br label %6 6: ; preds = %15, %0 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = mul nsw i32 %13, 2 store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %9 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_xtml05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [12 x i8] c"N[%d] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [10 x i32], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %2, align 4 %13 = mul nsw i32 %12, 2 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %8 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 10 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptpf4ifc2.c' source_filename = "/tmp/tmptpf4ifc2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.emsSetc.null = private unnamed_addr constant [7 x i8] c"<Null>\00", align 1 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @emsSetc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [202 x i8], align 16 %7 = alloca [7 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.emsSetc.null, i64 7, i1 false) %8 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 store i8 0, ptr %8, align 16 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 202) br label %19 15: ; preds = %2 %16 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 %17 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0 %18 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i32 noundef 202) br label %19 19: ; preds = %15, %11 %20 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 201 store i8 0, ptr %20, align 1 %21 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @strlen(ptr noundef %21) store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %36, %19 %24 = load i32, ptr %5, align 4 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %39 26: ; preds = %23 %27 = load i32, ptr %5, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 32 br i1 %33, label %34, label %35 34: ; preds = %26 br label %39 35: ; preds = %26 br label %36 36: ; preds = %35 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %5, align 4 br label %23, !llvm.loop !6 39: ; preds = %34, %23 %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 %41 store i8 0, ptr %42, align 1 %43 = load i32, ptr %5, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %48, label %45 45: ; preds = %39 %46 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 %47 = call i32 @strcpy(ptr noundef %46, ptr noundef @.str) br label %48 48: ; preds = %45, %39 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 %51 = call i32 @ems1Stok(ptr noundef %49, ptr noundef %50) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @ems1Stok(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptpf4ifc2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.emsSetc.null = private unnamed_addr constant [7 x i8] c"<Null>\00", align 1 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @emsSetc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [202 x i8], align 16 %7 = alloca [7 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.emsSetc.null, i64 7, i1 false) %8 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 store i8 0, ptr %8, align 16 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 202) br label %19 15: ; preds = %2 %16 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 %17 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0 %18 = call i32 @strncpy(ptr noundef %16, ptr noundef %17, i32 noundef 202) br label %19 19: ; preds = %15, %11 %20 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 201 store i8 0, ptr %20, align 1 %21 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @strlen(ptr noundef %21) store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp sgt i32 %23, 0 br i1 %24, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %19 br label %25 25: ; preds = %.lr.ph, %35 %26 = load i32, ptr %5, align 4 %27 = sub nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 32 br i1 %32, label %33, label %34 33: ; preds = %25 br label %40 34: ; preds = %25 br label %35 35: ; preds = %34 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %5, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp sgt i32 %38, 0 br i1 %39, label %25, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %35 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %19 br label %40 40: ; preds = %.loopexit, %33 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 %42 store i8 0, ptr %43, align 1 %44 = load i32, ptr %5, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %49, label %46 46: ; preds = %40 %47 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 %48 = call i32 @strcpy(ptr noundef %47, ptr noundef @.str) br label %49 49: ; preds = %46, %40 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds [202 x i8], ptr %6, i64 0, i64 0 %52 = call i32 @ems1Stok(ptr noundef %50, ptr noundef %51) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @ems1Stok(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu3_y_nc9.c' source_filename = "/tmp/tmpu3_y_nc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_phnedg(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 @free_object(i32 noundef 25, ptr noundef %3) ret void } declare i32 @free_object(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/tmpu3_y_nc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_phnedg(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 @free_object(i32 noundef 25, ptr noundef %3) ret void } declare i32 @free_object(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/tmp9bi5a5d8.c' source_filename = "/tmp/tmp9bi5a5d8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 key: %d \0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Keyval: %d \0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"flag = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"-> %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"<- %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"blank %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c". %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"9 %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"6 %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"3 %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"ent %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"8 %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"5 %d\0A\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"2 %d\0A\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"0 %d\0A\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"7 %d\0A\00", align 1 @.str.16 = private unnamed_addr constant [6 x i8] c"4 %d\0A\00", align 1 @.str.17 = private unnamed_addr constant [6 x i8] c"1 %d\0A\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"clr %d\0A\00", align 1 @.str.19 = private unnamed_addr constant [11 x i8] c"keyval %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @toggle_io(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %1, %129 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %2, align 8 store volatile i32 448, ptr %7, align 4 %8 = call i32 @usleep(i32 noundef 1000) %9 = load ptr, ptr %2, align 8 %10 = load volatile i32, ptr %9, align 4 %11 = and i32 %10, 495 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %19, label %25 19: ; preds = %6 %20 = load i32, ptr %5, align 4 %21 = and i32 %20, 15 %22 = icmp slt i32 %21, 15 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %4, align 4 store i32 1, ptr %3, align 4 br label %25 25: ; preds = %23, %19, %6 %26 = load ptr, ptr %2, align 8 store volatile i32 416, ptr %26, align 4 %27 = call i32 @usleep(i32 noundef 1000) %28 = load ptr, ptr %2, align 8 %29 = load volatile i32, ptr %28, align 4 %30 = and i32 %29, 495 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp ne i32 %31, %32 br i1 %33, label %34, label %40 34: ; preds = %25 %35 = load i32, ptr %5, align 4 %36 = and i32 %35, 15 %37 = icmp slt i32 %36, 15 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = load i32, ptr %5, align 4 store i32 %39, ptr %4, align 4 store i32 1, ptr %3, align 4 br label %40 40: ; preds = %38, %34, %25 %41 = load ptr, ptr %2, align 8 store volatile i32 352, ptr %41, align 4 %42 = call i32 @usleep(i32 noundef 1000) %43 = load ptr, ptr %2, align 8 %44 = load volatile i32, ptr %43, align 4 %45 = and i32 %44, 495 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %5, align 4 %48 = icmp ne i32 %46, %47 br i1 %48, label %49, label %55 49: ; preds = %40 %50 = load i32, ptr %5, align 4 %51 = and i32 %50, 15 %52 = icmp slt i32 %51, 15 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = load i32, ptr %5, align 4 store i32 %54, ptr %4, align 4 store i32 1, ptr %3, align 4 br label %55 55: ; preds = %53, %49, %40 %56 = load ptr, ptr %2, align 8 store volatile i32 224, ptr %56, align 4 %57 = call i32 @usleep(i32 noundef 1) %58 = load ptr, ptr %2, align 8 %59 = load volatile i32, ptr %58, align 4 %60 = and i32 %59, 495 store i32 %60, ptr %5, align 4 %61 = load i32, ptr %4, align 4 %62 = load i32, ptr %5, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %64, label %70 64: ; preds = %55 %65 = load i32, ptr %5, align 4 %66 = and i32 %65, 15 %67 = icmp slt i32 %66, 15 br i1 %67, label %68, label %70 68: ; preds = %64 %69 = load i32, ptr %5, align 4 store i32 %69, ptr %4, align 4 store i32 1, ptr %3, align 4 br label %70 70: ; preds = %68, %64, %55 %71 = load i32, ptr %3, align 4 %72 = call i32 @printf(ptr noundef @.str.2, i32 noundef %71) %73 = load i32, ptr %3, align 4 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %129 75: ; preds = %70 %76 = load i32, ptr %4, align 4 switch i32 %76, label %125 [ i32 462, label %77 i32 461, label %80 i32 459, label %83 i32 455, label %86 i32 430, label %89 i32 429, label %92 i32 427, label %95 i32 423, label %98 i32 366, label %101 i32 365, label %104 i32 363, label %107 i32 359, label %110 i32 238, label %113 i32 237, label %116 i32 235, label %119 i32 231, label %122 ] 77: ; preds = %75 %78 = load i32, ptr %4, align 4 %79 = call i32 @printf(ptr noundef @.str.3, i32 noundef %78) br label %128 80: ; preds = %75 %81 = load i32, ptr %4, align 4 %82 = call i32 @printf(ptr noundef @.str.4, i32 noundef %81) br label %128 83: ; preds = %75 %84 = load i32, ptr %4, align 4 %85 = call i32 @printf(ptr noundef @.str.5, i32 noundef %84) br label %128 86: ; preds = %75 %87 = load i32, ptr %4, align 4 %88 = call i32 @printf(ptr noundef @.str.6, i32 noundef %87) br label %128 89: ; preds = %75 %90 = load i32, ptr %4, align 4 %91 = call i32 @printf(ptr noundef @.str.7, i32 noundef %90) br label %128 92: ; preds = %75 %93 = load i32, ptr %4, align 4 %94 = call i32 @printf(ptr noundef @.str.8, i32 noundef %93) br label %128 95: ; preds = %75 %96 = load i32, ptr %4, align 4 %97 = call i32 @printf(ptr noundef @.str.9, i32 noundef %96) br label %128 98: ; preds = %75 %99 = load i32, ptr %4, align 4 %100 = call i32 @printf(ptr noundef @.str.10, i32 noundef %99) br label %128 101: ; preds = %75 %102 = load i32, ptr %4, align 4 %103 = call i32 @printf(ptr noundef @.str.11, i32 noundef %102) br label %128 104: ; preds = %75 %105 = load i32, ptr %4, align 4 %106 = call i32 @printf(ptr noundef @.str.12, i32 noundef %105) br label %128 107: ; preds = %75 %108 = load i32, ptr %4, align 4 %109 = call i32 @printf(ptr noundef @.str.13, i32 noundef %108) br label %128 110: ; preds = %75 %111 = load i32, ptr %4, align 4 %112 = call i32 @printf(ptr noundef @.str.14, i32 noundef %111) br label %128 113: ; preds = %75 %114 = load i32, ptr %4, align 4 %115 = call i32 @printf(ptr noundef @.str.15, i32 noundef %114) br label %128 116: ; preds = %75 %117 = load i32, ptr %4, align 4 %118 = call i32 @printf(ptr noundef @.str.16, i32 noundef %117) br label %128 119: ; preds = %75 %120 = load i32, ptr %4, align 4 %121 = call i32 @printf(ptr noundef @.str.17, i32 noundef %120) br label %128 122: ; preds = %75 %123 = load i32, ptr %4, align 4 %124 = call i32 @printf(ptr noundef @.str.18, i32 noundef %123) br label %128 125: ; preds = %75 %126 = load i32, ptr %4, align 4 %127 = call i32 @printf(ptr noundef @.str.19, i32 noundef %126) br label %128 128: ; preds = %125, %122, %119, %116, %113, %110, %107, %104, %101, %98, %95, %92, %89, %86, %83, %80, %77 br label %129 129: ; preds = %128, %70 br label %6 } declare i32 @usleep(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9bi5a5d8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 key: %d \0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Keyval: %d \0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"flag = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"-> %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"<- %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"blank %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c". %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"9 %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"6 %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"3 %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"ent %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"8 %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"5 %d\0A\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"2 %d\0A\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"0 %d\0A\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"7 %d\0A\00", align 1 @.str.16 = private unnamed_addr constant [6 x i8] c"4 %d\0A\00", align 1 @.str.17 = private unnamed_addr constant [6 x i8] c"1 %d\0A\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"clr %d\0A\00", align 1 @.str.19 = private unnamed_addr constant [11 x i8] c"keyval %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @toggle_io(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %129, %1 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %2, align 8 store volatile i32 448, ptr %7, align 4 %8 = call i32 @usleep(i32 noundef 1000) %9 = load ptr, ptr %2, align 8 %10 = load volatile i32, ptr %9, align 4 %11 = and i32 %10, 495 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %19, label %25 19: ; preds = %6 %20 = load i32, ptr %5, align 4 %21 = and i32 %20, 15 %22 = icmp slt i32 %21, 15 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %4, align 4 store i32 1, ptr %3, align 4 br label %25 25: ; preds = %23, %19, %6 %26 = load ptr, ptr %2, align 8 store volatile i32 416, ptr %26, align 4 %27 = call i32 @usleep(i32 noundef 1000) %28 = load ptr, ptr %2, align 8 %29 = load volatile i32, ptr %28, align 4 %30 = and i32 %29, 495 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp ne i32 %31, %32 br i1 %33, label %34, label %40 34: ; preds = %25 %35 = load i32, ptr %5, align 4 %36 = and i32 %35, 15 %37 = icmp slt i32 %36, 15 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = load i32, ptr %5, align 4 store i32 %39, ptr %4, align 4 store i32 1, ptr %3, align 4 br label %40 40: ; preds = %38, %34, %25 %41 = load ptr, ptr %2, align 8 store volatile i32 352, ptr %41, align 4 %42 = call i32 @usleep(i32 noundef 1000) %43 = load ptr, ptr %2, align 8 %44 = load volatile i32, ptr %43, align 4 %45 = and i32 %44, 495 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %5, align 4 %48 = icmp ne i32 %46, %47 br i1 %48, label %49, label %55 49: ; preds = %40 %50 = load i32, ptr %5, align 4 %51 = and i32 %50, 15 %52 = icmp slt i32 %51, 15 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = load i32, ptr %5, align 4 store i32 %54, ptr %4, align 4 store i32 1, ptr %3, align 4 br label %55 55: ; preds = %53, %49, %40 %56 = load ptr, ptr %2, align 8 store volatile i32 224, ptr %56, align 4 %57 = call i32 @usleep(i32 noundef 1) %58 = load ptr, ptr %2, align 8 %59 = load volatile i32, ptr %58, align 4 %60 = and i32 %59, 495 store i32 %60, ptr %5, align 4 %61 = load i32, ptr %4, align 4 %62 = load i32, ptr %5, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %64, label %70 64: ; preds = %55 %65 = load i32, ptr %5, align 4 %66 = and i32 %65, 15 %67 = icmp slt i32 %66, 15 br i1 %67, label %68, label %70 68: ; preds = %64 %69 = load i32, ptr %5, align 4 store i32 %69, ptr %4, align 4 store i32 1, ptr %3, align 4 br label %70 70: ; preds = %68, %64, %55 %71 = load i32, ptr %3, align 4 %72 = call i32 @printf(ptr noundef @.str.2, i32 noundef %71) %73 = load i32, ptr %3, align 4 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %129 75: ; preds = %70 %76 = load i32, ptr %4, align 4 switch i32 %76, label %125 [ i32 462, label %77 i32 461, label %80 i32 459, label %83 i32 455, label %86 i32 430, label %89 i32 429, label %92 i32 427, label %95 i32 423, label %98 i32 366, label %101 i32 365, label %104 i32 363, label %107 i32 359, label %110 i32 238, label %113 i32 237, label %116 i32 235, label %119 i32 231, label %122 ] 77: ; preds = %75 %78 = load i32, ptr %4, align 4 %79 = call i32 @printf(ptr noundef @.str.3, i32 noundef %78) br label %128 80: ; preds = %75 %81 = load i32, ptr %4, align 4 %82 = call i32 @printf(ptr noundef @.str.4, i32 noundef %81) br label %128 83: ; preds = %75 %84 = load i32, ptr %4, align 4 %85 = call i32 @printf(ptr noundef @.str.5, i32 noundef %84) br label %128 86: ; preds = %75 %87 = load i32, ptr %4, align 4 %88 = call i32 @printf(ptr noundef @.str.6, i32 noundef %87) br label %128 89: ; preds = %75 %90 = load i32, ptr %4, align 4 %91 = call i32 @printf(ptr noundef @.str.7, i32 noundef %90) br label %128 92: ; preds = %75 %93 = load i32, ptr %4, align 4 %94 = call i32 @printf(ptr noundef @.str.8, i32 noundef %93) br label %128 95: ; preds = %75 %96 = load i32, ptr %4, align 4 %97 = call i32 @printf(ptr noundef @.str.9, i32 noundef %96) br label %128 98: ; preds = %75 %99 = load i32, ptr %4, align 4 %100 = call i32 @printf(ptr noundef @.str.10, i32 noundef %99) br label %128 101: ; preds = %75 %102 = load i32, ptr %4, align 4 %103 = call i32 @printf(ptr noundef @.str.11, i32 noundef %102) br label %128 104: ; preds = %75 %105 = load i32, ptr %4, align 4 %106 = call i32 @printf(ptr noundef @.str.12, i32 noundef %105) br label %128 107: ; preds = %75 %108 = load i32, ptr %4, align 4 %109 = call i32 @printf(ptr noundef @.str.13, i32 noundef %108) br label %128 110: ; preds = %75 %111 = load i32, ptr %4, align 4 %112 = call i32 @printf(ptr noundef @.str.14, i32 noundef %111) br label %128 113: ; preds = %75 %114 = load i32, ptr %4, align 4 %115 = call i32 @printf(ptr noundef @.str.15, i32 noundef %114) br label %128 116: ; preds = %75 %117 = load i32, ptr %4, align 4 %118 = call i32 @printf(ptr noundef @.str.16, i32 noundef %117) br label %128 119: ; preds = %75 %120 = load i32, ptr %4, align 4 %121 = call i32 @printf(ptr noundef @.str.17, i32 noundef %120) br label %128 122: ; preds = %75 %123 = load i32, ptr %4, align 4 %124 = call i32 @printf(ptr noundef @.str.18, i32 noundef %123) br label %128 125: ; preds = %75 %126 = load i32, ptr %4, align 4 %127 = call i32 @printf(ptr noundef @.str.19, i32 noundef %126) br label %128 128: ; preds = %125, %122, %119, %116, %113, %110, %107, %104, %101, %98, %95, %92, %89, %86, %83, %80, %77 br label %129 129: ; preds = %128, %70 br label %6 } declare i32 @usleep(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppkkfj844.c' source_filename = "/tmp/tmppkkfj844.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Looks like a zero to me!\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"A non-zero value? How quaint!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @LLVMFuzzerTestOneInput(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = icmp ult i64 %6, 2 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %3, align 4 br label %19 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i32, ptr %10, i64 0 %12 = load i32, ptr %11, align 4 %13 = icmp eq i32 %12, 48 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = call i32 @printf(ptr noundef @.str) br label %18 16: ; preds = %9 %17 = call i32 @printf(ptr noundef @.str.1) br label %18 18: ; preds = %16, %14 store i32 0, ptr %3, align 4 br label %19 19: ; preds = %18, %8 %20 = load i32, ptr %3, align 4 ret i32 %20 } 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/tmppkkfj844.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Looks like a zero to me!\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"A non-zero value? How quaint!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @LLVMFuzzerTestOneInput(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = icmp ult i64 %6, 2 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %3, align 4 br label %19 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i32, ptr %10, i64 0 %12 = load i32, ptr %11, align 4 %13 = icmp eq i32 %12, 48 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = call i32 @printf(ptr noundef @.str) br label %18 16: ; preds = %9 %17 = call i32 @printf(ptr noundef @.str.1) br label %18 18: ; preds = %16, %14 store i32 0, ptr %3, align 4 br label %19 19: ; preds = %18, %8 %20 = load i32, ptr %3, align 4 ret i32 %20 } 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/tmphx94ta1d.c' source_filename = "/tmp/tmphx94ta1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.addrinfo = type { i32, i32, i32, i32, i32, i32 } @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"setsockopt\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @listen_to(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca %struct.addrinfo, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 24, i1 false) store ptr null, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 -1, ptr %11, align 4 %12 = load i32, ptr @AF_UNSPEC, align 4 %13 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 3 store i32 %12, ptr %13, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 2 store i32 %14, ptr %15, align 4 %16 = load i32, ptr @AI_PASSIVE, align 4 %17 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 4 store i32 %16, ptr %17, align 4 %18 = call ptr @alloca(i32 noundef 6) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %5, align 4 %21 = call i32 @snprintf(ptr noundef %19, i32 noundef 6, ptr noundef @.str, i32 noundef %20) %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 @getaddrinfo(ptr noundef %22, ptr noundef %23, ptr noundef %7, ptr noundef %6) store i32 %24, ptr %9, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %2 %27 = load i32, ptr @stderr, align 4 %28 = load i32, ptr %9, align 4 %29 = call ptr @gai_strerror(i32 noundef %28) %30 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.1, ptr noundef %29) store i32 -1, ptr %3, align 4 br label %78 31: ; preds = %2 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds %struct.addrinfo, ptr %32, i32 0, i32 3 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds %struct.addrinfo, ptr %35, i32 0, i32 2 %37 = load i32, ptr %36, align 4 %38 = call i32 @socket(i32 noundef %34, i32 noundef %37, i32 noundef 0) store i32 %38, ptr %11, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %31 %41 = call i32 @perror(ptr noundef @.str.2) %42 = load ptr, ptr %6, align 8 %43 = call i32 @freeaddrinfo(ptr noundef %42) store i32 -1, ptr %3, align 4 br label %78 44: ; preds = %31 %45 = load i32, ptr %11, align 4 %46 = load i32, ptr @SOL_SOCKET, align 4 %47 = load i32, ptr @SO_REUSEADDR, align 4 %48 = call i64 @setsockopt(i32 noundef %45, i32 noundef %46, i32 noundef %47, ptr noundef %10, i32 noundef 4) %49 = icmp slt i64 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %44 %51 = call i32 @perror(ptr noundef @.str.3) %52 = load ptr, ptr %6, align 8 %53 = call i32 @freeaddrinfo(ptr noundef %52) store i32 -1, ptr %3, align 4 br label %78 54: ; preds = %44 %55 = load i32, ptr %11, align 4 %56 = load ptr, ptr %6, align 8 %57 = getelementptr inbounds %struct.addrinfo, ptr %56, i32 0, i32 1 %58 = load i32, ptr %57, align 4 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds %struct.addrinfo, ptr %59, i32 0, i32 0 %61 = load i32, ptr %60, align 4 %62 = call i64 @bind(i32 noundef %55, i32 noundef %58, i32 noundef %61) %63 = icmp slt i64 %62, 0 br i1 %63, label %64, label %68 64: ; preds = %54 %65 = call i32 @perror(ptr noundef @.str.4) %66 = load ptr, ptr %6, align 8 %67 = call i32 @freeaddrinfo(ptr noundef %66) store i32 -1, ptr %3, align 4 br label %78 68: ; preds = %54 %69 = load ptr, ptr %6, align 8 %70 = call i32 @freeaddrinfo(ptr noundef %69) %71 = load i32, ptr %11, align 4 %72 = call i64 @listen(i32 noundef %71, i32 noundef 10) %73 = icmp slt i64 %72, 0 br i1 %73, label %74, label %76 74: ; preds = %68 %75 = call i32 @perror(ptr noundef @.str.5) store i32 -1, ptr %3, align 4 br label %78 76: ; preds = %68 %77 = load i32, ptr %11, align 4 store i32 %77, ptr %3, align 4 br label %78 78: ; preds = %76, %74, %64, %50, %40, %26 %79 = load i32, ptr %3, align 4 ret i32 %79 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @alloca(i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @gai_strerror(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @freeaddrinfo(ptr noundef) #2 declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @bind(i32 noundef, i32 noundef, i32 noundef) #2 declare i64 @listen(i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmphx94ta1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.addrinfo = type { i32, i32, i32, i32, i32, i32 } @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"setsockopt\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @listen_to(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca %struct.addrinfo, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 24, i1 false) store ptr null, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 -1, ptr %11, align 4 %12 = load i32, ptr @AF_UNSPEC, align 4 %13 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 3 store i32 %12, ptr %13, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 2 store i32 %14, ptr %15, align 4 %16 = load i32, ptr @AI_PASSIVE, align 4 %17 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 4 store i32 %16, ptr %17, align 4 %18 = call ptr @alloca(i32 noundef 6) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %5, align 4 %21 = call i32 @snprintf(ptr noundef %19, i32 noundef 6, ptr noundef @.str, i32 noundef %20) %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 @getaddrinfo(ptr noundef %22, ptr noundef %23, ptr noundef %7, ptr noundef %6) store i32 %24, ptr %9, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %2 %27 = load i32, ptr @stderr, align 4 %28 = load i32, ptr %9, align 4 %29 = call ptr @gai_strerror(i32 noundef %28) %30 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.1, ptr noundef %29) store i32 -1, ptr %3, align 4 br label %78 31: ; preds = %2 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds %struct.addrinfo, ptr %32, i32 0, i32 3 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds %struct.addrinfo, ptr %35, i32 0, i32 2 %37 = load i32, ptr %36, align 4 %38 = call i32 @socket(i32 noundef %34, i32 noundef %37, i32 noundef 0) store i32 %38, ptr %11, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %31 %41 = call i32 @perror(ptr noundef @.str.2) %42 = load ptr, ptr %6, align 8 %43 = call i32 @freeaddrinfo(ptr noundef %42) store i32 -1, ptr %3, align 4 br label %78 44: ; preds = %31 %45 = load i32, ptr %11, align 4 %46 = load i32, ptr @SOL_SOCKET, align 4 %47 = load i32, ptr @SO_REUSEADDR, align 4 %48 = call i64 @setsockopt(i32 noundef %45, i32 noundef %46, i32 noundef %47, ptr noundef %10, i32 noundef 4) %49 = icmp slt i64 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %44 %51 = call i32 @perror(ptr noundef @.str.3) %52 = load ptr, ptr %6, align 8 %53 = call i32 @freeaddrinfo(ptr noundef %52) store i32 -1, ptr %3, align 4 br label %78 54: ; preds = %44 %55 = load i32, ptr %11, align 4 %56 = load ptr, ptr %6, align 8 %57 = getelementptr inbounds %struct.addrinfo, ptr %56, i32 0, i32 1 %58 = load i32, ptr %57, align 4 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds %struct.addrinfo, ptr %59, i32 0, i32 0 %61 = load i32, ptr %60, align 4 %62 = call i64 @bind(i32 noundef %55, i32 noundef %58, i32 noundef %61) %63 = icmp slt i64 %62, 0 br i1 %63, label %64, label %68 64: ; preds = %54 %65 = call i32 @perror(ptr noundef @.str.4) %66 = load ptr, ptr %6, align 8 %67 = call i32 @freeaddrinfo(ptr noundef %66) store i32 -1, ptr %3, align 4 br label %78 68: ; preds = %54 %69 = load ptr, ptr %6, align 8 %70 = call i32 @freeaddrinfo(ptr noundef %69) %71 = load i32, ptr %11, align 4 %72 = call i64 @listen(i32 noundef %71, i32 noundef 10) %73 = icmp slt i64 %72, 0 br i1 %73, label %74, label %76 74: ; preds = %68 %75 = call i32 @perror(ptr noundef @.str.5) store i32 -1, ptr %3, align 4 br label %78 76: ; preds = %68 %77 = load i32, ptr %11, align 4 store i32 %77, ptr %3, align 4 br label %78 78: ; preds = %76, %74, %64, %50, %40, %26 %79 = load i32, ptr %3, align 4 ret i32 %79 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @alloca(i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @gai_strerror(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @freeaddrinfo(ptr noundef) #2 declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @bind(i32 noundef, i32 noundef, i32 noundef) #2 declare i64 @listen(i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpd626f0o_.c' source_filename = "/tmp/tmpd626f0o_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %8 8: ; preds = %25, %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 %22 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %7, align 8 %15 = getelementptr inbounds i64, ptr %13, i64 %14 %16 = load i64, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %7, align 8 %19 = getelementptr inbounds i64, ptr %17, i64 %18 %20 = load i64, ptr %19, align 8 %21 = icmp eq i64 %16, %20 br label %22 22: ; preds = %12, %8 %23 = phi i1 [ false, %8 ], [ %21, %12 ] br i1 %23, label %24, label %28 24: ; preds = %22 br label %25 25: ; preds = %24 %26 = load i64, ptr %7, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %7, align 8 br label %8, !llvm.loop !6 28: ; preds = %22 %29 = load ptr, ptr %4, align 8 %30 = load i64, ptr %7, align 8 %31 = getelementptr inbounds i64, ptr %29, i64 %30 %32 = load i64, ptr %31, align 8 %33 = load ptr, ptr %5, align 8 %34 = load i64, ptr %7, align 8 %35 = getelementptr inbounds i64, ptr %33, i64 %34 %36 = load i64, ptr %35, align 8 %37 = sub nsw i64 %32, %36 %38 = trunc i64 %37 to i32 ret i32 %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpd626f0o_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %8 8: ; preds = %25, %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 %22 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %7, align 8 %15 = getelementptr inbounds i64, ptr %13, i64 %14 %16 = load i64, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %7, align 8 %19 = getelementptr inbounds i64, ptr %17, i64 %18 %20 = load i64, ptr %19, align 8 %21 = icmp eq i64 %16, %20 br label %22 22: ; preds = %12, %8 %23 = phi i1 [ false, %8 ], [ %21, %12 ] br i1 %23, label %24, label %28 24: ; preds = %22 br label %25 25: ; preds = %24 %26 = load i64, ptr %7, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %7, align 8 br label %8, !llvm.loop !6 28: ; preds = %22 %29 = load ptr, ptr %4, align 8 %30 = load i64, ptr %7, align 8 %31 = getelementptr inbounds i64, ptr %29, i64 %30 %32 = load i64, ptr %31, align 8 %33 = load ptr, ptr %5, align 8 %34 = load i64, ptr %7, align 8 %35 = getelementptr inbounds i64, ptr %33, i64 %34 %36 = load i64, ptr %35, align 8 %37 = sub nsw i64 %32, %36 %38 = trunc i64 %37 to i32 ret i32 %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp4128xl0i.c' source_filename = "/tmp/tmp4128xl0i.c" target datalayout = "e-m:e-p270: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/tmp4128xl0i.c" target datalayout = "e-m:e-p270: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/tmpvf3a2w6t.c' source_filename = "/tmp/tmpvf3a2w6t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgmvwrite_openfile_ir_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @fortchartoc(ptr noundef %7) %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %9, align 4 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %11, align 4 %13 = call i32 @gmvwrite_openfile_ir(i32 noundef %8, i32 noundef %10, i32 noundef %12) ret void } declare i32 @gmvwrite_openfile_ir(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fortchartoc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvf3a2w6t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgmvwrite_openfile_ir_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @fortchartoc(ptr noundef %7) %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %9, align 4 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %11, align 4 %13 = call i32 @gmvwrite_openfile_ir(i32 noundef %8, i32 noundef %10, i32 noundef %12) ret void } declare i32 @gmvwrite_openfile_ir(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fortchartoc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq6v2auv_.c' source_filename = "/tmp/tmpq6v2auv_.c" target datalayout = "e-m:e-p270: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/tmpq6v2auv_.c" target datalayout = "e-m:e-p270: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/tmpdbdh2406.c' source_filename = "/tmp/tmpdbdh2406.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [17 x i8] c"\0AInvalid command\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %0, %19 %4 = call i32 (...) @printMenu() %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 switch i32 %6, label %17 [ i32 1, label %7 i32 2, label %9 i32 3, label %11 i32 4, label %13 i32 5, label %15 ] 7: ; preds = %3 %8 = call i32 @sendCommand(i8 noundef signext 82) br label %19 9: ; preds = %3 %10 = call i32 @sendCommand(i8 noundef signext 89) br label %19 11: ; preds = %3 %12 = call i32 @sendCommand(i8 noundef signext 71) br label %19 13: ; preds = %3 %14 = call i32 @sendCommand(i8 noundef signext 76) br label %19 15: ; preds = %3 %16 = call i32 @sendCommand(i8 noundef signext 83) br label %19 17: ; preds = %3 %18 = call i32 @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17, %15, %13, %11, %9, %7 br label %3 } declare i32 @printMenu(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sendCommand(i8 noundef signext) #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/tmpdbdh2406.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [17 x i8] c"\0AInvalid command\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %19, %0 %4 = call i32 (...) @printMenu() %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 switch i32 %6, label %17 [ i32 1, label %7 i32 2, label %9 i32 3, label %11 i32 4, label %13 i32 5, label %15 ] 7: ; preds = %3 %8 = call i32 @sendCommand(i8 noundef signext 82) br label %19 9: ; preds = %3 %10 = call i32 @sendCommand(i8 noundef signext 89) br label %19 11: ; preds = %3 %12 = call i32 @sendCommand(i8 noundef signext 71) br label %19 13: ; preds = %3 %14 = call i32 @sendCommand(i8 noundef signext 76) br label %19 15: ; preds = %3 %16 = call i32 @sendCommand(i8 noundef signext 83) br label %19 17: ; preds = %3 %18 = call i32 @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17, %15, %13, %11, %9, %7 br label %3 } declare i32 @printMenu(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sendCommand(i8 noundef signext) #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/tmpodzboi2y.c' source_filename = "/tmp/tmpodzboi2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_valid_domain(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpodzboi2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_valid_domain(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpacdxoy2z.c' source_filename = "/tmp/tmpacdxoy2z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @.str = private unnamed_addr constant [30 x i8] c"%10s%-10s\0A%-10s%-10s\0A%10s%10s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 7, i1 false) %3 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %4 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %8 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpacdxoy2z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @.str = private unnamed_addr constant [30 x i8] c"%10s%-10s\0A%-10s%-10s\0A%10s%10s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 7, i1 false) %3 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %4 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %8 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe_qkm6si.c' source_filename = "/tmp/tmpe_qkm6si.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dirExists(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @stat(ptr noundef %4, ptr noundef %3) %6 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = call i32 @S_ISDIR(i32 noundef %7) ret i32 %8 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @S_ISDIR(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/tmpe_qkm6si.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dirExists(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @stat(ptr noundef %4, ptr noundef %3) %6 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = call i32 @S_ISDIR(i32 noundef %7) ret i32 %8 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @S_ISDIR(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/tmpn4o_9snh.c' source_filename = "/tmp/tmpn4o_9snh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrndup(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = load i64, ptr %5, align 8 store i64 %13, ptr %4, align 8 br label %14 14: ; preds = %12, %2 %15 = load i64, ptr %4, align 8 %16 = add i64 %15, 1 %17 = call ptr @xcalloc(i64 noundef %16, i32 noundef 1) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %4, align 8 %21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i64 noundef %20) %22 = load ptr, ptr %6, align 8 %23 = load i64, ptr %4, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %6, align 8 ret ptr %25 } declare i64 @strlen(ptr noundef) #1 declare ptr @xcalloc(i64 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn4o_9snh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xstrndup(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = load i64, ptr %5, align 8 store i64 %13, ptr %4, align 8 br label %14 14: ; preds = %12, %2 %15 = load i64, ptr %4, align 8 %16 = add i64 %15, 1 %17 = call ptr @xcalloc(i64 noundef %16, i32 noundef 1) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %4, align 8 %21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i64 noundef %20) %22 = load ptr, ptr %6, align 8 %23 = load i64, ptr %4, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %6, align 8 ret ptr %25 } declare i64 @strlen(ptr noundef) #1 declare ptr @xcalloc(i64 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9hzz85j6.c' source_filename = "/tmp/tmp9hzz85j6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %3, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %4, align 8 %11 = load i32, ptr %2, align 4 %12 = call i32 @sieve(ptr noundef %10, i32 noundef %11) store i64 0, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %13 13: ; preds = %29, %1 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %32 17: ; preds = %13 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %10, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %17 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = load i64, ptr %5, align 8 %27 = add nsw i64 %26, %25 store i64 %27, ptr %5, align 8 br label %28 28: ; preds = %23, %17 br label %29 29: ; preds = %28 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 br label %13, !llvm.loop !6 32: ; preds = %13 %33 = load i64, ptr %5, align 8 %34 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %34) ret i64 %33 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @sieve(ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9hzz85j6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %3, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %4, align 8 %11 = load i32, ptr %2, align 4 %12 = call i32 @sieve(ptr noundef %10, i32 noundef %11) store i64 0, ptr %5, align 8 store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %28 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %10, i64 %18 %20 = load i32, ptr %19, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %16 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = load i64, ptr %5, align 8 %26 = add nsw i64 %25, %24 store i64 %26, ptr %5, align 8 br label %27 27: ; preds = %22, %16 br label %28 28: ; preds = %27 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %1 %35 = load i64, ptr %5, align 8 %36 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %36) ret i64 %35 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @sieve(ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpke8xewou.c' source_filename = "/tmp/tmpke8xewou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phex(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca [9 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i64 %0, ptr %2, align 8 %6 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 8 store i8 0, ptr %6, align 1 store i32 7, ptr %4, align 4 br label %7 7: ; preds = %34, %1 %8 = load i32, ptr %4, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %10, label %37 10: ; preds = %7 %11 = load i64, ptr %2, align 8 %12 = and i64 %11, 15 %13 = trunc i64 %12 to i8 store i8 %13, ptr %5, align 1 %14 = load i8, ptr %5, align 1 %15 = sext i8 %14 to i32 %16 = icmp slt i32 %15, 10 br i1 %16, label %17, label %21 17: ; preds = %10 %18 = load i8, ptr %5, align 1 %19 = sext i8 %18 to i32 %20 = add nsw i32 %19, 48 br label %26 21: ; preds = %10 %22 = load i8, ptr %5, align 1 %23 = sext i8 %22 to i32 %24 = sub nsw i32 %23, 10 %25 = add nsw i32 %24, 65 br label %26 26: ; preds = %21, %17 %27 = phi i32 [ %20, %17 ], [ %25, %21 ] %28 = trunc i32 %27 to i8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 %30 store i8 %28, ptr %31, align 1 %32 = load i64, ptr %2, align 8 %33 = ashr i64 %32, 4 store i64 %33, ptr %2, align 8 br label %34 34: ; preds = %26 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %4, align 4 br label %7, !llvm.loop !6 37: ; preds = %7 %38 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0 %39 = call i32 @mesg(ptr noundef %38) ret void } declare i32 @mesg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpke8xewou.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @phex(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca [9 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i64 %0, ptr %2, align 8 %6 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 8 store i8 0, ptr %6, align 1 store i32 7, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sge i32 %7, 0 br i1 %8, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %33 %10 = load i64, ptr %2, align 8 %11 = and i64 %10, 15 %12 = trunc i64 %11 to i8 store i8 %12, ptr %5, align 1 %13 = load i8, ptr %5, align 1 %14 = sext i8 %13 to i32 %15 = icmp slt i32 %14, 10 br i1 %15, label %16, label %20 16: ; preds = %9 %17 = load i8, ptr %5, align 1 %18 = sext i8 %17 to i32 %19 = add nsw i32 %18, 48 br label %25 20: ; preds = %9 %21 = load i8, ptr %5, align 1 %22 = sext i8 %21 to i32 %23 = sub nsw i32 %22, 10 %24 = add nsw i32 %23, 65 br label %25 25: ; preds = %20, %16 %26 = phi i32 [ %19, %16 ], [ %24, %20 ] %27 = trunc i32 %26 to i8 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 %29 store i8 %27, ptr %30, align 1 %31 = load i64, ptr %2, align 8 %32 = ashr i64 %31, 4 store i64 %32, ptr %2, align 8 br label %33 33: ; preds = %25 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp sge i32 %36, 0 br i1 %37, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %1 %39 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0 %40 = call i32 @mesg(ptr noundef %39) ret void } declare i32 @mesg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0h69qtkl.c' source_filename = "/tmp/tmp0h69qtkl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"From %d to %d :\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"Path: %d\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"-->%d\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"Total cost : %d\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [1002 x [1002 x i32]], align 16 %12 = alloca ptr, align 8 %13 = alloca [1002 x [1002 x i32]], align 16 %14 = alloca ptr, align 8 %15 = alloca [1002 x i32], align 16 store i32 0, ptr %1, align 4 br label %16 16: ; preds = %145, %0 %17 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6) %18 = load i32, ptr @EOF, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr %6, align 4 %22 = icmp ne i32 %21, 0 br label %23 23: ; preds = %20, %16 %24 = phi i1 [ false, %16 ], [ %22, %20 ] br i1 %24, label %25, label %146 25: ; preds = %23 store i32 1, ptr %2, align 4 br label %26 26: ; preds = %70, %25 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %73 30: ; preds = %26 store i32 1, ptr %3, align 4 br label %31 31: ; preds = %66, %30 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %35, label %69 35: ; preds = %31 %36 = load i32, ptr %2, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [1002 x [1002 x i32]], ptr %11, i64 0, i64 %37 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1002 x i32], ptr %38, i64 0, i64 %40 %42 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %41) %43 = load i32, ptr %2, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [1002 x [1002 x i32]], ptr %11, i64 0, i64 %44 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [1002 x i32], ptr %45, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %58 51: ; preds = %35 %52 = load i32, ptr %2, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1002 x [1002 x i32]], ptr %11, i64 0, i64 %53 %55 = load i32, ptr %3, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [1002 x i32], ptr %54, i64 0, i64 %56 store i32 10000000, ptr %57, align 4 br label %58 58: ; preds = %51, %35 %59 = load i32, ptr %3, align 4 %60 = load i32, ptr %2, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [1002 x [1002 x i32]], ptr %13, i64 0, i64 %61 %63 = load i32, ptr %3, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [1002 x i32], ptr %62, i64 0, i64 %64 store i32 %59, ptr %65, align 4 br label %66 66: ; preds = %58 %67 = load i32, ptr %3, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %3, align 4 br label %31, !llvm.loop !6 69: ; preds = %31 br label %70 70: ; preds = %69 %71 = load i32, ptr %2, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %2, align 4 br label %26, !llvm.loop !8 73: ; preds = %26 store i32 1, ptr %2, align 4 br label %74 74: ; preds = %83, %73 %75 = load i32, ptr %2, align 4 %76 = load i32, ptr %6, align 4 %77 = icmp sle i32 %75, %76 br i1 %77, label %78, label %86 78: ; preds = %74 %79 = load i32, ptr %2, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [1002 x i32], ptr %15, i64 0, i64 %80 %82 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %81) br label %83 83: ; preds = %78 %84 = load i32, ptr %2, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %2, align 4 br label %74, !llvm.loop !9 86: ; preds = %74 %87 = getelementptr inbounds [1002 x [1002 x i32]], ptr %11, i64 0, i64 0 store ptr %87, ptr %12, align 8 %88 = getelementptr inbounds [1002 x [1002 x i32]], ptr %13, i64 0, i64 0 store ptr %88, ptr %14, align 8 %89 = load ptr, ptr %12, align 8 %90 = load ptr, ptr %14, align 8 %91 = getelementptr inbounds [1002 x i32], ptr %15, i64 0, i64 0 %92 = load i32, ptr %6, align 4 %93 = call i32 @floyd(ptr noundef %89, ptr noundef %90, ptr noundef %91, i32 noundef %92) br label %94 94: ; preds = %135, %86 %95 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8, ptr noundef %9) %96 = icmp eq i32 %95, 2 br i1 %96, label %97, label %105 97: ; preds = %94 %98 = load i32, ptr %8, align 4 %99 = icmp ne i32 %98, -1 br i1 %99, label %100, label %103 100: ; preds = %97 %101 = load i32, ptr %9, align 4 %102 = icmp ne i32 %101, -1 br label %103 103: ; preds = %100, %97 %104 = phi i1 [ false, %97 ], [ %102, %100 ] br label %105 105: ; preds = %103, %94 %106 = phi i1 [ false, %94 ], [ %104, %103 ] br i1 %106, label %107, label %145 107: ; preds = %105 %108 = load i32, ptr %8, align 4 %109 = load i32, ptr %9, align 4 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %108, i32 noundef %109) %111 = load i32, ptr %8, align 4 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %111) %113 = load i32, ptr %9, align 4 store i32 %113, ptr %3, align 4 %114 = load i32, ptr %8, align 4 store i32 %114, ptr %4, align 4 br label %115 115: ; preds = %119, %107 %116 = load i32, ptr %4, align 4 %117 = load i32, ptr %3, align 4 %118 = icmp ne i32 %116, %117 br i1 %118, label %119, label %135 119: ; preds = %115 %120 = load i32, ptr %4, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [1002 x [1002 x i32]], ptr %13, i64 0, i64 %121 %123 = load i32, ptr %3, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [1002 x i32], ptr %122, i64 0, i64 %124 %126 = load i32, ptr %125, align 4 %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %126) %128 = load i32, ptr %4, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [1002 x [1002 x i32]], ptr %13, i64 0, i64 %129 %131 = load i32, ptr %3, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [1002 x i32], ptr %130, i64 0, i64 %132 %134 = load i32, ptr %133, align 4 store i32 %134, ptr %4, align 4 br label %115, !llvm.loop !10 135: ; preds = %115 %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %137 = load i32, ptr %8, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [1002 x [1002 x i32]], ptr %11, i64 0, i64 %138 %140 = load i32, ptr %9, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds [1002 x i32], ptr %139, i64 0, i64 %141 %143 = load i32, ptr %142, align 4 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %143) br label %94, !llvm.loop !11 145: ; preds = %105 br label %16, !llvm.loop !12 146: ; preds = %23 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @floyd(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0h69qtkl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"From %d to %d :\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"Path: %d\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"-->%d\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"Total cost : %d\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [1002 x [1002 x i32]], align 16 %12 = alloca ptr, align 8 %13 = alloca [1002 x [1002 x i32]], align 16 %14 = alloca ptr, align 8 %15 = alloca [1002 x i32], align 16 store i32 0, ptr %1, align 4 br label %16 16: ; preds = %153, %0 %17 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6) %18 = load i32, ptr @EOF, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr %6, align 4 %22 = icmp ne i32 %21, 0 br label %23 23: ; preds = %20, %16 %24 = phi i1 [ false, %16 ], [ %22, %20 ] br i1 %24, label %25, label %154 25: ; preds = %23 store i32 1, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %.lr.ph2, label %77 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %71 store i32 1, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp sle i32 %30, %31 br i1 %32, label %.lr.ph, label %70 .lr.ph: ; preds = %29 br label %33 33: ; preds = %.lr.ph, %64 %34 = load i32, ptr %2, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [1002 x [1002 x i32]], ptr %11, i64 0, i64 %35 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [1002 x i32], ptr %36, i64 0, i64 %38 %40 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %39) %41 = load i32, ptr %2, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [1002 x [1002 x i32]], ptr %11, i64 0, i64 %42 %44 = load i32, ptr %3, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [1002 x i32], ptr %43, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %56 49: ; preds = %33 %50 = load i32, ptr %2, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [1002 x [1002 x i32]], ptr %11, i64 0, i64 %51 %53 = load i32, ptr %3, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1002 x i32], ptr %52, i64 0, i64 %54 store i32 10000000, ptr %55, align 4 br label %56 56: ; preds = %49, %33 %57 = load i32, ptr %3, align 4 %58 = load i32, ptr %2, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [1002 x [1002 x i32]], ptr %13, i64 0, i64 %59 %61 = load i32, ptr %3, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [1002 x i32], ptr %60, i64 0, i64 %62 store i32 %57, ptr %63, align 4 br label %64 64: ; preds = %56 %65 = load i32, ptr %3, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %3, align 4 %67 = load i32, ptr %3, align 4 %68 = load i32, ptr %6, align 4 %69 = icmp sle i32 %67, %68 br i1 %69, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %29 br label %71 71: ; preds = %70 %72 = load i32, ptr %2, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %2, align 4 %74 = load i32, ptr %2, align 4 %75 = load i32, ptr %6, align 4 %76 = icmp sle i32 %74, %75 br i1 %76, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %71 br label %77 77: ; preds = %._crit_edge3, %25 store i32 1, ptr %2, align 4 %78 = load i32, ptr %2, align 4 %79 = load i32, ptr %6, align 4 %80 = icmp sle i32 %78, %79 br i1 %80, label %.lr.ph5, label %92 .lr.ph5: ; preds = %77 br label %81 81: ; preds = %.lr.ph5, %86 %82 = load i32, ptr %2, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [1002 x i32], ptr %15, i64 0, i64 %83 %85 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %84) br label %86 86: ; preds = %81 %87 = load i32, ptr %2, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %2, align 4 %89 = load i32, ptr %2, align 4 %90 = load i32, ptr %6, align 4 %91 = icmp sle i32 %89, %90 br i1 %91, label %81, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %86 br label %92 92: ; preds = %._crit_edge6, %77 %93 = getelementptr inbounds [1002 x [1002 x i32]], ptr %11, i64 0, i64 0 store ptr %93, ptr %12, align 8 %94 = getelementptr inbounds [1002 x [1002 x i32]], ptr %13, i64 0, i64 0 store ptr %94, ptr %14, align 8 %95 = load ptr, ptr %12, align 8 %96 = load ptr, ptr %14, align 8 %97 = getelementptr inbounds [1002 x i32], ptr %15, i64 0, i64 0 %98 = load i32, ptr %6, align 4 %99 = call i32 @floyd(ptr noundef %95, ptr noundef %96, ptr noundef %97, i32 noundef %98) br label %100 100: ; preds = %143, %92 %101 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8, ptr noundef %9) %102 = icmp eq i32 %101, 2 br i1 %102, label %103, label %111 103: ; preds = %100 %104 = load i32, ptr %8, align 4 %105 = icmp ne i32 %104, -1 br i1 %105, label %106, label %109 106: ; preds = %103 %107 = load i32, ptr %9, align 4 %108 = icmp ne i32 %107, -1 br label %109 109: ; preds = %106, %103 %110 = phi i1 [ false, %103 ], [ %108, %106 ] br label %111 111: ; preds = %109, %100 %112 = phi i1 [ false, %100 ], [ %110, %109 ] br i1 %112, label %113, label %153 113: ; preds = %111 %114 = load i32, ptr %8, align 4 %115 = load i32, ptr %9, align 4 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %114, i32 noundef %115) %117 = load i32, ptr %8, align 4 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %117) %119 = load i32, ptr %9, align 4 store i32 %119, ptr %3, align 4 %120 = load i32, ptr %8, align 4 store i32 %120, ptr %4, align 4 %121 = load i32, ptr %4, align 4 %122 = load i32, ptr %3, align 4 %123 = icmp ne i32 %121, %122 br i1 %123, label %.lr.ph8, label %143 .lr.ph8: ; preds = %113 br label %124 124: ; preds = %.lr.ph8, %124 %125 = load i32, ptr %4, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [1002 x [1002 x i32]], ptr %13, i64 0, i64 %126 %128 = load i32, ptr %3, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [1002 x i32], ptr %127, i64 0, i64 %129 %131 = load i32, ptr %130, align 4 %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %131) %133 = load i32, ptr %4, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [1002 x [1002 x i32]], ptr %13, i64 0, i64 %134 %136 = load i32, ptr %3, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [1002 x i32], ptr %135, i64 0, i64 %137 %139 = load i32, ptr %138, align 4 store i32 %139, ptr %4, align 4 %140 = load i32, ptr %4, align 4 %141 = load i32, ptr %3, align 4 %142 = icmp ne i32 %140, %141 br i1 %142, label %124, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %124 br label %143 143: ; preds = %._crit_edge9, %113 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %145 = load i32, ptr %8, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [1002 x [1002 x i32]], ptr %11, i64 0, i64 %146 %148 = load i32, ptr %9, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [1002 x i32], ptr %147, i64 0, i64 %149 %151 = load i32, ptr %150, align 4 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %151) br label %100, !llvm.loop !11 153: ; preds = %111 br label %16, !llvm.loop !12 154: ; preds = %23 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @floyd(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpz1egl7y8.c' source_filename = "/tmp/tmpz1egl7y8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = call i32 (...) @numberFive() ret void } declare i32 @numberFive(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz1egl7y8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = call i32 (...) @numberFive() ret void } declare i32 @numberFive(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg69ghh2y.c' source_filename = "/tmp/tmpg69ghh2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %2, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %3, align 4 %8 = call i32 (...) @__VERIFIER_nondet_int() store i32 %8, ptr %4, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %0 store i32 1, ptr %2, align 4 br label %12 12: ; preds = %11, %0 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 1 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 1, ptr %3, align 4 br label %16 16: ; preds = %15, %12 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 1 %20 = trunc i64 %19 to i32 %21 = call i64 @alloca(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = call i32 @cmemchr(ptr noundef %23, i32 noundef %24, i32 noundef %25) ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i64 @alloca(i32 noundef) #1 declare i32 @cmemchr(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/tmpg69ghh2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %2, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %3, align 4 %8 = call i32 (...) @__VERIFIER_nondet_int() store i32 %8, ptr %4, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %0 store i32 1, ptr %2, align 4 br label %12 12: ; preds = %11, %0 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 1 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 1, ptr %3, align 4 br label %16 16: ; preds = %15, %12 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 1 %20 = trunc i64 %19 to i32 %21 = call i64 @alloca(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = call i32 @cmemchr(ptr noundef %23, i32 noundef %24, i32 noundef %25) ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i64 @alloca(i32 noundef) #1 declare i32 @cmemchr(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/tmpouzfnp7c.c' source_filename = "/tmp/tmpouzfnp7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERANGE = dso_local global i64 0, align 8 @INT_MAX = dso_local global i64 0, align 8 @INT_MIN = 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/tmpouzfnp7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERANGE = dso_local global i64 0, align 8 @INT_MAX = dso_local global i64 0, align 8 @INT_MIN = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnk2sx69d.c' source_filename = "/tmp/tmpnk2sx69d.c" target datalayout = "e-m:e-p270: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/tmpnk2sx69d.c" target datalayout = "e-m:e-p270: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/tmpdahweyzz.c' source_filename = "/tmp/tmpdahweyzz.c" target datalayout = "e-m:e-p270: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/tmpdahweyzz.c" target datalayout = "e-m:e-p270: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/tmp203cwgys.c' source_filename = "/tmp/tmp203cwgys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/class/gpio/gpio%d/edge\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [39 x i8] c"Cannot open the edge file for GPIO %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_gpio_edge(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [128 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 0, ptr %9, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %12, %13 store i32 %14, ptr %10, align 4 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %11, align 4 br label %16 16: ; preds = %42, %3 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %10, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %45 20: ; preds = %16 %21 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %22 = load i32, ptr %11, align 4 %23 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str, i32 noundef %22) %24 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %25 = load i32, ptr @O_RDWR, align 4 %26 = call i32 @open(ptr noundef %24, i32 noundef %25) store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %20 %30 = load i32, ptr @stderr, align 4 %31 = load i32, ptr %11, align 4 %32 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1, i32 noundef %31) store i32 -1, ptr %4, align 4 br label %46 33: ; preds = %20 %34 = load i32, ptr %9, align 4 %35 = load ptr, ptr %7, align 8 %36 = load ptr, ptr %7, align 8 %37 = call i64 @strlen(ptr noundef %36) %38 = add nsw i64 %37, 1 %39 = call i32 @write(i32 noundef %34, ptr noundef %35, i64 noundef %38) %40 = load i32, ptr %9, align 4 %41 = call i32 @close(i32 noundef %40) br label %42 42: ; preds = %33 %43 = load i32, ptr %11, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %11, align 4 br label %16, !llvm.loop !6 45: ; preds = %16 store i32 0, ptr %4, align 4 br label %46 46: ; preds = %45, %29 %47 = load i32, ptr %4, align 4 ret i32 %47 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp203cwgys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/class/gpio/gpio%d/edge\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [39 x i8] c"Cannot open the edge file for GPIO %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_gpio_edge(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [128 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 0, ptr %9, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %12, %13 store i32 %14, ptr %10, align 4 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %11, align 4 %16 = load i32, ptr %11, align 4 %17 = load i32, ptr %10, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %47 .lr.ph: ; preds = %3 br label %19 19: ; preds = %.lr.ph, %41 %20 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %21 = load i32, ptr %11, align 4 %22 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str, i32 noundef %21) %23 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %24 = load i32, ptr @O_RDWR, align 4 %25 = call i32 @open(ptr noundef %23, i32 noundef %24) store i32 %25, ptr %9, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %19 %29 = load i32, ptr @stderr, align 4 %30 = load i32, ptr %11, align 4 %31 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.1, i32 noundef %30) store i32 -1, ptr %4, align 4 br label %48 32: ; preds = %19 %33 = load i32, ptr %9, align 4 %34 = load ptr, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = call i64 @strlen(ptr noundef %35) %37 = add nsw i64 %36, 1 %38 = call i32 @write(i32 noundef %33, ptr noundef %34, i64 noundef %37) %39 = load i32, ptr %9, align 4 %40 = call i32 @close(i32 noundef %39) br label %41 41: ; preds = %32 %42 = load i32, ptr %11, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %11, align 4 %44 = load i32, ptr %11, align 4 %45 = load i32, ptr %10, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %48 48: ; preds = %47, %28 %49 = load i32, ptr %4, align 4 ret i32 %49 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_bvskhre.c' source_filename = "/tmp/tmp_bvskhre.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tml_sr_vSqrt1(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %22, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %25 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds float, ptr %11, i64 %13 %15 = load float, ptr %14, align 4 %16 = call i64 @sqrt(float noundef %15) %17 = sitofp i64 %16 to float %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds float, ptr %18, i64 %20 store float %17, ptr %21, align 4 br label %22 22: ; preds = %10 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %6, !llvm.loop !6 25: ; preds = %6 ret void } declare i64 @sqrt(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp_bvskhre.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tml_sr_vSqrt1(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %21 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds float, ptr %10, i64 %12 %14 = load float, ptr %13, align 4 %15 = call i64 @sqrt(float noundef %14) %16 = sitofp i64 %15 to float %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds float, ptr %17, i64 %19 store float %16, ptr %20, align 4 br label %21 21: ; preds = %9 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %2 ret void } declare i64 @sqrt(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8t3b_ob7.c' source_filename = "/tmp/tmp8t3b_ob7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleaning_argv(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 1, ptr %5, align 4 br label %8 8: ; preds = %62, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %65 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %19 19: ; preds = %58, %12 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %61 23: ; preds = %19 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = call i32 @isprint(i8 noundef signext %32) %34 = icmp ne i32 %33, 0 br i1 %34, label %57, label %35 35: ; preds = %23 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 %53 = load i32, ptr %7, align 4 %54 = load i32, ptr %6, align 4 %55 = sub nsw i32 %53, %54 %56 = call i32 @memcpy(ptr noundef %43, ptr noundef %52, i32 noundef %55) br label %57 57: ; preds = %35, %23 br label %58 58: ; preds = %57 %59 = load i32, ptr %6, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %6, align 4 br label %19, !llvm.loop !6 61: ; preds = %19 br label %62 62: ; preds = %61 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %5, align 4 br label %8, !llvm.loop !8 65: ; preds = %8 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @isprint(i8 noundef signext) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8t3b_ob7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cleaning_argv(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 1, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph2, label %69 .lr.ph2: ; preds = %2 br label %11 11: ; preds = %.lr.ph2, %63 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %7, align 4 store i32 0, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %62 .lr.ph: ; preds = %11 br label %21 21: ; preds = %.lr.ph, %56 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = call i32 @isprint(i8 noundef signext %30) %32 = icmp ne i32 %31, 0 br i1 %32, label %55, label %33 33: ; preds = %21 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %46, i64 %49 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %6, align 4 %53 = sub nsw i32 %51, %52 %54 = call i32 @memcpy(ptr noundef %41, ptr noundef %50, i32 noundef %53) br label %55 55: ; preds = %33, %21 br label %56 56: ; preds = %55 %57 = load i32, ptr %6, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %6, align 4 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr %7, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %11 br label %63 63: ; preds = %62 %64 = load i32, ptr %5, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %5, align 4 %66 = load i32, ptr %5, align 4 %67 = load i32, ptr %3, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %63 br label %69 69: ; preds = %._crit_edge3, %2 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @isprint(i8 noundef signext) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjbo8tslx.c' source_filename = "/tmp/tmpjbo8tslx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split_and_merge(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %3 br label %32 12: ; preds = %3 %13 = load i32, ptr %6, align 4 %14 = sdiv i32 %13, 2 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = srem i32 %16, 2 %18 = add nsw i32 %15, %17 store i32 %18, ptr %8, align 4 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %7, align 4 call void @split_and_merge(ptr noundef %19, ptr noundef %20, i32 noundef %21) %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %8, align 4 call void @split_and_merge(ptr noundef %22, ptr noundef %26, i32 noundef %27) %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = call i32 @merge(ptr noundef %28, ptr noundef %29, i32 noundef %30) br label %32 32: ; preds = %12, %11 ret void } declare i32 @merge(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjbo8tslx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split_and_merge(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %3 br label %32 12: ; preds = %3 %13 = load i32, ptr %6, align 4 %14 = sdiv i32 %13, 2 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = srem i32 %16, 2 %18 = add nsw i32 %15, %17 store i32 %18, ptr %8, align 4 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %7, align 4 call void @split_and_merge(ptr noundef %19, ptr noundef %20, i32 noundef %21) %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %8, align 4 call void @split_and_merge(ptr noundef %22, ptr noundef %26, i32 noundef %27) %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = call i32 @merge(ptr noundef %28, ptr noundef %29, i32 noundef %30) br label %32 32: ; preds = %12, %11 ret void } declare i32 @merge(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuekd4z45.c' source_filename = "/tmp/tmpuekd4z45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mystrncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %18, label %12 12: ; preds = %3 %13 = load i32, ptr %7, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %15, %12, %3 store i32 0, ptr %4, align 4 br label %52 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = call i64 @memchr(ptr noundef %20, i32 noundef 0, i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %8, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %19 %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %6, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = trunc i64 %30 to i32 store i32 %31, ptr %9, align 4 br label %35 32: ; preds = %19 %33 = load i32, ptr %7, align 4 %34 = sub i32 %33, 1 store i32 %34, ptr %9, align 4 br label %35 35: ; preds = %32, %25 %36 = load i32, ptr %9, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %35 %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %9, align 4 %42 = call i32 @memmove(ptr noundef %39, ptr noundef %40, i32 noundef %41) br label %43 43: ; preds = %38, %35 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %9, align 4 %46 = zext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %9, align 4 %50 = sub i32 %48, %49 %51 = call i32 @memset(ptr noundef %47, i32 noundef 0, i32 noundef %50) store i32 1, ptr %4, align 4 br label %52 52: ; preds = %43, %18 %53 = load i32, ptr %4, align 4 ret i32 %53 } declare i64 @memchr(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 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/tmpuekd4z45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mystrncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %18, label %12 12: ; preds = %3 %13 = load i32, ptr %7, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %12 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %19 18: ; preds = %15, %12, %3 store i32 0, ptr %4, align 4 br label %52 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = call i64 @memchr(ptr noundef %20, i32 noundef 0, i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %8, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %19 %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %6, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = trunc i64 %30 to i32 store i32 %31, ptr %9, align 4 br label %35 32: ; preds = %19 %33 = load i32, ptr %7, align 4 %34 = sub i32 %33, 1 store i32 %34, ptr %9, align 4 br label %35 35: ; preds = %32, %25 %36 = load i32, ptr %9, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %35 %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %9, align 4 %42 = call i32 @memmove(ptr noundef %39, ptr noundef %40, i32 noundef %41) br label %43 43: ; preds = %38, %35 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %9, align 4 %46 = zext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %9, align 4 %50 = sub i32 %48, %49 %51 = call i32 @memset(ptr noundef %47, i32 noundef 0, i32 noundef %50) store i32 1, ptr %4, align 4 br label %52 52: ; preds = %43, %18 %53 = load i32, ptr %4, align 4 ret i32 %53 } declare i64 @memchr(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 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/tmp9czc0nkj.c' source_filename = "/tmp/tmp9czc0nkj.c" target datalayout = "e-m:e-p270: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/tmp9czc0nkj.c" target datalayout = "e-m:e-p270: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/tmp8sawna0o.c' source_filename = "/tmp/tmp8sawna0o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Using %d OpenMP threads\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"METRIC task_create %d %.20f\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"METRIC task_run %d %.20f\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 i64, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = 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 %15 = call i32 (...) @omp_get_num_threads() store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %16) store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %18 = call i64 (...) @current_time_ns() store i64 %18, ptr %9, align 8 br label %19 19: ; preds = %24, %2 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %8, align 4 br label %24 24: ; preds = %19 %25 = load i32, ptr %8, align 4 %26 = icmp slt i32 %25, 200000 br i1 %26, label %19, label %27, !llvm.loop !6 27: ; preds = %24 %28 = call i64 (...) @current_time_ns() store i64 %28, ptr %10, align 8 %29 = load i64, ptr %10, align 8 %30 = load i64, ptr %9, align 8 %31 = sub i64 %29, %30 %32 = uitofp i64 %31 to double %33 = fdiv double %32, 1.000000e+03 %34 = fdiv double 2.000000e+05, %33 %35 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 200000, double noundef %34) store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %36 = call i64 (...) @current_time_ns() store i64 %36, ptr %13, align 8 store i32 0, ptr %12, align 4 br label %37 37: ; preds = %42, %27 %38 = load i32, ptr %11, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %11, align 4 %40 = load i32, ptr %12, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %12, align 4 br label %42 42: ; preds = %37 %43 = load i32, ptr %12, align 4 %44 = icmp slt i32 %43, 200000 br i1 %44, label %37, label %45, !llvm.loop !8 45: ; preds = %42 %46 = call i64 (...) @current_time_ns() store i64 %46, ptr %14, align 8 %47 = load i64, ptr %14, align 8 %48 = load i64, ptr %13, align 8 %49 = sub i64 %47, %48 %50 = uitofp i64 %49 to double %51 = fdiv double %50, 1.000000e+03 %52 = fdiv double 2.000000e+05, %51 %53 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef 200000, double noundef %52) ret i32 0 } declare i32 @omp_get_num_threads(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i64 @current_time_ns(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8sawna0o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Using %d OpenMP threads\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"METRIC task_create %d %.20f\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"METRIC task_run %d %.20f\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 i64, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = 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 %15 = call i32 (...) @omp_get_num_threads() store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %16) store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %18 = call i64 (...) @current_time_ns() store i64 %18, ptr %9, align 8 br label %19 19: ; preds = %24, %2 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %8, align 4 br label %24 24: ; preds = %19 %25 = load i32, ptr %8, align 4 %26 = icmp slt i32 %25, 200000 br i1 %26, label %19, label %27, !llvm.loop !6 27: ; preds = %24 %28 = call i64 (...) @current_time_ns() store i64 %28, ptr %10, align 8 %29 = load i64, ptr %10, align 8 %30 = load i64, ptr %9, align 8 %31 = sub i64 %29, %30 %32 = uitofp i64 %31 to double %33 = fdiv double %32, 1.000000e+03 %34 = fdiv double 2.000000e+05, %33 %35 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 200000, double noundef %34) store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %36 = call i64 (...) @current_time_ns() store i64 %36, ptr %13, align 8 store i32 0, ptr %12, align 4 br label %37 37: ; preds = %42, %27 %38 = load i32, ptr %11, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %11, align 4 %40 = load i32, ptr %12, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %12, align 4 br label %42 42: ; preds = %37 %43 = load i32, ptr %12, align 4 %44 = icmp slt i32 %43, 200000 br i1 %44, label %37, label %45, !llvm.loop !8 45: ; preds = %42 %46 = call i64 (...) @current_time_ns() store i64 %46, ptr %14, align 8 %47 = load i64, ptr %14, align 8 %48 = load i64, ptr %13, align 8 %49 = sub i64 %47, %48 %50 = uitofp i64 %49 to double %51 = fdiv double %50, 1.000000e+03 %52 = fdiv double 2.000000e+05, %51 %53 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef 200000, double noundef %52) ret i32 0 } declare i32 @omp_get_num_threads(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i64 @current_time_ns(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpf_o5oicc.c' source_filename = "/tmp/tmpf_o5oicc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ReadWord(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %59, %44, %17, %2 %8 = load ptr, ptr %4, align 8 %9 = call i32 @feof(ptr noundef %8) %10 = icmp ne i32 %9, 0 %11 = xor i1 %10, true br i1 %11, label %12, label %60 12: ; preds = %7 %13 = load ptr, ptr %4, align 8 %14 = call i32 @fgetc(ptr noundef %13) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp eq i32 %15, 13 br i1 %16, label %17, label %18 17: ; preds = %12 br label %7, !llvm.loop !6 18: ; preds = %12 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %19, 32 br i1 %20, label %27, label %21 21: ; preds = %18 %22 = load i32, ptr %6, align 4 %23 = icmp eq i32 %22, 9 br i1 %23, label %27, label %24 24: ; preds = %21 %25 = load i32, ptr %6, align 4 %26 = icmp eq i32 %25, 10 br i1 %26, label %27, label %45 27: ; preds = %24, %21, %18 %28 = load i32, ptr %5, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %27 %31 = load i32, ptr %6, align 4 %32 = icmp eq i32 %31, 10 br i1 %32, label %33, label %37 33: ; preds = %30 %34 = load i32, ptr %6, align 4 %35 = load ptr, ptr %4, align 8 %36 = call i32 @ungetc(i32 noundef %34, ptr noundef %35) br label %37 37: ; preds = %33, %30 br label %60 38: ; preds = %27 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %39, 10 br i1 %40, label %41, label %44 41: ; preds = %38 %42 = load ptr, ptr %3, align 8 %43 = call i32 @strcpy(ptr noundef %42, ptr noundef @.str) br label %65 44: ; preds = %38 br label %7, !llvm.loop !6 45: ; preds = %24 %46 = load i32, ptr %6, align 4 %47 = trunc i32 %46 to i8 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 %47, ptr %51, align 1 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = icmp sge i32 %54, 99 br i1 %55, label %56, label %59 56: ; preds = %45 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, -1 store i32 %58, ptr %5, align 4 br label %59 59: ; preds = %56, %45 br label %7, !llvm.loop !6 60: ; preds = %37, %7 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 store i8 0, ptr %64, align 1 br label %65 65: ; preds = %60, %41 ret void } declare i32 @feof(ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @ungetc(i32 noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf_o5oicc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ReadWord(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @feof(ptr noundef %7) %9 = icmp ne i32 %8, 0 %10 = xor i1 %9, true br i1 %10, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %.backedge %12 = load ptr, ptr %4, align 8 %13 = call i32 @fgetc(ptr noundef %12) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp eq i32 %14, 13 br i1 %15, label %16, label %21 16: ; preds = %11 br label %.backedge .backedge: ; preds = %16, %47, %62 %17 = load ptr, ptr %4, align 8 %18 = call i32 @feof(ptr noundef %17) %19 = icmp ne i32 %18, 0 %20 = xor i1 %19, true br i1 %20, label %11, label %..loopexit_crit_edge, !llvm.loop !6 21: ; preds = %11 %22 = load i32, ptr %6, align 4 %23 = icmp eq i32 %22, 32 br i1 %23, label %30, label %24 24: ; preds = %21 %25 = load i32, ptr %6, align 4 %26 = icmp eq i32 %25, 9 br i1 %26, label %30, label %27 27: ; preds = %24 %28 = load i32, ptr %6, align 4 %29 = icmp eq i32 %28, 10 br i1 %29, label %30, label %48 30: ; preds = %27, %24, %21 %31 = load i32, ptr %5, align 4 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %41 33: ; preds = %30 %34 = load i32, ptr %6, align 4 %35 = icmp eq i32 %34, 10 br i1 %35, label %36, label %40 36: ; preds = %33 %37 = load i32, ptr %6, align 4 %38 = load ptr, ptr %4, align 8 %39 = call i32 @ungetc(i32 noundef %37, ptr noundef %38) br label %40 40: ; preds = %36, %33 br label %63 41: ; preds = %30 %42 = load i32, ptr %6, align 4 %43 = icmp eq i32 %42, 10 br i1 %43, label %44, label %47 44: ; preds = %41 %45 = load ptr, ptr %3, align 8 %46 = call i32 @strcpy(ptr noundef %45, ptr noundef @.str) br label %68 47: ; preds = %41 br label %.backedge 48: ; preds = %27 %49 = load i32, ptr %6, align 4 %50 = trunc i32 %49 to i8 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 %50, ptr %54, align 1 %55 = load i32, ptr %5, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %5, align 4 %57 = load i32, ptr %5, align 4 %58 = icmp sge i32 %57, 99 br i1 %58, label %59, label %62 59: ; preds = %48 %60 = load i32, ptr %5, align 4 %61 = add nsw i32 %60, -1 store i32 %61, ptr %5, align 4 br label %62 62: ; preds = %59, %48 br label %.backedge ..loopexit_crit_edge: ; preds = %.backedge br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %63 63: ; preds = %.loopexit, %40 %64 = load ptr, ptr %3, align 8 %65 = load i32, ptr %5, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 store i8 0, ptr %67, align 1 br label %68 68: ; preds = %63, %44 ret void } declare i32 @feof(ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @ungetc(i32 noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0ovkr7x3.c' source_filename = "/tmp/tmp0ovkr7x3.c" target datalayout = "e-m:e-p270: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/tmp0ovkr7x3.c" target datalayout = "e-m:e-p270: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/tmpga9pkibe.c' source_filename = "/tmp/tmpga9pkibe.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"ERROR: Too many PIC files per column!\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%02d.pic\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"hp2xx -- opening PIC file(s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Init_PIC_files(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [80 x i8], align 16 %13 = alloca [8 x i8], align 1 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %17 = load i32, ptr %10, align 4 %18 = sub nsw i32 %17, 1 %19 = sdiv i32 %18, 400 %20 = add nsw i32 1, %19 store i32 %20, ptr %16, align 4 store i32 0, ptr %14, align 4 br label %21 21: ; preds = %103, %5 %22 = load i32, ptr %9, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %24, label %108 24: ; preds = %21 %25 = load ptr, ptr %8, align 8 %26 = load i32, ptr %14, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %42 31: ; preds = %24 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %14, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = call i32 @fclose(ptr noundef %36) %38 = load ptr, ptr %8, align 8 %39 = load i32, ptr %14, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 store ptr null, ptr %41, align 8 br label %42 42: ; preds = %31, %24 %43 = load i32, ptr %11, align 4 %44 = load i32, ptr %14, align 4 %45 = load i32, ptr %16, align 4 %46 = mul nsw i32 %44, %45 %47 = add nsw i32 %43, %46 store i32 %47, ptr %15, align 4 %48 = load i32, ptr %15, align 4 %49 = icmp sgt i32 %48, 99 br i1 %49, label %50, label %79 50: ; preds = %42 %51 = load i32, ptr @stderr, align 4 %52 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str) br label %53 53: ; preds = %75, %50 %54 = load i32, ptr %14, align 4 %55 = icmp sgt i32 %54, -1 br i1 %55, label %56, label %78 56: ; preds = %53 %57 = load ptr, ptr %8, align 8 %58 = load i32, ptr %14, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %57, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %63, label %74 63: ; preds = %56 %64 = load ptr, ptr %8, align 8 %65 = load i32, ptr %14, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = call i32 @fclose(ptr noundef %68) %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %14, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds ptr, ptr %70, i64 %72 store ptr null, ptr %73, align 8 br label %74 74: ; preds = %63, %56 br label %75 75: ; preds = %74 %76 = load i32, ptr %14, align 4 %77 = add nsw i32 %76, -1 store i32 %77, ptr %14, align 4 br label %53, !llvm.loop !6 78: ; preds = %53 store i32 -1, ptr %6, align 4 br label %109 79: ; preds = %42 %80 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %81 = load i32, ptr %15, align 4 %82 = call i32 @sprintf(ptr noundef %80, ptr noundef @.str.1, i32 noundef %81) %83 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0 %84 = load ptr, ptr %7, align 8 %85 = call i32 @strcpy(ptr noundef %83, ptr noundef %84) %86 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0 %87 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %88 = load ptr, ptr %7, align 8 %89 = call i32 @strlen(ptr noundef %88) %90 = sub nsw i32 80, %89 %91 = sub nsw i32 %90, 1 %92 = call i32 @strncat(ptr noundef %86, ptr noundef %87, i32 noundef %91) %93 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0 %94 = call ptr @fopen(ptr noundef %93, ptr noundef @.str.2) %95 = load ptr, ptr %8, align 8 %96 = load i32, ptr %14, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %95, i64 %97 store ptr %94, ptr %98, align 8 %99 = icmp eq ptr %94, null br i1 %99, label %100, label %102 100: ; preds = %79 %101 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %6, align 4 br label %109 102: ; preds = %79 br label %103 103: ; preds = %102 %104 = load i32, ptr %14, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %14, align 4 %106 = load i32, ptr %9, align 4 %107 = sub nsw i32 %106, 80 store i32 %107, ptr %9, align 4 br label %21, !llvm.loop !8 108: ; preds = %21 store i32 0, ptr %6, align 4 br label %109 109: ; preds = %108, %100, %78 %110 = load i32, ptr %6, align 4 ret i32 %110 } declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpga9pkibe.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"ERROR: Too many PIC files per column!\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%02d.pic\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"hp2xx -- opening PIC file(s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Init_PIC_files(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [80 x i8], align 16 %13 = alloca [8 x i8], align 1 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %17 = load i32, ptr %10, align 4 %18 = sub nsw i32 %17, 1 %19 = sdiv i32 %18, 400 %20 = add nsw i32 1, %19 store i32 %20, ptr %16, align 4 store i32 0, ptr %14, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %.lr.ph, label %110 .lr.ph: ; preds = %5 br label %23 23: ; preds = %.lr.ph, %103 %24 = load ptr, ptr %8, align 8 %25 = load i32, ptr %14, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %41 30: ; preds = %23 %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %14, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i32 @fclose(ptr noundef %35) %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %14, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 store ptr null, ptr %40, align 8 br label %41 41: ; preds = %30, %23 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr %14, align 4 %44 = load i32, ptr %16, align 4 %45 = mul nsw i32 %43, %44 %46 = add nsw i32 %42, %45 store i32 %46, ptr %15, align 4 %47 = load i32, ptr %15, align 4 %48 = icmp sgt i32 %47, 99 br i1 %48, label %49, label %79 49: ; preds = %41 %50 = load i32, ptr @stderr, align 4 %51 = call i32 @fprintf(i32 noundef %50, ptr noundef @.str) %52 = load i32, ptr %14, align 4 %53 = icmp sgt i32 %52, -1 br i1 %53, label %.lr.ph2, label %78 .lr.ph2: ; preds = %49 br label %54 54: ; preds = %.lr.ph2, %73 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %14, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds ptr, ptr %55, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = icmp ne ptr %59, null br i1 %60, label %61, label %72 61: ; preds = %54 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %14, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = call i32 @fclose(ptr noundef %66) %68 = load ptr, ptr %8, align 8 %69 = load i32, ptr %14, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 store ptr null, ptr %71, align 8 br label %72 72: ; preds = %61, %54 br label %73 73: ; preds = %72 %74 = load i32, ptr %14, align 4 %75 = add nsw i32 %74, -1 store i32 %75, ptr %14, align 4 %76 = load i32, ptr %14, align 4 %77 = icmp sgt i32 %76, -1 br i1 %77, label %54, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %73 br label %78 78: ; preds = %._crit_edge3, %49 store i32 -1, ptr %6, align 4 br label %111 79: ; preds = %41 %80 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %81 = load i32, ptr %15, align 4 %82 = call i32 @sprintf(ptr noundef %80, ptr noundef @.str.1, i32 noundef %81) %83 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0 %84 = load ptr, ptr %7, align 8 %85 = call i32 @strcpy(ptr noundef %83, ptr noundef %84) %86 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0 %87 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %88 = load ptr, ptr %7, align 8 %89 = call i32 @strlen(ptr noundef %88) %90 = sub nsw i32 80, %89 %91 = sub nsw i32 %90, 1 %92 = call i32 @strncat(ptr noundef %86, ptr noundef %87, i32 noundef %91) %93 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0 %94 = call ptr @fopen(ptr noundef %93, ptr noundef @.str.2) %95 = load ptr, ptr %8, align 8 %96 = load i32, ptr %14, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %95, i64 %97 store ptr %94, ptr %98, align 8 %99 = icmp eq ptr %94, null br i1 %99, label %100, label %102 100: ; preds = %79 %101 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %6, align 4 br label %111 102: ; preds = %79 br label %103 103: ; preds = %102 %104 = load i32, ptr %14, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %14, align 4 %106 = load i32, ptr %9, align 4 %107 = sub nsw i32 %106, 80 store i32 %107, ptr %9, align 4 %108 = load i32, ptr %9, align 4 %109 = icmp sgt i32 %108, 0 br i1 %109, label %23, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %103 br label %110 110: ; preds = %._crit_edge, %5 store i32 0, ptr %6, align 4 br label %111 111: ; preds = %110, %100, %78 %112 = load i32, ptr %6, align 4 ret i32 %112 } declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp5qlygm2k.c' source_filename = "/tmp/tmp5qlygm2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @noctrl(ptr noundef %5) store i32 0, ptr %4, align 4 br label %7 7: ; preds = %27, %1 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %4, 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 store i32 %13, ptr %3, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %30 15: ; preds = %7 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 32 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = icmp sgt i32 %19, 127 br i1 %20, label %21, label %26 21: ; preds = %18, %15 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 store i8 32, ptr %25, align 1 br label %26 26: ; preds = %21, %18 br label %27 27: ; preds = %26 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %7, !llvm.loop !6 30: ; preds = %7 ret i32 0 } declare i32 @noctrl(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp5qlygm2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @noctrl(ptr noundef %5) store i32 0, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 store i32 %12, ptr %3, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %26 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 32 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr %3, align 4 %19 = icmp sgt i32 %18, 127 br i1 %19, label %20, label %25 20: ; preds = %17, %14 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 32, ptr %24, align 1 br label %25 25: ; preds = %20, %17 br label %26 26: ; preds = %25 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 store i32 %34, ptr %3, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %36 36: ; preds = %._crit_edge, %1 ret i32 0 } declare i32 @noctrl(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpmyt1c0re.c' source_filename = "/tmp/tmpmyt1c0re.c" target datalayout = "e-m:e-p270: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/tmpmyt1c0re.c" target datalayout = "e-m:e-p270: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/tmp5m41sdks.c' source_filename = "/tmp/tmp5m41sdks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__unlink(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @EINVAL, align 4 %8 = call i32 @__set_errno(i32 noundef %7) store i32 -1, ptr %2, align 4 br label %12 9: ; preds = %1 %10 = load i32, ptr @ENOSYS, align 4 %11 = call i32 @__set_errno(i32 noundef %10) store i32 -1, ptr %2, align 4 br label %12 12: ; preds = %9, %6 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5m41sdks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__unlink(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @EINVAL, align 4 %8 = call i32 @__set_errno(i32 noundef %7) store i32 -1, ptr %2, align 4 br label %12 9: ; preds = %1 %10 = load i32, ptr @ENOSYS, align 4 %11 = call i32 @__set_errno(i32 noundef %10) store i32 -1, ptr %2, align 4 br label %12 12: ; preds = %9, %6 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwzfjq5_a.c' source_filename = "/tmp/tmpwzfjq5_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" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwzfjq5_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" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjz7pi29b.c' source_filename = "/tmp/tmpjz7pi29b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a 32\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"a 4\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 4, ptr %2, align 4 store i32 3, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = shl i32 %5, %4 store i32 %6, ptr %2, align 4 %7 = call i32 @print(ptr noundef @.str) %8 = load i32, ptr %2, align 4 %9 = call i32 @printid(i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = ashr i32 %11, %10 store i32 %12, ptr %2, align 4 %13 = call i32 @print(ptr noundef @.str.1) %14 = load i32, ptr %2, align 4 %15 = call i32 @printid(i32 noundef %14) ret i32 0 } declare i32 @print(ptr noundef) #1 declare i32 @printid(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/tmpjz7pi29b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a 32\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"a 4\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 4, ptr %2, align 4 store i32 3, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = shl i32 %5, %4 store i32 %6, ptr %2, align 4 %7 = call i32 @print(ptr noundef @.str) %8 = load i32, ptr %2, align 4 %9 = call i32 @printid(i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = ashr i32 %11, %10 store i32 %12, ptr %2, align 4 %13 = call i32 @print(ptr noundef @.str.1) %14 = load i32, ptr %2, align 4 %15 = call i32 @printid(i32 noundef %14) ret i32 0 } declare i32 @print(ptr noundef) #1 declare i32 @printid(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/tmpt_duwvuj.c' source_filename = "/tmp/tmpt_duwvuj.c" target datalayout = "e-m:e-p270: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/tmpt_duwvuj.c" target datalayout = "e-m:e-p270: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/tmp8l2h26qy.c' source_filename = "/tmp/tmp8l2h26qy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } @.str = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"socket bound...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bind_socket(i32 noundef %0, i32 %1) #0 { %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 store i32 %1, ptr %6, align 4 store i32 %0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @bind(i32 noundef %7, ptr noundef %3, i32 noundef 4) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @bind(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8l2h26qy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } @.str = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"socket bound...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bind_socket(i32 noundef %0, i32 %1) #0 { %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 store i32 %1, ptr %6, align 4 store i32 %0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @bind(i32 noundef %7, ptr noundef %3, i32 noundef 4) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @bind(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"}
; ModuleID = '/tmp/tmpn44uruxt.c' source_filename = "/tmp/tmpn44uruxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.tab = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16 @.str = private unnamed_addr constant [9 x i8] c"Tabela:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.tab, i64 20, i1 false) %3 = call i32 @printf(ptr noundef @.str) %4 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @wypisz_tab(ptr noundef %4, i32 noundef 5) %6 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %7 = call i32 @fun1(ptr noundef %6, i32 noundef 3) %8 = call i32 @fun2(i32 noundef 5) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef) #2 declare i32 @wypisz_tab(ptr noundef, i32 noundef) #2 declare i32 @fun1(ptr noundef, i32 noundef) #2 declare i32 @fun2(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn44uruxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.tab = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16 @.str = private unnamed_addr constant [9 x i8] c"Tabela:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.tab, i64 20, i1 false) %3 = call i32 @printf(ptr noundef @.str) %4 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @wypisz_tab(ptr noundef %4, i32 noundef 5) %6 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %7 = call i32 @fun1(ptr noundef %6, i32 noundef 3) %8 = call i32 @fun2(i32 noundef 5) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef) #2 declare i32 @wypisz_tab(ptr noundef, i32 noundef) #2 declare i32 @fun1(ptr noundef, i32 noundef) #2 declare i32 @fun2(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu056c__h.c' source_filename = "/tmp/tmpu056c__h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c">> [FAPI] calling a sample fake API 0 call.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @FAPI_function0() #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/tmpu056c__h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c">> [FAPI] calling a sample fake API 0 call.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @FAPI_function0() #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/tmp9h3qdg07.c' source_filename = "/tmp/tmp9h3qdg07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%%%d.%df\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decimal_string(ptr noundef %0, double noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca [16 x i8], align 16 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load double, ptr %6, align 8 %14 = call double @llvm.fabs.f64(double %13) %15 = fcmp oge double %14, 1.000000e+00 br i1 %15, label %16, label %35 16: ; preds = %4 %17 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0 %18 = load i32, ptr %8, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 3 br label %26 23: ; preds = %16 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, 2 br label %26 26: ; preds = %23, %20 %27 = phi i32 [ %22, %20 ], [ %25, %23 ] %28 = sitofp i32 %27 to double %29 = load i32, ptr %7, align 4 %30 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %17, ptr noundef @.str, double noundef %28, i32 noundef %29) %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0 %33 = load double, ptr %6, align 8 %34 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %31, ptr noundef %32, double noundef %33) br label %112 35: ; preds = %4 store i32 0, ptr %9, align 4 %36 = load double, ptr %6, align 8 %37 = fcmp oge double %36, 0.000000e+00 br i1 %37, label %38, label %47 38: ; preds = %35 %39 = load i32, ptr %8, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %47 41: ; preds = %38 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 %45 = sext i32 %43 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 store i8 32, ptr %46, align 1 br label %59 47: ; preds = %38, %35 %48 = load double, ptr %6, align 8 %49 = fcmp olt double %48, 0.000000e+00 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %9, align 4 %54 = sext i32 %52 to i64 %55 = getelementptr inbounds i8, ptr %51, i64 %54 store i8 45, ptr %55, align 1 %56 = load double, ptr %6, align 8 %57 = fneg double %56 store double %57, ptr %6, align 8 br label %58 58: ; preds = %50, %47 br label %59 59: ; preds = %58, %41 %60 = load i32, ptr %7, align 4 %61 = sub nsw i32 0, %60 %62 = sitofp i32 %61 to double %63 = fsub double %62, 1.000000e+00 %64 = call i32 @pow(i32 noundef 10, double noundef %63) %65 = sitofp i32 %64 to double %66 = fmul double 5.000000e+00, %65 store double %66, ptr %10, align 8 %67 = load double, ptr %10, align 8 %68 = load double, ptr %6, align 8 %69 = fadd double %68, %67 store double %69, ptr %6, align 8 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %9, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %9, align 4 %73 = sext i32 %71 to i64 %74 = getelementptr inbounds i8, ptr %70, i64 %73 store i8 46, ptr %74, align 1 br label %75 75: ; preds = %104, %59 %76 = load i32, ptr %7, align 4 %77 = icmp sgt i32 %76, 0 br i1 %77, label %78, label %107 78: ; preds = %75 %79 = load double, ptr %6, align 8 %80 = fmul double %79, 1.000000e+01 store double %80, ptr %6, align 8 %81 = load double, ptr %6, align 8 %82 = fptosi double %81 to i32 store i32 %82, ptr %12, align 4 %83 = load i32, ptr %12, align 4 %84 = icmp slt i32 %83, 0 br i1 %84, label %88, label %85 85: ; preds = %78 %86 = load i32, ptr %12, align 4 %87 = icmp sgt i32 %86, 9 br i1 %87, label %88, label %89 88: ; preds = %85, %78 br label %92 89: ; preds = %85 %90 = load i32, ptr %12, align 4 %91 = add nsw i32 %90, 48 br label %92 92: ; preds = %89, %88 %93 = phi i32 [ 35, %88 ], [ %91, %89 ] %94 = trunc i32 %93 to i8 %95 = load ptr, ptr %5, align 8 %96 = load i32, ptr %9, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %9, align 4 %98 = sext i32 %96 to i64 %99 = getelementptr inbounds i8, ptr %95, i64 %98 store i8 %94, ptr %99, align 1 %100 = load i32, ptr %12, align 4 %101 = sitofp i32 %100 to double %102 = load double, ptr %6, align 8 %103 = fsub double %102, %101 store double %103, ptr %6, align 8 br label %104 104: ; preds = %92 %105 = load i32, ptr %7, align 4 %106 = add nsw i32 %105, -1 store i32 %106, ptr %7, align 4 br label %75, !llvm.loop !6 107: ; preds = %75 %108 = load ptr, ptr %5, align 8 %109 = load i32, ptr %9, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %108, i64 %110 store i8 0, ptr %111, align 1 br label %112 112: ; preds = %107, %26 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare i32 @sprintf(ptr noundef, ptr noundef, double noundef, ...) #2 declare i32 @pow(i32 noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9h3qdg07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%%%d.%df\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decimal_string(ptr noundef %0, double noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca [16 x i8], align 16 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load double, ptr %6, align 8 %14 = call double @llvm.fabs.f64(double %13) %15 = fcmp oge double %14, 1.000000e+00 br i1 %15, label %16, label %35 16: ; preds = %4 %17 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0 %18 = load i32, ptr %8, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 3 br label %26 23: ; preds = %16 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, 2 br label %26 26: ; preds = %23, %20 %27 = phi i32 [ %22, %20 ], [ %25, %23 ] %28 = sitofp i32 %27 to double %29 = load i32, ptr %7, align 4 %30 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %17, ptr noundef @.str, double noundef %28, i32 noundef %29) %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0 %33 = load double, ptr %6, align 8 %34 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %31, ptr noundef %32, double noundef %33) br label %113 35: ; preds = %4 store i32 0, ptr %9, align 4 %36 = load double, ptr %6, align 8 %37 = fcmp oge double %36, 0.000000e+00 br i1 %37, label %38, label %47 38: ; preds = %35 %39 = load i32, ptr %8, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %47 41: ; preds = %38 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 %45 = sext i32 %43 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 store i8 32, ptr %46, align 1 br label %59 47: ; preds = %38, %35 %48 = load double, ptr %6, align 8 %49 = fcmp olt double %48, 0.000000e+00 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %9, align 4 %54 = sext i32 %52 to i64 %55 = getelementptr inbounds i8, ptr %51, i64 %54 store i8 45, ptr %55, align 1 %56 = load double, ptr %6, align 8 %57 = fneg double %56 store double %57, ptr %6, align 8 br label %58 58: ; preds = %50, %47 br label %59 59: ; preds = %58, %41 %60 = load i32, ptr %7, align 4 %61 = sub nsw i32 0, %60 %62 = sitofp i32 %61 to double %63 = fsub double %62, 1.000000e+00 %64 = call i32 @pow(i32 noundef 10, double noundef %63) %65 = sitofp i32 %64 to double %66 = fmul double 5.000000e+00, %65 store double %66, ptr %10, align 8 %67 = load double, ptr %10, align 8 %68 = load double, ptr %6, align 8 %69 = fadd double %68, %67 store double %69, ptr %6, align 8 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %9, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %9, align 4 %73 = sext i32 %71 to i64 %74 = getelementptr inbounds i8, ptr %70, i64 %73 store i8 46, ptr %74, align 1 %75 = load i32, ptr %7, align 4 %76 = icmp sgt i32 %75, 0 br i1 %76, label %.lr.ph, label %108 .lr.ph: ; preds = %59 br label %77 77: ; preds = %.lr.ph, %103 %78 = load double, ptr %6, align 8 %79 = fmul double %78, 1.000000e+01 store double %79, ptr %6, align 8 %80 = load double, ptr %6, align 8 %81 = fptosi double %80 to i32 store i32 %81, ptr %12, align 4 %82 = load i32, ptr %12, align 4 %83 = icmp slt i32 %82, 0 br i1 %83, label %87, label %84 84: ; preds = %77 %85 = load i32, ptr %12, align 4 %86 = icmp sgt i32 %85, 9 br i1 %86, label %87, label %88 87: ; preds = %84, %77 br label %91 88: ; preds = %84 %89 = load i32, ptr %12, align 4 %90 = add nsw i32 %89, 48 br label %91 91: ; preds = %88, %87 %92 = phi i32 [ 35, %87 ], [ %90, %88 ] %93 = trunc i32 %92 to i8 %94 = load ptr, ptr %5, align 8 %95 = load i32, ptr %9, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %9, align 4 %97 = sext i32 %95 to i64 %98 = getelementptr inbounds i8, ptr %94, i64 %97 store i8 %93, ptr %98, align 1 %99 = load i32, ptr %12, align 4 %100 = sitofp i32 %99 to double %101 = load double, ptr %6, align 8 %102 = fsub double %101, %100 store double %102, ptr %6, align 8 br label %103 103: ; preds = %91 %104 = load i32, ptr %7, align 4 %105 = add nsw i32 %104, -1 store i32 %105, ptr %7, align 4 %106 = load i32, ptr %7, align 4 %107 = icmp sgt i32 %106, 0 br i1 %107, label %77, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %103 br label %108 108: ; preds = %._crit_edge, %59 %109 = load ptr, ptr %5, align 8 %110 = load i32, ptr %9, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i8, ptr %109, i64 %111 store i8 0, ptr %112, align 1 br label %113 113: ; preds = %108, %26 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare i32 @sprintf(ptr noundef, ptr noundef, double noundef, ...) #2 declare i32 @pow(i32 noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp59uuv7b_.c' source_filename = "/tmp/tmp59uuv7b_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [51 x i8] c"%d upper-case letters, and %d lower-case letters.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %26, %0 %6 = call signext i8 (...) @getchar() store i8 %6, ptr %4, align 1 %7 = sext i8 %6 to i32 %8 = load i8, ptr @EOF, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %7, %9 br i1 %10, label %11, label %27 11: ; preds = %5 %12 = load i8, ptr %4, align 1 %13 = call i64 @isupper(i8 noundef signext %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %2, align 4 br label %26 18: ; preds = %11 %19 = load i8, ptr %4, align 1 %20 = call i64 @islower(i8 noundef signext %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %25 25: ; preds = %22, %18 br label %26 26: ; preds = %25, %15 br label %5, !llvm.loop !6 27: ; preds = %5 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %28, i32 noundef %29) ret i32 0 } declare signext i8 @getchar(...) #1 declare i64 @isupper(i8 noundef signext) #1 declare i64 @islower(i8 noundef signext) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp59uuv7b_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [51 x i8] c"%d upper-case letters, and %d lower-case letters.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %5 = call signext i8 (...) @getchar() store i8 %5, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = load i8, ptr @EOF, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %6, %8 br i1 %9, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %25 %11 = load i8, ptr %4, align 1 %12 = call i64 @isupper(i8 noundef signext %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 br label %25 17: ; preds = %10 %18 = load i8, ptr %4, align 1 %19 = call i64 @islower(i8 noundef signext %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %21, %17 br label %25 25: ; preds = %24, %14 %26 = call signext i8 (...) @getchar() store i8 %26, ptr %4, 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 %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %0 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %3, align 4 %34 = call i32 @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %33) ret i32 0 } declare signext i8 @getchar(...) #1 declare i64 @isupper(i8 noundef signext) #1 declare i64 @islower(i8 noundef signext) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpga940ilh.c' source_filename = "/tmp/tmpga940ilh.c" target datalayout = "e-m:e-p270: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/tmpga940ilh.c" target datalayout = "e-m:e-p270: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/tmpogoxwzbt.c' source_filename = "/tmp/tmpogoxwzbt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Main() #0 { %1 = alloca i32, align 4 %2 = call i32 @get(i32 noundef 1, i32 noundef 2, i32 noundef 3) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @printfI(i32 noundef %3) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @get(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printfI(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/tmpogoxwzbt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Main() #0 { %1 = alloca i32, align 4 %2 = call i32 @get(i32 noundef 1, i32 noundef 2, i32 noundef 3) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @printfI(i32 noundef %3) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @get(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printfI(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/tmp87vybu7k.c' source_filename = "/tmp/tmp87vybu7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Failure in conn_read\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Should read %d bytes\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Error reading from socket: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @conn_read(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [4 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %7, align 4 br label %11 11: ; preds = %29, %1 %12 = load i32, ptr %7, align 4 %13 = zext i32 %12 to i64 %14 = icmp ult i64 %13, 4 br i1 %14, label %15, label %33 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %7, align 4 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 %18 %20 = load i32, ptr %7, align 4 %21 = zext i32 %20 to i64 %22 = sub i64 4, %21 %23 = trunc i64 %22 to i32 %24 = call i32 @read(i32 noundef %16, ptr noundef %19, i32 noundef %23) store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %15 %28 = call i32 @perror(ptr noundef @.str) store ptr null, ptr %2, align 8 br label %86 29: ; preds = %15 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %7, align 4 %32 = add i32 %31, %30 store i32 %32, ptr %7, align 4 br label %11, !llvm.loop !6 33: ; preds = %11 %34 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %35 = load i32, ptr %34, align 1 %36 = call i32 @ntohl(i32 noundef %35) store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %40 = load i32, ptr %8, align 4 %41 = icmp slt i32 %40, 1073741824 %42 = zext i1 %41 to i32 %43 = call i32 @assert(i32 noundef %42) %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 %46 = call i64 @malloc(i32 noundef %45) %47 = inttoptr i64 %46 to ptr store ptr %47, ptr %9, align 8 %48 = load ptr, ptr %9, align 8 %49 = icmp ne ptr %48, null %50 = zext i1 %49 to i32 %51 = call i32 @assert(i32 noundef %50) %52 = load ptr, ptr %9, align 8 store ptr %52, ptr %10, align 8 br label %53 53: ; preds = %72, %33 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %8, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %80 57: ; preds = %53 %58 = load i32, ptr %3, align 4 %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %8, align 4 %61 = load i32, ptr %4, align 4 %62 = sub nsw i32 %60, %61 %63 = call i32 @read(i32 noundef %58, ptr noundef %59, i32 noundef %62) store i32 %63, ptr %5, align 4 %64 = load i32, ptr %5, align 4 %65 = icmp slt i32 %64, 0 br i1 %65, label %66, label %72 66: ; preds = %57 %67 = load i32, ptr %5, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %67) %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %70 = load ptr, ptr %9, align 8 %71 = call i32 @free(ptr noundef %70) store ptr null, ptr %2, align 8 br label %86 72: ; preds = %57 %73 = load i32, ptr %5, align 4 %74 = load ptr, ptr %10, align 8 %75 = sext i32 %73 to i64 %76 = getelementptr inbounds i8, ptr %74, i64 %75 store ptr %76, ptr %10, align 8 %77 = load i32, ptr %5, align 4 %78 = load i32, ptr %4, align 4 %79 = add nsw i32 %78, %77 store i32 %79, ptr %4, align 4 br label %53, !llvm.loop !8 80: ; preds = %53 %81 = load ptr, ptr %9, align 8 %82 = load i32, ptr %4, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 store i8 0, ptr %84, align 1 %85 = load ptr, ptr %9, align 8 store ptr %85, ptr %2, align 8 br label %86 86: ; preds = %80, %66, %27 %87 = load ptr, ptr %2, align 8 ret ptr %87 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @ntohl(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @assert(i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp87vybu7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Failure in conn_read\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Should read %d bytes\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Error reading from socket: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @conn_read(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [4 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = zext i32 %11 to i64 %13 = icmp ult i64 %12, 4 br i1 %13, label %.lr.ph, label %35 .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %28 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %7, align 4 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 %17 %19 = load i32, ptr %7, align 4 %20 = zext i32 %19 to i64 %21 = sub i64 4, %20 %22 = trunc i64 %21 to i32 %23 = call i32 @read(i32 noundef %15, ptr noundef %18, i32 noundef %22) store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %14 %27 = call i32 @perror(ptr noundef @.str) store ptr null, ptr %2, align 8 br label %90 28: ; preds = %14 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %7, align 4 %31 = add i32 %30, %29 store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = zext i32 %32 to i64 %34 = icmp ult i64 %33, 4 br i1 %34, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %35 35: ; preds = %._crit_edge, %1 %36 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %37 = load i32, ptr %36, align 1 %38 = call i32 @ntohl(i32 noundef %37) store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %42 = load i32, ptr %8, align 4 %43 = icmp slt i32 %42, 1073741824 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 %48 = call i64 @malloc(i32 noundef %47) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %9, align 8 %50 = load ptr, ptr %9, align 8 %51 = icmp ne ptr %50, null %52 = zext i1 %51 to i32 %53 = call i32 @assert(i32 noundef %52) %54 = load ptr, ptr %9, align 8 store ptr %54, ptr %10, align 8 %55 = load i32, ptr %4, align 4 %56 = load i32, ptr %8, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %.lr.ph2, label %84 .lr.ph2: ; preds = %35 br label %58 58: ; preds = %.lr.ph2, %73 %59 = load i32, ptr %3, align 4 %60 = load ptr, ptr %10, align 8 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr %4, align 4 %63 = sub nsw i32 %61, %62 %64 = call i32 @read(i32 noundef %59, ptr noundef %60, i32 noundef %63) store i32 %64, ptr %5, align 4 %65 = load i32, ptr %5, align 4 %66 = icmp slt i32 %65, 0 br i1 %66, label %67, label %73 67: ; preds = %58 %68 = load i32, ptr %5, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %68) %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %71 = load ptr, ptr %9, align 8 %72 = call i32 @free(ptr noundef %71) store ptr null, ptr %2, align 8 br label %90 73: ; preds = %58 %74 = load i32, ptr %5, align 4 %75 = load ptr, ptr %10, align 8 %76 = sext i32 %74 to i64 %77 = getelementptr inbounds i8, ptr %75, i64 %76 store ptr %77, ptr %10, align 8 %78 = load i32, ptr %5, align 4 %79 = load i32, ptr %4, align 4 %80 = add nsw i32 %79, %78 store i32 %80, ptr %4, align 4 %81 = load i32, ptr %4, align 4 %82 = load i32, ptr %8, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %84 84: ; preds = %._crit_edge3, %35 %85 = load ptr, ptr %9, align 8 %86 = load i32, ptr %4, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 store i8 0, ptr %88, align 1 %89 = load ptr, ptr %9, align 8 store ptr %89, ptr %2, align 8 br label %90 90: ; preds = %84, %67, %26 %91 = load ptr, ptr %2, align 8 ret ptr %91 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @ntohl(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @assert(i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd93c1jw6.c' source_filename = "/tmp/tmpd93c1jw6.c" target datalayout = "e-m:e-p270: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/tmpd93c1jw6.c" target datalayout = "e-m:e-p270: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/tmpo0dii1de.c' source_filename = "/tmp/tmpo0dii1de.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.test_array = private unnamed_addr constant [10 x i32] [i32 2, i32 3, i32 5, i32 7, i32 8, i32 9, i32 13, i32 17, i32 23, i32 48], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = 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.test_array, i64 40, i1 false) store i32 0, ptr %3, align 4 br label %4 4: ; preds = %18, %0 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %21 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 @binary_search(ptr noundef %9, i32 noundef %13, i32 noundef 0, i32 noundef 9) %15 = icmp eq i32 %8, %14 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) br label %18 18: ; preds = %7 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %4, !llvm.loop !6 21: ; preds = %4 %22 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %23 = call i32 @binary_search(ptr noundef %22, i32 noundef 81, i32 noundef 0, i32 noundef 10) %24 = icmp eq i32 -1, %23 %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @assert(i32 noundef) #2 declare i32 @binary_search(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpo0dii1de.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.test_array = private unnamed_addr constant [10 x i32] [i32 2, i32 3, i32 5, i32 7, i32 8, i32 9, i32 13, i32 17, i32 23, i32 48], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = 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.test_array, i64 40, i1 false) store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %17 %7 = load i32, ptr %3, align 4 %8 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 @binary_search(ptr noundef %8, i32 noundef %12, i32 noundef 0, i32 noundef 9) %14 = icmp eq i32 %7, %13 %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) br label %17 17: ; preds = %6 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 10 br i1 %21, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %24 = call i32 @binary_search(ptr noundef %23, i32 noundef 81, i32 noundef 0, i32 noundef 10) %25 = icmp eq i32 -1, %24 %26 = zext i1 %25 to i32 %27 = call i32 @assert(i32 noundef %26) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @assert(i32 noundef) #2 declare i32 @binary_search(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpjdh02724.c' source_filename = "/tmp/tmpjdh02724.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Z5swfmaddd(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 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %6, align 8 %10 = call double @llvm.fma.f64(double %7, double %8, double %9) ret double %10 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fma.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjdh02724.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Z5swfmaddd(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 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %6, align 8 %10 = call double @llvm.fma.f64(double %7, double %8, double %9) ret double %10 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fma.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsryr7kko.c' source_filename = "/tmp/tmpsryr7kko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_unwanted_characters(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 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp eq i32 %6, 39 br i1 %7, label %8, label %16 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 1 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = call i32 @memmove(ptr noundef %10, ptr noundef %12, i32 noundef %14) br label %16 16: ; preds = %8, %1 %17 = load ptr, ptr %2, align 8 %18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 32) store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 store i8 0, ptr %22, align 1 br label %23 23: ; preds = %21, %16 %24 = load ptr, ptr %2, align 8 %25 = call ptr @strrchr(ptr noundef %24, i8 noundef signext 39) store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %3, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 store i8 0, ptr %29, align 1 br label %30 30: ; preds = %28, %23 %31 = load ptr, ptr %2, align 8 %32 = call ptr @strrchr(ptr noundef %31, i8 noundef signext 10) store ptr %32, ptr %3, align 8 %33 = load ptr, ptr %3, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %37 35: ; preds = %30 %36 = load ptr, ptr %3, align 8 store i8 0, ptr %36, align 1 br label %37 37: ; preds = %35, %30 %38 = load ptr, ptr %2, align 8 %39 = load ptr, ptr %2, align 8 %40 = call i32 @strlen(ptr noundef %39) %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 store ptr %42, ptr %3, align 8 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 -1 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 47 br i1 %47, label %48, label %51 48: ; preds = %37 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 -1 store i8 0, ptr %50, align 1 br label %51 51: ; preds = %48, %37 ret void } declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsryr7kko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_unwanted_characters(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 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp eq i32 %6, 39 br i1 %7, label %8, label %16 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 1 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = call i32 @memmove(ptr noundef %10, ptr noundef %12, i32 noundef %14) br label %16 16: ; preds = %8, %1 %17 = load ptr, ptr %2, align 8 %18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 32) store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 store i8 0, ptr %22, align 1 br label %23 23: ; preds = %21, %16 %24 = load ptr, ptr %2, align 8 %25 = call ptr @strrchr(ptr noundef %24, i8 noundef signext 39) store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %3, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 store i8 0, ptr %29, align 1 br label %30 30: ; preds = %28, %23 %31 = load ptr, ptr %2, align 8 %32 = call ptr @strrchr(ptr noundef %31, i8 noundef signext 10) store ptr %32, ptr %3, align 8 %33 = load ptr, ptr %3, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %37 35: ; preds = %30 %36 = load ptr, ptr %3, align 8 store i8 0, ptr %36, align 1 br label %37 37: ; preds = %35, %30 %38 = load ptr, ptr %2, align 8 %39 = load ptr, ptr %2, align 8 %40 = call i32 @strlen(ptr noundef %39) %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 store ptr %42, ptr %3, align 8 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 -1 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 47 br i1 %47, label %48, label %51 48: ; preds = %37 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 -1 store i8 0, ptr %50, align 1 br label %51 51: ; preds = %48, %37 ret void } declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8evpv70k.c' source_filename = "/tmp/tmp8evpv70k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seedit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 115 br i1 %9, label %10, label %15 10: ; preds = %1 %11 = call i32 @time(ptr noundef null) store i32 %11, ptr %4, align 4 %12 = call i32 @srand(i32 noundef %11) %13 = load i32, ptr %4, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %10, %1 ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8evpv70k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seedit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 115 br i1 %9, label %10, label %15 10: ; preds = %1 %11 = call i32 @time(ptr noundef null) store i32 %11, ptr %4, align 4 %12 = call i32 @srand(i32 noundef %11) %13 = load i32, ptr %4, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %10, %1 ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmcrzc41u.c' source_filename = "/tmp/tmpmcrzc41u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input: \0A\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"Enter a number larger than 0 to find the factorial of: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Output: \0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %7 = load i32, ptr %2, align 4 %8 = call i32 @factorial(i32 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @factorial(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/tmpmcrzc41u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input: \0A\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"Enter a number larger than 0 to find the factorial of: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Output: \0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %7 = load i32, ptr %2, align 4 %8 = call i32 @factorial(i32 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @factorial(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/tmpoml_r86s.c' source_filename = "/tmp/tmpoml_r86s.c" target datalayout = "e-m:e-p270: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/tmpoml_r86s.c" target datalayout = "e-m:e-p270: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/tmperb0_0kf.c' source_filename = "/tmp/tmperb0_0kf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.24s\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [8000 x i8], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = call i32 @time(ptr noundef null) store i32 %7, ptr %6, align 4 %8 = getelementptr inbounds [8000 x i8], ptr %5, i64 0, i64 0 %9 = call ptr @ctime(ptr noundef %6) %10 = call i32 @snprintf(ptr noundef %8, i32 noundef 8000, ptr noundef @.str, ptr noundef %9) %11 = getelementptr inbounds [8000 x i8], ptr %5, i64 0, i64 0 %12 = getelementptr inbounds [8000 x i8], ptr %5, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) %14 = call i32 @write(i32 noundef 0, ptr noundef %11, i32 noundef %13) ret i32 0 } declare i32 @time(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmperb0_0kf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.24s\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [8000 x i8], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = call i32 @time(ptr noundef null) store i32 %7, ptr %6, align 4 %8 = getelementptr inbounds [8000 x i8], ptr %5, i64 0, i64 0 %9 = call ptr @ctime(ptr noundef %6) %10 = call i32 @snprintf(ptr noundef %8, i32 noundef 8000, ptr noundef @.str, ptr noundef %9) %11 = getelementptr inbounds [8000 x i8], ptr %5, i64 0, i64 0 %12 = getelementptr inbounds [8000 x i8], ptr %5, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) %14 = call i32 @write(i32 noundef 0, ptr noundef %11, i32 noundef %13) ret i32 0 } declare i32 @time(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpawse_i5z.c' source_filename = "/tmp/tmpawse_i5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isSquare(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @sqrt(i32 noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = mul i32 %7, %8 %10 = load i32, ptr %3, align 4 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %1 %13 = load i32, ptr %4, align 4 store i32 %13, ptr %2, align 4 br label %15 14: ; preds = %1 store i32 0, ptr %2, align 4 br label %15 15: ; preds = %14, %12 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @sqrt(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/tmpawse_i5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isSquare(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @sqrt(i32 noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = mul i32 %7, %8 %10 = load i32, ptr %3, align 4 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %1 %13 = load i32, ptr %4, align 4 store i32 %13, ptr %2, align 4 br label %15 14: ; preds = %1 store i32 0, ptr %2, align 4 br label %15 15: ; preds = %14, %12 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @sqrt(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/tmp1ewsah3h.c' source_filename = "/tmp/tmp1ewsah3h.c" target datalayout = "e-m:e-p270: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 [49 x i8] c"__NR_sigprocmask not supported on this platform\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stderr, align 4 %3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str) ret i32 0 } 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/tmp1ewsah3h.c" target datalayout = "e-m:e-p270: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 [49 x i8] c"__NR_sigprocmask not supported on this platform\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stderr, align 4 %3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str) ret i32 0 } 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/tmpenpizz76.c' source_filename = "/tmp/tmpenpizz76.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Angulo em Grau: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Radiano: %.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load float, ptr %2, align 4 %6 = fpext float %5 to double %7 = fmul double %6, 3.140000e+00 %8 = fdiv double %7, 1.800000e+02 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpenpizz76.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Angulo em Grau: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Radiano: %.2f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load float, ptr %2, align 4 %6 = fpext float %5 to double %7 = fmul double %6, 3.140000e+00 %8 = fdiv double %7, 1.800000e+02 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl4ac0c1o.c' source_filename = "/tmp/tmpl4ac0c1o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @contains_string(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %4 store i32 0, ptr %5, align 4 br label %51 14: ; preds = %4 %15 = load ptr, ptr %8, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %14 store i32 0, ptr %5, align 4 br label %51 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = load ptr, ptr %6, align 8 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %21, %18 %25 = load i32, ptr %9, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load ptr, ptr %8, align 8 %29 = call i32 @strlen(ptr noundef %28) store i32 %29, ptr %9, align 4 br label %30 30: ; preds = %27, %24 store i32 0, ptr %10, align 4 br label %31 31: ; preds = %47, %30 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %32, %33 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %50 37: ; preds = %31 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %9, align 4 %44 = call i64 @strncmp(ptr noundef %41, ptr noundef %42, i32 noundef %43) %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %37 store i32 1, ptr %5, align 4 br label %51 47: ; preds = %37 %48 = load i32, ptr %10, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %10, align 4 br label %31, !llvm.loop !6 50: ; preds = %31 store i32 0, ptr %5, align 4 br label %51 51: ; preds = %50, %46, %17, %13 %52 = load i32, ptr %5, align 4 ret i32 %52 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl4ac0c1o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @contains_string(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %4 store i32 0, ptr %5, align 4 br label %55 14: ; preds = %4 %15 = load ptr, ptr %8, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %14 store i32 0, ptr %5, align 4 br label %55 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = load ptr, ptr %6, align 8 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %21, %18 %25 = load i32, ptr %9, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load ptr, ptr %8, align 8 %29 = call i32 @strlen(ptr noundef %28) store i32 %29, ptr %9, align 4 br label %30 30: ; preds = %27, %24 store i32 0, ptr %10, align 4 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %31, %32 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph, label %54 .lr.ph: ; preds = %30 br label %36 36: ; preds = %.lr.ph, %46 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %10, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %9, align 4 %43 = call i64 @strncmp(ptr noundef %40, ptr noundef %41, i32 noundef %42) %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %36 store i32 1, ptr %5, align 4 br label %55 46: ; preds = %36 %47 = load i32, ptr %10, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %49, %50 %52 = load i32, ptr %7, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %36, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %54 54: ; preds = %._crit_edge, %30 store i32 0, ptr %5, align 4 br label %55 55: ; preds = %54, %45, %17, %13 %56 = load i32, ptr %5, align 4 ret i32 %56 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptin1z5ab.c' source_filename = "/tmp/tmptin1z5ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tetromino_yyfree(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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptin1z5ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tetromino_yyfree(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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoeefylr5.c' source_filename = "/tmp/tmpoeefylr5.c" target datalayout = "e-m:e-p270: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/tmpoeefylr5.c" target datalayout = "e-m:e-p270: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/tmpxqgaw3nq.c' source_filename = "/tmp/tmpxqgaw3nq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strtok_r(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 br label %17 14: ; preds = %3 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %15, align 8 br label %17 17: ; preds = %14, %12 %18 = phi ptr [ %13, %12 ], [ %16, %14 ] store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %6, align 8 %21 = call i32 @strspn(ptr noundef %19, ptr noundef %20) %22 = load ptr, ptr %8, align 8 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %8, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %17 %30 = load ptr, ptr %7, align 8 store ptr @.str, ptr %30, align 8 store ptr null, ptr %4, align 8 br label %49 31: ; preds = %17 %32 = load ptr, ptr %8, align 8 %33 = load ptr, ptr %8, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i32 @strcspn(ptr noundef %33, ptr noundef %34) %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %32, i64 %36 store ptr %37, ptr %9, align 8 %38 = load ptr, ptr %9, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %45 42: ; preds = %31 %43 = load ptr, ptr %9, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %9, align 8 store i8 0, ptr %43, align 1 br label %45 45: ; preds = %42, %31 %46 = load ptr, ptr %9, align 8 %47 = load ptr, ptr %7, align 8 store ptr %46, ptr %47, align 8 %48 = load ptr, ptr %8, align 8 store ptr %48, ptr %4, align 8 br label %49 49: ; preds = %45, %29 %50 = load ptr, ptr %4, align 8 ret ptr %50 } declare i32 @strspn(ptr noundef, ptr noundef) #1 declare i32 @strcspn(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/tmpxqgaw3nq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strtok_r(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 br label %17 14: ; preds = %3 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %15, align 8 br label %17 17: ; preds = %14, %12 %18 = phi ptr [ %13, %12 ], [ %16, %14 ] store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %6, align 8 %21 = call i32 @strspn(ptr noundef %19, ptr noundef %20) %22 = load ptr, ptr %8, align 8 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %8, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %17 %30 = load ptr, ptr %7, align 8 store ptr @.str, ptr %30, align 8 store ptr null, ptr %4, align 8 br label %49 31: ; preds = %17 %32 = load ptr, ptr %8, align 8 %33 = load ptr, ptr %8, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i32 @strcspn(ptr noundef %33, ptr noundef %34) %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %32, i64 %36 store ptr %37, ptr %9, align 8 %38 = load ptr, ptr %9, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %45 42: ; preds = %31 %43 = load ptr, ptr %9, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %9, align 8 store i8 0, ptr %43, align 1 br label %45 45: ; preds = %42, %31 %46 = load ptr, ptr %9, align 8 %47 = load ptr, ptr %7, align 8 store ptr %46, ptr %47, align 8 %48 = load ptr, ptr %8, align 8 store ptr %48, ptr %4, align 8 br label %49 49: ; preds = %45, %29 %50 = load ptr, ptr %4, align 8 ret ptr %50 } declare i32 @strspn(ptr noundef, ptr noundef) #1 declare i32 @strcspn(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/tmpwd99g7ph.c' source_filename = "/tmp/tmpwd99g7ph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"0x%02x,\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 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 br label %8 8: ; preds = %24, %2 br label %9 9: ; preds = %22, %8 %10 = call i32 (...) @getchar() store i32 %10, ptr %6, align 4 %11 = load i32, ptr @EOF, align 4 %12 = icmp ne i32 %10, %11 br i1 %12, label %13, label %23 13: ; preds = %9 %14 = load i32, ptr %7, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = load i32, ptr %7, align 4 %19 = srem i32 %18, 16 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %13 br label %23 22: ; preds = %13 br label %9, !llvm.loop !6 23: ; preds = %21, %9 br label %24 24: ; preds = %23 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr @EOF, align 4 %27 = icmp ne i32 %25, %26 br i1 %27, label %8, label %28, !llvm.loop !8 28: ; preds = %24 ret i32 0 } declare i32 @getchar(...) #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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwd99g7ph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"0x%02x,\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 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 br label %8 8: ; preds = %26, %2 %9 = call i32 (...) @getchar() store i32 %9, ptr %6, align 4 %10 = load i32, ptr @EOF, align 4 %11 = icmp ne i32 %9, %10 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %8 br label %16 12: ; preds = %16 %13 = call i32 (...) @getchar() store i32 %13, ptr %6, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %..loopexit_crit_edge, !llvm.loop !6 16: ; preds = %.lr.ph, %12 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %19) %21 = load i32, ptr %7, align 4 %22 = srem i32 %21, 16 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %12 24: ; preds = %16 br label %25 ..loopexit_crit_edge: ; preds = %12 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %8 br label %25 25: ; preds = %.loopexit, %24 br label %26 26: ; preds = %25 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr @EOF, align 4 %29 = icmp ne i32 %27, %28 br i1 %29, label %8, label %30, !llvm.loop !8 30: ; preds = %26 ret i32 0 } declare i32 @getchar(...) #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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpqfoixfjh.c' source_filename = "/tmp/tmpqfoixfjh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max_strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %7, align 8 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %6, align 8 %12 = sub i64 %11, 1 %13 = icmp ult i64 %10, %12 br i1 %13, label %14, label %24 14: ; preds = %3 %15 = load ptr, ptr %4, align 8 %16 = load i64, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %15, i64 %16 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %6, align 8 %20 = sub i64 %19, 1 %21 = load i64, ptr %7, align 8 %22 = sub i64 %20, %21 %23 = call i32 @u_strlcpy(ptr noundef %17, ptr noundef %18, i64 noundef %22) br label %24 24: ; preds = %14, %3 %25 = load ptr, ptr %4, align 8 ret ptr %25 } declare i64 @strlen(ptr noundef) #1 declare i32 @u_strlcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqfoixfjh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max_strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %7, align 8 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %6, align 8 %12 = sub i64 %11, 1 %13 = icmp ult i64 %10, %12 br i1 %13, label %14, label %24 14: ; preds = %3 %15 = load ptr, ptr %4, align 8 %16 = load i64, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %15, i64 %16 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %6, align 8 %20 = sub i64 %19, 1 %21 = load i64, ptr %7, align 8 %22 = sub i64 %20, %21 %23 = call i32 @u_strlcpy(ptr noundef %17, ptr noundef %18, i64 noundef %22) br label %24 24: ; preds = %14, %3 %25 = load ptr, ptr %4, align 8 ret ptr %25 } declare i64 @strlen(ptr noundef) #1 declare i32 @u_strlcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyo2kjlla.c' source_filename = "/tmp/tmpyo2kjlla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @superlu_abort_and_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = 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/tmpyo2kjlla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @superlu_abort_and_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = 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/tmp6nbshwxo.c' source_filename = "/tmp/tmp6nbshwxo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error read\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"REG\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Error malloc\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"Error open\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Error read file content\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Error write\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [29 x i8] c"File received with success!\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Error closing file\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"DIR\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"Error read filename\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Error open file\00", align 1 @.str.11 = private unnamed_addr constant [25 x i8] c"Error write file content\00", align 1 @.str.12 = private unnamed_addr constant [17 x i8] c"Error close file\00", align 1 @.str.13 = private unnamed_addr constant [29 x i8] c"File received with success|\0A\00", align 1 @.str.14 = private unnamed_addr constant [43 x i8] c"The file is not a regular file/directory!\0A\00", align 1 @.str.15 = private unnamed_addr constant [17 x i8] c"File not found!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @put(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [4 x i8], align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i64, align 8 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 store i8 43, ptr %8, align 1 store i8 35, ptr %9, align 1 store i64 0, ptr %10, align 8 %13 = load i32, ptr %2, align 4 %14 = call i32 (i32, ...) @read(i32 noundef %13, ptr noundef %4, i64 noundef 4) store i32 %14, ptr %11, align 4 %15 = load i32, ptr %11, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %21 17: ; preds = %1 %18 = call i32 @perror(ptr noundef @.str) %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %1 %22 = load i32, ptr %4, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %402 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %27 = call i32 (i32, ...) @read(i32 noundef %25, ptr noundef %26, i32 noundef 3) store i32 %27, ptr %11, align 4 %28 = load i32, ptr %11, align 4 %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %34 30: ; preds = %24 %31 = call i32 @perror(ptr noundef @.str) %32 = load i32, ptr @EXIT_FAILURE, align 4 %33 = call i32 @exit(i32 noundef %32) #3 unreachable 34: ; preds = %24 %35 = load i32, ptr %11, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load i32, ptr @EXIT_SUCCESS, align 4 %39 = call i32 @exit(i32 noundef %38) #3 unreachable 40: ; preds = %34 %41 = load i32, ptr %11, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 %42 store i8 0, ptr %43, align 1 %44 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.1) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %198 47: ; preds = %40 %48 = call i64 @malloc(i32 noundef 4097) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %6, align 8 %50 = load ptr, ptr %6, align 8 %51 = icmp eq ptr %50, null br i1 %51, label %52, label %56 52: ; preds = %47 %53 = call i32 @perror(ptr noundef @.str.2) %54 = load i32, ptr @EXIT_FAILURE, align 4 %55 = call i32 @exit(i32 noundef %54) #3 unreachable 56: ; preds = %47 %57 = call i64 @malloc(i32 noundef 4097) %58 = inttoptr i64 %57 to ptr store ptr %58, ptr %5, align 8 %59 = load ptr, ptr %5, align 8 %60 = icmp eq ptr %59, null br i1 %60, label %61, label %65 61: ; preds = %56 %62 = call i32 @perror(ptr noundef @.str.2) %63 = load i32, ptr @EXIT_FAILURE, align 4 %64 = call i32 @exit(i32 noundef %63) #3 unreachable 65: ; preds = %56 %66 = load i32, ptr %2, align 4 %67 = call i32 (i32, ...) @read(i32 noundef %66, ptr noundef %10, i64 noundef 8) store i32 %67, ptr %11, align 4 %68 = load i32, ptr %11, align 4 %69 = icmp eq i32 %68, -1 br i1 %69, label %70, label %74 70: ; preds = %65 %71 = call i32 @perror(ptr noundef @.str) %72 = load i32, ptr @EXIT_FAILURE, align 4 %73 = call i32 @exit(i32 noundef %72) #3 unreachable 74: ; preds = %65 %75 = load i32, ptr %11, align 4 %76 = icmp eq i32 %75, 0 br i1 %76, label %77, label %80 77: ; preds = %74 %78 = load i32, ptr @EXIT_SUCCESS, align 4 %79 = call i32 @exit(i32 noundef %78) #3 unreachable 80: ; preds = %74 %81 = load i32, ptr %2, align 4 %82 = load ptr, ptr %6, align 8 %83 = load i64, ptr %10, align 8 %84 = call i32 (i32, ...) @read(i32 noundef %81, ptr noundef %82, i64 noundef %83) store i32 %84, ptr %11, align 4 %85 = load i32, ptr %11, align 4 %86 = icmp eq i32 %85, -1 br i1 %86, label %87, label %91 87: ; preds = %80 %88 = call i32 @perror(ptr noundef @.str) %89 = load i32, ptr @EXIT_FAILURE, align 4 %90 = call i32 @exit(i32 noundef %89) #3 unreachable 91: ; preds = %80 %92 = load i32, ptr %11, align 4 %93 = icmp eq i32 %92, 0 br i1 %93, label %94, label %97 94: ; preds = %91 %95 = load i32, ptr @EXIT_SUCCESS, align 4 %96 = call i32 @exit(i32 noundef %95) #3 unreachable 97: ; preds = %91 %98 = load ptr, ptr %6, align 8 %99 = load i32, ptr %11, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %98, i64 %100 store i8 0, ptr %101, align 1 %102 = load ptr, ptr %6, align 8 %103 = load i32, ptr @O_CREAT, align 4 %104 = load i32, ptr @O_WRONLY, align 4 %105 = or i32 %103, %104 %106 = call i32 @open(ptr noundef %102, i32 noundef %105, i32 noundef 420) store i32 %106, ptr %3, align 4 %107 = load i32, ptr %3, align 4 %108 = icmp eq i32 %107, -1 br i1 %108, label %109, label %113 109: ; preds = %97 %110 = call i32 @perror(ptr noundef @.str.3) %111 = load i32, ptr @EXIT_FAILURE, align 4 %112 = call i32 @exit(i32 noundef %111) #3 unreachable 113: ; preds = %97 br label %114 114: ; preds = %176, %113 %115 = load i32, ptr %2, align 4 %116 = call i32 (i32, ...) @read(i32 noundef %115, ptr noundef %8, i64 noundef 1) store i32 %116, ptr %11, align 4 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %177 118: ; preds = %114 %119 = load i32, ptr %11, align 4 %120 = icmp eq i32 %119, -1 br i1 %120, label %121, label %125 121: ; preds = %118 %122 = call i32 @perror(ptr noundef @.str) %123 = load i32, ptr @EXIT_FAILURE, align 4 %124 = call i32 @exit(i32 noundef %123) #3 unreachable 125: ; preds = %118 %126 = load i8, ptr %8, align 1 %127 = sext i8 %126 to i32 %128 = icmp eq i32 %127, 45 br i1 %128, label %129, label %175 129: ; preds = %125 %130 = load i32, ptr %2, align 4 %131 = call i32 (i32, ...) @read(i32 noundef %130, ptr noundef %12, i64 noundef 8) store i32 %131, ptr %11, align 4 %132 = load i32, ptr %11, align 4 %133 = icmp eq i32 %132, -1 br i1 %133, label %134, label %138 134: ; preds = %129 %135 = call i32 @perror(ptr noundef @.str) %136 = load i32, ptr @EXIT_SUCCESS, align 4 %137 = call i32 @exit(i32 noundef %136) #3 unreachable 138: ; preds = %129 %139 = load i32, ptr %11, align 4 %140 = icmp eq i32 %139, 0 br i1 %140, label %141, label %144 141: ; preds = %138 %142 = load i32, ptr @EXIT_FAILURE, align 4 %143 = call i32 @exit(i32 noundef %142) #3 unreachable 144: ; preds = %138 %145 = load i32, ptr %2, align 4 %146 = load ptr, ptr %5, align 8 %147 = load i64, ptr %12, align 8 %148 = call i32 (i32, ...) @read(i32 noundef %145, ptr noundef %146, i64 noundef %147) store i32 %148, ptr %11, align 4 %149 = load i32, ptr %11, align 4 %150 = icmp eq i32 %149, -1 br i1 %150, label %151, label %155 151: ; preds = %144 %152 = call i32 @perror(ptr noundef @.str.4) %153 = load i32, ptr @EXIT_FAILURE, align 4 %154 = call i32 @exit(i32 noundef %153) #3 unreachable 155: ; preds = %144 %156 = load i32, ptr %11, align 4 %157 = icmp eq i32 %156, 0 br i1 %157, label %158, label %161 158: ; preds = %155 %159 = load i32, ptr @EXIT_SUCCESS, align 4 %160 = call i32 @exit(i32 noundef %159) #3 unreachable 161: ; preds = %155 %162 = load i32, ptr %3, align 4 %163 = load ptr, ptr %5, align 8 %164 = load i64, ptr %12, align 8 %165 = trunc i64 %164 to i32 %166 = call i32 @write(i32 noundef %162, ptr noundef %163, i32 noundef %165) %167 = sext i32 %166 to i64 %168 = load i64, ptr %12, align 8 %169 = icmp ult i64 %167, %168 br i1 %169, label %170, label %174 170: ; preds = %161 %171 = call i32 @perror(ptr noundef @.str.5) %172 = load i32, ptr @EXIT_SUCCESS, align 4 %173 = call i32 @exit(i32 noundef %172) #3 unreachable 174: ; preds = %161 br label %176 175: ; preds = %125 br label %177 176: ; preds = %174 br label %114, !llvm.loop !6 177: ; preds = %175, %114 %178 = load i32, ptr @STDOUT_FILENO, align 4 %179 = call i32 @write(i32 noundef %178, ptr noundef @.str.6, i32 noundef 28) %180 = icmp slt i32 %179, 28 br i1 %180, label %181, label %185 181: ; preds = %177 %182 = call i32 @perror(ptr noundef @.str.5) %183 = load i32, ptr @EXIT_FAILURE, align 4 %184 = call i32 @exit(i32 noundef %183) #3 unreachable 185: ; preds = %177 %186 = load ptr, ptr %5, align 8 %187 = call i32 @free(ptr noundef %186) %188 = load ptr, ptr %6, align 8 %189 = call i32 @free(ptr noundef %188) %190 = load i32, ptr %3, align 4 %191 = call i32 @close(i32 noundef %190) %192 = icmp eq i32 %191, -1 br i1 %192, label %193, label %197 193: ; preds = %185 %194 = call i32 @perror(ptr noundef @.str.7) %195 = load i32, ptr @EXIT_FAILURE, align 4 %196 = call i32 @exit(i32 noundef %195) #3 unreachable 197: ; preds = %185 br label %401 198: ; preds = %40 %199 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %200 = call i64 @strcmp(ptr noundef %199, ptr noundef @.str.8) %201 = icmp eq i64 %200, 0 br i1 %201, label %202, label %391 202: ; preds = %198 br label %203 203: ; preds = %389, %373, %202 %204 = load i32, ptr %2, align 4 %205 = call i32 (i32, ...) @read(i32 noundef %204, ptr noundef %9, i64 noundef 1) store i32 %205, ptr %11, align 4 %206 = load i32, ptr %11, align 4 %207 = icmp eq i32 %206, -1 br i1 %207, label %208, label %212 208: ; preds = %203 %209 = call i32 @perror(ptr noundef @.str) %210 = load i32, ptr @EXIT_FAILURE, align 4 %211 = call i32 @exit(i32 noundef %210) #3 unreachable 212: ; preds = %203 %213 = load i32, ptr %11, align 4 %214 = icmp eq i32 %213, 0 br i1 %214, label %215, label %218 215: ; preds = %212 %216 = load i32, ptr @EXIT_SUCCESS, align 4 %217 = call i32 @exit(i32 noundef %216) #3 unreachable 218: ; preds = %212 %219 = load i8, ptr %9, align 1 %220 = sext i8 %219 to i32 %221 = icmp eq i32 %220, 102 br i1 %221, label %222, label %369 222: ; preds = %218 %223 = call i64 @malloc(i32 noundef 4097) %224 = inttoptr i64 %223 to ptr store ptr %224, ptr %6, align 8 %225 = load ptr, ptr %6, align 8 %226 = icmp eq ptr %225, null br i1 %226, label %227, label %231 227: ; preds = %222 %228 = call i32 @perror(ptr noundef @.str.2) %229 = load i32, ptr @EXIT_FAILURE, align 4 %230 = call i32 @exit(i32 noundef %229) #3 unreachable 231: ; preds = %222 %232 = call i64 @malloc(i32 noundef 4097) %233 = inttoptr i64 %232 to ptr store ptr %233, ptr %5, align 8 %234 = load ptr, ptr %5, align 8 %235 = icmp eq ptr %234, null br i1 %235, label %236, label %240 236: ; preds = %231 %237 = call i32 @perror(ptr noundef @.str.2) %238 = load i32, ptr @EXIT_FAILURE, align 4 %239 = call i32 @exit(i32 noundef %238) #3 unreachable 240: ; preds = %231 %241 = load i32, ptr %2, align 4 %242 = call i32 (i32, ...) @read(i32 noundef %241, ptr noundef %10, i64 noundef 8) store i32 %242, ptr %11, align 4 %243 = load i32, ptr %11, align 4 %244 = icmp eq i32 %243, -1 br i1 %244, label %245, label %249 245: ; preds = %240 %246 = call i32 @perror(ptr noundef @.str) %247 = load i32, ptr @EXIT_FAILURE, align 4 %248 = call i32 @exit(i32 noundef %247) #3 unreachable 249: ; preds = %240 %250 = load i32, ptr %11, align 4 %251 = icmp eq i32 %250, 0 br i1 %251, label %252, label %255 252: ; preds = %249 %253 = load i32, ptr @EXIT_SUCCESS, align 4 %254 = call i32 @exit(i32 noundef %253) #3 unreachable 255: ; preds = %249 %256 = load i32, ptr %2, align 4 %257 = load ptr, ptr %6, align 8 %258 = load i64, ptr %10, align 8 %259 = call i32 (i32, ...) @read(i32 noundef %256, ptr noundef %257, i64 noundef %258) store i32 %259, ptr %11, align 4 %260 = load i32, ptr %11, align 4 %261 = icmp eq i32 %260, -1 br i1 %261, label %262, label %266 262: ; preds = %255 %263 = call i32 @perror(ptr noundef @.str.9) %264 = load i32, ptr @EXIT_FAILURE, align 4 %265 = call i32 @exit(i32 noundef %264) #3 unreachable 266: ; preds = %255 %267 = load i32, ptr %11, align 4 %268 = icmp eq i32 %267, 0 br i1 %268, label %269, label %272 269: ; preds = %266 %270 = load i32, ptr @EXIT_SUCCESS, align 4 %271 = call i32 @exit(i32 noundef %270) #3 unreachable 272: ; preds = %266 %273 = load ptr, ptr %6, align 8 %274 = load i32, ptr %11, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds i8, ptr %273, i64 %275 store i8 0, ptr %276, align 1 %277 = load ptr, ptr %6, align 8 %278 = load i32, ptr @O_CREAT, align 4 %279 = load i32, ptr @O_WRONLY, align 4 %280 = or i32 %278, %279 %281 = call i32 @open(ptr noundef %277, i32 noundef %280, i32 noundef 420) store i32 %281, ptr %3, align 4 %282 = load i32, ptr %3, align 4 %283 = icmp eq i32 %282, -1 br i1 %283, label %284, label %288 284: ; preds = %272 %285 = call i32 @perror(ptr noundef @.str.10) %286 = load i32, ptr @EXIT_FAILURE, align 4 %287 = call i32 @exit(i32 noundef %286) #3 unreachable 288: ; preds = %272 br label %289 289: ; preds = %355, %288 %290 = load i32, ptr %2, align 4 %291 = call i32 (i32, ...) @read(i32 noundef %290, ptr noundef %8, i64 noundef 1) store i32 %291, ptr %11, align 4 %292 = icmp ne i32 %291, 0 br i1 %292, label %293, label %356 293: ; preds = %289 %294 = load i32, ptr %11, align 4 %295 = icmp eq i32 %294, -1 br i1 %295, label %296, label %300 296: ; preds = %293 %297 = call i32 @perror(ptr noundef @.str.5) %298 = load i32, ptr @EXIT_FAILURE, align 4 %299 = call i32 @exit(i32 noundef %298) #3 unreachable 300: ; preds = %293 %301 = load i8, ptr %8, align 1 %302 = sext i8 %301 to i32 %303 = icmp eq i32 %302, 45 br i1 %303, label %304, label %354 304: ; preds = %300 %305 = load i32, ptr %2, align 4 %306 = call i32 (i32, ...) @read(i32 noundef %305, ptr noundef %12, i64 noundef 8) store i32 %306, ptr %11, align 4 %307 = load i32, ptr %11, align 4 %308 = icmp eq i32 %307, -1 br i1 %308, label %309, label %313 309: ; preds = %304 %310 = call i32 @perror(ptr noundef @.str) %311 = load i32, ptr @EXIT_FAILURE, align 4 %312 = call i32 @exit(i32 noundef %311) #3 unreachable 313: ; preds = %304 %314 = load i32, ptr %11, align 4 %315 = icmp eq i32 %314, 0 br i1 %315, label %316, label %319 316: ; preds = %313 %317 = load i32, ptr @EXIT_SUCCESS, align 4 %318 = call i32 @exit(i32 noundef %317) #3 unreachable 319: ; preds = %313 %320 = load i32, ptr %2, align 4 %321 = load ptr, ptr %5, align 8 %322 = load i64, ptr %12, align 8 %323 = call i32 (i32, ...) @read(i32 noundef %320, ptr noundef %321, i64 noundef %322) store i32 %323, ptr %11, align 4 %324 = load i32, ptr %11, align 4 %325 = icmp eq i32 %324, -1 br i1 %325, label %326, label %330 326: ; preds = %319 %327 = call i32 @perror(ptr noundef @.str.4) %328 = load i32, ptr @EXIT_FAILURE, align 4 %329 = call i32 @exit(i32 noundef %328) #3 unreachable 330: ; preds = %319 %331 = load i32, ptr %11, align 4 %332 = icmp eq i32 %331, 0 br i1 %332, label %333, label %336 333: ; preds = %330 %334 = load i32, ptr @EXIT_SUCCESS, align 4 %335 = call i32 @exit(i32 noundef %334) #3 unreachable 336: ; preds = %330 %337 = load ptr, ptr %5, align 8 %338 = load i32, ptr %11, align 4 %339 = sext i32 %338 to i64 %340 = getelementptr inbounds i8, ptr %337, i64 %339 store i8 0, ptr %340, align 1 %341 = load i32, ptr %3, align 4 %342 = load ptr, ptr %5, align 8 %343 = load i64, ptr %12, align 8 %344 = trunc i64 %343 to i32 %345 = call i32 @write(i32 noundef %341, ptr noundef %342, i32 noundef %344) %346 = sext i32 %345 to i64 %347 = load i64, ptr %12, align 8 %348 = icmp ult i64 %346, %347 br i1 %348, label %349, label %353 349: ; preds = %336 %350 = call i32 @perror(ptr noundef @.str.11) %351 = load i32, ptr @EXIT_FAILURE, align 4 %352 = call i32 @exit(i32 noundef %351) #3 unreachable 353: ; preds = %336 br label %355 354: ; preds = %300 br label %356 355: ; preds = %353 br label %289, !llvm.loop !8 356: ; preds = %354, %289 %357 = load ptr, ptr %5, align 8 %358 = call i32 @free(ptr noundef %357) %359 = load ptr, ptr %6, align 8 %360 = call i32 @free(ptr noundef %359) %361 = load i32, ptr %3, align 4 %362 = call i32 @close(i32 noundef %361) %363 = icmp eq i32 %362, -1 br i1 %363, label %364, label %368 364: ; preds = %356 %365 = call i32 @perror(ptr noundef @.str.12) %366 = load i32, ptr @EXIT_FAILURE, align 4 %367 = call i32 @exit(i32 noundef %366) #3 unreachable 368: ; preds = %356 br label %381 369: ; preds = %218 %370 = load i8, ptr %9, align 1 %371 = sext i8 %370 to i32 %372 = icmp eq i32 %371, 100 br i1 %372, label %373, label %374 373: ; preds = %369 br label %203 374: ; preds = %369 %375 = load i8, ptr %9, align 1 %376 = sext i8 %375 to i32 %377 = icmp eq i32 %376, 101 br i1 %377, label %378, label %379 378: ; preds = %374 br label %390 379: ; preds = %374 br label %380 380: ; preds = %379 br label %381 381: ; preds = %380, %368 %382 = load i32, ptr @STDOUT_FILENO, align 4 %383 = call i32 @write(i32 noundef %382, ptr noundef @.str.13, i32 noundef 28) %384 = icmp slt i32 %383, 28 br i1 %384, label %385, label %389 385: ; preds = %381 %386 = call i32 @perror(ptr noundef @.str.5) %387 = load i32, ptr @EXIT_FAILURE, align 4 %388 = call i32 @exit(i32 noundef %387) #3 unreachable 389: ; preds = %381 br label %203 390: ; preds = %378 br label %400 391: ; preds = %198 %392 = load i32, ptr @STDOUT_FILENO, align 4 %393 = call i32 @write(i32 noundef %392, ptr noundef @.str.14, i32 noundef 45) %394 = icmp slt i32 %393, 45 br i1 %394, label %395, label %399 395: ; preds = %391 %396 = call i32 @perror(ptr noundef @.str.5) %397 = load i32, ptr @EXIT_SUCCESS, align 4 %398 = call i32 @exit(i32 noundef %397) #3 unreachable 399: ; preds = %391 br label %400 400: ; preds = %399, %390 br label %401 401: ; preds = %400, %197 br label %411 402: ; preds = %21 %403 = load i32, ptr @STDOUT_FILENO, align 4 %404 = call i32 @write(i32 noundef %403, ptr noundef @.str.15, i32 noundef 16) %405 = icmp slt i32 %404, 16 br i1 %405, label %406, label %410 406: ; preds = %402 %407 = call i32 @perror(ptr noundef @.str.5) %408 = load i32, ptr @EXIT_FAILURE, align 4 %409 = call i32 @exit(i32 noundef %408) #3 unreachable 410: ; preds = %402 br label %411 411: ; preds = %410, %401 ret void } declare i32 @read(i32 noundef, ...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6nbshwxo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error read\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"REG\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Error malloc\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"Error open\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Error read file content\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Error write\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [29 x i8] c"File received with success!\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Error closing file\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"DIR\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"Error read filename\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Error open file\00", align 1 @.str.11 = private unnamed_addr constant [25 x i8] c"Error write file content\00", align 1 @.str.12 = private unnamed_addr constant [17 x i8] c"Error close file\00", align 1 @.str.13 = private unnamed_addr constant [29 x i8] c"File received with success|\0A\00", align 1 @.str.14 = private unnamed_addr constant [43 x i8] c"The file is not a regular file/directory!\0A\00", align 1 @.str.15 = private unnamed_addr constant [17 x i8] c"File not found!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @put(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [4 x i8], align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i64, align 8 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 store i8 43, ptr %8, align 1 store i8 35, ptr %9, align 1 store i64 0, ptr %10, align 8 %13 = load i32, ptr %2, align 4 %14 = call i32 (i32, ...) @read(i32 noundef %13, ptr noundef %4, i64 noundef 4) store i32 %14, ptr %11, align 4 %15 = load i32, ptr %11, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %21 17: ; preds = %1 %18 = call i32 @perror(ptr noundef @.str) %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %1 %22 = load i32, ptr %4, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %409 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %27 = call i32 (i32, ...) @read(i32 noundef %25, ptr noundef %26, i32 noundef 3) store i32 %27, ptr %11, align 4 %28 = load i32, ptr %11, align 4 %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %34 30: ; preds = %24 %31 = call i32 @perror(ptr noundef @.str) %32 = load i32, ptr @EXIT_FAILURE, align 4 %33 = call i32 @exit(i32 noundef %32) #3 unreachable 34: ; preds = %24 %35 = load i32, ptr %11, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load i32, ptr @EXIT_SUCCESS, align 4 %39 = call i32 @exit(i32 noundef %38) #3 unreachable 40: ; preds = %34 %41 = load i32, ptr %11, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 %42 store i8 0, ptr %43, align 1 %44 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.1) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %200 47: ; preds = %40 %48 = call i64 @malloc(i32 noundef 4097) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %6, align 8 %50 = load ptr, ptr %6, align 8 %51 = icmp eq ptr %50, null br i1 %51, label %52, label %56 52: ; preds = %47 %53 = call i32 @perror(ptr noundef @.str.2) %54 = load i32, ptr @EXIT_FAILURE, align 4 %55 = call i32 @exit(i32 noundef %54) #3 unreachable 56: ; preds = %47 %57 = call i64 @malloc(i32 noundef 4097) %58 = inttoptr i64 %57 to ptr store ptr %58, ptr %5, align 8 %59 = load ptr, ptr %5, align 8 %60 = icmp eq ptr %59, null br i1 %60, label %61, label %65 61: ; preds = %56 %62 = call i32 @perror(ptr noundef @.str.2) %63 = load i32, ptr @EXIT_FAILURE, align 4 %64 = call i32 @exit(i32 noundef %63) #3 unreachable 65: ; preds = %56 %66 = load i32, ptr %2, align 4 %67 = call i32 (i32, ...) @read(i32 noundef %66, ptr noundef %10, i64 noundef 8) store i32 %67, ptr %11, align 4 %68 = load i32, ptr %11, align 4 %69 = icmp eq i32 %68, -1 br i1 %69, label %70, label %74 70: ; preds = %65 %71 = call i32 @perror(ptr noundef @.str) %72 = load i32, ptr @EXIT_FAILURE, align 4 %73 = call i32 @exit(i32 noundef %72) #3 unreachable 74: ; preds = %65 %75 = load i32, ptr %11, align 4 %76 = icmp eq i32 %75, 0 br i1 %76, label %77, label %80 77: ; preds = %74 %78 = load i32, ptr @EXIT_SUCCESS, align 4 %79 = call i32 @exit(i32 noundef %78) #3 unreachable 80: ; preds = %74 %81 = load i32, ptr %2, align 4 %82 = load ptr, ptr %6, align 8 %83 = load i64, ptr %10, align 8 %84 = call i32 (i32, ...) @read(i32 noundef %81, ptr noundef %82, i64 noundef %83) store i32 %84, ptr %11, align 4 %85 = load i32, ptr %11, align 4 %86 = icmp eq i32 %85, -1 br i1 %86, label %87, label %91 87: ; preds = %80 %88 = call i32 @perror(ptr noundef @.str) %89 = load i32, ptr @EXIT_FAILURE, align 4 %90 = call i32 @exit(i32 noundef %89) #3 unreachable 91: ; preds = %80 %92 = load i32, ptr %11, align 4 %93 = icmp eq i32 %92, 0 br i1 %93, label %94, label %97 94: ; preds = %91 %95 = load i32, ptr @EXIT_SUCCESS, align 4 %96 = call i32 @exit(i32 noundef %95) #3 unreachable 97: ; preds = %91 %98 = load ptr, ptr %6, align 8 %99 = load i32, ptr %11, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %98, i64 %100 store i8 0, ptr %101, align 1 %102 = load ptr, ptr %6, align 8 %103 = load i32, ptr @O_CREAT, align 4 %104 = load i32, ptr @O_WRONLY, align 4 %105 = or i32 %103, %104 %106 = call i32 @open(ptr noundef %102, i32 noundef %105, i32 noundef 420) store i32 %106, ptr %3, align 4 %107 = load i32, ptr %3, align 4 %108 = icmp eq i32 %107, -1 br i1 %108, label %109, label %113 109: ; preds = %97 %110 = call i32 @perror(ptr noundef @.str.3) %111 = load i32, ptr @EXIT_FAILURE, align 4 %112 = call i32 @exit(i32 noundef %111) #3 unreachable 113: ; preds = %97 %114 = load i32, ptr %2, align 4 %115 = call i32 (i32, ...) @read(i32 noundef %114, ptr noundef %8, i64 noundef 1) store i32 %115, ptr %11, align 4 %116 = icmp ne i32 %115, 0 br i1 %116, label %.lr.ph4, label %.loopexit .lr.ph4: ; preds = %113 br label %117 117: ; preds = %.lr.ph4, %175 %118 = load i32, ptr %11, align 4 %119 = icmp eq i32 %118, -1 br i1 %119, label %120, label %124 120: ; preds = %117 %121 = call i32 @perror(ptr noundef @.str) %122 = load i32, ptr @EXIT_FAILURE, align 4 %123 = call i32 @exit(i32 noundef %122) #3 unreachable 124: ; preds = %117 %125 = load i8, ptr %8, align 1 %126 = sext i8 %125 to i32 %127 = icmp eq i32 %126, 45 br i1 %127, label %128, label %174 128: ; preds = %124 %129 = load i32, ptr %2, align 4 %130 = call i32 (i32, ...) @read(i32 noundef %129, ptr noundef %12, i64 noundef 8) store i32 %130, ptr %11, align 4 %131 = load i32, ptr %11, align 4 %132 = icmp eq i32 %131, -1 br i1 %132, label %133, label %137 133: ; preds = %128 %134 = call i32 @perror(ptr noundef @.str) %135 = load i32, ptr @EXIT_SUCCESS, align 4 %136 = call i32 @exit(i32 noundef %135) #3 unreachable 137: ; preds = %128 %138 = load i32, ptr %11, align 4 %139 = icmp eq i32 %138, 0 br i1 %139, label %140, label %143 140: ; preds = %137 %141 = load i32, ptr @EXIT_FAILURE, align 4 %142 = call i32 @exit(i32 noundef %141) #3 unreachable 143: ; preds = %137 %144 = load i32, ptr %2, align 4 %145 = load ptr, ptr %5, align 8 %146 = load i64, ptr %12, align 8 %147 = call i32 (i32, ...) @read(i32 noundef %144, ptr noundef %145, i64 noundef %146) store i32 %147, ptr %11, align 4 %148 = load i32, ptr %11, align 4 %149 = icmp eq i32 %148, -1 br i1 %149, label %150, label %154 150: ; preds = %143 %151 = call i32 @perror(ptr noundef @.str.4) %152 = load i32, ptr @EXIT_FAILURE, align 4 %153 = call i32 @exit(i32 noundef %152) #3 unreachable 154: ; preds = %143 %155 = load i32, ptr %11, align 4 %156 = icmp eq i32 %155, 0 br i1 %156, label %157, label %160 157: ; preds = %154 %158 = load i32, ptr @EXIT_SUCCESS, align 4 %159 = call i32 @exit(i32 noundef %158) #3 unreachable 160: ; preds = %154 %161 = load i32, ptr %3, align 4 %162 = load ptr, ptr %5, align 8 %163 = load i64, ptr %12, align 8 %164 = trunc i64 %163 to i32 %165 = call i32 @write(i32 noundef %161, ptr noundef %162, i32 noundef %164) %166 = sext i32 %165 to i64 %167 = load i64, ptr %12, align 8 %168 = icmp ult i64 %166, %167 br i1 %168, label %169, label %173 169: ; preds = %160 %170 = call i32 @perror(ptr noundef @.str.5) %171 = load i32, ptr @EXIT_SUCCESS, align 4 %172 = call i32 @exit(i32 noundef %171) #3 unreachable 173: ; preds = %160 br label %175 174: ; preds = %124 br label %179 175: ; preds = %173 %176 = load i32, ptr %2, align 4 %177 = call i32 (i32, ...) @read(i32 noundef %176, ptr noundef %8, i64 noundef 1) store i32 %177, ptr %11, align 4 %178 = icmp ne i32 %177, 0 br i1 %178, label %117, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %175 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %113 br label %179 179: ; preds = %.loopexit, %174 %180 = load i32, ptr @STDOUT_FILENO, align 4 %181 = call i32 @write(i32 noundef %180, ptr noundef @.str.6, i32 noundef 28) %182 = icmp slt i32 %181, 28 br i1 %182, label %183, label %187 183: ; preds = %179 %184 = call i32 @perror(ptr noundef @.str.5) %185 = load i32, ptr @EXIT_FAILURE, align 4 %186 = call i32 @exit(i32 noundef %185) #3 unreachable 187: ; preds = %179 %188 = load ptr, ptr %5, align 8 %189 = call i32 @free(ptr noundef %188) %190 = load ptr, ptr %6, align 8 %191 = call i32 @free(ptr noundef %190) %192 = load i32, ptr %3, align 4 %193 = call i32 @close(i32 noundef %192) %194 = icmp eq i32 %193, -1 br i1 %194, label %195, label %199 195: ; preds = %187 %196 = call i32 @perror(ptr noundef @.str.7) %197 = load i32, ptr @EXIT_FAILURE, align 4 %198 = call i32 @exit(i32 noundef %197) #3 unreachable 199: ; preds = %187 br label %408 200: ; preds = %40 %201 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %202 = call i64 @strcmp(ptr noundef %201, ptr noundef @.str.8) %203 = icmp eq i64 %202, 0 br i1 %203, label %204, label %398 204: ; preds = %200 %205 = load i32, ptr %2, align 4 %206 = call i32 (i32, ...) @read(i32 noundef %205, ptr noundef %9, i64 noundef 1) store i32 %206, ptr %11, align 4 %207 = load i32, ptr %11, align 4 %208 = icmp eq i32 %207, -1 br i1 %208, label %209, label %.lr.ph2 .lr.ph2: ; preds = %204 br label %213 ._crit_edge: ; preds = %.backedge br label %209 209: ; preds = %._crit_edge, %204 %210 = call i32 @perror(ptr noundef @.str) %211 = load i32, ptr @EXIT_FAILURE, align 4 %212 = call i32 @exit(i32 noundef %211) #3 unreachable 213: ; preds = %.lr.ph2, %.backedge %214 = load i32, ptr %11, align 4 %215 = icmp eq i32 %214, 0 br i1 %215, label %216, label %219 216: ; preds = %213 %217 = load i32, ptr @EXIT_SUCCESS, align 4 %218 = call i32 @exit(i32 noundef %217) #3 unreachable 219: ; preds = %213 %220 = load i8, ptr %9, align 1 %221 = sext i8 %220 to i32 %222 = icmp eq i32 %221, 102 br i1 %222, label %223, label %372 223: ; preds = %219 %224 = call i64 @malloc(i32 noundef 4097) %225 = inttoptr i64 %224 to ptr store ptr %225, ptr %6, align 8 %226 = load ptr, ptr %6, align 8 %227 = icmp eq ptr %226, null br i1 %227, label %228, label %232 228: ; preds = %223 %229 = call i32 @perror(ptr noundef @.str.2) %230 = load i32, ptr @EXIT_FAILURE, align 4 %231 = call i32 @exit(i32 noundef %230) #3 unreachable 232: ; preds = %223 %233 = call i64 @malloc(i32 noundef 4097) %234 = inttoptr i64 %233 to ptr store ptr %234, ptr %5, align 8 %235 = load ptr, ptr %5, align 8 %236 = icmp eq ptr %235, null br i1 %236, label %237, label %241 237: ; preds = %232 %238 = call i32 @perror(ptr noundef @.str.2) %239 = load i32, ptr @EXIT_FAILURE, align 4 %240 = call i32 @exit(i32 noundef %239) #3 unreachable 241: ; preds = %232 %242 = load i32, ptr %2, align 4 %243 = call i32 (i32, ...) @read(i32 noundef %242, ptr noundef %10, i64 noundef 8) store i32 %243, ptr %11, align 4 %244 = load i32, ptr %11, align 4 %245 = icmp eq i32 %244, -1 br i1 %245, label %246, label %250 246: ; preds = %241 %247 = call i32 @perror(ptr noundef @.str) %248 = load i32, ptr @EXIT_FAILURE, align 4 %249 = call i32 @exit(i32 noundef %248) #3 unreachable 250: ; preds = %241 %251 = load i32, ptr %11, align 4 %252 = icmp eq i32 %251, 0 br i1 %252, label %253, label %256 253: ; preds = %250 %254 = load i32, ptr @EXIT_SUCCESS, align 4 %255 = call i32 @exit(i32 noundef %254) #3 unreachable 256: ; preds = %250 %257 = load i32, ptr %2, align 4 %258 = load ptr, ptr %6, align 8 %259 = load i64, ptr %10, align 8 %260 = call i32 (i32, ...) @read(i32 noundef %257, ptr noundef %258, i64 noundef %259) store i32 %260, ptr %11, align 4 %261 = load i32, ptr %11, align 4 %262 = icmp eq i32 %261, -1 br i1 %262, label %263, label %267 263: ; preds = %256 %264 = call i32 @perror(ptr noundef @.str.9) %265 = load i32, ptr @EXIT_FAILURE, align 4 %266 = call i32 @exit(i32 noundef %265) #3 unreachable 267: ; preds = %256 %268 = load i32, ptr %11, align 4 %269 = icmp eq i32 %268, 0 br i1 %269, label %270, label %273 270: ; preds = %267 %271 = load i32, ptr @EXIT_SUCCESS, align 4 %272 = call i32 @exit(i32 noundef %271) #3 unreachable 273: ; preds = %267 %274 = load ptr, ptr %6, align 8 %275 = load i32, ptr %11, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds i8, ptr %274, i64 %276 store i8 0, ptr %277, align 1 %278 = load ptr, ptr %6, align 8 %279 = load i32, ptr @O_CREAT, align 4 %280 = load i32, ptr @O_WRONLY, align 4 %281 = or i32 %279, %280 %282 = call i32 @open(ptr noundef %278, i32 noundef %281, i32 noundef 420) store i32 %282, ptr %3, align 4 %283 = load i32, ptr %3, align 4 %284 = icmp eq i32 %283, -1 br i1 %284, label %285, label %289 285: ; preds = %273 %286 = call i32 @perror(ptr noundef @.str.10) %287 = load i32, ptr @EXIT_FAILURE, align 4 %288 = call i32 @exit(i32 noundef %287) #3 unreachable 289: ; preds = %273 %290 = load i32, ptr %2, align 4 %291 = call i32 (i32, ...) @read(i32 noundef %290, ptr noundef %8, i64 noundef 1) store i32 %291, ptr %11, align 4 %292 = icmp ne i32 %291, 0 br i1 %292, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %289 br label %293 293: ; preds = %.lr.ph, %355 %294 = load i32, ptr %11, align 4 %295 = icmp eq i32 %294, -1 br i1 %295, label %296, label %300 296: ; preds = %293 %297 = call i32 @perror(ptr noundef @.str.5) %298 = load i32, ptr @EXIT_FAILURE, align 4 %299 = call i32 @exit(i32 noundef %298) #3 unreachable 300: ; preds = %293 %301 = load i8, ptr %8, align 1 %302 = sext i8 %301 to i32 %303 = icmp eq i32 %302, 45 br i1 %303, label %304, label %354 304: ; preds = %300 %305 = load i32, ptr %2, align 4 %306 = call i32 (i32, ...) @read(i32 noundef %305, ptr noundef %12, i64 noundef 8) store i32 %306, ptr %11, align 4 %307 = load i32, ptr %11, align 4 %308 = icmp eq i32 %307, -1 br i1 %308, label %309, label %313 309: ; preds = %304 %310 = call i32 @perror(ptr noundef @.str) %311 = load i32, ptr @EXIT_FAILURE, align 4 %312 = call i32 @exit(i32 noundef %311) #3 unreachable 313: ; preds = %304 %314 = load i32, ptr %11, align 4 %315 = icmp eq i32 %314, 0 br i1 %315, label %316, label %319 316: ; preds = %313 %317 = load i32, ptr @EXIT_SUCCESS, align 4 %318 = call i32 @exit(i32 noundef %317) #3 unreachable 319: ; preds = %313 %320 = load i32, ptr %2, align 4 %321 = load ptr, ptr %5, align 8 %322 = load i64, ptr %12, align 8 %323 = call i32 (i32, ...) @read(i32 noundef %320, ptr noundef %321, i64 noundef %322) store i32 %323, ptr %11, align 4 %324 = load i32, ptr %11, align 4 %325 = icmp eq i32 %324, -1 br i1 %325, label %326, label %330 326: ; preds = %319 %327 = call i32 @perror(ptr noundef @.str.4) %328 = load i32, ptr @EXIT_FAILURE, align 4 %329 = call i32 @exit(i32 noundef %328) #3 unreachable 330: ; preds = %319 %331 = load i32, ptr %11, align 4 %332 = icmp eq i32 %331, 0 br i1 %332, label %333, label %336 333: ; preds = %330 %334 = load i32, ptr @EXIT_SUCCESS, align 4 %335 = call i32 @exit(i32 noundef %334) #3 unreachable 336: ; preds = %330 %337 = load ptr, ptr %5, align 8 %338 = load i32, ptr %11, align 4 %339 = sext i32 %338 to i64 %340 = getelementptr inbounds i8, ptr %337, i64 %339 store i8 0, ptr %340, align 1 %341 = load i32, ptr %3, align 4 %342 = load ptr, ptr %5, align 8 %343 = load i64, ptr %12, align 8 %344 = trunc i64 %343 to i32 %345 = call i32 @write(i32 noundef %341, ptr noundef %342, i32 noundef %344) %346 = sext i32 %345 to i64 %347 = load i64, ptr %12, align 8 %348 = icmp ult i64 %346, %347 br i1 %348, label %349, label %353 349: ; preds = %336 %350 = call i32 @perror(ptr noundef @.str.11) %351 = load i32, ptr @EXIT_FAILURE, align 4 %352 = call i32 @exit(i32 noundef %351) #3 unreachable 353: ; preds = %336 br label %355 354: ; preds = %300 br label %359 355: ; preds = %353 %356 = load i32, ptr %2, align 4 %357 = call i32 (i32, ...) @read(i32 noundef %356, ptr noundef %8, i64 noundef 1) store i32 %357, ptr %11, align 4 %358 = icmp ne i32 %357, 0 br i1 %358, label %293, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %355 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %289 br label %359 359: ; preds = %.loopexit1, %354 %360 = load ptr, ptr %5, align 8 %361 = call i32 @free(ptr noundef %360) %362 = load ptr, ptr %6, align 8 %363 = call i32 @free(ptr noundef %362) %364 = load i32, ptr %3, align 4 %365 = call i32 @close(i32 noundef %364) %366 = icmp eq i32 %365, -1 br i1 %366, label %367, label %371 367: ; preds = %359 %368 = call i32 @perror(ptr noundef @.str.12) %369 = load i32, ptr @EXIT_FAILURE, align 4 %370 = call i32 @exit(i32 noundef %369) #3 unreachable 371: ; preds = %359 br label %388 372: ; preds = %219 %373 = load i8, ptr %9, align 1 %374 = sext i8 %373 to i32 %375 = icmp eq i32 %374, 100 br i1 %375, label %376, label %381 376: ; preds = %372 br label %.backedge .backedge: ; preds = %376, %396 %377 = load i32, ptr %2, align 4 %378 = call i32 (i32, ...) @read(i32 noundef %377, ptr noundef %9, i64 noundef 1) store i32 %378, ptr %11, align 4 %379 = load i32, ptr %11, align 4 %380 = icmp eq i32 %379, -1 br i1 %380, label %._crit_edge, label %213 381: ; preds = %372 %382 = load i8, ptr %9, align 1 %383 = sext i8 %382 to i32 %384 = icmp eq i32 %383, 101 br i1 %384, label %385, label %386 385: ; preds = %381 br label %397 386: ; preds = %381 br label %387 387: ; preds = %386 br label %388 388: ; preds = %387, %371 %389 = load i32, ptr @STDOUT_FILENO, align 4 %390 = call i32 @write(i32 noundef %389, ptr noundef @.str.13, i32 noundef 28) %391 = icmp slt i32 %390, 28 br i1 %391, label %392, label %396 392: ; preds = %388 %393 = call i32 @perror(ptr noundef @.str.5) %394 = load i32, ptr @EXIT_FAILURE, align 4 %395 = call i32 @exit(i32 noundef %394) #3 unreachable 396: ; preds = %388 br label %.backedge 397: ; preds = %385 br label %407 398: ; preds = %200 %399 = load i32, ptr @STDOUT_FILENO, align 4 %400 = call i32 @write(i32 noundef %399, ptr noundef @.str.14, i32 noundef 45) %401 = icmp slt i32 %400, 45 br i1 %401, label %402, label %406 402: ; preds = %398 %403 = call i32 @perror(ptr noundef @.str.5) %404 = load i32, ptr @EXIT_SUCCESS, align 4 %405 = call i32 @exit(i32 noundef %404) #3 unreachable 406: ; preds = %398 br label %407 407: ; preds = %406, %397 br label %408 408: ; preds = %407, %199 br label %418 409: ; preds = %21 %410 = load i32, ptr @STDOUT_FILENO, align 4 %411 = call i32 @write(i32 noundef %410, ptr noundef @.str.15, i32 noundef 16) %412 = icmp slt i32 %411, 16 br i1 %412, label %413, label %417 413: ; preds = %409 %414 = call i32 @perror(ptr noundef @.str.5) %415 = load i32, ptr @EXIT_FAILURE, align 4 %416 = call i32 @exit(i32 noundef %415) #3 unreachable 417: ; preds = %409 br label %418 418: ; preds = %417, %408 ret void } declare i32 @read(i32 noundef, ...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}