llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpyzob5047.c' source_filename = "/tmp/tmpyzob5047.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"PID do pai: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Filho vai tentar mudar a prioridade do pai\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Resultado da syscall: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @getpid() store i32 %7, ptr %6, align 4 %8 = call i64 (...) @fork() %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load i32, ptr %6, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11) %13 = call i32 @sleep(i32 noundef 60) br label %19 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = load i32, ptr %6, align 4 %17 = call i32 @setpriority_ep(i32 noundef %16, i32 noundef 1) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) br label %19 19: ; preds = %14, %10 ret i32 0 } declare i32 @getpid(...) #1 declare i64 @fork(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @setpriority_ep(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/tmpyzob5047.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"PID do pai: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Filho vai tentar mudar a prioridade do pai\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Resultado da syscall: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @getpid() store i32 %7, ptr %6, align 4 %8 = call i64 (...) @fork() %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load i32, ptr %6, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11) %13 = call i32 @sleep(i32 noundef 60) br label %19 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = load i32, ptr %6, align 4 %17 = call i32 @setpriority_ep(i32 noundef %16, i32 noundef 1) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) br label %19 19: ; preds = %14, %10 ret i32 0 } declare i32 @getpid(...) #1 declare i64 @fork(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @setpriority_ep(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/tmpk7loiog6.c' source_filename = "/tmp/tmpk7loiog6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loop_revmult_lazy(i64 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %8 8: ; preds = %17, %3 %9 = load i64, ptr %7, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = load i32, ptr %5, align 4 %14 = call i32 @ranged_random_revmult_lazy(i32 noundef %13) %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i32, ptr %15, i32 1 store ptr %16, ptr %6, align 8 store i32 %14, ptr %15, align 4 br label %17 17: ; preds = %12 %18 = load i64, ptr %7, align 8 %19 = add i64 %18, 1 store i64 %19, ptr %7, align 8 br label %8, !llvm.loop !6 20: ; preds = %8 ret void } declare i32 @ranged_random_revmult_lazy(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/tmpk7loiog6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loop_revmult_lazy(i64 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %8 = load i64, ptr %7, align 8 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %16 %12 = load i32, ptr %5, align 4 %13 = call i32 @ranged_random_revmult_lazy(i32 noundef %12) %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i32, ptr %14, i32 1 store ptr %15, ptr %6, align 8 store i32 %13, ptr %14, align 4 br label %16 16: ; preds = %11 %17 = load i64, ptr %7, align 8 %18 = add i64 %17, 1 store i64 %18, ptr %7, align 8 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %4, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %3 ret void } declare i32 @ranged_random_revmult_lazy(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/tmp8qrqqph_.c' source_filename = "/tmp/tmp8qrqqph_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"A 3 HIL JM O 2TUVWXY51SE Z 8 \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @reverse(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store ptr @.str, ptr %4, align 8 %5 = load i8, ptr %3, align 1 %6 = sext i8 %5 to i32 %7 = icmp sge i32 %6, 65 br i1 %7, label %8, label %20 8: ; preds = %1 %9 = load i8, ptr %3, align 1 %10 = sext i8 %9 to i32 %11 = icmp sle i32 %10, 90 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = sub nsw i32 %15, 65 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %13, i64 %17 %19 = load i8, ptr %18, align 1 store i8 %19, ptr %2, align 1 br label %34 20: ; preds = %8, %1 %21 = load i8, ptr %3, align 1 %22 = call i64 @isdigit(i8 noundef signext %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %33 24: ; preds = %20 %25 = load ptr, ptr %4, align 8 %26 = load i8, ptr %3, align 1 %27 = sext i8 %26 to i32 %28 = sub nsw i32 %27, 48 %29 = add nsw i32 %28, 25 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %25, i64 %30 %32 = load i8, ptr %31, align 1 store i8 %32, ptr %2, align 1 br label %34 33: ; preds = %20 store i8 0, ptr %2, align 1 br label %34 34: ; preds = %33, %24, %12 %35 = load i8, ptr %2, align 1 ret i8 %35 } declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8qrqqph_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"A 3 HIL JM O 2TUVWXY51SE Z 8 \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @reverse(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i8 %0, ptr %3, align 1 store ptr @.str, ptr %4, align 8 %5 = load i8, ptr %3, align 1 %6 = sext i8 %5 to i32 %7 = icmp sge i32 %6, 65 br i1 %7, label %8, label %20 8: ; preds = %1 %9 = load i8, ptr %3, align 1 %10 = sext i8 %9 to i32 %11 = icmp sle i32 %10, 90 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = sub nsw i32 %15, 65 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %13, i64 %17 %19 = load i8, ptr %18, align 1 store i8 %19, ptr %2, align 1 br label %34 20: ; preds = %8, %1 %21 = load i8, ptr %3, align 1 %22 = call i64 @isdigit(i8 noundef signext %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %33 24: ; preds = %20 %25 = load ptr, ptr %4, align 8 %26 = load i8, ptr %3, align 1 %27 = sext i8 %26 to i32 %28 = sub nsw i32 %27, 48 %29 = add nsw i32 %28, 25 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %25, i64 %30 %32 = load i8, ptr %31, align 1 store i8 %32, ptr %2, align 1 br label %34 33: ; preds = %20 store i8 0, ptr %2, align 1 br label %34 34: ; preds = %33, %24, %12 %35 = load i8, ptr %2, align 1 ret i8 %35 } declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp56w9b65m.c' source_filename = "/tmp/tmp56w9b65m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loop_mult_lazy_linear(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %8 8: ; preds = %20, %3 %9 = load i64, ptr %7, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %12, label %23 12: ; preds = %8 %13 = load i64, ptr %5, align 8 %14 = load i64, ptr %7, align 8 %15 = add i64 %13, %14 %16 = call i32 @ranged_random_mult_lazy(i64 noundef %15) %17 = sext i32 %16 to i64 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds i64, ptr %18, i32 1 store ptr %19, ptr %6, align 8 store i64 %17, ptr %18, align 8 br label %20 20: ; preds = %12 %21 = load i64, ptr %7, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %7, align 8 br label %8, !llvm.loop !6 23: ; preds = %8 ret void } declare i32 @ranged_random_mult_lazy(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp56w9b65m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loop_mult_lazy_linear(i64 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %8 = load i64, ptr %7, align 8 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %.lr.ph, label %25 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %19 %12 = load i64, ptr %5, align 8 %13 = load i64, ptr %7, align 8 %14 = add i64 %12, %13 %15 = call i32 @ranged_random_mult_lazy(i64 noundef %14) %16 = sext i32 %15 to i64 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i64, ptr %17, i32 1 store ptr %18, ptr %6, align 8 store i64 %16, ptr %17, align 8 br label %19 19: ; preds = %11 %20 = load i64, ptr %7, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %7, align 8 %22 = load i64, ptr %7, align 8 %23 = load i64, ptr %4, align 8 %24 = icmp ult i64 %22, %23 br i1 %24, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %3 ret void } declare i32 @ranged_random_mult_lazy(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy7z6v0do.c' source_filename = "/tmp/tmpy7z6v0do.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy7z6v0do.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq7pvlkpb.c' source_filename = "/tmp/tmpq7pvlkpb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SIDD_CMP_EQUAL_EACH = dso_local global i64 0, align 8 @_SIDD_LEAST_SIGNIFICANT = dso_local global i64 0, align 8 @_SIDD_NEGATIVE_POLARITY = dso_local global i64 0, align 8 @_SIDD_UBYTE_OPS = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq7pvlkpb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SIDD_CMP_EQUAL_EACH = dso_local global i64 0, align 8 @_SIDD_LEAST_SIGNIFICANT = dso_local global i64 0, align 8 @_SIDD_NEGATIVE_POLARITY = dso_local global i64 0, align 8 @_SIDD_UBYTE_OPS = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbg10f2ws.c' source_filename = "/tmp/tmpbg10f2ws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @crc32_value.crc32tab = internal constant [256 x i32] [i32 0, i32 1996959894, i32 -301047508, i32 -1727442502, i32 124634137, i32 1886057615, i32 -379345611, i32 -1637575261, i32 249268274, i32 2044508324, i32 -522852066, i32 -1747789432, i32 162941995, i32 2125561021, i32 -407360249, i32 -1866523247, i32 498536548, i32 1789927666, i32 -205950648, i32 -2067906082, i32 450548861, i32 1843258603, i32 -187386543, i32 -2083289657, i32 325883990, i32 1684777152, i32 -43845254, i32 -1973040660, i32 335633487, i32 1661365465, i32 -99664541, i32 -1928851979, i32 997073096, i32 1281953886, i32 -715111964, i32 -1570279054, i32 1006888145, i32 1258607687, i32 -770865667, i32 -1526024853, i32 901097722, i32 1119000684, i32 -608450090, i32 -1396901568, i32 853044451, i32 1172266101, i32 -589951537, i32 -1412350631, i32 651767980, i32 1373503546, i32 -925412992, i32 -1076862698, i32 565507253, i32 1454621731, i32 -809855591, i32 -1195530993, i32 671266974, i32 1594198024, i32 -972236366, i32 -1324619484, i32 795835527, i32 1483230225, i32 -1050600021, i32 -1234817731, i32 1994146192, i32 31158534, i32 -1731059524, i32 -271249366, i32 1907459465, i32 112637215, i32 -1614814043, i32 -390540237, i32 2013776290, i32 251722036, i32 -1777751922, i32 -519137256, i32 2137656763, i32 141376813, i32 -1855689577, i32 -429695999, i32 1802195444, i32 476864866, i32 -2056965928, i32 -228458418, i32 1812370925, i32 453092731, i32 -2113342271, i32 -183516073, i32 1706088902, i32 314042704, i32 -1950435094, i32 -54949764, i32 1658658271, i32 366619977, i32 -1932296973, i32 -69972891, i32 1303535960, i32 984961486, i32 -1547960204, i32 -725929758, i32 1256170817, i32 1037604311, i32 -1529756563, i32 -740887301, i32 1131014506, i32 879679996, i32 -1385723834, i32 -631195440, i32 1141124467, i32 855842277, i32 -1442165665, i32 -586318647, i32 1342533948, i32 654459306, i32 -1106571248, i32 -921952122, i32 1466479909, i32 544179635, i32 -1184443383, i32 -832445281, i32 1591671054, i32 702138776, i32 -1328506846, i32 -942167884, i32 1504918807, i32 783551873, i32 -1212326853, i32 -1061524307, i32 -306674912, i32 -1698712650, i32 62317068, i32 1957810842, i32 -355121351, i32 -1647151185, i32 81470997, i32 1943803523, i32 -480048366, i32 -1805370492, i32 225274430, i32 2053790376, i32 -468791541, i32 -1828061283, i32 167816743, i32 2097651377, i32 -267414716, i32 -2029476910, i32 503444072, i32 1762050814, i32 -144550051, i32 -2140837941, i32 426522225, i32 1852507879, i32 -19653770, i32 -1982649376, i32 282753626, i32 1742555852, i32 -105259153, i32 -1900089351, i32 397917763, i32 1622183637, i32 -690576408, i32 -1580100738, i32 953729732, i32 1340076626, i32 -776247311, i32 -1497606297, i32 1068828381, i32 1219638859, i32 -670225446, i32 -1358292148, i32 906185462, i32 1090812512, i32 -547295293, i32 -1469587627, i32 829329135, i32 1181335161, i32 -882789492, i32 -1134132454, i32 628085408, i32 1382605366, i32 -871598187, i32 -1156888829, i32 570562233, i32 1426400815, i32 -977650754, i32 -1296233688, i32 733239954, i32 1555261956, i32 -1026031705, i32 -1244606671, i32 752459403, i32 1541320221, i32 -1687895376, i32 -328994266, i32 1969922972, i32 40735498, i32 -1677130071, i32 -351390145, i32 1913087877, i32 83908371, i32 -1782625662, i32 -491226604, i32 2075208622, i32 213261112, i32 -1831694693, i32 -438977011, i32 2094854071, i32 198958881, i32 -2032938284, i32 -237706686, i32 1759359992, i32 534414190, i32 -2118248755, i32 -155638181, i32 1873836001, i32 414664567, i32 -2012718362, i32 -15766928, i32 1711684554, i32 285281116, i32 -1889165569, i32 -127750551, i32 1634467795, i32 376229701, i32 -1609899400, i32 -686959890, i32 1308918612, i32 956543938, i32 -1486412191, i32 -799009033, i32 1231636301, i32 1047427035, i32 -1362007478, i32 -640263460, i32 1088359270, i32 936918000, i32 -1447252397, i32 -558129467, i32 1202900863, i32 817233897, i32 -1111625188, i32 -893730166, i32 1404277552, i32 615818150, i32 -1160759803, i32 -841546093, i32 1423857449, i32 601450431, i32 -1285129682, i32 -1000256840, i32 1567103746, i32 711928724, i32 -1274298825, i32 -1022587231, i32 1510334235, i32 755167117], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @crc32_value(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 %11 = load i64, ptr %5, align 8 %12 = trunc i64 %11 to i32 store i32 %12, ptr %8, align 4 %13 = load i32, ptr %6, align 4 %14 = xor i32 %13, -1 store i32 %14, ptr %9, align 4 br label %15 15: ; preds = %33, %3 %16 = load i32, ptr %8, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %8, align 4 %18 = icmp ne i32 %16, 0 br i1 %18, label %19, label %36 19: ; preds = %15 %20 = load i32, ptr %9, align 4 %21 = lshr i32 %20, 8 %22 = and i32 %21, 16777215 %23 = load i32, ptr %9, align 4 %24 = load ptr, ptr %7, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = xor i32 %23, %26 %28 = and i32 %27, 255 %29 = zext i32 %28 to i64 %30 = getelementptr inbounds [256 x i32], ptr @crc32_value.crc32tab, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = xor i32 %22, %31 store i32 %32, ptr %9, align 4 br label %33 33: ; preds = %19 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %7, align 8 br label %15, !llvm.loop !6 36: ; preds = %15 %37 = load i32, ptr %9, align 4 %38 = xor i32 %37, -1 ret i32 %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbg10f2ws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @crc32_value.crc32tab = internal constant [256 x i32] [i32 0, i32 1996959894, i32 -301047508, i32 -1727442502, i32 124634137, i32 1886057615, i32 -379345611, i32 -1637575261, i32 249268274, i32 2044508324, i32 -522852066, i32 -1747789432, i32 162941995, i32 2125561021, i32 -407360249, i32 -1866523247, i32 498536548, i32 1789927666, i32 -205950648, i32 -2067906082, i32 450548861, i32 1843258603, i32 -187386543, i32 -2083289657, i32 325883990, i32 1684777152, i32 -43845254, i32 -1973040660, i32 335633487, i32 1661365465, i32 -99664541, i32 -1928851979, i32 997073096, i32 1281953886, i32 -715111964, i32 -1570279054, i32 1006888145, i32 1258607687, i32 -770865667, i32 -1526024853, i32 901097722, i32 1119000684, i32 -608450090, i32 -1396901568, i32 853044451, i32 1172266101, i32 -589951537, i32 -1412350631, i32 651767980, i32 1373503546, i32 -925412992, i32 -1076862698, i32 565507253, i32 1454621731, i32 -809855591, i32 -1195530993, i32 671266974, i32 1594198024, i32 -972236366, i32 -1324619484, i32 795835527, i32 1483230225, i32 -1050600021, i32 -1234817731, i32 1994146192, i32 31158534, i32 -1731059524, i32 -271249366, i32 1907459465, i32 112637215, i32 -1614814043, i32 -390540237, i32 2013776290, i32 251722036, i32 -1777751922, i32 -519137256, i32 2137656763, i32 141376813, i32 -1855689577, i32 -429695999, i32 1802195444, i32 476864866, i32 -2056965928, i32 -228458418, i32 1812370925, i32 453092731, i32 -2113342271, i32 -183516073, i32 1706088902, i32 314042704, i32 -1950435094, i32 -54949764, i32 1658658271, i32 366619977, i32 -1932296973, i32 -69972891, i32 1303535960, i32 984961486, i32 -1547960204, i32 -725929758, i32 1256170817, i32 1037604311, i32 -1529756563, i32 -740887301, i32 1131014506, i32 879679996, i32 -1385723834, i32 -631195440, i32 1141124467, i32 855842277, i32 -1442165665, i32 -586318647, i32 1342533948, i32 654459306, i32 -1106571248, i32 -921952122, i32 1466479909, i32 544179635, i32 -1184443383, i32 -832445281, i32 1591671054, i32 702138776, i32 -1328506846, i32 -942167884, i32 1504918807, i32 783551873, i32 -1212326853, i32 -1061524307, i32 -306674912, i32 -1698712650, i32 62317068, i32 1957810842, i32 -355121351, i32 -1647151185, i32 81470997, i32 1943803523, i32 -480048366, i32 -1805370492, i32 225274430, i32 2053790376, i32 -468791541, i32 -1828061283, i32 167816743, i32 2097651377, i32 -267414716, i32 -2029476910, i32 503444072, i32 1762050814, i32 -144550051, i32 -2140837941, i32 426522225, i32 1852507879, i32 -19653770, i32 -1982649376, i32 282753626, i32 1742555852, i32 -105259153, i32 -1900089351, i32 397917763, i32 1622183637, i32 -690576408, i32 -1580100738, i32 953729732, i32 1340076626, i32 -776247311, i32 -1497606297, i32 1068828381, i32 1219638859, i32 -670225446, i32 -1358292148, i32 906185462, i32 1090812512, i32 -547295293, i32 -1469587627, i32 829329135, i32 1181335161, i32 -882789492, i32 -1134132454, i32 628085408, i32 1382605366, i32 -871598187, i32 -1156888829, i32 570562233, i32 1426400815, i32 -977650754, i32 -1296233688, i32 733239954, i32 1555261956, i32 -1026031705, i32 -1244606671, i32 752459403, i32 1541320221, i32 -1687895376, i32 -328994266, i32 1969922972, i32 40735498, i32 -1677130071, i32 -351390145, i32 1913087877, i32 83908371, i32 -1782625662, i32 -491226604, i32 2075208622, i32 213261112, i32 -1831694693, i32 -438977011, i32 2094854071, i32 198958881, i32 -2032938284, i32 -237706686, i32 1759359992, i32 534414190, i32 -2118248755, i32 -155638181, i32 1873836001, i32 414664567, i32 -2012718362, i32 -15766928, i32 1711684554, i32 285281116, i32 -1889165569, i32 -127750551, i32 1634467795, i32 376229701, i32 -1609899400, i32 -686959890, i32 1308918612, i32 956543938, i32 -1486412191, i32 -799009033, i32 1231636301, i32 1047427035, i32 -1362007478, i32 -640263460, i32 1088359270, i32 936918000, i32 -1447252397, i32 -558129467, i32 1202900863, i32 817233897, i32 -1111625188, i32 -893730166, i32 1404277552, i32 615818150, i32 -1160759803, i32 -841546093, i32 1423857449, i32 601450431, i32 -1285129682, i32 -1000256840, i32 1567103746, i32 711928724, i32 -1274298825, i32 -1022587231, i32 1510334235, i32 755167117], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @crc32_value(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 %11 = load i64, ptr %5, align 8 %12 = trunc i64 %11 to i32 store i32 %12, ptr %8, align 4 %13 = load i32, ptr %6, align 4 %14 = xor i32 %13, -1 store i32 %14, ptr %9, align 4 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %15, -1 store i32 %16, ptr %8, align 4 %17 = icmp ne i32 %15, 0 br i1 %17, label %.lr.ph, label %38 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %32 %19 = load i32, ptr %9, align 4 %20 = lshr i32 %19, 8 %21 = and i32 %20, 16777215 %22 = load i32, ptr %9, align 4 %23 = load ptr, ptr %7, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = xor i32 %22, %25 %27 = and i32 %26, 255 %28 = zext i32 %27 to i64 %29 = getelementptr inbounds [256 x i32], ptr @crc32_value.crc32tab, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = xor i32 %21, %30 store i32 %31, ptr %9, align 4 br label %32 32: ; preds = %18 %33 = load ptr, ptr %7, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %7, align 8 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %8, align 4 %37 = icmp ne i32 %35, 0 br i1 %37, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %3 %39 = load i32, ptr %9, align 4 %40 = xor i32 %39, -1 ret i32 %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpowm31fro.c' source_filename = "/tmp/tmpowm31fro.c" target datalayout = "e-m:e-p270: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/tmpowm31fro.c" target datalayout = "e-m:e-p270: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/tmpfqw1m_hi.c' source_filename = "/tmp/tmpfqw1m_hi.c" target datalayout = "e-m:e-p270: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/tmpfqw1m_hi.c" target datalayout = "e-m:e-p270: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/tmpn92t7mfy.c' source_filename = "/tmp/tmpn92t7mfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EI_ABIVERSION = dso_local global i64 0, align 8 @EI_CLASS = dso_local global i64 0, align 8 @EI_DATA = dso_local global i64 0, align 8 @EI_MAG0 = dso_local global i64 0, align 8 @EI_OSABI = dso_local global i64 0, align 8 @EI_VERSION = dso_local global i64 0, align 8 @ELFCLASS32 = dso_local global ptr null, align 8 @ELFDATA2LSB = dso_local global ptr null, align 8 @ELFMAG = dso_local global i32 0, align 4 @ELFOSABI_NONE = dso_local global ptr null, align 8 @EM_MIPS = dso_local global i32 0, align 4 @ET_EXEC = dso_local global i32 0, align 4 @EV_CURRENT = dso_local global ptr null, align 8 @PF_R = dso_local global i32 0, align 4 @PF_W = dso_local global i32 0, align 4 @PF_X = dso_local global i32 0, align 4 @PT_LOAD = dso_local global i32 0, align 4 @SELFMAG = 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/tmpn92t7mfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EI_ABIVERSION = dso_local global i64 0, align 8 @EI_CLASS = dso_local global i64 0, align 8 @EI_DATA = dso_local global i64 0, align 8 @EI_MAG0 = dso_local global i64 0, align 8 @EI_OSABI = dso_local global i64 0, align 8 @EI_VERSION = dso_local global i64 0, align 8 @ELFCLASS32 = dso_local global ptr null, align 8 @ELFDATA2LSB = dso_local global ptr null, align 8 @ELFMAG = dso_local global i32 0, align 4 @ELFOSABI_NONE = dso_local global ptr null, align 8 @EM_MIPS = dso_local global i32 0, align 4 @ET_EXEC = dso_local global i32 0, align 4 @EV_CURRENT = dso_local global ptr null, align 8 @PF_R = dso_local global i32 0, align 4 @PF_W = dso_local global i32 0, align 4 @PF_X = dso_local global i32 0, align 4 @PT_LOAD = dso_local global i32 0, align 4 @SELFMAG = 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/tmph0ter6jt.c' source_filename = "/tmp/tmph0ter6jt.c" target datalayout = "e-m:e-p270: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 [34 x i8] c"Need to specify a mount to test!\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"failed to chdir\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Testing...\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"All tests passed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 1 %9 = load ptr, ptr %8, align 8 store ptr %9, ptr %6, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 %18 = call i64 @chdir(ptr noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = call i32 @perror(ptr noundef @.str.1) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %16 %24 = call i32 @printf(ptr noundef @.str.2) %25 = call i32 (...) @test_no_concurrent_opens() %26 = call i32 (...) @test_no_concurrent_coredumps() %27 = call i32 (...) @test_rotation() %28 = call i32 @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @chdir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @test_no_concurrent_opens(...) #1 declare i32 @test_no_concurrent_coredumps(...) #1 declare i32 @test_rotation(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmph0ter6jt.c" target datalayout = "e-m:e-p270: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 [34 x i8] c"Need to specify a mount to test!\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"failed to chdir\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Testing...\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"All tests passed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 1 %9 = load ptr, ptr %8, align 8 store ptr %9, ptr %6, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 %18 = call i64 @chdir(ptr noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = call i32 @perror(ptr noundef @.str.1) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %16 %24 = call i32 @printf(ptr noundef @.str.2) %25 = call i32 (...) @test_no_concurrent_opens() %26 = call i32 (...) @test_no_concurrent_coredumps() %27 = call i32 (...) @test_rotation() %28 = call i32 @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @chdir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @test_no_concurrent_opens(...) #1 declare i32 @test_no_concurrent_coredumps(...) #1 declare i32 @test_rotation(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp7o06qg8a.c' source_filename = "/tmp/tmp7o06qg8a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"trans.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"File trans.dat non trovato\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"%-14s%-8s\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Numero Account\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"Bilancio\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"%d %lf\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"%-14d%-8.2lf\0A\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"%d%lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @e() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %1, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @puts(ptr noundef @.str.2) br label %24 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5) %10 = load ptr, ptr %1, align 8 %11 = call i32 @fscanf(ptr noundef %10, ptr noundef @.str.6, ptr noundef %2, ptr noundef %3) br label %12 12: ; preds = %17, %8 %13 = load ptr, ptr %1, align 8 %14 = call i32 @feof(ptr noundef %13) %15 = icmp ne i32 %14, 0 %16 = xor i1 %15, true br i1 %16, label %17, label %23 17: ; preds = %12 %18 = load i32, ptr %2, align 4 %19 = load double, ptr %3, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %18, double noundef %19) %21 = load ptr, ptr %1, align 8 %22 = call i32 @fscanf(ptr noundef %21, ptr noundef @.str.8, ptr noundef %2, ptr noundef %3) br label %12, !llvm.loop !6 23: ; preds = %12 br label %24 24: ; preds = %23, %6 %25 = load ptr, ptr %1, align 8 %26 = call i32 @fclose(ptr noundef %25) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @feof(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7o06qg8a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"trans.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"File trans.dat non trovato\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"%-14s%-8s\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Numero Account\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"Bilancio\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"%d %lf\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"%-14d%-8.2lf\0A\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"%d%lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @e() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %1, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @puts(ptr noundef @.str.2) br label %27 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5) %10 = load ptr, ptr %1, align 8 %11 = call i32 @fscanf(ptr noundef %10, ptr noundef @.str.6, ptr noundef %2, ptr noundef %3) %12 = load ptr, ptr %1, align 8 %13 = call i32 @feof(ptr noundef %12) %14 = icmp ne i32 %13, 0 %15 = xor i1 %14, true br i1 %15, label %.lr.ph, label %26 .lr.ph: ; preds = %8 br label %16 16: ; preds = %.lr.ph, %16 %17 = load i32, ptr %2, align 4 %18 = load double, ptr %3, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %17, double noundef %18) %20 = load ptr, ptr %1, align 8 %21 = call i32 @fscanf(ptr noundef %20, ptr noundef @.str.8, ptr noundef %2, ptr noundef %3) %22 = load ptr, ptr %1, align 8 %23 = call i32 @feof(ptr noundef %22) %24 = icmp ne i32 %23, 0 %25 = xor i1 %24, true br i1 %25, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %26 26: ; preds = %._crit_edge, %8 br label %27 27: ; preds = %26, %6 %28 = load ptr, ptr %1, align 8 %29 = call i32 @fclose(ptr noundef %28) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @feof(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"}
; ModuleID = '/tmp/tmpvpfhj8xl.c' source_filename = "/tmp/tmpvpfhj8xl.c" target datalayout = "e-m:e-p270: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/tmpvpfhj8xl.c" target datalayout = "e-m:e-p270: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/tmp96gwtqh_.c' source_filename = "/tmp/tmp96gwtqh_.c" target datalayout = "e-m:e-p270: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/tmp96gwtqh_.c" target datalayout = "e-m:e-p270: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/tmpah970gzl.c' source_filename = "/tmp/tmpah970gzl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGABRT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_ABRT() #0 { %1 = call i32 (...) @getpid() %2 = load i32, ptr @SIGABRT, align 4 %3 = call i32 @kill(i32 noundef %1, i32 noundef %2) ret i32 0 } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpah970gzl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGABRT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_ABRT() #0 { %1 = call i32 (...) @getpid() %2 = load i32, ptr @SIGABRT, align 4 %3 = call i32 @kill(i32 noundef %1, i32 noundef %2) ret i32 0 } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2sezjn_g.c' source_filename = "/tmp/tmp2sezjn_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @elf_close(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2sezjn_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @elf_close(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphr37__3j.c' source_filename = "/tmp/tmphr37__3j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @signal_sub(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 i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %18 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %11, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i64 @signal(i32 noundef %12, ptr noundef %13) store i64 %14, ptr %7, align 8 %15 = load i64, ptr %7, align 8 %16 = trunc i64 %15 to i32 %17 = load ptr, ptr %6, align 8 store i32 %16, ptr %17, align 4 br label %23 18: ; preds = %3 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i64 @signal(i32 noundef %20, ptr noundef %21) br label %23 23: ; preds = %18, %10 ret void } declare i64 @signal(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/tmphr37__3j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @signal_sub(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 i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %18 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %11, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i64 @signal(i32 noundef %12, ptr noundef %13) store i64 %14, ptr %7, align 8 %15 = load i64, ptr %7, align 8 %16 = trunc i64 %15 to i32 %17 = load ptr, ptr %6, align 8 store i32 %16, ptr %17, align 4 br label %23 18: ; preds = %3 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i64 @signal(i32 noundef %20, ptr noundef %21) br label %23 23: ; preds = %18, %10 ret void } declare i64 @signal(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/tmp5dg6pzz6.c' source_filename = "/tmp/tmp5dg6pzz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NI_NUMERICHOST = dso_local global i32 0, align 4 @NI_NUMERICSERV = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_address_to_hostname(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = load ptr, ptr %10, align 8 %18 = load i32, ptr %11, align 4 %19 = load ptr, ptr %12, align 8 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr @NI_NUMERICHOST, align 4 %22 = load i32, ptr @NI_NUMERICSERV, align 4 %23 = or i32 %21, %22 %24 = call i32 @getnameinfo(ptr noundef %15, i32 noundef %16, ptr noundef %17, i32 noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %23) store i32 %24, ptr %14, align 4 %25 = load i32, ptr %14, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %6 %28 = load i32, ptr %14, align 4 %29 = add nsw i32 72000000, %28 store i32 %29, ptr @errno, align 4 store i32 -1, ptr %7, align 4 br label %31 30: ; preds = %6 store i32 0, ptr %7, align 4 br label %31 31: ; preds = %30, %27 %32 = load i32, ptr %7, align 4 ret i32 %32 } declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 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/tmp5dg6pzz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NI_NUMERICHOST = dso_local global i32 0, align 4 @NI_NUMERICSERV = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_address_to_hostname(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = load ptr, ptr %10, align 8 %18 = load i32, ptr %11, align 4 %19 = load ptr, ptr %12, align 8 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr @NI_NUMERICHOST, align 4 %22 = load i32, ptr @NI_NUMERICSERV, align 4 %23 = or i32 %21, %22 %24 = call i32 @getnameinfo(ptr noundef %15, i32 noundef %16, ptr noundef %17, i32 noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %23) store i32 %24, ptr %14, align 4 %25 = load i32, ptr %14, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %6 %28 = load i32, ptr %14, align 4 %29 = add nsw i32 72000000, %28 store i32 %29, ptr @errno, align 4 store i32 -1, ptr %7, align 4 br label %31 30: ; preds = %6 store i32 0, ptr %7, align 4 br label %31 31: ; preds = %30, %27 %32 = load i32, ptr %7, align 4 ret i32 %32 } declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 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/tmp92yyrwun.c' source_filename = "/tmp/tmp92yyrwun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getNumberFromString(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %125 14: ; preds = %2 br label %15 15: ; preds = %21, %14 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = call i64 @is_space(i32 noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %15 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 br label %15, !llvm.loop !6 24: ; preds = %15 %25 = load ptr, ptr %4, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %24 store i32 0, ptr %3, align 4 br label %125 30: ; preds = %24 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 0 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 48 br i1 %35, label %36, label %51 36: ; preds = %30 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 120 br i1 %41, label %48, label %42 42: ; preds = %36 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 1 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 88 br i1 %47, label %48, label %51 48: ; preds = %42, %36 store i32 16, ptr %8, align 4 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 2 store ptr %50, ptr %4, align 8 br label %52 51: ; preds = %42, %30 store i32 10, ptr %8, align 4 br label %52 52: ; preds = %51, %48 store i32 0, ptr %7, align 4 store i32 0, ptr %9, align 4 br label %53 53: ; preds = %110, %52 %54 = load ptr, ptr %4, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %56, 0 br i1 %57, label %58, label %118 58: ; preds = %53 %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %4, align 8 %61 = load i8, ptr %59, align 1 %62 = sext i8 %61 to i32 store i32 %62, ptr %10, align 4 %63 = load i32, ptr %10, align 4 %64 = call i64 @is_space(i32 noundef %63) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %70 66: ; preds = %58 %67 = load i32, ptr %9, align 4 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %70 69: ; preds = %66 br label %118 70: ; preds = %66, %58 %71 = load i32, ptr %10, align 4 %72 = icmp sge i32 %71, 48 br i1 %72, label %73, label %79 73: ; preds = %70 %74 = load i32, ptr %10, align 4 %75 = icmp sle i32 %74, 57 br i1 %75, label %76, label %79 76: ; preds = %73 %77 = load i32, ptr %10, align 4 %78 = sub nsw i32 %77, 48 store i32 %78, ptr %6, align 4 br label %102 79: ; preds = %73, %70 %80 = load i32, ptr %10, align 4 %81 = icmp sge i32 %80, 65 br i1 %81, label %82, label %89 82: ; preds = %79 %83 = load i32, ptr %10, align 4 %84 = icmp sle i32 %83, 70 br i1 %84, label %85, label %89 85: ; preds = %82 %86 = load i32, ptr %10, align 4 %87 = sub nsw i32 %86, 65 %88 = add nsw i32 %87, 10 store i32 %88, ptr %6, align 4 br label %101 89: ; preds = %82, %79 %90 = load i32, ptr %10, align 4 %91 = icmp sge i32 %90, 97 br i1 %91, label %92, label %99 92: ; preds = %89 %93 = load i32, ptr %10, align 4 %94 = icmp sle i32 %93, 102 br i1 %94, label %95, label %99 95: ; preds = %92 %96 = load i32, ptr %10, align 4 %97 = sub nsw i32 %96, 97 %98 = add nsw i32 %97, 10 store i32 %98, ptr %6, align 4 br label %100 99: ; preds = %92, %89 store i32 -1, ptr %6, align 4 br label %100 100: ; preds = %99, %95 br label %101 101: ; preds = %100, %85 br label %102 102: ; preds = %101, %76 %103 = load i32, ptr %6, align 4 %104 = icmp slt i32 %103, 0 br i1 %104, label %109, label %105 105: ; preds = %102 %106 = load i32, ptr %6, align 4 %107 = load i32, ptr %8, align 4 %108 = icmp sge i32 %106, %107 br i1 %108, label %109, label %110 109: ; preds = %105, %102 store i32 0, ptr %3, align 4 br label %125 110: ; preds = %105 %111 = load i32, ptr %7, align 4 %112 = load i32, ptr %8, align 4 %113 = mul nsw i32 %111, %112 %114 = load i32, ptr %6, align 4 %115 = add nsw i32 %113, %114 store i32 %115, ptr %7, align 4 %116 = load i32, ptr %9, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %9, align 4 br label %53, !llvm.loop !8 118: ; preds = %69, %53 %119 = load i32, ptr %9, align 4 %120 = icmp eq i32 %119, 0 br i1 %120, label %121, label %122 121: ; preds = %118 store i32 0, ptr %3, align 4 br label %125 122: ; preds = %118 %123 = load i32, ptr %7, align 4 %124 = load ptr, ptr %5, align 8 store i32 %123, ptr %124, align 4 store i32 1, ptr %3, align 4 br label %125 125: ; preds = %122, %121, %109, %29, %13 %126 = load i32, ptr %3, align 4 ret i32 %126 } declare i64 @is_space(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92yyrwun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getNumberFromString(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %132 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = call i64 @is_space(i32 noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %.lr.ph, label %28 .lr.ph: ; preds = %14 br label %20 20: ; preds = %.lr.ph, %20 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = call i64 @is_space(i32 noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %28 28: ; preds = %._crit_edge, %14 %29 = load ptr, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %28 store i32 0, ptr %3, align 4 br label %132 34: ; preds = %28 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 0 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 48 br i1 %39, label %40, label %55 40: ; preds = %34 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 1 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 120 br i1 %45, label %52, label %46 46: ; preds = %40 %47 = load ptr, ptr %4, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 1 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 88 br i1 %51, label %52, label %55 52: ; preds = %46, %40 store i32 16, ptr %8, align 4 %53 = load ptr, ptr %4, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 2 store ptr %54, ptr %4, align 8 br label %56 55: ; preds = %46, %34 store i32 10, ptr %8, align 4 br label %56 56: ; preds = %55, %52 store i32 0, ptr %7, align 4 store i32 0, ptr %9, align 4 %57 = load ptr, ptr %4, align 8 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp ne i32 %59, 0 br i1 %60, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %56 br label %61 61: ; preds = %.lr.ph2, %113 %62 = load ptr, ptr %4, align 8 %63 = getelementptr inbounds i8, ptr %62, i32 1 store ptr %63, ptr %4, align 8 %64 = load i8, ptr %62, align 1 %65 = sext i8 %64 to i32 store i32 %65, ptr %10, align 4 %66 = load i32, ptr %10, align 4 %67 = call i64 @is_space(i32 noundef %66) %68 = icmp ne i64 %67, 0 br i1 %68, label %69, label %73 69: ; preds = %61 %70 = load i32, ptr %9, align 4 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %69 br label %125 73: ; preds = %69, %61 %74 = load i32, ptr %10, align 4 %75 = icmp sge i32 %74, 48 br i1 %75, label %76, label %82 76: ; preds = %73 %77 = load i32, ptr %10, align 4 %78 = icmp sle i32 %77, 57 br i1 %78, label %79, label %82 79: ; preds = %76 %80 = load i32, ptr %10, align 4 %81 = sub nsw i32 %80, 48 store i32 %81, ptr %6, align 4 br label %105 82: ; preds = %76, %73 %83 = load i32, ptr %10, align 4 %84 = icmp sge i32 %83, 65 br i1 %84, label %85, label %92 85: ; preds = %82 %86 = load i32, ptr %10, align 4 %87 = icmp sle i32 %86, 70 br i1 %87, label %88, label %92 88: ; preds = %85 %89 = load i32, ptr %10, align 4 %90 = sub nsw i32 %89, 65 %91 = add nsw i32 %90, 10 store i32 %91, ptr %6, align 4 br label %104 92: ; preds = %85, %82 %93 = load i32, ptr %10, align 4 %94 = icmp sge i32 %93, 97 br i1 %94, label %95, label %102 95: ; preds = %92 %96 = load i32, ptr %10, align 4 %97 = icmp sle i32 %96, 102 br i1 %97, label %98, label %102 98: ; preds = %95 %99 = load i32, ptr %10, align 4 %100 = sub nsw i32 %99, 97 %101 = add nsw i32 %100, 10 store i32 %101, ptr %6, align 4 br label %103 102: ; preds = %95, %92 store i32 -1, ptr %6, align 4 br label %103 103: ; preds = %102, %98 br label %104 104: ; preds = %103, %88 br label %105 105: ; preds = %104, %79 %106 = load i32, ptr %6, align 4 %107 = icmp slt i32 %106, 0 br i1 %107, label %112, label %108 108: ; preds = %105 %109 = load i32, ptr %6, align 4 %110 = load i32, ptr %8, align 4 %111 = icmp sge i32 %109, %110 br i1 %111, label %112, label %113 112: ; preds = %108, %105 store i32 0, ptr %3, align 4 br label %132 113: ; preds = %108 %114 = load i32, ptr %7, align 4 %115 = load i32, ptr %8, align 4 %116 = mul nsw i32 %114, %115 %117 = load i32, ptr %6, align 4 %118 = add nsw i32 %116, %117 store i32 %118, ptr %7, align 4 %119 = load i32, ptr %9, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %9, align 4 %121 = load ptr, ptr %4, align 8 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp ne i32 %123, 0 br i1 %124, label %61, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %113 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %56 br label %125 125: ; preds = %.loopexit, %72 %126 = load i32, ptr %9, align 4 %127 = icmp eq i32 %126, 0 br i1 %127, label %128, label %129 128: ; preds = %125 store i32 0, ptr %3, align 4 br label %132 129: ; preds = %125 %130 = load i32, ptr %7, align 4 %131 = load ptr, ptr %5, align 8 store i32 %130, ptr %131, align 4 store i32 1, ptr %3, align 4 br label %132 132: ; preds = %129, %128, %112, %33, %13 %133 = load i32, ptr %3, align 4 ret i32 %133 } declare i64 @is_space(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpzykr0myl.c' source_filename = "/tmp/tmpzykr0myl.c" target datalayout = "e-m:e-p270: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 { i32 } @.str = private unnamed_addr constant [9 x i8] c"PF_INET6\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"PF_INET\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @neubot_listen(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.sockaddr_storage, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %13 = load i32, ptr %5, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %3 store ptr @.str, ptr %10, align 8 br label %17 16: ; preds = %3 store ptr @.str.1, ptr %10, align 8 br label %17 17: ; preds = %16, %15 %18 = load ptr, ptr %10, align 8 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = call i32 @neubot_storage_init(ptr noundef %8, ptr noundef %9, ptr noundef %18, ptr noundef %19, ptr noundef %20) store i32 %21, ptr %12, align 4 %22 = load i32, ptr %12, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %25 24: ; preds = %17 store i32 -1, ptr %4, align 4 br label %44 25: ; preds = %17 %26 = getelementptr inbounds %struct.sockaddr_storage, ptr %8, i32 0, i32 0 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr @SOCK_STREAM, align 4 %29 = call i32 @neubot_socket_create(i32 noundef %27, i32 noundef %28, i32 noundef 0) store i32 %29, ptr %11, align 4 %30 = load i32, ptr %11, align 4 %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %33 32: ; preds = %25 store i32 -1, ptr %4, align 4 br label %44 33: ; preds = %25 %34 = load i32, ptr %11, align 4 %35 = load i32, ptr %9, align 4 %36 = call i32 @neubot_socket_listen(i32 noundef %34, ptr noundef %8, i32 noundef %35) store i32 %36, ptr %12, align 4 %37 = load i32, ptr %12, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %33 %40 = load i32, ptr %11, align 4 %41 = call i32 @evutil_closesocket(i32 noundef %40) store i32 -1, ptr %4, align 4 br label %44 42: ; preds = %33 %43 = load i32, ptr %11, align 4 store i32 %43, ptr %4, align 4 br label %44 44: ; preds = %42, %39, %32, %24 %45 = load i32, ptr %4, align 4 ret i32 %45 } declare i32 @neubot_storage_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @neubot_socket_create(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @neubot_socket_listen(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @evutil_closesocket(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/tmpzykr0myl.c" target datalayout = "e-m:e-p270: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 { i32 } @.str = private unnamed_addr constant [9 x i8] c"PF_INET6\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"PF_INET\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @neubot_listen(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.sockaddr_storage, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %13 = load i32, ptr %5, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %3 store ptr @.str, ptr %10, align 8 br label %17 16: ; preds = %3 store ptr @.str.1, ptr %10, align 8 br label %17 17: ; preds = %16, %15 %18 = load ptr, ptr %10, align 8 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = call i32 @neubot_storage_init(ptr noundef %8, ptr noundef %9, ptr noundef %18, ptr noundef %19, ptr noundef %20) store i32 %21, ptr %12, align 4 %22 = load i32, ptr %12, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %25 24: ; preds = %17 store i32 -1, ptr %4, align 4 br label %44 25: ; preds = %17 %26 = getelementptr inbounds %struct.sockaddr_storage, ptr %8, i32 0, i32 0 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr @SOCK_STREAM, align 4 %29 = call i32 @neubot_socket_create(i32 noundef %27, i32 noundef %28, i32 noundef 0) store i32 %29, ptr %11, align 4 %30 = load i32, ptr %11, align 4 %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %33 32: ; preds = %25 store i32 -1, ptr %4, align 4 br label %44 33: ; preds = %25 %34 = load i32, ptr %11, align 4 %35 = load i32, ptr %9, align 4 %36 = call i32 @neubot_socket_listen(i32 noundef %34, ptr noundef %8, i32 noundef %35) store i32 %36, ptr %12, align 4 %37 = load i32, ptr %12, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %33 %40 = load i32, ptr %11, align 4 %41 = call i32 @evutil_closesocket(i32 noundef %40) store i32 -1, ptr %4, align 4 br label %44 42: ; preds = %33 %43 = load i32, ptr %11, align 4 store i32 %43, ptr %4, align 4 br label %44 44: ; preds = %42, %39, %32, %24 %45 = load i32, ptr %4, align 4 ret i32 %45 } declare i32 @neubot_storage_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @neubot_socket_create(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @neubot_socket_listen(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @evutil_closesocket(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/tmpekv8dago.c' source_filename = "/tmp/tmpekv8dago.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"GDS=\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"GDS10=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @inv_gds(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @get_hex_inv(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %2, align 8 br label %14 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call ptr @get_dec_inv(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %2, align 8 br label %14 14: ; preds = %11, %9 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare ptr @get_hex_inv(ptr noundef, ptr noundef) #1 declare ptr @get_dec_inv(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/tmpekv8dago.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"GDS=\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"GDS10=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @inv_gds(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @get_hex_inv(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %2, align 8 br label %14 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call ptr @get_dec_inv(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %2, align 8 br label %14 14: ; preds = %11, %9 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare ptr @get_hex_inv(ptr noundef, ptr noundef) #1 declare ptr @get_dec_inv(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/tmpadag4omd.c' source_filename = "/tmp/tmpadag4omd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_CUR = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpadag4omd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_CUR = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkfddhs1z.c' source_filename = "/tmp/tmpkfddhs1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fgetlong(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x i8], align 1 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 4, ptr noundef %5) %7 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3 %8 = load i8, ptr %7, align 1 %9 = zext i8 %8 to i64 %10 = shl i64 %9, 24 %11 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2 %12 = load i8, ptr %11, align 1 %13 = zext i8 %12 to i64 %14 = shl i64 %13, 16 %15 = or i64 %10, %14 %16 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i64 %19 = shl i64 %18, 8 %20 = or i64 %15, %19 %21 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i64 %24 = or i64 %20, %23 ret i64 %24 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkfddhs1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fgetlong(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x i8], align 1 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 4, ptr noundef %5) %7 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3 %8 = load i8, ptr %7, align 1 %9 = zext i8 %8 to i64 %10 = shl i64 %9, 24 %11 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2 %12 = load i8, ptr %11, align 1 %13 = zext i8 %12 to i64 %14 = shl i64 %13, 16 %15 = or i64 %10, %14 %16 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i64 %19 = shl i64 %18, 8 %20 = or i64 %15, %19 %21 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i64 %24 = or i64 %20, %23 ret i64 %24 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbgftieum.c' source_filename = "/tmp/tmpbgftieum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @exit() #0 { br label %1 1: ; preds = %0, %1 br label %1 } attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbgftieum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @exit() #0 { br label %1 1: ; preds = %1, %0 br label %1 } attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfhw0jypg.c' source_filename = "/tmp/tmpfhw0jypg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Restoring original boot manager...\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"MOUNTVOL T: /S\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Could not mount ESP volume!\0A\00", align 1 @.str.3 = private unnamed_addr constant [83 x i8] c"MOVE /Y T:\\EFI\\Microsoft\\Boot\\bootmgfw.orig.efi T:\\EFI\\Microsoft\\Boot\\bootmgfw.efi\00", align 1 @.str.4 = private unnamed_addr constant [76 x i8] c"Warning: No boot manager backup detected! Will attempt to write new one...\0A\00", align 1 @.str.5 = private unnamed_addr constant [78 x i8] c"COPY /Y %SYSTEMROOT%\\Boot\\EFI\\bootmgfw.efi T:\\EFI\\Microsoft\\Boot\\bootmgfw.efi\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"That failed too! This is bad.\0A\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c"DEL T:\\EFI\\Microsoft\\Boot\\slic.bin\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"Failed to delete SLIC.\0A\00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"MOUNTVOL T: /D\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @uninstall() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @system(ptr noundef @.str.1) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %29 9: ; preds = %0 %10 = call i32 @system(ptr noundef @.str.3) store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %21 13: ; preds = %9 %14 = call i32 @printf(ptr noundef @.str.4) %15 = call i32 @system(ptr noundef @.str.5) store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %13 %19 = call i32 @printf(ptr noundef @.str.6) br label %20 20: ; preds = %18, %13 br label %21 21: ; preds = %20, %9 %22 = call i32 @system(ptr noundef @.str.7) store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = call i32 @printf(ptr noundef @.str.8) br label %27 27: ; preds = %25, %21 %28 = call i32 @system(ptr noundef @.str.9) store i32 %28, ptr %2, align 4 store i32 0, ptr %1, align 4 br label %29 29: ; preds = %27, %7 %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @printf(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/tmpfhw0jypg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Restoring original boot manager...\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"MOUNTVOL T: /S\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Could not mount ESP volume!\0A\00", align 1 @.str.3 = private unnamed_addr constant [83 x i8] c"MOVE /Y T:\\EFI\\Microsoft\\Boot\\bootmgfw.orig.efi T:\\EFI\\Microsoft\\Boot\\bootmgfw.efi\00", align 1 @.str.4 = private unnamed_addr constant [76 x i8] c"Warning: No boot manager backup detected! Will attempt to write new one...\0A\00", align 1 @.str.5 = private unnamed_addr constant [78 x i8] c"COPY /Y %SYSTEMROOT%\\Boot\\EFI\\bootmgfw.efi T:\\EFI\\Microsoft\\Boot\\bootmgfw.efi\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"That failed too! This is bad.\0A\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c"DEL T:\\EFI\\Microsoft\\Boot\\slic.bin\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"Failed to delete SLIC.\0A\00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"MOUNTVOL T: /D\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @uninstall() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @system(ptr noundef @.str.1) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %29 9: ; preds = %0 %10 = call i32 @system(ptr noundef @.str.3) store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %21 13: ; preds = %9 %14 = call i32 @printf(ptr noundef @.str.4) %15 = call i32 @system(ptr noundef @.str.5) store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %13 %19 = call i32 @printf(ptr noundef @.str.6) br label %20 20: ; preds = %18, %13 br label %21 21: ; preds = %20, %9 %22 = call i32 @system(ptr noundef @.str.7) store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = call i32 @printf(ptr noundef @.str.8) br label %27 27: ; preds = %25, %21 %28 = call i32 @system(ptr noundef @.str.9) store i32 %28, ptr %2, align 4 store i32 0, ptr %1, align 4 br label %29 29: ; preds = %27, %7 %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @printf(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/tmp5ijwvi2t.c' source_filename = "/tmp/tmp5ijwvi2t.c" target datalayout = "e-m:e-p270: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/tmp5ijwvi2t.c" target datalayout = "e-m:e-p270: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/tmpnzweomag.c' source_filename = "/tmp/tmpnzweomag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test_isDiagonal() ret i32 0 } declare i32 @test_isDiagonal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnzweomag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test_isDiagonal() ret i32 0 } declare i32 @test_isDiagonal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpne0jldnf.c' source_filename = "/tmp/tmpne0jldnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Please enter your age: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"You're pretty young! \0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"You're old \0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"You're really old\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 100 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) br label %17 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 100 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @printf(ptr noundef @.str.3) br label %16 14: ; preds = %9 %15 = call i32 @printf(ptr noundef @.str.4) br label %16 16: ; preds = %14, %12 br label %17 17: ; preds = %16, %7 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/tmpne0jldnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Please enter your age: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"You're pretty young! \0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"You're old \0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"You're really old\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 100 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) br label %17 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 100 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @printf(ptr noundef @.str.3) br label %16 14: ; preds = %9 %15 = call i32 @printf(ptr noundef @.str.4) br label %16 16: ; preds = %14, %12 br label %17 17: ; preds = %16, %7 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/tmpm2lf3xwn.c' source_filename = "/tmp/tmpm2lf3xwn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @S_IFCHR = dso_local global i32 0, align 4 @EBADF = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local i32 @_fstat(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 %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 switch i32 %6, label %11 [ i32 0, label %7 i32 1, label %7 i32 2, label %7 ] 7: ; preds = %2, %2, %2 %8 = load i32, ptr @S_IFCHR, align 4 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 store i32 %8, ptr %10, align 4 store i32 0, ptr %3, align 4 br label %13 11: ; preds = %2 %12 = load i32, ptr @EBADF, align 4 store i32 %12, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %13 13: ; preds = %11, %7 %14 = load i32, ptr %3, align 4 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm2lf3xwn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @S_IFCHR = dso_local global i32 0, align 4 @EBADF = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local i32 @_fstat(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 %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 switch i32 %6, label %11 [ i32 0, label %7 i32 1, label %7 i32 2, label %7 ] 7: ; preds = %2, %2, %2 %8 = load i32, ptr @S_IFCHR, align 4 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 store i32 %8, ptr %10, align 4 store i32 0, ptr %3, align 4 br label %13 11: ; preds = %2 %12 = load i32, ptr @EBADF, align 4 store i32 %12, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %13 13: ; preds = %11, %7 %14 = load i32, ptr %3, align 4 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4gz7ib_h.c' source_filename = "/tmp/tmp4gz7ib_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @INHGtoKPA(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call i32 @INHGtoMB(double noundef %4) %6 = sdiv i32 %5, 10 %7 = sitofp i32 %6 to double store double %7, ptr %3, align 8 %8 = load double, ptr %3, align 8 ret double %8 } declare i32 @INHGtoMB(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/tmp4gz7ib_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @INHGtoKPA(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call i32 @INHGtoMB(double noundef %4) %6 = sdiv i32 %5, 10 %7 = sitofp i32 %6 to double store double %7, ptr %3, align 8 %8 = load double, ptr %3, align 8 ret double %8 } declare i32 @INHGtoMB(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/tmpvi6fobl4.c' source_filename = "/tmp/tmpvi6fobl4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %26, %2 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 16, %11 %13 = icmp slt i32 %10, %12 br i1 %13, label %14, label %29 14: ; preds = %9 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %21, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %20, i64 %24 store i8 %19, ptr %25, align 1 br label %26 26: ; preds = %14 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %9, !llvm.loop !6 29: ; preds = %9 %30 = load ptr, ptr %3, align 8 ret ptr %30 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvi6fobl4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = sub nsw i32 16, %10 %12 = icmp slt i32 %9, %11 br i1 %12, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %25 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %20, %21 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %19, i64 %23 store i8 %18, ptr %24, align 1 br label %25 25: ; preds = %13 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %5, align 4 %30 = sub nsw i32 16, %29 %31 = icmp slt i32 %28, %30 br i1 %31, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %32 32: ; preds = %._crit_edge, %2 %33 = load ptr, ptr %3, align 8 ret ptr %33 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_kci22mt.c' source_filename = "/tmp/tmp_kci22mt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @isRemaniderZero(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = srem i32 %3, 9 %5 = icmp eq i32 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = srem i32 %7, 11 %9 = icmp eq i32 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 13 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10, %6, %1 %15 = call i32 @printf(ptr noundef @.str) br label %18 16: ; preds = %10 %17 = call i32 @printf(ptr noundef @.str.1) br label %18 18: ; preds = %16, %14 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_kci22mt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @isRemaniderZero(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = srem i32 %3, 9 %5 = icmp eq i32 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = srem i32 %7, 11 %9 = icmp eq i32 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 13 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10, %6, %1 %15 = call i32 @printf(ptr noundef @.str) br label %18 16: ; preds = %10 %17 = call i32 @printf(ptr noundef @.str.1) br label %18 18: ; preds = %16, %14 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpstnxwejd.c' source_filename = "/tmp/tmpstnxwejd.c" target datalayout = "e-m:e-p270: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/tmpstnxwejd.c" target datalayout = "e-m:e-p270: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/tmpt98o7nnm.c' source_filename = "/tmp/tmpt98o7nnm.c" target datalayout = "e-m:e-p270: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/tmpt98o7nnm.c" target datalayout = "e-m:e-p270: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/tmpfhd3u3m3.c' source_filename = "/tmp/tmpfhd3u3m3.c" target datalayout = "e-m:e-p270: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/tmpfhd3u3m3.c" target datalayout = "e-m:e-p270: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/tmpkkkrac_x.c' source_filename = "/tmp/tmpkkkrac_x.c" target datalayout = "e-m:e-p270: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/tmpkkkrac_x.c" target datalayout = "e-m:e-p270: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/tmp7pa_bsuj.c' source_filename = "/tmp/tmp7pa_bsuj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7pa_bsuj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppm8wsm7h.c' source_filename = "/tmp/tmppm8wsm7h.c" target datalayout = "e-m:e-p270: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/tmppm8wsm7h.c" target datalayout = "e-m:e-p270: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/tmpm81ehbvp.c' source_filename = "/tmp/tmpm81ehbvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Enter the size of the rat maze\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Enter the dead ends as 0 otherwise 1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %7 = load i32, ptr %1, align 4 %8 = zext i32 %7 to i64 %9 = load i32, ptr %1, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %2, align 8 %12 = mul nuw i64 %8, %10 %13 = alloca i32, i64 %12, align 16 store i64 %8, ptr %3, align 8 store i64 %10, ptr %4, align 8 %14 = call i32 @printf(ptr noundef @.str.2) %15 = load i32, ptr %1, align 4 %16 = call i32 @getMaze(i32 noundef %15, ptr noundef %13) %17 = load i32, ptr %1, align 4 %18 = call i32 @solveMaze(i32 noundef %17, ptr noundef %13) %19 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %19) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @getMaze(i32 noundef, ptr noundef) #1 declare i32 @solveMaze(i32 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/tmpm81ehbvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Enter the size of the rat maze\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Enter the dead ends as 0 otherwise 1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %7 = load i32, ptr %1, align 4 %8 = zext i32 %7 to i64 %9 = load i32, ptr %1, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %2, align 8 %12 = mul nuw i64 %8, %10 %13 = alloca i32, i64 %12, align 16 store i64 %8, ptr %3, align 8 store i64 %10, ptr %4, align 8 %14 = call i32 @printf(ptr noundef @.str.2) %15 = load i32, ptr %1, align 4 %16 = call i32 @getMaze(i32 noundef %15, ptr noundef %13) %17 = load i32, ptr %1, align 4 %18 = call i32 @solveMaze(i32 noundef %17, ptr noundef %13) %19 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %19) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @getMaze(i32 noundef, ptr noundef) #1 declare i32 @solveMaze(i32 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/tmpxg34_zxh.c' source_filename = "/tmp/tmpxg34_zxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inthash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %5, align 4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 store i64 %8, ptr %4, align 8 %9 = load i64, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = lshr i64 %10, 30 %12 = xor i64 %9, %11 %13 = call i64 @UINT64_C(i32 noundef 484763065) %14 = mul i64 %12, %13 store i64 %14, ptr %4, align 8 %15 = load i64, ptr %4, align 8 %16 = load i64, ptr %4, align 8 %17 = lshr i64 %16, 27 %18 = xor i64 %15, %17 %19 = call i64 @UINT64_C(i32 noundef 321982955) %20 = mul i64 %18, %19 store i64 %20, ptr %4, align 8 %21 = load i64, ptr %4, align 8 %22 = load i64, ptr %4, align 8 %23 = lshr i64 %22, 31 %24 = xor i64 %21, %23 store i64 %24, ptr %4, align 8 %25 = load i64, ptr %4, align 8 %26 = trunc i64 %25 to i32 ret i32 %26 } declare i64 @UINT64_C(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/tmpxg34_zxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inthash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %5, align 4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 store i64 %8, ptr %4, align 8 %9 = load i64, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = lshr i64 %10, 30 %12 = xor i64 %9, %11 %13 = call i64 @UINT64_C(i32 noundef 484763065) %14 = mul i64 %12, %13 store i64 %14, ptr %4, align 8 %15 = load i64, ptr %4, align 8 %16 = load i64, ptr %4, align 8 %17 = lshr i64 %16, 27 %18 = xor i64 %15, %17 %19 = call i64 @UINT64_C(i32 noundef 321982955) %20 = mul i64 %18, %19 store i64 %20, ptr %4, align 8 %21 = load i64, ptr %4, align 8 %22 = load i64, ptr %4, align 8 %23 = lshr i64 %22, 31 %24 = xor i64 %21, %23 store i64 %24, ptr %4, align 8 %25 = load i64, ptr %4, align 8 %26 = trunc i64 %25 to i32 ret i32 %26 } declare i64 @UINT64_C(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/tmp26izs_v4.c' source_filename = "/tmp/tmp26izs_v4.c" target datalayout = "e-m:e-p270: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/tmp26izs_v4.c" target datalayout = "e-m:e-p270: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/tmp5vgm9amj.c' source_filename = "/tmp/tmp5vgm9amj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sastantua(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 1 br i1 %7, label %8, label %9 8: ; preds = %1 br label %46 9: ; preds = %1 store i32 0, ptr %3, align 4 store i32 1, ptr %4, align 4 %10 = load i32, ptr %2, align 4 %11 = sub nsw i32 %10, 1 %12 = call i32 @get_bottom_width(i32 noundef %11) store i32 %12, ptr %5, align 4 br label %13 13: ; preds = %32, %9 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %46 17: ; preds = %13 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = sub nsw i32 %19, 1 %21 = icmp eq i32 %18, %20 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 @put_section(i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef 1) br label %32 27: ; preds = %17 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call i32 @put_section(i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef 0) br label %32 32: ; preds = %27, %22 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 %38 = mul nsw i32 %37, 2 %39 = add nsw i32 %35, %38 %40 = load i32, ptr %3, align 4 %41 = add nsw i32 %40, 1 %42 = sdiv i32 %41, 2 %43 = add nsw i32 %42, 2 %44 = mul nsw i32 2, %43 %45 = add nsw i32 %39, %44 store i32 %45, ptr %4, align 4 br label %13, !llvm.loop !6 46: ; preds = %8, %13 ret void } declare i32 @get_bottom_width(i32 noundef) #1 declare i32 @put_section(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5vgm9amj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sastantua(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 1 br i1 %7, label %8, label %9 8: ; preds = %1 br label %48 9: ; preds = %1 store i32 0, ptr %3, align 4 store i32 1, ptr %4, align 4 %10 = load i32, ptr %2, align 4 %11 = sub nsw i32 %10, 1 %12 = call i32 @get_bottom_width(i32 noundef %11) store i32 %12, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %9 br label %16 16: ; preds = %.lr.ph, %31 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = sub nsw i32 %18, 1 %20 = icmp eq i32 %17, %19 br i1 %20, label %21, label %26 21: ; preds = %16 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = call i32 @put_section(i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef 1) br label %31 26: ; preds = %16 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %5, align 4 %30 = call i32 @put_section(i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef 0) br label %31 31: ; preds = %26, %21 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 %37 = mul nsw i32 %36, 2 %38 = add nsw i32 %34, %37 %39 = load i32, ptr %3, align 4 %40 = add nsw i32 %39, 1 %41 = sdiv i32 %40, 2 %42 = add nsw i32 %41, 2 %43 = mul nsw i32 2, %42 %44 = add nsw i32 %38, %43 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %2, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %16, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %31 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %9 br label %48 48: ; preds = %.loopexit, %8 ret void } declare i32 @get_bottom_width(i32 noundef) #1 declare i32 @put_section(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"}
; ModuleID = '/tmp/tmpotjk7otf.c' source_filename = "/tmp/tmpotjk7otf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"tosInt32\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"mod\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Remainder by zero\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tosInt32_mod(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 %4, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = call i32 @tosLog_error(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) br label %9 9: ; preds = %7, %2 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = srem i32 %10, %11 ret i32 %12 } declare i32 @tosLog_error(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpotjk7otf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"tosInt32\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"mod\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Remainder by zero\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tosInt32_mod(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 %4, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = call i32 @tosLog_error(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) br label %9 9: ; preds = %7, %2 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = srem i32 %10, %11 ret i32 %12 } declare i32 @tosLog_error(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9g48_9cb.c' source_filename = "/tmp/tmp9g48_9cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AFMT_S16_LE = dso_local global i32 0, align 4 @__const.main.audio_device = private unnamed_addr constant [9 x i8] c"/dev/dsp\00", align 1 @__const.main.ver = private unnamed_addr constant [4 x i8] c"0.2\00", align 1 @.str = private unnamed_addr constant [134 x i8] c"\0A[?] Usage: soap [sound device] SPC_FILE_NAME\0A[?] Optional parameters are in brackets.\0A[?] SOAP Version %s (2003) Steve B Melvin Jr\0A\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"[-] Could not open, %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"[+] Successfully opened, %s.\0A\00", align 1 @SNDCTL_DSP_SETFMT = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [33 x i8] c"[-] Could not set sound format.\0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"[+] Successfully set sound format.\0A\00", align 1 @SNDCTL_DSP_CHANNELS = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [29 x i8] c"[-] Could not set channels.\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"[+] Successfully set channels.\0A\00", align 1 @SNDCTL_DSP_SPEED = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [26 x i8] c"[-] Could not set speed.\0A\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"[+] Using speed, {%iHz}\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [26 x i8] c"[-] Could not open '%s'\0A.\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [39 x i8] c"[+] Playing SPC, press Enter to quit.\0A\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"\0AGoodbye!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [9 x i8], align 1 %15 = alloca [4 x i8], align 1 %16 = alloca i8, align 1 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 2, ptr %8, align 4 %20 = load i32, ptr @AFMT_S16_LE, align 4 store i32 %20, ptr %11, align 4 store i32 32000, ptr %12, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %14, ptr align 1 @__const.main.audio_device, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %15, ptr align 1 @__const.main.ver, i64 4, i1 false) %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %21, 2 br i1 %22, label %23, label %27 23: ; preds = %2 %24 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %24) %26 = call i32 @exit(i32 noundef 1) #4 unreachable 27: ; preds = %2 %28 = load i32, ptr %4, align 4 %29 = icmp sgt i32 %28, 2 br i1 %29, label %30, label %38 30: ; preds = %27 %31 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 0 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call i32 @strcpy(ptr noundef %31, ptr noundef %34) %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 br label %38 38: ; preds = %30, %27 %39 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 0 %40 = load i32, ptr @O_WRONLY, align 4 %41 = call i32 (ptr, i32, ...) @open(ptr noundef %39, i32 noundef %40, i32 noundef 0) store i32 %41, ptr %7, align 4 %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %47 43: ; preds = %38 %44 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 0 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %44) %46 = call i32 @exit(i32 noundef 1) #4 unreachable 47: ; preds = %38 %48 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 0 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %48) %50 = load i32, ptr %11, align 4 store i32 %50, ptr %9, align 4 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr @SNDCTL_DSP_SETFMT, align 4 %53 = call i32 @ioctl(i32 noundef %51, i32 noundef %52, ptr noundef %11) %54 = icmp eq i32 %53, -1 br i1 %54, label %55, label %58 55: ; preds = %47 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %57 = call i32 @exit(i32 noundef 1) #4 unreachable 58: ; preds = %47 %59 = load i32, ptr %11, align 4 %60 = load i32, ptr %9, align 4 %61 = icmp ne i32 %59, %60 br i1 %61, label %62, label %65 62: ; preds = %58 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %64 = call i32 @exit(i32 noundef 1) #4 unreachable 65: ; preds = %58 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %67 = load i32, ptr %8, align 4 store i32 %67, ptr %10, align 4 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr @SNDCTL_DSP_CHANNELS, align 4 %70 = call i32 @ioctl(i32 noundef %68, i32 noundef %69, ptr noundef %8) %71 = icmp eq i32 %70, -1 br i1 %71, label %72, label %75 72: ; preds = %65 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %74 = call i32 @exit(i32 noundef 1) #4 unreachable 75: ; preds = %65 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr %10, align 4 %78 = icmp ne i32 %76, %77 br i1 %78, label %79, label %82 79: ; preds = %75 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %81 = call i32 @exit(i32 noundef 1) #4 unreachable 82: ; preds = %75 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %84 = load i32, ptr %7, align 4 %85 = load i32, ptr @SNDCTL_DSP_SPEED, align 4 %86 = call i32 @ioctl(i32 noundef %84, i32 noundef %85, ptr noundef %12) %87 = icmp eq i32 %86, -1 br i1 %87, label %88, label %91 88: ; preds = %82 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %90 = call i32 @exit(i32 noundef 1) #4 unreachable 91: ; preds = %82 %92 = load i32, ptr %12, align 4 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %92) %94 = call ptr @malloc(i32 noundef 32000) store ptr %94, ptr %18, align 8 %95 = load ptr, ptr %5, align 8 %96 = load i32, ptr %6, align 4 %97 = add nsw i32 1, %96 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds ptr, ptr %95, i64 %98 %100 = load ptr, ptr %99, align 8 %101 = load i32, ptr @O_RDONLY, align 4 %102 = call i32 (ptr, i32, ...) @open(ptr noundef %100, i32 noundef %101) store i32 %102, ptr %13, align 4 %103 = load i32, ptr %13, align 4 %104 = icmp slt i32 %103, 0 br i1 %104, label %105, label %111 105: ; preds = %91 %106 = load ptr, ptr %5, align 8 %107 = getelementptr inbounds ptr, ptr %106, i64 1 %108 = load ptr, ptr %107, align 8 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %108) %110 = call i32 @exit(i32 noundef 1) #4 unreachable 111: ; preds = %91 %112 = load i32, ptr %13, align 4 %113 = load i32, ptr @SEEK_END, align 4 %114 = call i32 @lseek(i32 noundef %112, i32 noundef 0, i32 noundef %113) store i32 %114, ptr %19, align 4 %115 = load i32, ptr %13, align 4 %116 = load i32, ptr @SEEK_SET, align 4 %117 = call i32 @lseek(i32 noundef %115, i32 noundef 0, i32 noundef %116) %118 = load i32, ptr %19, align 4 %119 = call ptr @malloc(i32 noundef %118) store ptr %119, ptr %17, align 8 %120 = load i32, ptr %13, align 4 %121 = load ptr, ptr %17, align 8 %122 = load i32, ptr %19, align 4 %123 = call i64 @read(i32 noundef %120, ptr noundef %121, i32 noundef %122) %124 = load i32, ptr %13, align 4 %125 = call i32 @close(i32 noundef %124) %126 = load ptr, ptr %17, align 8 %127 = load i32, ptr %19, align 4 %128 = call i32 @OSPC_Init(ptr noundef %126, i32 noundef %127) store i32 %128, ptr %13, align 4 %129 = load ptr, ptr %17, align 8 %130 = call i32 @free(ptr noundef %129) %131 = load i32, ptr @STDIN_FILENO, align 4 %132 = load i32, ptr @F_SETFL, align 4 %133 = load i32, ptr @O_NONBLOCK, align 4 %134 = call i32 @fcntl(i32 noundef %131, i32 noundef %132, i32 noundef %133) %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %136 136: ; preds = %140, %111 %137 = load i32, ptr @STDIN_FILENO, align 4 %138 = call i64 @read(i32 noundef %137, ptr noundef %16, i32 noundef 1) %139 = icmp sle i64 %138, 0 br i1 %139, label %140, label %147 140: ; preds = %136 %141 = load ptr, ptr %18, align 8 %142 = call i32 @OSPC_Run(i32 noundef -1, ptr noundef %141, i32 noundef 32000) store i32 %142, ptr %19, align 4 %143 = load i32, ptr %7, align 4 %144 = load ptr, ptr %18, align 8 %145 = load i32, ptr %19, align 4 %146 = call i32 @write(i32 noundef %143, ptr noundef %144, i32 noundef %145) br label %136, !llvm.loop !6 147: ; preds = %136 %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @open(ptr noundef, i32 noundef, ...) #2 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #2 declare ptr @malloc(i32 noundef) #2 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #2 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @OSPC_Init(ptr noundef, i32 noundef) #2 declare i32 @free(ptr noundef) #2 declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @OSPC_Run(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9g48_9cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AFMT_S16_LE = dso_local global i32 0, align 4 @__const.main.audio_device = private unnamed_addr constant [9 x i8] c"/dev/dsp\00", align 1 @__const.main.ver = private unnamed_addr constant [4 x i8] c"0.2\00", align 1 @.str = private unnamed_addr constant [134 x i8] c"\0A[?] Usage: soap [sound device] SPC_FILE_NAME\0A[?] Optional parameters are in brackets.\0A[?] SOAP Version %s (2003) Steve B Melvin Jr\0A\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"[-] Could not open, %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"[+] Successfully opened, %s.\0A\00", align 1 @SNDCTL_DSP_SETFMT = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [33 x i8] c"[-] Could not set sound format.\0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"[+] Successfully set sound format.\0A\00", align 1 @SNDCTL_DSP_CHANNELS = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [29 x i8] c"[-] Could not set channels.\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"[+] Successfully set channels.\0A\00", align 1 @SNDCTL_DSP_SPEED = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [26 x i8] c"[-] Could not set speed.\0A\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"[+] Using speed, {%iHz}\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [26 x i8] c"[-] Could not open '%s'\0A.\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [39 x i8] c"[+] Playing SPC, press Enter to quit.\0A\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"\0AGoodbye!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [9 x i8], align 1 %15 = alloca [4 x i8], align 1 %16 = alloca i8, align 1 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 2, ptr %8, align 4 %20 = load i32, ptr @AFMT_S16_LE, align 4 store i32 %20, ptr %11, align 4 store i32 32000, ptr %12, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %14, ptr align 1 @__const.main.audio_device, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %15, ptr align 1 @__const.main.ver, i64 4, i1 false) %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %21, 2 br i1 %22, label %23, label %27 23: ; preds = %2 %24 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %24) %26 = call i32 @exit(i32 noundef 1) #4 unreachable 27: ; preds = %2 %28 = load i32, ptr %4, align 4 %29 = icmp sgt i32 %28, 2 br i1 %29, label %30, label %38 30: ; preds = %27 %31 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 0 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = call i32 @strcpy(ptr noundef %31, ptr noundef %34) %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 br label %38 38: ; preds = %30, %27 %39 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 0 %40 = load i32, ptr @O_WRONLY, align 4 %41 = call i32 (ptr, i32, ...) @open(ptr noundef %39, i32 noundef %40, i32 noundef 0) store i32 %41, ptr %7, align 4 %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %47 43: ; preds = %38 %44 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 0 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %44) %46 = call i32 @exit(i32 noundef 1) #4 unreachable 47: ; preds = %38 %48 = getelementptr inbounds [9 x i8], ptr %14, i64 0, i64 0 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %48) %50 = load i32, ptr %11, align 4 store i32 %50, ptr %9, align 4 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr @SNDCTL_DSP_SETFMT, align 4 %53 = call i32 @ioctl(i32 noundef %51, i32 noundef %52, ptr noundef %11) %54 = icmp eq i32 %53, -1 br i1 %54, label %55, label %58 55: ; preds = %47 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %57 = call i32 @exit(i32 noundef 1) #4 unreachable 58: ; preds = %47 %59 = load i32, ptr %11, align 4 %60 = load i32, ptr %9, align 4 %61 = icmp ne i32 %59, %60 br i1 %61, label %62, label %65 62: ; preds = %58 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %64 = call i32 @exit(i32 noundef 1) #4 unreachable 65: ; preds = %58 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %67 = load i32, ptr %8, align 4 store i32 %67, ptr %10, align 4 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr @SNDCTL_DSP_CHANNELS, align 4 %70 = call i32 @ioctl(i32 noundef %68, i32 noundef %69, ptr noundef %8) %71 = icmp eq i32 %70, -1 br i1 %71, label %72, label %75 72: ; preds = %65 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %74 = call i32 @exit(i32 noundef 1) #4 unreachable 75: ; preds = %65 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr %10, align 4 %78 = icmp ne i32 %76, %77 br i1 %78, label %79, label %82 79: ; preds = %75 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %81 = call i32 @exit(i32 noundef 1) #4 unreachable 82: ; preds = %75 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %84 = load i32, ptr %7, align 4 %85 = load i32, ptr @SNDCTL_DSP_SPEED, align 4 %86 = call i32 @ioctl(i32 noundef %84, i32 noundef %85, ptr noundef %12) %87 = icmp eq i32 %86, -1 br i1 %87, label %88, label %91 88: ; preds = %82 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %90 = call i32 @exit(i32 noundef 1) #4 unreachable 91: ; preds = %82 %92 = load i32, ptr %12, align 4 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %92) %94 = call ptr @malloc(i32 noundef 32000) store ptr %94, ptr %18, align 8 %95 = load ptr, ptr %5, align 8 %96 = load i32, ptr %6, align 4 %97 = add nsw i32 1, %96 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds ptr, ptr %95, i64 %98 %100 = load ptr, ptr %99, align 8 %101 = load i32, ptr @O_RDONLY, align 4 %102 = call i32 (ptr, i32, ...) @open(ptr noundef %100, i32 noundef %101) store i32 %102, ptr %13, align 4 %103 = load i32, ptr %13, align 4 %104 = icmp slt i32 %103, 0 br i1 %104, label %105, label %111 105: ; preds = %91 %106 = load ptr, ptr %5, align 8 %107 = getelementptr inbounds ptr, ptr %106, i64 1 %108 = load ptr, ptr %107, align 8 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %108) %110 = call i32 @exit(i32 noundef 1) #4 unreachable 111: ; preds = %91 %112 = load i32, ptr %13, align 4 %113 = load i32, ptr @SEEK_END, align 4 %114 = call i32 @lseek(i32 noundef %112, i32 noundef 0, i32 noundef %113) store i32 %114, ptr %19, align 4 %115 = load i32, ptr %13, align 4 %116 = load i32, ptr @SEEK_SET, align 4 %117 = call i32 @lseek(i32 noundef %115, i32 noundef 0, i32 noundef %116) %118 = load i32, ptr %19, align 4 %119 = call ptr @malloc(i32 noundef %118) store ptr %119, ptr %17, align 8 %120 = load i32, ptr %13, align 4 %121 = load ptr, ptr %17, align 8 %122 = load i32, ptr %19, align 4 %123 = call i64 @read(i32 noundef %120, ptr noundef %121, i32 noundef %122) %124 = load i32, ptr %13, align 4 %125 = call i32 @close(i32 noundef %124) %126 = load ptr, ptr %17, align 8 %127 = load i32, ptr %19, align 4 %128 = call i32 @OSPC_Init(ptr noundef %126, i32 noundef %127) store i32 %128, ptr %13, align 4 %129 = load ptr, ptr %17, align 8 %130 = call i32 @free(ptr noundef %129) %131 = load i32, ptr @STDIN_FILENO, align 4 %132 = load i32, ptr @F_SETFL, align 4 %133 = load i32, ptr @O_NONBLOCK, align 4 %134 = call i32 @fcntl(i32 noundef %131, i32 noundef %132, i32 noundef %133) %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %136 = load i32, ptr @STDIN_FILENO, align 4 %137 = call i64 @read(i32 noundef %136, ptr noundef %16, i32 noundef 1) %138 = icmp sle i64 %137, 0 br i1 %138, label %.lr.ph, label %149 .lr.ph: ; preds = %111 br label %139 139: ; preds = %.lr.ph, %139 %140 = load ptr, ptr %18, align 8 %141 = call i32 @OSPC_Run(i32 noundef -1, ptr noundef %140, i32 noundef 32000) store i32 %141, ptr %19, align 4 %142 = load i32, ptr %7, align 4 %143 = load ptr, ptr %18, align 8 %144 = load i32, ptr %19, align 4 %145 = call i32 @write(i32 noundef %142, ptr noundef %143, i32 noundef %144) %146 = load i32, ptr @STDIN_FILENO, align 4 %147 = call i64 @read(i32 noundef %146, ptr noundef %16, i32 noundef 1) %148 = icmp sle i64 %147, 0 br i1 %148, label %139, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %139 br label %149 149: ; preds = %._crit_edge, %111 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @open(ptr noundef, i32 noundef, ...) #2 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #2 declare ptr @malloc(i32 noundef) #2 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #2 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i32 @OSPC_Init(ptr noundef, i32 noundef) #2 declare i32 @free(ptr noundef) #2 declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @OSPC_Run(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpijwuolep.c' source_filename = "/tmp/tmpijwuolep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [20 x i8], align 16 %2 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @radcon(ptr noundef %2, i32 noundef 123, i32 noundef 16) %4 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) ret i32 0 } declare i32 @radcon(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpijwuolep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [20 x i8], align 16 %2 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @radcon(ptr noundef %2, i32 noundef 123, i32 noundef 16) %4 = getelementptr inbounds [20 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) ret i32 0 } declare i32 @radcon(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5lrahpxv.c' source_filename = "/tmp/tmp5lrahpxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mapints(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5lrahpxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mapints(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiu1315ii.c' source_filename = "/tmp/tmpiu1315ii.c" target datalayout = "e-m:e-p270: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_ALERT = dso_local global i32 0, align 4 @LOG_DEBUG = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @LOG_NOTICE = dso_local global i32 0, align 4 @LOG_WARNING = 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/tmpiu1315ii.c" target datalayout = "e-m:e-p270: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_ALERT = dso_local global i32 0, align 4 @LOG_DEBUG = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @LOG_NOTICE = dso_local global i32 0, align 4 @LOG_WARNING = 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/tmp6b3ebs_t.c' source_filename = "/tmp/tmp6b3ebs_t.c" target datalayout = "e-m:e-p270: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_LOCAL5 = dso_local global i32 0, align 4 @LOG_PID = 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/tmp6b3ebs_t.c" target datalayout = "e-m:e-p270: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_LOCAL5 = dso_local global i32 0, align 4 @LOG_PID = 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/tmp3pyw9xdf.c' source_filename = "/tmp/tmp3pyw9xdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__fork() #0 { %1 = call i32 (...) @fork() ret i32 %1 } declare i32 @fork(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3pyw9xdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__fork() #0 { %1 = call i32 (...) @fork() ret i32 %1 } declare i32 @fork(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu7phd2vo.c' source_filename = "/tmp/tmpu7phd2vo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutexattr_getprioceiling(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @EINVAL, align 4 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu7phd2vo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutexattr_getprioceiling(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @EINVAL, align 4 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvmvy81w2.c' source_filename = "/tmp/tmpvmvy81w2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_cmpord_ss(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_cmpord_ss(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/tmpvmvy81w2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_cmpord_ss(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_cmpord_ss(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/tmpa65uetny.c' source_filename = "/tmp/tmpa65uetny.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_endswith(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @endswith(ptr noundef %8, ptr noundef %9) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %11, %12 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) ret void } declare i32 @endswith(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa65uetny.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_endswith(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @endswith(ptr noundef %8, ptr noundef %9) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %11, %12 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) ret void } declare i32 @endswith(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ckk7bvn.c' source_filename = "/tmp/tmp5ckk7bvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.negotiate.tmp1 = private unnamed_addr constant [10 x i8] c"\FF\FB\1F\00\00\00\00\00\00\00", align 1 @__const.negotiate.tmp2 = private unnamed_addr constant [10 x i8] c"\FF\FA\1F\00P\00\18\FF\F0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @negotiate(i32 noundef %0, ptr 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 [10 x i8], align 1 %9 = alloca [10 x i8], align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 %12 = load i8, ptr %11, align 1 %13 = zext i8 %12 to i32 %14 = icmp eq i32 %13, 253 br i1 %14, label %15, label %36 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 2 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = icmp eq i32 %19, 31 br i1 %20, label %21, label %36 21: ; preds = %15 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.negotiate.tmp1, i64 10, i1 false) %22 = load i32, ptr %4, align 4 %23 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0 %24 = call i64 @send(i32 noundef %22, ptr noundef %23, i32 noundef 3, i32 noundef 0) %25 = icmp slt i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = call i32 @exit(i32 noundef 1) #4 unreachable 28: ; preds = %21 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.negotiate.tmp2, i64 10, i1 false) %29 = load i32, ptr %4, align 4 %30 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0 %31 = call i64 @send(i32 noundef %29, ptr noundef %30, i32 noundef 9, i32 noundef 0) %32 = icmp slt i64 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %28 %34 = call i32 @exit(i32 noundef 1) #4 unreachable 35: ; preds = %28 br label %80 36: ; preds = %15, %3 store i32 0, ptr %7, align 4 br label %37 37: ; preds = %69, %36 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %72 41: ; preds = %37 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = icmp eq i32 %47, 253 br i1 %48, label %49, label %54 49: ; preds = %41 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 store i8 -4, ptr %53, align 1 br label %68 54: ; preds = %41 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %7, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i8, ptr %58, align 1 %60 = zext i8 %59 to i32 %61 = icmp eq i32 %60, 251 br i1 %61, label %62, label %67 62: ; preds = %54 %63 = load ptr, ptr %5, align 8 %64 = load i32, ptr %7, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 store i8 -3, ptr %66, align 1 br label %67 67: ; preds = %62, %54 br label %68 68: ; preds = %67, %49 br label %69 69: ; preds = %68 %70 = load i32, ptr %7, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %7, align 4 br label %37, !llvm.loop !6 72: ; preds = %37 %73 = load i32, ptr %4, align 4 %74 = load ptr, ptr %5, align 8 %75 = load i32, ptr %6, align 4 %76 = call i64 @send(i32 noundef %73, ptr noundef %74, i32 noundef %75, i32 noundef 0) %77 = icmp slt i64 %76, 0 br i1 %77, label %78, label %80 78: ; preds = %72 %79 = call i32 @exit(i32 noundef 1) #4 unreachable 80: ; preds = %35, %72 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-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/tmp5ckk7bvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.negotiate.tmp1 = private unnamed_addr constant [10 x i8] c"\FF\FB\1F\00\00\00\00\00\00\00", align 1 @__const.negotiate.tmp2 = private unnamed_addr constant [10 x i8] c"\FF\FA\1F\00P\00\18\FF\F0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @negotiate(i32 noundef %0, ptr 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 [10 x i8], align 1 %9 = alloca [10 x i8], align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 %12 = load i8, ptr %11, align 1 %13 = zext i8 %12 to i32 %14 = icmp eq i32 %13, 253 br i1 %14, label %15, label %36 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 2 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = icmp eq i32 %19, 31 br i1 %20, label %21, label %36 21: ; preds = %15 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.negotiate.tmp1, i64 10, i1 false) %22 = load i32, ptr %4, align 4 %23 = getelementptr inbounds [10 x i8], ptr %8, i64 0, i64 0 %24 = call i64 @send(i32 noundef %22, ptr noundef %23, i32 noundef 3, i32 noundef 0) %25 = icmp slt i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = call i32 @exit(i32 noundef 1) #4 unreachable 28: ; preds = %21 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.negotiate.tmp2, i64 10, i1 false) %29 = load i32, ptr %4, align 4 %30 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0 %31 = call i64 @send(i32 noundef %29, ptr noundef %30, i32 noundef 9, i32 noundef 0) %32 = icmp slt i64 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %28 %34 = call i32 @exit(i32 noundef 1) #4 unreachable 35: ; preds = %28 br label %82 36: ; preds = %15, %3 store i32 0, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph, label %74 .lr.ph: ; preds = %36 br label %40 40: ; preds = %.lr.ph, %68 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = zext i8 %45 to i32 %47 = icmp eq i32 %46, 253 br i1 %47, label %48, label %53 48: ; preds = %40 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 -4, ptr %52, align 1 br label %67 53: ; preds = %40 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %7, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = zext i8 %58 to i32 %60 = icmp eq i32 %59, 251 br i1 %60, label %61, label %66 61: ; preds = %53 %62 = load ptr, ptr %5, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 store i8 -3, ptr %65, align 1 br label %66 66: ; preds = %61, %53 br label %67 67: ; preds = %66, %48 br label %68 68: ; preds = %67 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %7, align 4 %71 = load i32, ptr %7, align 4 %72 = load i32, ptr %6, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %68 br label %74 74: ; preds = %._crit_edge, %36 %75 = load i32, ptr %4, align 4 %76 = load ptr, ptr %5, align 8 %77 = load i32, ptr %6, align 4 %78 = call i64 @send(i32 noundef %75, ptr noundef %76, i32 noundef %77, i32 noundef 0) %79 = icmp slt i64 %78, 0 br i1 %79, label %80, label %82 80: ; preds = %74 %81 = call i32 @exit(i32 noundef 1) #4 unreachable 82: ; preds = %74, %35 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-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/tmphm14p70x.c' source_filename = "/tmp/tmphm14p70x.c" target datalayout = "e-m:e-p270: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/tmphm14p70x.c" target datalayout = "e-m:e-p270: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/tmpp5k8d99l.c' source_filename = "/tmp/tmpp5k8d99l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [85 x i8] c"disktool -i %s | grep 'Device supports SMART and is Enabled' 1>/dev/null 2>/dev/null\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @smartsupportcmd(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %4, align 8 ret ptr %8 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp5k8d99l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [85 x i8] c"disktool -i %s | grep 'Device supports SMART and is Enabled' 1>/dev/null 2>/dev/null\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @smartsupportcmd(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %4, align 8 ret ptr %8 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp457kb3au.c' source_filename = "/tmp/tmp457kb3au.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"please input filename\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c" error\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"success=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"buf=%s\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [16 x i8] c"file length=%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"closed\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 [1024 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = call i32 @umask(i32 noundef 0) %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr @O_RDWR, align 4 %21 = load i32, ptr @O_CREAT, align 4 %22 = or i32 %20, %21 %23 = call i32 @open(ptr noundef %19, i32 noundef %22, i32 noundef 436) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %15 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %15 %30 = load i32, ptr %6, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30) %32 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %33 = call i32 @memset(ptr noundef %32, i32 noundef 0, i32 noundef 1024) %34 = load i32, ptr %6, align 4 %35 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %36 = call i32 @read(i32 noundef %34, ptr noundef %35, i32 noundef 1024) store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = icmp ne i32 %37, -1 br i1 %38, label %39, label %47 39: ; preds = %29 %40 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %40) %42 = load i32, ptr %6, align 4 %43 = load i32, ptr @SEEK_END, align 4 %44 = call i32 @lseek(i32 noundef %42, i32 noundef 0, i32 noundef %43) store i32 %44, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %45) br label %49 47: ; preds = %29 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %49 49: ; preds = %47, %39 %50 = load i32, ptr %6, align 4 %51 = call i32 @close(i32 noundef %50) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %53 53: ; preds = %49 br label %54 54: ; preds = %53 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp457kb3au.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"please input filename\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c" error\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"success=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"buf=%s\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [16 x i8] c"file length=%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"closed\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 [1024 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = call i32 @umask(i32 noundef 0) %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr @O_RDWR, align 4 %21 = load i32, ptr @O_CREAT, align 4 %22 = or i32 %20, %21 %23 = call i32 @open(ptr noundef %19, i32 noundef %22, i32 noundef 436) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %15 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %15 %30 = load i32, ptr %6, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30) %32 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %33 = call i32 @memset(ptr noundef %32, i32 noundef 0, i32 noundef 1024) %34 = load i32, ptr %6, align 4 %35 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %36 = call i32 @read(i32 noundef %34, ptr noundef %35, i32 noundef 1024) store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = icmp ne i32 %37, -1 br i1 %38, label %39, label %47 39: ; preds = %29 %40 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %40) %42 = load i32, ptr %6, align 4 %43 = load i32, ptr @SEEK_END, align 4 %44 = call i32 @lseek(i32 noundef %42, i32 noundef 0, i32 noundef %43) store i32 %44, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %45) br label %49 47: ; preds = %29 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %49 49: ; preds = %47, %39 %50 = load i32, ptr %6, align 4 %51 = call i32 @close(i32 noundef %50) %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %53 53: ; preds = %49 br label %54 54: ; preds = %53 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps4ruyruk.c' source_filename = "/tmp/tmps4ruyruk.c" target datalayout = "e-m:e-p270: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/tmps4ruyruk.c" target datalayout = "e-m:e-p270: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/tmpcg2gkcgc.c' source_filename = "/tmp/tmpcg2gkcgc.c" target datalayout = "e-m:e-p270: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/tmpcg2gkcgc.c" target datalayout = "e-m:e-p270: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/tmp89r7dd89.c' source_filename = "/tmp/tmp89r7dd89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @isValidNucleotideContents(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %1 store i16 0, ptr %2, align 2 br label %28 11: ; preds = %1 br label %12 12: ; preds = %26, %11 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %27 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = sext i32 %18 to i64 %21 = getelementptr inbounds i8, ptr %17, i64 %20 %22 = load i8, ptr %21, align 1 %23 = call i32 @isNucleotide(i8 noundef signext %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %26, label %25 25: ; preds = %16 store i16 0, ptr %2, align 2 br label %28 26: ; preds = %16 br label %12, !llvm.loop !6 27: ; preds = %12 store i16 1, ptr %2, align 2 br label %28 28: ; preds = %27, %25, %10 %29 = load i16, ptr %2, align 2 ret i16 %29 } declare i32 @strlen(ptr noundef) #1 declare i32 @isNucleotide(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp89r7dd89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @isValidNucleotideContents(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %1 store i16 0, ptr %2, align 2 br label %30 11: ; preds = %1 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %29 .lr.ph: ; preds = %11 br label %19 15: ; preds = %19 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %._crit_edge, !llvm.loop !6 19: ; preds = %.lr.ph, %15 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = load i8, ptr %24, align 1 %26 = call i32 @isNucleotide(i8 noundef signext %25) %27 = icmp ne i32 %26, 0 br i1 %27, label %15, label %28 28: ; preds = %19 store i16 0, ptr %2, align 2 br label %30 ._crit_edge: ; preds = %15 br label %29 29: ; preds = %._crit_edge, %11 store i16 1, ptr %2, align 2 br label %30 30: ; preds = %29, %28, %10 %31 = load i16, ptr %2, align 2 ret i16 %31 } declare i32 @strlen(ptr noundef) #1 declare i32 @isNucleotide(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxa3dibxp.c' source_filename = "/tmp/tmpxa3dibxp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"\0A **** maxpostSource = %d, maxpostComputed = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parseAllPostingList(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 %22 = load i32, ptr %13, align 4 %23 = icmp ult i32 %22, 2 br i1 %23, label %24, label %25 24: ; preds = %6 store i32 1, ptr %7, align 4 br label %144 25: ; preds = %6 %26 = load ptr, ptr %12, align 8 %27 = getelementptr inbounds i32, ptr %26, i64 0 %28 = load i32, ptr %27, align 4 store i32 %28, ptr %16, align 4 %29 = load ptr, ptr %12, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 1 %31 = load i32, ptr %30, align 4 %32 = add i32 %31, 1 %33 = load ptr, ptr %11, align 8 store i32 %32, ptr %33, align 4 %34 = load i32, ptr %16, align 4 %35 = zext i32 %34 to i64 %36 = mul i64 4, %35 %37 = trunc i64 %36 to i32 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %15, align 8 %40 = load i32, ptr %16, align 4 %41 = zext i32 %40 to i64 %42 = mul i64 8, %41 %43 = trunc i64 %42 to i32 %44 = call i64 @malloc(i32 noundef %43) %45 = inttoptr i64 %44 to ptr store ptr %45, ptr %14, align 8 store i32 2, ptr %19, align 4 store i32 0, ptr %21, align 4 store i32 0, ptr %17, align 4 br label %46 46: ; preds = %117, %25 %47 = load i32, ptr %17, align 4 %48 = load i32, ptr %16, align 4 %49 = icmp ult i32 %47, %48 br i1 %49, label %50, label %120 50: ; preds = %46 %51 = load ptr, ptr %12, align 8 %52 = load i32, ptr %19, align 4 %53 = add i32 %52, 1 store i32 %53, ptr %19, align 4 %54 = zext i32 %52 to i64 %55 = getelementptr inbounds i32, ptr %51, i64 %54 %56 = load i32, ptr %55, align 4 store i32 %56, ptr %20, align 4 %57 = load ptr, ptr %15, align 8 %58 = load i32, ptr %17, align 4 %59 = zext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 store i32 %56, ptr %60, align 4 %61 = load i32, ptr %20, align 4 %62 = zext i32 %61 to i64 %63 = mul i64 4, %62 %64 = trunc i64 %63 to i32 %65 = call i64 @malloc(i32 noundef %64) %66 = inttoptr i64 %65 to ptr %67 = load ptr, ptr %14, align 8 %68 = load i32, ptr %17, align 4 %69 = zext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 store ptr %66, ptr %70, align 8 store i32 0, ptr %18, align 4 br label %71 71: ; preds = %113, %50 %72 = load i32, ptr %18, align 4 %73 = load i32, ptr %20, align 4 %74 = icmp ult i32 %72, %73 br i1 %74, label %75, label %116 75: ; preds = %71 %76 = load ptr, ptr %12, align 8 %77 = load i32, ptr %19, align 4 %78 = add i32 %77, 1 store i32 %78, ptr %19, align 4 %79 = zext i32 %77 to i64 %80 = getelementptr inbounds i32, ptr %76, i64 %79 %81 = load i32, ptr %80, align 4 %82 = add i32 1, %81 %83 = load ptr, ptr %14, align 8 %84 = load i32, ptr %17, align 4 %85 = zext i32 %84 to i64 %86 = getelementptr inbounds ptr, ptr %83, i64 %85 %87 = load ptr, ptr %86, align 8 %88 = load i32, ptr %18, align 4 %89 = zext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 store i32 %82, ptr %90, align 4 %91 = load ptr, ptr %14, align 8 %92 = load i32, ptr %17, align 4 %93 = zext i32 %92 to i64 %94 = getelementptr inbounds ptr, ptr %91, i64 %93 %95 = load ptr, ptr %94, align 8 %96 = load i32, ptr %18, align 4 %97 = zext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 %99 = load i32, ptr %98, align 4 %100 = load i32, ptr %21, align 4 %101 = icmp ugt i32 %99, %100 br i1 %101, label %102, label %112 102: ; preds = %75 %103 = load ptr, ptr %14, align 8 %104 = load i32, ptr %17, align 4 %105 = zext i32 %104 to i64 %106 = getelementptr inbounds ptr, ptr %103, i64 %105 %107 = load ptr, ptr %106, align 8 %108 = load i32, ptr %18, align 4 %109 = zext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %107, i64 %109 %111 = load i32, ptr %110, align 4 store i32 %111, ptr %21, align 4 br label %112 112: ; preds = %102, %75 br label %113 113: ; preds = %112 %114 = load i32, ptr %18, align 4 %115 = add i32 %114, 1 store i32 %115, ptr %18, align 4 br label %71, !llvm.loop !6 116: ; preds = %71 br label %117 117: ; preds = %116 %118 = load i32, ptr %17, align 4 %119 = add i32 %118, 1 store i32 %119, ptr %17, align 4 br label %46, !llvm.loop !8 120: ; preds = %46 %121 = load i32, ptr %21, align 4 %122 = load ptr, ptr %11, align 8 %123 = load i32, ptr %122, align 4 %124 = icmp ugt i32 %121, %123 br i1 %124, label %125, label %128 125: ; preds = %120 %126 = load i32, ptr %21, align 4 %127 = load ptr, ptr %11, align 8 store i32 %126, ptr %127, align 4 br label %128 128: ; preds = %125, %120 %129 = load ptr, ptr %11, align 8 %130 = load i32, ptr %129, align 4 %131 = load i32, ptr %21, align 4 %132 = call i32 @printf(ptr noundef @.str, i32 noundef %130, i32 noundef %131) %133 = load i32, ptr %13, align 4 %134 = load i32, ptr %19, align 4 %135 = icmp ne i32 %133, %134 br i1 %135, label %136, label %137 136: ; preds = %128 store i32 31, ptr %7, align 4 br label %144 137: ; preds = %128 %138 = load i32, ptr %16, align 4 %139 = load ptr, ptr %8, align 8 store i32 %138, ptr %139, align 4 %140 = load ptr, ptr %15, align 8 %141 = load ptr, ptr %9, align 8 store ptr %140, ptr %141, align 8 %142 = load ptr, ptr %14, align 8 %143 = load ptr, ptr %10, align 8 store ptr %142, ptr %143, align 8 store i32 0, ptr %7, align 4 br label %144 144: ; preds = %137, %136, %24 %145 = load i32, ptr %7, align 4 ret i32 %145 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxa3dibxp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"\0A **** maxpostSource = %d, maxpostComputed = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parseAllPostingList(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 %22 = load i32, ptr %13, align 4 %23 = icmp ult i32 %22, 2 br i1 %23, label %24, label %25 24: ; preds = %6 store i32 1, ptr %7, align 4 br label %148 25: ; preds = %6 %26 = load ptr, ptr %12, align 8 %27 = getelementptr inbounds i32, ptr %26, i64 0 %28 = load i32, ptr %27, align 4 store i32 %28, ptr %16, align 4 %29 = load ptr, ptr %12, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 1 %31 = load i32, ptr %30, align 4 %32 = add i32 %31, 1 %33 = load ptr, ptr %11, align 8 store i32 %32, ptr %33, align 4 %34 = load i32, ptr %16, align 4 %35 = zext i32 %34 to i64 %36 = mul i64 4, %35 %37 = trunc i64 %36 to i32 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %15, align 8 %40 = load i32, ptr %16, align 4 %41 = zext i32 %40 to i64 %42 = mul i64 8, %41 %43 = trunc i64 %42 to i32 %44 = call i64 @malloc(i32 noundef %43) %45 = inttoptr i64 %44 to ptr store ptr %45, ptr %14, align 8 store i32 2, ptr %19, align 4 store i32 0, ptr %21, align 4 store i32 0, ptr %17, align 4 %46 = load i32, ptr %17, align 4 %47 = load i32, ptr %16, align 4 %48 = icmp ult i32 %46, %47 br i1 %48, label %.lr.ph2, label %124 .lr.ph2: ; preds = %25 br label %49 49: ; preds = %.lr.ph2, %118 %50 = load ptr, ptr %12, align 8 %51 = load i32, ptr %19, align 4 %52 = add i32 %51, 1 store i32 %52, ptr %19, align 4 %53 = zext i32 %51 to i64 %54 = getelementptr inbounds i32, ptr %50, i64 %53 %55 = load i32, ptr %54, align 4 store i32 %55, ptr %20, align 4 %56 = load ptr, ptr %15, align 8 %57 = load i32, ptr %17, align 4 %58 = zext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 store i32 %55, ptr %59, align 4 %60 = load i32, ptr %20, align 4 %61 = zext i32 %60 to i64 %62 = mul i64 4, %61 %63 = trunc i64 %62 to i32 %64 = call i64 @malloc(i32 noundef %63) %65 = inttoptr i64 %64 to ptr %66 = load ptr, ptr %14, align 8 %67 = load i32, ptr %17, align 4 %68 = zext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 store ptr %65, ptr %69, align 8 store i32 0, ptr %18, align 4 %70 = load i32, ptr %18, align 4 %71 = load i32, ptr %20, align 4 %72 = icmp ult i32 %70, %71 br i1 %72, label %.lr.ph, label %117 .lr.ph: ; preds = %49 br label %73 73: ; preds = %.lr.ph, %111 %74 = load ptr, ptr %12, align 8 %75 = load i32, ptr %19, align 4 %76 = add i32 %75, 1 store i32 %76, ptr %19, align 4 %77 = zext i32 %75 to i64 %78 = getelementptr inbounds i32, ptr %74, i64 %77 %79 = load i32, ptr %78, align 4 %80 = add i32 1, %79 %81 = load ptr, ptr %14, align 8 %82 = load i32, ptr %17, align 4 %83 = zext i32 %82 to i64 %84 = getelementptr inbounds ptr, ptr %81, i64 %83 %85 = load ptr, ptr %84, align 8 %86 = load i32, ptr %18, align 4 %87 = zext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %85, i64 %87 store i32 %80, ptr %88, align 4 %89 = load ptr, ptr %14, align 8 %90 = load i32, ptr %17, align 4 %91 = zext i32 %90 to i64 %92 = getelementptr inbounds ptr, ptr %89, i64 %91 %93 = load ptr, ptr %92, align 8 %94 = load i32, ptr %18, align 4 %95 = zext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 %97 = load i32, ptr %96, align 4 %98 = load i32, ptr %21, align 4 %99 = icmp ugt i32 %97, %98 br i1 %99, label %100, label %110 100: ; preds = %73 %101 = load ptr, ptr %14, align 8 %102 = load i32, ptr %17, align 4 %103 = zext i32 %102 to i64 %104 = getelementptr inbounds ptr, ptr %101, i64 %103 %105 = load ptr, ptr %104, align 8 %106 = load i32, ptr %18, align 4 %107 = zext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %105, i64 %107 %109 = load i32, ptr %108, align 4 store i32 %109, ptr %21, align 4 br label %110 110: ; preds = %100, %73 br label %111 111: ; preds = %110 %112 = load i32, ptr %18, align 4 %113 = add i32 %112, 1 store i32 %113, ptr %18, align 4 %114 = load i32, ptr %18, align 4 %115 = load i32, ptr %20, align 4 %116 = icmp ult i32 %114, %115 br i1 %116, label %73, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %111 br label %117 117: ; preds = %._crit_edge, %49 br label %118 118: ; preds = %117 %119 = load i32, ptr %17, align 4 %120 = add i32 %119, 1 store i32 %120, ptr %17, align 4 %121 = load i32, ptr %17, align 4 %122 = load i32, ptr %16, align 4 %123 = icmp ult i32 %121, %122 br i1 %123, label %49, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %118 br label %124 124: ; preds = %._crit_edge3, %25 %125 = load i32, ptr %21, align 4 %126 = load ptr, ptr %11, align 8 %127 = load i32, ptr %126, align 4 %128 = icmp ugt i32 %125, %127 br i1 %128, label %129, label %132 129: ; preds = %124 %130 = load i32, ptr %21, align 4 %131 = load ptr, ptr %11, align 8 store i32 %130, ptr %131, align 4 br label %132 132: ; preds = %129, %124 %133 = load ptr, ptr %11, align 8 %134 = load i32, ptr %133, align 4 %135 = load i32, ptr %21, align 4 %136 = call i32 @printf(ptr noundef @.str, i32 noundef %134, i32 noundef %135) %137 = load i32, ptr %13, align 4 %138 = load i32, ptr %19, align 4 %139 = icmp ne i32 %137, %138 br i1 %139, label %140, label %141 140: ; preds = %132 store i32 31, ptr %7, align 4 br label %148 141: ; preds = %132 %142 = load i32, ptr %16, align 4 %143 = load ptr, ptr %8, align 8 store i32 %142, ptr %143, align 4 %144 = load ptr, ptr %15, align 8 %145 = load ptr, ptr %9, align 8 store ptr %144, ptr %145, align 8 %146 = load ptr, ptr %14, align 8 %147 = load ptr, ptr %10, align 8 store ptr %146, ptr %147, align 8 store i32 0, ptr %7, align 4 br label %148 148: ; preds = %141, %140, %24 %149 = load i32, ptr %7, align 4 ret i32 %149 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp4bmtjg0r.c' source_filename = "/tmp/tmp4bmtjg0r.c" target datalayout = "e-m:e-p270: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/tmp4bmtjg0r.c" target datalayout = "e-m:e-p270: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/tmph0t49b51.c' source_filename = "/tmp/tmph0t49b51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @BlastKarlinLtoH(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 %14 = load double, ptr %9, align 8 %15 = fcmp olt double %14, 0.000000e+00 br i1 %15, label %16, label %17 16: ; preds = %4 store double -1.000000e+00, ptr %5, align 8 br label %86 17: ; preds = %4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = call i64 @BlastScoreChk(i32 noundef %18, i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %17 store double -1.000000e+00, ptr %5, align 8 br label %86 23: ; preds = %17 %24 = load double, ptr %9, align 8 %25 = call double @exp(double noundef %24) #4 store double %25, ptr %12, align 8 %26 = load double, ptr %12, align 8 %27 = load i32, ptr %7, align 4 %28 = sub nsw i32 %27, 1 %29 = call double @pow(double noundef %26, i32 noundef %28) store double %29, ptr %13, align 8 %30 = load double, ptr %13, align 8 %31 = fcmp ogt double %30, 0.000000e+00 br i1 %31, label %32, label %56 32: ; preds = %23 store double 0.000000e+00, ptr %11, align 8 %33 = load i32, ptr %7, align 4 store i32 %33, ptr %10, align 4 br label %34 34: ; preds = %52, %32 %35 = load i32, ptr %10, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp sle i32 %35, %36 br i1 %37, label %38, label %55 38: ; preds = %34 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %10, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %39, i64 %41 %43 = load double, ptr %42, align 8 %44 = load i32, ptr %10, align 4 %45 = sitofp i32 %44 to double %46 = fmul double %43, %45 %47 = load double, ptr %12, align 8 %48 = load double, ptr %13, align 8 %49 = fmul double %48, %47 store double %49, ptr %13, align 8 %50 = load double, ptr %11, align 8 %51 = call double @llvm.fmuladd.f64(double %46, double %49, double %50) store double %51, ptr %11, align 8 br label %52 52: ; preds = %38 %53 = load i32, ptr %10, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %10, align 4 br label %34, !llvm.loop !6 55: ; preds = %34 br label %82 56: ; preds = %23 store double 0.000000e+00, ptr %11, align 8 %57 = load i32, ptr %7, align 4 store i32 %57, ptr %10, align 4 br label %58 58: ; preds = %78, %56 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %8, align 4 %61 = icmp sle i32 %59, %60 br i1 %61, label %62, label %81 62: ; preds = %58 %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr %10, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %63, i64 %65 %67 = load double, ptr %66, align 8 %68 = load i32, ptr %10, align 4 %69 = sitofp i32 %68 to double %70 = fmul double %67, %69 %71 = load double, ptr %9, align 8 %72 = load i32, ptr %10, align 4 %73 = sitofp i32 %72 to double %74 = fmul double %71, %73 %75 = call double @exp(double noundef %74) #4 %76 = load double, ptr %11, align 8 %77 = call double @llvm.fmuladd.f64(double %70, double %75, double %76) store double %77, ptr %11, align 8 br label %78 78: ; preds = %62 %79 = load i32, ptr %10, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %10, align 4 br label %58, !llvm.loop !8 81: ; preds = %58 br label %82 82: ; preds = %81, %55 %83 = load double, ptr %9, align 8 %84 = load double, ptr %11, align 8 %85 = fmul double %83, %84 store double %85, ptr %5, align 8 br label %86 86: ; preds = %82, %22, %16 %87 = load double, ptr %5, align 8 ret double %87 } declare i64 @BlastScoreChk(i32 noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph0t49b51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @BlastKarlinLtoH(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 %14 = load double, ptr %9, align 8 %15 = fcmp olt double %14, 0.000000e+00 br i1 %15, label %16, label %17 16: ; preds = %4 store double -1.000000e+00, ptr %5, align 8 br label %90 17: ; preds = %4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = call i64 @BlastScoreChk(i32 noundef %18, i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %17 store double -1.000000e+00, ptr %5, align 8 br label %90 23: ; preds = %17 %24 = load double, ptr %9, align 8 %25 = call double @exp(double noundef %24) #4 store double %25, ptr %12, align 8 %26 = load double, ptr %12, align 8 %27 = load i32, ptr %7, align 4 %28 = sub nsw i32 %27, 1 %29 = call double @pow(double noundef %26, i32 noundef %28) store double %29, ptr %13, align 8 %30 = load double, ptr %13, align 8 %31 = fcmp ogt double %30, 0.000000e+00 br i1 %31, label %32, label %58 32: ; preds = %23 store double 0.000000e+00, ptr %11, align 8 %33 = load i32, ptr %7, align 4 store i32 %33, ptr %10, align 4 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp sle i32 %34, %35 br i1 %36, label %.lr.ph2, label %57 .lr.ph2: ; preds = %32 br label %37 37: ; preds = %.lr.ph2, %51 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 %43 = load i32, ptr %10, align 4 %44 = sitofp i32 %43 to double %45 = fmul double %42, %44 %46 = load double, ptr %12, align 8 %47 = load double, ptr %13, align 8 %48 = fmul double %47, %46 store double %48, ptr %13, align 8 %49 = load double, ptr %11, align 8 %50 = call double @llvm.fmuladd.f64(double %45, double %48, double %49) store double %50, ptr %11, align 8 br label %51 51: ; preds = %37 %52 = load i32, ptr %10, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %10, align 4 %54 = load i32, ptr %10, align 4 %55 = load i32, ptr %8, align 4 %56 = icmp sle i32 %54, %55 br i1 %56, label %37, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %51 br label %57 57: ; preds = %._crit_edge3, %32 br label %86 58: ; preds = %23 store double 0.000000e+00, ptr %11, align 8 %59 = load i32, ptr %7, align 4 store i32 %59, ptr %10, align 4 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp sle i32 %60, %61 br i1 %62, label %.lr.ph, label %85 .lr.ph: ; preds = %58 br label %63 63: ; preds = %.lr.ph, %79 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %10, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 %68 = load double, ptr %67, align 8 %69 = load i32, ptr %10, align 4 %70 = sitofp i32 %69 to double %71 = fmul double %68, %70 %72 = load double, ptr %9, align 8 %73 = load i32, ptr %10, align 4 %74 = sitofp i32 %73 to double %75 = fmul double %72, %74 %76 = call double @exp(double noundef %75) #4 %77 = load double, ptr %11, align 8 %78 = call double @llvm.fmuladd.f64(double %71, double %76, double %77) store double %78, ptr %11, align 8 br label %79 79: ; preds = %63 %80 = load i32, ptr %10, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %10, align 4 %82 = load i32, ptr %10, align 4 %83 = load i32, ptr %8, align 4 %84 = icmp sle i32 %82, %83 br i1 %84, label %63, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %79 br label %85 85: ; preds = %._crit_edge, %58 br label %86 86: ; preds = %85, %57 %87 = load double, ptr %9, align 8 %88 = load double, ptr %11, align 8 %89 = fmul double %87, %88 store double %89, ptr %5, align 8 br label %90 90: ; preds = %86, %22, %16 %91 = load double, ptr %5, align 8 ret double %91 } declare i64 @BlastScoreChk(i32 noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpz2alg7nc.c' source_filename = "/tmp/tmpz2alg7nc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"strdup\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xstrdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strdup(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = call i32 @memfatal(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @strdup(ptr noundef) #1 declare i32 @memfatal(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz2alg7nc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"strdup\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xstrdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strdup(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = call i32 @memfatal(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @strdup(ptr noundef) #1 declare i32 @memfatal(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptcbgc9wb.c' source_filename = "/tmp/tmptcbgc9wb.c" target datalayout = "e-m:e-p270: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.shmid_ds = type { i64, i64, i64, i64, i32, i32, i64, %struct.ipc_perm } %struct.ipc_perm = type { i32, i32, i32, i32, i32 } @IPC_STAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"shmctl \00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"\0AShared memory Segment shmid=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"uid=%d\09gid=%d\09cuid=%d\09cgid=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"mode=%#o\09access_perms=%#o\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"bytes=%ld\09lpid=%d\09cpid=%d\09nattch=%ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"att_time=%-26.24s\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"Not set\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"det_time=%-26.24s\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c"change_time=%-26.24s\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_shm(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.shmid_ds, align 8 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 7 store ptr %5, ptr %4, align 8 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr @IPC_STAT, align 4 %8 = call i32 @shmctl(i32 noundef %6, i32 noundef %7, ptr noundef %3) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str) br label %78 12: ; preds = %1 %13 = call ptr @gettext(ptr noundef @.str.1) %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef %13, i32 noundef %14) %16 = call ptr @gettext(ptr noundef @.str.2) %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds %struct.ipc_perm, ptr %17, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds %struct.ipc_perm, ptr %20, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds %struct.ipc_perm, ptr %23, i32 0, i32 2 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.ipc_perm, ptr %26, i32 0, i32 3 %28 = load i32, ptr %27, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef %16, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28) %30 = call ptr @gettext(ptr noundef @.str.3) %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds %struct.ipc_perm, ptr %31, i32 0, i32 4 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds %struct.ipc_perm, ptr %34, i32 0, i32 4 %36 = load i32, ptr %35, align 4 %37 = and i32 %36, 511 %38 = call i32 (ptr, ...) @printf(ptr noundef %30, i32 noundef %33, i32 noundef %37) %39 = call ptr @gettext(ptr noundef @.str.4) %40 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 6 %41 = load i64, ptr %40, align 8 %42 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 5 %43 = load i32, ptr %42, align 4 %44 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 4 %45 = load i32, ptr %44, align 8 %46 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 3 %47 = load i64, ptr %46, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef %39, i64 noundef %41, i32 noundef %43, i32 noundef %45, i64 noundef %47) %49 = call ptr @gettext(ptr noundef @.str.5) %50 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 2 %51 = load i64, ptr %50, align 8 %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %12 %54 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 2 %55 = call ptr @ctime(ptr noundef %54) br label %58 56: ; preds = %12 %57 = call ptr @gettext(ptr noundef @.str.6) br label %58 58: ; preds = %56, %53 %59 = phi ptr [ %55, %53 ], [ %57, %56 ] %60 = call i32 (ptr, ...) @printf(ptr noundef %49, ptr noundef %59) %61 = call ptr @gettext(ptr noundef @.str.7) %62 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 1 %63 = load i64, ptr %62, align 8 %64 = icmp ne i64 %63, 0 br i1 %64, label %65, label %68 65: ; preds = %58 %66 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 1 %67 = call ptr @ctime(ptr noundef %66) br label %70 68: ; preds = %58 %69 = call ptr @gettext(ptr noundef @.str.6) br label %70 70: ; preds = %68, %65 %71 = phi ptr [ %67, %65 ], [ %69, %68 ] %72 = call i32 (ptr, ...) @printf(ptr noundef %61, ptr noundef %71) %73 = call ptr @gettext(ptr noundef @.str.8) %74 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 0 %75 = call ptr @ctime(ptr noundef %74) %76 = call i32 (ptr, ...) @printf(ptr noundef %73, ptr noundef %75) %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %78 78: ; preds = %70, %10 ret void } declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @gettext(ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptcbgc9wb.c" target datalayout = "e-m:e-p270: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.shmid_ds = type { i64, i64, i64, i64, i32, i32, i64, %struct.ipc_perm } %struct.ipc_perm = type { i32, i32, i32, i32, i32 } @IPC_STAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"shmctl \00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"\0AShared memory Segment shmid=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"uid=%d\09gid=%d\09cuid=%d\09cgid=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"mode=%#o\09access_perms=%#o\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"bytes=%ld\09lpid=%d\09cpid=%d\09nattch=%ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"att_time=%-26.24s\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"Not set\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"det_time=%-26.24s\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c"change_time=%-26.24s\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_shm(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.shmid_ds, align 8 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 7 store ptr %5, ptr %4, align 8 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr @IPC_STAT, align 4 %8 = call i32 @shmctl(i32 noundef %6, i32 noundef %7, ptr noundef %3) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str) br label %78 12: ; preds = %1 %13 = call ptr @gettext(ptr noundef @.str.1) %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef %13, i32 noundef %14) %16 = call ptr @gettext(ptr noundef @.str.2) %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds %struct.ipc_perm, ptr %17, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds %struct.ipc_perm, ptr %20, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds %struct.ipc_perm, ptr %23, i32 0, i32 2 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.ipc_perm, ptr %26, i32 0, i32 3 %28 = load i32, ptr %27, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef %16, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28) %30 = call ptr @gettext(ptr noundef @.str.3) %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds %struct.ipc_perm, ptr %31, i32 0, i32 4 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds %struct.ipc_perm, ptr %34, i32 0, i32 4 %36 = load i32, ptr %35, align 4 %37 = and i32 %36, 511 %38 = call i32 (ptr, ...) @printf(ptr noundef %30, i32 noundef %33, i32 noundef %37) %39 = call ptr @gettext(ptr noundef @.str.4) %40 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 6 %41 = load i64, ptr %40, align 8 %42 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 5 %43 = load i32, ptr %42, align 4 %44 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 4 %45 = load i32, ptr %44, align 8 %46 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 3 %47 = load i64, ptr %46, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef %39, i64 noundef %41, i32 noundef %43, i32 noundef %45, i64 noundef %47) %49 = call ptr @gettext(ptr noundef @.str.5) %50 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 2 %51 = load i64, ptr %50, align 8 %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %12 %54 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 2 %55 = call ptr @ctime(ptr noundef %54) br label %58 56: ; preds = %12 %57 = call ptr @gettext(ptr noundef @.str.6) br label %58 58: ; preds = %56, %53 %59 = phi ptr [ %55, %53 ], [ %57, %56 ] %60 = call i32 (ptr, ...) @printf(ptr noundef %49, ptr noundef %59) %61 = call ptr @gettext(ptr noundef @.str.7) %62 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 1 %63 = load i64, ptr %62, align 8 %64 = icmp ne i64 %63, 0 br i1 %64, label %65, label %68 65: ; preds = %58 %66 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 1 %67 = call ptr @ctime(ptr noundef %66) br label %70 68: ; preds = %58 %69 = call ptr @gettext(ptr noundef @.str.6) br label %70 70: ; preds = %68, %65 %71 = phi ptr [ %67, %65 ], [ %69, %68 ] %72 = call i32 (ptr, ...) @printf(ptr noundef %61, ptr noundef %71) %73 = call ptr @gettext(ptr noundef @.str.8) %74 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 0 %75 = call ptr @ctime(ptr noundef %74) %76 = call i32 (ptr, ...) @printf(ptr noundef %73, ptr noundef %75) %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %78 78: ; preds = %70, %10 ret void } declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @gettext(ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdzb_zgjw.c' source_filename = "/tmp/tmpdzb_zgjw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"open %s w\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__open64(ptr noundef %0, i32 noundef %1, ...) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = and i32 %5, %6 %8 = icmp ne i32 %7, 0 br i1 %8, label %14, label %9 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @O_RDWR, align 4 %12 = and i32 %10, %11 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9, %2 %15 = load ptr, ptr %3, align 8 %16 = call i32 @watch_log(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %14, %9 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 @libc_open64(ptr noundef %18, i32 noundef %19) ret i32 %20 } declare i32 @watch_log(ptr noundef, ptr noundef) #1 declare i32 @libc_open64(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/tmpdzb_zgjw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"open %s w\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__open64(ptr noundef %0, i32 noundef %1, ...) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = and i32 %5, %6 %8 = icmp ne i32 %7, 0 br i1 %8, label %14, label %9 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @O_RDWR, align 4 %12 = and i32 %10, %11 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9, %2 %15 = load ptr, ptr %3, align 8 %16 = call i32 @watch_log(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %14, %9 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 @libc_open64(ptr noundef %18, i32 noundef %19) ret i32 %20 } declare i32 @watch_log(ptr noundef, ptr noundef) #1 declare i32 @libc_open64(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/tmp8yzpf124.c' source_filename = "/tmp/tmp8yzpf124.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isnum(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 br label %4 4: ; preds = %15, %1 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %18 8: ; preds = %4 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = call i32 @isdigit(i8 noundef signext %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %8 store i32 0, ptr %2, align 4 br label %19 14: ; preds = %8 br label %15 15: ; preds = %14 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %3, align 8 br label %4, !llvm.loop !6 18: ; preds = %4 store i32 1, ptr %2, align 4 br label %19 19: ; preds = %18, %13 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8yzpf124.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isnum(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 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %.lr.ph, label %20 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %14 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @isdigit(i8 noundef signext %9) %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %7 store i32 0, ptr %2, align 4 br label %21 13: ; preds = %7 br label %14 14: ; preds = %13 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %21 21: ; preds = %20, %12 %22 = load i32, ptr %2, align 4 ret i32 %22 } declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_kjaeec4.c' source_filename = "/tmp/tmp_kjaeec4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawer_process(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, 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 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 store ptr @.str, ptr %17, align 8 %18 = call i32 (...) @drawer_clear_screen() store i32 0, ptr %13, align 4 br label %19 19: ; preds = %57, %6 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %60 23: ; preds = %19 store i32 0, ptr %14, align 4 br label %24 24: ; preds = %52, %23 %25 = load i32, ptr %14, align 4 %26 = load i32, ptr %8, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %55 28: ; preds = %24 %29 = load i32, ptr %13, align 4 %30 = load i32, ptr %14, align 4 %31 = load i32, ptr %8, align 4 %32 = call i32 @array2dindex(i32 noundef %29, i32 noundef %30, i32 noundef %31) store i32 %32, ptr %15, align 4 %33 = load i32, ptr %15, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %9, align 4 %36 = mul nsw i32 %34, %35 %37 = icmp sge i32 %33, %36 br i1 %37, label %38, label %39 38: ; preds = %28 br label %55 39: ; preds = %28 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %15, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 store i32 %44, ptr %16, align 4 %45 = load i32, ptr %16, align 4 %46 = load i32, ptr %10, align 4 %47 = load i32, ptr %11, align 4 %48 = load i32, ptr %12, align 4 %49 = call ptr @get_char(i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48) store ptr %49, ptr %17, align 8 %50 = load ptr, ptr %17, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %50) br label %52 52: ; preds = %39 %53 = load i32, ptr %14, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %14, align 4 br label %24, !llvm.loop !6 55: ; preds = %38, %24 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %57 57: ; preds = %55 %58 = load i32, ptr %13, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %13, align 4 br label %19, !llvm.loop !8 60: ; preds = %19 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @drawer_clear_screen(...) #1 declare i32 @array2dindex(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @get_char(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_kjaeec4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawer_process(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, 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 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 store ptr @.str, ptr %17, align 8 %18 = call i32 (...) @drawer_clear_screen() store i32 0, ptr %13, align 4 %19 = load i32, ptr %13, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph1, label %64 .lr.ph1: ; preds = %6 br label %22 22: ; preds = %.lr.ph1, %58 store i32 0, ptr %14, align 4 %23 = load i32, ptr %14, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %22 br label %26 26: ; preds = %.lr.ph, %50 %27 = load i32, ptr %13, align 4 %28 = load i32, ptr %14, align 4 %29 = load i32, ptr %8, align 4 %30 = call i32 @array2dindex(i32 noundef %27, i32 noundef %28, i32 noundef %29) store i32 %30, ptr %15, align 4 %31 = load i32, ptr %15, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %9, align 4 %34 = mul nsw i32 %32, %33 %35 = icmp sge i32 %31, %34 br i1 %35, label %36, label %37 36: ; preds = %26 br label %56 37: ; preds = %26 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %15, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %16, align 4 %43 = load i32, ptr %16, align 4 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %11, align 4 %46 = load i32, ptr %12, align 4 %47 = call ptr @get_char(i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46) store ptr %47, ptr %17, align 8 %48 = load ptr, ptr %17, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %48) br label %50 50: ; preds = %37 %51 = load i32, ptr %14, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %14, align 4 %53 = load i32, ptr %14, align 4 %54 = load i32, ptr %8, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %26, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %50 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %22 br label %56 56: ; preds = %.loopexit, %36 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %58 58: ; preds = %56 %59 = load i32, ptr %13, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %13, align 4 %61 = load i32, ptr %13, align 4 %62 = load i32, ptr %9, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %22, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %58 br label %64 64: ; preds = %._crit_edge, %6 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @drawer_clear_screen(...) #1 declare i32 @array2dindex(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @get_char(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpehesrmqq.c' source_filename = "/tmp/tmpehesrmqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_command_packet(i8 noundef zeroext %0, i8 noundef zeroext %1, i32 noundef %2, ptr noundef %3, i8 noundef zeroext %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca [2 x i8], align 1 %14 = alloca ptr, align 8 store i8 %0, ptr %7, align 1 store i8 %1, ptr %8, align 1 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i8 %4, ptr %11, align 1 %15 = load i8, ptr %11, align 1 %16 = zext i8 %15 to i32 %17 = add nsw i32 5, %16 %18 = add nsw i32 %17, 2 %19 = trunc i32 %18 to i8 store i8 %19, ptr %12, align 1 %20 = load i8, ptr %12, align 1 %21 = call ptr @calloc(i8 noundef zeroext %20, i32 noundef 1) store ptr %21, ptr %14, align 8 %22 = load ptr, ptr %14, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %5 store ptr null, ptr %6, align 8 br label %76 25: ; preds = %5 %26 = load i8, ptr %12, align 1 %27 = load ptr, ptr %14, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 0 store i8 %26, ptr %28, align 1 %29 = load i8, ptr %7, align 1 %30 = load ptr, ptr %14, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 store i8 %29, ptr %31, align 1 %32 = load i8, ptr %8, align 1 %33 = load ptr, ptr %14, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 2 store i8 %32, ptr %34, align 1 %35 = load i32, ptr %9, align 4 %36 = and i32 %35, 255 %37 = trunc i32 %36 to i8 %38 = load ptr, ptr %14, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 3 store i8 %37, ptr %39, align 1 %40 = load i32, ptr %9, align 4 %41 = and i32 %40, 65280 %42 = ashr i32 %41, 8 %43 = trunc i32 %42 to i8 %44 = load ptr, ptr %14, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 4 store i8 %43, ptr %45, align 1 %46 = load ptr, ptr %14, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 5 %48 = load ptr, ptr %10, align 8 %49 = load i8, ptr %11, align 1 %50 = call i32 @memcpy(ptr noundef %47, ptr noundef %48, i8 noundef zeroext %49) %51 = load i8, ptr %12, align 1 %52 = zext i8 %51 to i32 %53 = sub nsw i32 %52, 2 %54 = trunc i32 %53 to i8 %55 = load ptr, ptr %14, align 8 %56 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %57 = call i32 @calculate_crc(i8 noundef zeroext %54, ptr noundef %55, ptr noundef %56) %58 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %59 = load i8, ptr %58, align 1 %60 = load ptr, ptr %14, align 8 %61 = load i8, ptr %11, align 1 %62 = zext i8 %61 to i32 %63 = add nsw i32 5, %62 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %60, i64 %64 store i8 %59, ptr %65, align 1 %66 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 1 %67 = load i8, ptr %66, align 1 %68 = load ptr, ptr %14, align 8 %69 = load i8, ptr %11, align 1 %70 = zext i8 %69 to i32 %71 = add nsw i32 5, %70 %72 = add nsw i32 %71, 1 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %68, i64 %73 store i8 %67, ptr %74, align 1 %75 = load ptr, ptr %14, align 8 store ptr %75, ptr %6, align 8 br label %76 76: ; preds = %25, %24 %77 = load ptr, ptr %6, align 8 ret ptr %77 } declare ptr @calloc(i8 noundef zeroext, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @calculate_crc(i8 noundef zeroext, 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/tmpehesrmqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generate_command_packet(i8 noundef zeroext %0, i8 noundef zeroext %1, i32 noundef %2, ptr noundef %3, i8 noundef zeroext %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca [2 x i8], align 1 %14 = alloca ptr, align 8 store i8 %0, ptr %7, align 1 store i8 %1, ptr %8, align 1 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i8 %4, ptr %11, align 1 %15 = load i8, ptr %11, align 1 %16 = zext i8 %15 to i32 %17 = add nsw i32 5, %16 %18 = add nsw i32 %17, 2 %19 = trunc i32 %18 to i8 store i8 %19, ptr %12, align 1 %20 = load i8, ptr %12, align 1 %21 = call ptr @calloc(i8 noundef zeroext %20, i32 noundef 1) store ptr %21, ptr %14, align 8 %22 = load ptr, ptr %14, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %5 store ptr null, ptr %6, align 8 br label %76 25: ; preds = %5 %26 = load i8, ptr %12, align 1 %27 = load ptr, ptr %14, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 0 store i8 %26, ptr %28, align 1 %29 = load i8, ptr %7, align 1 %30 = load ptr, ptr %14, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 store i8 %29, ptr %31, align 1 %32 = load i8, ptr %8, align 1 %33 = load ptr, ptr %14, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 2 store i8 %32, ptr %34, align 1 %35 = load i32, ptr %9, align 4 %36 = and i32 %35, 255 %37 = trunc i32 %36 to i8 %38 = load ptr, ptr %14, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 3 store i8 %37, ptr %39, align 1 %40 = load i32, ptr %9, align 4 %41 = and i32 %40, 65280 %42 = ashr i32 %41, 8 %43 = trunc i32 %42 to i8 %44 = load ptr, ptr %14, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 4 store i8 %43, ptr %45, align 1 %46 = load ptr, ptr %14, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 5 %48 = load ptr, ptr %10, align 8 %49 = load i8, ptr %11, align 1 %50 = call i32 @memcpy(ptr noundef %47, ptr noundef %48, i8 noundef zeroext %49) %51 = load i8, ptr %12, align 1 %52 = zext i8 %51 to i32 %53 = sub nsw i32 %52, 2 %54 = trunc i32 %53 to i8 %55 = load ptr, ptr %14, align 8 %56 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %57 = call i32 @calculate_crc(i8 noundef zeroext %54, ptr noundef %55, ptr noundef %56) %58 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 0 %59 = load i8, ptr %58, align 1 %60 = load ptr, ptr %14, align 8 %61 = load i8, ptr %11, align 1 %62 = zext i8 %61 to i32 %63 = add nsw i32 5, %62 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %60, i64 %64 store i8 %59, ptr %65, align 1 %66 = getelementptr inbounds [2 x i8], ptr %13, i64 0, i64 1 %67 = load i8, ptr %66, align 1 %68 = load ptr, ptr %14, align 8 %69 = load i8, ptr %11, align 1 %70 = zext i8 %69 to i32 %71 = add nsw i32 5, %70 %72 = add nsw i32 %71, 1 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %68, i64 %73 store i8 %67, ptr %74, align 1 %75 = load ptr, ptr %14, align 8 store ptr %75, ptr %6, align 8 br label %76 76: ; preds = %25, %24 %77 = load ptr, ptr %6, align 8 ret ptr %77 } declare ptr @calloc(i8 noundef zeroext, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i8 noundef zeroext) #1 declare i32 @calculate_crc(i8 noundef zeroext, 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/tmpkwem9v7x.c' source_filename = "/tmp/tmpkwem9v7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 br label %3 3: ; preds = %14, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 100 br i1 %5, label %6, label %17 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = call i64 @isprime(i32 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %10, %6 br label %14 14: ; preds = %13 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 br label %3, !llvm.loop !6 17: ; preds = %3 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i64 @isprime(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkwem9v7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 100 br i1 %4, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %13 %6 = load i32, ptr %2, align 4 %7 = call i64 @isprime(i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10) br label %12 12: ; preds = %9, %5 br label %13 13: ; preds = %12 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 100 br i1 %17, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = load i32, ptr %1, align 4 ret i32 %20 } declare i64 @isprime(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpydp4dwbi.c' source_filename = "/tmp/tmpydp4dwbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fluff_random_urandom(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %23 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i64 @fread(ptr noundef %12, i32 noundef 1, i64 noundef %13, ptr noundef %14) store i64 %15, ptr %7, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 @fclose(ptr noundef %16) %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %5, align 8 %20 = icmp eq i64 %18, %19 %21 = zext i1 %20 to i64 %22 = select i1 %20, i32 0, i32 1 store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %11, %10 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i64 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpydp4dwbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fluff_random_urandom(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %23 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i64 @fread(ptr noundef %12, i32 noundef 1, i64 noundef %13, ptr noundef %14) store i64 %15, ptr %7, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 @fclose(ptr noundef %16) %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %5, align 8 %20 = icmp eq i64 %18, %19 %21 = zext i1 %20 to i64 %22 = select i1 %20, i32 0, i32 1 store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %11, %10 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i64 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"}
; ModuleID = '/tmp/tmpvmbu0v8u.c' source_filename = "/tmp/tmpvmbu0v8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sender(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [64 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = call i32 @net_usleep(i32 noundef 20000) %12 = call i64 @net_connect(ptr noundef %7, ptr noundef null, i32 noundef 121212) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 (...) @abort() #3 unreachable 16: ; preds = %3 %17 = load i32, ptr %7, align 4 %18 = call i64 @net_set_block(i32 noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 (...) @abort() #3 unreachable 22: ; preds = %16 store i32 104, ptr %9, align 4 %23 = load i32, ptr %9, align 4 %24 = call ptr @malloc(i32 noundef %23) store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %10, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %29 27: ; preds = %22 %28 = call i32 (...) @abort() #3 unreachable 29: ; preds = %22 %30 = load ptr, ptr %10, align 8 %31 = load ptr, ptr %6, align 8 %32 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i32 noundef 40) %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %5, align 4 %35 = load ptr, ptr %10, align 8 %36 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %37 = call i32 @sha512_hmac(ptr noundef %33, i32 noundef %34, ptr noundef %35, i32 noundef 40, ptr noundef %36, i32 noundef 0) %38 = load ptr, ptr %10, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 40 %40 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %41 = call i32 @memcpy(ptr noundef %39, ptr noundef %40, i32 noundef 64) %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %9, align 4 %44 = call i32 @net_send(ptr noundef %7, ptr noundef %42, i32 noundef %43) %45 = load ptr, ptr %10, align 8 %46 = call i32 @free(ptr noundef %45) %47 = load i32, ptr %7, align 4 %48 = call i32 @net_close(i32 noundef %47) ret void } declare i32 @net_usleep(i32 noundef) #1 declare i64 @net_connect(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i64 @net_set_block(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sha512_hmac(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @net_send(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @net_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvmbu0v8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sender(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [64 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = call i32 @net_usleep(i32 noundef 20000) %12 = call i64 @net_connect(ptr noundef %7, ptr noundef null, i32 noundef 121212) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 (...) @abort() #3 unreachable 16: ; preds = %3 %17 = load i32, ptr %7, align 4 %18 = call i64 @net_set_block(i32 noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 (...) @abort() #3 unreachable 22: ; preds = %16 store i32 104, ptr %9, align 4 %23 = load i32, ptr %9, align 4 %24 = call ptr @malloc(i32 noundef %23) store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %10, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %29 27: ; preds = %22 %28 = call i32 (...) @abort() #3 unreachable 29: ; preds = %22 %30 = load ptr, ptr %10, align 8 %31 = load ptr, ptr %6, align 8 %32 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i32 noundef 40) %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %5, align 4 %35 = load ptr, ptr %10, align 8 %36 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %37 = call i32 @sha512_hmac(ptr noundef %33, i32 noundef %34, ptr noundef %35, i32 noundef 40, ptr noundef %36, i32 noundef 0) %38 = load ptr, ptr %10, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 40 %40 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %41 = call i32 @memcpy(ptr noundef %39, ptr noundef %40, i32 noundef 64) %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %9, align 4 %44 = call i32 @net_send(ptr noundef %7, ptr noundef %42, i32 noundef %43) %45 = load ptr, ptr %10, align 8 %46 = call i32 @free(ptr noundef %45) %47 = load i32, ptr %7, align 4 %48 = call i32 @net_close(i32 noundef %47) ret void } declare i32 @net_usleep(i32 noundef) #1 declare i64 @net_connect(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i64 @net_set_block(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sha512_hmac(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @net_send(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @net_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdaiqrvl2.c' source_filename = "/tmp/tmpdaiqrvl2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vrna_ptable_copy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i16, ptr %4, i64 0 %6 = load i16, ptr %5, align 2 %7 = sext i16 %6 to i32 %8 = add nsw i32 %7, 2 %9 = sext i32 %8 to i64 %10 = mul i64 2, %9 %11 = trunc i64 %10 to i32 %12 = call i64 @vrna_alloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %2, align 8 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i16, ptr %16, i64 0 %18 = load i16, ptr %17, align 2 %19 = sext i16 %18 to i32 %20 = add nsw i32 %19, 2 %21 = sext i32 %20 to i64 %22 = mul i64 2, %21 %23 = trunc i64 %22 to i32 %24 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i32 noundef %23) %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare i64 @vrna_alloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdaiqrvl2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vrna_ptable_copy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i16, ptr %4, i64 0 %6 = load i16, ptr %5, align 2 %7 = sext i16 %6 to i32 %8 = add nsw i32 %7, 2 %9 = sext i32 %8 to i64 %10 = mul i64 2, %9 %11 = trunc i64 %10 to i32 %12 = call i64 @vrna_alloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %2, align 8 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i16, ptr %16, i64 0 %18 = load i16, ptr %17, align 2 %19 = sext i16 %18 to i32 %20 = add nsw i32 %19, 2 %21 = sext i32 %20 to i64 %22 = mul i64 2, %21 %23 = trunc i64 %22 to i32 %24 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i32 noundef %23) %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare i64 @vrna_alloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ralqa3k.c' source_filename = "/tmp/tmp5ralqa3k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfpr_str_hextobin(i64 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [100 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 store i64 %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %14 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %15 = getelementptr inbounds i8, ptr %14, i64 100 %16 = getelementptr inbounds i8, ptr %15, i64 -1 store ptr %16, ptr %13, align 8 %17 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %18 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 100) br label %19 19: ; preds = %43, %4 %20 = load ptr, ptr %13, align 8 %21 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %22 = icmp uge ptr %20, %21 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load i64, ptr %6, align 8 %25 = icmp ne i64 %24, 0 br label %26 26: ; preds = %23, %19 %27 = phi i1 [ false, %19 ], [ %25, %23 ] br i1 %27, label %28, label %51 28: ; preds = %26 %29 = load i64, ptr %6, align 8 %30 = urem i64 %29, 2 %31 = trunc i64 %30 to i32 store i32 %31, ptr %11, align 4 %32 = load i64, ptr %6, align 8 %33 = udiv i64 %32, 2 store i64 %33, ptr %6, align 8 %34 = load i32, ptr %12, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %43 36: ; preds = %28 %37 = load i32, ptr %12, align 4 %38 = srem i32 %37, 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %36 %41 = load ptr, ptr %13, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 -1 store ptr %42, ptr %13, align 8 store i8 32, ptr %42, align 1 br label %43 43: ; preds = %40, %36, %28 %44 = load i32, ptr %12, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %12, align 4 %46 = load i32, ptr %11, align 4 %47 = add nsw i32 %46, 48 %48 = trunc i32 %47 to i8 %49 = load ptr, ptr %13, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 -1 store ptr %50, ptr %13, align 8 store i8 %48, ptr %50, align 1 br label %19, !llvm.loop !6 51: ; preds = %26 br label %52 52: ; preds = %68, %51 %53 = load i32, ptr %12, align 4 %54 = load ptr, ptr %7, align 8 %55 = call i32 @atoi(ptr noundef %54) %56 = srem i32 %53, %55 %57 = icmp ne i32 %56, 0 br i1 %57, label %58, label %73 58: ; preds = %52 %59 = load i32, ptr %12, align 4 %60 = icmp ne i32 %59, 0 br i1 %60, label %61, label %68 61: ; preds = %58 %62 = load i32, ptr %12, align 4 %63 = srem i32 %62, 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %68, label %65 65: ; preds = %61 %66 = load ptr, ptr %13, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 -1 store ptr %67, ptr %13, align 8 store i8 32, ptr %67, align 1 br label %68 68: ; preds = %65, %61, %58 %69 = load ptr, ptr %13, align 8 %70 = getelementptr inbounds i8, ptr %69, i32 -1 store ptr %70, ptr %13, align 8 store i8 48, ptr %70, align 1 %71 = load i32, ptr %12, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %12, align 4 br label %52, !llvm.loop !8 73: ; preds = %52 %74 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %75 = getelementptr inbounds i8, ptr %74, i64 100 %76 = getelementptr inbounds i8, ptr %75, i64 -1 %77 = load ptr, ptr %13, align 8 %78 = ptrtoint ptr %76 to i64 %79 = ptrtoint ptr %77 to i64 %80 = sub i64 %78, %79 %81 = trunc i64 %80 to i32 store i32 %81, ptr %12, align 4 %82 = load ptr, ptr %8, align 8 %83 = load i32, ptr %9, align 4 %84 = call i32 @memset(ptr noundef %82, i32 noundef 0, i32 noundef %83) %85 = load i32, ptr %12, align 4 %86 = load i32, ptr %9, align 4 %87 = icmp sge i32 %85, %86 br i1 %87, label %88, label %89 88: ; preds = %73 store ptr null, ptr %5, align 8 br label %95 89: ; preds = %73 %90 = load ptr, ptr %8, align 8 %91 = load ptr, ptr %13, align 8 %92 = load i32, ptr %12, align 4 %93 = call i32 @memcpy(ptr noundef %90, ptr noundef %91, i32 noundef %92) %94 = load ptr, ptr %8, align 8 store ptr %94, ptr %5, align 8 br label %95 95: ; preds = %89, %88 %96 = load ptr, ptr %5, align 8 ret ptr %96 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ralqa3k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfpr_str_hextobin(i64 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [100 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 store i64 %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %14 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %15 = getelementptr inbounds i8, ptr %14, i64 100 %16 = getelementptr inbounds i8, ptr %15, i64 -1 store ptr %16, ptr %13, align 8 %17 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %18 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 100) br label %19 19: ; preds = %43, %4 %20 = load ptr, ptr %13, align 8 %21 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %22 = icmp uge ptr %20, %21 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load i64, ptr %6, align 8 %25 = icmp ne i64 %24, 0 br label %26 26: ; preds = %23, %19 %27 = phi i1 [ false, %19 ], [ %25, %23 ] br i1 %27, label %28, label %51 28: ; preds = %26 %29 = load i64, ptr %6, align 8 %30 = urem i64 %29, 2 %31 = trunc i64 %30 to i32 store i32 %31, ptr %11, align 4 %32 = load i64, ptr %6, align 8 %33 = udiv i64 %32, 2 store i64 %33, ptr %6, align 8 %34 = load i32, ptr %12, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %43 36: ; preds = %28 %37 = load i32, ptr %12, align 4 %38 = srem i32 %37, 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %36 %41 = load ptr, ptr %13, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 -1 store ptr %42, ptr %13, align 8 store i8 32, ptr %42, align 1 br label %43 43: ; preds = %40, %36, %28 %44 = load i32, ptr %12, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %12, align 4 %46 = load i32, ptr %11, align 4 %47 = add nsw i32 %46, 48 %48 = trunc i32 %47 to i8 %49 = load ptr, ptr %13, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 -1 store ptr %50, ptr %13, align 8 store i8 %48, ptr %50, align 1 br label %19, !llvm.loop !6 51: ; preds = %26 %52 = load i32, ptr %12, align 4 %53 = load ptr, ptr %7, align 8 %54 = call i32 @atoi(ptr noundef %53) %55 = srem i32 %52, %54 %56 = icmp ne i32 %55, 0 br i1 %56, label %.lr.ph, label %77 .lr.ph: ; preds = %51 br label %57 57: ; preds = %.lr.ph, %67 %58 = load i32, ptr %12, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %67 60: ; preds = %57 %61 = load i32, ptr %12, align 4 %62 = srem i32 %61, 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %60 %65 = load ptr, ptr %13, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 -1 store ptr %66, ptr %13, align 8 store i8 32, ptr %66, align 1 br label %67 67: ; preds = %64, %60, %57 %68 = load ptr, ptr %13, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 -1 store ptr %69, ptr %13, align 8 store i8 48, ptr %69, align 1 %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 ptr, ptr %7, align 8 %74 = call i32 @atoi(ptr noundef %73) %75 = srem i32 %72, %74 %76 = icmp ne i32 %75, 0 br i1 %76, label %57, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %67 br label %77 77: ; preds = %._crit_edge, %51 %78 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %79 = getelementptr inbounds i8, ptr %78, i64 100 %80 = getelementptr inbounds i8, ptr %79, i64 -1 %81 = load ptr, ptr %13, align 8 %82 = ptrtoint ptr %80 to i64 %83 = ptrtoint ptr %81 to i64 %84 = sub i64 %82, %83 %85 = trunc i64 %84 to i32 store i32 %85, ptr %12, align 4 %86 = load ptr, ptr %8, align 8 %87 = load i32, ptr %9, align 4 %88 = call i32 @memset(ptr noundef %86, i32 noundef 0, i32 noundef %87) %89 = load i32, ptr %12, align 4 %90 = load i32, ptr %9, align 4 %91 = icmp sge i32 %89, %90 br i1 %91, label %92, label %93 92: ; preds = %77 store ptr null, ptr %5, align 8 br label %99 93: ; preds = %77 %94 = load ptr, ptr %8, align 8 %95 = load ptr, ptr %13, align 8 %96 = load i32, ptr %12, align 4 %97 = call i32 @memcpy(ptr noundef %94, ptr noundef %95, i32 noundef %96) %98 = load ptr, ptr %8, align 8 store ptr %98, ptr %5, align 8 br label %99 99: ; preds = %93, %92 %100 = load ptr, ptr %5, align 8 ret ptr %100 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmr63hnkn.c' source_filename = "/tmp/tmpmr63hnkn.c" target datalayout = "e-m:e-p270: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/tmpmr63hnkn.c" target datalayout = "e-m:e-p270: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/tmpr2w9q0bq.c' source_filename = "/tmp/tmpr2w9q0bq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SSIZE_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_data(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %18, label %11 11: ; preds = %3 %12 = load i32, ptr %7, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %11 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr @SSIZE_MAX, align 4 %17 = icmp sgt i32 %15, %16 br i1 %17, label %18, label %19 18: ; preds = %14, %11, %3 store i32 0, ptr %4, align 4 br label %45 19: ; preds = %14 br label %20 20: ; preds = %39, %19 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %7, align 4 %25 = call i32 @read(i32 noundef %22, ptr noundef %23, i32 noundef %24) store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 %27 = load ptr, ptr %6, align 8 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds i8, ptr %27, i64 %28 store ptr %29, ptr %6, align 8 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %7, align 4 %32 = sub nsw i32 %31, %30 store i32 %32, ptr %7, align 4 br label %33 33: ; preds = %20 %34 = load i32, ptr %8, align 4 %35 = icmp sge i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load i32, ptr %7, align 4 %38 = icmp sgt i32 %37, 0 br label %39 39: ; preds = %36, %33 %40 = phi i1 [ false, %33 ], [ %38, %36 ] br i1 %40, label %20, label %41, !llvm.loop !6 41: ; preds = %39 %42 = load i32, ptr %7, align 4 %43 = icmp eq i32 %42, 0 %44 = zext i1 %43 to i32 store i32 %44, ptr %4, align 4 br label %45 45: ; preds = %41, %18 %46 = load i32, ptr %4, align 4 ret i32 %46 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpr2w9q0bq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SSIZE_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_data(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %18, label %11 11: ; preds = %3 %12 = load i32, ptr %7, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %11 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr @SSIZE_MAX, align 4 %17 = icmp sgt i32 %15, %16 br i1 %17, label %18, label %19 18: ; preds = %14, %11, %3 store i32 0, ptr %4, align 4 br label %45 19: ; preds = %14 br label %20 20: ; preds = %39, %19 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %7, align 4 %25 = call i32 @read(i32 noundef %22, ptr noundef %23, i32 noundef %24) store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 %27 = load ptr, ptr %6, align 8 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds i8, ptr %27, i64 %28 store ptr %29, ptr %6, align 8 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %7, align 4 %32 = sub nsw i32 %31, %30 store i32 %32, ptr %7, align 4 br label %33 33: ; preds = %20 %34 = load i32, ptr %8, align 4 %35 = icmp sge i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load i32, ptr %7, align 4 %38 = icmp sgt i32 %37, 0 br label %39 39: ; preds = %36, %33 %40 = phi i1 [ false, %33 ], [ %38, %36 ] br i1 %40, label %20, label %41, !llvm.loop !6 41: ; preds = %39 %42 = load i32, ptr %7, align 4 %43 = icmp eq i32 %42, 0 %44 = zext i1 %43 to i32 store i32 %44, ptr %4, align 4 br label %45 45: ; preds = %41, %18 %46 = load i32, ptr %4, align 4 ret i32 %46 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp4ro0f3ye.c' source_filename = "/tmp/tmp4ro0f3ye.c" target datalayout = "e-m:e-p270: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/tmp4ro0f3ye.c" target datalayout = "e-m:e-p270: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/tmpijjzrf4b.c' source_filename = "/tmp/tmpijjzrf4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @first_init() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpijjzrf4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @first_init() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppfq07cdo.c' source_filename = "/tmp/tmppfq07cdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"%s: %s:%u: %s: Unexpected error: %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__assert_perror_fail_backtrace(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [1024 x i8], align 16 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %11 = load i32, ptr %5, align 4 %12 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %13 = call ptr @strerror_r(i32 noundef %11, ptr noundef %12, i32 noundef 1024) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %10, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %8, align 8 %18 = call i32 @__assert_fail_base_backtrace(ptr noundef @.str, ptr noundef %14, ptr noundef %15, i32 noundef %16, ptr noundef %17) ret void } declare ptr @strerror_r(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @__assert_fail_base_backtrace(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppfq07cdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"%s: %s:%u: %s: Unexpected error: %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__assert_perror_fail_backtrace(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [1024 x i8], align 16 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %11 = load i32, ptr %5, align 4 %12 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %13 = call ptr @strerror_r(i32 noundef %11, ptr noundef %12, i32 noundef 1024) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %10, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %8, align 8 %18 = call i32 @__assert_fail_base_backtrace(ptr noundef @.str, ptr noundef %14, ptr noundef %15, i32 noundef %16, ptr noundef %17) ret void } declare ptr @strerror_r(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @__assert_fail_base_backtrace(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpacy9ij5c.c' source_filename = "/tmp/tmpacy9ij5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Aenter number of rows=\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"* \00", align 1 @.str.4 = 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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = mul nsw i32 2, %10 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %13 13: ; preds = %34, %0 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %17, label %37 17: ; preds = %13 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %6, align 4 %20 = sub nsw i32 %18, %19 store i32 %20, ptr %7, align 4 br label %21 21: ; preds = %25, %17 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %30 25: ; preds = %21 %26 = call i32 @printf(ptr noundef @.str.2) %27 = call i32 @printf(ptr noundef @.str.3) %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %21, !llvm.loop !6 30: ; preds = %21 %31 = call i32 @printf(ptr noundef @.str.4) store i32 0, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 2 store i32 %33, ptr %6, align 4 br label %34 34: ; preds = %30 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %4, align 4 br label %13, !llvm.loop !8 37: ; preds = %13 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpacy9ij5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Aenter number of rows=\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"* \00", align 1 @.str.4 = 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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = mul nsw i32 2, %10 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %3, align 4 store i32 1, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph2, label %41 .lr.ph2: ; preds = %0 br label %16 16: ; preds = %.lr.ph2, %35 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %6, align 4 %19 = sub nsw i32 %17, %18 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %31 .lr.ph: ; preds = %16 br label %23 23: ; preds = %.lr.ph, %23 %24 = call i32 @printf(ptr noundef @.str.2) %25 = call i32 @printf(ptr noundef @.str.3) %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %31 31: ; preds = %._crit_edge, %16 %32 = call i32 @printf(ptr noundef @.str.4) store i32 0, ptr %5, align 4 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 2 store i32 %34, ptr %6, align 4 br label %35 35: ; preds = %31 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp sle i32 %38, %39 br i1 %40, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %41 41: ; preds = %._crit_edge3, %0 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkq3d8mw9.c' source_filename = "/tmp/tmpkq3d8mw9.c" target datalayout = "e-m:e-p270: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/tmpkq3d8mw9.c" target datalayout = "e-m:e-p270: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/tmptf_rs7tb.c' source_filename = "/tmp/tmptf_rs7tb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { double, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ytcpsocket_pull(i32 noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca %struct.timeval, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 %14 = load double, ptr %9, align 8 %15 = fcmp ogt double %14, 0.000000e+00 br i1 %15, label %16, label %32 16: ; preds = %4 %17 = load double, ptr %9, align 8 %18 = fmul double %17, 1.000000e+06 %19 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 store double %18, ptr %19, align 8 %20 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 store i64 0, ptr %20, align 8 %21 = call i32 @FD_ZERO(ptr noundef %10) %22 = load i32, ptr %6, align 4 %23 = call i32 @FD_SET(i32 noundef %22, ptr noundef %10) %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 %26 = call i32 @select(i32 noundef %25, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %11) store i32 %26, ptr %12, align 4 %27 = load i32, ptr %12, align 4 %28 = icmp sle i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %16 %30 = load i32, ptr %12, align 4 store i32 %30, ptr %5, align 4 br label %39 31: ; preds = %16 br label %32 32: ; preds = %31, %4 %33 = load i32, ptr %6, align 4 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %8, align 4 %36 = call i64 @read(i32 noundef %33, ptr noundef %34, i32 noundef %35) %37 = trunc i64 %36 to i32 store i32 %37, ptr %13, align 4 %38 = load i32, ptr %13, align 4 store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %32, %29 %40 = load i32, ptr %5, align 4 ret i32 %40 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptf_rs7tb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { double, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ytcpsocket_pull(i32 noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca %struct.timeval, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 %14 = load double, ptr %9, align 8 %15 = fcmp ogt double %14, 0.000000e+00 br i1 %15, label %16, label %32 16: ; preds = %4 %17 = load double, ptr %9, align 8 %18 = fmul double %17, 1.000000e+06 %19 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 store double %18, ptr %19, align 8 %20 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 store i64 0, ptr %20, align 8 %21 = call i32 @FD_ZERO(ptr noundef %10) %22 = load i32, ptr %6, align 4 %23 = call i32 @FD_SET(i32 noundef %22, ptr noundef %10) %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 %26 = call i32 @select(i32 noundef %25, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %11) store i32 %26, ptr %12, align 4 %27 = load i32, ptr %12, align 4 %28 = icmp sle i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %16 %30 = load i32, ptr %12, align 4 store i32 %30, ptr %5, align 4 br label %39 31: ; preds = %16 br label %32 32: ; preds = %31, %4 %33 = load i32, ptr %6, align 4 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %8, align 4 %36 = call i64 @read(i32 noundef %33, ptr noundef %34, i32 noundef %35) %37 = trunc i64 %36 to i32 store i32 %37, ptr %13, align 4 %38 = load i32, ptr %13, align 4 store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %32, %29 %40 = load i32, ptr %5, align 4 ret i32 %40 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_rd4k8gw.c' source_filename = "/tmp/tmp_rd4k8gw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_rd4k8gw.c" target datalayout = "e-m:e-p270: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/tmpu2vju7mc.c' source_filename = "/tmp/tmpu2vju7mc.c" target datalayout = "e-m:e-p270: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/tmpu2vju7mc.c" target datalayout = "e-m:e-p270: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/tmpcsa408vz.c' source_filename = "/tmp/tmpcsa408vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [10 x i32] [i32 1, i32 9, i32 7, i32 3, i32 2, i32 5, i32 6, i32 4, i32 0, i32 8], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false) store i32 10, ptr %3, align 4 %4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %5 = load i32, ptr %3, align 4 %6 = call i32 @bubble_sort(ptr noundef %4, i32 noundef %5) %7 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %8 = load i32, ptr %3, align 4 %9 = call i32 @print(ptr noundef %7, i32 noundef %8) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @bubble_sort(ptr noundef, i32 noundef) #2 declare i32 @print(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcsa408vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [10 x i32] [i32 1, i32 9, i32 7, i32 3, i32 2, i32 5, i32 6, i32 4, i32 0, i32 8], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false) store i32 10, ptr %3, align 4 %4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %5 = load i32, ptr %3, align 4 %6 = call i32 @bubble_sort(ptr noundef %4, i32 noundef %5) %7 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %8 = load i32, ptr %3, align 4 %9 = call i32 @print(ptr noundef %7, i32 noundef %8) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @bubble_sort(ptr noundef, i32 noundef) #2 declare i32 @print(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvbl1repc.c' source_filename = "/tmp/tmpvbl1repc.c" target datalayout = "e-m:e-p270: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/tmpvbl1repc.c" target datalayout = "e-m:e-p270: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/tmpxfr2_2bq.c' source_filename = "/tmp/tmpxfr2_2bq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @esempio_stampaElementi(i32 noundef 0) ret i32 0 } declare i32 @esempio_stampaElementi(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/tmpxfr2_2bq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @esempio_stampaElementi(i32 noundef 0) ret i32 0 } declare i32 @esempio_stampaElementi(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/tmp0z25qf9a.c' source_filename = "/tmp/tmp0z25qf9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removePath(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 92) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 store ptr %9, ptr %3, align 8 br label %13 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %3, align 8 br label %13 13: ; preds = %10, %8 %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0z25qf9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removePath(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 92) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 store ptr %9, ptr %3, align 8 br label %13 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %3, align 8 br label %13 13: ; preds = %10, %8 %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnj32e46k.c' source_filename = "/tmp/tmpnj32e46k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ngettext(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call ptr @dngettext(i32 noundef 0, ptr noundef %7, ptr noundef %8, i64 noundef %9) ret ptr %10 } declare ptr @dngettext(i32 noundef, 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/tmpnj32e46k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ngettext(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call ptr @dngettext(i32 noundef 0, ptr noundef %7, ptr noundef %8, i64 noundef %9) ret ptr %10 } declare ptr @dngettext(i32 noundef, 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/tmpis_58mbj.c' source_filename = "/tmp/tmpis_58mbj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extend_string(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 i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %8, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i64, ptr %13, align 8 %15 = load i64, ptr %8, align 8 %16 = add i64 %14, %15 %17 = add i64 %16, 1 %18 = call ptr @realloc(ptr noundef %12, i64 noundef %17) store ptr %18, ptr %9, align 8 %19 = load ptr, ptr %9, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %3 %22 = load ptr, ptr %5, align 8 store ptr %22, ptr %4, align 8 br label %37 23: ; preds = %3 %24 = load ptr, ptr %9, align 8 %25 = load ptr, ptr %7, align 8 %26 = load i64, ptr %25, align 8 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load ptr, ptr %6, align 8 %29 = load i64, ptr %8, align 8 %30 = add i64 %29, 1 %31 = call i32 @strncpy(ptr noundef %27, ptr noundef %28, i64 noundef %30) %32 = load i64, ptr %8, align 8 %33 = load ptr, ptr %7, align 8 %34 = load i64, ptr %33, align 8 %35 = add i64 %34, %32 store i64 %35, ptr %33, align 8 %36 = load ptr, ptr %9, align 8 store ptr %36, ptr %4, align 8 br label %37 37: ; preds = %23, %21 %38 = load ptr, ptr %4, align 8 ret ptr %38 } declare i64 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @strncpy(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/tmpis_58mbj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extend_string(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 i64, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %8, align 8 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i64, ptr %13, align 8 %15 = load i64, ptr %8, align 8 %16 = add i64 %14, %15 %17 = add i64 %16, 1 %18 = call ptr @realloc(ptr noundef %12, i64 noundef %17) store ptr %18, ptr %9, align 8 %19 = load ptr, ptr %9, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %3 %22 = load ptr, ptr %5, align 8 store ptr %22, ptr %4, align 8 br label %37 23: ; preds = %3 %24 = load ptr, ptr %9, align 8 %25 = load ptr, ptr %7, align 8 %26 = load i64, ptr %25, align 8 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load ptr, ptr %6, align 8 %29 = load i64, ptr %8, align 8 %30 = add i64 %29, 1 %31 = call i32 @strncpy(ptr noundef %27, ptr noundef %28, i64 noundef %30) %32 = load i64, ptr %8, align 8 %33 = load ptr, ptr %7, align 8 %34 = load i64, ptr %33, align 8 %35 = add i64 %34, %32 store i64 %35, ptr %33, align 8 %36 = load ptr, ptr %9, align 8 store ptr %36, ptr %4, align 8 br label %37 37: ; preds = %23, %21 %38 = load ptr, ptr %4, align 8 ret ptr %38 } declare i64 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @strncpy(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/tmp74xvgj6w.c' source_filename = "/tmp/tmp74xvgj6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a8(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @a9(i32 noundef %3) ret void } declare i32 @a9(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/tmp74xvgj6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a8(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @a9(i32 noundef %3) ret void } declare i32 @a9(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/tmp5bcjb9uh.c' source_filename = "/tmp/tmp5bcjb9uh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 1 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %6, %1 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5bcjb9uh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 1 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %6, %1 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcf6qt6z8.c' source_filename = "/tmp/tmpcf6qt6z8.c" target datalayout = "e-m:e-p270: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/tmpcf6qt6z8.c" target datalayout = "e-m:e-p270: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/tmpfb0wcxr6.c' source_filename = "/tmp/tmpfb0wcxr6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LLONG_MIN = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfb0wcxr6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LLONG_MIN = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi9_r1bbv.c' source_filename = "/tmp/tmpi9_r1bbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 br label %5 5: ; preds = %10, %1 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = call i64 @isspace(i8 noundef signext %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %5 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %3, align 8 br label %5, !llvm.loop !6 13: ; preds = %5 %14 = load ptr, ptr %3, align 8 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = load ptr, ptr %3, align 8 store ptr %18, ptr %2, align 8 br label %38 19: ; preds = %13 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %3, align 8 %22 = call i32 @strlen(ptr noundef %21) %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = getelementptr inbounds i8, ptr %24, i64 -1 store ptr %25, ptr %4, align 8 br label %26 26: ; preds = %31, %19 %27 = load ptr, ptr %4, align 8 %28 = load i8, ptr %27, align 1 %29 = call i64 @isspace(i8 noundef signext %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %26 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 -1 store ptr %33, ptr %4, align 8 br label %26, !llvm.loop !8 34: ; preds = %26 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 1 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %3, align 8 store ptr %37, ptr %2, align 8 br label %38 38: ; preds = %34, %17 %39 = load ptr, ptr %2, align 8 ret ptr %39 } declare i64 @isspace(i8 noundef signext) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi9_r1bbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = call i64 @isspace(i8 noundef signext %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = call i64 @isspace(i8 noundef signext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %16 16: ; preds = %._crit_edge, %1 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = load ptr, ptr %3, align 8 store ptr %21, ptr %2, align 8 br label %44 22: ; preds = %16 %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 %28 = getelementptr inbounds i8, ptr %27, i64 -1 store ptr %28, ptr %4, align 8 %29 = load ptr, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = call i64 @isspace(i8 noundef signext %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %.lr.ph2, label %40 .lr.ph2: ; preds = %22 br label %33 33: ; preds = %.lr.ph2, %33 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 -1 store ptr %35, ptr %4, align 8 %36 = load ptr, ptr %4, align 8 %37 = load i8, ptr %36, align 1 %38 = call i64 @isspace(i8 noundef signext %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %40 40: ; preds = %._crit_edge3, %22 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 1 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %3, align 8 store ptr %43, ptr %2, align 8 br label %44 44: ; preds = %40, %20 %45 = load ptr, ptr %2, align 8 ret ptr %45 } declare i64 @isspace(i8 noundef signext) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwt0ln8ln.c' source_filename = "/tmp/tmpwt0ln8ln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ASSERTION FAILURE: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @massert(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 %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = call i32 @printf(ptr noundef @.str, ptr noundef %9) br label %11 11: ; preds = %8, %2 %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwt0ln8ln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ASSERTION FAILURE: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @massert(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 %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = call i32 @printf(ptr noundef @.str, ptr noundef %9) br label %11 11: ; preds = %8, %2 %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprdnmm1x8.c' source_filename = "/tmp/tmprdnmm1x8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tapByteHex(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 %5 = ashr i32 %4, 4 %6 = trunc i32 %5 to i8 %7 = call i32 @tapNibbleHex(i8 noundef zeroext %6) %8 = load i8, ptr %2, align 1 %9 = zext i8 %8 to i32 %10 = and i32 %9, 15 %11 = trunc i32 %10 to i8 %12 = call i32 @tapNibbleHex(i8 noundef zeroext %11) ret void } declare i32 @tapNibbleHex(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/tmprdnmm1x8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tapByteHex(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 %5 = ashr i32 %4, 4 %6 = trunc i32 %5 to i8 %7 = call i32 @tapNibbleHex(i8 noundef zeroext %6) %8 = load i8, ptr %2, align 1 %9 = zext i8 %8 to i32 %10 = and i32 %9, 15 %11 = trunc i32 %10 to i8 %12 = call i32 @tapNibbleHex(i8 noundef zeroext %11) ret void } declare i32 @tapNibbleHex(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/tmpxzkv8rml.c' source_filename = "/tmp/tmpxzkv8rml.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cguess-%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxzkv8rml.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cguess-%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpff8cv0z3.c' source_filename = "/tmp/tmpff8cv0z3.c" target datalayout = "e-m:e-p270: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/tmpff8cv0z3.c" target datalayout = "e-m:e-p270: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/tmpjq8gnhah.c' source_filename = "/tmp/tmpjq8gnhah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Please enter the conversion you would like to make\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c" ( Example - 'Convert 20 miles to kilometres' )\0A> \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @getLine(ptr noundef %5, i32 noundef 80) %7 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @parseInput(ptr noundef %7) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @getLine(ptr noundef, i32 noundef) #1 declare i32 @parseInput(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjq8gnhah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Please enter the conversion you would like to make\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c" ( Example - 'Convert 20 miles to kilometres' )\0A> \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @getLine(ptr noundef %5, i32 noundef 80) %7 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @parseInput(ptr noundef %7) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @getLine(ptr noundef, i32 noundef) #1 declare i32 @parseInput(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5iu4t3be.c' source_filename = "/tmp/tmp5iu4t3be.c" target datalayout = "e-m:e-p270: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/tmp5iu4t3be.c" target datalayout = "e-m:e-p270: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"}