llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpbce9t2x3.c' source_filename = "/tmp/tmpbce9t2x3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%13s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Element\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Value\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%7u%13d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig06_05() #0 { %1 = alloca [20 x i32], align 16 %2 = alloca i64, align 8 store i64 0, ptr %2, align 8 br label %3 3: ; preds = %13, %0 %4 = load i64, ptr %2, align 8 %5 = icmp ult i64 %4, 20 br i1 %5, label %6, label %16 6: ; preds = %3 %7 = load i64, ptr %2, align 8 %8 = mul i64 2, %7 %9 = add i64 2, %8 %10 = trunc i64 %9 to i32 %11 = load i64, ptr %2, align 8 %12 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 %11 store i32 %10, ptr %12, align 4 br label %13 13: ; preds = %6 %14 = load i64, ptr %2, align 8 %15 = add i64 %14, 1 store i64 %15, ptr %2, align 8 br label %3, !llvm.loop !6 16: ; preds = %3 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) store i64 0, ptr %2, align 8 br label %18 18: ; preds = %27, %16 %19 = load i64, ptr %2, align 8 %20 = icmp ult i64 %19, 20 br i1 %20, label %21, label %30 21: ; preds = %18 %22 = load i64, ptr %2, align 8 %23 = load i64, ptr %2, align 8 %24 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %22, i32 noundef %25) br label %27 27: ; preds = %21 %28 = load i64, ptr %2, align 8 %29 = add i64 %28, 1 store i64 %29, ptr %2, align 8 br label %18, !llvm.loop !8 30: ; preds = %18 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbce9t2x3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%13s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Element\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Value\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%7u%13d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig06_05() #0 { %1 = alloca [20 x i32], align 16 %2 = alloca i64, align 8 store i64 0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp ult i64 %3, 20 br i1 %4, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %12 %6 = load i64, ptr %2, align 8 %7 = mul i64 2, %6 %8 = add i64 2, %7 %9 = trunc i64 %8 to i32 %10 = load i64, ptr %2, align 8 %11 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 %10 store i32 %9, ptr %11, align 4 br label %12 12: ; preds = %5 %13 = load i64, ptr %2, align 8 %14 = add i64 %13, 1 store i64 %14, ptr %2, align 8 %15 = load i64, ptr %2, align 8 %16 = icmp ult i64 %15, 20 br i1 %16, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) store i64 0, ptr %2, align 8 %19 = load i64, ptr %2, align 8 %20 = icmp ult i64 %19, 20 br i1 %20, label %.lr.ph2, label %32 .lr.ph2: ; preds = %17 br label %21 21: ; preds = %.lr.ph2, %27 %22 = load i64, ptr %2, align 8 %23 = load i64, ptr %2, align 8 %24 = getelementptr inbounds [20 x i32], ptr %1, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %22, i32 noundef %25) br label %27 27: ; preds = %21 %28 = load i64, ptr %2, align 8 %29 = add i64 %28, 1 store i64 %29, ptr %2, align 8 %30 = load i64, ptr %2, align 8 %31 = icmp ult i64 %30, 20 br i1 %31, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %32 32: ; preds = %._crit_edge3, %17 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjlrgf38f.c' source_filename = "/tmp/tmpjlrgf38f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AEnter a temperature in degrees Fahrenheit: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"\0AThe equivelent Celsius temperature is %5.2f.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 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 float, ptr %2, align 4 %7 = fpext float %6 to double %8 = fsub double %7, 3.200000e+01 %9 = fmul double 0x3FE1C71C71C71C72, %8 %10 = fptrunc double %9 to float store float %10, ptr %3, align 4 %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %12) 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/tmpjlrgf38f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AEnter a temperature in degrees Fahrenheit: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"\0AThe equivelent Celsius temperature is %5.2f.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 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 float, ptr %2, align 4 %7 = fpext float %6 to double %8 = fsub double %7, 3.200000e+01 %9 = fmul double 0x3FE1C71C71C71C72, %8 %10 = fptrunc double %9 to float store float %10, ptr %3, align 4 %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %12) 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/tmp9hn_1rl_.c' source_filename = "/tmp/tmp9hn_1rl_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Shutdown() #0 { %1 = call i32 (...) @SyncDisk() ret i32 %1 } declare i32 @SyncDisk(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9hn_1rl_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Shutdown() #0 { %1 = call i32 (...) @SyncDisk() ret i32 %1 } declare i32 @SyncDisk(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3btq9bi4.c' source_filename = "/tmp/tmp3btq9bi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Your system does not support async I/O\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @async_release() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 173) #3 unreachable } 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/tmp3btq9bi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Your system does not support async I/O\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @async_release() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 173) #3 unreachable } 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/tmp_9jzh38j.c' source_filename = "/tmp/tmp_9jzh38j.c" target datalayout = "e-m:e-p270: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.sigevent = type { i32, i32 } %struct.itimerspec = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i32, i64 } %struct.TYPE_3__ = type { i32, i64 } %struct.timespec = type { i64, i32 } @.str = private unnamed_addr constant [40 x i8] c"_POSIX_REALTIME_SIGNALS is not defined\0A\00", align 1 @CLOCK_REALTIME = dso_local global i32 0, align 4 @SIGCONT = dso_local global i32 0, align 4 @SIGEV_SIGNAL = dso_local global i32 0, align 4 @SIG_SETMASK = dso_local global i32 0, align 4 @SIG_UNBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sigevent, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.itimerspec, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca %struct.timespec, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) ret i32 5 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_9jzh38j.c" target datalayout = "e-m:e-p270: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.sigevent = type { i32, i32 } %struct.itimerspec = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i32, i64 } %struct.TYPE_3__ = type { i32, i64 } %struct.timespec = type { i64, i32 } @.str = private unnamed_addr constant [40 x i8] c"_POSIX_REALTIME_SIGNALS is not defined\0A\00", align 1 @CLOCK_REALTIME = dso_local global i32 0, align 4 @SIGCONT = dso_local global i32 0, align 4 @SIGEV_SIGNAL = dso_local global i32 0, align 4 @SIG_SETMASK = dso_local global i32 0, align 4 @SIG_UNBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sigevent, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.itimerspec, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca %struct.timespec, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) ret i32 5 } 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/tmpqu1c2w85.c' source_filename = "/tmp/tmpqu1c2w85.c" target datalayout = "e-m:e-p270: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/tmpqu1c2w85.c" target datalayout = "e-m:e-p270: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/tmpa5nfpaoq.c' source_filename = "/tmp/tmpa5nfpaoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"The result of subtraction is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = sub nsw i32 %5, %6 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa5nfpaoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"The result of subtraction is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = sub nsw i32 %5, %6 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpak_hfx64.c' source_filename = "/tmp/tmpak_hfx64.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Error: can't parse: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_pair(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %3 store i32 0, ptr %4, align 4 br label %59 18: ; preds = %3 %19 = load i32, ptr %8, align 4 %20 = add nsw i32 %19, 10 %21 = zext i32 %20 to i64 %22 = call ptr @llvm.stacksave() store ptr %22, ptr %9, align 8 %23 = alloca i8, i64 %21, align 16 store i64 %21, ptr %10, align 8 %24 = load ptr, ptr %5, align 8 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = load i32, ptr %8, align 4 %27 = sub nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %23, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 10 br i1 %32, label %33, label %38 33: ; preds = %18 %34 = load i32, ptr %8, align 4 %35 = sub nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %23, i64 %36 store i8 0, ptr %37, align 1 br label %38 38: ; preds = %33, %18 %39 = call ptr @strchr(ptr noundef %23, i8 noundef signext 61) store ptr %39, ptr %11, align 8 %40 = load ptr, ptr %11, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load ptr, ptr %11, align 8 %44 = icmp eq ptr %43, %23 br i1 %44, label %45, label %48 45: ; preds = %42, %38 %46 = load i32, ptr @LOG_ERR, align 4 %47 = call i32 @syslog(i32 noundef %46, ptr noundef @.str, ptr noundef %23) store i32 0, ptr %4, align 4 store i32 1, ptr %12, align 4 br label %57 48: ; preds = %42 %49 = load ptr, ptr %11, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 0 store i8 0, ptr %50, align 1 %51 = load ptr, ptr %6, align 8 %52 = call i32 @strcpy(ptr noundef %51, ptr noundef %23) %53 = load ptr, ptr %7, align 8 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 1 %56 = call i32 @strcpy(ptr noundef %53, ptr noundef %55) store i32 1, ptr %4, align 4 store i32 1, ptr %12, align 4 br label %57 57: ; preds = %48, %45 %58 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %58) br label %59 59: ; preds = %57, %17 %60 = load i32, ptr %4, align 4 ret i32 %60 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpak_hfx64.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Error: can't parse: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_pair(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %3 store i32 0, ptr %4, align 4 br label %59 18: ; preds = %3 %19 = load i32, ptr %8, align 4 %20 = add nsw i32 %19, 10 %21 = zext i32 %20 to i64 %22 = call ptr @llvm.stacksave() store ptr %22, ptr %9, align 8 %23 = alloca i8, i64 %21, align 16 store i64 %21, ptr %10, align 8 %24 = load ptr, ptr %5, align 8 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = load i32, ptr %8, align 4 %27 = sub nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %23, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 10 br i1 %32, label %33, label %38 33: ; preds = %18 %34 = load i32, ptr %8, align 4 %35 = sub nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %23, i64 %36 store i8 0, ptr %37, align 1 br label %38 38: ; preds = %33, %18 %39 = call ptr @strchr(ptr noundef %23, i8 noundef signext 61) store ptr %39, ptr %11, align 8 %40 = load ptr, ptr %11, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load ptr, ptr %11, align 8 %44 = icmp eq ptr %43, %23 br i1 %44, label %45, label %48 45: ; preds = %42, %38 %46 = load i32, ptr @LOG_ERR, align 4 %47 = call i32 @syslog(i32 noundef %46, ptr noundef @.str, ptr noundef %23) store i32 0, ptr %4, align 4 store i32 1, ptr %12, align 4 br label %57 48: ; preds = %42 %49 = load ptr, ptr %11, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 0 store i8 0, ptr %50, align 1 %51 = load ptr, ptr %6, align 8 %52 = call i32 @strcpy(ptr noundef %51, ptr noundef %23) %53 = load ptr, ptr %7, align 8 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 1 %56 = call i32 @strcpy(ptr noundef %53, ptr noundef %55) store i32 1, ptr %4, align 4 store i32 1, ptr %12, align 4 br label %57 57: ; preds = %48, %45 %58 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %58) br label %59 59: ; preds = %57, %17 %60 = load i32, ptr %4, align 4 ret i32 %60 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzij8z8ko.c' source_filename = "/tmp/tmpzij8z8ko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocmem(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = call ptr @calloc(i32 noundef %5, i32 noundef 1) store ptr %6, ptr %3, align 8 ret ptr %6 } declare ptr @calloc(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/tmpzij8z8ko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocmem(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = call ptr @calloc(i32 noundef %5, i32 noundef 1) store ptr %6, ptr %3, align 8 ret ptr %6 } declare ptr @calloc(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/tmp8zhqgfpe.c' source_filename = "/tmp/tmp8zhqgfpe.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8zhqgfpe.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9tfhw_zt.c' source_filename = "/tmp/tmp9tfhw_zt.c" target datalayout = "e-m:e-p270: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/tmp9tfhw_zt.c" target datalayout = "e-m:e-p270: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/tmpm1zyf4lw.c' source_filename = "/tmp/tmpm1zyf4lw.c" target datalayout = "e-m:e-p270: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/tmpm1zyf4lw.c" target datalayout = "e-m:e-p270: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/tmp8s8ieq50.c' source_filename = "/tmp/tmp8s8ieq50.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"[x] Error: string too long!\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ReplaceSubStr(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 = call i64 @Calloc(i32 noundef 2048, i32 noundef 1) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = icmp sgt i32 %13, 2048 br i1 %14, label %15, label %19 15: ; preds = %3 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %3 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call ptr @strstr(ptr noundef %20, ptr noundef %21) store ptr %22, ptr %9, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %26, label %24 24: ; preds = %19 %25 = load ptr, ptr %5, align 8 store ptr %25, ptr %4, align 8 br label %58 26: ; preds = %19 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %9, align 8 %30 = load ptr, ptr %5, align 8 %31 = ptrtoint ptr %29 to i64 %32 = ptrtoint ptr %30 to i64 %33 = sub i64 %31, %32 %34 = trunc i64 %33 to i32 %35 = call i32 @strncpy(ptr noundef %27, ptr noundef %28, i32 noundef %34) %36 = load ptr, ptr %8, align 8 %37 = load ptr, ptr %9, align 8 %38 = load ptr, ptr %5, align 8 %39 = ptrtoint ptr %37 to i64 %40 = ptrtoint ptr %38 to i64 %41 = sub i64 %39, %40 %42 = getelementptr inbounds i8, ptr %36, i64 %41 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %8, align 8 %44 = load ptr, ptr %9, align 8 %45 = load ptr, ptr %5, align 8 %46 = ptrtoint ptr %44 to i64 %47 = ptrtoint ptr %45 to i64 %48 = sub i64 %46, %47 %49 = getelementptr inbounds i8, ptr %43, i64 %48 %50 = load ptr, ptr %7, align 8 %51 = load ptr, ptr %9, align 8 %52 = load ptr, ptr %6, align 8 %53 = call i32 @strlen(ptr noundef %52) %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %51, i64 %54 %56 = call i32 @sprintf(ptr noundef %49, ptr noundef @.str.1, ptr noundef %50, ptr noundef %55) %57 = load ptr, ptr %8, align 8 store ptr %57, ptr %4, align 8 br label %58 58: ; preds = %26, %24 %59 = load ptr, ptr %4, align 8 ret ptr %59 } declare i64 @Calloc(i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp8s8ieq50.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"[x] Error: string too long!\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ReplaceSubStr(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 = call i64 @Calloc(i32 noundef 2048, i32 noundef 1) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = icmp sgt i32 %13, 2048 br i1 %14, label %15, label %19 15: ; preds = %3 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %3 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call ptr @strstr(ptr noundef %20, ptr noundef %21) store ptr %22, ptr %9, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %26, label %24 24: ; preds = %19 %25 = load ptr, ptr %5, align 8 store ptr %25, ptr %4, align 8 br label %58 26: ; preds = %19 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %9, align 8 %30 = load ptr, ptr %5, align 8 %31 = ptrtoint ptr %29 to i64 %32 = ptrtoint ptr %30 to i64 %33 = sub i64 %31, %32 %34 = trunc i64 %33 to i32 %35 = call i32 @strncpy(ptr noundef %27, ptr noundef %28, i32 noundef %34) %36 = load ptr, ptr %8, align 8 %37 = load ptr, ptr %9, align 8 %38 = load ptr, ptr %5, align 8 %39 = ptrtoint ptr %37 to i64 %40 = ptrtoint ptr %38 to i64 %41 = sub i64 %39, %40 %42 = getelementptr inbounds i8, ptr %36, i64 %41 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %8, align 8 %44 = load ptr, ptr %9, align 8 %45 = load ptr, ptr %5, align 8 %46 = ptrtoint ptr %44 to i64 %47 = ptrtoint ptr %45 to i64 %48 = sub i64 %46, %47 %49 = getelementptr inbounds i8, ptr %43, i64 %48 %50 = load ptr, ptr %7, align 8 %51 = load ptr, ptr %9, align 8 %52 = load ptr, ptr %6, align 8 %53 = call i32 @strlen(ptr noundef %52) %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %51, i64 %54 %56 = call i32 @sprintf(ptr noundef %49, ptr noundef @.str.1, ptr noundef %50, ptr noundef %55) %57 = load ptr, ptr %8, align 8 store ptr %57, ptr %4, align 8 br label %58 58: ; preds = %26, %24 %59 = load ptr, ptr %4, align 8 ret ptr %59 } declare i64 @Calloc(i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp4ou1rc5c.c' source_filename = "/tmp/tmp4ou1rc5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @orc_uimatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store ptr %6, ptr %14, align 8 %21 = load i64, ptr %9, align 8 store i64 %21, ptr %15, align 8 br label %22 22: ; preds = %56, %7 %23 = load i64, ptr %15, align 8 %24 = load i64, ptr %10, align 8 %25 = icmp sle i64 %23, %24 br i1 %25, label %26, label %59 26: ; preds = %22 %27 = load ptr, ptr %8, align 8 %28 = load i64, ptr %15, align 8 %29 = getelementptr inbounds ptr, ptr %27, i64 %28 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %19, align 8 %31 = load ptr, ptr %14, align 8 %32 = load i64, ptr %15, align 8 %33 = getelementptr inbounds ptr, ptr %31, i64 %32 %34 = load ptr, ptr %33, align 8 store ptr %34, ptr %20, align 8 %35 = load i64, ptr %11, align 8 store i64 %35, ptr %16, align 8 br label %36 36: ; preds = %52, %26 %37 = load i64, ptr %16, align 8 %38 = load i64, ptr %12, align 8 %39 = icmp sle i64 %37, %38 br i1 %39, label %40, label %55 40: ; preds = %36 %41 = load ptr, ptr %19, align 8 %42 = load i64, ptr %16, align 8 %43 = getelementptr inbounds i32, ptr %41, i64 %42 %44 = load i32, ptr %43, align 4 store i32 %44, ptr %17, align 4 %45 = load i32, ptr %17, align 4 %46 = load i32, ptr %13, align 4 %47 = or i32 %45, %46 store i32 %47, ptr %18, align 4 %48 = load i32, ptr %18, align 4 %49 = load ptr, ptr %20, align 8 %50 = load i64, ptr %16, align 8 %51 = getelementptr inbounds i32, ptr %49, i64 %50 store i32 %48, ptr %51, align 4 br label %52 52: ; preds = %40 %53 = load i64, ptr %16, align 8 %54 = add nsw i64 %53, 1 store i64 %54, ptr %16, align 8 br label %36, !llvm.loop !6 55: ; preds = %36 br label %56 56: ; preds = %55 %57 = load i64, ptr %15, align 8 %58 = add nsw i64 %57, 1 store i64 %58, ptr %15, align 8 br label %22, !llvm.loop !8 59: ; preds = %22 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4ou1rc5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @orc_uimatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store i64 %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store ptr %6, ptr %14, align 8 %21 = load i64, ptr %9, align 8 store i64 %21, ptr %15, align 8 %22 = load i64, ptr %15, align 8 %23 = load i64, ptr %10, align 8 %24 = icmp sle i64 %22, %23 br i1 %24, label %.lr.ph2, label %63 .lr.ph2: ; preds = %7 br label %25 25: ; preds = %.lr.ph2, %57 %26 = load ptr, ptr %8, align 8 %27 = load i64, ptr %15, align 8 %28 = getelementptr inbounds ptr, ptr %26, i64 %27 %29 = load ptr, ptr %28, align 8 store ptr %29, ptr %19, align 8 %30 = load ptr, ptr %14, align 8 %31 = load i64, ptr %15, align 8 %32 = getelementptr inbounds ptr, ptr %30, i64 %31 %33 = load ptr, ptr %32, align 8 store ptr %33, ptr %20, align 8 %34 = load i64, ptr %11, align 8 store i64 %34, ptr %16, align 8 %35 = load i64, ptr %16, align 8 %36 = load i64, ptr %12, align 8 %37 = icmp sle i64 %35, %36 br i1 %37, label %.lr.ph, label %56 .lr.ph: ; preds = %25 br label %38 38: ; preds = %.lr.ph, %50 %39 = load ptr, ptr %19, align 8 %40 = load i64, ptr %16, align 8 %41 = getelementptr inbounds i32, ptr %39, i64 %40 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %17, align 4 %43 = load i32, ptr %17, align 4 %44 = load i32, ptr %13, align 4 %45 = or i32 %43, %44 store i32 %45, ptr %18, align 4 %46 = load i32, ptr %18, align 4 %47 = load ptr, ptr %20, align 8 %48 = load i64, ptr %16, align 8 %49 = getelementptr inbounds i32, ptr %47, i64 %48 store i32 %46, ptr %49, align 4 br label %50 50: ; preds = %38 %51 = load i64, ptr %16, align 8 %52 = add nsw i64 %51, 1 store i64 %52, ptr %16, align 8 %53 = load i64, ptr %16, align 8 %54 = load i64, ptr %12, align 8 %55 = icmp sle i64 %53, %54 br i1 %55, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %56 56: ; preds = %._crit_edge, %25 br label %57 57: ; preds = %56 %58 = load i64, ptr %15, align 8 %59 = add nsw i64 %58, 1 store i64 %59, ptr %15, align 8 %60 = load i64, ptr %15, align 8 %61 = load i64, ptr %10, align 8 %62 = icmp sle i64 %60, %61 br i1 %62, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %63 63: ; preds = %._crit_edge3, %7 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6imemfqg.c' source_filename = "/tmp/tmp6imemfqg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"eog %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @AfficherImage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [40 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5) %7 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @system(ptr noundef %7) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6imemfqg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"eog %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @AfficherImage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [40 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, ptr noundef %5) %7 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @system(ptr noundef %7) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_7bcxg0f.c' source_filename = "/tmp/tmp_7bcxg0f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ncurses_display_hal_init() #0 { %1 = call i32 (...) @initscr() %2 = call i32 (...) @erase() %3 = call i32 (...) @ncurses_display_refresh() ret void } declare i32 @initscr(...) #1 declare i32 @erase(...) #1 declare i32 @ncurses_display_refresh(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_7bcxg0f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ncurses_display_hal_init() #0 { %1 = call i32 (...) @initscr() %2 = call i32 (...) @erase() %3 = call i32 (...) @ncurses_display_refresh() ret void } declare i32 @initscr(...) #1 declare i32 @erase(...) #1 declare i32 @ncurses_display_refresh(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaw_ul81o.c' source_filename = "/tmp/tmpaw_ul81o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %9, align 8 br label %13 13: ; preds = %31, %3 %14 = load i64, ptr %7, align 8 %15 = add i64 %14, -1 store i64 %15, ptr %7, align 8 %16 = icmp ne i64 %14, 0 br i1 %16, label %17, label %32 17: ; preds = %13 %18 = load ptr, ptr %8, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %8, align 8 %20 = load i8, ptr %18, align 1 %21 = sext i8 %20 to i32 %22 = load ptr, ptr %9, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %9, align 8 %24 = load i8, ptr %22, align 1 %25 = sext i8 %24 to i32 %26 = sub nsw i32 %21, %25 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %17 %30 = load i32, ptr %10, align 4 store i32 %30, ptr %4, align 4 br label %33 31: ; preds = %17 br label %13, !llvm.loop !6 32: ; preds = %13 store i32 0, ptr %4, align 4 br label %33 33: ; preds = %32, %29 %34 = load i32, ptr %4, align 4 ret i32 %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpaw_ul81o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %9, align 8 %13 = load i64, ptr %7, align 8 %14 = add i64 %13, -1 store i64 %14, ptr %7, align 8 %15 = icmp ne i64 %13, 0 br i1 %15, label %.lr.ph, label %34 .lr.ph: ; preds = %3 br label %20 16: ; preds = %20 %17 = load i64, ptr %7, align 8 %18 = add i64 %17, -1 store i64 %18, ptr %7, align 8 %19 = icmp ne i64 %17, 0 br i1 %19, label %20, label %._crit_edge, !llvm.loop !6 20: ; preds = %.lr.ph, %16 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %8, align 8 %23 = load i8, ptr %21, align 1 %24 = sext i8 %23 to i32 %25 = load ptr, ptr %9, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %9, align 8 %27 = load i8, ptr %25, align 1 %28 = sext i8 %27 to i32 %29 = sub nsw i32 %24, %28 store i32 %29, ptr %10, align 4 %30 = load i32, ptr %10, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %16 32: ; preds = %20 %33 = load i32, ptr %10, align 4 store i32 %33, ptr %4, align 4 br label %35 ._crit_edge: ; preds = %16 br label %34 34: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %35 35: ; preds = %34, %32 %36 = load i32, ptr %4, align 4 ret i32 %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmprsmz52a5.c' source_filename = "/tmp/tmprsmz52a5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"invalid dictionary syntax for %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uwsgi_opt_add_dyn_dict(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 61) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %17, label %13 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call i32 @uwsgi_log(ptr noundef @.str, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %3 %18 = load ptr, ptr %6, align 8 store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %7, align 8 %22 = load ptr, ptr %5, align 8 %23 = ptrtoint ptr %21 to i64 %24 = ptrtoint ptr %22 to i64 %25 = sub i64 %23, %24 %26 = trunc i64 %25 to i32 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = call i32 @strlen(ptr noundef %30) %32 = call i32 @uwsgi_dyn_dict_new(ptr noundef %19, ptr noundef %20, i32 noundef %26, ptr noundef %28, i32 noundef %31) ret void } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @uwsgi_log(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @uwsgi_dyn_dict_new(ptr noundef, ptr noundef, 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" } 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/tmprsmz52a5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"invalid dictionary syntax for %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uwsgi_opt_add_dyn_dict(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 61) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %17, label %13 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call i32 @uwsgi_log(ptr noundef @.str, ptr noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %3 %18 = load ptr, ptr %6, align 8 store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %7, align 8 %22 = load ptr, ptr %5, align 8 %23 = ptrtoint ptr %21 to i64 %24 = ptrtoint ptr %22 to i64 %25 = sub i64 %23, %24 %26 = trunc i64 %25 to i32 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = call i32 @strlen(ptr noundef %30) %32 = call i32 @uwsgi_dyn_dict_new(ptr noundef %19, ptr noundef %20, i32 noundef %26, ptr noundef %28, i32 noundef %31) ret void } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @uwsgi_log(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @uwsgi_dyn_dict_new(ptr noundef, ptr noundef, 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" } 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/tmp42odbtn3.c' source_filename = "/tmp/tmp42odbtn3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09MDC - SHA1(20 bytes)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Modification_Detection_Code_Packet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = load i32, ptr %2, align 4 %5 = call i32 @skip(i32 noundef %4) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @skip(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/tmp42odbtn3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09MDC - SHA1(20 bytes)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Modification_Detection_Code_Packet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = load i32, ptr %2, align 4 %5 = call i32 @skip(i32 noundef %4) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @skip(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/tmpzcvs3y8x.c' source_filename = "/tmp/tmpzcvs3y8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%10d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [101 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [6 x i32], align 16 %6 = alloca [6 x i32], align 16 %7 = alloca [8 x i32], align 16 %8 = alloca [8 x i32], align 16 %9 = alloca [8 x i32], align 16 %10 = alloca [6 x i32], align 16 %11 = alloca [8 x i32], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %3, align 4 store i32 1, ptr %4, align 4 %20 = call i32 (ptr, ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %12, ptr noundef %13) store i32 1, ptr %14, align 4 br label %21 21: ; preds = %29, %0 %22 = load i32, ptr %14, align 4 %23 = load i32, ptr %12, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %25, label %32 25: ; preds = %21 %26 = load i32, ptr %14, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %27 store i32 999999, ptr %28, align 4 br label %29 29: ; preds = %25 %30 = load i32, ptr %14, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %14, align 4 br label %21, !llvm.loop !6 32: ; preds = %21 %33 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 1 store i32 0, ptr %33, align 4 store i32 1, ptr %15, align 4 br label %34 34: ; preds = %42, %32 %35 = load i32, ptr %15, align 4 %36 = load i32, ptr %12, align 4 %37 = icmp sle i32 %35, %36 br i1 %37, label %38, label %45 38: ; preds = %34 %39 = load i32, ptr %15, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 %40 store i32 0, ptr %41, align 4 br label %42 42: ; preds = %38 %43 = load i32, ptr %15, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %15, align 4 br label %34, !llvm.loop !8 45: ; preds = %34 store i32 1, ptr %16, align 4 br label %46 46: ; preds = %54, %45 %47 = load i32, ptr %16, align 4 %48 = load i32, ptr %12, align 4 %49 = icmp sle i32 %47, %48 br i1 %49, label %50, label %57 50: ; preds = %46 %51 = load i32, ptr %16, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 %52 store i32 -1, ptr %53, align 4 br label %54 54: ; preds = %50 %55 = load i32, ptr %16, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %16, align 4 br label %46, !llvm.loop !9 57: ; preds = %46 store i32 1, ptr %17, align 4 br label %58 58: ; preds = %90, %57 %59 = load i32, ptr %17, align 4 %60 = load i32, ptr %13, align 4 %61 = icmp sle i32 %59, %60 br i1 %61, label %62, label %93 62: ; preds = %58 %63 = load i32, ptr %17, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %64 %66 = load i32, ptr %17, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %67 %69 = load i32, ptr %17, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %70 %72 = call i32 (ptr, ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %65, ptr noundef %68, ptr noundef %71) %73 = load i32, ptr %17, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %74 %76 = load i32, ptr %75, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 %77 %79 = load i32, ptr %78, align 4 %80 = load i32, ptr %17, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [8 x i32], ptr %11, i64 0, i64 %81 store i32 %79, ptr %82, align 4 %83 = load i32, ptr %17, align 4 %84 = load i32, ptr %17, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %85 %87 = load i32, ptr %86, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 %88 store i32 %83, ptr %89, align 4 br label %90 90: ; preds = %62 %91 = load i32, ptr %17, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %17, align 4 br label %58, !llvm.loop !10 93: ; preds = %58 %94 = load i32, ptr %4, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [101 x i32], ptr %2, i64 0, i64 %95 store i32 1, ptr %96, align 4 %97 = load i32, ptr %4, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %4, align 4 %99 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 1 store i32 1, ptr %99, align 4 br label %100 100: ; preds = %185, %93 %101 = load i32, ptr %3, align 4 %102 = load i32, ptr %4, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %104, label %194 104: ; preds = %100 %105 = load i32, ptr %3, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [101 x i32], ptr %2, i64 0, i64 %106 %108 = load i32, ptr %107, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 %109 %111 = load i32, ptr %110, align 4 store i32 %111, ptr %18, align 4 br label %112 112: ; preds = %180, %104 %113 = load i32, ptr %18, align 4 %114 = icmp ne i32 %113, -1 br i1 %114, label %115, label %185 115: ; preds = %112 %116 = load i32, ptr %18, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %117 %119 = load i32, ptr %118, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %120 %122 = load i32, ptr %121, align 4 %123 = load i32, ptr %18, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %124 %126 = load i32, ptr %125, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %127 %129 = load i32, ptr %128, align 4 %130 = load i32, ptr %18, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %131 %133 = load i32, ptr %132, align 4 %134 = add nsw i32 %129, %133 %135 = icmp sgt i32 %122, %134 br i1 %135, label %136, label %180 136: ; preds = %115 %137 = load i32, ptr %18, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %138 %140 = load i32, ptr %139, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %141 %143 = load i32, ptr %142, align 4 %144 = load i32, ptr %18, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %145 %147 = load i32, ptr %146, align 4 %148 = add nsw i32 %143, %147 %149 = load i32, ptr %18, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %150 %152 = load i32, ptr %151, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %153 store i32 %148, ptr %154, align 4 %155 = load i32, ptr %18, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %156 %158 = load i32, ptr %157, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 %159 %161 = load i32, ptr %160, align 4 %162 = icmp eq i32 %161, 0 br i1 %162, label %163, label %179 163: ; preds = %136 %164 = load i32, ptr %18, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %165 %167 = load i32, ptr %166, align 4 %168 = load i32, ptr %4, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds [101 x i32], ptr %2, i64 0, i64 %169 store i32 %167, ptr %170, align 4 %171 = load i32, ptr %4, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %4, align 4 %173 = load i32, ptr %18, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %174 %176 = load i32, ptr %175, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 %177 store i32 1, ptr %178, align 4 br label %179 179: ; preds = %163, %136 br label %180 180: ; preds = %179, %115 %181 = load i32, ptr %18, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [8 x i32], ptr %11, i64 0, i64 %182 %184 = load i32, ptr %183, align 4 store i32 %184, ptr %18, align 4 br label %112, !llvm.loop !11 185: ; preds = %112 %186 = load i32, ptr %3, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [101 x i32], ptr %2, i64 0, i64 %187 %189 = load i32, ptr %188, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 %190 store i32 0, ptr %191, align 4 %192 = load i32, ptr %3, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %3, align 4 br label %100, !llvm.loop !12 194: ; preds = %100 store i32 1, ptr %19, align 4 br label %195 195: ; preds = %205, %194 %196 = load i32, ptr %19, align 4 %197 = load i32, ptr %12, align 4 %198 = icmp sle i32 %196, %197 br i1 %198, label %199, label %208 199: ; preds = %195 %200 = load i32, ptr %19, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %201 %203 = load i32, ptr %202, align 4 %204 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %203) br label %205 205: ; preds = %199 %206 = load i32, ptr %19, align 4 %207 = add nsw i32 %206, 1 store i32 %207, ptr %19, align 4 br label %195, !llvm.loop !13 208: ; preds = %195 %209 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr 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} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzcvs3y8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%10d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [101 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [6 x i32], align 16 %6 = alloca [6 x i32], align 16 %7 = alloca [8 x i32], align 16 %8 = alloca [8 x i32], align 16 %9 = alloca [8 x i32], align 16 %10 = alloca [6 x i32], align 16 %11 = alloca [8 x i32], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %3, align 4 store i32 1, ptr %4, align 4 %20 = call i32 (ptr, ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %12, ptr noundef %13) store i32 1, ptr %14, align 4 %21 = load i32, ptr %14, align 4 %22 = load i32, ptr %12, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %24 24: ; preds = %.lr.ph, %28 %25 = load i32, ptr %14, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %26 store i32 999999, ptr %27, align 4 br label %28 28: ; preds = %24 %29 = load i32, ptr %14, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %14, align 4 %31 = load i32, ptr %14, align 4 %32 = load i32, ptr %12, align 4 %33 = icmp sle i32 %31, %32 br i1 %33, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %0 %35 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 1 store i32 0, ptr %35, align 4 store i32 1, ptr %15, align 4 %36 = load i32, ptr %15, align 4 %37 = load i32, ptr %12, align 4 %38 = icmp sle i32 %36, %37 br i1 %38, label %.lr.ph2, label %49 .lr.ph2: ; preds = %34 br label %39 39: ; preds = %.lr.ph2, %43 %40 = load i32, ptr %15, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 %41 store i32 0, ptr %42, align 4 br label %43 43: ; preds = %39 %44 = load i32, ptr %15, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %15, align 4 %46 = load i32, ptr %15, align 4 %47 = load i32, ptr %12, align 4 %48 = icmp sle i32 %46, %47 br i1 %48, label %39, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %49 49: ; preds = %._crit_edge3, %34 store i32 1, ptr %16, align 4 %50 = load i32, ptr %16, align 4 %51 = load i32, ptr %12, align 4 %52 = icmp sle i32 %50, %51 br i1 %52, label %.lr.ph5, label %63 .lr.ph5: ; preds = %49 br label %53 53: ; preds = %.lr.ph5, %57 %54 = load i32, ptr %16, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 %55 store i32 -1, ptr %56, align 4 br label %57 57: ; preds = %53 %58 = load i32, ptr %16, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %16, align 4 %60 = load i32, ptr %16, align 4 %61 = load i32, ptr %12, align 4 %62 = icmp sle i32 %60, %61 br i1 %62, label %53, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %57 br label %63 63: ; preds = %._crit_edge6, %49 store i32 1, ptr %17, align 4 %64 = load i32, ptr %17, align 4 %65 = load i32, ptr %13, align 4 %66 = icmp sle i32 %64, %65 br i1 %66, label %.lr.ph8, label %101 .lr.ph8: ; preds = %63 br label %67 67: ; preds = %.lr.ph8, %95 %68 = load i32, ptr %17, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %69 %71 = load i32, ptr %17, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %72 %74 = load i32, ptr %17, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %75 %77 = call i32 (ptr, ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %70, ptr noundef %73, ptr noundef %76) %78 = load i32, ptr %17, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = load i32, ptr %17, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [8 x i32], ptr %11, i64 0, i64 %86 store i32 %84, ptr %87, align 4 %88 = load i32, ptr %17, align 4 %89 = load i32, ptr %17, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %90 %92 = load i32, ptr %91, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 %93 store i32 %88, ptr %94, align 4 br label %95 95: ; preds = %67 %96 = load i32, ptr %17, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %17, align 4 %98 = load i32, ptr %17, align 4 %99 = load i32, ptr %13, align 4 %100 = icmp sle i32 %98, %99 br i1 %100, label %67, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %95 br label %101 101: ; preds = %._crit_edge9, %63 %102 = load i32, ptr %4, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [101 x i32], ptr %2, i64 0, i64 %103 store i32 1, ptr %104, align 4 %105 = load i32, ptr %4, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %4, align 4 %107 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 1 store i32 1, ptr %107, align 4 %108 = load i32, ptr %3, align 4 %109 = load i32, ptr %4, align 4 %110 = icmp slt i32 %108, %109 br i1 %110, label %.lr.ph14, label %205 .lr.ph14: ; preds = %101 br label %111 111: ; preds = %.lr.ph14, %193 %112 = load i32, ptr %3, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [101 x i32], ptr %2, i64 0, i64 %113 %115 = load i32, ptr %114, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [6 x i32], ptr %10, i64 0, i64 %116 %118 = load i32, ptr %117, align 4 store i32 %118, ptr %18, align 4 %119 = load i32, ptr %18, align 4 %120 = icmp ne i32 %119, -1 br i1 %120, label %.lr.ph11, label %193 .lr.ph11: ; preds = %111 br label %121 121: ; preds = %.lr.ph11, %186 %122 = load i32, ptr %18, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %123 %125 = load i32, ptr %124, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %126 %128 = load i32, ptr %127, align 4 %129 = load i32, ptr %18, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %130 %132 = load i32, ptr %131, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %133 %135 = load i32, ptr %134, align 4 %136 = load i32, ptr %18, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %137 %139 = load i32, ptr %138, align 4 %140 = add nsw i32 %135, %139 %141 = icmp sgt i32 %128, %140 br i1 %141, label %142, label %186 142: ; preds = %121 %143 = load i32, ptr %18, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %144 %146 = load i32, ptr %145, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %147 %149 = load i32, ptr %148, align 4 %150 = load i32, ptr %18, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds [8 x i32], ptr %9, i64 0, i64 %151 %153 = load i32, ptr %152, align 4 %154 = add nsw i32 %149, %153 %155 = load i32, ptr %18, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %156 %158 = load i32, ptr %157, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %159 store i32 %154, ptr %160, align 4 %161 = load i32, ptr %18, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %162 %164 = load i32, ptr %163, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 %165 %167 = load i32, ptr %166, align 4 %168 = icmp eq i32 %167, 0 br i1 %168, label %169, label %185 169: ; preds = %142 %170 = load i32, ptr %18, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %171 %173 = load i32, ptr %172, align 4 %174 = load i32, ptr %4, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [101 x i32], ptr %2, i64 0, i64 %175 store i32 %173, ptr %176, align 4 %177 = load i32, ptr %4, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %4, align 4 %179 = load i32, ptr %18, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %180 %182 = load i32, ptr %181, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 %183 store i32 1, ptr %184, align 4 br label %185 185: ; preds = %169, %142 br label %186 186: ; preds = %185, %121 %187 = load i32, ptr %18, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [8 x i32], ptr %11, i64 0, i64 %188 %190 = load i32, ptr %189, align 4 store i32 %190, ptr %18, align 4 %191 = load i32, ptr %18, align 4 %192 = icmp ne i32 %191, -1 br i1 %192, label %121, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %186 br label %193 193: ; preds = %._crit_edge12, %111 %194 = load i32, ptr %3, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds [101 x i32], ptr %2, i64 0, i64 %195 %197 = load i32, ptr %196, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds [6 x i32], ptr %6, i64 0, i64 %198 store i32 0, ptr %199, align 4 %200 = load i32, ptr %3, align 4 %201 = add nsw i32 %200, 1 store i32 %201, ptr %3, align 4 %202 = load i32, ptr %3, align 4 %203 = load i32, ptr %4, align 4 %204 = icmp slt i32 %202, %203 br i1 %204, label %111, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %193 br label %205 205: ; preds = %._crit_edge15, %101 store i32 1, ptr %19, align 4 %206 = load i32, ptr %19, align 4 %207 = load i32, ptr %12, align 4 %208 = icmp sle i32 %206, %207 br i1 %208, label %.lr.ph17, label %221 .lr.ph17: ; preds = %205 br label %209 209: ; preds = %.lr.ph17, %215 %210 = load i32, ptr %19, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %211 %213 = load i32, ptr %212, align 4 %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %213) br label %215 215: ; preds = %209 %216 = load i32, ptr %19, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %19, align 4 %218 = load i32, ptr %19, align 4 %219 = load i32, ptr %12, align 4 %220 = icmp sle i32 %218, %219 br i1 %220, label %209, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %215 br label %221 221: ; preds = %._crit_edge18, %205 %222 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr 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} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmpxzlwz2fp.c' source_filename = "/tmp/tmpxzlwz2fp.c" target datalayout = "e-m:e-p270: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/tmpxzlwz2fp.c" target datalayout = "e-m:e-p270: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/tmp8oork203.c' source_filename = "/tmp/tmp8oork203.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @popcnt5(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %10, %1 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %15 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %3, align 4 br label %10 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 %11, 1 %13 = load i32, ptr %2, align 4 %14 = and i32 %13, %12 store i32 %14, ptr %2, align 4 br label %4, !llvm.loop !6 15: ; preds = %4 %16 = load i32, ptr %3, align 4 ret i32 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8oork203.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @popcnt5(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %9 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %3, align 4 br label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = sub nsw i32 %10, 1 %12 = load i32, ptr %2, align 4 %13 = and i32 %12, %11 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %16 16: ; preds = %._crit_edge, %1 %17 = load i32, ptr %3, align 4 ret i32 %17 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp5k1ospkk.c' source_filename = "/tmp/tmp5k1ospkk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ffi_reinterpret_uint16_t(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = ptrtoint ptr %3 to i32 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5k1ospkk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ffi_reinterpret_uint16_t(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = ptrtoint ptr %3 to i32 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd_6t2g5v.c' source_filename = "/tmp/tmpd_6t2g5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd_6t2g5v.c" target datalayout = "e-m:e-p270: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/tmp94ob1m0a.c' source_filename = "/tmp/tmp94ob1m0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glBytesPerElement(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %8 [ i32 138, label %5 i32 150, label %5 i32 131, label %5 i32 130, label %5 i32 134, label %5 i32 133, label %5 i32 132, label %5 i32 135, label %5 i32 129, label %5 i32 128, label %5 i32 137, label %5 i32 136, label %5 i32 149, label %6 i32 153, label %6 i32 147, label %6 i32 148, label %6 i32 151, label %7 i32 146, label %7 i32 152, label %7 i32 140, label %7 i32 139, label %7 i32 145, label %7 i32 142, label %7 i32 143, label %7 i32 144, label %7 i32 141, label %7 ] 5: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1 store i32 2, ptr %2, align 4 br label %9 6: ; preds = %1, %1, %1, %1 store i32 1, ptr %2, align 4 br label %9 7: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1 store i32 4, ptr %2, align 4 br label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %7, %6, %5 %10 = load i32, ptr %2, align 4 ret i32 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp94ob1m0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glBytesPerElement(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %8 [ i32 138, label %5 i32 150, label %5 i32 131, label %5 i32 130, label %5 i32 134, label %5 i32 133, label %5 i32 132, label %5 i32 135, label %5 i32 129, label %5 i32 128, label %5 i32 137, label %5 i32 136, label %5 i32 149, label %6 i32 153, label %6 i32 147, label %6 i32 148, label %6 i32 151, label %7 i32 146, label %7 i32 152, label %7 i32 140, label %7 i32 139, label %7 i32 145, label %7 i32 142, label %7 i32 143, label %7 i32 144, label %7 i32 141, label %7 ] 5: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1 store i32 2, ptr %2, align 4 br label %9 6: ; preds = %1, %1, %1, %1 store i32 1, ptr %2, align 4 br label %9 7: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1 store i32 4, ptr %2, align 4 br label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %7, %6, %5 %10 = load i32, ptr %2, align 4 ret i32 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuz5p5dnv.c' source_filename = "/tmp/tmpuz5p5dnv.c" target datalayout = "e-m:e-p270: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.timespec = type { i32 } @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @CLOCK_REALTIME, align 4 %4 = call i64 @clock_gettime(i32 noundef %3, ptr noundef %2) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 111, ptr %1, align 4 br label %8 7: ; preds = %0 store i32 0, ptr %1, align 4 br label %8 8: ; preds = %7, %6 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i64 @clock_gettime(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/tmpuz5p5dnv.c" target datalayout = "e-m:e-p270: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.timespec = type { i32 } @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @CLOCK_REALTIME, align 4 %4 = call i64 @clock_gettime(i32 noundef %3, ptr noundef %2) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 111, ptr %1, align 4 br label %8 7: ; preds = %0 store i32 0, ptr %1, align 4 br label %8 8: ; preds = %7, %6 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i64 @clock_gettime(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/tmpj7t6yb6x.c' source_filename = "/tmp/tmpj7t6yb6x.c" target datalayout = "e-m:e-p270: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_in6 = type { i32, i32, i32 } @__const.main.msg = private unnamed_addr constant [13 x i8] c"hello, world\00", align 1 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Usage: %s <ip6> <port>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @AF_INET6 = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"socket() failed\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"Not in presentation format\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"inet_pton() failed\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"connect() failed\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"[recv %d bytes] %s\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 %struct.sockaddr_in6, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [13 x i8], align 1 %11 = alloca [1024 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.msg, i64 13, i1 false) %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %22 14: ; preds = %2 %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %18) %20 = load i32, ptr @EXIT_FAILURE, align 4 %21 = call i32 @exit(i32 noundef %20) #4 unreachable 22: ; preds = %2 %23 = load i32, ptr @AF_INET6, align 4 %24 = load i32, ptr @SOCK_STREAM, align 4 %25 = call i32 @socket(i32 noundef %23, i32 noundef %24, i32 noundef 0) store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %32 28: ; preds = %22 %29 = call i32 @perror(ptr noundef @.str.1) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #4 unreachable 32: ; preds = %22 %33 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12) %34 = load i32, ptr @AF_INET6, align 4 %35 = getelementptr inbounds %struct.sockaddr_in6, ptr %6, i32 0, i32 2 store i32 %34, ptr %35, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call i32 @atoi(ptr noundef %38) %40 = call i32 @htons(i32 noundef %39) %41 = getelementptr inbounds %struct.sockaddr_in6, ptr %6, i32 0, i32 1 store i32 %40, ptr %41, align 4 %42 = load i32, ptr @AF_INET6, align 4 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 1 %45 = load ptr, ptr %44, align 8 %46 = getelementptr inbounds %struct.sockaddr_in6, ptr %6, i32 0, i32 0 %47 = call i32 @inet_pton(i32 noundef %42, ptr noundef %45, ptr noundef %46) store i32 %47, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = icmp sle i32 %48, 0 br i1 %49, label %50, label %61 50: ; preds = %32 %51 = load i32, ptr %9, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load i32, ptr @stderr, align 4 %55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.2) br label %58 56: ; preds = %50 %57 = call i32 @perror(ptr noundef @.str.3) br label %58 58: ; preds = %56, %53 %59 = load i32, ptr @EXIT_FAILURE, align 4 %60 = call i32 @exit(i32 noundef %59) #4 unreachable 61: ; preds = %32 %62 = load i32, ptr %7, align 4 %63 = call i32 @connect(i32 noundef %62, ptr noundef %6, i32 noundef 12) %64 = icmp eq i32 %63, -1 br i1 %64, label %65, label %69 65: ; preds = %61 %66 = call i32 @perror(ptr noundef @.str.4) %67 = load i32, ptr @EXIT_FAILURE, align 4 %68 = call i32 @exit(i32 noundef %67) #4 unreachable 69: ; preds = %61 %70 = load i32, ptr %7, align 4 %71 = getelementptr inbounds [13 x i8], ptr %10, i64 0, i64 0 %72 = getelementptr inbounds [13 x i8], ptr %10, i64 0, i64 0 %73 = call i32 @strlen(ptr noundef %72) %74 = call i32 @write(i32 noundef %70, ptr noundef %71, i32 noundef %73) %75 = load i32, ptr %7, align 4 %76 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %77 = call i32 @read(i32 noundef %75, ptr noundef %76, i32 noundef 1023) store i32 %77, ptr %8, align 4 %78 = load i32, ptr %8, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 %79 store i8 0, ptr %80, align 1 %81 = load i32, ptr %8, align 4 %82 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %83 = call i32 @printf(ptr noundef @.str.5, i32 noundef %81, ptr noundef %82) %84 = load i32, ptr %7, align 4 %85 = call i32 @close(i32 noundef %84) 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 @fprintf(i32 noundef, ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj7t6yb6x.c" target datalayout = "e-m:e-p270: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_in6 = type { i32, i32, i32 } @__const.main.msg = private unnamed_addr constant [13 x i8] c"hello, world\00", align 1 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Usage: %s <ip6> <port>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @AF_INET6 = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"socket() failed\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"Not in presentation format\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"inet_pton() failed\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"connect() failed\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"[recv %d bytes] %s\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 %struct.sockaddr_in6, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [13 x i8], align 1 %11 = alloca [1024 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.msg, i64 13, i1 false) %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %22 14: ; preds = %2 %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %18) %20 = load i32, ptr @EXIT_FAILURE, align 4 %21 = call i32 @exit(i32 noundef %20) #4 unreachable 22: ; preds = %2 %23 = load i32, ptr @AF_INET6, align 4 %24 = load i32, ptr @SOCK_STREAM, align 4 %25 = call i32 @socket(i32 noundef %23, i32 noundef %24, i32 noundef 0) store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %32 28: ; preds = %22 %29 = call i32 @perror(ptr noundef @.str.1) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #4 unreachable 32: ; preds = %22 %33 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12) %34 = load i32, ptr @AF_INET6, align 4 %35 = getelementptr inbounds %struct.sockaddr_in6, ptr %6, i32 0, i32 2 store i32 %34, ptr %35, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call i32 @atoi(ptr noundef %38) %40 = call i32 @htons(i32 noundef %39) %41 = getelementptr inbounds %struct.sockaddr_in6, ptr %6, i32 0, i32 1 store i32 %40, ptr %41, align 4 %42 = load i32, ptr @AF_INET6, align 4 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 1 %45 = load ptr, ptr %44, align 8 %46 = getelementptr inbounds %struct.sockaddr_in6, ptr %6, i32 0, i32 0 %47 = call i32 @inet_pton(i32 noundef %42, ptr noundef %45, ptr noundef %46) store i32 %47, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = icmp sle i32 %48, 0 br i1 %49, label %50, label %61 50: ; preds = %32 %51 = load i32, ptr %9, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load i32, ptr @stderr, align 4 %55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.2) br label %58 56: ; preds = %50 %57 = call i32 @perror(ptr noundef @.str.3) br label %58 58: ; preds = %56, %53 %59 = load i32, ptr @EXIT_FAILURE, align 4 %60 = call i32 @exit(i32 noundef %59) #4 unreachable 61: ; preds = %32 %62 = load i32, ptr %7, align 4 %63 = call i32 @connect(i32 noundef %62, ptr noundef %6, i32 noundef 12) %64 = icmp eq i32 %63, -1 br i1 %64, label %65, label %69 65: ; preds = %61 %66 = call i32 @perror(ptr noundef @.str.4) %67 = load i32, ptr @EXIT_FAILURE, align 4 %68 = call i32 @exit(i32 noundef %67) #4 unreachable 69: ; preds = %61 %70 = load i32, ptr %7, align 4 %71 = getelementptr inbounds [13 x i8], ptr %10, i64 0, i64 0 %72 = getelementptr inbounds [13 x i8], ptr %10, i64 0, i64 0 %73 = call i32 @strlen(ptr noundef %72) %74 = call i32 @write(i32 noundef %70, ptr noundef %71, i32 noundef %73) %75 = load i32, ptr %7, align 4 %76 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %77 = call i32 @read(i32 noundef %75, ptr noundef %76, i32 noundef 1023) store i32 %77, ptr %8, align 4 %78 = load i32, ptr %8, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 %79 store i8 0, ptr %80, align 1 %81 = load i32, ptr %8, align 4 %82 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %83 = call i32 @printf(ptr noundef @.str.5, i32 noundef %81, ptr noundef %82) %84 = load i32, ptr %7, align 4 %85 = call i32 @close(i32 noundef %84) 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 @fprintf(i32 noundef, ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyga4ber7.c' source_filename = "/tmp/tmpyga4ber7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [233 x i8] c"nanddump $Revision: 1.1.1.1 $\0A\0Ananddump comes with NO WARRANTY\0Ato the extent permitted by law.\0A\0AYou may redistribute copies of nanddump\0Aunder the terms of the GNU General Public Licence.\0ASee the file `COPYING' for more information.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display_version() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } 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/tmpyga4ber7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [233 x i8] c"nanddump $Revision: 1.1.1.1 $\0A\0Ananddump comes with NO WARRANTY\0Ato the extent permitted by law.\0A\0AYou may redistribute copies of nanddump\0Aunder the terms of the GNU General Public Licence.\0ASee the file `COPYING' for more information.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display_version() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } 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/tmpgbhaafs8.c' source_filename = "/tmp/tmpgbhaafs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCD_X_Write00(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call i32 (...) @LCD_CLR_A0() %4 = load i8, ptr %2, align 1 %5 = call i32 @Send1(i8 noundef zeroext %4) ret void } declare i32 @LCD_CLR_A0(...) #1 declare i32 @Send1(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgbhaafs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCD_X_Write00(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call i32 (...) @LCD_CLR_A0() %4 = load i8, ptr %2, align 1 %5 = call i32 @Send1(i8 noundef zeroext %4) ret void } declare i32 @LCD_CLR_A0(...) #1 declare i32 @Send1(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9f1j3gja.c' source_filename = "/tmp/tmp9f1j3gja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @IF_toScalarR() #0 { %1 = call i32 @toScalar(i32 noundef 0) ret void } declare i32 @toScalar(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/tmp9f1j3gja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @IF_toScalarR() #0 { %1 = call i32 @toScalar(i32 noundef 0) ret void } declare i32 @toScalar(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/tmpe52jss3v.c' source_filename = "/tmp/tmpe52jss3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cohadar/c-learning/refs/heads/master/src/asrt_tests.c\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"NULL == &x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_PtrAndNull2() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 br label %3 3: ; preds = %0 %4 = call i32 @ASRT_Mark(ptr noundef @.str, i32 noundef 117, ptr noundef @.str.1) %5 = call i64 @ASRT_Ptr(ptr noundef null, ptr noundef %2) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %3 store i32 1, ptr %1, align 4 br label %10 8: ; preds = %3 br label %9 9: ; preds = %8 store i32 0, ptr %1, align 4 br label %10 10: ; preds = %9, %7 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @ASRT_Mark(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ASRT_Ptr(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/tmpe52jss3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cohadar/c-learning/refs/heads/master/src/asrt_tests.c\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"NULL == &x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_PtrAndNull2() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 br label %3 3: ; preds = %0 %4 = call i32 @ASRT_Mark(ptr noundef @.str, i32 noundef 117, ptr noundef @.str.1) %5 = call i64 @ASRT_Ptr(ptr noundef null, ptr noundef %2) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %3 store i32 1, ptr %1, align 4 br label %10 8: ; preds = %3 br label %9 9: ; preds = %8 store i32 0, ptr %1, align 4 br label %10 10: ; preds = %9, %7 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @ASRT_Mark(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ASRT_Ptr(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/tmpc6b8be1g.c' source_filename = "/tmp/tmpc6b8be1g.c" target datalayout = "e-m:e-p270: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/tmpc6b8be1g.c" target datalayout = "e-m:e-p270: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/tmp5za4zfv0.c' source_filename = "/tmp/tmp5za4zfv0.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [27 x i8] c"expath : path=%s nmax=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"^%s$\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"expath : file=%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @expath(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [1024 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca [1024 x i8], align 16 %16 = alloca [1024 x i8], align 16 %17 = alloca [1024 x i8], align 16 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %10, align 4 %20 = load ptr, ptr %5, align 8 store ptr %20, ptr %14, align 8 call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 1024, i1 false) %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %7, align 4 %23 = call i32 (i32, ptr, ptr, ...) @trace(i32 noundef 3, ptr noundef @.str, ptr noundef %21, i32 noundef %22) %24 = load ptr, ptr %5, align 8 %25 = call ptr @strrchr(ptr noundef %24, i8 noundef signext 47) store ptr %25, ptr %18, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %31, label %27 27: ; preds = %3 %28 = load ptr, ptr %5, align 8 %29 = call ptr @strrchr(ptr noundef %28, i8 noundef signext 92) store ptr %29, ptr %18, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %51 31: ; preds = %27, %3 %32 = load ptr, ptr %18, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 store ptr %33, ptr %14, align 8 %34 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %35 = load ptr, ptr %5, align 8 %36 = load ptr, ptr %18, align 8 %37 = load ptr, ptr %5, align 8 %38 = ptrtoint ptr %36 to i64 %39 = ptrtoint ptr %37 to i64 %40 = sub i64 %38, %39 %41 = add nsw i64 %40, 1 %42 = trunc i64 %41 to i32 %43 = call i32 @strncpy(ptr noundef %34, ptr noundef %35, i32 noundef %42) %44 = load ptr, ptr %18, align 8 %45 = load ptr, ptr %5, align 8 %46 = ptrtoint ptr %44 to i64 %47 = ptrtoint ptr %45 to i64 %48 = sub i64 %46, %47 %49 = add nsw i64 %48, 1 %50 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 %49 store i8 0, ptr %50, align 1 br label %51 51: ; preds = %31, %27 %52 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %53 = load i8, ptr %52, align 16 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %51 %57 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 br label %59 58: ; preds = %51 br label %59 59: ; preds = %58, %56 %60 = phi ptr [ %57, %56 ], [ @.str.1, %58 ] %61 = call ptr @opendir(ptr noundef %60) store ptr %61, ptr %13, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %64, label %63 63: ; preds = %59 store i32 0, ptr %4, align 4 br label %238 64: ; preds = %59 br label %65 65: ; preds = %158, %76, %64 %66 = load ptr, ptr %13, align 8 %67 = call ptr @readdir(ptr noundef %66) store ptr %67, ptr %12, align 8 %68 = icmp ne ptr %67, null br i1 %68, label %69, label %159 69: ; preds = %65 %70 = load ptr, ptr %12, align 8 %71 = getelementptr inbounds %struct.dirent, ptr %70, i32 0, i32 0 %72 = load ptr, ptr %71, align 8 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %74, 46 br i1 %75, label %76, label %77 76: ; preds = %69 br label %65, !llvm.loop !6 77: ; preds = %69 %78 = getelementptr inbounds [1024 x i8], ptr %16, i64 0, i64 0 %79 = load ptr, ptr %12, align 8 %80 = getelementptr inbounds %struct.dirent, ptr %79, i32 0, i32 0 %81 = load ptr, ptr %80, align 8 %82 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %78, ptr noundef @.str.2, ptr noundef %81) %83 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0 %84 = load ptr, ptr %14, align 8 %85 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %83, ptr noundef @.str.2, ptr noundef %84) %86 = getelementptr inbounds [1024 x i8], ptr %16, i64 0, i64 0 store ptr %86, ptr %18, align 8 br label %87 87: ; preds = %98, %77 %88 = load ptr, ptr %18, align 8 %89 = load i8, ptr %88, align 1 %90 = icmp ne i8 %89, 0 br i1 %90, label %91, label %101 91: ; preds = %87 %92 = load ptr, ptr %18, align 8 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = call i64 @tolower(i32 noundef %94) %96 = trunc i64 %95 to i8 %97 = load ptr, ptr %18, align 8 store i8 %96, ptr %97, align 1 br label %98 98: ; preds = %91 %99 = load ptr, ptr %18, align 8 %100 = getelementptr inbounds i8, ptr %99, i32 1 store ptr %100, ptr %18, align 8 br label %87, !llvm.loop !8 101: ; preds = %87 %102 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0 store ptr %102, ptr %18, align 8 br label %103 103: ; preds = %114, %101 %104 = load ptr, ptr %18, align 8 %105 = load i8, ptr %104, align 1 %106 = icmp ne i8 %105, 0 br i1 %106, label %107, label %117 107: ; preds = %103 %108 = load ptr, ptr %18, align 8 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = call i64 @tolower(i32 noundef %110) %112 = trunc i64 %111 to i8 %113 = load ptr, ptr %18, align 8 store i8 %112, ptr %113, align 1 br label %114 114: ; preds = %107 %115 = load ptr, ptr %18, align 8 %116 = getelementptr inbounds i8, ptr %115, i32 1 store ptr %116, ptr %18, align 8 br label %103, !llvm.loop !9 117: ; preds = %103 %118 = getelementptr inbounds [1024 x i8], ptr %16, i64 0, i64 0 store ptr %118, ptr %18, align 8 %119 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0 %120 = call ptr @strtok(ptr noundef %119, ptr noundef @.str.3) store ptr %120, ptr %19, align 8 br label %121 121: ; preds = %137, %117 %122 = load ptr, ptr %19, align 8 %123 = icmp ne ptr %122, null br i1 %123, label %124, label %139 124: ; preds = %121 %125 = load ptr, ptr %18, align 8 %126 = load ptr, ptr %19, align 8 %127 = call ptr @strstr(ptr noundef %125, ptr noundef %126) store ptr %127, ptr %18, align 8 %128 = icmp ne ptr %127, null br i1 %128, label %129, label %135 129: ; preds = %124 %130 = load ptr, ptr %19, align 8 %131 = call i32 @strlen(ptr noundef %130) %132 = load ptr, ptr %18, align 8 %133 = sext i32 %131 to i64 %134 = getelementptr inbounds i8, ptr %132, i64 %133 store ptr %134, ptr %18, align 8 br label %136 135: ; preds = %124 br label %139 136: ; preds = %129 br label %137 137: ; preds = %136 %138 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %138, ptr %19, align 8 br label %121, !llvm.loop !10 139: ; preds = %135, %121 %140 = load ptr, ptr %18, align 8 %141 = icmp ne ptr %140, null br i1 %141, label %142, label %158 142: ; preds = %139 %143 = load i32, ptr %10, align 4 %144 = load i32, ptr %7, align 4 %145 = icmp slt i32 %143, %144 br i1 %145, label %146, label %158 146: ; preds = %142 %147 = load ptr, ptr %6, align 8 %148 = load i32, ptr %10, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %10, align 4 %150 = sext i32 %148 to i64 %151 = getelementptr inbounds ptr, ptr %147, i64 %150 %152 = load ptr, ptr %151, align 8 %153 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %154 = load ptr, ptr %12, align 8 %155 = getelementptr inbounds %struct.dirent, ptr %154, i32 0, i32 0 %156 = load ptr, ptr %155, align 8 %157 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %152, ptr noundef @.str.4, ptr noundef %153, ptr noundef %156) br label %158 158: ; preds = %146, %142, %139 br label %65, !llvm.loop !6 159: ; preds = %65 %160 = load ptr, ptr %13, align 8 %161 = call i32 @closedir(ptr noundef %160) store i32 0, ptr %8, align 4 br label %162 162: ; preds = %218, %159 %163 = load i32, ptr %8, align 4 %164 = load i32, ptr %10, align 4 %165 = sub nsw i32 %164, 1 %166 = icmp slt i32 %163, %165 br i1 %166, label %167, label %221 167: ; preds = %162 %168 = load i32, ptr %8, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %9, align 4 br label %170 170: ; preds = %214, %167 %171 = load i32, ptr %9, align 4 %172 = load i32, ptr %10, align 4 %173 = icmp slt i32 %171, %172 br i1 %173, label %174, label %217 174: ; preds = %170 %175 = load ptr, ptr %6, align 8 %176 = load i32, ptr %8, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds ptr, ptr %175, i64 %177 %179 = load ptr, ptr %178, align 8 %180 = load ptr, ptr %6, align 8 %181 = load i32, ptr %9, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds ptr, ptr %180, i64 %182 %184 = load ptr, ptr %183, align 8 %185 = call i64 @strcmp(ptr noundef %179, ptr noundef %184) %186 = icmp sgt i64 %185, 0 br i1 %186, label %187, label %213 187: ; preds = %174 %188 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %189 = load ptr, ptr %6, align 8 %190 = load i32, ptr %8, align 4 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds ptr, ptr %189, i64 %191 %193 = load ptr, ptr %192, align 8 %194 = call i32 @strcpy(ptr noundef %188, ptr noundef %193) %195 = load ptr, ptr %6, align 8 %196 = load i32, ptr %8, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds ptr, ptr %195, i64 %197 %199 = load ptr, ptr %198, align 8 %200 = load ptr, ptr %6, align 8 %201 = load i32, ptr %9, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds ptr, ptr %200, i64 %202 %204 = load ptr, ptr %203, align 8 %205 = call i32 @strcpy(ptr noundef %199, ptr noundef %204) %206 = load ptr, ptr %6, align 8 %207 = load i32, ptr %9, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds ptr, ptr %206, i64 %208 %210 = load ptr, ptr %209, align 8 %211 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %212 = call i32 @strcpy(ptr noundef %210, ptr noundef %211) br label %213 213: ; preds = %187, %174 br label %214 214: ; preds = %213 %215 = load i32, ptr %9, align 4 %216 = add nsw i32 %215, 1 store i32 %216, ptr %9, align 4 br label %170, !llvm.loop !11 217: ; preds = %170 br label %218 218: ; preds = %217 %219 = load i32, ptr %8, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %8, align 4 br label %162, !llvm.loop !12 221: ; preds = %162 store i32 0, ptr %8, align 4 br label %222 222: ; preds = %233, %221 %223 = load i32, ptr %8, align 4 %224 = load i32, ptr %10, align 4 %225 = icmp slt i32 %223, %224 br i1 %225, label %226, label %236 226: ; preds = %222 %227 = load ptr, ptr %6, align 8 %228 = load i32, ptr %8, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds ptr, ptr %227, i64 %229 %231 = load ptr, ptr %230, align 8 %232 = call i32 (i32, ptr, ptr, ...) @trace(i32 noundef 3, ptr noundef @.str.5, ptr noundef %231) br label %233 233: ; preds = %226 %234 = load i32, ptr %8, align 4 %235 = add nsw i32 %234, 1 store i32 %235, ptr %8, align 4 br label %222, !llvm.loop !13 236: ; preds = %222 %237 = load i32, ptr %10, align 4 store i32 %237, ptr %4, align 4 br label %238 238: ; preds = %236, %63 %239 = load i32, ptr %4, align 4 ret i32 %239 } ; 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 @trace(i32 noundef, ptr noundef, ptr noundef, ...) #2 declare ptr @strrchr(ptr noundef, i8 noundef signext) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #2 declare i64 @tolower(i32 noundef) #2 declare ptr @strtok(ptr noundef, ptr noundef) #2 declare ptr @strstr(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @closedir(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5za4zfv0.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [27 x i8] c"expath : path=%s nmax=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"^%s$\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"expath : file=%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @expath(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [1024 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca [1024 x i8], align 16 %16 = alloca [1024 x i8], align 16 %17 = alloca [1024 x i8], align 16 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %10, align 4 %20 = load ptr, ptr %5, align 8 store ptr %20, ptr %14, align 8 call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 1024, i1 false) %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %7, align 4 %23 = call i32 (i32, ptr, ptr, ...) @trace(i32 noundef 3, ptr noundef @.str, ptr noundef %21, i32 noundef %22) %24 = load ptr, ptr %5, align 8 %25 = call ptr @strrchr(ptr noundef %24, i8 noundef signext 47) store ptr %25, ptr %18, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %31, label %27 27: ; preds = %3 %28 = load ptr, ptr %5, align 8 %29 = call ptr @strrchr(ptr noundef %28, i8 noundef signext 92) store ptr %29, ptr %18, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %51 31: ; preds = %27, %3 %32 = load ptr, ptr %18, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 store ptr %33, ptr %14, align 8 %34 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %35 = load ptr, ptr %5, align 8 %36 = load ptr, ptr %18, align 8 %37 = load ptr, ptr %5, align 8 %38 = ptrtoint ptr %36 to i64 %39 = ptrtoint ptr %37 to i64 %40 = sub i64 %38, %39 %41 = add nsw i64 %40, 1 %42 = trunc i64 %41 to i32 %43 = call i32 @strncpy(ptr noundef %34, ptr noundef %35, i32 noundef %42) %44 = load ptr, ptr %18, align 8 %45 = load ptr, ptr %5, align 8 %46 = ptrtoint ptr %44 to i64 %47 = ptrtoint ptr %45 to i64 %48 = sub i64 %46, %47 %49 = add nsw i64 %48, 1 %50 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 %49 store i8 0, ptr %50, align 1 br label %51 51: ; preds = %31, %27 %52 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %53 = load i8, ptr %52, align 16 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %51 %57 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 br label %59 58: ; preds = %51 br label %59 59: ; preds = %58, %56 %60 = phi ptr [ %57, %56 ], [ @.str.1, %58 ] %61 = call ptr @opendir(ptr noundef %60) store ptr %61, ptr %13, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %64, label %63 63: ; preds = %59 store i32 0, ptr %4, align 4 br label %252 64: ; preds = %59 %65 = load ptr, ptr %13, align 8 %66 = call ptr @readdir(ptr noundef %65) store ptr %66, ptr %12, align 8 %67 = icmp ne ptr %66, null br i1 %67, label %.lr.ph7, label %166 .lr.ph7: ; preds = %64 br label %68 68: ; preds = %.lr.ph7, %.backedge %69 = load ptr, ptr %12, align 8 %70 = getelementptr inbounds %struct.dirent, ptr %69, i32 0, i32 0 %71 = load ptr, ptr %70, align 8 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %73, 46 br i1 %74, label %75, label %79 75: ; preds = %68 br label %.backedge .backedge: ; preds = %75, %165 %76 = load ptr, ptr %13, align 8 %77 = call ptr @readdir(ptr noundef %76) store ptr %77, ptr %12, align 8 %78 = icmp ne ptr %77, null br i1 %78, label %68, label %._crit_edge8, !llvm.loop !6 79: ; preds = %68 %80 = getelementptr inbounds [1024 x i8], ptr %16, i64 0, i64 0 %81 = load ptr, ptr %12, align 8 %82 = getelementptr inbounds %struct.dirent, ptr %81, i32 0, i32 0 %83 = load ptr, ptr %82, align 8 %84 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %80, ptr noundef @.str.2, ptr noundef %83) %85 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0 %86 = load ptr, ptr %14, align 8 %87 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %85, ptr noundef @.str.2, ptr noundef %86) %88 = getelementptr inbounds [1024 x i8], ptr %16, i64 0, i64 0 store ptr %88, ptr %18, align 8 %89 = load ptr, ptr %18, align 8 %90 = load i8, ptr %89, align 1 %91 = icmp ne i8 %90, 0 br i1 %91, label %.lr.ph, label %105 .lr.ph: ; preds = %79 br label %92 92: ; preds = %.lr.ph, %99 %93 = load ptr, ptr %18, align 8 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = call i64 @tolower(i32 noundef %95) %97 = trunc i64 %96 to i8 %98 = load ptr, ptr %18, align 8 store i8 %97, ptr %98, align 1 br label %99 99: ; preds = %92 %100 = load ptr, ptr %18, align 8 %101 = getelementptr inbounds i8, ptr %100, i32 1 store ptr %101, ptr %18, align 8 %102 = load ptr, ptr %18, align 8 %103 = load i8, ptr %102, align 1 %104 = icmp ne i8 %103, 0 br i1 %104, label %92, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %99 br label %105 105: ; preds = %._crit_edge, %79 %106 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0 store ptr %106, ptr %18, align 8 %107 = load ptr, ptr %18, align 8 %108 = load i8, ptr %107, align 1 %109 = icmp ne i8 %108, 0 br i1 %109, label %.lr.ph2, label %123 .lr.ph2: ; preds = %105 br label %110 110: ; preds = %.lr.ph2, %117 %111 = load ptr, ptr %18, align 8 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = call i64 @tolower(i32 noundef %113) %115 = trunc i64 %114 to i8 %116 = load ptr, ptr %18, align 8 store i8 %115, ptr %116, align 1 br label %117 117: ; preds = %110 %118 = load ptr, ptr %18, align 8 %119 = getelementptr inbounds i8, ptr %118, i32 1 store ptr %119, ptr %18, align 8 %120 = load ptr, ptr %18, align 8 %121 = load i8, ptr %120, align 1 %122 = icmp ne i8 %121, 0 br i1 %122, label %110, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %117 br label %123 123: ; preds = %._crit_edge3, %105 %124 = getelementptr inbounds [1024 x i8], ptr %16, i64 0, i64 0 store ptr %124, ptr %18, align 8 %125 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0 %126 = call ptr @strtok(ptr noundef %125, ptr noundef @.str.3) store ptr %126, ptr %19, align 8 %127 = load ptr, ptr %19, align 8 %128 = icmp ne ptr %127, null br i1 %128, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %123 br label %129 129: ; preds = %.lr.ph5, %142 %130 = load ptr, ptr %18, align 8 %131 = load ptr, ptr %19, align 8 %132 = call ptr @strstr(ptr noundef %130, ptr noundef %131) store ptr %132, ptr %18, align 8 %133 = icmp ne ptr %132, null br i1 %133, label %134, label %140 134: ; preds = %129 %135 = load ptr, ptr %19, align 8 %136 = call i32 @strlen(ptr noundef %135) %137 = load ptr, ptr %18, align 8 %138 = sext i32 %136 to i64 %139 = getelementptr inbounds i8, ptr %137, i64 %138 store ptr %139, ptr %18, align 8 br label %141 140: ; preds = %129 br label %146 141: ; preds = %134 br label %142 142: ; preds = %141 %143 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %143, ptr %19, align 8 %144 = load ptr, ptr %19, align 8 %145 = icmp ne ptr %144, null br i1 %145, label %129, label %..loopexit_crit_edge, !llvm.loop !10 ..loopexit_crit_edge: ; preds = %142 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %123 br label %146 146: ; preds = %.loopexit, %140 %147 = load ptr, ptr %18, align 8 %148 = icmp ne ptr %147, null br i1 %148, label %149, label %165 149: ; preds = %146 %150 = load i32, ptr %10, align 4 %151 = load i32, ptr %7, align 4 %152 = icmp slt i32 %150, %151 br i1 %152, label %153, label %165 153: ; preds = %149 %154 = load ptr, ptr %6, align 8 %155 = load i32, ptr %10, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %10, align 4 %157 = sext i32 %155 to i64 %158 = getelementptr inbounds ptr, ptr %154, i64 %157 %159 = load ptr, ptr %158, align 8 %160 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %161 = load ptr, ptr %12, align 8 %162 = getelementptr inbounds %struct.dirent, ptr %161, i32 0, i32 0 %163 = load ptr, ptr %162, align 8 %164 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %159, ptr noundef @.str.4, ptr noundef %160, ptr noundef %163) br label %165 165: ; preds = %153, %149, %146 br label %.backedge ._crit_edge8: ; preds = %.backedge br label %166 166: ; preds = %._crit_edge8, %64 %167 = load ptr, ptr %13, align 8 %168 = call i32 @closedir(ptr noundef %167) store i32 0, ptr %8, align 4 %169 = load i32, ptr %8, align 4 %170 = load i32, ptr %10, align 4 %171 = sub nsw i32 %170, 1 %172 = icmp slt i32 %169, %171 br i1 %172, label %.lr.ph13, label %233 .lr.ph13: ; preds = %166 br label %173 173: ; preds = %.lr.ph13, %226 %174 = load i32, ptr %8, align 4 %175 = add nsw i32 %174, 1 store i32 %175, ptr %9, align 4 %176 = load i32, ptr %9, align 4 %177 = load i32, ptr %10, align 4 %178 = icmp slt i32 %176, %177 br i1 %178, label %.lr.ph10, label %225 .lr.ph10: ; preds = %173 br label %179 179: ; preds = %.lr.ph10, %219 %180 = load ptr, ptr %6, align 8 %181 = load i32, ptr %8, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds ptr, ptr %180, i64 %182 %184 = load ptr, ptr %183, align 8 %185 = load ptr, ptr %6, align 8 %186 = load i32, ptr %9, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds ptr, ptr %185, i64 %187 %189 = load ptr, ptr %188, align 8 %190 = call i64 @strcmp(ptr noundef %184, ptr noundef %189) %191 = icmp sgt i64 %190, 0 br i1 %191, label %192, label %218 192: ; preds = %179 %193 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %194 = load ptr, ptr %6, align 8 %195 = load i32, ptr %8, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds ptr, ptr %194, i64 %196 %198 = load ptr, ptr %197, align 8 %199 = call i32 @strcpy(ptr noundef %193, ptr noundef %198) %200 = load ptr, ptr %6, align 8 %201 = load i32, ptr %8, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds ptr, ptr %200, i64 %202 %204 = load ptr, ptr %203, align 8 %205 = load ptr, ptr %6, align 8 %206 = load i32, ptr %9, align 4 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds ptr, ptr %205, i64 %207 %209 = load ptr, ptr %208, align 8 %210 = call i32 @strcpy(ptr noundef %204, ptr noundef %209) %211 = load ptr, ptr %6, align 8 %212 = load i32, ptr %9, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds ptr, ptr %211, i64 %213 %215 = load ptr, ptr %214, align 8 %216 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %217 = call i32 @strcpy(ptr noundef %215, ptr noundef %216) br label %218 218: ; preds = %192, %179 br label %219 219: ; preds = %218 %220 = load i32, ptr %9, align 4 %221 = add nsw i32 %220, 1 store i32 %221, ptr %9, align 4 %222 = load i32, ptr %9, align 4 %223 = load i32, ptr %10, align 4 %224 = icmp slt i32 %222, %223 br i1 %224, label %179, label %._crit_edge11, !llvm.loop !11 ._crit_edge11: ; preds = %219 br label %225 225: ; preds = %._crit_edge11, %173 br label %226 226: ; preds = %225 %227 = load i32, ptr %8, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %8, align 4 %229 = load i32, ptr %8, align 4 %230 = load i32, ptr %10, align 4 %231 = sub nsw i32 %230, 1 %232 = icmp slt i32 %229, %231 br i1 %232, label %173, label %._crit_edge14, !llvm.loop !12 ._crit_edge14: ; preds = %226 br label %233 233: ; preds = %._crit_edge14, %166 store i32 0, ptr %8, align 4 %234 = load i32, ptr %8, align 4 %235 = load i32, ptr %10, align 4 %236 = icmp slt i32 %234, %235 br i1 %236, label %.lr.ph16, label %250 .lr.ph16: ; preds = %233 br label %237 237: ; preds = %.lr.ph16, %244 %238 = load ptr, ptr %6, align 8 %239 = load i32, ptr %8, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds ptr, ptr %238, i64 %240 %242 = load ptr, ptr %241, align 8 %243 = call i32 (i32, ptr, ptr, ...) @trace(i32 noundef 3, ptr noundef @.str.5, ptr noundef %242) br label %244 244: ; preds = %237 %245 = load i32, ptr %8, align 4 %246 = add nsw i32 %245, 1 store i32 %246, ptr %8, align 4 %247 = load i32, ptr %8, align 4 %248 = load i32, ptr %10, align 4 %249 = icmp slt i32 %247, %248 br i1 %249, label %237, label %._crit_edge17, !llvm.loop !13 ._crit_edge17: ; preds = %244 br label %250 250: ; preds = %._crit_edge17, %233 %251 = load i32, ptr %10, align 4 store i32 %251, ptr %4, align 4 br label %252 252: ; preds = %250, %63 %253 = load i32, ptr %4, align 4 ret i32 %253 } ; 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 @trace(i32 noundef, ptr noundef, ptr noundef, ...) #2 declare ptr @strrchr(ptr noundef, i8 noundef signext) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #2 declare i64 @tolower(i32 noundef) #2 declare ptr @strtok(ptr noundef, ptr noundef) #2 declare ptr @strstr(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @closedir(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmpa1gmcj8c.c' source_filename = "/tmp/tmpa1gmcj8c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcdup(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %16, label %15 15: ; preds = %12, %2 store ptr null, ptr %3, align 8 br label %43 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = call i64 @strlen(ptr noundef %17) store i64 %18, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i64 @strlen(ptr noundef %19) store i64 %20, ptr %7, align 8 %21 = load i64, ptr %6, align 8 %22 = load i64, ptr %7, align 8 %23 = add i64 %21, %22 %24 = add i64 %23, 1 store i64 %24, ptr %8, align 8 %25 = load i64, ptr %8, align 8 %26 = call ptr @malloc(i64 noundef %25) store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %9, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %30 29: ; preds = %16 store ptr null, ptr %3, align 8 br label %43 30: ; preds = %16 %31 = load ptr, ptr %9, align 8 %32 = load ptr, ptr %4, align 8 %33 = load i64, ptr %6, align 8 %34 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i64 noundef %33) %35 = load ptr, ptr %9, align 8 %36 = load i64, ptr %6, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 %38 = load ptr, ptr %5, align 8 %39 = load i64, ptr %7, align 8 %40 = add i64 %39, 1 %41 = call i32 @memcpy(ptr noundef %37, ptr noundef %38, i64 noundef %40) %42 = load ptr, ptr %9, align 8 store ptr %42, ptr %3, align 8 br label %43 43: ; preds = %30, %29, %15 %44 = load ptr, ptr %3, align 8 ret ptr %44 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 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/tmpa1gmcj8c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcdup(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %16, label %15 15: ; preds = %12, %2 store ptr null, ptr %3, align 8 br label %43 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = call i64 @strlen(ptr noundef %17) store i64 %18, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i64 @strlen(ptr noundef %19) store i64 %20, ptr %7, align 8 %21 = load i64, ptr %6, align 8 %22 = load i64, ptr %7, align 8 %23 = add i64 %21, %22 %24 = add i64 %23, 1 store i64 %24, ptr %8, align 8 %25 = load i64, ptr %8, align 8 %26 = call ptr @malloc(i64 noundef %25) store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %9, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %30 29: ; preds = %16 store ptr null, ptr %3, align 8 br label %43 30: ; preds = %16 %31 = load ptr, ptr %9, align 8 %32 = load ptr, ptr %4, align 8 %33 = load i64, ptr %6, align 8 %34 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i64 noundef %33) %35 = load ptr, ptr %9, align 8 %36 = load i64, ptr %6, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 %38 = load ptr, ptr %5, align 8 %39 = load i64, ptr %7, align 8 %40 = add i64 %39, 1 %41 = call i32 @memcpy(ptr noundef %37, ptr noundef %38, i64 noundef %40) %42 = load ptr, ptr %9, align 8 store ptr %42, ptr %3, align 8 br label %43 43: ; preds = %30, %29, %15 %44 = load ptr, ptr %3, align 8 ret ptr %44 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 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/tmpkv419b50.c' source_filename = "/tmp/tmpkv419b50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeNBT(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %8 = load i64, ptr %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %3 store i32 0, ptr %4, align 4 br label %16 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i64, ptr %7, align 8 %15 = call i32 @__recurWriteNBT(ptr noundef %12, ptr noundef %13, i64 noundef %14, i32 noundef 0) store i32 %15, ptr %4, align 4 br label %16 16: ; preds = %11, %10 %17 = load i32, ptr %4, align 4 ret i32 %17 } declare i32 @__recurWriteNBT(ptr noundef, ptr noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkv419b50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeNBT(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %8 = load i64, ptr %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %3 store i32 0, ptr %4, align 4 br label %16 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i64, ptr %7, align 8 %15 = call i32 @__recurWriteNBT(ptr noundef %12, ptr noundef %13, i64 noundef %14, i32 noundef 0) store i32 %15, ptr %4, align 4 br label %16 16: ; preds = %11, %10 %17 = load i32, ptr %4, align 4 ret i32 %17 } declare i32 @__recurWriteNBT(ptr noundef, ptr noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpksj2f38h.c' source_filename = "/tmp/tmpksj2f38h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @optind = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"getlogin\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @LC_ALL, align 4 %9 = call i32 @setlocale(i32 noundef %8, ptr noundef @.str) br label %10 10: ; preds = %20, %2 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str) store i32 %13, ptr %6, align 4 %14 = icmp ne i32 %13, -1 br i1 %14, label %15, label %21 15: ; preds = %10 %16 = load i32, ptr %6, align 4 switch i32 %16, label %18 [ i32 63, label %17 ] 17: ; preds = %15 br label %18 18: ; preds = %15, %17 %19 = call i32 (...) @usage() br label %20 20: ; preds = %18 br label %10, !llvm.loop !6 21: ; preds = %10 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr @optind, align 4 %24 = icmp ne i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = call i32 (...) @usage() br label %27 27: ; preds = %25, %21 %28 = call ptr (...) @getlogin() store ptr %28, ptr %7, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %27 %31 = call i32 @err(i32 noundef 1, ptr noundef @.str.1) br label %32 32: ; preds = %30, %27 %33 = load ptr, ptr %7, align 8 %34 = call i32 @printf(ptr noundef @.str.2, ptr noundef %33) %35 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare ptr @getlogin(...) #1 declare i32 @err(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpksj2f38h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @optind = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"getlogin\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @LC_ALL, align 4 %9 = call i32 @setlocale(i32 noundef %8, ptr noundef @.str) %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str) store i32 %12, ptr %6, align 4 %13 = icmp ne i32 %12, -1 br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %19 %15 = load i32, ptr %6, align 4 switch i32 %15, label %17 [ i32 63, label %16 ] 16: ; preds = %14 br label %17 17: ; preds = %16, %14 %18 = call i32 (...) @usage() br label %19 19: ; preds = %17 %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 @getopt(i32 noundef %20, ptr noundef %21, ptr noundef @.str) store i32 %22, ptr %6, align 4 %23 = icmp ne i32 %22, -1 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr @optind, align 4 %27 = icmp ne i32 %25, %26 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 (...) @usage() br label %30 30: ; preds = %28, %24 %31 = call ptr (...) @getlogin() store ptr %31, ptr %7, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %30 %34 = call i32 @err(i32 noundef 1, ptr noundef @.str.1) br label %35 35: ; preds = %33, %30 %36 = load ptr, ptr %7, align 8 %37 = call i32 @printf(ptr noundef @.str.2, ptr noundef %36) %38 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare ptr @getlogin(...) #1 declare i32 @err(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpckmnnruk.c' source_filename = "/tmp/tmpckmnnruk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"'Sign' me up.. for DESTRUCTION! Haw haw!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hit() #0 { %1 = call i32 @say(ptr noundef @.str, i32 noundef 1) ret void } declare i32 @say(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/tmpckmnnruk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"'Sign' me up.. for DESTRUCTION! Haw haw!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hit() #0 { %1 = call i32 @say(ptr noundef @.str, i32 noundef 1) ret void } declare i32 @say(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/tmp71o3396w.c' source_filename = "/tmp/tmp71o3396w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @turnTime(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @turn(i32 noundef %5) %7 = load i32, ptr %4, align 4 %8 = call i32 @wait1Msec(i32 noundef %7) %9 = call i32 @turn(i32 noundef 0) ret void } declare i32 @turn(i32 noundef) #1 declare i32 @wait1Msec(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/tmp71o3396w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @turnTime(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @turn(i32 noundef %5) %7 = load i32, ptr %4, align 4 %8 = call i32 @wait1Msec(i32 noundef %7) %9 = call i32 @turn(i32 noundef 0) ret void } declare i32 @turn(i32 noundef) #1 declare i32 @wait1Msec(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/tmpn3cqkcsk.c' source_filename = "/tmp/tmpn3cqkcsk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_FAILED = dso_local global ptr null, align 8 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn3cqkcsk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_FAILED = dso_local global ptr null, align 8 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4ye3hp1g.c' source_filename = "/tmp/tmp4ye3hp1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skipToEOL() #0 { %1 = alloca i8, align 1 br label %2 2: ; preds = %12, %0 %3 = call signext i8 (...) @getRawTexChar() store i8 %3, ptr %1, align 1 %4 = sext i8 %3 to i32 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %2 %7 = load i8, ptr %1, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 10 br label %10 10: ; preds = %6, %2 %11 = phi i1 [ false, %2 ], [ %9, %6 ] br i1 %11, label %12, label %13 12: ; preds = %10 br label %2, !llvm.loop !6 13: ; preds = %10 ret void } declare signext i8 @getRawTexChar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp4ye3hp1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skipToEOL() #0 { %1 = alloca i8, align 1 br label %2 2: ; preds = %10, %0 %3 = call signext i8 (...) @getRawTexChar() store i8 %3, ptr %1, align 1 %4 = sext i8 %3 to i32 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %2 %7 = load i8, ptr %1, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 10 br label %10 10: ; preds = %6, %2 %11 = phi i1 [ false, %2 ], [ %9, %6 ] br i1 %11, label %2, label %12, !llvm.loop !6 12: ; preds = %10 ret void } declare signext i8 @getRawTexChar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpp879i0wh.c' source_filename = "/tmp/tmpp879i0wh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Crate 2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @leftInnerCrate2() #0 { %1 = call i32 @writeDebugStreamLine(ptr noundef @.str) %2 = call i32 @turnRight(i32 noundef -75, i32 noundef 1800) %3 = call i32 @straight(i32 noundef 75, i32 noundef 49) %4 = call i32 (...) @pause() %5 = call i32 @turnRight(i32 noundef -50, i32 noundef 2200) %6 = call i32 (...) @pause() %7 = call i32 (...) @primeCube() %8 = call i32 @straight(i32 noundef 75, i32 noundef 54) %9 = call i32 (...) @pause() %10 = call i32 (...) @dropCube() %11 = call i32 @straight(i32 noundef -50, i32 noundef 20) %12 = call i32 (...) @lowerCube() %13 = call i32 @straight(i32 noundef 50, i32 noundef 5) ret void } declare i32 @writeDebugStreamLine(ptr noundef) #1 declare i32 @turnRight(i32 noundef, i32 noundef) #1 declare i32 @straight(i32 noundef, i32 noundef) #1 declare i32 @pause(...) #1 declare i32 @primeCube(...) #1 declare i32 @dropCube(...) #1 declare i32 @lowerCube(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp879i0wh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Crate 2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @leftInnerCrate2() #0 { %1 = call i32 @writeDebugStreamLine(ptr noundef @.str) %2 = call i32 @turnRight(i32 noundef -75, i32 noundef 1800) %3 = call i32 @straight(i32 noundef 75, i32 noundef 49) %4 = call i32 (...) @pause() %5 = call i32 @turnRight(i32 noundef -50, i32 noundef 2200) %6 = call i32 (...) @pause() %7 = call i32 (...) @primeCube() %8 = call i32 @straight(i32 noundef 75, i32 noundef 54) %9 = call i32 (...) @pause() %10 = call i32 (...) @dropCube() %11 = call i32 @straight(i32 noundef -50, i32 noundef 20) %12 = call i32 (...) @lowerCube() %13 = call i32 @straight(i32 noundef 50, i32 noundef 5) ret void } declare i32 @writeDebugStreamLine(ptr noundef) #1 declare i32 @turnRight(i32 noundef, i32 noundef) #1 declare i32 @straight(i32 noundef, i32 noundef) #1 declare i32 @pause(...) #1 declare i32 @primeCube(...) #1 declare i32 @dropCube(...) #1 declare i32 @lowerCube(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyktj_wxg.c' source_filename = "/tmp/tmpyktj_wxg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [25 x i8] c"Could not open file %s.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Enter the word(s) to be written: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [64 x i8], align 16 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.2, ptr noundef @.str) %14 = call i32 @exit(i32 noundef -1) #3 unreachable 15: ; preds = %2 %16 = call i32 @printf(ptr noundef @.str.3) %17 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %18 = call i32 @gets(ptr noundef %17) store i32 0, ptr %8, align 4 br label %19 19: ; preds = %32, %15 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %21 %23 = load i8, ptr %22, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %25, label %35 25: ; preds = %19 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %27 %29 = load i8, ptr %28, align 1 %30 = load ptr, ptr %6, align 8 %31 = call i32 @fputc(i8 noundef signext %29, ptr noundef %30) br label %32 32: ; preds = %25 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 br label %19, !llvm.loop !6 35: ; preds = %19 %36 = load ptr, ptr %6, align 8 %37 = call i32 @fclose(ptr noundef %36) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyktj_wxg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [25 x i8] c"Could not open file %s.\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Enter the word(s) to be written: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [64 x i8], align 16 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.2, ptr noundef @.str) %14 = call i32 @exit(i32 noundef -1) #3 unreachable 15: ; preds = %2 %16 = call i32 @printf(ptr noundef @.str.3) %17 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %18 = call i32 @gets(ptr noundef %17) store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = icmp ne i8 %22, 0 br i1 %23, label %.lr.ph, label %39 .lr.ph: ; preds = %15 br label %24 24: ; preds = %.lr.ph, %31 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = load ptr, ptr %6, align 8 %30 = call i32 @fputc(i8 noundef signext %28, ptr noundef %29) br label %31 31: ; preds = %24 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = icmp ne i8 %37, 0 br i1 %38, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %39 39: ; preds = %._crit_edge, %15 %40 = load ptr, ptr %6, align 8 %41 = call i32 @fclose(ptr noundef %40) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbxsbpc0v.c' source_filename = "/tmp/tmpbxsbpc0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_erf(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i64 @erf(double noundef %3) %5 = load double, ptr %2, align 8 %6 = call i64 @erf(double noundef %5) %7 = icmp ne i64 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @link_failure_erf() br label %10 10: ; preds = %8, %1 ret void } declare i64 @erf(double noundef) #1 declare i32 @link_failure_erf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbxsbpc0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_erf(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i64 @erf(double noundef %3) %5 = load double, ptr %2, align 8 %6 = call i64 @erf(double noundef %5) %7 = icmp ne i64 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @link_failure_erf() br label %10 10: ; preds = %8, %1 ret void } declare i64 @erf(double noundef) #1 declare i32 @link_failure_erf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpec9qkgxx.c' source_filename = "/tmp/tmpec9qkgxx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"read error\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"\0A %.4x| %.2x \00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"\0A %.4x| \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%.2x \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_from_eeprom(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 br label %11 11: ; preds = %4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = call i32 @eeprom_read_byte(ptr noundef %12, i32 noundef %13) store i32 %14, ptr %9, align 4 %15 = icmp slt i32 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @do_die_if(i32 noundef %16, ptr noundef @.str, i32 noundef 127) br label %18 18: ; preds = %11 store i32 1, ptr %10, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %18 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %9, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22, i32 noundef %23) br label %28 25: ; preds = %18 %26 = load i32, ptr %9, align 4 %27 = call i32 @putchar(i32 noundef %26) br label %28 28: ; preds = %25, %21 br label %29 29: ; preds = %67, %28 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %7, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %68 33: ; preds = %29 br label %34 34: ; preds = %33 %35 = load ptr, ptr %5, align 8 %36 = call i32 @eeprom_read_current_byte(ptr noundef %35) store i32 %36, ptr %9, align 4 %37 = icmp slt i32 %36, 0 %38 = zext i1 %37 to i32 %39 = call i32 @do_die_if(i32 noundef %38, ptr noundef @.str, i32 noundef 135) br label %40 40: ; preds = %34 %41 = load i32, ptr %8, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %64 43: ; preds = %40 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %6, align 4 %46 = load i32, ptr %10, align 4 %47 = srem i32 %46, 16 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %43 %50 = load i32, ptr %6, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50) br label %59 52: ; preds = %43 %53 = load i32, ptr %10, align 4 %54 = srem i32 %53, 8 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %52 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %58 58: ; preds = %56, %52 br label %59 59: ; preds = %58, %49 %60 = load i32, ptr %10, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %10, align 4 %62 = load i32, ptr %9, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %62) br label %67 64: ; preds = %40 %65 = load i32, ptr %9, align 4 %66 = call i32 @putchar(i32 noundef %65) br label %67 67: ; preds = %64, %59 br label %29, !llvm.loop !6 68: ; preds = %29 %69 = load i32, ptr %8, align 4 %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %73 71: ; preds = %68 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %73 73: ; preds = %71, %68 %74 = load i32, ptr @stdout, align 4 %75 = call i32 @fflush(i32 noundef %74) ret i32 0 } declare i32 @do_die_if(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @eeprom_read_byte(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @eeprom_read_current_byte(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpec9qkgxx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"read error\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"\0A %.4x| %.2x \00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"\0A %.4x| \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%.2x \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_from_eeprom(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 br label %11 11: ; preds = %4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = call i32 @eeprom_read_byte(ptr noundef %12, i32 noundef %13) store i32 %14, ptr %9, align 4 %15 = icmp slt i32 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @do_die_if(i32 noundef %16, ptr noundef @.str, i32 noundef 127) br label %18 18: ; preds = %11 store i32 1, ptr %10, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %18 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %9, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22, i32 noundef %23) br label %28 25: ; preds = %18 %26 = load i32, ptr %9, align 4 %27 = call i32 @putchar(i32 noundef %26) br label %28 28: ; preds = %25, %21 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %7, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %.lr.ph, label %70 .lr.ph: ; preds = %28 br label %32 32: ; preds = %.lr.ph, %66 br label %33 33: ; preds = %32 %34 = load ptr, ptr %5, align 8 %35 = call i32 @eeprom_read_current_byte(ptr noundef %34) store i32 %35, ptr %9, align 4 %36 = icmp slt i32 %35, 0 %37 = zext i1 %36 to i32 %38 = call i32 @do_die_if(i32 noundef %37, ptr noundef @.str, i32 noundef 135) br label %39 39: ; preds = %33 %40 = load i32, ptr %8, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %63 42: ; preds = %39 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %10, align 4 %46 = srem i32 %45, 16 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %42 %49 = load i32, ptr %6, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %49) br label %58 51: ; preds = %42 %52 = load i32, ptr %10, align 4 %53 = srem i32 %52, 8 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %51 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %57 57: ; preds = %55, %51 br label %58 58: ; preds = %57, %48 %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %9, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %61) br label %66 63: ; preds = %39 %64 = load i32, ptr %9, align 4 %65 = call i32 @putchar(i32 noundef %64) br label %66 66: ; preds = %63, %58 %67 = load i32, ptr %7, align 4 %68 = add nsw i32 %67, -1 store i32 %68, ptr %7, align 4 %69 = icmp ne i32 %68, 0 br i1 %69, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %70 70: ; preds = %._crit_edge, %28 %71 = load i32, ptr %8, align 4 %72 = icmp ne i32 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %70 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %75 75: ; preds = %73, %70 %76 = load i32, ptr @stdout, align 4 %77 = call i32 @fflush(i32 noundef %76) ret i32 0 } declare i32 @do_die_if(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @eeprom_read_byte(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @eeprom_read_current_byte(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpslruwfmv.c' source_filename = "/tmp/tmpslruwfmv.c" target datalayout = "e-m:e-p270: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/tmpslruwfmv.c" target datalayout = "e-m:e-p270: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/tmpdvyr1y7k.c' source_filename = "/tmp/tmpdvyr1y7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_enc_dec_hlp() #0 { %1 = call i32 @op_write1(i32 noundef 53) ret void } declare i32 @op_write1(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/tmpdvyr1y7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_enc_dec_hlp() #0 { %1 = call i32 @op_write1(i32 noundef 53) ret void } declare i32 @op_write1(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/tmpt120fvgr.c' source_filename = "/tmp/tmpt120fvgr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @revnamecmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = call i32 @strcmp(i32 noundef %7, i32 noundef %10) ret i32 %11 } declare i32 @strcmp(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/tmpt120fvgr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @revnamecmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = call i32 @strcmp(i32 noundef %7, i32 noundef %10) ret i32 %11 } declare i32 @strcmp(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/tmpw79_9zq_.c' source_filename = "/tmp/tmpw79_9zq_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"NOT IMPLEMENTED:pa_sample_size_of_format\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_sample_size_of_format() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw79_9zq_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"NOT IMPLEMENTED:pa_sample_size_of_format\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_sample_size_of_format() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6n0nftlj.c' source_filename = "/tmp/tmp6n0nftlj.c" target datalayout = "e-m:e-p270: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/tmp6n0nftlj.c" target datalayout = "e-m:e-p270: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/tmpelnxbite.c' source_filename = "/tmp/tmpelnxbite.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIConfigHB16CSSet(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %3 %12 = load i32, ptr %5, align 4 %13 = shl i32 %12, 2 %14 = add nsw i32 16, %13 store i32 %14, ptr %7, align 4 br label %20 15: ; preds = %3 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %16, 2 %18 = shl i32 %17, 2 %19 = add nsw i32 776, %18 store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %15, %11 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %21, %22 %24 = sext i32 %23 to i64 %25 = inttoptr i64 %24 to ptr %26 = load volatile i32, ptr %25, align 4 %27 = and i32 %26, -3735796 store i32 %27, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %6, align 4 %30 = or i32 %28, %29 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %31, %32 %34 = sext i32 %33 to i64 %35 = inttoptr i64 %34 to ptr store volatile i32 %30, ptr %35, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpelnxbite.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EPIConfigHB16CSSet(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %3 %12 = load i32, ptr %5, align 4 %13 = shl i32 %12, 2 %14 = add nsw i32 16, %13 store i32 %14, ptr %7, align 4 br label %20 15: ; preds = %3 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %16, 2 %18 = shl i32 %17, 2 %19 = add nsw i32 776, %18 store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %15, %11 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %21, %22 %24 = sext i32 %23 to i64 %25 = inttoptr i64 %24 to ptr %26 = load volatile i32, ptr %25, align 4 %27 = and i32 %26, -3735796 store i32 %27, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %6, align 4 %30 = or i32 %28, %29 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %31, %32 %34 = sext i32 %33 to i64 %35 = inttoptr i64 %34 to ptr store volatile i32 %30, ptr %35, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpufc4biir.c' source_filename = "/tmp/tmpufc4biir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\C2\AF\\_(\E3\83\84)_/\C2\AF \00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %9 9: ; preds = %16, %2 %10 = call i32 @printf(ptr noundef @.str) %11 = call ptr (...) @read_line() store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = call ptr @split_line(ptr noundef %12) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = call i32 @execute_commands(ptr noundef %14) store i32 %15, ptr %8, align 4 br label %16 16: ; preds = %9 %17 = load i32, ptr %8, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %9, label %19, !llvm.loop !6 19: ; preds = %16 %20 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %20 } declare i32 @printf(ptr noundef) #1 declare ptr @read_line(...) #1 declare ptr @split_line(ptr noundef) #1 declare i32 @execute_commands(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpufc4biir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\C2\AF\\_(\E3\83\84)_/\C2\AF \00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %9 9: ; preds = %16, %2 %10 = call i32 @printf(ptr noundef @.str) %11 = call ptr (...) @read_line() store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = call ptr @split_line(ptr noundef %12) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = call i32 @execute_commands(ptr noundef %14) store i32 %15, ptr %8, align 4 br label %16 16: ; preds = %9 %17 = load i32, ptr %8, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %9, label %19, !llvm.loop !6 19: ; preds = %16 %20 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %20 } declare i32 @printf(ptr noundef) #1 declare ptr @read_line(...) #1 declare ptr @split_line(ptr noundef) #1 declare i32 @execute_commands(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpcaqx5ahq.c' source_filename = "/tmp/tmpcaqx5ahq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0ANow you C me now you don't\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcaqx5ahq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0ANow you C me now you don't\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi17r77k_.c' source_filename = "/tmp/tmpi17r77k_.c" target datalayout = "e-m:e-p270: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 [362 x i8] c"usage: %s [-f file] [-n] [stream|dgram] port\0A\0AWhere:\0A\09-f Write a line to the file when listening starts.\0A\09-n No peer context will be available therefore send\0A\09 \22nopeer\22 message to client, otherwise the peer context\0A\09 will be retrieved and sent to client.\0A\09stream Use TCP protocol or:\0A\09dgram use UDP protocol.\0A\09port Listening port\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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/tmpi17r77k_.c" target datalayout = "e-m:e-p270: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 [362 x i8] c"usage: %s [-f file] [-n] [stream|dgram] port\0A\0AWhere:\0A\09-f Write a line to the file when listening starts.\0A\09-n No peer context will be available therefore send\0A\09 \22nopeer\22 message to client, otherwise the peer context\0A\09 will be retrieved and sent to client.\0A\09stream Use TCP protocol or:\0A\09dgram use UDP protocol.\0A\09port Listening port\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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/tmpno7isrea.c' source_filename = "/tmp/tmpno7isrea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FUJI\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"baud\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sio_write_cas_header(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %42 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = call i32 @rewind(ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = call i32 @fputs(ptr noundef @.str, ptr noundef %12) %14 = load ptr, ptr %5, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = and i32 %15, 255 %17 = load ptr, ptr %4, align 8 %18 = call i32 @fputc(i32 noundef %16, ptr noundef %17) %19 = load ptr, ptr %5, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = ashr i32 %20, 8 %22 = and i32 %21, 255 %23 = load ptr, ptr %4, align 8 %24 = call i32 @fputc(i32 noundef %22, ptr noundef %23) %25 = load ptr, ptr %4, align 8 %26 = call i32 @fputc(i32 noundef 0, ptr noundef %25) %27 = load ptr, ptr %4, align 8 %28 = call i32 @fputc(i32 noundef 0, ptr noundef %27) %29 = load ptr, ptr %5, align 8 %30 = load ptr, ptr %4, align 8 %31 = call i32 @fputs(ptr noundef %29, ptr noundef %30) %32 = load ptr, ptr %4, align 8 %33 = call i32 @fputs(ptr noundef @.str.1, ptr noundef %32) %34 = load ptr, ptr %4, align 8 %35 = call i32 @fputc(i32 noundef 0, ptr noundef %34) %36 = load ptr, ptr %4, align 8 %37 = call i32 @fputc(i32 noundef 0, ptr noundef %36) %38 = load ptr, ptr %4, align 8 %39 = call i32 @fputc(i32 noundef 88, ptr noundef %38) %40 = load ptr, ptr %4, align 8 %41 = call i32 @fputc(i32 noundef 2, ptr noundef %40) store i32 0, ptr %3, align 4 br label %42 42: ; preds = %9, %8 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @rewind(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpno7isrea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FUJI\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"baud\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sio_write_cas_header(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %42 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = call i32 @rewind(ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = call i32 @fputs(ptr noundef @.str, ptr noundef %12) %14 = load ptr, ptr %5, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = and i32 %15, 255 %17 = load ptr, ptr %4, align 8 %18 = call i32 @fputc(i32 noundef %16, ptr noundef %17) %19 = load ptr, ptr %5, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = ashr i32 %20, 8 %22 = and i32 %21, 255 %23 = load ptr, ptr %4, align 8 %24 = call i32 @fputc(i32 noundef %22, ptr noundef %23) %25 = load ptr, ptr %4, align 8 %26 = call i32 @fputc(i32 noundef 0, ptr noundef %25) %27 = load ptr, ptr %4, align 8 %28 = call i32 @fputc(i32 noundef 0, ptr noundef %27) %29 = load ptr, ptr %5, align 8 %30 = load ptr, ptr %4, align 8 %31 = call i32 @fputs(ptr noundef %29, ptr noundef %30) %32 = load ptr, ptr %4, align 8 %33 = call i32 @fputs(ptr noundef @.str.1, ptr noundef %32) %34 = load ptr, ptr %4, align 8 %35 = call i32 @fputc(i32 noundef 0, ptr noundef %34) %36 = load ptr, ptr %4, align 8 %37 = call i32 @fputc(i32 noundef 0, ptr noundef %36) %38 = load ptr, ptr %4, align 8 %39 = call i32 @fputc(i32 noundef 88, ptr noundef %38) %40 = load ptr, ptr %4, align 8 %41 = call i32 @fputc(i32 noundef 2, ptr noundef %40) store i32 0, ptr %3, align 4 br label %42 42: ; preds = %9, %8 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @rewind(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4kpkn8i1.c' source_filename = "/tmp/tmp4kpkn8i1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"C F\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load i32, ptr %4, align 4 %9 = sitofp i32 %8 to float store float %9, ptr %3, align 4 br label %10 10: ; preds = %15, %0 %11 = load float, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = sitofp i32 %12 to float %14 = fcmp ole float %11, %13 br i1 %14, label %15, label %29 15: ; preds = %10 %16 = load float, ptr %3, align 4 %17 = fpext float %16 to double %18 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %17, double 3.200000e+01) %19 = fptrunc double %18 to float store float %19, ptr %2, align 4 %20 = load float, ptr %3, align 4 %21 = fpext float %20 to double %22 = load float, ptr %2, align 4 %23 = fpext float %22 to double %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %21, double noundef %23) %25 = load float, ptr %3, align 4 %26 = load i32, ptr %6, align 4 %27 = sitofp i32 %26 to float %28 = fadd float %25, %27 store float %28, ptr %3, align 4 br label %10, !llvm.loop !6 29: ; preds = %10 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4kpkn8i1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"C F\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load i32, ptr %4, align 4 %9 = sitofp i32 %8 to float store float %9, ptr %3, align 4 %10 = load float, ptr %3, align 4 %11 = load i32, ptr %5, align 4 %12 = sitofp i32 %11 to float %13 = fcmp ole float %10, %12 br i1 %13, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %14 %15 = load float, ptr %3, align 4 %16 = fpext float %15 to double %17 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %16, double 3.200000e+01) %18 = fptrunc double %17 to float store float %18, ptr %2, align 4 %19 = load float, ptr %3, align 4 %20 = fpext float %19 to double %21 = load float, ptr %2, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %20, double noundef %22) %24 = load float, ptr %3, align 4 %25 = load i32, ptr %6, align 4 %26 = sitofp i32 %25 to float %27 = fadd float %24, %26 store float %27, ptr %3, align 4 %28 = load float, ptr %3, align 4 %29 = load i32, ptr %5, align 4 %30 = sitofp i32 %29 to float %31 = fcmp ole float %28, %30 br i1 %31, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %32 32: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg204ez6k.c' source_filename = "/tmp/tmpg204ez6k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 [3 x [2 x double]], align 16 store i32 0, ptr %1, align 4 store i32 17, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %31, %0 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %9, label %34 9: ; preds = %6 store i32 0, ptr %2, align 4 br label %10 10: ; preds = %27, %9 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %13, label %30 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 %16 = sitofp i32 %15 to double %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 %19 = sitofp i32 %18 to double %20 = fmul double %16, %19 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [3 x [2 x double]], ptr %5, i64 0, i64 %22 %24 = load i32, ptr %2, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [2 x double], ptr %23, i64 0, i64 %25 store double %20, ptr %26, align 8 br label %27 27: ; preds = %13 %28 = load i32, ptr %2, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %2, align 4 br label %10, !llvm.loop !6 30: ; preds = %10 br label %31 31: ; preds = %30 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 br label %6, !llvm.loop !8 34: ; preds = %6 %35 = load i32, ptr %4, align 4 %36 = getelementptr inbounds [3 x [2 x double]], ptr %5, i64 0, i64 0 %37 = call i32 @test_proc_fort_v2(i32 noundef %35, ptr noundef %36) %38 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %38 } declare i32 @test_proc_fort_v2(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg204ez6k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 [3 x [2 x double]], align 16 store i32 0, ptr %1, align 4 store i32 17, ptr %4, align 4 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %.lr.ph2, label %36 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %31 store i32 0, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %.lr.ph, label %30 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %25 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 %14 = sitofp i32 %13 to double %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = sitofp i32 %16 to double %18 = fmul double %14, %17 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [3 x [2 x double]], ptr %5, i64 0, i64 %20 %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 %23 store double %18, ptr %24, align 8 br label %25 25: ; preds = %11 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %2, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %28, 2 br i1 %29, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %8 br label %31 31: ; preds = %30 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %34, 3 br i1 %35, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %36 36: ; preds = %._crit_edge3, %0 %37 = load i32, ptr %4, align 4 %38 = getelementptr inbounds [3 x [2 x double]], ptr %5, i64 0, i64 0 %39 = call i32 @test_proc_fort_v2(i32 noundef %37, ptr noundef %38) %40 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %40 } declare i32 @test_proc_fort_v2(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpid10q330.c' source_filename = "/tmp/tmpid10q330.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pop\09bc\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"push\09hl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @puttos() #0 { %1 = call i32 @ol(ptr noundef @.str) %2 = call i32 @ol(ptr noundef @.str.1) ret void } declare i32 @ol(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpid10q330.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pop\09bc\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"push\09hl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @puttos() #0 { %1 = call i32 @ol(ptr noundef @.str) %2 = call i32 @ol(ptr noundef @.str.1) ret void } declare i32 @ol(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyh282ihn.c' source_filename = "/tmp/tmpyh282ihn.c" target datalayout = "e-m:e-p270: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/tmpyh282ihn.c" target datalayout = "e-m:e-p270: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/tmpnuxykhmh.c' source_filename = "/tmp/tmpnuxykhmh.c" target datalayout = "e-m:e-p270: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/tmpnuxykhmh.c" target datalayout = "e-m:e-p270: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/tmpe9tdeegr.c' source_filename = "/tmp/tmpe9tdeegr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @find_towers(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [6 x i32], align 16 %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 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %136, %3 %13 = load i32, ptr %9, align 4 %14 = icmp slt i32 %13, 6 br i1 %14, label %15, label %139 15: ; preds = %12 %16 = load i32, ptr %9, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %10, align 4 br label %18 18: ; preds = %132, %15 %19 = load i32, ptr %10, align 4 %20 = icmp slt i32 %19, 6 br i1 %20, label %21, label %135 21: ; preds = %18 %22 = load i32, ptr %10, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %11, align 4 br label %24 24: ; preds = %128, %21 %25 = load i32, ptr %11, align 4 %26 = icmp slt i32 %25, 6 br i1 %26, label %27, label %131 27: ; preds = %24 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = add nsw i32 %32, %37 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = add nsw i32 %38, %43 %45 = load i32, ptr %5, align 4 %46 = icmp eq i32 %44, %45 br i1 %46, label %47, label %56 47: ; preds = %27 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %9, align 4 %51 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 0 store i32 %50, ptr %51, align 16 %52 = load i32, ptr %10, align 4 %53 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 1 store i32 %52, ptr %53, align 4 %54 = load i32, ptr %11, align 4 %55 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 2 store i32 %54, ptr %55, align 8 br label %86 56: ; preds = %27 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = load i32, ptr %60, align 4 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %10, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 %66 = load i32, ptr %65, align 4 %67 = add nsw i32 %61, %66 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %11, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 %72 = load i32, ptr %71, align 4 %73 = add nsw i32 %67, %72 %74 = load i32, ptr %6, align 4 %75 = icmp eq i32 %73, %74 br i1 %75, label %76, label %85 76: ; preds = %56 %77 = load i32, ptr %7, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %7, align 4 %79 = load i32, ptr %9, align 4 %80 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 3 store i32 %79, ptr %80, align 4 %81 = load i32, ptr %10, align 4 %82 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 4 store i32 %81, ptr %82, align 16 %83 = load i32, ptr %11, align 4 %84 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 5 store i32 %83, ptr %84, align 4 br label %85 85: ; preds = %76, %56 br label %86 86: ; preds = %85, %47 %87 = load i32, ptr %7, align 4 %88 = icmp eq i32 %87, 2 br i1 %88, label %89, label %127 89: ; preds = %86 %90 = load ptr, ptr %4, align 8 %91 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 0 %92 = load i32, ptr %91, align 16 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %90, i64 %93 %95 = load i32, ptr %94, align 4 %96 = load ptr, ptr %4, align 8 %97 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 1 %98 = load i32, ptr %97, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %96, i64 %99 %101 = load i32, ptr %100, align 4 %102 = load ptr, ptr %4, align 8 %103 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 2 %104 = load i32, ptr %103, align 8 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %102, i64 %105 %107 = load i32, ptr %106, align 4 %108 = load ptr, ptr %4, align 8 %109 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 3 %110 = load i32, ptr %109, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %108, i64 %111 %113 = load i32, ptr %112, align 4 %114 = load ptr, ptr %4, align 8 %115 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 4 %116 = load i32, ptr %115, align 16 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %114, i64 %117 %119 = load i32, ptr %118, align 4 %120 = load ptr, ptr %4, align 8 %121 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 5 %122 = load i32, ptr %121, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %120, i64 %123 %125 = load i32, ptr %124, align 4 %126 = call i32 @printf(ptr noundef @.str, i32 noundef %95, i32 noundef %101, i32 noundef %107, i32 noundef %113, i32 noundef %119, i32 noundef %125) br label %139 127: ; preds = %86 br label %128 128: ; preds = %127 %129 = load i32, ptr %11, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %11, align 4 br label %24, !llvm.loop !6 131: ; preds = %24 br label %132 132: ; preds = %131 %133 = load i32, ptr %10, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %10, align 4 br label %18, !llvm.loop !8 135: ; preds = %18 br label %136 136: ; preds = %135 %137 = load i32, ptr %9, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %9, align 4 br label %12, !llvm.loop !9 139: ; preds = %89, %12 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe9tdeegr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @find_towers(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [6 x i32], align 16 %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 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = icmp slt i32 %12, 6 br i1 %13, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %3 br label %14 14: ; preds = %.lr.ph5, %137 %15 = load i32, ptr %9, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %10, align 4 %17 = load i32, ptr %10, align 4 %18 = icmp slt i32 %17, 6 br i1 %18, label %.lr.ph2, label %136 .lr.ph2: ; preds = %14 br label %19 19: ; preds = %.lr.ph2, %131 %20 = load i32, ptr %10, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %11, align 4 %22 = load i32, ptr %11, align 4 %23 = icmp slt i32 %22, 6 br i1 %23, label %.lr.ph, label %130 .lr.ph: ; preds = %19 br label %24 24: ; preds = %.lr.ph, %125 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = add nsw i32 %29, %34 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %11, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = add nsw i32 %35, %40 %42 = load i32, ptr %5, align 4 %43 = icmp eq i32 %41, %42 br i1 %43, label %44, label %53 44: ; preds = %24 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %9, align 4 %48 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 0 store i32 %47, ptr %48, align 16 %49 = load i32, ptr %10, align 4 %50 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 1 store i32 %49, ptr %50, align 4 %51 = load i32, ptr %11, align 4 %52 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 2 store i32 %51, ptr %52, align 8 br label %83 53: ; preds = %24 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 %58 = load i32, ptr %57, align 4 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %10, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 %64 = add nsw i32 %58, %63 %65 = load ptr, ptr %4, align 8 %66 = load i32, ptr %11, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load i32, ptr %68, align 4 %70 = add nsw i32 %64, %69 %71 = load i32, ptr %6, align 4 %72 = icmp eq i32 %70, %71 br i1 %72, label %73, label %82 73: ; preds = %53 %74 = load i32, ptr %7, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %7, align 4 %76 = load i32, ptr %9, align 4 %77 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 3 store i32 %76, ptr %77, align 4 %78 = load i32, ptr %10, align 4 %79 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 4 store i32 %78, ptr %79, align 16 %80 = load i32, ptr %11, align 4 %81 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 5 store i32 %80, ptr %81, align 4 br label %82 82: ; preds = %73, %53 br label %83 83: ; preds = %82, %44 %84 = load i32, ptr %7, align 4 %85 = icmp eq i32 %84, 2 br i1 %85, label %86, label %124 86: ; preds = %83 %87 = load ptr, ptr %4, align 8 %88 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 0 %89 = load i32, ptr %88, align 16 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %87, i64 %90 %92 = load i32, ptr %91, align 4 %93 = load ptr, ptr %4, align 8 %94 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 1 %95 = load i32, ptr %94, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %93, i64 %96 %98 = load i32, ptr %97, align 4 %99 = load ptr, ptr %4, align 8 %100 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 2 %101 = load i32, ptr %100, align 8 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %99, i64 %102 %104 = load i32, ptr %103, align 4 %105 = load ptr, ptr %4, align 8 %106 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 3 %107 = load i32, ptr %106, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %105, i64 %108 %110 = load i32, ptr %109, align 4 %111 = load ptr, ptr %4, align 8 %112 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 4 %113 = load i32, ptr %112, align 16 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i32, ptr %111, i64 %114 %116 = load i32, ptr %115, align 4 %117 = load ptr, ptr %4, align 8 %118 = getelementptr inbounds [6 x i32], ptr %8, i64 0, i64 5 %119 = load i32, ptr %118, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %117, i64 %120 %122 = load i32, ptr %121, align 4 %123 = call i32 @printf(ptr noundef @.str, i32 noundef %92, i32 noundef %98, i32 noundef %104, i32 noundef %110, i32 noundef %116, i32 noundef %122) br label %142 124: ; preds = %83 br label %125 125: ; preds = %124 %126 = load i32, ptr %11, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %11, align 4 %128 = load i32, ptr %11, align 4 %129 = icmp slt i32 %128, 6 br i1 %129, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %125 br label %130 130: ; preds = %._crit_edge, %19 br label %131 131: ; preds = %130 %132 = load i32, ptr %10, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %10, align 4 %134 = load i32, ptr %10, align 4 %135 = icmp slt i32 %134, 6 br i1 %135, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %131 br label %136 136: ; preds = %._crit_edge3, %14 br label %137 137: ; preds = %136 %138 = load i32, ptr %9, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %9, align 4 %140 = load i32, ptr %9, align 4 %141 = icmp slt i32 %140, 6 br i1 %141, label %14, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %137 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %142 142: ; preds = %.loopexit, %86 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp0dil0ce_.c' source_filename = "/tmp/tmp0dil0ce_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serialport_read_until(i32 noundef %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca [1 x i8], align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i8 %2, ptr %7, align 1 store i32 0, ptr %9, align 4 br label %11 11: ; preds = %32, %3 %12 = load i32, ptr %5, align 4 %13 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 1) store i32 %14, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %18 17: ; preds = %11 store i32 -1, ptr %4, align 4 br label %44 18: ; preds = %11 %19 = load i32, ptr %10, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @usleep(i32 noundef 10000) br label %32 23: ; preds = %18 %24 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 store i8 %25, ptr %29, align 1 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %9, align 4 br label %32 32: ; preds = %23, %21 %33 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = load i8, ptr %7, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %35, %37 br i1 %38, label %11, label %39, !llvm.loop !6 39: ; preds = %32 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 0, ptr %43, align 1 store i32 0, ptr %4, align 4 br label %44 44: ; preds = %39, %17 %45 = load i32, ptr %4, align 4 ret i32 %45 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usleep(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/tmp0dil0ce_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serialport_read_until(i32 noundef %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca [1 x i8], align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i8 %2, ptr %7, align 1 store i32 0, ptr %9, align 4 br label %11 11: ; preds = %32, %3 %12 = load i32, ptr %5, align 4 %13 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 1) store i32 %14, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %18 17: ; preds = %11 store i32 -1, ptr %4, align 4 br label %44 18: ; preds = %11 %19 = load i32, ptr %10, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @usleep(i32 noundef 10000) br label %32 23: ; preds = %18 %24 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 store i8 %25, ptr %29, align 1 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %9, align 4 br label %32 32: ; preds = %23, %21 %33 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = load i8, ptr %7, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %35, %37 br i1 %38, label %11, label %39, !llvm.loop !6 39: ; preds = %32 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 0, ptr %43, align 1 store i32 0, ptr %4, align 4 br label %44 44: ; preds = %39, %17 %45 = load i32, ptr %4, align 4 ret i32 %45 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usleep(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/tmpptgazyxy.c' source_filename = "/tmp/tmpptgazyxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @find_roots_wrapper() ret i32 0 } declare i32 @find_roots_wrapper(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpptgazyxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @find_roots_wrapper() ret i32 0 } declare i32 @find_roots_wrapper(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3y08k82k.c' source_filename = "/tmp/tmp3y08k82k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mm_write_mtx_array_size(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 17, ptr %4, align 4 br label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %15 15: ; preds = %14, %13 %16 = load i32, ptr %4, align 4 ret i32 %16 } declare i32 @fprintf(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/tmp3y08k82k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mm_write_mtx_array_size(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = icmp ne i32 %11, 2 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 17, ptr %4, align 4 br label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %15 15: ; preds = %14, %13 %16 = load i32, ptr %4, align 4 ret i32 %16 } declare i32 @fprintf(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/tmpnf_6eroe.c' source_filename = "/tmp/tmpnf_6eroe.c" target datalayout = "e-m:e-p270: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_storage = type { i64 } %struct.sockaddr_in = type { i32, i32 } %struct.sockaddr_in6 = type { i32, i32 } @AF_INET = dso_local global i64 0, align 8 @AF_INET6 = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @anetTcpAccept(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca %struct.sockaddr_storage, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i32 8, ptr %14, align 4 %17 = load ptr, ptr %7, align 8 %18 = load i32, ptr %8, align 4 %19 = call i32 @anetGenericAccept(ptr noundef %17, i32 noundef %18, ptr noundef %13, ptr noundef %14) store i32 %19, ptr %12, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %22 21: ; preds = %5 store i32 -1, ptr %6, align 4 br label %69 22: ; preds = %5 %23 = getelementptr inbounds %struct.sockaddr_storage, ptr %13, i32 0, i32 0 %24 = load i64, ptr %23, align 8 %25 = load i64, ptr @AF_INET, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %47 27: ; preds = %22 store ptr %13, ptr %15, align 8 %28 = load ptr, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %37 30: ; preds = %27 %31 = load i64, ptr @AF_INET, align 8 %32 = load ptr, ptr %15, align 8 %33 = getelementptr inbounds %struct.sockaddr_in, ptr %32, i32 0, i32 1 %34 = load ptr, ptr %9, align 8 %35 = load i64, ptr %10, align 8 %36 = call i32 @inet_ntop(i64 noundef %31, ptr noundef %33, ptr noundef %34, i64 noundef %35) br label %37 37: ; preds = %30, %27 %38 = load ptr, ptr %11, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %40, label %46 40: ; preds = %37 %41 = load ptr, ptr %15, align 8 %42 = getelementptr inbounds %struct.sockaddr_in, ptr %41, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = call i32 @ntohs(i32 noundef %43) %45 = load ptr, ptr %11, align 8 store i32 %44, ptr %45, align 4 br label %46 46: ; preds = %40, %37 br label %67 47: ; preds = %22 store ptr %13, ptr %16, align 8 %48 = load ptr, ptr %9, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %57 50: ; preds = %47 %51 = load i64, ptr @AF_INET6, align 8 %52 = load ptr, ptr %16, align 8 %53 = getelementptr inbounds %struct.sockaddr_in6, ptr %52, i32 0, i32 1 %54 = load ptr, ptr %9, align 8 %55 = load i64, ptr %10, align 8 %56 = call i32 @inet_ntop(i64 noundef %51, ptr noundef %53, ptr noundef %54, i64 noundef %55) br label %57 57: ; preds = %50, %47 %58 = load ptr, ptr %11, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %60, label %66 60: ; preds = %57 %61 = load ptr, ptr %16, align 8 %62 = getelementptr inbounds %struct.sockaddr_in6, ptr %61, i32 0, i32 0 %63 = load i32, ptr %62, align 4 %64 = call i32 @ntohs(i32 noundef %63) %65 = load ptr, ptr %11, align 8 store i32 %64, ptr %65, align 4 br label %66 66: ; preds = %60, %57 br label %67 67: ; preds = %66, %46 %68 = load i32, ptr %12, align 4 store i32 %68, ptr %6, align 4 br label %69 69: ; preds = %67, %21 %70 = load i32, ptr %6, align 4 ret i32 %70 } declare i32 @anetGenericAccept(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @inet_ntop(i64 noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @ntohs(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/tmpnf_6eroe.c" target datalayout = "e-m:e-p270: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_storage = type { i64 } %struct.sockaddr_in = type { i32, i32 } %struct.sockaddr_in6 = type { i32, i32 } @AF_INET = dso_local global i64 0, align 8 @AF_INET6 = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @anetTcpAccept(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca %struct.sockaddr_storage, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i32 8, ptr %14, align 4 %17 = load ptr, ptr %7, align 8 %18 = load i32, ptr %8, align 4 %19 = call i32 @anetGenericAccept(ptr noundef %17, i32 noundef %18, ptr noundef %13, ptr noundef %14) store i32 %19, ptr %12, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %22 21: ; preds = %5 store i32 -1, ptr %6, align 4 br label %69 22: ; preds = %5 %23 = getelementptr inbounds %struct.sockaddr_storage, ptr %13, i32 0, i32 0 %24 = load i64, ptr %23, align 8 %25 = load i64, ptr @AF_INET, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %47 27: ; preds = %22 store ptr %13, ptr %15, align 8 %28 = load ptr, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %37 30: ; preds = %27 %31 = load i64, ptr @AF_INET, align 8 %32 = load ptr, ptr %15, align 8 %33 = getelementptr inbounds %struct.sockaddr_in, ptr %32, i32 0, i32 1 %34 = load ptr, ptr %9, align 8 %35 = load i64, ptr %10, align 8 %36 = call i32 @inet_ntop(i64 noundef %31, ptr noundef %33, ptr noundef %34, i64 noundef %35) br label %37 37: ; preds = %30, %27 %38 = load ptr, ptr %11, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %40, label %46 40: ; preds = %37 %41 = load ptr, ptr %15, align 8 %42 = getelementptr inbounds %struct.sockaddr_in, ptr %41, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = call i32 @ntohs(i32 noundef %43) %45 = load ptr, ptr %11, align 8 store i32 %44, ptr %45, align 4 br label %46 46: ; preds = %40, %37 br label %67 47: ; preds = %22 store ptr %13, ptr %16, align 8 %48 = load ptr, ptr %9, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %57 50: ; preds = %47 %51 = load i64, ptr @AF_INET6, align 8 %52 = load ptr, ptr %16, align 8 %53 = getelementptr inbounds %struct.sockaddr_in6, ptr %52, i32 0, i32 1 %54 = load ptr, ptr %9, align 8 %55 = load i64, ptr %10, align 8 %56 = call i32 @inet_ntop(i64 noundef %51, ptr noundef %53, ptr noundef %54, i64 noundef %55) br label %57 57: ; preds = %50, %47 %58 = load ptr, ptr %11, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %60, label %66 60: ; preds = %57 %61 = load ptr, ptr %16, align 8 %62 = getelementptr inbounds %struct.sockaddr_in6, ptr %61, i32 0, i32 0 %63 = load i32, ptr %62, align 4 %64 = call i32 @ntohs(i32 noundef %63) %65 = load ptr, ptr %11, align 8 store i32 %64, ptr %65, align 4 br label %66 66: ; preds = %60, %57 br label %67 67: ; preds = %66, %46 %68 = load i32, ptr %12, align 4 store i32 %68, ptr %6, align 4 br label %69 69: ; preds = %67, %21 %70 = load i32, ptr %6, align 4 ret i32 %70 } declare i32 @anetGenericAccept(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @inet_ntop(i64 noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @ntohs(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/tmpinbs5rs8.c' source_filename = "/tmp/tmpinbs5rs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca [50 x i8], align 16 %4 = alloca [50 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %9, align 4 %10 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %13 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0 %14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %13) br label %15 15: ; preds = %51, %0 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %29, label %22 22: ; preds = %15 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br label %29 29: ; preds = %22, %15 %30 = phi i1 [ true, %15 ], [ %28, %22 ] br i1 %30, label %31, label %52 31: ; preds = %29 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %31 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 br label %41 41: ; preds = %38, %31 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %41 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 br label %51 51: ; preds = %48, %41 br label %15, !llvm.loop !6 52: ; preds = %29 store i32 0, ptr %7, align 4 br label %53 53: ; preds = %86, %52 %54 = load i32, ptr %7, align 4 %55 = load i32, ptr %5, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %89 57: ; preds = %53 %58 = load i8, ptr %2, align 1 %59 = sext i8 %58 to i32 %60 = load i32, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp eq i32 %59, %64 br i1 %65, label %73, label %66 66: ; preds = %57 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %79 73: ; preds = %66, %57 %74 = load i32, ptr %9, align 4 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %79 76: ; preds = %73 store i32 1, ptr %9, align 4 %77 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %77) br label %79 79: ; preds = %76, %73, %66 %80 = load i32, ptr %7, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %84) br label %86 86: ; preds = %79 %87 = load i32, ptr %7, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %7, align 4 br label %53, !llvm.loop !8 89: ; preds = %53 ret i32 0 } declare i32 @scanf(ptr noundef, ptr 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpinbs5rs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca [50 x i8], align 16 %4 = alloca [50 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %9, align 4 %10 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %13 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0 %14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %13) br label %15 15: ; preds = %51, %0 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %29, label %22 22: ; preds = %15 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br label %29 29: ; preds = %22, %15 %30 = phi i1 [ true, %15 ], [ %28, %22 ] br i1 %30, label %31, label %52 31: ; preds = %29 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %31 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 br label %41 41: ; preds = %38, %31 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %41 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 br label %51 51: ; preds = %48, %41 br label %15, !llvm.loop !6 52: ; preds = %29 store i32 0, ptr %7, align 4 %53 = load i32, ptr %7, align 4 %54 = load i32, ptr %5, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %.lr.ph, label %91 .lr.ph: ; preds = %52 br label %56 56: ; preds = %.lr.ph, %85 %57 = load i8, ptr %2, align 1 %58 = sext i8 %57 to i32 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %58, %63 br i1 %64, label %72, label %65 65: ; preds = %56 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %78 72: ; preds = %65, %56 %73 = load i32, ptr %9, align 4 %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %72 store i32 1, ptr %9, align 4 %76 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %76) br label %78 78: ; preds = %75, %72, %65 %79 = load i32, ptr %7, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 %80 %82 = load i8, ptr %81, align 1 %83 = sext i8 %82 to i32 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %83) br label %85 85: ; preds = %78 %86 = load i32, ptr %7, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %7, align 4 %88 = load i32, ptr %7, align 4 %89 = load i32, ptr %5, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %56, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %85 br label %91 91: ; preds = %._crit_edge, %52 ret i32 0 } declare i32 @scanf(ptr noundef, ptr 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}
; ModuleID = '/tmp/tmp47ws123q.c' source_filename = "/tmp/tmp47ws123q.c" target datalayout = "e-m:e-p270: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/tmp47ws123q.c" target datalayout = "e-m:e-p270: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/tmp_vv81qxt.c' source_filename = "/tmp/tmp_vv81qxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = 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/tmp_vv81qxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = 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/tmphlbaadqd.c' source_filename = "/tmp/tmphlbaadqd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0xDEADC0DE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @testeHexa(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 = call i64 @strcmp(ptr noundef @.str, ptr noundef %4) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %2, align 4 ret i32 %10 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphlbaadqd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0xDEADC0DE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @testeHexa(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 = call i64 @strcmp(ptr noundef @.str, ptr noundef %4) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %2, align 4 ret i32 %10 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_9allkgj.c' source_filename = "/tmp/tmp_9allkgj.c" target datalayout = "e-m:e-p270: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 [48 x i8] c"usage: gen_laplace_tables <nb entries> <shift>\0A\00", align 1 @.str.1 = private unnamed_addr constant [69 x i8] c"/* This file is auto-generated using \22gen_laplace_tables %d %d\22 */\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"#ifdef HAVE_CONFIG_H\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"#include \22config.h\22\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"#endif\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"#include \22laplace_code.h\22\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [46 x i8] c"const ogg_uint16_t EXP_CDF_TABLE[%d][16] = {\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c" {\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"%5d%s\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.10 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"},\0A\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"}%s\0A\00", align 1 @.str.13 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [43 x i8] c"const ogg_uint16_t LAPLACE_OFFSET[%d] = {\0A\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c" %d%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [16 x float], align 16 %11 = alloca [16 x i32], align 16 %12 = alloca i32, align 4 %13 = alloca [32768 x i32], align 16 %14 = alloca float, align 4 %15 = alloca i32, align 4 %16 = alloca float, align 4 %17 = 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 %18 = load i32, ptr %4, align 4 %19 = icmp ne i32 %18, 3 br i1 %19, label %20, label %23 20: ; preds = %2 %21 = load i32, ptr @stderr, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str) store i32 1, ptr %3, align 4 br label %229 23: ; preds = %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %7, align 4 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) store i32 %31, ptr %8, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %8, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32, i32 noundef %33) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %39 = load i32, ptr %7, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %9, align 4 br label %42 42: ; preds = %54, %23 %43 = load i32, ptr %9, align 4 %44 = icmp slt i32 %43, 16 br i1 %44, label %45, label %57 45: ; preds = %42 %46 = load i32, ptr %9, align 4 %47 = add i32 32753, %46 %48 = load i32, ptr %9, align 4 %49 = add nsw i32 %48, 1 %50 = icmp slt i32 %49, 16 %51 = zext i1 %50 to i64 %52 = select i1 %50, ptr @.str.9, ptr @.str.10 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %47, ptr noundef %52) br label %54 54: ; preds = %45 %55 = load i32, ptr %9, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %9, align 4 br label %42, !llvm.loop !6 57: ; preds = %42 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %59 = getelementptr inbounds [32768 x i32], ptr %13, i64 0, i64 0 store i32 1, ptr %59, align 16 %60 = getelementptr inbounds [32768 x i32], ptr %13, i64 0, i64 0 store i32 0, ptr %60, align 16 store i32 1, ptr %6, align 4 br label %61 61: ; preds = %200, %57 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %7, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %65, label %203 65: ; preds = %61 %66 = load i32, ptr %6, align 4 %67 = sitofp i32 %66 to float %68 = load i32, ptr %8, align 4 %69 = shl i32 1, %68 %70 = sitofp i32 %69 to float %71 = fdiv float %67, %70 store float %71, ptr %14, align 4 %72 = load float, ptr %14, align 4 %73 = fsub float 1.000000e+00, %72 %74 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 store float %73, ptr %74, align 16 store i32 1, ptr %9, align 4 br label %75 75: ; preds = %89, %65 %76 = load i32, ptr %9, align 4 %77 = icmp slt i32 %76, 15 br i1 %77, label %78, label %92 78: ; preds = %75 %79 = load float, ptr %14, align 4 %80 = fsub float 1.000000e+00, %79 %81 = load float, ptr %14, align 4 %82 = load i32, ptr %9, align 4 %83 = call i32 @pow(float noundef %81, i32 noundef %82) %84 = sitofp i32 %83 to float %85 = fmul float %80, %84 %86 = load i32, ptr %9, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %87 store float %85, ptr %88, align 4 br label %89 89: ; preds = %78 %90 = load i32, ptr %9, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %9, align 4 br label %75, !llvm.loop !8 92: ; preds = %75 %93 = load float, ptr %14, align 4 %94 = call i32 @pow(float noundef %93, i32 noundef 15) %95 = sitofp i32 %94 to float %96 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 15 store float %95, ptr %96, align 4 %97 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 %98 = load float, ptr %97, align 16 %99 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 %100 = load float, ptr %99, align 16 %101 = load float, ptr %14, align 4 %102 = call i32 @sqrt(float noundef %101) %103 = sitofp i32 %102 to float %104 = fmul float %100, %103 %105 = load float, ptr %14, align 4 %106 = call i32 @sqrt(float noundef %105) %107 = add nsw i32 1, %106 %108 = sitofp i32 %107 to float %109 = fdiv float %104, %108 %110 = fsub float %98, %109 %111 = fmul float 3.276800e+04, %110 %112 = fptosi float %111 to i32 %113 = load i32, ptr %6, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [32768 x i32], ptr %13, i64 0, i64 %114 store i32 %112, ptr %115, align 4 store i32 0, ptr %12, align 4 store float 0.000000e+00, ptr %16, align 4 store i32 0, ptr %17, align 4 store i32 0, ptr %9, align 4 br label %116 116: ; preds = %160, %92 %117 = load i32, ptr %9, align 4 %118 = icmp slt i32 %117, 16 br i1 %118, label %119, label %163 119: ; preds = %116 %120 = load i32, ptr %9, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %121 %123 = load float, ptr %122, align 4 %124 = load float, ptr %16, align 4 %125 = fcmp ogt float %123, %124 br i1 %125, label %126, label %132 126: ; preds = %119 %127 = load i32, ptr %9, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %128 %130 = load float, ptr %129, align 4 store float %130, ptr %16, align 4 %131 = load i32, ptr %9, align 4 store i32 %131, ptr %17, align 4 br label %132 132: ; preds = %126, %119 %133 = load i32, ptr %9, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %134 %136 = load float, ptr %135, align 4 %137 = fmul float 3.276800e+04, %136 %138 = fpext float %137 to double %139 = fadd double 5.000000e-01, %138 %140 = call i32 @floor(double noundef %139) %141 = load i32, ptr %9, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %142 store i32 %140, ptr %143, align 4 %144 = load i32, ptr %9, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %145 %147 = load i32, ptr %146, align 4 %148 = icmp eq i32 %147, 0 br i1 %148, label %149, label %153 149: ; preds = %132 %150 = load i32, ptr %9, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %151 store i32 1, ptr %152, align 4 br label %153 153: ; preds = %149, %132 %154 = load i32, ptr %9, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %155 %157 = load i32, ptr %156, align 4 %158 = load i32, ptr %12, align 4 %159 = add nsw i32 %158, %157 store i32 %159, ptr %12, align 4 br label %160 160: ; preds = %153 %161 = load i32, ptr %9, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %9, align 4 br label %116, !llvm.loop !9 163: ; preds = %116 %164 = load i32, ptr %12, align 4 %165 = sub nsw i32 32768, %164 %166 = load i32, ptr %17, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %167 %169 = load i32, ptr %168, align 4 %170 = add nsw i32 %169, %165 store i32 %170, ptr %168, align 4 store i32 0, ptr %15, align 4 %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %9, align 4 br label %172 172: ; preds = %189, %163 %173 = load i32, ptr %9, align 4 %174 = icmp slt i32 %173, 16 br i1 %174, label %175, label %192 175: ; preds = %172 %176 = load i32, ptr %9, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %177 %179 = load i32, ptr %178, align 4 %180 = load i32, ptr %15, align 4 %181 = add nsw i32 %180, %179 store i32 %181, ptr %15, align 4 %182 = load i32, ptr %15, align 4 %183 = load i32, ptr %9, align 4 %184 = add nsw i32 %183, 1 %185 = icmp slt i32 %184, 16 %186 = zext i1 %185 to i64 %187 = select i1 %185, ptr @.str.9, ptr @.str.10 %188 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %182, ptr noundef %187) br label %189 189: ; preds = %175 %190 = load i32, ptr %9, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %9, align 4 br label %172, !llvm.loop !10 192: ; preds = %172 %193 = load i32, ptr %6, align 4 %194 = add nsw i32 %193, 1 %195 = load i32, ptr %7, align 4 %196 = icmp sle i32 %194, %195 %197 = zext i1 %196 to i64 %198 = select i1 %196, ptr @.str.9, ptr @.str.10 %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %198) br label %200 200: ; preds = %192 %201 = load i32, ptr %6, align 4 %202 = add nsw i32 %201, 1 store i32 %202, ptr %6, align 4 br label %61, !llvm.loop !11 203: ; preds = %61 %204 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %206 = load i32, ptr %7, align 4 %207 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %206) store i32 0, ptr %6, align 4 br label %208 208: ; preds = %224, %203 %209 = load i32, ptr %6, align 4 %210 = load i32, ptr %7, align 4 %211 = icmp slt i32 %209, %210 br i1 %211, label %212, label %227 212: ; preds = %208 %213 = load i32, ptr %6, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds [32768 x i32], ptr %13, i64 0, i64 %214 %216 = load i32, ptr %215, align 4 %217 = load i32, ptr %6, align 4 %218 = add nsw i32 %217, 1 %219 = load i32, ptr %7, align 4 %220 = icmp sle i32 %218, %219 %221 = zext i1 %220 to i64 %222 = select i1 %220, ptr @.str.9, ptr @.str.10 %223 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %216, ptr noundef %222) br label %224 224: ; preds = %212 %225 = load i32, ptr %6, align 4 %226 = add nsw i32 %225, 1 store i32 %226, ptr %6, align 4 br label %208, !llvm.loop !12 227: ; preds = %208 %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) store i32 0, ptr %3, align 4 br label %229 229: ; preds = %227, %20 %230 = load i32, ptr %3, align 4 ret i32 %230 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @pow(float noundef, i32 noundef) #1 declare i32 @sqrt(float noundef) #1 declare i32 @floor(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !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/tmp_9allkgj.c" target datalayout = "e-m:e-p270: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 [48 x i8] c"usage: gen_laplace_tables <nb entries> <shift>\0A\00", align 1 @.str.1 = private unnamed_addr constant [69 x i8] c"/* This file is auto-generated using \22gen_laplace_tables %d %d\22 */\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"#ifdef HAVE_CONFIG_H\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"#include \22config.h\22\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"#endif\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"#include \22laplace_code.h\22\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [46 x i8] c"const ogg_uint16_t EXP_CDF_TABLE[%d][16] = {\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c" {\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"%5d%s\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.10 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"},\0A\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"}%s\0A\00", align 1 @.str.13 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [43 x i8] c"const ogg_uint16_t LAPLACE_OFFSET[%d] = {\0A\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c" %d%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [16 x float], align 16 %11 = alloca [16 x i32], align 16 %12 = alloca i32, align 4 %13 = alloca [32768 x i32], align 16 %14 = alloca float, align 4 %15 = alloca i32, align 4 %16 = alloca float, align 4 %17 = 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 %18 = load i32, ptr %4, align 4 %19 = icmp ne i32 %18, 3 br i1 %19, label %20, label %23 20: ; preds = %2 %21 = load i32, ptr @stderr, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str) store i32 1, ptr %3, align 4 br label %237 23: ; preds = %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %7, align 4 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) store i32 %31, ptr %8, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %8, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32, i32 noundef %33) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %39 = load i32, ptr %7, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp slt i32 %42, 16 br i1 %43, label %.lr.ph, label %58 .lr.ph: ; preds = %23 br label %44 44: ; preds = %.lr.ph, %53 %45 = load i32, ptr %9, align 4 %46 = add i32 32753, %45 %47 = load i32, ptr %9, align 4 %48 = add nsw i32 %47, 1 %49 = icmp slt i32 %48, 16 %50 = zext i1 %49 to i64 %51 = select i1 %49, ptr @.str.9, ptr @.str.10 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %46, ptr noundef %51) br label %53 53: ; preds = %44 %54 = load i32, ptr %9, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %9, align 4 %56 = load i32, ptr %9, align 4 %57 = icmp slt i32 %56, 16 br i1 %57, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %58 58: ; preds = %._crit_edge, %23 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %60 = getelementptr inbounds [32768 x i32], ptr %13, i64 0, i64 0 store i32 1, ptr %60, align 16 %61 = getelementptr inbounds [32768 x i32], ptr %13, i64 0, i64 0 store i32 0, ptr %61, align 16 store i32 1, ptr %6, align 4 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %7, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %.lr.ph11, label %209 .lr.ph11: ; preds = %58 br label %65 65: ; preds = %.lr.ph11, %203 %66 = load i32, ptr %6, align 4 %67 = sitofp i32 %66 to float %68 = load i32, ptr %8, align 4 %69 = shl i32 1, %68 %70 = sitofp i32 %69 to float %71 = fdiv float %67, %70 store float %71, ptr %14, align 4 %72 = load float, ptr %14, align 4 %73 = fsub float 1.000000e+00, %72 %74 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 store float %73, ptr %74, align 16 store i32 1, ptr %9, align 4 %75 = load i32, ptr %9, align 4 %76 = icmp slt i32 %75, 15 br i1 %76, label %.lr.ph2, label %93 .lr.ph2: ; preds = %65 br label %77 77: ; preds = %.lr.ph2, %88 %78 = load float, ptr %14, align 4 %79 = fsub float 1.000000e+00, %78 %80 = load float, ptr %14, align 4 %81 = load i32, ptr %9, align 4 %82 = call i32 @pow(float noundef %80, i32 noundef %81) %83 = sitofp i32 %82 to float %84 = fmul float %79, %83 %85 = load i32, ptr %9, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %86 store float %84, ptr %87, align 4 br label %88 88: ; preds = %77 %89 = load i32, ptr %9, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %9, align 4 %91 = load i32, ptr %9, align 4 %92 = icmp slt i32 %91, 15 br i1 %92, label %77, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %88 br label %93 93: ; preds = %._crit_edge3, %65 %94 = load float, ptr %14, align 4 %95 = call i32 @pow(float noundef %94, i32 noundef 15) %96 = sitofp i32 %95 to float %97 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 15 store float %96, ptr %97, align 4 %98 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 %99 = load float, ptr %98, align 16 %100 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 %101 = load float, ptr %100, align 16 %102 = load float, ptr %14, align 4 %103 = call i32 @sqrt(float noundef %102) %104 = sitofp i32 %103 to float %105 = fmul float %101, %104 %106 = load float, ptr %14, align 4 %107 = call i32 @sqrt(float noundef %106) %108 = add nsw i32 1, %107 %109 = sitofp i32 %108 to float %110 = fdiv float %105, %109 %111 = fsub float %99, %110 %112 = fmul float 3.276800e+04, %111 %113 = fptosi float %112 to i32 %114 = load i32, ptr %6, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [32768 x i32], ptr %13, i64 0, i64 %115 store i32 %113, ptr %116, align 4 store i32 0, ptr %12, align 4 store float 0.000000e+00, ptr %16, align 4 store i32 0, ptr %17, align 4 store i32 0, ptr %9, align 4 %117 = load i32, ptr %9, align 4 %118 = icmp slt i32 %117, 16 br i1 %118, label %.lr.ph5, label %165 .lr.ph5: ; preds = %93 br label %119 119: ; preds = %.lr.ph5, %160 %120 = load i32, ptr %9, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %121 %123 = load float, ptr %122, align 4 %124 = load float, ptr %16, align 4 %125 = fcmp ogt float %123, %124 br i1 %125, label %126, label %132 126: ; preds = %119 %127 = load i32, ptr %9, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %128 %130 = load float, ptr %129, align 4 store float %130, ptr %16, align 4 %131 = load i32, ptr %9, align 4 store i32 %131, ptr %17, align 4 br label %132 132: ; preds = %126, %119 %133 = load i32, ptr %9, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %134 %136 = load float, ptr %135, align 4 %137 = fmul float 3.276800e+04, %136 %138 = fpext float %137 to double %139 = fadd double 5.000000e-01, %138 %140 = call i32 @floor(double noundef %139) %141 = load i32, ptr %9, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %142 store i32 %140, ptr %143, align 4 %144 = load i32, ptr %9, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %145 %147 = load i32, ptr %146, align 4 %148 = icmp eq i32 %147, 0 br i1 %148, label %149, label %153 149: ; preds = %132 %150 = load i32, ptr %9, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %151 store i32 1, ptr %152, align 4 br label %153 153: ; preds = %149, %132 %154 = load i32, ptr %9, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %155 %157 = load i32, ptr %156, align 4 %158 = load i32, ptr %12, align 4 %159 = add nsw i32 %158, %157 store i32 %159, ptr %12, align 4 br label %160 160: ; preds = %153 %161 = load i32, ptr %9, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %9, align 4 %163 = load i32, ptr %9, align 4 %164 = icmp slt i32 %163, 16 br i1 %164, label %119, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %160 br label %165 165: ; preds = %._crit_edge6, %93 %166 = load i32, ptr %12, align 4 %167 = sub nsw i32 32768, %166 %168 = load i32, ptr %17, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %169 %171 = load i32, ptr %170, align 4 %172 = add nsw i32 %171, %167 store i32 %172, ptr %170, align 4 store i32 0, ptr %15, align 4 %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %9, align 4 %174 = load i32, ptr %9, align 4 %175 = icmp slt i32 %174, 16 br i1 %175, label %.lr.ph8, label %195 .lr.ph8: ; preds = %165 br label %176 176: ; preds = %.lr.ph8, %190 %177 = load i32, ptr %9, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %178 %180 = load i32, ptr %179, align 4 %181 = load i32, ptr %15, align 4 %182 = add nsw i32 %181, %180 store i32 %182, ptr %15, align 4 %183 = load i32, ptr %15, align 4 %184 = load i32, ptr %9, align 4 %185 = add nsw i32 %184, 1 %186 = icmp slt i32 %185, 16 %187 = zext i1 %186 to i64 %188 = select i1 %186, ptr @.str.9, ptr @.str.10 %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %183, ptr noundef %188) br label %190 190: ; preds = %176 %191 = load i32, ptr %9, align 4 %192 = add nsw i32 %191, 1 store i32 %192, ptr %9, align 4 %193 = load i32, ptr %9, align 4 %194 = icmp slt i32 %193, 16 br i1 %194, label %176, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %190 br label %195 195: ; preds = %._crit_edge9, %165 %196 = load i32, ptr %6, align 4 %197 = add nsw i32 %196, 1 %198 = load i32, ptr %7, align 4 %199 = icmp sle i32 %197, %198 %200 = zext i1 %199 to i64 %201 = select i1 %199, ptr @.str.9, ptr @.str.10 %202 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %201) br label %203 203: ; preds = %195 %204 = load i32, ptr %6, align 4 %205 = add nsw i32 %204, 1 store i32 %205, ptr %6, align 4 %206 = load i32, ptr %6, align 4 %207 = load i32, ptr %7, align 4 %208 = icmp slt i32 %206, %207 br i1 %208, label %65, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %203 br label %209 209: ; preds = %._crit_edge12, %58 %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %212 = load i32, ptr %7, align 4 %213 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %212) store i32 0, ptr %6, align 4 %214 = load i32, ptr %6, align 4 %215 = load i32, ptr %7, align 4 %216 = icmp slt i32 %214, %215 br i1 %216, label %.lr.ph14, label %235 .lr.ph14: ; preds = %209 br label %217 217: ; preds = %.lr.ph14, %229 %218 = load i32, ptr %6, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds [32768 x i32], ptr %13, i64 0, i64 %219 %221 = load i32, ptr %220, align 4 %222 = load i32, ptr %6, align 4 %223 = add nsw i32 %222, 1 %224 = load i32, ptr %7, align 4 %225 = icmp sle i32 %223, %224 %226 = zext i1 %225 to i64 %227 = select i1 %225, ptr @.str.9, ptr @.str.10 %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %221, ptr noundef %227) br label %229 229: ; preds = %217 %230 = load i32, ptr %6, align 4 %231 = add nsw i32 %230, 1 store i32 %231, ptr %6, align 4 %232 = load i32, ptr %6, align 4 %233 = load i32, ptr %7, align 4 %234 = icmp slt i32 %232, %233 br i1 %234, label %217, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %229 br label %235 235: ; preds = %._crit_edge15, %209 %236 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) store i32 0, ptr %3, align 4 br label %237 237: ; preds = %235, %20 %238 = load i32, ptr %3, align 4 ret i32 %238 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @pow(float noundef, i32 noundef) #1 declare i32 @sqrt(float noundef) #1 declare i32 @floor(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpl88iar5n.c' source_filename = "/tmp/tmpl88iar5n.c" target datalayout = "e-m:e-p270: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 [5 x i8] c"%lf\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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 100, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i32 @atoi(ptr noundef %15) store i32 %16, ptr %6, align 4 br label %17 17: ; preds = %12, %2 %18 = load i32, ptr %6, align 4 %19 = sdiv i32 %18, 2 %20 = mul nsw i32 %19, 2 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = call ptr @mm_gen(i32 noundef %21) store ptr %22, ptr %7, align 8 %23 = load i32, ptr %6, align 4 %24 = call ptr @mm_gen(i32 noundef %23) store ptr %24, ptr %8, align 8 %25 = load i32, ptr %6, align 4 %26 = load ptr, ptr %7, align 8 %27 = load ptr, ptr %8, align 8 %28 = call ptr @mm_mul(i32 noundef %25, ptr noundef %26, ptr noundef %27) store ptr %28, ptr %9, align 8 %29 = load i32, ptr @stderr, align 4 %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr %6, align 4 %32 = sdiv i32 %31, 2 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %30, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %6, align 4 %37 = sdiv i32 %36, 2 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %35, i64 %38 %40 = load double, ptr %39, align 8 %41 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, double noundef %40) %42 = load i32, ptr %6, align 4 %43 = load ptr, ptr %7, align 8 %44 = call i32 @mm_destroy(i32 noundef %42, ptr noundef %43) %45 = load i32, ptr %6, align 4 %46 = load ptr, ptr %8, align 8 %47 = call i32 @mm_destroy(i32 noundef %45, ptr noundef %46) %48 = load i32, ptr %6, align 4 %49 = load ptr, ptr %9, align 8 %50 = call i32 @mm_destroy(i32 noundef %48, ptr noundef %49) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare ptr @mm_gen(i32 noundef) #1 declare ptr @mm_mul(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, double noundef) #1 declare i32 @mm_destroy(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/tmpl88iar5n.c" target datalayout = "e-m:e-p270: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 [5 x i8] c"%lf\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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 100, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i32 @atoi(ptr noundef %15) store i32 %16, ptr %6, align 4 br label %17 17: ; preds = %12, %2 %18 = load i32, ptr %6, align 4 %19 = sdiv i32 %18, 2 %20 = mul nsw i32 %19, 2 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = call ptr @mm_gen(i32 noundef %21) store ptr %22, ptr %7, align 8 %23 = load i32, ptr %6, align 4 %24 = call ptr @mm_gen(i32 noundef %23) store ptr %24, ptr %8, align 8 %25 = load i32, ptr %6, align 4 %26 = load ptr, ptr %7, align 8 %27 = load ptr, ptr %8, align 8 %28 = call ptr @mm_mul(i32 noundef %25, ptr noundef %26, ptr noundef %27) store ptr %28, ptr %9, align 8 %29 = load i32, ptr @stderr, align 4 %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr %6, align 4 %32 = sdiv i32 %31, 2 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %30, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %6, align 4 %37 = sdiv i32 %36, 2 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %35, i64 %38 %40 = load double, ptr %39, align 8 %41 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, double noundef %40) %42 = load i32, ptr %6, align 4 %43 = load ptr, ptr %7, align 8 %44 = call i32 @mm_destroy(i32 noundef %42, ptr noundef %43) %45 = load i32, ptr %6, align 4 %46 = load ptr, ptr %8, align 8 %47 = call i32 @mm_destroy(i32 noundef %45, ptr noundef %46) %48 = load i32, ptr %6, align 4 %49 = load ptr, ptr %9, align 8 %50 = call i32 @mm_destroy(i32 noundef %48, ptr noundef %49) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare ptr @mm_gen(i32 noundef) #1 declare ptr @mm_mul(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, double noundef) #1 declare i32 @mm_destroy(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/tmpr__aai4k.c' source_filename = "/tmp/tmpr__aai4k.c" target datalayout = "e-m:e-p270: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/tmpr__aai4k.c" target datalayout = "e-m:e-p270: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/tmpsc9s5sqx.c' source_filename = "/tmp/tmpsc9s5sqx.c" target datalayout = "e-m:e-p270: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/tmpsc9s5sqx.c" target datalayout = "e-m:e-p270: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/tmpiwl5uuvc.c' source_filename = "/tmp/tmpiwl5uuvc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Campos Verdes\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = call ptr @malloc(i64 noundef %7) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %2, align 8 %11 = call ptr @voltea_string(ptr noundef %10) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12) %14 = load ptr, ptr %4, align 8 %15 = call i32 @free(ptr noundef %14) ret i32 0 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @voltea_string(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiwl5uuvc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Campos Verdes\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = call ptr @malloc(i64 noundef %7) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %2, align 8 %11 = call ptr @voltea_string(ptr noundef %10) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12) %14 = load ptr, ptr %4, align 8 %15 = call i32 @free(ptr noundef %14) ret i32 0 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @voltea_string(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7udb17b0.c' source_filename = "/tmp/tmp7udb17b0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_delj(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %16 = load i32, ptr %12, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %33, label %18 18: ; preds = %6 store i32 0, ptr %13, align 4 br label %19 19: ; preds = %29, %18 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr %10, align 4 %22 = sub nsw i32 %21, 1 %23 = icmp slt i32 %20, %22 br i1 %23, label %24, label %32 24: ; preds = %19 %25 = load ptr, ptr %11, align 8 %26 = load i32, ptr %13, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 store double 5.000000e-01, ptr %28, align 8 br label %29 29: ; preds = %24 %30 = load i32, ptr %13, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %13, align 4 br label %19, !llvm.loop !6 32: ; preds = %19 br label %102 33: ; preds = %6 store i32 0, ptr %13, align 4 br label %34 34: ; preds = %99, %33 %35 = load i32, ptr %13, align 4 %36 = load i32, ptr %10, align 4 %37 = sub nsw i32 %36, 1 %38 = icmp slt i32 %35, %37 br i1 %38, label %39, label %102 39: ; preds = %34 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %13, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %40, i64 %42 %44 = load double, ptr %43, align 8 %45 = fmul double 2.000000e+00, %44 %46 = load ptr, ptr %7, align 8 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %46, i64 %48 %50 = load double, ptr %49, align 8 %51 = fmul double %45, %50 store double %51, ptr %14, align 8 %52 = load double, ptr %14, align 8 %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %13, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 %57 = load double, ptr %56, align 8 %58 = fdiv double %52, %57 %59 = call double @exp(double noundef %58) #3 store double %59, ptr %15, align 8 %60 = load double, ptr %15, align 8 %61 = fcmp une double %60, 1.000000e+00 br i1 %61, label %62, label %93 62: ; preds = %39 %63 = load double, ptr %14, align 8 %64 = fcmp une double %63, 0.000000e+00 br i1 %64, label %65, label %93 65: ; preds = %62 %66 = load double, ptr %15, align 8 %67 = fneg double %66 %68 = load double, ptr %14, align 8 %69 = load double, ptr %15, align 8 %70 = load ptr, ptr %9, align 8 %71 = load i32, ptr %13, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 %74 = load double, ptr %73, align 8 %75 = fmul double %69, %74 %76 = call double @llvm.fmuladd.f64(double %67, double %68, double %75) %77 = load ptr, ptr %9, align 8 %78 = load i32, ptr %13, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %77, i64 %79 %81 = load double, ptr %80, align 8 %82 = fsub double %76, %81 %83 = load double, ptr %14, align 8 %84 = load double, ptr %15, align 8 %85 = load double, ptr %14, align 8 %86 = fneg double %84 %87 = call double @llvm.fmuladd.f64(double %86, double %85, double %83) %88 = fdiv double %82, %87 %89 = load ptr, ptr %11, align 8 %90 = load i32, ptr %13, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %89, i64 %91 store double %88, ptr %92, align 8 br label %98 93: ; preds = %62, %39 %94 = load ptr, ptr %11, align 8 %95 = load i32, ptr %13, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 store double 5.000000e-01, ptr %97, align 8 br label %98 98: ; preds = %93, %65 br label %99 99: ; preds = %98 %100 = load i32, ptr %13, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %13, align 4 br label %34, !llvm.loop !8 102: ; preds = %32, %34 ret void } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7udb17b0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compute_delj(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 %16 = load i32, ptr %12, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %36, label %18 18: ; preds = %6 store i32 0, ptr %13, align 4 %19 = load i32, ptr %13, align 4 %20 = load i32, ptr %10, align 4 %21 = sub nsw i32 %20, 1 %22 = icmp slt i32 %19, %21 br i1 %22, label %.lr.ph, label %35 .lr.ph: ; preds = %18 br label %23 23: ; preds = %.lr.ph, %28 %24 = load ptr, ptr %11, align 8 %25 = load i32, ptr %13, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %24, i64 %26 store double 5.000000e-01, ptr %27, align 8 br label %28 28: ; preds = %23 %29 = load i32, ptr %13, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %13, align 4 %31 = load i32, ptr %13, align 4 %32 = load i32, ptr %10, align 4 %33 = sub nsw i32 %32, 1 %34 = icmp slt i32 %31, %33 br i1 %34, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %35 35: ; preds = %._crit_edge, %18 br label %108 36: ; preds = %6 store i32 0, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = load i32, ptr %10, align 4 %39 = sub nsw i32 %38, 1 %40 = icmp slt i32 %37, %39 br i1 %40, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %36 br label %41 41: ; preds = %.lr.ph2, %101 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %13, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %42, i64 %44 %46 = load double, ptr %45, align 8 %47 = fmul double 2.000000e+00, %46 %48 = load ptr, ptr %7, align 8 %49 = load i32, ptr %13, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %48, i64 %50 %52 = load double, ptr %51, align 8 %53 = fmul double %47, %52 store double %53, ptr %14, align 8 %54 = load double, ptr %14, align 8 %55 = load ptr, ptr %9, align 8 %56 = load i32, ptr %13, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds double, ptr %55, i64 %57 %59 = load double, ptr %58, align 8 %60 = fdiv double %54, %59 %61 = call double @exp(double noundef %60) #3 store double %61, ptr %15, align 8 %62 = load double, ptr %15, align 8 %63 = fcmp une double %62, 1.000000e+00 br i1 %63, label %64, label %95 64: ; preds = %41 %65 = load double, ptr %14, align 8 %66 = fcmp une double %65, 0.000000e+00 br i1 %66, label %67, label %95 67: ; preds = %64 %68 = load double, ptr %15, align 8 %69 = fneg double %68 %70 = load double, ptr %14, align 8 %71 = load double, ptr %15, align 8 %72 = load ptr, ptr %9, align 8 %73 = load i32, ptr %13, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %72, i64 %74 %76 = load double, ptr %75, align 8 %77 = fmul double %71, %76 %78 = call double @llvm.fmuladd.f64(double %69, double %70, double %77) %79 = load ptr, ptr %9, align 8 %80 = load i32, ptr %13, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %79, i64 %81 %83 = load double, ptr %82, align 8 %84 = fsub double %78, %83 %85 = load double, ptr %14, align 8 %86 = load double, ptr %15, align 8 %87 = load double, ptr %14, align 8 %88 = fneg double %86 %89 = call double @llvm.fmuladd.f64(double %88, double %87, double %85) %90 = fdiv double %84, %89 %91 = load ptr, ptr %11, align 8 %92 = load i32, ptr %13, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %91, i64 %93 store double %90, ptr %94, align 8 br label %100 95: ; preds = %64, %41 %96 = load ptr, ptr %11, align 8 %97 = load i32, ptr %13, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds double, ptr %96, i64 %98 store double 5.000000e-01, ptr %99, align 8 br label %100 100: ; preds = %95, %67 br label %101 101: ; preds = %100 %102 = load i32, ptr %13, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %13, align 4 %104 = load i32, ptr %13, align 4 %105 = load i32, ptr %10, align 4 %106 = sub nsw i32 %105, 1 %107 = icmp slt i32 %104, %106 br i1 %107, label %41, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %101 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %36 br label %108 108: ; preds = %.loopexit, %35 ret void } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpcf2p5grk.c' source_filename = "/tmp/tmpcf2p5grk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Starting serial version of wave equation...\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"Initializing points on the line...\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"Updating all points for all time steps...\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Printing final results...\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"\0ADone.\0A\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 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 (...) @init_param() %7 = call i32 @printf(ptr noundef @.str.1) %8 = call i32 (...) @init_line() %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 (...) @update() %11 = call i32 @printf(ptr noundef @.str.3) %12 = call i32 (...) @printfinal() %13 = call i32 @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @init_param(...) #1 declare i32 @init_line(...) #1 declare i32 @update(...) #1 declare i32 @printfinal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcf2p5grk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Starting serial version of wave equation...\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"Initializing points on the line...\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"Updating all points for all time steps...\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Printing final results...\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"\0ADone.\0A\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 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 (...) @init_param() %7 = call i32 @printf(ptr noundef @.str.1) %8 = call i32 (...) @init_line() %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 (...) @update() %11 = call i32 @printf(ptr noundef @.str.3) %12 = call i32 (...) @printfinal() %13 = call i32 @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @init_param(...) #1 declare i32 @init_line(...) #1 declare i32 @update(...) #1 declare i32 @printfinal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg78i671p.c' source_filename = "/tmp/tmpg78i671p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_LINES = 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/tmpg78i671p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_LINES = 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/tmpxkyxrj56.c' source_filename = "/tmp/tmpxkyxrj56.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { i32 } @TRUE = dso_local global i32 0, align 4 @FALSE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_float(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %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 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 switch i32 %10, label %29 [ i32 129, label %11 i32 130, label %17 i32 128, label %27 ] 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = sext i32 %13 to i64 store i64 %14, ptr %6, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @XDR_PUTLONG(ptr noundef %15, ptr noundef %6) store i32 %16, ptr %3, align 4 br label %31 17: ; preds = %2 %18 = load ptr, ptr %4, align 8 %19 = call i32 @XDR_GETLONG(ptr noundef %18, ptr noundef %7) %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load i64, ptr %7, align 8 %23 = trunc i64 %22 to i32 %24 = load ptr, ptr %5, align 8 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @TRUE, align 4 store i32 %25, ptr %3, align 4 br label %31 26: ; preds = %17 br label %29 27: ; preds = %2 %28 = load i32, ptr @TRUE, align 4 store i32 %28, ptr %3, align 4 br label %31 29: ; preds = %2, %26 %30 = load i32, ptr @FALSE, align 4 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %29, %27, %21, %11 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i32 @XDR_PUTLONG(ptr noundef, ptr noundef) #1 declare i32 @XDR_GETLONG(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/tmpxkyxrj56.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { i32 } @TRUE = dso_local global i32 0, align 4 @FALSE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_float(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %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 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 switch i32 %10, label %29 [ i32 129, label %11 i32 130, label %17 i32 128, label %27 ] 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = sext i32 %13 to i64 store i64 %14, ptr %6, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @XDR_PUTLONG(ptr noundef %15, ptr noundef %6) store i32 %16, ptr %3, align 4 br label %31 17: ; preds = %2 %18 = load ptr, ptr %4, align 8 %19 = call i32 @XDR_GETLONG(ptr noundef %18, ptr noundef %7) %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load i64, ptr %7, align 8 %23 = trunc i64 %22 to i32 %24 = load ptr, ptr %5, align 8 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @TRUE, align 4 store i32 %25, ptr %3, align 4 br label %31 26: ; preds = %17 br label %29 27: ; preds = %2 %28 = load i32, ptr @TRUE, align 4 store i32 %28, ptr %3, align 4 br label %31 29: ; preds = %26, %2 %30 = load i32, ptr @FALSE, align 4 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %29, %27, %21, %11 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i32 @XDR_PUTLONG(ptr noundef, ptr noundef) #1 declare i32 @XDR_GETLONG(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/tmpssfsk_yw.c' source_filename = "/tmp/tmpssfsk_yw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"\0Ausage: %s possitive_integer\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"\0Ausage: %s possitive_integer\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"\0Ainteger argument must be possitive!\0A\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [22 x i8] c"can't fork, error %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"%ld \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"ERROR: Parent should be waiting.\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 i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %14 = load i32, ptr %3, align 4 %15 = icmp ne i32 %14, 2 br i1 %15, label %16, label %22 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19) %21 = call i32 @exit(i32 noundef 0) #4 unreachable 22: ; preds = %2 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %34 28: ; preds = %22 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 0 %31 = load ptr, ptr %30, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %97 34: ; preds = %22 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 1 %37 = load ptr, ptr %36, align 8 %38 = call i32 @atoi(ptr noundef %37) store i32 %38, ptr %5, align 4 %39 = call i32 (...) @fork() store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %40, -1 br i1 %41, label %42, label %48 42: ; preds = %34 %43 = load i32, ptr @stderr, align 4 %44 = load i32, ptr @errno, align 4 %45 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str.3, i32 noundef %44) %46 = load i32, ptr @EXIT_FAILURE, align 4 %47 = call i32 @exit(i32 noundef %46) #4 unreachable 48: ; preds = %34 %49 = load i32, ptr %7, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %90 51: ; preds = %48 %52 = load i32, ptr %5, align 4 %53 = zext i32 %52 to i64 %54 = call ptr @llvm.stacksave() store ptr %54, ptr %8, align 8 %55 = alloca i64, i64 %53, align 16 store i64 %53, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 1, ptr %11, align 8 store i32 0, ptr %12, align 4 br label %56 56: ; preds = %70, %51 %57 = load i32, ptr %12, align 4 %58 = load i32, ptr %5, align 4 %59 = icmp sle i32 %57, %58 br i1 %59, label %60, label %73 60: ; preds = %56 %61 = load i64, ptr %10, align 8 store i64 %61, ptr %13, align 8 %62 = load i64, ptr %11, align 8 store i64 %62, ptr %10, align 8 %63 = load i64, ptr %13, align 8 %64 = load i64, ptr %11, align 8 %65 = add nsw i64 %63, %64 store i64 %65, ptr %11, align 8 %66 = load i64, ptr %13, align 8 %67 = load i32, ptr %12, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i64, ptr %55, i64 %68 store i64 %66, ptr %69, align 8 br label %70 70: ; preds = %60 %71 = load i32, ptr %12, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %12, align 4 br label %56, !llvm.loop !6 73: ; preds = %56 store i32 0, ptr %12, align 4 br label %74 74: ; preds = %84, %73 %75 = load i32, ptr %12, align 4 %76 = load i32, ptr %5, align 4 %77 = icmp sle i32 %75, %76 br i1 %77, label %78, label %87 78: ; preds = %74 %79 = load i32, ptr %12, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i64, ptr %55, i64 %80 %82 = load i64, ptr %81, align 8 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %82) br label %84 84: ; preds = %78 %85 = load i32, ptr %12, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %12, align 4 br label %74, !llvm.loop !8 87: ; preds = %74 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %89 = call i32 @_exit(i32 noundef 0) #4 unreachable 90: ; preds = %48 %91 = call i32 @wait(ptr noundef %6) store i32 %91, ptr %7, align 4 %92 = icmp eq i32 %91, -1 br i1 %92, label %93, label %95 93: ; preds = %90 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %95 95: ; preds = %93, %90 %96 = call i32 @exit(i32 noundef 0) #4 unreachable 97: ; preds = %28 br label %98 98: ; preds = %97 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind willreturn } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpssfsk_yw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"\0Ausage: %s possitive_integer\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"\0Ausage: %s possitive_integer\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"\0Ainteger argument must be possitive!\0A\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [22 x i8] c"can't fork, error %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"%ld \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"ERROR: Parent should be waiting.\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 i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %14 = load i32, ptr %3, align 4 %15 = icmp ne i32 %14, 2 br i1 %15, label %16, label %22 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19) %21 = call i32 @exit(i32 noundef 0) #4 unreachable 22: ; preds = %2 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %34 28: ; preds = %22 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 0 %31 = load ptr, ptr %30, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %101 34: ; preds = %22 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 1 %37 = load ptr, ptr %36, align 8 %38 = call i32 @atoi(ptr noundef %37) store i32 %38, ptr %5, align 4 %39 = call i32 (...) @fork() store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %40, -1 br i1 %41, label %42, label %48 42: ; preds = %34 %43 = load i32, ptr @stderr, align 4 %44 = load i32, ptr @errno, align 4 %45 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str.3, i32 noundef %44) %46 = load i32, ptr @EXIT_FAILURE, align 4 %47 = call i32 @exit(i32 noundef %46) #4 unreachable 48: ; preds = %34 %49 = load i32, ptr %7, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %94 51: ; preds = %48 %52 = load i32, ptr %5, align 4 %53 = zext i32 %52 to i64 %54 = call ptr @llvm.stacksave() store ptr %54, ptr %8, align 8 %55 = alloca i64, i64 %53, align 16 store i64 %53, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 1, ptr %11, align 8 store i32 0, ptr %12, align 4 %56 = load i32, ptr %12, align 4 %57 = load i32, ptr %5, align 4 %58 = icmp sle i32 %56, %57 br i1 %58, label %.lr.ph, label %75 .lr.ph: ; preds = %51 br label %59 59: ; preds = %.lr.ph, %69 %60 = load i64, ptr %10, align 8 store i64 %60, ptr %13, align 8 %61 = load i64, ptr %11, align 8 store i64 %61, ptr %10, align 8 %62 = load i64, ptr %13, align 8 %63 = load i64, ptr %11, align 8 %64 = add nsw i64 %62, %63 store i64 %64, ptr %11, align 8 %65 = load i64, ptr %13, align 8 %66 = load i32, ptr %12, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i64, ptr %55, i64 %67 store i64 %65, ptr %68, align 8 br label %69 69: ; preds = %59 %70 = load i32, ptr %12, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %12, align 4 %72 = load i32, ptr %12, align 4 %73 = load i32, ptr %5, align 4 %74 = icmp sle i32 %72, %73 br i1 %74, label %59, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %69 br label %75 75: ; preds = %._crit_edge, %51 store i32 0, ptr %12, align 4 %76 = load i32, ptr %12, align 4 %77 = load i32, ptr %5, align 4 %78 = icmp sle i32 %76, %77 br i1 %78, label %.lr.ph2, label %91 .lr.ph2: ; preds = %75 br label %79 79: ; preds = %.lr.ph2, %85 %80 = load i32, ptr %12, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i64, ptr %55, i64 %81 %83 = load i64, ptr %82, align 8 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %83) br label %85 85: ; preds = %79 %86 = load i32, ptr %12, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %12, align 4 %88 = load i32, ptr %12, align 4 %89 = load i32, ptr %5, align 4 %90 = icmp sle i32 %88, %89 br i1 %90, label %79, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %85 br label %91 91: ; preds = %._crit_edge3, %75 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %93 = call i32 @_exit(i32 noundef 0) #4 unreachable 94: ; preds = %48 %95 = call i32 @wait(ptr noundef %6) store i32 %95, ptr %7, align 4 %96 = icmp eq i32 %95, -1 br i1 %96, label %97, label %99 97: ; preds = %94 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %99 99: ; preds = %97, %94 %100 = call i32 @exit(i32 noundef 0) #4 unreachable 101: ; preds = %28 br label %102 102: ; preds = %101 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind willreturn } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwxtv2bn0.c' source_filename = "/tmp/tmpwxtv2bn0.c" target datalayout = "e-m:e-p270: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/tmpwxtv2bn0.c" target datalayout = "e-m:e-p270: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/tmpk85_3d2d.c' source_filename = "/tmp/tmpk85_3d2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time2String(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 208, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = call i64 @malloc(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %6, align 8 %10 = call i32 @time(ptr noundef %3) %11 = call ptr @localtime(ptr noundef %3) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 @strftime(ptr noundef %12, i32 noundef 80, ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %6, align 8 ret ptr %16 } declare i64 @malloc(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk85_3d2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time2String(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 208, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = call i64 @malloc(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %6, align 8 %10 = call i32 @time(ptr noundef %3) %11 = call ptr @localtime(ptr noundef %3) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 @strftime(ptr noundef %12, i32 noundef 80, ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %6, align 8 ret ptr %16 } declare i64 @malloc(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbemwtw_f.c' source_filename = "/tmp/tmpbemwtw_f.c" target datalayout = "e-m:e-p270: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/tmpbemwtw_f.c" target datalayout = "e-m:e-p270: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/tmpsb973w6n.c' source_filename = "/tmp/tmpsb973w6n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"http://\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"http:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @url_mergenormalize(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store i32 %6, ptr %15, align 4 store i32 0, ptr %18, align 4 %22 = load ptr, ptr %9, align 8 %23 = load i32, ptr %12, align 4 %24 = load i32, ptr %13, align 4 %25 = call ptr @url_transcode(ptr noundef %22, i32 noundef %23, i32 noundef %24) store ptr %25, ptr %21, align 8 %26 = load ptr, ptr %21, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %7 %29 = load ptr, ptr %21, align 8 store ptr %29, ptr %9, align 8 store i32 1, ptr %18, align 4 br label %30 30: ; preds = %28, %7 %31 = load ptr, ptr %9, align 8 %32 = call ptr @reencode_escapes(ptr noundef %31) store ptr %32, ptr %21, align 8 %33 = load ptr, ptr %21, align 8 %34 = load ptr, ptr %9, align 8 %35 = icmp ne ptr %33, %34 br i1 %35, label %36, label %44 36: ; preds = %30 %37 = load i32, ptr %18, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %36 %40 = load ptr, ptr %9, align 8 %41 = call i32 @xfree(ptr noundef %40) br label %42 42: ; preds = %39, %36 %43 = load ptr, ptr %21, align 8 store ptr %43, ptr %9, align 8 store i32 1, ptr %18, align 4 br label %44 44: ; preds = %42, %30 %45 = load ptr, ptr %9, align 8 %46 = call i32 @strlen(ptr noundef %45) store i32 %46, ptr %16, align 4 %47 = load ptr, ptr %9, align 8 %48 = call i64 @strstartwithignorecase(ptr noundef @.str, ptr noundef %47) %49 = icmp ne i64 %48, 0 br i1 %49, label %50, label %60 50: ; preds = %44 %51 = load i32, ptr %16, align 4 %52 = load i32, ptr %15, align 4 %53 = icmp sge i32 %51, %52 br i1 %53, label %54, label %55 54: ; preds = %50 br label %167 55: ; preds = %50 %56 = load ptr, ptr %14, align 8 %57 = load ptr, ptr %9, align 8 %58 = call i32 @strcpy(ptr noundef %56, ptr noundef %57) br label %59 59: ; preds = %55 br label %147 60: ; preds = %44 %61 = load ptr, ptr %10, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %63, label %102 63: ; preds = %60 %64 = load ptr, ptr %10, align 8 %65 = call i64 @strstartwithignorecase(ptr noundef @.str, ptr noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %68, label %67 67: ; preds = %63 br label %167 68: ; preds = %63 %69 = load ptr, ptr %9, align 8 %70 = call i64 @url_startwithprotocol(ptr noundef %69) %71 = icmp ne i64 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %68 br label %167 73: ; preds = %68 %74 = load ptr, ptr %9, align 8 %75 = call i64 @strstartwithignorecase(ptr noundef @.str.1, ptr noundef %74) %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %82 77: ; preds = %73 %78 = load ptr, ptr %10, align 8 %79 = load ptr, ptr %9, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 5 %81 = call ptr @url_merge(ptr noundef %78, ptr noundef %80) store ptr %81, ptr %20, align 8 br label %86 82: ; preds = %73 %83 = load ptr, ptr %10, align 8 %84 = load ptr, ptr %9, align 8 %85 = call ptr @url_merge(ptr noundef %83, ptr noundef %84) store ptr %85, ptr %20, align 8 br label %86 86: ; preds = %82, %77 %87 = load ptr, ptr %20, align 8 %88 = call i32 @strlen(ptr noundef %87) store i32 %88, ptr %17, align 4 %89 = load i32, ptr %17, align 4 %90 = load i32, ptr %15, align 4 %91 = icmp sge i32 %89, %90 br i1 %91, label %92, label %95 92: ; preds = %86 %93 = load ptr, ptr %20, align 8 %94 = call i32 @xfree(ptr noundef %93) br label %167 95: ; preds = %86 %96 = load ptr, ptr %14, align 8 %97 = load ptr, ptr %20, align 8 %98 = call i32 @strcpy(ptr noundef %96, ptr noundef %97) %99 = load ptr, ptr %20, align 8 %100 = call i32 @xfree(ptr noundef %99) br label %101 101: ; preds = %95 br label %146 102: ; preds = %60 %103 = load ptr, ptr %11, align 8 %104 = icmp ne ptr %103, null br i1 %104, label %105, label %144 105: ; preds = %102 %106 = load ptr, ptr %11, align 8 %107 = call i64 @strstartwithignorecase(ptr noundef @.str, ptr noundef %106) %108 = icmp ne i64 %107, 0 br i1 %108, label %110, label %109 109: ; preds = %105 br label %167 110: ; preds = %105 %111 = load ptr, ptr %9, align 8 %112 = call i64 @url_startwithprotocol(ptr noundef %111) %113 = icmp ne i64 %112, 0 br i1 %113, label %114, label %115 114: ; preds = %110 br label %167 115: ; preds = %110 %116 = load ptr, ptr %9, align 8 %117 = call i64 @strstartwithignorecase(ptr noundef @.str.1, ptr noundef %116) %118 = icmp ne i64 %117, 0 br i1 %118, label %119, label %124 119: ; preds = %115 %120 = load ptr, ptr %11, align 8 %121 = load ptr, ptr %9, align 8 %122 = getelementptr inbounds i8, ptr %121, i64 5 %123 = call ptr @url_merge(ptr noundef %120, ptr noundef %122) store ptr %123, ptr %20, align 8 br label %128 124: ; preds = %115 %125 = load ptr, ptr %11, align 8 %126 = load ptr, ptr %9, align 8 %127 = call ptr @url_merge(ptr noundef %125, ptr noundef %126) store ptr %127, ptr %20, align 8 br label %128 128: ; preds = %124, %119 %129 = load ptr, ptr %20, align 8 %130 = call i32 @strlen(ptr noundef %129) store i32 %130, ptr %17, align 4 %131 = load i32, ptr %17, align 4 %132 = load i32, ptr %15, align 4 %133 = icmp sge i32 %131, %132 br i1 %133, label %134, label %137 134: ; preds = %128 %135 = load ptr, ptr %20, align 8 %136 = call i32 @xfree(ptr noundef %135) br label %167 137: ; preds = %128 %138 = load ptr, ptr %14, align 8 %139 = load ptr, ptr %20, align 8 %140 = call i32 @strcpy(ptr noundef %138, ptr noundef %139) %141 = load ptr, ptr %20, align 8 %142 = call i32 @xfree(ptr noundef %141) br label %143 143: ; preds = %137 br label %145 144: ; preds = %102 br label %167 145: ; preds = %143 br label %146 146: ; preds = %145, %101 br label %147 147: ; preds = %146, %59 %148 = load ptr, ptr %14, align 8 %149 = getelementptr inbounds i8, ptr %148, i64 7 %150 = call ptr @strchr(ptr noundef %149, i8 noundef signext 47) store ptr %150, ptr %19, align 8 %151 = load ptr, ptr %19, align 8 %152 = icmp ne ptr %151, null br i1 %152, label %154, label %153 153: ; preds = %147 br label %167 154: ; preds = %147 %155 = load ptr, ptr %19, align 8 %156 = call i32 @url_filenormalize(ptr noundef %155) %157 = icmp ne i32 %156, 0 br i1 %157, label %159, label %158 158: ; preds = %154 br label %167 159: ; preds = %154 %160 = load i32, ptr %18, align 4 %161 = icmp ne i32 %160, 0 br i1 %161, label %162, label %165 162: ; preds = %159 %163 = load ptr, ptr %9, align 8 %164 = call i32 @xfree(ptr noundef %163) br label %165 165: ; preds = %162, %159 %166 = load ptr, ptr %14, align 8 store ptr %166, ptr %8, align 8 br label %174 167: ; preds = %158, %153, %144, %134, %114, %109, %92, %72, %67, %54 %168 = load i32, ptr %18, align 4 %169 = icmp ne i32 %168, 0 br i1 %169, label %170, label %173 170: ; preds = %167 %171 = load ptr, ptr %9, align 8 %172 = call i32 @xfree(ptr noundef %171) br label %173 173: ; preds = %170, %167 store ptr null, ptr %8, align 8 br label %174 174: ; preds = %173, %165 %175 = load ptr, ptr %8, align 8 ret ptr %175 } declare ptr @url_transcode(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @reencode_escapes(ptr noundef) #1 declare i32 @xfree(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strstartwithignorecase(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @url_startwithprotocol(ptr noundef) #1 declare ptr @url_merge(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @url_filenormalize(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsb973w6n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"http://\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"http:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @url_mergenormalize(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store i32 %6, ptr %15, align 4 store i32 0, ptr %18, align 4 %22 = load ptr, ptr %9, align 8 %23 = load i32, ptr %12, align 4 %24 = load i32, ptr %13, align 4 %25 = call ptr @url_transcode(ptr noundef %22, i32 noundef %23, i32 noundef %24) store ptr %25, ptr %21, align 8 %26 = load ptr, ptr %21, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %7 %29 = load ptr, ptr %21, align 8 store ptr %29, ptr %9, align 8 store i32 1, ptr %18, align 4 br label %30 30: ; preds = %28, %7 %31 = load ptr, ptr %9, align 8 %32 = call ptr @reencode_escapes(ptr noundef %31) store ptr %32, ptr %21, align 8 %33 = load ptr, ptr %21, align 8 %34 = load ptr, ptr %9, align 8 %35 = icmp ne ptr %33, %34 br i1 %35, label %36, label %44 36: ; preds = %30 %37 = load i32, ptr %18, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %36 %40 = load ptr, ptr %9, align 8 %41 = call i32 @xfree(ptr noundef %40) br label %42 42: ; preds = %39, %36 %43 = load ptr, ptr %21, align 8 store ptr %43, ptr %9, align 8 store i32 1, ptr %18, align 4 br label %44 44: ; preds = %42, %30 %45 = load ptr, ptr %9, align 8 %46 = call i32 @strlen(ptr noundef %45) store i32 %46, ptr %16, align 4 %47 = load ptr, ptr %9, align 8 %48 = call i64 @strstartwithignorecase(ptr noundef @.str, ptr noundef %47) %49 = icmp ne i64 %48, 0 br i1 %49, label %50, label %60 50: ; preds = %44 %51 = load i32, ptr %16, align 4 %52 = load i32, ptr %15, align 4 %53 = icmp sge i32 %51, %52 br i1 %53, label %54, label %55 54: ; preds = %50 br label %167 55: ; preds = %50 %56 = load ptr, ptr %14, align 8 %57 = load ptr, ptr %9, align 8 %58 = call i32 @strcpy(ptr noundef %56, ptr noundef %57) br label %59 59: ; preds = %55 br label %147 60: ; preds = %44 %61 = load ptr, ptr %10, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %63, label %102 63: ; preds = %60 %64 = load ptr, ptr %10, align 8 %65 = call i64 @strstartwithignorecase(ptr noundef @.str, ptr noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %68, label %67 67: ; preds = %63 br label %167 68: ; preds = %63 %69 = load ptr, ptr %9, align 8 %70 = call i64 @url_startwithprotocol(ptr noundef %69) %71 = icmp ne i64 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %68 br label %167 73: ; preds = %68 %74 = load ptr, ptr %9, align 8 %75 = call i64 @strstartwithignorecase(ptr noundef @.str.1, ptr noundef %74) %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %82 77: ; preds = %73 %78 = load ptr, ptr %10, align 8 %79 = load ptr, ptr %9, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 5 %81 = call ptr @url_merge(ptr noundef %78, ptr noundef %80) store ptr %81, ptr %20, align 8 br label %86 82: ; preds = %73 %83 = load ptr, ptr %10, align 8 %84 = load ptr, ptr %9, align 8 %85 = call ptr @url_merge(ptr noundef %83, ptr noundef %84) store ptr %85, ptr %20, align 8 br label %86 86: ; preds = %82, %77 %87 = load ptr, ptr %20, align 8 %88 = call i32 @strlen(ptr noundef %87) store i32 %88, ptr %17, align 4 %89 = load i32, ptr %17, align 4 %90 = load i32, ptr %15, align 4 %91 = icmp sge i32 %89, %90 br i1 %91, label %92, label %95 92: ; preds = %86 %93 = load ptr, ptr %20, align 8 %94 = call i32 @xfree(ptr noundef %93) br label %167 95: ; preds = %86 %96 = load ptr, ptr %14, align 8 %97 = load ptr, ptr %20, align 8 %98 = call i32 @strcpy(ptr noundef %96, ptr noundef %97) %99 = load ptr, ptr %20, align 8 %100 = call i32 @xfree(ptr noundef %99) br label %101 101: ; preds = %95 br label %146 102: ; preds = %60 %103 = load ptr, ptr %11, align 8 %104 = icmp ne ptr %103, null br i1 %104, label %105, label %144 105: ; preds = %102 %106 = load ptr, ptr %11, align 8 %107 = call i64 @strstartwithignorecase(ptr noundef @.str, ptr noundef %106) %108 = icmp ne i64 %107, 0 br i1 %108, label %110, label %109 109: ; preds = %105 br label %167 110: ; preds = %105 %111 = load ptr, ptr %9, align 8 %112 = call i64 @url_startwithprotocol(ptr noundef %111) %113 = icmp ne i64 %112, 0 br i1 %113, label %114, label %115 114: ; preds = %110 br label %167 115: ; preds = %110 %116 = load ptr, ptr %9, align 8 %117 = call i64 @strstartwithignorecase(ptr noundef @.str.1, ptr noundef %116) %118 = icmp ne i64 %117, 0 br i1 %118, label %119, label %124 119: ; preds = %115 %120 = load ptr, ptr %11, align 8 %121 = load ptr, ptr %9, align 8 %122 = getelementptr inbounds i8, ptr %121, i64 5 %123 = call ptr @url_merge(ptr noundef %120, ptr noundef %122) store ptr %123, ptr %20, align 8 br label %128 124: ; preds = %115 %125 = load ptr, ptr %11, align 8 %126 = load ptr, ptr %9, align 8 %127 = call ptr @url_merge(ptr noundef %125, ptr noundef %126) store ptr %127, ptr %20, align 8 br label %128 128: ; preds = %124, %119 %129 = load ptr, ptr %20, align 8 %130 = call i32 @strlen(ptr noundef %129) store i32 %130, ptr %17, align 4 %131 = load i32, ptr %17, align 4 %132 = load i32, ptr %15, align 4 %133 = icmp sge i32 %131, %132 br i1 %133, label %134, label %137 134: ; preds = %128 %135 = load ptr, ptr %20, align 8 %136 = call i32 @xfree(ptr noundef %135) br label %167 137: ; preds = %128 %138 = load ptr, ptr %14, align 8 %139 = load ptr, ptr %20, align 8 %140 = call i32 @strcpy(ptr noundef %138, ptr noundef %139) %141 = load ptr, ptr %20, align 8 %142 = call i32 @xfree(ptr noundef %141) br label %143 143: ; preds = %137 br label %145 144: ; preds = %102 br label %167 145: ; preds = %143 br label %146 146: ; preds = %145, %101 br label %147 147: ; preds = %146, %59 %148 = load ptr, ptr %14, align 8 %149 = getelementptr inbounds i8, ptr %148, i64 7 %150 = call ptr @strchr(ptr noundef %149, i8 noundef signext 47) store ptr %150, ptr %19, align 8 %151 = load ptr, ptr %19, align 8 %152 = icmp ne ptr %151, null br i1 %152, label %154, label %153 153: ; preds = %147 br label %167 154: ; preds = %147 %155 = load ptr, ptr %19, align 8 %156 = call i32 @url_filenormalize(ptr noundef %155) %157 = icmp ne i32 %156, 0 br i1 %157, label %159, label %158 158: ; preds = %154 br label %167 159: ; preds = %154 %160 = load i32, ptr %18, align 4 %161 = icmp ne i32 %160, 0 br i1 %161, label %162, label %165 162: ; preds = %159 %163 = load ptr, ptr %9, align 8 %164 = call i32 @xfree(ptr noundef %163) br label %165 165: ; preds = %162, %159 %166 = load ptr, ptr %14, align 8 store ptr %166, ptr %8, align 8 br label %174 167: ; preds = %158, %153, %144, %134, %114, %109, %92, %72, %67, %54 %168 = load i32, ptr %18, align 4 %169 = icmp ne i32 %168, 0 br i1 %169, label %170, label %173 170: ; preds = %167 %171 = load ptr, ptr %9, align 8 %172 = call i32 @xfree(ptr noundef %171) br label %173 173: ; preds = %170, %167 store ptr null, ptr %8, align 8 br label %174 174: ; preds = %173, %165 %175 = load ptr, ptr %8, align 8 ret ptr %175 } declare ptr @url_transcode(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @reencode_escapes(ptr noundef) #1 declare i32 @xfree(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strstartwithignorecase(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @url_startwithprotocol(ptr noundef) #1 declare ptr @url_merge(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @url_filenormalize(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp15_b6bbu.c' source_filename = "/tmp/tmp15_b6bbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"x is %hu (mod 65536)\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"x*x is %hu (mod 65536)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 br label %9 9: ; preds = %27, %2 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %30 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = call i32 @atoi(ptr noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = mul nsw i32 %22, %23 store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25) br label %27 27: ; preds = %13 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %9, !llvm.loop !6 30: ; preds = %9 ret i32 0 } declare i32 @atoi(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp15_b6bbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"x is %hu (mod 65536)\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"x*x is %hu (mod 65536)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %26 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, 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 @atoi(ptr noundef %17) store i32 %18, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %19) %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = mul nsw i32 %21, %22 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24) br label %26 26: ; preds = %12 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @atoi(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"}
; ModuleID = '/tmp/tmppxwsj0g4.c' source_filename = "/tmp/tmppxwsj0g4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_command_list_brcommand(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [500 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strcpy(ptr noundef %7, ptr noundef %8) %10 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 store ptr %10, ptr %5, align 8 br label %11 11: ; preds = %37, %1 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 1 %14 = call ptr @strchr(ptr noundef %13, i8 noundef signext 45) store ptr %14, ptr %4, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %41 16: ; preds = %11 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = icmp ugt ptr %17, %19 br i1 %20, label %21, label %37 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 -1 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 32 br i1 %26, label %33, label %27 27: ; preds = %21 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 -1 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 9 br i1 %32, label %33, label %36 33: ; preds = %27, %21 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 -1 store i8 0, ptr %35, align 1 br label %36 36: ; preds = %33, %27 br label %37 37: ; preds = %36, %16 %38 = load ptr, ptr %5, align 8 %39 = call i32 @add_command_list_brcommand_sub(ptr noundef %38) %40 = load ptr, ptr %4, align 8 store ptr %40, ptr %5, align 8 br label %11, !llvm.loop !6 41: ; preds = %11 %42 = load ptr, ptr %5, align 8 %43 = call i32 @add_command_list_brcommand_sub(ptr noundef %42) %44 = load i32, ptr %6, align 4 ret i32 %44 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @add_command_list_brcommand_sub(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppxwsj0g4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_command_list_brcommand(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [500 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strcpy(ptr noundef %7, ptr noundef %8) %10 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 1 %13 = call ptr @strchr(ptr noundef %12, i8 noundef signext 45) store ptr %13, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %.lr.ph, label %44 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %36 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = icmp ugt ptr %16, %18 br i1 %19, label %20, label %36 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 -1 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 32 br i1 %25, label %32, label %26 26: ; preds = %20 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 -1 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 9 br i1 %31, label %32, label %35 32: ; preds = %26, %20 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 -1 store i8 0, ptr %34, align 1 br label %35 35: ; preds = %32, %26 br label %36 36: ; preds = %35, %15 %37 = load ptr, ptr %5, align 8 %38 = call i32 @add_command_list_brcommand_sub(ptr noundef %37) %39 = load ptr, ptr %4, align 8 store ptr %39, ptr %5, align 8 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 1 %42 = call ptr @strchr(ptr noundef %41, i8 noundef signext 45) store ptr %42, ptr %4, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %44 44: ; preds = %._crit_edge, %1 %45 = load ptr, ptr %5, align 8 %46 = call i32 @add_command_list_brcommand_sub(ptr noundef %45) %47 = load i32, ptr %6, align 4 ret i32 %47 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @add_command_list_brcommand_sub(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmprxu7z82q.c' source_filename = "/tmp/tmprxu7z82q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bwi_write(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = mul nsw i32 %14, 64 store i32 %15, ptr %11, align 4 %16 = load ptr, ptr %5, align 8 %17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str) store ptr %17, ptr %13, align 8 %18 = load ptr, ptr %13, align 8 %19 = call i32 @assert(ptr noundef %18) %20 = load ptr, ptr %13, align 8 %21 = call i32 @fwrite(ptr noundef %7, i32 noundef 4, i32 noundef 1, ptr noundef %20) %22 = load ptr, ptr %13, align 8 %23 = call i32 @fwrite(ptr noundef %11, i32 noundef 4, i32 noundef 1, ptr noundef %22) store i32 0, ptr %9, align 4 br label %24 24: ; preds = %49, %4 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %8, align 4 %28 = mul nsw i32 %26, %27 %29 = icmp slt i32 %25, %28 br i1 %29, label %30, label %52 30: ; preds = %24 store i32 63, ptr %10, align 4 br label %31 31: ; preds = %45, %30 %32 = load i32, ptr %10, align 4 %33 = icmp sge i32 %32, 0 br i1 %33, label %34, label %48 34: ; preds = %31 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr %10, align 4 %41 = ashr i32 %39, %40 %42 = and i32 %41, 1 store i32 %42, ptr %12, align 4 %43 = load ptr, ptr %13, align 8 %44 = call i32 @fwrite(ptr noundef %12, i32 noundef 4, i32 noundef 1, ptr noundef %43) br label %45 45: ; preds = %34 %46 = load i32, ptr %10, align 4 %47 = add nsw i32 %46, -1 store i32 %47, ptr %10, align 4 br label %31, !llvm.loop !6 48: ; preds = %31 br label %49 49: ; preds = %48 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %9, align 4 br label %24, !llvm.loop !8 52: ; preds = %24 %53 = load ptr, ptr %13, align 8 %54 = call i32 @fclose(ptr noundef %53) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmprxu7z82q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bwi_write(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = mul nsw i32 %14, 64 store i32 %15, ptr %11, align 4 %16 = load ptr, ptr %5, align 8 %17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str) store ptr %17, ptr %13, align 8 %18 = load ptr, ptr %13, align 8 %19 = call i32 @assert(ptr noundef %18) %20 = load ptr, ptr %13, align 8 %21 = call i32 @fwrite(ptr noundef %7, i32 noundef 4, i32 noundef 1, ptr noundef %20) %22 = load ptr, ptr %13, align 8 %23 = call i32 @fwrite(ptr noundef %11, i32 noundef 4, i32 noundef 1, ptr noundef %22) store i32 0, ptr %9, align 4 %24 = load i32, ptr %9, align 4 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %8, align 4 %27 = mul nsw i32 %25, %26 %28 = icmp slt i32 %24, %27 br i1 %28, label %.lr.ph2, label %57 .lr.ph2: ; preds = %4 br label %29 29: ; preds = %.lr.ph2, %49 store i32 63, ptr %10, align 4 %30 = load i32, ptr %10, align 4 %31 = icmp sge i32 %30, 0 br i1 %31, label %.lr.ph, label %48 .lr.ph: ; preds = %29 br label %32 32: ; preds = %.lr.ph, %43 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %9, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr %10, align 4 %39 = ashr i32 %37, %38 %40 = and i32 %39, 1 store i32 %40, ptr %12, align 4 %41 = load ptr, ptr %13, align 8 %42 = call i32 @fwrite(ptr noundef %12, i32 noundef 4, i32 noundef 1, ptr noundef %41) br label %43 43: ; preds = %32 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %10, align 4 %46 = load i32, ptr %10, align 4 %47 = icmp sge i32 %46, 0 br i1 %47, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %48 48: ; preds = %._crit_edge, %29 br label %49 49: ; preds = %48 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %9, align 4 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %7, align 4 %54 = load i32, ptr %8, align 4 %55 = mul nsw i32 %53, %54 %56 = icmp slt i32 %52, %55 br i1 %56, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %57 57: ; preds = %._crit_edge3, %4 %58 = load ptr, ptr %13, align 8 %59 = call i32 @fclose(ptr noundef %58) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzdoxbccq.c' source_filename = "/tmp/tmpzdoxbccq.c" target datalayout = "e-m:e-p270: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"[ERROR] iRead != iWrite.. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @CopyFile(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [512 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %2, %32 %10 = load i32, ptr %3, align 4 %11 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %12 = call i32 @read(i32 noundef %10, ptr noundef %11, i32 noundef 512) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %15 = load i32, ptr %6, align 4 %16 = call i32 @write(i32 noundef %13, ptr noundef %14, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %24 20: ; preds = %9 %21 = load i32, ptr @stderr, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str) %23 = call i32 @exit(i32 noundef -1) #3 unreachable 24: ; preds = %9 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, %25 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = icmp ne i64 %29, 512 br i1 %30, label %31, label %32 31: ; preds = %24 br label %33 32: ; preds = %24 br label %9 33: ; preds = %31 %34 = load i32, ptr %5, align 4 ret i32 %34 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzdoxbccq.c" target datalayout = "e-m:e-p270: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"[ERROR] iRead != iWrite.. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @CopyFile(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [512 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %24, %2 %10 = load i32, ptr %3, align 4 %11 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %12 = call i32 @read(i32 noundef %10, ptr noundef %11, i32 noundef 512) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0 %15 = load i32, ptr %6, align 4 %16 = call i32 @write(i32 noundef %13, ptr noundef %14, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %24 20: ; preds = %9 %21 = load i32, ptr @stderr, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str) %23 = call i32 @exit(i32 noundef -1) #3 unreachable 24: ; preds = %9 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, %25 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = icmp ne i64 %29, 512 br i1 %30, label %31, label %9 31: ; preds = %24 br label %32 32: ; preds = %31 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5__8f9ay.c' source_filename = "/tmp/tmp5__8f9ay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_str_rstrip(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = sub nsw i64 %7, 1 store i64 %8, ptr %4, align 8 br label %9 9: ; preds = %21, %1 %10 = load i64, ptr %4, align 8 %11 = icmp sge i64 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %9 %13 = load ptr, ptr %2, align 8 %14 = load i64, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i64 @isspace(i8 noundef zeroext %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %12, %9 %20 = phi i1 [ false, %9 ], [ %18, %12 ] br i1 %20, label %21, label %27 21: ; preds = %19 %22 = load ptr, ptr %2, 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 i64, ptr %4, align 8 %26 = add nsw i64 %25, -1 store i64 %26, ptr %4, align 8 br label %9, !llvm.loop !6 27: ; preds = %19 ret void } declare i64 @strlen(ptr noundef) #1 declare i64 @isspace(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5__8f9ay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_str_rstrip(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = sub nsw i64 %7, 1 store i64 %8, ptr %4, align 8 br label %9 9: ; preds = %21, %1 %10 = load i64, ptr %4, align 8 %11 = icmp sge i64 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %9 %13 = load ptr, ptr %2, align 8 %14 = load i64, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i64 @isspace(i8 noundef zeroext %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %12, %9 %20 = phi i1 [ false, %9 ], [ %18, %12 ] br i1 %20, label %21, label %27 21: ; preds = %19 %22 = load ptr, ptr %2, 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 i64, ptr %4, align 8 %26 = add nsw i64 %25, -1 store i64 %26, ptr %4, align 8 br label %9, !llvm.loop !6 27: ; preds = %19 ret void } declare i64 @strlen(ptr noundef) #1 declare i64 @isspace(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnwl8uwx9.c' source_filename = "/tmp/tmpnwl8uwx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randomize(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %11 = load i32, ptr %5, align 4 store i32 %11, ptr %10, align 4 store i32 0, ptr %7, align 4 br label %12 12: ; preds = %50, %3 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %53 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %10, align 4 %20 = mul nsw i32 %18, %19 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds float, ptr %17, i64 %21 store ptr %22, ptr %9, align 8 store i32 0, ptr %8, align 4 br label %23 23: ; preds = %33, %16 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %36 27: ; preds = %23 %28 = call float @gaussian(double noundef 0.000000e+00, double noundef 2.500000e+01) %29 = load ptr, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds float, ptr %29, i64 %31 store float %28, ptr %32, align 4 br label %33 33: ; preds = %27 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %23, !llvm.loop !6 36: ; preds = %23 br label %37 37: ; preds = %46, %36 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %49 41: ; preds = %37 %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds float, ptr %42, i64 %44 store float 0.000000e+00, ptr %45, align 4 br label %46 46: ; preds = %41 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %8, align 4 br label %37, !llvm.loop !8 49: ; preds = %37 br label %50 50: ; preds = %49 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 br label %12, !llvm.loop !9 53: ; preds = %12 ret void } declare float @gaussian(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnwl8uwx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randomize(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %11 = load i32, ptr %5, align 4 store i32 %11, ptr %10, align 4 store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph5, label %59 .lr.ph5: ; preds = %3 br label %15 15: ; preds = %.lr.ph5, %53 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %10, align 4 %19 = mul nsw i32 %17, %18 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds float, ptr %16, i64 %20 store ptr %21, ptr %9, align 8 store i32 0, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %37 .lr.ph: ; preds = %15 br label %25 25: ; preds = %.lr.ph, %31 %26 = call float @gaussian(double noundef 0.000000e+00, double noundef 2.500000e+01) %27 = load ptr, ptr %9, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds float, ptr %27, i64 %29 store float %26, ptr %30, align 4 br label %31 31: ; preds = %25 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %15 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph2, label %52 .lr.ph2: ; preds = %37 br label %41 41: ; preds = %.lr.ph2, %46 %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds float, ptr %42, i64 %44 store float 0.000000e+00, ptr %45, align 4 br label %46 46: ; preds = %41 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %52 52: ; preds = %._crit_edge3, %37 br label %53 53: ; preds = %52 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %15, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %53 br label %59 59: ; preds = %._crit_edge6, %3 ret void } declare float @gaussian(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpnsamia6_.c' source_filename = "/tmp/tmpnsamia6_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2_Skel(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 1 %7 = load ptr, ptr %6, align 8 %8 = load float, ptr %7, align 4 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 2 %11 = load ptr, ptr %10, align 8 %12 = load double, ptr %11, align 8 %13 = call ptr @f2(float noundef %8, double noundef %12) %14 = load ptr, ptr %4, align 8 store ptr %13, ptr %14, align 8 ret i32 0 } declare ptr @f2(float noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnsamia6_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2_Skel(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 1 %7 = load ptr, ptr %6, align 8 %8 = load float, ptr %7, align 4 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 2 %11 = load ptr, ptr %10, align 8 %12 = load double, ptr %11, align 8 %13 = call ptr @f2(float noundef %8, double noundef %12) %14 = load ptr, ptr %4, align 8 store ptr %13, ptr %14, align 8 ret i32 0 } declare ptr @f2(float noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk4k47ivn.c' source_filename = "/tmp/tmpk4k47ivn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fitfun_initialize() #0 { %1 = call i32 (...) @loglike_posterior_theta_initialize() ret void } declare i32 @loglike_posterior_theta_initialize(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk4k47ivn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fitfun_initialize() #0 { %1 = call i32 (...) @loglike_posterior_theta_initialize() ret void } declare i32 @loglike_posterior_theta_initialize(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfms1927n.c' source_filename = "/tmp/tmpfms1927n.c" target datalayout = "e-m:e-p270: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/tmpfms1927n.c" target datalayout = "e-m:e-p270: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/tmpy49_3o4k.c' source_filename = "/tmp/tmpy49_3o4k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = add nsw i32 %7, 1 %9 = sext i32 %8 to i64 store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = mul i64 1, %10 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %17, label %16 16: ; preds = %1 store ptr null, ptr %2, align 8 br label %23 17: ; preds = %1 %18 = load ptr, ptr %5, 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 %5, align 8 store ptr %22, ptr %2, align 8 br label %23 23: ; preds = %17, %16 %24 = load ptr, ptr %2, align 8 ret ptr %24 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(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/tmpy49_3o4k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = add nsw i32 %7, 1 %9 = sext i32 %8 to i64 store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = mul i64 1, %10 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %17, label %16 16: ; preds = %1 store ptr null, ptr %2, align 8 br label %23 17: ; preds = %1 %18 = load ptr, ptr %5, 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 %5, align 8 store ptr %22, ptr %2, align 8 br label %23 23: ; preds = %17, %16 %24 = load ptr, ptr %2, align 8 ret ptr %24 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(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/tmpi55k_5mj.c' source_filename = "/tmp/tmpi55k_5mj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xselection_property(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i64 %5, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi55k_5mj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xselection_property(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i64 %5, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaa4m0jx2.c' source_filename = "/tmp/tmpaa4m0jx2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_words_in_string(ptr 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 i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %9, %1 br label %74 14: ; preds = %9 %15 = load ptr, ptr %2, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %5, align 4 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %18, 1 %20 = call i32 @reverse_section(ptr noundef %17, i32 noundef 0, i32 noundef %19) store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %21 21: ; preds = %70, %14 br label %22 22: ; preds = %36, %21 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %34 26: ; preds = %22 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %3, 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 i32 %33 = icmp ne i32 %32, 32 br label %34 34: ; preds = %26, %22 %35 = phi i1 [ false, %22 ], [ %33, %26 ] br i1 %35, label %36, label %39 36: ; preds = %34 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 br label %22, !llvm.loop !6 39: ; preds = %34 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp sle i32 %40, %41 br i1 %42, label %43, label %49 43: ; preds = %39 %44 = load ptr, ptr %2, align 8 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %3, align 4 %47 = sub nsw i32 %46, 1 %48 = call i32 @reverse_section(ptr noundef %44, i32 noundef %45, i32 noundef %47) br label %49 49: ; preds = %43, %39 %50 = load i32, ptr %3, align 4 store i32 %50, ptr %4, align 4 br label %51 51: ; preds = %65, %49 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %5, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %63 55: ; preds = %51 %56 = load ptr, ptr %2, align 8 %57 = load i32, ptr %4, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 32 br label %63 63: ; preds = %55, %51 %64 = phi i1 [ false, %51 ], [ %62, %55 ] br i1 %64, label %65, label %68 65: ; preds = %63 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 br label %51, !llvm.loop !8 68: ; preds = %63 %69 = load i32, ptr %4, align 4 store i32 %69, ptr %3, align 4 br label %70 70: ; preds = %68 %71 = load i32, ptr %4, align 4 %72 = load i32, ptr %5, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %21, label %74, !llvm.loop !9 74: ; preds = %13, %70 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @reverse_section(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaa4m0jx2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse_words_in_string(ptr 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 i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %9, %1 br label %74 14: ; preds = %9 %15 = load ptr, ptr %2, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %5, align 4 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %18, 1 %20 = call i32 @reverse_section(ptr noundef %17, i32 noundef 0, i32 noundef %19) store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %21 21: ; preds = %70, %14 br label %22 22: ; preds = %36, %21 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %34 26: ; preds = %22 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %3, 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 i32 %33 = icmp ne i32 %32, 32 br label %34 34: ; preds = %26, %22 %35 = phi i1 [ false, %22 ], [ %33, %26 ] br i1 %35, label %36, label %39 36: ; preds = %34 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 br label %22, !llvm.loop !6 39: ; preds = %34 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp sle i32 %40, %41 br i1 %42, label %43, label %49 43: ; preds = %39 %44 = load ptr, ptr %2, align 8 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %3, align 4 %47 = sub nsw i32 %46, 1 %48 = call i32 @reverse_section(ptr noundef %44, i32 noundef %45, i32 noundef %47) br label %49 49: ; preds = %43, %39 %50 = load i32, ptr %3, align 4 store i32 %50, ptr %4, align 4 br label %51 51: ; preds = %65, %49 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %5, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %63 55: ; preds = %51 %56 = load ptr, ptr %2, align 8 %57 = load i32, ptr %4, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 32 br label %63 63: ; preds = %55, %51 %64 = phi i1 [ false, %51 ], [ %62, %55 ] br i1 %64, label %65, label %68 65: ; preds = %63 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 br label %51, !llvm.loop !8 68: ; preds = %63 %69 = load i32, ptr %4, align 4 store i32 %69, ptr %3, align 4 br label %70 70: ; preds = %68 %71 = load i32, ptr %4, align 4 %72 = load i32, ptr %5, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %21, label %.loopexit, !llvm.loop !9 .loopexit: ; preds = %70 br label %74 74: ; preds = %.loopexit, %13 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @reverse_section(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpep0v80ue.c' source_filename = "/tmp/tmpep0v80ue.c" target datalayout = "e-m:e-p270: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/tmpep0v80ue.c" target datalayout = "e-m:e-p270: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/tmpj64ofmcv.c' source_filename = "/tmp/tmpj64ofmcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @stdin = dso_local global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inskip(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 br label %10 10: ; preds = %42, %3 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %6, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %43 14: ; preds = %10 %15 = load i32, ptr %7, align 4 store i32 %15, ptr %9, align 4 br label %16 16: ; preds = %29, %14 %17 = load ptr, ptr %5, align 8 %18 = call i32 @getc(ptr noundef %17) store i32 %18, ptr %8, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %21, label %30 21: ; preds = %16 %22 = load i32, ptr %8, align 4 %23 = icmp eq i32 %22, 10 br i1 %23, label %24, label %29 24: ; preds = %21 %25 = load i32, ptr %9, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %9, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %24 br label %30 29: ; preds = %24, %21 br label %16, !llvm.loop !6 30: ; preds = %28, %16 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr @EOF, align 4 %33 = icmp eq i32 %31, %32 br i1 %33, label %34, label %42 34: ; preds = %30 %35 = load ptr, ptr %5, align 8 %36 = load ptr, ptr @stdin, align 8 %37 = icmp ne ptr %35, %36 br i1 %37, label %38, label %41 38: ; preds = %34 %39 = load ptr, ptr %5, align 8 %40 = call i32 @fclose(ptr noundef %39) br label %41 41: ; preds = %38, %34 store i32 1, ptr %4, align 4 br label %44 42: ; preds = %30 br label %10, !llvm.loop !8 43: ; preds = %10 store i32 0, ptr %4, align 4 br label %44 44: ; preds = %43, %41 %45 = load i32, ptr %4, align 4 ret i32 %45 } declare i32 @getc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj64ofmcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @stdin = dso_local global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inskip(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %6, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %.lr.ph1, label %48 .lr.ph1: ; preds = %3 br label %17 13: ; preds = %36 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %6, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %._crit_edge, !llvm.loop !6 17: ; preds = %.lr.ph1, %13 %18 = load i32, ptr %7, align 4 store i32 %18, ptr %9, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @getc(ptr noundef %19) store i32 %20, ptr %8, align 4 %21 = load i32, ptr @EOF, align 4 %22 = icmp ne i32 %20, %21 br i1 %22, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %17 br label %23 23: ; preds = %.lr.ph, %31 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, 10 br i1 %25, label %26, label %31 26: ; preds = %23 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %9, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %26 br label %36 31: ; preds = %26, %23 %32 = load ptr, ptr %5, align 8 %33 = call i32 @getc(ptr noundef %32) store i32 %33, ptr %8, align 4 %34 = load i32, ptr @EOF, align 4 %35 = icmp ne i32 %33, %34 br i1 %35, label %23, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %31 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %17 br label %36 36: ; preds = %.loopexit, %30 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr @EOF, align 4 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %13 40: ; preds = %36 %41 = load ptr, ptr %5, align 8 %42 = load ptr, ptr @stdin, align 8 %43 = icmp ne ptr %41, %42 br i1 %43, label %44, label %47 44: ; preds = %40 %45 = load ptr, ptr %5, align 8 %46 = call i32 @fclose(ptr noundef %45) br label %47 47: ; preds = %44, %40 store i32 1, ptr %4, align 4 br label %49 ._crit_edge: ; preds = %13 br label %48 48: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %49 49: ; preds = %48, %47 %50 = load i32, ptr %4, align 4 ret i32 %50 } declare i32 @getc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpst0ooc6x.c' source_filename = "/tmp/tmpst0ooc6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__replace_env(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %46, %1 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds ptr, ptr %6, i64 %8 %10 = load ptr, ptr %9, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %49 12: ; preds = %5 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 36 br i1 %21, label %22, label %46 22: ; preds = %12 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = call ptr @getenv(ptr noundef %28) store ptr %29, ptr %4, align 8 %30 = load ptr, ptr %4, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %34 32: ; preds = %22 %33 = load ptr, ptr %4, align 8 br label %40 34: ; preds = %22 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %35, i64 %37 %39 = load ptr, ptr %38, align 8 br label %40 40: ; preds = %34, %32 %41 = phi ptr [ %33, %32 ], [ %39, %34 ] %42 = load ptr, ptr %2, align 8 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 store ptr %41, ptr %45, align 8 br label %46 46: ; preds = %40, %12 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 br label %5, !llvm.loop !6 49: ; preds = %5 ret void } declare ptr @getenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpst0ooc6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__replace_env(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds ptr, ptr %5, i64 %7 %9 = load ptr, ptr %8, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %.lr.ph, label %54 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %45 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 36 br i1 %20, label %21, label %45 21: ; preds = %11 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 1 %28 = call ptr @getenv(ptr noundef %27) store ptr %28, ptr %4, align 8 %29 = load ptr, ptr %4, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %21 %32 = load ptr, ptr %4, align 8 br label %39 33: ; preds = %21 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 br label %39 39: ; preds = %33, %31 %40 = phi ptr [ %32, %31 ], [ %38, %33 ] %41 = load ptr, ptr %2, align 8 %42 = load i32, ptr %3, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 store ptr %40, ptr %44, align 8 br label %45 45: ; preds = %39, %11 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = load ptr, ptr %2, align 8 %49 = load i32, ptr %3, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %54 54: ; preds = %._crit_edge, %1 ret void } declare ptr @getenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpy1u8pai0.c' source_filename = "/tmp/tmpy1u8pai0.c" target datalayout = "e-m:e-p270: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 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_BROADCAST = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"setsockopt\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"sendto\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"client: [%s:%hu]:%s\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 %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [4096 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca [128 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 4096, i1 false) %16 = load i32, ptr %4, align 4 %17 = icmp sge i32 %16, 2 %18 = zext i1 %17 to i32 %19 = call i32 @assert(i32 noundef %18) %20 = load i32, ptr @AF_INET, align 4 %21 = load i32, ptr @SOCK_DGRAM, align 4 %22 = call i32 @socket(i32 noundef %20, i32 noundef %21, i32 noundef 0) store i32 %22, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %2 %26 = call i32 @perror(ptr noundef @.str) %27 = call i32 @exit(i32 noundef -1) #4 unreachable 28: ; preds = %2 store i32 1, ptr %12, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr @SOL_SOCKET, align 4 %31 = load i32, ptr @SO_BROADCAST, align 4 %32 = call i32 @setsockopt(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %12, i32 noundef 4) store i32 %32, ptr %9, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %28 %36 = call i32 @perror(ptr noundef @.str.1) %37 = call i32 @exit(i32 noundef -1) #4 unreachable 38: ; preds = %28 %39 = call i32 @bzero(ptr noundef %6, i32 noundef 12) %40 = load i32, ptr @AF_INET, align 4 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %40, ptr %41, align 4 %42 = call i32 @htons(i32 noundef 6666) %43 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %42, ptr %43, 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 %6, i32 0, i32 0 %48 = call i32 @inet_aton(ptr noundef %46, ptr noundef %47) store i32 12, ptr %10, align 4 store i32 5, ptr %13, align 4 br label %49 49: ; preds = %95, %38 %50 = load i32, ptr %13, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %13, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %96 53: ; preds = %49 %54 = call i32 @sleep(i32 noundef 1) %55 = call i32 @time(ptr noundef null) store i32 %55, ptr %14, align 4 call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 128, i1 false) %56 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0 %57 = call ptr @ctime(ptr noundef %14) %58 = call i32 @snprintf(ptr noundef %56, i32 noundef 127, ptr noundef @.str.2, ptr noundef %57) store i32 %58, ptr %9, align 4 %59 = load i32, ptr %9, align 4 %60 = sub nsw i32 %59, 1 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %61 store i8 0, ptr %62, align 1 %63 = load i32, ptr %8, align 4 %64 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0 %65 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0 %66 = call i64 @strlen(ptr noundef %65) %67 = add nsw i64 %66, 1 %68 = load i32, ptr %10, align 4 %69 = call i32 @sendto(i32 noundef %63, ptr noundef %64, i64 noundef %67, i32 noundef 0, ptr noundef %6, i32 noundef %68) store i32 %69, ptr %9, align 4 %70 = load i32, ptr %9, align 4 %71 = icmp slt i32 %70, 0 br i1 %71, label %72, label %74 72: ; preds = %53 %73 = call i32 @perror(ptr noundef @.str.3) br label %96 74: ; preds = %53 %75 = load i32, ptr %8, align 4 %76 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %77 = call i32 @recvfrom(i32 noundef %75, ptr noundef %76, i32 noundef 4095, i32 noundef 0, ptr noundef %6, ptr noundef %10) store i32 %77, ptr %9, align 4 %78 = load i32, ptr %9, align 4 %79 = icmp sle i32 %78, 0 br i1 %79, label %80, label %82 80: ; preds = %74 %81 = call i32 @perror(ptr noundef @.str.4) br label %96 82: ; preds = %74 %83 = load i32, ptr %9, align 4 %84 = sub nsw i32 %83, 1 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 %85 store i8 0, ptr %86, align 1 %87 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %88 = load i32, ptr %87, align 4 %89 = call ptr @inet_ntoa(i32 noundef %88) %90 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %91 = load i32, ptr %90, align 4 %92 = call i32 @ntohs(i32 noundef %91) %93 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %94 = call i32 @printf(ptr noundef @.str.5, ptr noundef %89, i32 noundef %92, ptr noundef %93) br label %95 95: ; preds = %82 br label %49, !llvm.loop !6 96: ; preds = %80, %72, %49 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 @assert(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @inet_aton(ptr noundef, ptr noundef) #2 declare i32 @sleep(i32 noundef) #2 declare i32 @time(ptr noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @ctime(ptr noundef) #2 declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare ptr @inet_ntoa(i32 noundef) #2 declare i32 @ntohs(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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy1u8pai0.c" target datalayout = "e-m:e-p270: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 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_BROADCAST = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"setsockopt\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"sendto\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"client: [%s:%hu]:%s\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 %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [4096 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca [128 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 4096, i1 false) %16 = load i32, ptr %4, align 4 %17 = icmp sge i32 %16, 2 %18 = zext i1 %17 to i32 %19 = call i32 @assert(i32 noundef %18) %20 = load i32, ptr @AF_INET, align 4 %21 = load i32, ptr @SOCK_DGRAM, align 4 %22 = call i32 @socket(i32 noundef %20, i32 noundef %21, i32 noundef 0) store i32 %22, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %2 %26 = call i32 @perror(ptr noundef @.str) %27 = call i32 @exit(i32 noundef -1) #4 unreachable 28: ; preds = %2 store i32 1, ptr %12, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr @SOL_SOCKET, align 4 %31 = load i32, ptr @SO_BROADCAST, align 4 %32 = call i32 @setsockopt(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %12, i32 noundef 4) store i32 %32, ptr %9, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %28 %36 = call i32 @perror(ptr noundef @.str.1) %37 = call i32 @exit(i32 noundef -1) #4 unreachable 38: ; preds = %28 %39 = call i32 @bzero(ptr noundef %6, i32 noundef 12) %40 = load i32, ptr @AF_INET, align 4 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %40, ptr %41, align 4 %42 = call i32 @htons(i32 noundef 6666) %43 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %42, ptr %43, 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 %6, i32 0, i32 0 %48 = call i32 @inet_aton(ptr noundef %46, ptr noundef %47) store i32 12, ptr %10, align 4 store i32 5, ptr %13, align 4 %49 = load i32, ptr %13, align 4 %50 = add nsw i32 %49, -1 store i32 %50, ptr %13, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %38 br label %52 52: ; preds = %.lr.ph, %94 %53 = call i32 @sleep(i32 noundef 1) %54 = call i32 @time(ptr noundef null) store i32 %54, ptr %14, align 4 call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 128, i1 false) %55 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0 %56 = call ptr @ctime(ptr noundef %14) %57 = call i32 @snprintf(ptr noundef %55, i32 noundef 127, ptr noundef @.str.2, ptr noundef %56) store i32 %57, ptr %9, align 4 %58 = load i32, ptr %9, align 4 %59 = sub nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %60 store i8 0, ptr %61, align 1 %62 = load i32, ptr %8, align 4 %63 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0 %64 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0 %65 = call i64 @strlen(ptr noundef %64) %66 = add nsw i64 %65, 1 %67 = load i32, ptr %10, align 4 %68 = call i32 @sendto(i32 noundef %62, ptr noundef %63, i64 noundef %66, i32 noundef 0, ptr noundef %6, i32 noundef %67) store i32 %68, ptr %9, align 4 %69 = load i32, ptr %9, align 4 %70 = icmp slt i32 %69, 0 br i1 %70, label %71, label %73 71: ; preds = %52 %72 = call i32 @perror(ptr noundef @.str.3) br label %98 73: ; preds = %52 %74 = load i32, ptr %8, align 4 %75 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %76 = call i32 @recvfrom(i32 noundef %74, ptr noundef %75, i32 noundef 4095, i32 noundef 0, ptr noundef %6, ptr noundef %10) store i32 %76, ptr %9, align 4 %77 = load i32, ptr %9, align 4 %78 = icmp sle i32 %77, 0 br i1 %78, label %79, label %81 79: ; preds = %73 %80 = call i32 @perror(ptr noundef @.str.4) br label %98 81: ; preds = %73 %82 = load i32, ptr %9, align 4 %83 = sub nsw i32 %82, 1 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 %84 store i8 0, ptr %85, align 1 %86 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %87 = load i32, ptr %86, align 4 %88 = call ptr @inet_ntoa(i32 noundef %87) %89 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %90 = load i32, ptr %89, align 4 %91 = call i32 @ntohs(i32 noundef %90) %92 = getelementptr inbounds [4096 x i8], ptr %11, i64 0, i64 0 %93 = call i32 @printf(ptr noundef @.str.5, ptr noundef %88, i32 noundef %91, ptr noundef %92) br label %94 94: ; preds = %81 %95 = load i32, ptr %13, align 4 %96 = add nsw i32 %95, -1 store i32 %96, ptr %13, align 4 %97 = icmp ne i32 %96, 0 br i1 %97, label %52, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %94 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %38 br label %98 98: ; preds = %.loopexit, %79, %71 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 @assert(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @inet_aton(ptr noundef, ptr noundef) #2 declare i32 @sleep(i32 noundef) #2 declare i32 @time(ptr noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @ctime(ptr noundef) #2 declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare ptr @inet_ntoa(i32 noundef) #2 declare i32 @ntohs(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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqtf_2p_c.c' source_filename = "/tmp/tmpqtf_2p_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memdst_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqtf_2p_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memdst_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp50efzlro.c' source_filename = "/tmp/tmp50efzlro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"could not open %s, returning NULL file\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"not allocate memory .. FATAL ERROR\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"could not read %s .. FATAL ERROR\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rd_24section(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str) store ptr %10, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %1 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14) store ptr null, ptr %2, align 8 br label %82 16: ; preds = %1 store i32 0, ptr %5, align 4 store i32 0, ptr %8, align 4 br label %17 17: ; preds = %32, %16 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %18, 3 br i1 %19, label %20, label %35 20: ; preds = %17 %21 = load ptr, ptr %4, align 8 %22 = call i32 @getc(ptr noundef %21) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %20 store ptr null, ptr %2, align 8 br label %82 27: ; preds = %20 %28 = load i32, ptr %8, align 4 %29 = shl i32 %28, 8 %30 = load i32, ptr %6, align 4 %31 = add i32 %29, %30 store i32 %31, ptr %8, align 4 br label %32 32: ; preds = %27 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %17, !llvm.loop !6 35: ; preds = %17 %36 = load i32, ptr %8, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @malloc(i64 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %7, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %45 41: ; preds = %35 %42 = load i32, ptr @stderr, align 4 %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.2) %44 = call i32 @exit(i32 noundef 8) #3 unreachable 45: ; preds = %35 %46 = load i32, ptr %8, align 4 %47 = lshr i32 %46, 16 %48 = and i32 %47, 255 %49 = trunc i32 %48 to i8 %50 = load ptr, ptr %7, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 0 store i8 %49, ptr %51, align 1 %52 = load i32, ptr %8, align 4 %53 = lshr i32 %52, 8 %54 = and i32 %53, 255 %55 = trunc i32 %54 to i8 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 1 store i8 %55, ptr %57, align 1 %58 = load i32, ptr %8, align 4 %59 = and i32 %58, 255 %60 = trunc i32 %59 to i8 %61 = load ptr, ptr %7, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 2 store i8 %60, ptr %62, align 1 %63 = load ptr, ptr %7, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 3 %65 = load i32, ptr %8, align 4 %66 = sub i32 %65, 3 %67 = load ptr, ptr %4, align 8 %68 = call i32 @fread(ptr noundef %64, i32 noundef 1, i32 noundef %66, ptr noundef %67) store i32 %68, ptr %5, align 4 %69 = load ptr, ptr %4, align 8 %70 = call i32 @fclose(ptr noundef %69) %71 = load i32, ptr %5, align 4 %72 = load i32, ptr %8, align 4 %73 = sub i32 %72, 3 %74 = icmp eq i32 %71, %73 br i1 %74, label %75, label %77 75: ; preds = %45 %76 = load ptr, ptr %7, align 8 store ptr %76, ptr %2, align 8 br label %82 77: ; preds = %45 %78 = load i32, ptr @stderr, align 4 %79 = load ptr, ptr %3, align 8 %80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.3, ptr noundef %79) %81 = call i32 @exit(i32 noundef 8) #3 unreachable 82: ; preds = %75, %26, %12 %83 = load ptr, ptr %2, align 8 ret ptr %83 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @getc(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp50efzlro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"could not open %s, returning NULL file\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"not allocate memory .. FATAL ERROR\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"could not read %s .. FATAL ERROR\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rd_24section(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str) store ptr %10, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %1 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14) store ptr null, ptr %2, align 8 br label %83 16: ; preds = %1 store i32 0, ptr %5, align 4 store i32 0, ptr %8, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %17, 3 br i1 %18, label %.lr.ph, label %36 .lr.ph: ; preds = %16 br label %19 19: ; preds = %.lr.ph, %31 %20 = load ptr, ptr %4, align 8 %21 = call i32 @getc(ptr noundef %20) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr @EOF, align 4 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %26 25: ; preds = %19 store ptr null, ptr %2, align 8 br label %83 26: ; preds = %19 %27 = load i32, ptr %8, align 4 %28 = shl i32 %27, 8 %29 = load i32, ptr %6, align 4 %30 = add i32 %28, %29 store i32 %30, ptr %8, align 4 br label %31 31: ; preds = %26 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %34, 3 br i1 %35, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %16 %37 = load i32, ptr %8, align 4 %38 = zext i32 %37 to i64 %39 = call i64 @malloc(i64 noundef %38) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %7, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %46 42: ; preds = %36 %43 = load i32, ptr @stderr, align 4 %44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.2) %45 = call i32 @exit(i32 noundef 8) #3 unreachable 46: ; preds = %36 %47 = load i32, ptr %8, align 4 %48 = lshr i32 %47, 16 %49 = and i32 %48, 255 %50 = trunc i32 %49 to i8 %51 = load ptr, ptr %7, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 0 store i8 %50, ptr %52, align 1 %53 = load i32, ptr %8, align 4 %54 = lshr i32 %53, 8 %55 = and i32 %54, 255 %56 = trunc i32 %55 to i8 %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 1 store i8 %56, ptr %58, align 1 %59 = load i32, ptr %8, align 4 %60 = and i32 %59, 255 %61 = trunc i32 %60 to i8 %62 = load ptr, ptr %7, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 2 store i8 %61, ptr %63, align 1 %64 = load ptr, ptr %7, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 3 %66 = load i32, ptr %8, align 4 %67 = sub i32 %66, 3 %68 = load ptr, ptr %4, align 8 %69 = call i32 @fread(ptr noundef %65, i32 noundef 1, i32 noundef %67, ptr noundef %68) store i32 %69, ptr %5, align 4 %70 = load ptr, ptr %4, align 8 %71 = call i32 @fclose(ptr noundef %70) %72 = load i32, ptr %5, align 4 %73 = load i32, ptr %8, align 4 %74 = sub i32 %73, 3 %75 = icmp eq i32 %72, %74 br i1 %75, label %76, label %78 76: ; preds = %46 %77 = load ptr, ptr %7, align 8 store ptr %77, ptr %2, align 8 br label %83 78: ; preds = %46 %79 = load i32, ptr @stderr, align 4 %80 = load ptr, ptr %3, align 8 %81 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %79, ptr noundef @.str.3, ptr noundef %80) %82 = call i32 @exit(i32 noundef 8) #3 unreachable 83: ; preds = %76, %25, %12 %84 = load ptr, ptr %2, align 8 ret ptr %84 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @getc(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}