llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpzqgkitgy.c' source_filename = "/tmp/tmpzqgkitgy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [82 x i8] c"********************************************************************************\0A\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"*\09\09MSP430-Emulator\0A*\0A*\09Usage: ./msp430 [BINARY FILE]\0A*\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = 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/tmpzqgkitgy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [82 x i8] c"********************************************************************************\0A\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"*\09\09MSP430-Emulator\0A*\0A*\09Usage: ./msp430 [BINARY FILE]\0A*\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = 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/tmp_v8jx86_.c' source_filename = "/tmp/tmp_v8jx86_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Poisson(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i64, align 8 store double %0, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 store i64 0, ptr %4, align 8 br label %5 5: ; preds = %9, %1 %6 = load double, ptr %3, align 8 %7 = load double, ptr %2, align 8 %8 = fcmp olt double %6, %7 br i1 %8, label %9, label %16 9: ; preds = %5 %10 = call i64 @Exponential(double noundef 1.000000e+00) %11 = sitofp i64 %10 to double %12 = load double, ptr %3, align 8 %13 = fadd double %12, %11 store double %13, ptr %3, align 8 %14 = load i64, ptr %4, align 8 %15 = add nsw i64 %14, 1 store i64 %15, ptr %4, align 8 br label %5, !llvm.loop !6 16: ; preds = %5 %17 = load i64, ptr %4, align 8 %18 = sub nsw i64 %17, 1 ret i64 %18 } declare i64 @Exponential(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_v8jx86_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Poisson(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i64, align 8 store double %0, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 store i64 0, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %2, align 8 %7 = fcmp olt double %5, %6 br i1 %7, label %.lr.ph, label %18 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = call i64 @Exponential(double noundef 1.000000e+00) %10 = sitofp i64 %9 to double %11 = load double, ptr %3, align 8 %12 = fadd double %11, %10 store double %12, ptr %3, align 8 %13 = load i64, ptr %4, align 8 %14 = add nsw i64 %13, 1 store i64 %14, ptr %4, align 8 %15 = load double, ptr %3, align 8 %16 = load double, ptr %2, align 8 %17 = fcmp olt double %15, %16 br i1 %17, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %18 18: ; preds = %._crit_edge, %1 %19 = load i64, ptr %4, align 8 %20 = sub nsw i64 %19, 1 ret i64 %20 } declare i64 @Exponential(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnhd9ew2w.c' source_filename = "/tmp/tmpnhd9ew2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Out of memory: tried to reallocate %zu bytes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xrealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = call ptr @realloc(ptr noundef %7, i64 noundef %8) #3 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %3, align 8 br label %27 14: ; preds = %2 %15 = load i64, ptr %5, align 8 %16 = icmp ne i64 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %14 %18 = call ptr @malloc(i32 noundef 1) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %17 %22 = load ptr, ptr %6, align 8 store ptr %22, ptr %3, align 8 br label %27 23: ; preds = %17 br label %24 24: ; preds = %23, %14 %25 = load i64, ptr %5, align 8 %26 = call i32 @fatal_error(ptr noundef @.str, i64 noundef %25) br label %27 27: ; preds = %24, %21, %12 %28 = load ptr, ptr %3, align 8 ret ptr %28 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare ptr @malloc(i32 noundef) #2 declare i32 @fatal_error(ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnhd9ew2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Out of memory: tried to reallocate %zu bytes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xrealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = call ptr @realloc(ptr noundef %7, i64 noundef %8) #3 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %3, align 8 br label %27 14: ; preds = %2 %15 = load i64, ptr %5, align 8 %16 = icmp ne i64 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %14 %18 = call ptr @malloc(i32 noundef 1) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %17 %22 = load ptr, ptr %6, align 8 store ptr %22, ptr %3, align 8 br label %27 23: ; preds = %17 br label %24 24: ; preds = %23, %14 %25 = load i64, ptr %5, align 8 %26 = call i32 @fatal_error(ptr noundef @.str, i64 noundef %25) br label %27 27: ; preds = %24, %21, %12 %28 = load ptr, ptr %3, align 8 ret ptr %28 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare ptr @malloc(i32 noundef) #2 declare i32 @fatal_error(ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeema6zc9.c' source_filename = "/tmp/tmpeema6zc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @my_func() ret i32 0 } declare i32 @my_func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeema6zc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @my_func() ret i32 0 } declare i32 @my_func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_rtnye9o.c' source_filename = "/tmp/tmp_rtnye9o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkLegalInDirection(ptr noundef %0, i32 noundef %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i8, align 1 %19 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store i8 %2, ptr %10, align 1 store i8 %3, ptr %11, align 1 store i8 %4, ptr %12, align 1 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %20 = load i8, ptr %10, align 1 %21 = sext i8 %20 to i32 %22 = sub nsw i32 %21, 97 store i32 %22, ptr %15, align 4 %23 = load i8, ptr %11, align 1 %24 = sext i8 %23 to i32 %25 = sub nsw i32 %24, 97 store i32 %25, ptr %16, align 4 store i8 66, ptr %18, align 1 %26 = load i8, ptr %12, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 66 br i1 %28, label %29, label %30 29: ; preds = %7 store i8 87, ptr %18, align 1 br label %30 30: ; preds = %29, %7 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %15, align 4 %33 = load i32, ptr %16, align 4 %34 = call i32 @positionInBounds(i32 noundef %31, i32 noundef %32, i32 noundef %33) store i32 %34, ptr %19, align 4 %35 = load ptr, ptr %8, align 8 %36 = load i32, ptr %15, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [26 x i8], ptr %35, i64 %37 %39 = load i32, ptr %16, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [26 x i8], ptr %38, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 85 br i1 %44, label %45, label %120 45: ; preds = %30 %46 = load i32, ptr %15, align 4 %47 = load i32, ptr %13, align 4 %48 = add nsw i32 %46, %47 store i32 %48, ptr %15, align 4 %49 = load i32, ptr %16, align 4 %50 = load i32, ptr %14, align 4 %51 = add nsw i32 %49, %50 store i32 %51, ptr %16, align 4 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %15, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [26 x i8], ptr %52, i64 %54 %56 = load i32, ptr %16, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [26 x i8], ptr %55, i64 0, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = load i8, ptr %18, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %60, %62 br i1 %63, label %64, label %118 64: ; preds = %45 %65 = load i32, ptr %15, align 4 %66 = load i32, ptr %13, align 4 %67 = add nsw i32 %65, %66 store i32 %67, ptr %15, align 4 %68 = load i32, ptr %16, align 4 %69 = load i32, ptr %14, align 4 %70 = add nsw i32 %68, %69 store i32 %70, ptr %16, align 4 br label %71 71: ; preds = %110, %64 %72 = load i32, ptr %19, align 4 %73 = icmp eq i32 %72, 1 br i1 %73, label %74, label %117 74: ; preds = %71 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %15, align 4 %77 = load i32, ptr %16, align 4 %78 = call i32 @positionInBounds(i32 noundef %75, i32 noundef %76, i32 noundef %77) store i32 %78, ptr %19, align 4 %79 = load i32, ptr %19, align 4 %80 = icmp eq i32 %79, 0 br i1 %80, label %81, label %82 81: ; preds = %74 store i32 0, ptr %17, align 4 br label %82 82: ; preds = %81, %74 %83 = load ptr, ptr %8, align 8 %84 = load i32, ptr %15, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [26 x i8], ptr %83, i64 %85 %87 = load i32, ptr %16, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [26 x i8], ptr %86, i64 0, i64 %88 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = load i8, ptr %12, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %91, %93 br i1 %94, label %95, label %96 95: ; preds = %82 store i32 1, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %109 96: ; preds = %82 %97 = load ptr, ptr %8, align 8 %98 = load i32, ptr %15, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [26 x i8], ptr %97, i64 %99 %101 = load i32, ptr %16, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [26 x i8], ptr %100, i64 0, i64 %102 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp eq i32 %105, 85 br i1 %106, label %107, label %108 107: ; preds = %96 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %108 108: ; preds = %107, %96 br label %109 109: ; preds = %108, %95 br label %110 110: ; preds = %109 %111 = load i32, ptr %15, align 4 %112 = load i32, ptr %13, align 4 %113 = add nsw i32 %111, %112 store i32 %113, ptr %15, align 4 %114 = load i32, ptr %16, align 4 %115 = load i32, ptr %14, align 4 %116 = add nsw i32 %114, %115 store i32 %116, ptr %16, align 4 br label %71, !llvm.loop !6 117: ; preds = %71 br label %119 118: ; preds = %45 store i32 0, ptr %17, align 4 br label %119 119: ; preds = %118, %117 br label %121 120: ; preds = %30 store i32 0, ptr %17, align 4 br label %121 121: ; preds = %120, %119 %122 = load i32, ptr %17, align 4 ret i32 %122 } declare i32 @positionInBounds(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/tmp_rtnye9o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkLegalInDirection(ptr noundef %0, i32 noundef %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i8, align 1 %19 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store i8 %2, ptr %10, align 1 store i8 %3, ptr %11, align 1 store i8 %4, ptr %12, align 1 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %20 = load i8, ptr %10, align 1 %21 = sext i8 %20 to i32 %22 = sub nsw i32 %21, 97 store i32 %22, ptr %15, align 4 %23 = load i8, ptr %11, align 1 %24 = sext i8 %23 to i32 %25 = sub nsw i32 %24, 97 store i32 %25, ptr %16, align 4 store i8 66, ptr %18, align 1 %26 = load i8, ptr %12, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 66 br i1 %28, label %29, label %30 29: ; preds = %7 store i8 87, ptr %18, align 1 br label %30 30: ; preds = %29, %7 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %15, align 4 %33 = load i32, ptr %16, align 4 %34 = call i32 @positionInBounds(i32 noundef %31, i32 noundef %32, i32 noundef %33) store i32 %34, ptr %19, align 4 %35 = load ptr, ptr %8, align 8 %36 = load i32, ptr %15, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [26 x i8], ptr %35, i64 %37 %39 = load i32, ptr %16, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [26 x i8], ptr %38, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 85 br i1 %44, label %45, label %121 45: ; preds = %30 %46 = load i32, ptr %15, align 4 %47 = load i32, ptr %13, align 4 %48 = add nsw i32 %46, %47 store i32 %48, ptr %15, align 4 %49 = load i32, ptr %16, align 4 %50 = load i32, ptr %14, align 4 %51 = add nsw i32 %49, %50 store i32 %51, ptr %16, align 4 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %15, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [26 x i8], ptr %52, i64 %54 %56 = load i32, ptr %16, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [26 x i8], ptr %55, i64 0, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = load i8, ptr %18, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %60, %62 br i1 %63, label %64, label %119 64: ; preds = %45 %65 = load i32, ptr %15, align 4 %66 = load i32, ptr %13, align 4 %67 = add nsw i32 %65, %66 store i32 %67, ptr %15, align 4 %68 = load i32, ptr %16, align 4 %69 = load i32, ptr %14, align 4 %70 = add nsw i32 %68, %69 store i32 %70, ptr %16, align 4 %71 = load i32, ptr %19, align 4 %72 = icmp eq i32 %71, 1 br i1 %72, label %.lr.ph, label %118 .lr.ph: ; preds = %64 br label %73 73: ; preds = %.lr.ph, %109 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %15, align 4 %76 = load i32, ptr %16, align 4 %77 = call i32 @positionInBounds(i32 noundef %74, i32 noundef %75, i32 noundef %76) store i32 %77, ptr %19, align 4 %78 = load i32, ptr %19, align 4 %79 = icmp eq i32 %78, 0 br i1 %79, label %80, label %81 80: ; preds = %73 store i32 0, ptr %17, align 4 br label %81 81: ; preds = %80, %73 %82 = load ptr, ptr %8, align 8 %83 = load i32, ptr %15, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [26 x i8], ptr %82, i64 %84 %86 = load i32, ptr %16, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [26 x i8], ptr %85, i64 0, i64 %87 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i32 %91 = load i8, ptr %12, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %90, %92 br i1 %93, label %94, label %95 94: ; preds = %81 store i32 1, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %108 95: ; preds = %81 %96 = load ptr, ptr %8, align 8 %97 = load i32, ptr %15, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [26 x i8], ptr %96, i64 %98 %100 = load i32, ptr %16, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [26 x i8], ptr %99, i64 0, i64 %101 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i32 %105 = icmp eq i32 %104, 85 br i1 %105, label %106, label %107 106: ; preds = %95 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %107 107: ; preds = %106, %95 br label %108 108: ; preds = %107, %94 br label %109 109: ; preds = %108 %110 = load i32, ptr %15, align 4 %111 = load i32, ptr %13, align 4 %112 = add nsw i32 %110, %111 store i32 %112, ptr %15, align 4 %113 = load i32, ptr %16, align 4 %114 = load i32, ptr %14, align 4 %115 = add nsw i32 %113, %114 store i32 %115, ptr %16, align 4 %116 = load i32, ptr %19, align 4 %117 = icmp eq i32 %116, 1 br i1 %117, label %73, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %109 br label %118 118: ; preds = %._crit_edge, %64 br label %120 119: ; preds = %45 store i32 0, ptr %17, align 4 br label %120 120: ; preds = %119, %118 br label %122 121: ; preds = %30 store i32 0, ptr %17, align 4 br label %122 122: ; preds = %121, %120 %123 = load i32, ptr %17, align 4 ret i32 %123 } declare i32 @positionInBounds(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/tmp4um8t13s.c' source_filename = "/tmp/tmp4um8t13s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nextrand(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 %5 = sext i32 %4 to i64 %6 = mul nsw i64 %5, 2862933555777941757 %7 = add nsw i64 %6, 3037000493 %8 = trunc i64 %7 to i32 %9 = load ptr, ptr %2, align 8 store i32 %8, ptr %9, align 4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %10, align 4 %12 = ashr i32 %11, 32 ret i32 %12 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4um8t13s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nextrand(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 %5 = sext i32 %4 to i64 %6 = mul nsw i64 %5, 2862933555777941757 %7 = add nsw i64 %6, 3037000493 %8 = trunc i64 %7 to i32 %9 = load ptr, ptr %2, align 8 store i32 %8, ptr %9, align 4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %10, align 4 %12 = ashr i32 %11, 32 ret i32 %12 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmr70h7wz.c' source_filename = "/tmp/tmpmr70h7wz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(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 ptr, align 8 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 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %13, %3 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %6, align 4 %12 = icmp sgt i32 %10, 0 br i1 %12, label %13, label %19 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %5, align 8 %16 = load i8, ptr %14, align 1 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %4, align 8 store i8 %16, ptr %17, align 1 br label %9, !llvm.loop !6 19: ; preds = %9 %20 = load ptr, ptr %7, align 8 ret ptr %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmr70h7wz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(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 ptr, align 8 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 store ptr %8, ptr %7, align 8 %9 = load i32, ptr %6, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %6, align 4 %11 = icmp sgt i32 %9, 0 br i1 %11, label %.lr.ph, label %21 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %5, align 8 %15 = load i8, ptr %13, align 1 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %4, align 8 store i8 %15, ptr %16, align 1 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %6, align 4 %20 = icmp sgt i32 %18, 0 br i1 %20, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %21 21: ; preds = %._crit_edge, %3 %22 = load ptr, ptr %7, align 8 ret ptr %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprl2u6b7y.c' source_filename = "/tmp/tmprl2u6b7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Input name of file you want open: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"Input name of file to save result: \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 [100 x i8], align 16 %7 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @printf(ptr noundef @.str) %9 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) %11 = call i32 @printf(ptr noundef @.str.2) %12 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12) %14 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %15 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @encodeToHuffmanCode(ptr noundef %14, ptr noundef %15) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @encodeToHuffmanCode(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/tmprl2u6b7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Input name of file you want open: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"Input name of file to save result: \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 [100 x i8], align 16 %7 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @printf(ptr noundef @.str) %9 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) %11 = call i32 @printf(ptr noundef @.str.2) %12 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12) %14 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %15 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @encodeToHuffmanCode(ptr noundef %14, ptr noundef %15) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @encodeToHuffmanCode(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/tmpu8t1sgc3.c' source_filename = "/tmp/tmpu8t1sgc3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @softfloat_compare96M(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 i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %35, %2 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %6, align 4 %13 = zext i32 %12 to i64 %14 = getelementptr inbounds i64, ptr %11, i64 %13 %15 = load i64, ptr %14, align 8 store i64 %15, ptr %8, align 8 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds i64, ptr %16, i64 %18 %20 = load i64, ptr %19, align 8 store i64 %20, ptr %9, align 8 %21 = load i64, ptr %8, align 8 %22 = load i64, ptr %9, align 8 %23 = icmp ne i64 %21, %22 br i1 %23, label %24, label %30 24: ; preds = %10 %25 = load i64, ptr %8, align 8 %26 = load i64, ptr %9, align 8 %27 = icmp slt i64 %25, %26 %28 = zext i1 %27 to i64 %29 = select i1 %27, i32 -1, i32 1 store i32 %29, ptr %3, align 4 br label %39 30: ; preds = %10 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp eq i32 %31, %32 br i1 %33, label %34, label %35 34: ; preds = %30 br label %38 35: ; preds = %30 %36 = load i32, ptr %6, align 4 %37 = sub i32 %36, 1 store i32 %37, ptr %6, align 4 br label %10 38: ; preds = %34 store i32 0, ptr %3, align 4 br label %39 39: ; preds = %38, %24 %40 = load i32, ptr %3, align 4 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu8t1sgc3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @softfloat_compare96M(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 i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 2, ptr %6, align 4 store i32 0, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %6, align 4 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds i64, ptr %10, i64 %12 %14 = load i64, ptr %13, align 8 store i64 %14, ptr %8, align 8 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds i64, ptr %15, i64 %17 %19 = load i64, ptr %18, align 8 store i64 %19, ptr %9, align 8 %20 = load i64, ptr %8, align 8 %21 = load i64, ptr %9, align 8 %22 = icmp ne i64 %20, %21 br i1 %22, label %23, label %.lr.ph .lr.ph: ; preds = %2 br label %29 ._crit_edge: ; preds = %34 br label %23 23: ; preds = %._crit_edge, %2 %24 = load i64, ptr %8, align 8 %25 = load i64, ptr %9, align 8 %26 = icmp slt i64 %24, %25 %27 = zext i1 %26 to i64 %28 = select i1 %26, i32 -1, i32 1 store i32 %28, ptr %3, align 4 br label %51 29: ; preds = %.lr.ph, %34 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %34 33: ; preds = %29 br label %50 34: ; preds = %29 %35 = load i32, ptr %6, align 4 %36 = sub i32 %35, 1 store i32 %36, ptr %6, align 4 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %6, align 4 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i64, ptr %37, i64 %39 %41 = load i64, ptr %40, align 8 store i64 %41, ptr %8, align 8 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %6, align 4 %44 = zext i32 %43 to i64 %45 = getelementptr inbounds i64, ptr %42, i64 %44 %46 = load i64, ptr %45, align 8 store i64 %46, ptr %9, align 8 %47 = load i64, ptr %8, align 8 %48 = load i64, ptr %9, align 8 %49 = icmp ne i64 %47, %48 br i1 %49, label %._crit_edge, label %29 50: ; preds = %33 store i32 0, ptr %3, align 4 br label %51 51: ; preds = %50, %23 %52 = load i32, ptr %3, align 4 ret i32 %52 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdu93es8p.c' source_filename = "/tmp/tmpdu93es8p.c" target datalayout = "e-m:e-p270: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/tmpdu93es8p.c" target datalayout = "e-m:e-p270: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/tmp6pnkc8mf.c' source_filename = "/tmp/tmp6pnkc8mf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @imprimirCorretamente(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = sub nsw i32 %7, 1 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = sdiv i32 %9, 2 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %5, align 4 br label %13 13: ; preds = %24, %1 %14 = load i32, ptr %5, align 4 %15 = icmp sge i32 %14, 0 br i1 %15, label %16, label %27 16: ; preds = %13 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22) br label %24 24: ; preds = %16 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %5, align 4 br label %13, !llvm.loop !6 27: ; preds = %13 %28 = load i32, ptr %3, align 4 %29 = sub nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %30 30: ; preds = %42, %27 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp sge i32 %31, %32 br i1 %33, label %34, label %45 34: ; preds = %30 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40) br label %42 42: ; preds = %34 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %5, align 4 br label %30, !llvm.loop !8 45: ; preds = %30 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6pnkc8mf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @imprimirCorretamente(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = sub nsw i32 %7, 1 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = sdiv i32 %9, 2 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %23 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21) br label %23 23: ; preds = %15 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp sge i32 %26, 0 br i1 %27, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %1 %29 = load i32, ptr %3, align 4 %30 = sub nsw i32 %29, 1 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp sge i32 %31, %32 br i1 %33, label %.lr.ph2, label %48 .lr.ph2: ; preds = %28 br label %34 34: ; preds = %.lr.ph2, %42 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40) br label %42 42: ; preds = %34 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %5, align 4 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %4, align 4 %47 = icmp sge i32 %45, %46 br i1 %47, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %48 48: ; preds = %._crit_edge3, %28 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8my2tsox.c' source_filename = "/tmp/tmp8my2tsox.c" target datalayout = "e-m:e-p270: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/tmp8my2tsox.c" target datalayout = "e-m:e-p270: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/tmpp1s8yq_o.c' source_filename = "/tmp/tmpp1s8yq_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp1s8yq_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq0kmy2m0.c' source_filename = "/tmp/tmpq0kmy2m0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @limpaTag(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call signext i8 @fgetc(ptr noundef %4) store i8 %5, ptr %3, align 1 br label %6 6: ; preds = %10, %1 %7 = load i8, ptr %3, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 62 br i1 %9, label %10, label %13 10: ; preds = %6 %11 = load ptr, ptr %2, align 8 %12 = call signext i8 @fgetc(ptr noundef %11) store i8 %12, ptr %3, align 1 br label %6, !llvm.loop !6 13: ; preds = %6 ret void } declare signext i8 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpq0kmy2m0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @limpaTag(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call signext i8 @fgetc(ptr noundef %4) store i8 %5, ptr %3, align 1 %6 = load i8, ptr %3, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 62 br i1 %8, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load ptr, ptr %2, align 8 %11 = call signext i8 @fgetc(ptr noundef %10) store i8 %11, ptr %3, align 1 %12 = load i8, ptr %3, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 62 br i1 %14, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %1 ret void } declare signext i8 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmprkeb6hrn.c' source_filename = "/tmp/tmprkeb6hrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Spsum(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, 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 i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i64 0, ptr %15, align 8 %16 = load i64, ptr %4, align 8 store i64 %16, ptr %12, align 8 br label %17 17: ; preds = %23, %2 %18 = load i64, ptr %12, align 8 %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 br label %23 23: ; preds = %20 %24 = load i64, ptr %12, align 8 %25 = sdiv i64 %24, 10 store i64 %25, ptr %12, align 8 br label %17, !llvm.loop !6 26: ; preds = %17 %27 = load i64, ptr %5, align 8 store i64 %27, ptr %12, align 8 br label %28 28: ; preds = %34, %26 %29 = load i64, ptr %12, align 8 %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %37 31: ; preds = %28 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %34 34: ; preds = %31 %35 = load i64, ptr %12, align 8 %36 = sdiv i64 %35, 10 store i64 %36, ptr %12, align 8 br label %28, !llvm.loop !8 37: ; preds = %28 %38 = load i64, ptr %4, align 8 %39 = load i32, ptr %6, align 4 %40 = sub nsw i32 %39, 1 %41 = call i32 @pow(i32 noundef 10, i32 noundef %40) %42 = sext i32 %41 to i64 %43 = sdiv i64 %38, %42 %44 = trunc i64 %43 to i32 store i32 %44, ptr %9, align 4 %45 = load i64, ptr %5, align 8 %46 = load i32, ptr %7, align 4 %47 = sub nsw i32 %46, 1 %48 = call i32 @pow(i32 noundef 10, i32 noundef %47) %49 = sext i32 %48 to i64 %50 = sdiv i64 %45, %49 %51 = trunc i64 %50 to i32 store i32 %51, ptr %10, align 4 %52 = load i64, ptr %4, align 8 %53 = load i64, ptr %5, align 8 %54 = icmp sgt i64 %52, %53 br i1 %54, label %55, label %56 55: ; preds = %37 store i64 0, ptr %3, align 8 br label %240 56: ; preds = %37 %57 = load i32, ptr %7, align 4 %58 = icmp slt i32 %57, 4 br i1 %58, label %59, label %63 59: ; preds = %56 %60 = load i64, ptr %4, align 8 %61 = load i64, ptr %5, align 8 %62 = call i64 @Ordsum(i64 noundef %60, i64 noundef %61) store i64 %62, ptr %3, align 8 br label %240 63: ; preds = %56 %64 = load i64, ptr %4, align 8 %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %101 66: ; preds = %63 %67 = load i64, ptr %15, align 8 %68 = load i32, ptr %7, align 4 %69 = sub nsw i32 %68, 1 %70 = mul nsw i32 %69, 45 %71 = load i32, ptr %7, align 4 %72 = sub nsw i32 %71, 2 %73 = call i32 @pow(i32 noundef 10, i32 noundef %72) %74 = mul nsw i32 %70, %73 %75 = load i32, ptr %10, align 4 %76 = mul nsw i32 %74, %75 %77 = sext i32 %76 to i64 %78 = add nsw i64 %67, %77 %79 = load i32, ptr %10, align 4 %80 = load i32, ptr %10, align 4 %81 = sub nsw i32 %80, 1 %82 = mul nsw i32 %79, %81 %83 = load i32, ptr %7, align 4 %84 = sub nsw i32 %83, 1 %85 = call i32 @pow(i32 noundef 10, i32 noundef %84) %86 = mul nsw i32 %82, %85 %87 = sdiv i32 %86, 2 %88 = sext i32 %87 to i64 %89 = add nsw i64 %78, %88 store i64 %89, ptr %15, align 8 %90 = load i64, ptr %15, align 8 %91 = load i32, ptr %10, align 4 %92 = load i32, ptr %7, align 4 %93 = sub nsw i32 %92, 1 %94 = call i32 @pow(i32 noundef 10, i32 noundef %93) %95 = mul nsw i32 %91, %94 %96 = sext i32 %95 to i64 %97 = load i64, ptr %5, align 8 %98 = call i64 @Spsum(i64 noundef %96, i64 noundef %97) %99 = add nsw i64 %90, %98 store i64 %99, ptr %15, align 8 %100 = load i64, ptr %15, align 8 store i64 %100, ptr %3, align 8 br label %240 101: ; preds = %63 %102 = load i32, ptr %6, align 4 %103 = load i32, ptr %7, align 4 %104 = icmp eq i32 %102, %103 br i1 %104, label %105, label %213 105: ; preds = %101 %106 = load i64, ptr %4, align 8 %107 = load i64, ptr %5, align 8 %108 = load i32, ptr %6, align 4 %109 = load i32, ptr %9, align 4 %110 = load i32, ptr %10, align 4 %111 = call i32 @Check(i64 noundef %106, i64 noundef %107, i32 noundef %108, i32 noundef %109, i32 noundef %110) store i32 %111, ptr %11, align 4 %112 = load i32, ptr %6, align 4 store i32 %112, ptr %8, align 4 %113 = load i32, ptr %11, align 4 %114 = icmp ne i32 %113, 0 br i1 %114, label %115, label %148 115: ; preds = %105 %116 = load i64, ptr %15, align 8 %117 = load i32, ptr %8, align 4 %118 = sub nsw i32 %117, 1 %119 = mul nsw i32 %118, 45 %120 = load i32, ptr %8, align 4 %121 = sub nsw i32 %120, 2 %122 = call i32 @pow(i32 noundef 10, i32 noundef %121) %123 = mul nsw i32 %119, %122 %124 = load i32, ptr %10, align 4 %125 = load i32, ptr %9, align 4 %126 = sub nsw i32 %124, %125 %127 = add nsw i32 %126, 1 %128 = mul nsw i32 %123, %127 %129 = sext i32 %128 to i64 %130 = add nsw i64 %116, %129 %131 = load i32, ptr %8, align 4 %132 = sub nsw i32 %131, 1 %133 = call i32 @pow(i32 noundef 10, i32 noundef %132) %134 = load i32, ptr %10, align 4 %135 = load i32, ptr %10, align 4 %136 = add nsw i32 1, %135 %137 = mul nsw i32 %134, %136 %138 = load i32, ptr %9, align 4 %139 = load i32, ptr %9, align 4 %140 = sub nsw i32 1, %139 %141 = mul nsw i32 %138, %140 %142 = add nsw i32 %137, %141 %143 = mul nsw i32 %133, %142 %144 = sdiv i32 %143, 2 %145 = sext i32 %144 to i64 %146 = add nsw i64 %130, %145 store i64 %146, ptr %15, align 8 %147 = load i64, ptr %15, align 8 store i64 %147, ptr %3, align 8 br label %240 148: ; preds = %105 %149 = load i32, ptr %9, align 4 %150 = load i32, ptr %10, align 4 %151 = icmp eq i32 %149, %150 br i1 %151, label %152, label %180 152: ; preds = %148 %153 = load i64, ptr %15, align 8 %154 = load i64, ptr %4, align 8 %155 = load i32, ptr %9, align 4 %156 = load i32, ptr %8, align 4 %157 = sub nsw i32 %156, 1 %158 = call i32 @pow(i32 noundef 10, i32 noundef %157) %159 = mul nsw i32 %155, %158 %160 = sext i32 %159 to i64 %161 = sub nsw i64 %154, %160 %162 = load i64, ptr %5, align 8 %163 = load i32, ptr %10, align 4 %164 = load i32, ptr %8, align 4 %165 = sub nsw i32 %164, 1 %166 = call i32 @pow(i32 noundef 10, i32 noundef %165) %167 = mul nsw i32 %163, %166 %168 = sext i32 %167 to i64 %169 = sub nsw i64 %162, %168 %170 = call i64 @Spsum(i64 noundef %161, i64 noundef %169) %171 = add nsw i64 %153, %170 %172 = load i32, ptr %9, align 4 %173 = sext i32 %172 to i64 %174 = load i64, ptr %5, align 8 %175 = load i64, ptr %4, align 8 %176 = sub nsw i64 %174, %175 %177 = add nsw i64 %176, 1 %178 = mul nsw i64 %173, %177 %179 = add nsw i64 %171, %178 store i64 %179, ptr %15, align 8 br label %211 180: ; preds = %148 %181 = load i32, ptr %9, align 4 %182 = add nsw i32 %181, 1 %183 = load i32, ptr %8, align 4 %184 = sub nsw i32 %183, 1 %185 = call i32 @pow(i32 noundef 10, i32 noundef %184) %186 = mul nsw i32 %182, %185 %187 = sext i32 %186 to i64 store i64 %187, ptr %13, align 8 %188 = load i32, ptr %10, align 4 %189 = add nsw i32 %188, 1 %190 = load i32, ptr %8, align 4 %191 = sub nsw i32 %190, 1 %192 = call i32 @pow(i32 noundef 10, i32 noundef %191) %193 = mul nsw i32 %189, %192 %194 = sub nsw i32 %193, 1 %195 = sext i32 %194 to i64 store i64 %195, ptr %14, align 8 %196 = load i64, ptr %15, align 8 %197 = load i64, ptr %4, align 8 %198 = load i64, ptr %13, align 8 %199 = sub nsw i64 %198, 1 %200 = call i64 @Spsum(i64 noundef %197, i64 noundef %199) %201 = add nsw i64 %196, %200 %202 = load i64, ptr %13, align 8 %203 = load i64, ptr %14, align 8 %204 = call i64 @Spsum(i64 noundef %202, i64 noundef %203) %205 = add nsw i64 %201, %204 %206 = load i64, ptr %5, align 8 %207 = add nsw i64 %206, 1 %208 = load i64, ptr %14, align 8 %209 = call i64 @Spsum(i64 noundef %207, i64 noundef %208) %210 = sub nsw i64 %205, %209 store i64 %210, ptr %15, align 8 br label %211 211: ; preds = %180, %152 br label %212 212: ; preds = %211 br label %238 213: ; preds = %101 %214 = load i32, ptr %6, align 4 %215 = add nsw i32 %214, 1 %216 = load i32, ptr %7, align 4 %217 = icmp eq i32 %215, %216 br i1 %217, label %218, label %231 218: ; preds = %213 %219 = load i64, ptr %4, align 8 %220 = load i32, ptr %6, align 4 %221 = call i32 @pow(i32 noundef 10, i32 noundef %220) %222 = sub nsw i32 %221, 1 %223 = sext i32 %222 to i64 %224 = call i64 @Spsum(i64 noundef %219, i64 noundef %223) %225 = load i32, ptr %6, align 4 %226 = call i32 @pow(i32 noundef 10, i32 noundef %225) %227 = sext i32 %226 to i64 %228 = load i64, ptr %5, align 8 %229 = call i64 @Spsum(i64 noundef %227, i64 noundef %228) %230 = add nsw i64 %224, %229 store i64 %230, ptr %15, align 8 br label %237 231: ; preds = %213 %232 = load i64, ptr %4, align 8 %233 = load i64, ptr %5, align 8 %234 = load i32, ptr %6, align 4 %235 = load i32, ptr %7, align 4 %236 = call i64 @Difsum(i64 noundef %232, i64 noundef %233, i32 noundef %234, i32 noundef %235) store i64 %236, ptr %15, align 8 br label %237 237: ; preds = %231, %218 br label %238 238: ; preds = %237, %212 %239 = load i64, ptr %15, align 8 store i64 %239, ptr %3, align 8 br label %240 240: ; preds = %238, %115, %66, %59, %55 %241 = load i64, ptr %3, align 8 ret i64 %241 } declare i32 @pow(i32 noundef, i32 noundef) #1 declare i64 @Ordsum(i64 noundef, i64 noundef) #1 declare i32 @Check(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @Difsum(i64 noundef, i64 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/tmprkeb6hrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Spsum(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, 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 i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i64 0, ptr %15, align 8 %16 = load i64, ptr %4, align 8 store i64 %16, ptr %12, align 8 %17 = load i64, ptr %12, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %22 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 br label %22 22: ; preds = %19 %23 = load i64, ptr %12, align 8 %24 = sdiv i64 %23, 10 store i64 %24, ptr %12, align 8 %25 = load i64, ptr %12, align 8 %26 = icmp ne i64 %25, 0 br i1 %26, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %2 %28 = load i64, ptr %5, align 8 store i64 %28, ptr %12, align 8 %29 = load i64, ptr %12, align 8 %30 = icmp ne i64 %29, 0 br i1 %30, label %.lr.ph2, label %39 .lr.ph2: ; preds = %27 br label %31 31: ; preds = %.lr.ph2, %34 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %34 34: ; preds = %31 %35 = load i64, ptr %12, align 8 %36 = sdiv i64 %35, 10 store i64 %36, ptr %12, align 8 %37 = load i64, ptr %12, align 8 %38 = icmp ne i64 %37, 0 br i1 %38, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %27 %40 = load i64, ptr %4, align 8 %41 = load i32, ptr %6, align 4 %42 = sub nsw i32 %41, 1 %43 = call i32 @pow(i32 noundef 10, i32 noundef %42) %44 = sext i32 %43 to i64 %45 = sdiv i64 %40, %44 %46 = trunc i64 %45 to i32 store i32 %46, ptr %9, align 4 %47 = load i64, ptr %5, align 8 %48 = load i32, ptr %7, align 4 %49 = sub nsw i32 %48, 1 %50 = call i32 @pow(i32 noundef 10, i32 noundef %49) %51 = sext i32 %50 to i64 %52 = sdiv i64 %47, %51 %53 = trunc i64 %52 to i32 store i32 %53, ptr %10, align 4 %54 = load i64, ptr %4, align 8 %55 = load i64, ptr %5, align 8 %56 = icmp sgt i64 %54, %55 br i1 %56, label %57, label %58 57: ; preds = %39 store i64 0, ptr %3, align 8 br label %242 58: ; preds = %39 %59 = load i32, ptr %7, align 4 %60 = icmp slt i32 %59, 4 br i1 %60, label %61, label %65 61: ; preds = %58 %62 = load i64, ptr %4, align 8 %63 = load i64, ptr %5, align 8 %64 = call i64 @Ordsum(i64 noundef %62, i64 noundef %63) store i64 %64, ptr %3, align 8 br label %242 65: ; preds = %58 %66 = load i64, ptr %4, align 8 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %103 68: ; preds = %65 %69 = load i64, ptr %15, align 8 %70 = load i32, ptr %7, align 4 %71 = sub nsw i32 %70, 1 %72 = mul nsw i32 %71, 45 %73 = load i32, ptr %7, align 4 %74 = sub nsw i32 %73, 2 %75 = call i32 @pow(i32 noundef 10, i32 noundef %74) %76 = mul nsw i32 %72, %75 %77 = load i32, ptr %10, align 4 %78 = mul nsw i32 %76, %77 %79 = sext i32 %78 to i64 %80 = add nsw i64 %69, %79 %81 = load i32, ptr %10, align 4 %82 = load i32, ptr %10, align 4 %83 = sub nsw i32 %82, 1 %84 = mul nsw i32 %81, %83 %85 = load i32, ptr %7, align 4 %86 = sub nsw i32 %85, 1 %87 = call i32 @pow(i32 noundef 10, i32 noundef %86) %88 = mul nsw i32 %84, %87 %89 = sdiv i32 %88, 2 %90 = sext i32 %89 to i64 %91 = add nsw i64 %80, %90 store i64 %91, ptr %15, align 8 %92 = load i64, ptr %15, align 8 %93 = load i32, ptr %10, align 4 %94 = load i32, ptr %7, align 4 %95 = sub nsw i32 %94, 1 %96 = call i32 @pow(i32 noundef 10, i32 noundef %95) %97 = mul nsw i32 %93, %96 %98 = sext i32 %97 to i64 %99 = load i64, ptr %5, align 8 %100 = call i64 @Spsum(i64 noundef %98, i64 noundef %99) %101 = add nsw i64 %92, %100 store i64 %101, ptr %15, align 8 %102 = load i64, ptr %15, align 8 store i64 %102, ptr %3, align 8 br label %242 103: ; preds = %65 %104 = load i32, ptr %6, align 4 %105 = load i32, ptr %7, align 4 %106 = icmp eq i32 %104, %105 br i1 %106, label %107, label %215 107: ; preds = %103 %108 = load i64, ptr %4, align 8 %109 = load i64, ptr %5, align 8 %110 = load i32, ptr %6, align 4 %111 = load i32, ptr %9, align 4 %112 = load i32, ptr %10, align 4 %113 = call i32 @Check(i64 noundef %108, i64 noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %112) store i32 %113, ptr %11, align 4 %114 = load i32, ptr %6, align 4 store i32 %114, ptr %8, align 4 %115 = load i32, ptr %11, align 4 %116 = icmp ne i32 %115, 0 br i1 %116, label %117, label %150 117: ; preds = %107 %118 = load i64, ptr %15, align 8 %119 = load i32, ptr %8, align 4 %120 = sub nsw i32 %119, 1 %121 = mul nsw i32 %120, 45 %122 = load i32, ptr %8, align 4 %123 = sub nsw i32 %122, 2 %124 = call i32 @pow(i32 noundef 10, i32 noundef %123) %125 = mul nsw i32 %121, %124 %126 = load i32, ptr %10, align 4 %127 = load i32, ptr %9, align 4 %128 = sub nsw i32 %126, %127 %129 = add nsw i32 %128, 1 %130 = mul nsw i32 %125, %129 %131 = sext i32 %130 to i64 %132 = add nsw i64 %118, %131 %133 = load i32, ptr %8, align 4 %134 = sub nsw i32 %133, 1 %135 = call i32 @pow(i32 noundef 10, i32 noundef %134) %136 = load i32, ptr %10, align 4 %137 = load i32, ptr %10, align 4 %138 = add nsw i32 1, %137 %139 = mul nsw i32 %136, %138 %140 = load i32, ptr %9, align 4 %141 = load i32, ptr %9, align 4 %142 = sub nsw i32 1, %141 %143 = mul nsw i32 %140, %142 %144 = add nsw i32 %139, %143 %145 = mul nsw i32 %135, %144 %146 = sdiv i32 %145, 2 %147 = sext i32 %146 to i64 %148 = add nsw i64 %132, %147 store i64 %148, ptr %15, align 8 %149 = load i64, ptr %15, align 8 store i64 %149, ptr %3, align 8 br label %242 150: ; preds = %107 %151 = load i32, ptr %9, align 4 %152 = load i32, ptr %10, align 4 %153 = icmp eq i32 %151, %152 br i1 %153, label %154, label %182 154: ; preds = %150 %155 = load i64, ptr %15, align 8 %156 = load i64, ptr %4, align 8 %157 = load i32, ptr %9, align 4 %158 = load i32, ptr %8, align 4 %159 = sub nsw i32 %158, 1 %160 = call i32 @pow(i32 noundef 10, i32 noundef %159) %161 = mul nsw i32 %157, %160 %162 = sext i32 %161 to i64 %163 = sub nsw i64 %156, %162 %164 = load i64, ptr %5, align 8 %165 = load i32, ptr %10, align 4 %166 = load i32, ptr %8, align 4 %167 = sub nsw i32 %166, 1 %168 = call i32 @pow(i32 noundef 10, i32 noundef %167) %169 = mul nsw i32 %165, %168 %170 = sext i32 %169 to i64 %171 = sub nsw i64 %164, %170 %172 = call i64 @Spsum(i64 noundef %163, i64 noundef %171) %173 = add nsw i64 %155, %172 %174 = load i32, ptr %9, align 4 %175 = sext i32 %174 to i64 %176 = load i64, ptr %5, align 8 %177 = load i64, ptr %4, align 8 %178 = sub nsw i64 %176, %177 %179 = add nsw i64 %178, 1 %180 = mul nsw i64 %175, %179 %181 = add nsw i64 %173, %180 store i64 %181, ptr %15, align 8 br label %213 182: ; preds = %150 %183 = load i32, ptr %9, align 4 %184 = add nsw i32 %183, 1 %185 = load i32, ptr %8, align 4 %186 = sub nsw i32 %185, 1 %187 = call i32 @pow(i32 noundef 10, i32 noundef %186) %188 = mul nsw i32 %184, %187 %189 = sext i32 %188 to i64 store i64 %189, ptr %13, align 8 %190 = load i32, ptr %10, align 4 %191 = add nsw i32 %190, 1 %192 = load i32, ptr %8, align 4 %193 = sub nsw i32 %192, 1 %194 = call i32 @pow(i32 noundef 10, i32 noundef %193) %195 = mul nsw i32 %191, %194 %196 = sub nsw i32 %195, 1 %197 = sext i32 %196 to i64 store i64 %197, ptr %14, align 8 %198 = load i64, ptr %15, align 8 %199 = load i64, ptr %4, align 8 %200 = load i64, ptr %13, align 8 %201 = sub nsw i64 %200, 1 %202 = call i64 @Spsum(i64 noundef %199, i64 noundef %201) %203 = add nsw i64 %198, %202 %204 = load i64, ptr %13, align 8 %205 = load i64, ptr %14, align 8 %206 = call i64 @Spsum(i64 noundef %204, i64 noundef %205) %207 = add nsw i64 %203, %206 %208 = load i64, ptr %5, align 8 %209 = add nsw i64 %208, 1 %210 = load i64, ptr %14, align 8 %211 = call i64 @Spsum(i64 noundef %209, i64 noundef %210) %212 = sub nsw i64 %207, %211 store i64 %212, ptr %15, align 8 br label %213 213: ; preds = %182, %154 br label %214 214: ; preds = %213 br label %240 215: ; preds = %103 %216 = load i32, ptr %6, align 4 %217 = add nsw i32 %216, 1 %218 = load i32, ptr %7, align 4 %219 = icmp eq i32 %217, %218 br i1 %219, label %220, label %233 220: ; preds = %215 %221 = load i64, ptr %4, align 8 %222 = load i32, ptr %6, align 4 %223 = call i32 @pow(i32 noundef 10, i32 noundef %222) %224 = sub nsw i32 %223, 1 %225 = sext i32 %224 to i64 %226 = call i64 @Spsum(i64 noundef %221, i64 noundef %225) %227 = load i32, ptr %6, align 4 %228 = call i32 @pow(i32 noundef 10, i32 noundef %227) %229 = sext i32 %228 to i64 %230 = load i64, ptr %5, align 8 %231 = call i64 @Spsum(i64 noundef %229, i64 noundef %230) %232 = add nsw i64 %226, %231 store i64 %232, ptr %15, align 8 br label %239 233: ; preds = %215 %234 = load i64, ptr %4, align 8 %235 = load i64, ptr %5, align 8 %236 = load i32, ptr %6, align 4 %237 = load i32, ptr %7, align 4 %238 = call i64 @Difsum(i64 noundef %234, i64 noundef %235, i32 noundef %236, i32 noundef %237) store i64 %238, ptr %15, align 8 br label %239 239: ; preds = %233, %220 br label %240 240: ; preds = %239, %214 %241 = load i64, ptr %15, align 8 store i64 %241, ptr %3, align 8 br label %242 242: ; preds = %240, %117, %68, %61, %57 %243 = load i64, ptr %3, align 8 ret i64 %243 } declare i32 @pow(i32 noundef, i32 noundef) #1 declare i64 @Ordsum(i64 noundef, i64 noundef) #1 declare i32 @Check(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @Difsum(i64 noundef, i64 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/tmp38vizdoh.c' source_filename = "/tmp/tmp38vizdoh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test1.img\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"test1good.img\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [512 x i8], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %7, ptr %3, align 8 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %21, %0 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 800 br i1 %10, label %11, label %24 11: ; preds = %8 %12 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %13 = load ptr, ptr %2, align 8 %14 = call i32 @fread(ptr noundef %12, i32 noundef 512, i32 noundef 1, ptr noundef %13) %15 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %16 = load ptr, ptr %3, align 8 %17 = call i32 @fwrite(ptr noundef %15, i32 noundef 512, i32 noundef 1, ptr noundef %16) %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr @SEEK_CUR, align 4 %20 = call i32 @fseek(ptr noundef %18, i32 noundef 1, i32 noundef %19) br label %21 21: ; preds = %11 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %8, !llvm.loop !6 24: ; preds = %8 %25 = load ptr, ptr %2, align 8 %26 = call i32 @fclose(ptr noundef %25) %27 = load ptr, ptr %3, align 8 %28 = call i32 @fclose(ptr noundef %27) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp38vizdoh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test1.img\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"test1good.img\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [512 x i8], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %7, ptr %3, align 8 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 800 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %20 %11 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %12 = load ptr, ptr %2, align 8 %13 = call i32 @fread(ptr noundef %11, i32 noundef 512, i32 noundef 1, ptr noundef %12) %14 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %15 = load ptr, ptr %3, align 8 %16 = call i32 @fwrite(ptr noundef %14, i32 noundef 512, i32 noundef 1, ptr noundef %15) %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr @SEEK_CUR, align 4 %19 = call i32 @fseek(ptr noundef %17, i32 noundef 1, i32 noundef %18) br label %20 20: ; preds = %10 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 800 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %0 %26 = load ptr, ptr %2, align 8 %27 = call i32 @fclose(ptr noundef %26) %28 = load ptr, ptr %3, align 8 %29 = call i32 @fclose(ptr noundef %28) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpnmyg_xy9.c' source_filename = "/tmp/tmpnmyg_xy9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"--- No space left ---\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Enter a day, and a reminder: \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\0ADay Reminder\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x [81 x i8]], align 16 %3 = alloca [3 x i8], align 1 %4 = alloca [81 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %9 9: ; preds = %0, %63 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, 50 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %78 14: ; preds = %9 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5) %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %14 br label %78 20: ; preds = %14 %21 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %22 = load i32, ptr %5, align 4 %23 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str.2, i32 noundef %22) %24 = getelementptr inbounds [81 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @read_line(ptr noundef %24, i32 noundef 81) store i32 0, ptr %7, align 4 br label %26 26: ; preds = %40, %20 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %43 30: ; preds = %26 %31 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %33 %35 = getelementptr inbounds [81 x i8], ptr %34, i64 0, i64 0 %36 = call i64 @strcmp(ptr noundef %31, ptr noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %30 br label %43 39: ; preds = %30 br label %40 40: ; preds = %39 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %7, align 4 br label %26, !llvm.loop !6 43: ; preds = %38, %26 %44 = load i32, ptr %6, align 4 store i32 %44, ptr %8, align 4 br label %45 45: ; preds = %60, %43 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %7, align 4 %48 = icmp sgt i32 %46, %47 br i1 %48, label %49, label %63 49: ; preds = %45 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %51 %53 = getelementptr inbounds [81 x i8], ptr %52, i64 0, i64 0 %54 = load i32, ptr %8, align 4 %55 = sub nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %56 %58 = getelementptr inbounds [81 x i8], ptr %57, i64 0, i64 0 %59 = call i32 @strcpy(ptr noundef %53, ptr noundef %58) br label %60 60: ; preds = %49 %61 = load i32, ptr %8, align 4 %62 = sub nsw i32 %61, 1 store i32 %62, ptr %8, align 4 br label %45, !llvm.loop !8 63: ; preds = %45 %64 = load i32, ptr %7, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %65 %67 = getelementptr inbounds [81 x i8], ptr %66, i64 0, i64 0 %68 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %69 = call i32 @strcpy(ptr noundef %67, ptr noundef %68) %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %71 %73 = getelementptr inbounds [81 x i8], ptr %72, i64 0, i64 0 %74 = getelementptr inbounds [81 x i8], ptr %4, i64 0, i64 0 %75 = call i32 @strcat(ptr noundef %73, ptr noundef %74) %76 = load i32, ptr %6, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %6, align 4 br label %9 78: ; preds = %19, %12 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %7, align 4 br label %80 80: ; preds = %90, %78 %81 = load i32, ptr %7, align 4 %82 = load i32, ptr %6, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %84, label %93 84: ; preds = %80 %85 = load i32, ptr %7, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %86 %88 = getelementptr inbounds [81 x i8], ptr %87, i64 0, i64 0 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %88) br label %90 90: ; preds = %84 %91 = load i32, ptr %7, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %7, align 4 br label %80, !llvm.loop !9 93: ; preds = %80 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @read_line(ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnmyg_xy9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"--- No space left ---\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Enter a day, and a reminder: \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\0ADay Reminder\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x [81 x i8]], align 16 %3 = alloca [3 x i8], align 1 %4 = alloca [81 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %9, 50 br i1 %10, label %11, label %.lr.ph3 .lr.ph3: ; preds = %0 br label %13 ._crit_edge4: ; preds = %66 br label %11 11: ; preds = %._crit_edge4, %0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %83 13: ; preds = %.lr.ph3, %66 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %15 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5) %16 = load i32, ptr %5, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %13 br label %83 19: ; preds = %13 %20 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %21 = load i32, ptr %5, align 4 %22 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.2, i32 noundef %21) %23 = getelementptr inbounds [81 x i8], ptr %4, i64 0, i64 0 %24 = call i32 @read_line(ptr noundef %23, i32 noundef 81) store i32 0, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %19 br label %28 28: ; preds = %.lr.ph, %38 %29 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %31 %33 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0 %34 = call i64 @strcmp(ptr noundef %29, ptr noundef %33) %35 = icmp slt i64 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %28 br label %44 37: ; preds = %28 br label %38 38: ; preds = %37 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %28, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %38 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %19 br label %44 44: ; preds = %.loopexit, %36 %45 = load i32, ptr %6, align 4 store i32 %45, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %7, align 4 %48 = icmp sgt i32 %46, %47 br i1 %48, label %.lr.ph1, label %66 .lr.ph1: ; preds = %44 br label %49 49: ; preds = %.lr.ph1, %60 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %51 %53 = getelementptr inbounds [81 x i8], ptr %52, i64 0, i64 0 %54 = load i32, ptr %8, align 4 %55 = sub nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %56 %58 = getelementptr inbounds [81 x i8], ptr %57, i64 0, i64 0 %59 = call i32 @strcpy(ptr noundef %53, ptr noundef %58) br label %60 60: ; preds = %49 %61 = load i32, ptr %8, align 4 %62 = sub nsw i32 %61, 1 store i32 %62, ptr %8, align 4 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr %7, align 4 %65 = icmp sgt i32 %63, %64 br i1 %65, label %49, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %60 br label %66 66: ; preds = %._crit_edge, %44 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %68 %70 = getelementptr inbounds [81 x i8], ptr %69, i64 0, i64 0 %71 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %72 = call i32 @strcpy(ptr noundef %70, ptr noundef %71) %73 = load i32, ptr %7, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %74 %76 = getelementptr inbounds [81 x i8], ptr %75, i64 0, i64 0 %77 = getelementptr inbounds [81 x i8], ptr %4, i64 0, i64 0 %78 = call i32 @strcat(ptr noundef %76, ptr noundef %77) %79 = load i32, ptr %6, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %6, align 4 %81 = load i32, ptr %6, align 4 %82 = icmp eq i32 %81, 50 br i1 %82, label %._crit_edge4, label %13 83: ; preds = %18, %11 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %7, align 4 %85 = load i32, ptr %7, align 4 %86 = load i32, ptr %6, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %.lr.ph6, label %100 .lr.ph6: ; preds = %83 br label %88 88: ; preds = %.lr.ph6, %94 %89 = load i32, ptr %7, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [50 x [81 x i8]], ptr %2, i64 0, i64 %90 %92 = getelementptr inbounds [81 x i8], ptr %91, i64 0, i64 0 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %92) br label %94 94: ; preds = %88 %95 = load i32, ptr %7, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %7, align 4 %97 = load i32, ptr %7, align 4 %98 = load i32, ptr %6, align 4 %99 = icmp slt i32 %97, %98 br i1 %99, label %88, label %._crit_edge7, !llvm.loop !9 ._crit_edge7: ; preds = %94 br label %100 100: ; preds = %._crit_edge7, %83 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @read_line(ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpq4hyb3to.c' source_filename = "/tmp/tmpq4hyb3to.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Usage: %s <pid to be traced>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 ret i32 0 } 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/tmpq4hyb3to.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Usage: %s <pid to be traced>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 ret i32 0 } 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/tmp_2343el3.c' source_filename = "/tmp/tmp_2343el3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minipack_unpack_int32(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 store i64 5, ptr %5, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr i8, ptr %6, i64 1 %8 = load i32, ptr %7, align 4 %9 = call i32 @ntohl(i32 noundef %8) ret i32 %9 } declare i32 @ntohl(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_2343el3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minipack_unpack_int32(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 store i64 5, ptr %5, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr i8, ptr %6, i64 1 %8 = load i32, ptr %7, align 4 %9 = call i32 @ntohl(i32 noundef %8) ret i32 %9 } declare i32 @ntohl(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/tmpvciv_7f_.c' source_filename = "/tmp/tmpvciv_7f_.c" target datalayout = "e-m:e-p270: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/tmpvciv_7f_.c" target datalayout = "e-m:e-p270: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/tmpix_036m_.c' source_filename = "/tmp/tmpix_036m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @count(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %8 = load i32, ptr @BUFSIZ, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %3, align 8 %11 = alloca i8, i64 %9, align 16 store i64 %9, ptr %4, align 8 %12 = load ptr, ptr %2, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %20, label %16 16: ; preds = %1 %17 = load ptr, ptr %2, align 8 %18 = call i32 @perror(ptr noundef %17) %19 = call i32 @exit(i32 noundef 1) #4 unreachable 20: ; preds = %1 store i32 0, ptr %6, align 4 br label %21 21: ; preds = %26, %20 %22 = trunc i64 %9 to i32 %23 = load ptr, ptr %5, align 8 %24 = call i64 @fgets(ptr noundef %11, i32 noundef %22, ptr noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %34 26: ; preds = %21 %27 = call i32 @atoi(ptr noundef %11) store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = call i64 @count_and_add(i32 noundef %28) %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = add nsw i64 %31, %29 %33 = trunc i64 %32 to i32 store i32 %33, ptr %6, align 4 br label %21, !llvm.loop !6 34: ; preds = %21 %35 = load ptr, ptr %5, align 8 %36 = call i32 @fclose(ptr noundef %35) %37 = load i32, ptr %6, align 4 %38 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %38) ret i32 %37 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i64 @count_and_add(i32 noundef) #2 declare i32 @fclose(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpix_036m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @count(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %8 = load i32, ptr @BUFSIZ, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %3, align 8 %11 = alloca i8, i64 %9, align 16 store i64 %9, ptr %4, align 8 %12 = load ptr, ptr %2, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %20, label %16 16: ; preds = %1 %17 = load ptr, ptr %2, align 8 %18 = call i32 @perror(ptr noundef %17) %19 = call i32 @exit(i32 noundef 1) #4 unreachable 20: ; preds = %1 store i32 0, ptr %6, align 4 %21 = trunc i64 %9 to i32 %22 = load ptr, ptr %5, align 8 %23 = call i64 @fgets(ptr noundef %11, i32 noundef %21, ptr noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %.lr.ph, label %36 .lr.ph: ; preds = %20 br label %25 25: ; preds = %.lr.ph, %25 %26 = call i32 @atoi(ptr noundef %11) store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = call i64 @count_and_add(i32 noundef %27) %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = add nsw i64 %30, %28 %32 = trunc i64 %31 to i32 store i32 %32, ptr %6, align 4 %33 = load ptr, ptr %5, align 8 %34 = call i64 @fgets(ptr noundef %11, i32 noundef %21, ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %36 36: ; preds = %._crit_edge, %20 %37 = load ptr, ptr %5, align 8 %38 = call i32 @fclose(ptr noundef %37) %39 = load i32, ptr %6, align 4 %40 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %40) ret i32 %39 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i64 @count_and_add(i32 noundef) #2 declare i32 @fclose(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpbkp1f82x.c' source_filename = "/tmp/tmpbkp1f82x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/stat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"Cannot open %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"cpu \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"cpu\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_proc_cpu_nr() #0 { %1 = alloca ptr, align 8 %2 = alloca [16 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 -1, ptr %4, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %1, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %13 7: ; preds = %0 %8 = load i32, ptr @stderr, align 4 %9 = load i32, ptr @errno, align 4 %10 = call ptr @strerror(i32 noundef %9) %11 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef @.str, ptr noundef %10) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %0 br label %14 14: ; preds = %37, %13 %15 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %16 = load ptr, ptr %1, align 8 %17 = call ptr @fgets(ptr noundef %15, i32 noundef 16, ptr noundef %16) %18 = icmp ne ptr %17, null br i1 %18, label %19, label %38 19: ; preds = %14 %20 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %21 = call i64 @strncmp(ptr noundef %20, ptr noundef @.str.3, i32 noundef 4) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %37 23: ; preds = %19 %24 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %25 = call i64 @strncmp(ptr noundef %24, ptr noundef @.str.4, i32 noundef 3) %26 = icmp ne i64 %25, 0 br i1 %26, label %37, label %27 27: ; preds = %23 %28 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %29 = getelementptr inbounds i8, ptr %28, i64 3 %30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str.5, ptr noundef %3) %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp sgt i32 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %27 %35 = load i32, ptr %3, align 4 store i32 %35, ptr %4, align 4 br label %36 36: ; preds = %34, %27 br label %37 37: ; preds = %36, %23, %19 br label %14, !llvm.loop !6 38: ; preds = %14 %39 = load ptr, ptr %1, align 8 %40 = call i32 @fclose(ptr noundef %39) %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 4 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbkp1f82x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/stat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"Cannot open %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"cpu \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"cpu\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_proc_cpu_nr() #0 { %1 = alloca ptr, align 8 %2 = alloca [16 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 -1, ptr %4, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %1, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %13 7: ; preds = %0 %8 = load i32, ptr @stderr, align 4 %9 = load i32, ptr @errno, align 4 %10 = call ptr @strerror(i32 noundef %9) %11 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef @.str, ptr noundef %10) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %0 %14 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %15 = load ptr, ptr %1, align 8 %16 = call ptr @fgets(ptr noundef %14, i32 noundef 16, ptr noundef %15) %17 = icmp ne ptr %16, null br i1 %17, label %.lr.ph, label %40 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %36 %19 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %20 = call i64 @strncmp(ptr noundef %19, ptr noundef @.str.3, i32 noundef 4) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %36 22: ; preds = %18 %23 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %24 = call i64 @strncmp(ptr noundef %23, ptr noundef @.str.4, i32 noundef 3) %25 = icmp ne i64 %24, 0 br i1 %25, label %36, label %26 26: ; preds = %22 %27 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 %28 = getelementptr inbounds i8, ptr %27, i64 3 %29 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str.5, ptr noundef %3) %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %35 33: ; preds = %26 %34 = load i32, ptr %3, align 4 store i32 %34, ptr %4, align 4 br label %35 35: ; preds = %33, %26 br label %36 36: ; preds = %35, %22, %18 %37 = load ptr, ptr %1, align 8 %38 = call ptr @fgets(ptr noundef %14, i32 noundef 16, ptr noundef %37) %39 = icmp ne ptr %38, null br i1 %39, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %40 40: ; preds = %._crit_edge, %13 %41 = load ptr, ptr %1, align 8 %42 = call i32 @fclose(ptr noundef %41) %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %4, align 4 ret i32 %45 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpq2hvetau.c' source_filename = "/tmp/tmpq2hvetau.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @EWOULDBLOCK = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"writen_nonblock select error:%m\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @writen_nonblock(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load i64, ptr %7, align 8 %12 = trunc i64 %11 to i32 store i32 %12, ptr %8, align 4 br label %13 13: ; preds = %59, %47, %27, %3 %14 = load i32, ptr %8, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %67 16: ; preds = %13 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %8, align 4 %20 = call i32 @send(i32 noundef %17, ptr noundef %18, i32 noundef %19, i32 noundef 0) store i32 %20, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %49 23: ; preds = %16 %24 = load i64, ptr @errno, align 8 %25 = load i64, ptr @EINTR, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %28 27: ; preds = %23 br label %13, !llvm.loop !6 28: ; preds = %23 %29 = load i64, ptr @errno, align 8 %30 = load i64, ptr @EAGAIN, align 8 %31 = icmp eq i64 %29, %30 br i1 %31, label %36, label %32 32: ; preds = %28 %33 = load i64, ptr @errno, align 8 %34 = load i64, ptr @EWOULDBLOCK, align 8 %35 = icmp eq i64 %33, %34 br i1 %35, label %36, label %48 36: ; preds = %32, %28 %37 = call i32 @FD_ZERO(ptr noundef %10) %38 = load i32, ptr %5, align 4 %39 = call i32 @FD_SET(i32 noundef %38, ptr noundef %10) %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 %42 = call i64 @select(i32 noundef %41, ptr noundef null, ptr noundef %10, ptr noundef null, ptr noundef null) %43 = icmp slt i64 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %36 %45 = load i32, ptr @stderr, align 4 %46 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %70 47: ; preds = %36 br label %13, !llvm.loop !6 48: ; preds = %32 store i32 -1, ptr %4, align 4 br label %70 49: ; preds = %16 %50 = load i32, ptr %9, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %58 52: ; preds = %49 %53 = load i64, ptr %7, align 8 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = sub i64 %53, %55 %57 = trunc i64 %56 to i32 store i32 %57, ptr %4, align 4 br label %70 58: ; preds = %49 br label %59 59: ; preds = %58 %60 = load i32, ptr %9, align 4 %61 = load i32, ptr %8, align 4 %62 = sub nsw i32 %61, %60 store i32 %62, ptr %8, align 4 %63 = load i32, ptr %9, align 4 %64 = load ptr, ptr %6, align 8 %65 = sext i32 %63 to i64 %66 = getelementptr inbounds i8, ptr %64, i64 %65 store ptr %66, ptr %6, align 8 br label %13, !llvm.loop !6 67: ; preds = %13 %68 = load i64, ptr %7, align 8 %69 = trunc i64 %68 to i32 store i32 %69, ptr %4, align 4 br label %70 70: ; preds = %67, %52, %48, %44 %71 = load i32, ptr %4, align 4 ret i32 %71 } declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq2hvetau.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @EWOULDBLOCK = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"writen_nonblock select error:%m\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @writen_nonblock(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load i64, ptr %7, align 8 %12 = trunc i64 %11 to i32 store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %.lr.ph, label %68 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %.backedge %16 = load i32, ptr %5, align 4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %8, align 4 %19 = call i32 @send(i32 noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef 0) store i32 %19, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %50 22: ; preds = %15 %23 = load i64, ptr @errno, align 8 %24 = load i64, ptr @EINTR, align 8 %25 = icmp eq i64 %23, %24 br i1 %25, label %26, label %29 26: ; preds = %22 br label %.backedge .backedge: ; preds = %26, %48, %60 %27 = load i32, ptr %8, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %15, label %._crit_edge, !llvm.loop !6 29: ; preds = %22 %30 = load i64, ptr @errno, align 8 %31 = load i64, ptr @EAGAIN, align 8 %32 = icmp eq i64 %30, %31 br i1 %32, label %37, label %33 33: ; preds = %29 %34 = load i64, ptr @errno, align 8 %35 = load i64, ptr @EWOULDBLOCK, align 8 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %49 37: ; preds = %33, %29 %38 = call i32 @FD_ZERO(ptr noundef %10) %39 = load i32, ptr %5, align 4 %40 = call i32 @FD_SET(i32 noundef %39, ptr noundef %10) %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 %43 = call i64 @select(i32 noundef %42, ptr noundef null, ptr noundef %10, ptr noundef null, ptr noundef null) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %37 %46 = load i32, ptr @stderr, align 4 %47 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %71 48: ; preds = %37 br label %.backedge 49: ; preds = %33 store i32 -1, ptr %4, align 4 br label %71 50: ; preds = %15 %51 = load i32, ptr %9, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %59 53: ; preds = %50 %54 = load i64, ptr %7, align 8 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = sub i64 %54, %56 %58 = trunc i64 %57 to i32 store i32 %58, ptr %4, align 4 br label %71 59: ; preds = %50 br label %60 60: ; preds = %59 %61 = load i32, ptr %9, align 4 %62 = load i32, ptr %8, align 4 %63 = sub nsw i32 %62, %61 store i32 %63, ptr %8, align 4 %64 = load i32, ptr %9, align 4 %65 = load ptr, ptr %6, align 8 %66 = sext i32 %64 to i64 %67 = getelementptr inbounds i8, ptr %65, i64 %66 store ptr %67, ptr %6, align 8 br label %.backedge ._crit_edge: ; preds = %.backedge br label %68 68: ; preds = %._crit_edge, %3 %69 = load i64, ptr %7, align 8 %70 = trunc i64 %69 to i32 store i32 %70, ptr %4, align 4 br label %71 71: ; preds = %68, %53, %49, %45 %72 = load i32, ptr %4, align 4 ret i32 %72 } declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbq9b5dxx.c' source_filename = "/tmp/tmpbq9b5dxx.c" target datalayout = "e-m:e-p270: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/tmpbq9b5dxx.c" target datalayout = "e-m:e-p270: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/tmpzfrl3by2.c' source_filename = "/tmp/tmpzfrl3by2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @count_up(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %12, %1 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %9, label %15 9: ; preds = %5 %10 = load i32, ptr %4, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10) br label %12 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 br label %5, !llvm.loop !6 15: ; preds = %5 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %17 = load i32, ptr %2, align 4 ret i32 %17 } 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/tmpzfrl3by2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @count_up(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %11 %9 = load i32, ptr %4, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) br label %11 11: ; preds = %8 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %17 17: ; preds = %._crit_edge, %1 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %19 = load i32, ptr %2, align 4 ret i32 %19 } 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/tmpg6jkcgqz.c' source_filename = "/tmp/tmpg6jkcgqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg6jkcgqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoes9dwmo.c' source_filename = "/tmp/tmpoes9dwmo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @radix_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [10 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false) store i32 0, ptr %8, align 4 br label %12 12: ; preds = %29, %3 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %32 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr %6, align 4 %23 = sdiv i32 %21, %22 %24 = srem i32 %23, 10 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %26, align 4 br label %29 29: ; preds = %16 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 br label %12, !llvm.loop !6 32: ; preds = %12 store i32 1, ptr %9, align 4 br label %33 33: ; preds = %47, %32 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %34, 10 br i1 %35, label %36, label %50 36: ; preds = %33 %37 = load i32, ptr %9, align 4 %38 = sub nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %9, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = add nsw i32 %45, %41 store i32 %46, ptr %44, align 4 br label %47 47: ; preds = %36 %48 = load i32, ptr %9, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %9, align 4 br label %33, !llvm.loop !8 50: ; preds = %33 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = mul i64 4, %52 %54 = trunc i64 %53 to i32 %55 = call ptr @malloc(i32 noundef %54) store ptr %55, ptr %10, align 8 %56 = load i32, ptr %5, align 4 %57 = sub nsw i32 %56, 1 store i32 %57, ptr %11, align 4 br label %58 58: ; preds = %82, %50 %59 = load i32, ptr %11, align 4 %60 = icmp sge i32 %59, 0 br i1 %60, label %61, label %85 61: ; preds = %58 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 %66 = load i32, ptr %65, align 4 %67 = load ptr, ptr %10, align 8 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %11, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 %72 = load i32, ptr %71, align 4 %73 = load i32, ptr %6, align 4 %74 = sdiv i32 %72, %73 %75 = srem i32 %74, 10 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %76 %78 = load i32, ptr %77, align 4 %79 = add nsw i32 %78, -1 store i32 %79, ptr %77, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %67, i64 %80 store i32 %66, ptr %81, align 4 br label %82 82: ; preds = %61 %83 = load i32, ptr %11, align 4 %84 = add nsw i32 %83, -1 store i32 %84, ptr %11, align 4 br label %58, !llvm.loop !9 85: ; preds = %58 %86 = load ptr, ptr %10, align 8 %87 = load ptr, ptr %4, align 8 %88 = load i32, ptr %5, align 4 %89 = call i32 @copy(ptr noundef %86, ptr noundef %87, i32 noundef %88) %90 = load ptr, ptr %10, align 8 %91 = call i32 @free(ptr noundef %90) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @malloc(i32 noundef) #2 declare i32 @copy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoes9dwmo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @radix_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [10 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false) store i32 0, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %34 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %28 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %8, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = load i32, ptr %6, align 4 %22 = sdiv i32 %20, %21 %23 = srem i32 %22, 10 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %25, align 4 br label %28 28: ; preds = %15 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %3 store i32 1, ptr %9, align 4 %35 = load i32, ptr %9, align 4 %36 = icmp slt i32 %35, 10 br i1 %36, label %.lr.ph2, label %53 .lr.ph2: ; preds = %34 br label %37 37: ; preds = %.lr.ph2, %48 %38 = load i32, ptr %9, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %9, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = add nsw i32 %46, %42 store i32 %47, ptr %45, align 4 br label %48 48: ; preds = %37 %49 = load i32, ptr %9, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %9, align 4 %51 = load i32, ptr %9, align 4 %52 = icmp slt i32 %51, 10 br i1 %52, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %53 53: ; preds = %._crit_edge3, %34 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = mul i64 4, %55 %57 = trunc i64 %56 to i32 %58 = call ptr @malloc(i32 noundef %57) store ptr %58, ptr %10, align 8 %59 = load i32, ptr %5, align 4 %60 = sub nsw i32 %59, 1 store i32 %60, ptr %11, align 4 %61 = load i32, ptr %11, align 4 %62 = icmp sge i32 %61, 0 br i1 %62, label %.lr.ph5, label %89 .lr.ph5: ; preds = %53 br label %63 63: ; preds = %.lr.ph5, %84 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = load ptr, ptr %10, align 8 %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr %11, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 %74 = load i32, ptr %73, align 4 %75 = load i32, ptr %6, align 4 %76 = sdiv i32 %74, %75 %77 = srem i32 %76, 10 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %78 %80 = load i32, ptr %79, align 4 %81 = add nsw i32 %80, -1 store i32 %81, ptr %79, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %69, i64 %82 store i32 %68, ptr %83, align 4 br label %84 84: ; preds = %63 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, -1 store i32 %86, ptr %11, align 4 %87 = load i32, ptr %11, align 4 %88 = icmp sge i32 %87, 0 br i1 %88, label %63, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %84 br label %89 89: ; preds = %._crit_edge6, %53 %90 = load ptr, ptr %10, align 8 %91 = load ptr, ptr %4, align 8 %92 = load i32, ptr %5, align 4 %93 = call i32 @copy(ptr noundef %90, ptr noundef %91, i32 noundef %92) %94 = load ptr, ptr %10, align 8 %95 = call i32 @free(ptr noundef %94) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @malloc(i32 noundef) #2 declare i32 @copy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpiinoljb8.c' source_filename = "/tmp/tmpiinoljb8.c" target datalayout = "e-m:e-p270: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 { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @tkh_timeval_from_double(double noundef %0) #0 { %2 = alloca %struct.timeval, align 4 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = call i64 @floor(double noundef %4) %6 = trunc i64 %5 to i32 %7 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 store i32 %6, ptr %7, align 4 %8 = load double, ptr %3, align 8 %9 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = sitofp i32 %10 to double %12 = fsub double %8, %11 %13 = fmul double %12, 1.000000e+06 %14 = call i32 @lrint(double noundef %13) %15 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 store i32 %14, ptr %15, align 4 %16 = call i32 @tkh_timeval_normalize(ptr noundef %2) %17 = load i64, ptr %2, align 4 ret i64 %17 } declare i64 @floor(double noundef) #1 declare i32 @lrint(double noundef) #1 declare i32 @tkh_timeval_normalize(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiinoljb8.c" target datalayout = "e-m:e-p270: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 { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @tkh_timeval_from_double(double noundef %0) #0 { %2 = alloca %struct.timeval, align 4 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = call i64 @floor(double noundef %4) %6 = trunc i64 %5 to i32 %7 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 store i32 %6, ptr %7, align 4 %8 = load double, ptr %3, align 8 %9 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = sitofp i32 %10 to double %12 = fsub double %8, %11 %13 = fmul double %12, 1.000000e+06 %14 = call i32 @lrint(double noundef %13) %15 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 store i32 %14, ptr %15, align 4 %16 = call i32 @tkh_timeval_normalize(ptr noundef %2) %17 = load i64, ptr %2, align 4 ret i64 %17 } declare i64 @floor(double noundef) #1 declare i32 @lrint(double noundef) #1 declare i32 @tkh_timeval_normalize(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcbpj8qe8.c' source_filename = "/tmp/tmpcbpj8qe8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xd9\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xd9() #0 { %1 = call i64 @isbdigit(i32 noundef 217) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1090, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpcbpj8qe8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xd9\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xd9() #0 { %1 = call i64 @isbdigit(i32 noundef 217) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1090, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmppqxn7n9s.c' source_filename = "/tmp/tmppqxn7n9s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FRGL_AVI_UpdateSize(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ftell(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @fseek(ptr noundef %8, i32 noundef %9, i32 noundef 0) %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %12, %13 %15 = sub nsw i32 %14, 4 %16 = call i32 @FRGL_PNG_WriteInt32LE(ptr noundef %11, i32 noundef %15) %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = call i32 @fseek(ptr noundef %17, i32 noundef %18, i32 noundef 0) ret void } declare i32 @ftell(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @FRGL_PNG_WriteInt32LE(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/tmppqxn7n9s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FRGL_AVI_UpdateSize(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ftell(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @fseek(ptr noundef %8, i32 noundef %9, i32 noundef 0) %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %12, %13 %15 = sub nsw i32 %14, 4 %16 = call i32 @FRGL_PNG_WriteInt32LE(ptr noundef %11, i32 noundef %15) %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = call i32 @fseek(ptr noundef %17, i32 noundef %18, i32 noundef 0) ret void } declare i32 @ftell(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @FRGL_PNG_WriteInt32LE(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/tmpaprmkb5o.c' source_filename = "/tmp/tmpaprmkb5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_length_dobldobl_solution_string(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @_ada_use_c2phc(i32 noundef 370, ptr noundef %3, ptr noundef %7, ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaprmkb5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_length_dobldobl_solution_string(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @_ada_use_c2phc(i32 noundef 370, ptr noundef %3, ptr noundef %7, ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptl8wru_x.c' source_filename = "/tmp/tmptl8wru_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" @uart_send_u8.hex_assic_table = internal global [17 x i8] c"0123456789ABCDEF\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uart_send_u8(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = ashr i32 %5, 4 %7 = trunc i32 %6 to i8 store i8 %7, ptr %3, align 1 %8 = load i8, ptr %3, align 1 %9 = zext i8 %8 to i32 %10 = and i32 %9, 15 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [17 x i8], ptr @uart_send_u8.hex_assic_table, i64 0, i64 %11 %13 = load i8, ptr %12, align 1 %14 = call i32 @uart_send_byte(i8 noundef signext %13) %15 = load i8, ptr %2, align 1 %16 = zext i8 %15 to i32 %17 = and i32 %16, 15 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [17 x i8], ptr @uart_send_u8.hex_assic_table, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call i32 @uart_send_byte(i8 noundef signext %20) ret void } declare i32 @uart_send_byte(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/tmptl8wru_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" @uart_send_u8.hex_assic_table = internal global [17 x i8] c"0123456789ABCDEF\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uart_send_u8(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = ashr i32 %5, 4 %7 = trunc i32 %6 to i8 store i8 %7, ptr %3, align 1 %8 = load i8, ptr %3, align 1 %9 = zext i8 %8 to i32 %10 = and i32 %9, 15 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [17 x i8], ptr @uart_send_u8.hex_assic_table, i64 0, i64 %11 %13 = load i8, ptr %12, align 1 %14 = call i32 @uart_send_byte(i8 noundef signext %13) %15 = load i8, ptr %2, align 1 %16 = zext i8 %15 to i32 %17 = and i32 %16, 15 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [17 x i8], ptr @uart_send_u8.hex_assic_table, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call i32 @uart_send_byte(i8 noundef signext %20) ret void } declare i32 @uart_send_byte(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/tmp2zx1obqg.c' source_filename = "/tmp/tmp2zx1obqg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @morus_tag_generation(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [32 x i32], align 16 %11 = alloca [2 x i32], align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %12 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %13 = load ptr, ptr %8, align 8 %14 = getelementptr inbounds [2 x i32], ptr %13, i64 3 %15 = getelementptr inbounds [2 x i32], ptr %14, i64 0, i64 0 %16 = load i32, ptr %15, align 4 %17 = call i32 @_mm_store_si128(ptr noundef %12, i32 noundef %16) %18 = load i32, ptr %6, align 4 %19 = shl i32 %18, 3 %20 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %21 = getelementptr inbounds i32, ptr %20, i64 0 %22 = load i32, ptr %21, align 16 %23 = xor i32 %22, %19 store i32 %23, ptr %21, align 16 %24 = load i32, ptr %5, align 4 %25 = shl i32 %24, 3 %26 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %27 = getelementptr inbounds i32, ptr %26, i64 1 %28 = load i32, ptr %27, align 4 %29 = xor i32 %28, %25 store i32 %29, ptr %27, align 4 %30 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %31 = call i32 @_mm_load_si128(ptr noundef %30) %32 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 store i32 %31, ptr %32, align 4 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds [2 x i32], ptr %33, i64 3 %35 = getelementptr inbounds [2 x i32], ptr %34, i64 0, i64 1 %36 = load i32, ptr %35, align 4 %37 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1 store i32 %36, ptr %37, align 4 %38 = load ptr, ptr %8, align 8 %39 = getelementptr inbounds [2 x i32], ptr %38, i64 4 %40 = getelementptr inbounds [2 x i32], ptr %39, i64 0, i64 0 %41 = load i32, ptr %40, align 4 %42 = load ptr, ptr %8, align 8 %43 = getelementptr inbounds [2 x i32], ptr %42, i64 0 %44 = getelementptr inbounds [2 x i32], ptr %43, i64 0, i64 0 %45 = load i32, ptr %44, align 4 %46 = call i32 @_mm_xor_si128(i32 noundef %41, i32 noundef %45) %47 = load ptr, ptr %8, align 8 %48 = getelementptr inbounds [2 x i32], ptr %47, i64 4 %49 = getelementptr inbounds [2 x i32], ptr %48, i64 0, i64 0 store i32 %46, ptr %49, align 4 %50 = load ptr, ptr %8, align 8 %51 = getelementptr inbounds [2 x i32], ptr %50, i64 4 %52 = getelementptr inbounds [2 x i32], ptr %51, i64 0, i64 1 %53 = load i32, ptr %52, align 4 %54 = load ptr, ptr %8, align 8 %55 = getelementptr inbounds [2 x i32], ptr %54, i64 0 %56 = getelementptr inbounds [2 x i32], ptr %55, i64 0, i64 1 %57 = load i32, ptr %56, align 4 %58 = call i32 @_mm_xor_si128(i32 noundef %53, i32 noundef %57) %59 = load ptr, ptr %8, align 8 %60 = getelementptr inbounds [2 x i32], ptr %59, i64 4 %61 = getelementptr inbounds [2 x i32], ptr %60, i64 0, i64 1 store i32 %58, ptr %61, align 4 store i32 0, ptr %9, align 4 br label %62 62: ; preds = %69, %4 %63 = load i32, ptr %9, align 4 %64 = icmp slt i32 %63, 8 br i1 %64, label %65, label %72 65: ; preds = %62 %66 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 %67 = load ptr, ptr %8, align 8 %68 = call i32 @morus_stateupdate(ptr noundef %66, ptr noundef %67) br label %69 69: ; preds = %65 %70 = load i32, ptr %9, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %9, align 4 br label %62, !llvm.loop !6 72: ; preds = %62 store i32 2, ptr %9, align 4 br label %73 73: ; preds = %105, %72 %74 = load i32, ptr %9, align 4 %75 = icmp slt i32 %74, 5 br i1 %75, label %76, label %108 76: ; preds = %73 %77 = load ptr, ptr %8, align 8 %78 = getelementptr inbounds [2 x i32], ptr %77, i64 1 %79 = getelementptr inbounds [2 x i32], ptr %78, i64 0, i64 0 %80 = load i32, ptr %79, align 4 %81 = load ptr, ptr %8, align 8 %82 = load i32, ptr %9, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [2 x i32], ptr %81, i64 %83 %85 = getelementptr inbounds [2 x i32], ptr %84, i64 0, i64 0 %86 = load i32, ptr %85, align 4 %87 = call i32 @_mm_xor_si128(i32 noundef %80, i32 noundef %86) %88 = load ptr, ptr %8, align 8 %89 = getelementptr inbounds [2 x i32], ptr %88, i64 1 %90 = getelementptr inbounds [2 x i32], ptr %89, i64 0, i64 0 store i32 %87, ptr %90, align 4 %91 = load ptr, ptr %8, align 8 %92 = getelementptr inbounds [2 x i32], ptr %91, i64 1 %93 = getelementptr inbounds [2 x i32], ptr %92, i64 0, i64 1 %94 = load i32, ptr %93, align 4 %95 = load ptr, ptr %8, align 8 %96 = load i32, ptr %9, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [2 x i32], ptr %95, i64 %97 %99 = getelementptr inbounds [2 x i32], ptr %98, i64 0, i64 1 %100 = load i32, ptr %99, align 4 %101 = call i32 @_mm_xor_si128(i32 noundef %94, i32 noundef %100) %102 = load ptr, ptr %8, align 8 %103 = getelementptr inbounds [2 x i32], ptr %102, i64 1 %104 = getelementptr inbounds [2 x i32], ptr %103, i64 0, i64 1 store i32 %101, ptr %104, align 4 br label %105 105: ; preds = %76 %106 = load i32, ptr %9, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %9, align 4 br label %73, !llvm.loop !8 108: ; preds = %73 %109 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %110 = load ptr, ptr %8, align 8 %111 = getelementptr inbounds [2 x i32], ptr %110, i64 1 %112 = getelementptr inbounds [2 x i32], ptr %111, i64 0, i64 0 %113 = load i32, ptr %112, align 4 %114 = call i32 @_mm_store_si128(ptr noundef %109, i32 noundef %113) %115 = load ptr, ptr %7, align 8 %116 = load i32, ptr %5, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %115, i64 %117 %119 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %120 = call i32 @memcpy(ptr noundef %118, ptr noundef %119, i32 noundef 16) ret void } declare i32 @_mm_store_si128(ptr noundef, i32 noundef) #1 declare i32 @_mm_load_si128(ptr noundef) #1 declare i32 @_mm_xor_si128(i32 noundef, i32 noundef) #1 declare i32 @morus_stateupdate(ptr noundef, 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/tmp2zx1obqg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @morus_tag_generation(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [32 x i32], align 16 %11 = alloca [2 x i32], align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %12 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %13 = load ptr, ptr %8, align 8 %14 = getelementptr inbounds [2 x i32], ptr %13, i64 3 %15 = getelementptr inbounds [2 x i32], ptr %14, i64 0, i64 0 %16 = load i32, ptr %15, align 4 %17 = call i32 @_mm_store_si128(ptr noundef %12, i32 noundef %16) %18 = load i32, ptr %6, align 4 %19 = shl i32 %18, 3 %20 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %21 = getelementptr inbounds i32, ptr %20, i64 0 %22 = load i32, ptr %21, align 16 %23 = xor i32 %22, %19 store i32 %23, ptr %21, align 16 %24 = load i32, ptr %5, align 4 %25 = shl i32 %24, 3 %26 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %27 = getelementptr inbounds i32, ptr %26, i64 1 %28 = load i32, ptr %27, align 4 %29 = xor i32 %28, %25 store i32 %29, ptr %27, align 4 %30 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %31 = call i32 @_mm_load_si128(ptr noundef %30) %32 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 store i32 %31, ptr %32, align 4 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds [2 x i32], ptr %33, i64 3 %35 = getelementptr inbounds [2 x i32], ptr %34, i64 0, i64 1 %36 = load i32, ptr %35, align 4 %37 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1 store i32 %36, ptr %37, align 4 %38 = load ptr, ptr %8, align 8 %39 = getelementptr inbounds [2 x i32], ptr %38, i64 4 %40 = getelementptr inbounds [2 x i32], ptr %39, i64 0, i64 0 %41 = load i32, ptr %40, align 4 %42 = load ptr, ptr %8, align 8 %43 = getelementptr inbounds [2 x i32], ptr %42, i64 0 %44 = getelementptr inbounds [2 x i32], ptr %43, i64 0, i64 0 %45 = load i32, ptr %44, align 4 %46 = call i32 @_mm_xor_si128(i32 noundef %41, i32 noundef %45) %47 = load ptr, ptr %8, align 8 %48 = getelementptr inbounds [2 x i32], ptr %47, i64 4 %49 = getelementptr inbounds [2 x i32], ptr %48, i64 0, i64 0 store i32 %46, ptr %49, align 4 %50 = load ptr, ptr %8, align 8 %51 = getelementptr inbounds [2 x i32], ptr %50, i64 4 %52 = getelementptr inbounds [2 x i32], ptr %51, i64 0, i64 1 %53 = load i32, ptr %52, align 4 %54 = load ptr, ptr %8, align 8 %55 = getelementptr inbounds [2 x i32], ptr %54, i64 0 %56 = getelementptr inbounds [2 x i32], ptr %55, i64 0, i64 1 %57 = load i32, ptr %56, align 4 %58 = call i32 @_mm_xor_si128(i32 noundef %53, i32 noundef %57) %59 = load ptr, ptr %8, align 8 %60 = getelementptr inbounds [2 x i32], ptr %59, i64 4 %61 = getelementptr inbounds [2 x i32], ptr %60, i64 0, i64 1 store i32 %58, ptr %61, align 4 store i32 0, ptr %9, align 4 %62 = load i32, ptr %9, align 4 %63 = icmp slt i32 %62, 8 br i1 %63, label %.lr.ph, label %73 .lr.ph: ; preds = %4 br label %64 64: ; preds = %.lr.ph, %68 %65 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 %66 = load ptr, ptr %8, align 8 %67 = call i32 @morus_stateupdate(ptr noundef %65, ptr noundef %66) br label %68 68: ; preds = %64 %69 = load i32, ptr %9, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %9, align 4 %71 = load i32, ptr %9, align 4 %72 = icmp slt i32 %71, 8 br i1 %72, label %64, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %68 br label %73 73: ; preds = %._crit_edge, %4 store i32 2, ptr %9, align 4 %74 = load i32, ptr %9, align 4 %75 = icmp slt i32 %74, 5 br i1 %75, label %.lr.ph2, label %110 .lr.ph2: ; preds = %73 br label %76 76: ; preds = %.lr.ph2, %105 %77 = load ptr, ptr %8, align 8 %78 = getelementptr inbounds [2 x i32], ptr %77, i64 1 %79 = getelementptr inbounds [2 x i32], ptr %78, i64 0, i64 0 %80 = load i32, ptr %79, align 4 %81 = load ptr, ptr %8, align 8 %82 = load i32, ptr %9, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [2 x i32], ptr %81, i64 %83 %85 = getelementptr inbounds [2 x i32], ptr %84, i64 0, i64 0 %86 = load i32, ptr %85, align 4 %87 = call i32 @_mm_xor_si128(i32 noundef %80, i32 noundef %86) %88 = load ptr, ptr %8, align 8 %89 = getelementptr inbounds [2 x i32], ptr %88, i64 1 %90 = getelementptr inbounds [2 x i32], ptr %89, i64 0, i64 0 store i32 %87, ptr %90, align 4 %91 = load ptr, ptr %8, align 8 %92 = getelementptr inbounds [2 x i32], ptr %91, i64 1 %93 = getelementptr inbounds [2 x i32], ptr %92, i64 0, i64 1 %94 = load i32, ptr %93, align 4 %95 = load ptr, ptr %8, align 8 %96 = load i32, ptr %9, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [2 x i32], ptr %95, i64 %97 %99 = getelementptr inbounds [2 x i32], ptr %98, i64 0, i64 1 %100 = load i32, ptr %99, align 4 %101 = call i32 @_mm_xor_si128(i32 noundef %94, i32 noundef %100) %102 = load ptr, ptr %8, align 8 %103 = getelementptr inbounds [2 x i32], ptr %102, i64 1 %104 = getelementptr inbounds [2 x i32], ptr %103, i64 0, i64 1 store i32 %101, ptr %104, align 4 br label %105 105: ; preds = %76 %106 = load i32, ptr %9, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %9, align 4 %108 = load i32, ptr %9, align 4 %109 = icmp slt i32 %108, 5 br i1 %109, label %76, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %105 br label %110 110: ; preds = %._crit_edge3, %73 %111 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %112 = load ptr, ptr %8, align 8 %113 = getelementptr inbounds [2 x i32], ptr %112, i64 1 %114 = getelementptr inbounds [2 x i32], ptr %113, i64 0, i64 0 %115 = load i32, ptr %114, align 4 %116 = call i32 @_mm_store_si128(ptr noundef %111, i32 noundef %115) %117 = load ptr, ptr %7, align 8 %118 = load i32, ptr %5, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %117, i64 %119 %121 = getelementptr inbounds [32 x i32], ptr %10, i64 0, i64 0 %122 = call i32 @memcpy(ptr noundef %120, ptr noundef %121, i32 noundef 16) ret void } declare i32 @_mm_store_si128(ptr noundef, i32 noundef) #1 declare i32 @_mm_load_si128(ptr noundef) #1 declare i32 @_mm_xor_si128(i32 noundef, i32 noundef) #1 declare i32 @morus_stateupdate(ptr noundef, 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/tmpf2f8j96i.c' source_filename = "/tmp/tmpf2f8j96i.c" target datalayout = "e-m:e-p270: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/tmpf2f8j96i.c" target datalayout = "e-m:e-p270: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/tmp5giqkjsf.c' source_filename = "/tmp/tmp5giqkjsf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arikkei_memcpy_str(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = trunc i64 %9 to i32 store i32 %10, ptr %7, align 4 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = call i32 @arikkei_memcpy(ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14) %16 = load i32, ptr %7, align 4 ret i32 %16 } declare i64 @strlen(ptr noundef) #1 declare i32 @arikkei_memcpy(ptr noundef, 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/tmp5giqkjsf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arikkei_memcpy_str(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = trunc i64 %9 to i32 store i32 %10, ptr %7, align 4 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = call i32 @arikkei_memcpy(ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14) %16 = load i32, ptr %7, align 4 ret i32 %16 } declare i64 @strlen(ptr noundef) #1 declare i32 @arikkei_memcpy(ptr noundef, 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/tmpf2jcr4q9.c' source_filename = "/tmp/tmpf2jcr4q9.c" target datalayout = "e-m:e-p270: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/tmpf2jcr4q9.c" target datalayout = "e-m:e-p270: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/tmpi9_90if_.c' source_filename = "/tmp/tmpi9_90if_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ThreadYield() #0 { %1 = call i32 (...) @sched_yield() ret void } declare i32 @sched_yield(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi9_90if_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ThreadYield() #0 { %1 = call i32 (...) @sched_yield() ret void } declare i32 @sched_yield(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnyb22mv1.c' source_filename = "/tmp/tmpnyb22mv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ccudiv\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_udiv() #0 { %1 = call i32 (...) @gen_pop() %2 = call i32 @gen_call(ptr noundef @.str) ret void } declare i32 @gen_pop(...) #1 declare i32 @gen_call(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnyb22mv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ccudiv\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_udiv() #0 { %1 = call i32 (...) @gen_pop() %2 = call i32 @gen_call(ptr noundef @.str) ret void } declare i32 @gen_pop(...) #1 declare i32 @gen_call(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy22v0zht.c' source_filename = "/tmp/tmpy22v0zht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"\0A Usage: %s <inputfile> <outputfile> \0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 0 %7 = load ptr, ptr %6, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) ret void } 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/tmpy22v0zht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"\0A Usage: %s <inputfile> <outputfile> \0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 0 %7 = load ptr, ptr %6, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) ret void } 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/tmpztn23vno.c' source_filename = "/tmp/tmpztn23vno.c" target datalayout = "e-m:e-p270: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/tmpztn23vno.c" target datalayout = "e-m:e-p270: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/tmpw96p4ith.c' source_filename = "/tmp/tmpw96p4ith.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store volatile double 5.000000e+00, ptr %3, align 8 store volatile double 6.000000e+00, ptr %4, align 8 %6 = load volatile double, ptr %3, align 8 %7 = load volatile double, ptr %4, align 8 %8 = fadd double %6, %7 store volatile double %8, ptr %5, align 8 %9 = call double @add(i32 noundef 4, double noundef 5.000000e+00) store volatile double %9, ptr %1, align 8 %10 = load volatile double, ptr %5, align 8 %11 = call double @add(i32 noundef 6, double noundef %10) store volatile double %11, ptr %2, align 8 ret i32 0 } declare double @add(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw96p4ith.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store volatile double 5.000000e+00, ptr %3, align 8 store volatile double 6.000000e+00, ptr %4, align 8 %6 = load volatile double, ptr %3, align 8 %7 = load volatile double, ptr %4, align 8 %8 = fadd double %6, %7 store volatile double %8, ptr %5, align 8 %9 = call double @add(i32 noundef 4, double noundef 5.000000e+00) store volatile double %9, ptr %1, align 8 %10 = load volatile double, ptr %5, align 8 %11 = call double @add(i32 noundef 6, double noundef %10) store volatile double %11, ptr %2, align 8 ret i32 0 } declare double @add(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkdgh_ws1.c' source_filename = "/tmp/tmpkdgh_ws1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @htonll(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %6 = call i32 @ntohs(i32 noundef 1) %7 = icmp ne i32 %6, 1 br i1 %7, label %8, label %19 8: ; preds = %1 %9 = load i64, ptr %3, align 8 %10 = ashr i64 %9, 32 %11 = call i64 @htonl(i64 noundef %10) store i64 %11, ptr %4, align 8 %12 = load i64, ptr %3, align 8 %13 = and i64 %12, 4294967295 %14 = call i64 @htonl(i64 noundef %13) store i64 %14, ptr %5, align 8 %15 = load i64, ptr %5, align 8 %16 = shl i64 %15, 32 %17 = load i64, ptr %4, align 8 %18 = or i64 %16, %17 store i64 %18, ptr %2, align 8 br label %21 19: ; preds = %1 %20 = load i64, ptr %3, align 8 store i64 %20, ptr %2, align 8 br label %21 21: ; preds = %19, %8 %22 = load i64, ptr %2, align 8 ret i64 %22 } declare i32 @ntohs(i32 noundef) #1 declare i64 @htonl(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/tmpkdgh_ws1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @htonll(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %6 = call i32 @ntohs(i32 noundef 1) %7 = icmp ne i32 %6, 1 br i1 %7, label %8, label %19 8: ; preds = %1 %9 = load i64, ptr %3, align 8 %10 = ashr i64 %9, 32 %11 = call i64 @htonl(i64 noundef %10) store i64 %11, ptr %4, align 8 %12 = load i64, ptr %3, align 8 %13 = and i64 %12, 4294967295 %14 = call i64 @htonl(i64 noundef %13) store i64 %14, ptr %5, align 8 %15 = load i64, ptr %5, align 8 %16 = shl i64 %15, 32 %17 = load i64, ptr %4, align 8 %18 = or i64 %16, %17 store i64 %18, ptr %2, align 8 br label %21 19: ; preds = %1 %20 = load i64, ptr %3, align 8 store i64 %20, ptr %2, align 8 br label %21 21: ; preds = %19, %8 %22 = load i64, ptr %2, align 8 ret i64 %22 } declare i32 @ntohs(i32 noundef) #1 declare i64 @htonl(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/tmphbrth10z.c' source_filename = "/tmp/tmphbrth10z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"My name is \ED\99\8D\EA\B8\B8\EB\8F\99\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphbrth10z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"My name is \ED\99\8D\EA\B8\B8\EB\8F\99\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl5fqqc38.c' source_filename = "/tmp/tmpl5fqqc38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pdf_buf_pack_2(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %8, align 8 store i64 0, ptr %7, align 8 br label %10 10: ; preds = %41, %3 %11 = load i64, ptr %7, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %14, label %44 14: ; preds = %10 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %8, align 8 %17 = getelementptr inbounds i32, ptr %15, i64 %16 store i32 0, ptr %17, align 4 store i32 0, ptr %9, align 4 br label %18 18: ; preds = %37, %14 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %19, 4 br i1 %20, label %21, label %40 21: ; preds = %18 %22 = load ptr, ptr %5, align 8 %23 = load i64, ptr %8, align 8 %24 = getelementptr inbounds i32, ptr %22, i64 %23 %25 = load i32, ptr %24, align 4 %26 = shl i32 %25, 2 store i32 %26, ptr %24, align 4 %27 = load ptr, ptr %4, align 8 %28 = load i64, ptr %7, align 8 %29 = add i64 %28, 1 store i64 %29, ptr %7, align 8 %30 = getelementptr inbounds i32, ptr %27, i64 %28 %31 = load i32, ptr %30, align 4 %32 = load ptr, ptr %5, align 8 %33 = load i64, ptr %8, align 8 %34 = getelementptr inbounds i32, ptr %32, i64 %33 %35 = load i32, ptr %34, align 4 %36 = add nsw i32 %35, %31 store i32 %36, ptr %34, align 4 br label %37 37: ; preds = %21 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 br label %18, !llvm.loop !6 40: ; preds = %18 br label %41 41: ; preds = %40 %42 = load i64, ptr %8, align 8 %43 = add i64 %42, 1 store i64 %43, ptr %8, align 8 br label %10, !llvm.loop !8 44: ; preds = %10 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl5fqqc38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pdf_buf_pack_2(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %8, align 8 store i64 0, ptr %7, align 8 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %.lr.ph2, label %47 .lr.ph2: ; preds = %3 br label %13 13: ; preds = %.lr.ph2, %41 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %8, align 8 %16 = getelementptr inbounds i32, ptr %14, i64 %15 store i32 0, ptr %16, align 4 store i32 0, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = icmp slt i32 %17, 4 br i1 %18, label %.lr.ph, label %40 .lr.ph: ; preds = %13 br label %19 19: ; preds = %.lr.ph, %35 %20 = load ptr, ptr %5, align 8 %21 = load i64, ptr %8, align 8 %22 = getelementptr inbounds i32, ptr %20, i64 %21 %23 = load i32, ptr %22, align 4 %24 = shl i32 %23, 2 store i32 %24, ptr %22, align 4 %25 = load ptr, ptr %4, align 8 %26 = load i64, ptr %7, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %7, align 8 %28 = getelementptr inbounds i32, ptr %25, i64 %26 %29 = load i32, ptr %28, align 4 %30 = load ptr, ptr %5, align 8 %31 = load i64, ptr %8, align 8 %32 = getelementptr inbounds i32, ptr %30, i64 %31 %33 = load i32, ptr %32, align 4 %34 = add nsw i32 %33, %29 store i32 %34, ptr %32, align 4 br label %35 35: ; preds = %19 %36 = load i32, ptr %9, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %9, align 4 %38 = load i32, ptr %9, align 4 %39 = icmp slt i32 %38, 4 br i1 %39, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %13 br label %41 41: ; preds = %40 %42 = load i64, ptr %8, align 8 %43 = add i64 %42, 1 store i64 %43, ptr %8, align 8 %44 = load i64, ptr %7, align 8 %45 = load i64, ptr %6, align 8 %46 = icmp ult i64 %44, %45 br i1 %46, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %47 47: ; preds = %._crit_edge3, %3 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpog3ehv2k.c' source_filename = "/tmp/tmpog3ehv2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numhash(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 @int_hash(i32 noundef %3, i32 noundef 1009) ret i32 %4 } declare i32 @int_hash(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/tmpog3ehv2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numhash(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 @int_hash(i32 noundef %3, i32 noundef 1009) ret i32 %4 } declare i32 @int_hash(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/tmpwtr8gc92.c' source_filename = "/tmp/tmpwtr8gc92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Enter a series of integers (0 to terminate): \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_numbers() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 store ptr null, ptr %1, align 8 %3 = call i32 @printf(ptr noundef @.str) br label %4 4: ; preds = %10, %0 %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = load ptr, ptr %1, align 8 ret ptr %9 10: ; preds = %4 %11 = load ptr, ptr %1, align 8 %12 = load i32, ptr %2, align 4 %13 = call ptr @add_to_list(ptr noundef %11, i32 noundef %12) store ptr %13, ptr %1, align 8 br label %4 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @add_to_list(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/tmpwtr8gc92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Enter a series of integers (0 to terminate): \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_numbers() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 store ptr null, ptr %1, align 8 %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 eq i32 %5, 0 br i1 %6, label %7, label %.lr.ph .lr.ph: ; preds = %0 br label %9 ._crit_edge: ; preds = %9 br label %7 7: ; preds = %._crit_edge, %0 %8 = load ptr, ptr %1, align 8 ret ptr %8 9: ; preds = %.lr.ph, %9 %10 = load ptr, ptr %1, align 8 %11 = load i32, ptr %2, align 4 %12 = call ptr @add_to_list(ptr noundef %10, i32 noundef %11) store ptr %12, ptr %1, align 8 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %._crit_edge, label %9 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @add_to_list(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/tmpsejvctue.c' source_filename = "/tmp/tmpsejvctue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Error: <%s> occurret. Error code is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @OnError(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6) %8 = load i32, ptr %4, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsejvctue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Error: <%s> occurret. Error code is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @OnError(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6) %8 = load i32, ptr %4, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj_hho7dm.c' source_filename = "/tmp/tmpj_hho7dm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @switch_clr_portmap(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @del_entry(ptr noundef %4, ptr noundef %3) br label %6 6: ; preds = %1 br label %7 7: ; preds = %6 %8 = load i32, ptr %3, align 4 ret i32 %8 } declare i32 @del_entry(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/tmpj_hho7dm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @switch_clr_portmap(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @del_entry(ptr noundef %4, ptr noundef %3) br label %6 6: ; preds = %1 br label %7 7: ; preds = %6 %8 = load i32, ptr %3, align 4 ret i32 %8 } declare i32 @del_entry(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/tmpygqsk9wa.c' source_filename = "/tmp/tmpygqsk9wa.c" target datalayout = "e-m:e-p270: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/tmpygqsk9wa.c" target datalayout = "e-m:e-p270: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/tmpq32_3fj0.c' source_filename = "/tmp/tmpq32_3fj0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %10, align 8 %13 = load i64, ptr %7, align 8 %14 = add i64 %13, 1 store i64 %14, ptr %7, align 8 br label %15 15: ; preds = %30, %3 %16 = load i64, ptr %7, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %7, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %35 19: ; preds = %15 %20 = load ptr, ptr %9, align 8 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = load ptr, ptr %10, align 8 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = sub nsw i32 %22, %25 store i32 %26, ptr %8, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %19 %29 = load i32, ptr %8, align 4 store i32 %29, ptr %4, align 4 br label %36 30: ; preds = %19 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %9, align 8 %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %10, align 8 br label %15, !llvm.loop !6 35: ; preds = %15 store i32 0, ptr %4, align 4 br label %36 36: ; preds = %35, %28 %37 = load i32, ptr %4, align 4 ret i32 %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpq32_3fj0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %10, align 8 %13 = load i64, ptr %7, align 8 %14 = add i64 %13, 1 store i64 %14, ptr %7, align 8 %15 = load i64, ptr %7, align 8 %16 = add i64 %15, -1 store i64 %16, ptr %7, align 8 %17 = icmp ne i64 %16, 0 br i1 %17, label %.lr.ph, label %37 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %29 %19 = load ptr, ptr %9, align 8 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = load ptr, ptr %10, align 8 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = sub nsw i32 %21, %24 store i32 %25, ptr %8, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %18 %28 = load i32, ptr %8, align 4 store i32 %28, ptr %4, align 4 br label %38 29: ; preds = %18 %30 = load ptr, ptr %9, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %9, align 8 %32 = load ptr, ptr %10, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %10, align 8 %34 = load i64, ptr %7, align 8 %35 = add i64 %34, -1 store i64 %35, ptr %7, align 8 %36 = icmp ne i64 %35, 0 br i1 %36, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %37 37: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %38 38: ; preds = %37, %27 %39 = load i32, ptr %4, align 4 ret i32 %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp94m6nwd4.c' source_filename = "/tmp/tmp94m6nwd4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @erasePowerstacker(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 = add nsw i32 %5, 23 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 56 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 37 %11 = load i32, ptr %4, align 4 %12 = add nsw i32 %11, 45 %13 = call i32 @nxtEraseEllipse(i32 noundef %6, i32 noundef %8, i32 noundef %10, i32 noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 22 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 44 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 38 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 31 %22 = call i32 @nxtEraseRect(i32 noundef %15, i32 noundef %17, i32 noundef %19, i32 noundef %21) %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 20 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 30 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 40 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 26 %31 = call i32 @nxtEraseRect(i32 noundef %24, i32 noundef %26, i32 noundef %28, i32 noundef %30) %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 16 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 26 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 44 %38 = load i32, ptr %4, align 4 %39 = add nsw i32 %38, 21 %40 = call i32 @nxtEraseRect(i32 noundef %33, i32 noundef %35, i32 noundef %37, i32 noundef %39) %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 16 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 20 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 23 %47 = load i32, ptr %4, align 4 %48 = call i32 @nxtEraseRect(i32 noundef %42, i32 noundef %44, i32 noundef %46, i32 noundef %47) %49 = load i32, ptr %3, align 4 %50 = add nsw i32 %49, 8 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 5 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 15 %55 = load i32, ptr %4, align 4 %56 = call i32 @nxtEraseRect(i32 noundef %50, i32 noundef %52, i32 noundef %54, i32 noundef %55) %57 = load i32, ptr %3, align 4 %58 = add nsw i32 %57, 37 %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 20 %61 = load i32, ptr %3, align 4 %62 = add nsw i32 %61, 44 %63 = load i32, ptr %4, align 4 %64 = call i32 @nxtEraseRect(i32 noundef %58, i32 noundef %60, i32 noundef %62, i32 noundef %63) %65 = load i32, ptr %3, align 4 %66 = add nsw i32 %65, 45 %67 = load i32, ptr %4, align 4 %68 = add nsw i32 %67, 5 %69 = load i32, ptr %3, align 4 %70 = add nsw i32 %69, 52 %71 = load i32, ptr %4, align 4 %72 = call i32 @nxtEraseRect(i32 noundef %66, i32 noundef %68, i32 noundef %70, i32 noundef %71) %73 = load i32, ptr %3, align 4 %74 = add nsw i32 %73, 8 %75 = load i32, ptr %4, align 4 %76 = add nsw i32 %75, 44 %77 = load i32, ptr %3, align 4 %78 = add nsw i32 %77, 21 %79 = load i32, ptr %4, align 4 %80 = add nsw i32 %79, 40 %81 = call i32 @nxtEraseRect(i32 noundef %74, i32 noundef %76, i32 noundef %78, i32 noundef %80) %82 = load i32, ptr %3, align 4 %83 = load i32, ptr %4, align 4 %84 = add nsw i32 %83, 48 %85 = load i32, ptr %3, align 4 %86 = add nsw i32 %85, 13 %87 = load i32, ptr %4, align 4 %88 = add nsw i32 %87, 45 %89 = call i32 @nxtEraseRect(i32 noundef %82, i32 noundef %84, i32 noundef %86, i32 noundef %88) %90 = load i32, ptr %3, align 4 %91 = add nsw i32 %90, 39 %92 = load i32, ptr %4, align 4 %93 = add nsw i32 %92, 44 %94 = load i32, ptr %3, align 4 %95 = add nsw i32 %94, 52 %96 = load i32, ptr %4, align 4 %97 = add nsw i32 %96, 40 %98 = call i32 @nxtEraseRect(i32 noundef %91, i32 noundef %93, i32 noundef %95, i32 noundef %97) %99 = load i32, ptr %3, align 4 %100 = add nsw i32 %99, 47 %101 = load i32, ptr %4, align 4 %102 = add nsw i32 %101, 48 %103 = load i32, ptr %3, align 4 %104 = add nsw i32 %103, 60 %105 = load i32, ptr %4, align 4 %106 = add nsw i32 %105, 45 %107 = call i32 @nxtEraseRect(i32 noundef %100, i32 noundef %102, i32 noundef %104, i32 noundef %106) ret void } declare i32 @nxtEraseEllipse(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @nxtEraseRect(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp94m6nwd4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @erasePowerstacker(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 = add nsw i32 %5, 23 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 56 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 37 %11 = load i32, ptr %4, align 4 %12 = add nsw i32 %11, 45 %13 = call i32 @nxtEraseEllipse(i32 noundef %6, i32 noundef %8, i32 noundef %10, i32 noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 22 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 44 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 38 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 31 %22 = call i32 @nxtEraseRect(i32 noundef %15, i32 noundef %17, i32 noundef %19, i32 noundef %21) %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 20 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 30 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 40 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 26 %31 = call i32 @nxtEraseRect(i32 noundef %24, i32 noundef %26, i32 noundef %28, i32 noundef %30) %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 16 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 26 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 44 %38 = load i32, ptr %4, align 4 %39 = add nsw i32 %38, 21 %40 = call i32 @nxtEraseRect(i32 noundef %33, i32 noundef %35, i32 noundef %37, i32 noundef %39) %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 16 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 20 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 23 %47 = load i32, ptr %4, align 4 %48 = call i32 @nxtEraseRect(i32 noundef %42, i32 noundef %44, i32 noundef %46, i32 noundef %47) %49 = load i32, ptr %3, align 4 %50 = add nsw i32 %49, 8 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 5 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 15 %55 = load i32, ptr %4, align 4 %56 = call i32 @nxtEraseRect(i32 noundef %50, i32 noundef %52, i32 noundef %54, i32 noundef %55) %57 = load i32, ptr %3, align 4 %58 = add nsw i32 %57, 37 %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 20 %61 = load i32, ptr %3, align 4 %62 = add nsw i32 %61, 44 %63 = load i32, ptr %4, align 4 %64 = call i32 @nxtEraseRect(i32 noundef %58, i32 noundef %60, i32 noundef %62, i32 noundef %63) %65 = load i32, ptr %3, align 4 %66 = add nsw i32 %65, 45 %67 = load i32, ptr %4, align 4 %68 = add nsw i32 %67, 5 %69 = load i32, ptr %3, align 4 %70 = add nsw i32 %69, 52 %71 = load i32, ptr %4, align 4 %72 = call i32 @nxtEraseRect(i32 noundef %66, i32 noundef %68, i32 noundef %70, i32 noundef %71) %73 = load i32, ptr %3, align 4 %74 = add nsw i32 %73, 8 %75 = load i32, ptr %4, align 4 %76 = add nsw i32 %75, 44 %77 = load i32, ptr %3, align 4 %78 = add nsw i32 %77, 21 %79 = load i32, ptr %4, align 4 %80 = add nsw i32 %79, 40 %81 = call i32 @nxtEraseRect(i32 noundef %74, i32 noundef %76, i32 noundef %78, i32 noundef %80) %82 = load i32, ptr %3, align 4 %83 = load i32, ptr %4, align 4 %84 = add nsw i32 %83, 48 %85 = load i32, ptr %3, align 4 %86 = add nsw i32 %85, 13 %87 = load i32, ptr %4, align 4 %88 = add nsw i32 %87, 45 %89 = call i32 @nxtEraseRect(i32 noundef %82, i32 noundef %84, i32 noundef %86, i32 noundef %88) %90 = load i32, ptr %3, align 4 %91 = add nsw i32 %90, 39 %92 = load i32, ptr %4, align 4 %93 = add nsw i32 %92, 44 %94 = load i32, ptr %3, align 4 %95 = add nsw i32 %94, 52 %96 = load i32, ptr %4, align 4 %97 = add nsw i32 %96, 40 %98 = call i32 @nxtEraseRect(i32 noundef %91, i32 noundef %93, i32 noundef %95, i32 noundef %97) %99 = load i32, ptr %3, align 4 %100 = add nsw i32 %99, 47 %101 = load i32, ptr %4, align 4 %102 = add nsw i32 %101, 48 %103 = load i32, ptr %3, align 4 %104 = add nsw i32 %103, 60 %105 = load i32, ptr %4, align 4 %106 = add nsw i32 %105, 45 %107 = call i32 @nxtEraseRect(i32 noundef %100, i32 noundef %102, i32 noundef %104, i32 noundef %106) ret void } declare i32 @nxtEraseEllipse(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @nxtEraseRect(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"}
; ModuleID = '/tmp/tmpom0_pbu6.c' source_filename = "/tmp/tmpom0_pbu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initLogD(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 2 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 2, ptr %2, align 4 br label %8 8: ; preds = %7, %1 %9 = load i32, ptr %2, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 8, %10 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %3, align 8 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 8, %17 %19 = trunc i64 %18 to i32 %20 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %19) %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds double, ptr %21, i64 0 store double 0.000000e+00, ptr %22, align 8 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds double, ptr %23, i64 1 store double 0.000000e+00, ptr %24, align 8 store i32 2, ptr %4, align 4 br label %25 25: ; preds = %43, %8 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %46 29: ; preds = %25 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %4, align 4 %32 = sub nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %30, i64 %33 %35 = load double, ptr %34, align 8 %36 = load i32, ptr %4, align 4 %37 = call double @log(i32 noundef %36) %38 = fadd double %35, %37 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %39, i64 %41 store double %38, ptr %42, align 8 br label %43 43: ; preds = %29 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %4, align 4 br label %25, !llvm.loop !6 46: ; preds = %25 %47 = load ptr, ptr %3, align 8 ret ptr %47 } declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare double @log(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/tmpom0_pbu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initLogD(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 2 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 2, ptr %2, align 4 br label %8 8: ; preds = %7, %1 %9 = load i32, ptr %2, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 8, %10 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %3, align 8 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 8, %17 %19 = trunc i64 %18 to i32 %20 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %19) %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds double, ptr %21, i64 0 store double 0.000000e+00, ptr %22, align 8 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds double, ptr %23, i64 1 store double 0.000000e+00, ptr %24, align 8 store i32 2, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %48 .lr.ph: ; preds = %8 br label %28 28: ; preds = %.lr.ph, %42 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %4, align 4 %31 = sub nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %29, i64 %32 %34 = load double, ptr %33, align 8 %35 = load i32, ptr %4, align 4 %36 = call double @log(i32 noundef %35) %37 = fadd double %34, %36 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 store double %37, ptr %41, align 8 br label %42 42: ; preds = %28 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %2, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %8 %49 = load ptr, ptr %3, align 8 ret ptr %49 } declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare double @log(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/tmpea6a0m2c.c' source_filename = "/tmp/tmpea6a0m2c.c" target datalayout = "e-m:e-p270: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.iphdr = type { i32 } %struct.icmphdr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.iphdr, align 4 %3 = alloca %struct.icmphdr, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 4, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 4, i1 false) ret i32 8 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpea6a0m2c.c" target datalayout = "e-m:e-p270: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.iphdr = type { i32 } %struct.icmphdr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.iphdr, align 4 %3 = alloca %struct.icmphdr, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 4, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 4, i1 false) ret i32 8 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdf0iwt9m.c' source_filename = "/tmp/tmpdf0iwt9m.c" target datalayout = "e-m:e-p270: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_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"invalid openat64 call: O_CREAT without mode\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__openat64_2(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr @O_CREAT, align 4 %9 = and i32 %7, %8 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %3 %12 = call i32 @__fortify_fail(ptr noundef @.str) br label %13 13: ; preds = %11, %3 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = call i32 @__openat64(i32 noundef %14, ptr noundef %15, i32 noundef %16) ret i32 %17 } declare i32 @__fortify_fail(ptr noundef) #1 declare i32 @__openat64(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/tmpdf0iwt9m.c" target datalayout = "e-m:e-p270: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_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"invalid openat64 call: O_CREAT without mode\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__openat64_2(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr @O_CREAT, align 4 %9 = and i32 %7, %8 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %3 %12 = call i32 @__fortify_fail(ptr noundef @.str) br label %13 13: ; preds = %11, %3 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = call i32 @__openat64(i32 noundef %14, ptr noundef %15, i32 noundef %16) ret i32 %17 } declare i32 @__fortify_fail(ptr noundef) #1 declare i32 @__openat64(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/tmpj6adllje.c' source_filename = "/tmp/tmpj6adllje.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Usage: %s [-DsbdlHOLC3]\0A\00", align 1 @.str.1 = private unnamed_addr constant [352 x i8] c" -D --device device to use (default /dev/spidev1.1)\0A -s --speed max speed (Hz)\0A -d --delay delay (usec)\0A -b --bpw bits per word \0A -l --loop loopback\0A -H --cpha clock phase\0A -O --cpol clock polarity\0A -L --lsb least significant bit first\0A -C --cs-high chip select active high\0A -3 --3wire SI/SO signals shared\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @puts(ptr noundef @.str.1) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @puts(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/tmpj6adllje.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Usage: %s [-DsbdlHOLC3]\0A\00", align 1 @.str.1 = private unnamed_addr constant [352 x i8] c" -D --device device to use (default /dev/spidev1.1)\0A -s --speed max speed (Hz)\0A -d --delay delay (usec)\0A -b --bpw bits per word \0A -l --loop loopback\0A -H --cpha clock phase\0A -O --cpol clock polarity\0A -L --lsb least significant bit first\0A -C --cs-high chip select active high\0A -3 --3wire SI/SO signals shared\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @puts(ptr noundef @.str.1) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @puts(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/tmpayliv963.c' source_filename = "/tmp/tmpayliv963.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } @.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"XDG_CONFIG_HOME\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"/.config\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"%s/.config\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_user_config_dir() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca %struct.passwd, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [4096 x i8], align 16 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = call i32 (...) @getuid() %11 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @getpwuid_r(i32 noundef %10, ptr noundef %3, ptr noundef %11, i32 noundef 4096, ptr noundef %4) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %0 %16 = getelementptr inbounds %struct.passwd, ptr %3, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %5, align 8 br label %28 18: ; preds = %0 %19 = call ptr @getenv(ptr noundef @.str) store ptr %19, ptr %5, align 8 %20 = load ptr, ptr %5, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %23 22: ; preds = %18 store ptr null, ptr %1, align 8 br label %53 23: ; preds = %18 %24 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %25 = load ptr, ptr %5, align 8 %26 = call i32 @snprintf(ptr noundef %24, i64 noundef 4096, ptr noundef @.str.1, ptr noundef %25) %27 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 store ptr %27, ptr %5, align 8 br label %28 28: ; preds = %23, %15 %29 = call ptr @getenv(ptr noundef @.str.2) store ptr %29, ptr %9, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %48, label %31 31: ; preds = %28 %32 = load ptr, ptr %5, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = call i32 @strlen(ptr noundef @.str.3) %35 = add nsw i32 %33, %34 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 store i64 %37, ptr %7, align 8 %38 = load i64, ptr %7, align 8 %39 = call ptr @malloc(i64 noundef %38) store ptr %39, ptr %2, align 8 %40 = load ptr, ptr %2, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %43 42: ; preds = %31 store ptr null, ptr %1, align 8 br label %53 43: ; preds = %31 %44 = load ptr, ptr %2, align 8 %45 = load i64, ptr %7, align 8 %46 = load ptr, ptr %5, align 8 %47 = call i32 @snprintf(ptr noundef %44, i64 noundef %45, ptr noundef @.str.4, ptr noundef %46) br label %51 48: ; preds = %28 %49 = load ptr, ptr %9, align 8 %50 = call ptr @strdup(ptr noundef %49) store ptr %50, ptr %2, align 8 br label %51 51: ; preds = %48, %43 %52 = load ptr, ptr %2, align 8 store ptr %52, ptr %1, align 8 br label %53 53: ; preds = %51, %42, %22 %54 = load ptr, ptr %1, align 8 ret ptr %54 } declare i32 @getpwuid_r(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @getuid(...) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpayliv963.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } @.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"XDG_CONFIG_HOME\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"/.config\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"%s/.config\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_user_config_dir() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca %struct.passwd, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [4096 x i8], align 16 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = call i32 (...) @getuid() %11 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @getpwuid_r(i32 noundef %10, ptr noundef %3, ptr noundef %11, i32 noundef 4096, ptr noundef %4) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %0 %16 = getelementptr inbounds %struct.passwd, ptr %3, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %5, align 8 br label %28 18: ; preds = %0 %19 = call ptr @getenv(ptr noundef @.str) store ptr %19, ptr %5, align 8 %20 = load ptr, ptr %5, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %23 22: ; preds = %18 store ptr null, ptr %1, align 8 br label %53 23: ; preds = %18 %24 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %25 = load ptr, ptr %5, align 8 %26 = call i32 @snprintf(ptr noundef %24, i64 noundef 4096, ptr noundef @.str.1, ptr noundef %25) %27 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 store ptr %27, ptr %5, align 8 br label %28 28: ; preds = %23, %15 %29 = call ptr @getenv(ptr noundef @.str.2) store ptr %29, ptr %9, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %48, label %31 31: ; preds = %28 %32 = load ptr, ptr %5, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = call i32 @strlen(ptr noundef @.str.3) %35 = add nsw i32 %33, %34 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 store i64 %37, ptr %7, align 8 %38 = load i64, ptr %7, align 8 %39 = call ptr @malloc(i64 noundef %38) store ptr %39, ptr %2, align 8 %40 = load ptr, ptr %2, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %43 42: ; preds = %31 store ptr null, ptr %1, align 8 br label %53 43: ; preds = %31 %44 = load ptr, ptr %2, align 8 %45 = load i64, ptr %7, align 8 %46 = load ptr, ptr %5, align 8 %47 = call i32 @snprintf(ptr noundef %44, i64 noundef %45, ptr noundef @.str.4, ptr noundef %46) br label %51 48: ; preds = %28 %49 = load ptr, ptr %9, align 8 %50 = call ptr @strdup(ptr noundef %49) store ptr %50, ptr %2, align 8 br label %51 51: ; preds = %48, %43 %52 = load ptr, ptr %2, align 8 store ptr %52, ptr %1, align 8 br label %53 53: ; preds = %51, %42, %22 %54 = load ptr, ptr %1, align 8 ret ptr %54 } declare i32 @getpwuid_r(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @getuid(...) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphdknvvho.c' source_filename = "/tmp/tmphdknvvho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global 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/tmphdknvvho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global 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/tmp9pe6xoaj.c' source_filename = "/tmp/tmp9pe6xoaj.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [13 x i8] c"Not root...\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"stat\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"%s is not a directory.\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"chroot\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"fchdir\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_fchdir_breakchroot(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.stat, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = call i64 (...) @getuid() %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %63 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i64 @stat(ptr noundef %15, ptr noundef %7) %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %12 %19 = call i32 @perror(ptr noundef @.str.1) br label %63 20: ; preds = %12 %21 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = call i32 @S_ISDIR(i32 noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %30, label %25 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28) br label %63 30: ; preds = %20 %31 = load i32, ptr @O_RDONLY, align 4 %32 = call i32 @open(ptr noundef @.str.3, i32 noundef %31) store i32 %32, ptr %6, align 4 %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @perror(ptr noundef @.str.4) br label %63 36: ; preds = %30 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i32 @chroot(ptr noundef %39) %41 = icmp eq i32 %40, -1 br i1 %41, label %42, label %44 42: ; preds = %36 %43 = call i32 @perror(ptr noundef @.str.5) br label %63 44: ; preds = %36 %45 = load i32, ptr %6, align 4 %46 = call i32 @fchdir(i32 noundef %45) %47 = icmp eq i32 %46, -1 br i1 %47, label %48, label %50 48: ; preds = %44 %49 = call i32 @perror(ptr noundef @.str.6) br label %63 50: ; preds = %44 %51 = load i32, ptr %6, align 4 %52 = call i32 @close(i32 noundef %51) store i32 0, ptr %5, align 4 br label %53 53: ; preds = %58, %50 %54 = load i32, ptr %5, align 4 %55 = icmp slt i32 %54, 256 br i1 %55, label %56, label %61 56: ; preds = %53 %57 = call i32 @chdir(ptr noundef @.str.7) br label %58 58: ; preds = %56 %59 = load i32, ptr %5, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %5, align 4 br label %53, !llvm.loop !6 61: ; preds = %53 %62 = call i32 @chroot(ptr noundef @.str.3) br label %63 63: ; preds = %61, %48, %42, %34, %25, %18, %10 ret void } declare i64 @getuid(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @S_ISDIR(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @chroot(ptr noundef) #1 declare i32 @fchdir(i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp9pe6xoaj.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [13 x i8] c"Not root...\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"stat\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"%s is not a directory.\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"chroot\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"fchdir\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_fchdir_breakchroot(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.stat, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = call i64 (...) @getuid() %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %64 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i64 @stat(ptr noundef %15, ptr noundef %7) %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %12 %19 = call i32 @perror(ptr noundef @.str.1) br label %64 20: ; preds = %12 %21 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = call i32 @S_ISDIR(i32 noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %30, label %25 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28) br label %64 30: ; preds = %20 %31 = load i32, ptr @O_RDONLY, align 4 %32 = call i32 @open(ptr noundef @.str.3, i32 noundef %31) store i32 %32, ptr %6, align 4 %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @perror(ptr noundef @.str.4) br label %64 36: ; preds = %30 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i32 @chroot(ptr noundef %39) %41 = icmp eq i32 %40, -1 br i1 %41, label %42, label %44 42: ; preds = %36 %43 = call i32 @perror(ptr noundef @.str.5) br label %64 44: ; preds = %36 %45 = load i32, ptr %6, align 4 %46 = call i32 @fchdir(i32 noundef %45) %47 = icmp eq i32 %46, -1 br i1 %47, label %48, label %50 48: ; preds = %44 %49 = call i32 @perror(ptr noundef @.str.6) br label %64 50: ; preds = %44 %51 = load i32, ptr %6, align 4 %52 = call i32 @close(i32 noundef %51) store i32 0, ptr %5, align 4 %53 = load i32, ptr %5, align 4 %54 = icmp slt i32 %53, 256 br i1 %54, label %.lr.ph, label %62 .lr.ph: ; preds = %50 br label %55 55: ; preds = %.lr.ph, %57 %56 = call i32 @chdir(ptr noundef @.str.7) br label %57 57: ; preds = %55 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %5, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp slt i32 %60, 256 br i1 %61, label %55, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %62 62: ; preds = %._crit_edge, %50 %63 = call i32 @chroot(ptr noundef @.str.3) br label %64 64: ; preds = %62, %48, %42, %34, %25, %18, %10 ret void } declare i64 @getuid(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @S_ISDIR(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @chroot(ptr noundef) #1 declare i32 @fchdir(i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxkxo22z1.c' source_filename = "/tmp/tmpxkxo22z1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @destroy_data(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxkxo22z1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @destroy_data(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8zi6p9pt.c' source_filename = "/tmp/tmp8zi6p9pt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @config_destroy_slist(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @slist_destroy(ptr noundef %3) ret void } declare i32 @slist_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8zi6p9pt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @config_destroy_slist(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @slist_destroy(ptr noundef %3) ret void } declare i32 @slist_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5cxv0wdf.c' source_filename = "/tmp/tmp5cxv0wdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_splitpath(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call ptr @stb__splitpath_raw(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret ptr %10 } declare ptr @stb__splitpath_raw(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/tmp5cxv0wdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_splitpath(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call ptr @stb__splitpath_raw(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret ptr %10 } declare ptr @stb__splitpath_raw(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/tmptdadb4yx.c' source_filename = "/tmp/tmptdadb4yx.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"%s: invalid numeric value: '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"%s: value cannot be negative: '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"U+%04X '%c'\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"U+%04X '%c%c'\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"U+%04X '%c%c%c'\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"U+%05X '%c%c%c%c'\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 i8, align 1 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i64, align 8 %13 = 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 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 1114111, ptr %7, align 4 br label %62 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i64 @strtol(ptr noundef %20, ptr noundef %13, i32 noundef 0) store i64 %21, ptr %12, align 8 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = load i8, ptr %24, align 1 %26 = icmp ne i8 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %17 %28 = load ptr, ptr %13, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %41 32: ; preds = %27, %17 %33 = load i32, ptr @stderr, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 0 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str, ptr noundef %36, ptr noundef %39) store i32 1, ptr %3, align 4 br label %216 41: ; preds = %27 %42 = load i64, ptr %12, align 8 %43 = icmp slt i64 %42, 0 br i1 %43, label %44, label %53 44: ; preds = %41 %45 = load i32, ptr @stderr, align 4 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 0 %48 = load ptr, ptr %47, align 8 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 1 %51 = load ptr, ptr %50, align 8 %52 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str.1, ptr noundef %48, ptr noundef %51) store i32 1, ptr %3, align 4 br label %216 53: ; preds = %41 %54 = load i64, ptr %12, align 8 %55 = icmp sgt i64 %54, 1114111 br i1 %55, label %56, label %57 56: ; preds = %53 store i64 1114111, ptr %12, align 8 br label %57 57: ; preds = %56, %53 br label %58 58: ; preds = %57 br label %59 59: ; preds = %58 %60 = load i64, ptr %12, align 8 %61 = trunc i64 %60 to i32 store i32 %61, ptr %7, align 4 br label %62 62: ; preds = %59, %16 store i32 0, ptr %6, align 4 store i8 0, ptr %8, align 1 br label %63 63: ; preds = %77, %62 %64 = load i8, ptr %8, align 1 %65 = sext i8 %64 to i32 %66 = icmp slt i32 %65, 127 br i1 %66, label %67, label %80 67: ; preds = %63 %68 = load i32, ptr %6, align 4 %69 = add i32 %68, 1 store i32 %69, ptr %6, align 4 %70 = load i32, ptr %7, align 4 %71 = icmp ugt i32 %68, %70 br i1 %71, label %72, label %73 72: ; preds = %67 store i32 0, ptr %3, align 4 br label %216 73: ; preds = %67 %74 = load i32, ptr %6, align 4 %75 = load i8, ptr %8, align 1 %76 = call i32 (ptr, i32, i8, ...) @printf(ptr noundef @.str.2, i32 noundef %74, i8 noundef signext %75) br label %77 77: ; preds = %73 %78 = load i8, ptr %8, align 1 %79 = add i8 %78, 1 store i8 %79, ptr %8, align 1 br label %63, !llvm.loop !6 80: ; preds = %63 store i8 0, ptr %8, align 1 br label %81 81: ; preds = %110, %80 %82 = load i8, ptr %8, align 1 %83 = sext i8 %82 to i32 %84 = icmp slt i32 %83, 31 br i1 %84, label %85, label %113 85: ; preds = %81 store i8 0, ptr %9, align 1 br label %86 86: ; preds = %106, %85 %87 = load i8, ptr %9, align 1 %88 = sext i8 %87 to i32 %89 = icmp slt i32 %88, 63 br i1 %89, label %90, label %109 90: ; preds = %86 %91 = load i32, ptr %6, align 4 %92 = add i32 %91, 1 store i32 %92, ptr %6, align 4 %93 = load i32, ptr %7, align 4 %94 = icmp ugt i32 %91, %93 br i1 %94, label %95, label %96 95: ; preds = %90 store i32 0, ptr %3, align 4 br label %216 96: ; preds = %90 %97 = load i32, ptr %6, align 4 %98 = load i8, ptr %8, align 1 %99 = sext i8 %98 to i32 %100 = or i32 %99, 192 %101 = trunc i32 %100 to i8 %102 = load i8, ptr %9, align 1 %103 = sext i8 %102 to i32 %104 = or i32 %103, 128 %105 = call i32 (ptr, i32, i8, ...) @printf(ptr noundef @.str.3, i32 noundef %97, i8 noundef signext %101, i32 noundef %104) br label %106 106: ; preds = %96 %107 = load i8, ptr %9, align 1 %108 = add i8 %107, 1 store i8 %108, ptr %9, align 1 br label %86, !llvm.loop !8 109: ; preds = %86 br label %110 110: ; preds = %109 %111 = load i8, ptr %8, align 1 %112 = add i8 %111, 1 store i8 %112, ptr %8, align 1 br label %81, !llvm.loop !9 113: ; preds = %81 store i8 0, ptr %8, align 1 br label %114 114: ; preds = %155, %113 %115 = load i8, ptr %8, align 1 %116 = sext i8 %115 to i32 %117 = icmp slt i32 %116, 15 br i1 %117, label %118, label %158 118: ; preds = %114 store i8 0, ptr %9, align 1 br label %119 119: ; preds = %151, %118 %120 = load i8, ptr %9, align 1 %121 = sext i8 %120 to i32 %122 = icmp slt i32 %121, 63 br i1 %122, label %123, label %154 123: ; preds = %119 store i8 0, ptr %10, align 1 br label %124 124: ; preds = %147, %123 %125 = load i8, ptr %10, align 1 %126 = sext i8 %125 to i32 %127 = icmp slt i32 %126, 63 br i1 %127, label %128, label %150 128: ; preds = %124 %129 = load i32, ptr %6, align 4 %130 = add i32 %129, 1 store i32 %130, ptr %6, align 4 %131 = load i32, ptr %7, align 4 %132 = icmp ugt i32 %129, %131 br i1 %132, label %133, label %134 133: ; preds = %128 store i32 0, ptr %3, align 4 br label %216 134: ; preds = %128 %135 = load i32, ptr %6, align 4 %136 = load i8, ptr %8, align 1 %137 = sext i8 %136 to i32 %138 = or i32 %137, 224 %139 = trunc i32 %138 to i8 %140 = load i8, ptr %9, align 1 %141 = sext i8 %140 to i32 %142 = or i32 %141, 128 %143 = load i8, ptr %10, align 1 %144 = sext i8 %143 to i32 %145 = or i32 %144, 128 %146 = call i32 (ptr, i32, i8, ...) @printf(ptr noundef @.str.4, i32 noundef %135, i8 noundef signext %139, i32 noundef %142, i32 noundef %145) br label %147 147: ; preds = %134 %148 = load i8, ptr %10, align 1 %149 = add i8 %148, 1 store i8 %149, ptr %10, align 1 br label %124, !llvm.loop !10 150: ; preds = %124 br label %151 151: ; preds = %150 %152 = load i8, ptr %9, align 1 %153 = add i8 %152, 1 store i8 %153, ptr %9, align 1 br label %119, !llvm.loop !11 154: ; preds = %119 br label %155 155: ; preds = %154 %156 = load i8, ptr %8, align 1 %157 = add i8 %156, 1 store i8 %157, ptr %8, align 1 br label %114, !llvm.loop !12 158: ; preds = %114 store i8 0, ptr %8, align 1 br label %159 159: ; preds = %212, %158 %160 = load i8, ptr %8, align 1 %161 = sext i8 %160 to i32 %162 = icmp slt i32 %161, 7 br i1 %162, label %163, label %215 163: ; preds = %159 store i8 0, ptr %9, align 1 br label %164 164: ; preds = %208, %163 %165 = load i8, ptr %9, align 1 %166 = sext i8 %165 to i32 %167 = icmp slt i32 %166, 63 br i1 %167, label %168, label %211 168: ; preds = %164 store i8 0, ptr %10, align 1 br label %169 169: ; preds = %204, %168 %170 = load i8, ptr %10, align 1 %171 = sext i8 %170 to i32 %172 = icmp slt i32 %171, 63 br i1 %172, label %173, label %207 173: ; preds = %169 store i8 0, ptr %11, align 1 br label %174 174: ; preds = %200, %173 %175 = load i8, ptr %11, align 1 %176 = sext i8 %175 to i32 %177 = icmp slt i32 %176, 63 br i1 %177, label %178, label %203 178: ; preds = %174 %179 = load i32, ptr %6, align 4 %180 = add i32 %179, 1 store i32 %180, ptr %6, align 4 %181 = load i32, ptr %7, align 4 %182 = icmp ugt i32 %179, %181 br i1 %182, label %183, label %184 183: ; preds = %178 store i32 0, ptr %3, align 4 br label %216 184: ; preds = %178 %185 = load i32, ptr %6, align 4 %186 = load i8, ptr %8, align 1 %187 = sext i8 %186 to i32 %188 = or i32 %187, 240 %189 = trunc i32 %188 to i8 %190 = load i8, ptr %9, align 1 %191 = sext i8 %190 to i32 %192 = or i32 %191, 128 %193 = load i8, ptr %10, align 1 %194 = sext i8 %193 to i32 %195 = or i32 %194, 128 %196 = load i8, ptr %11, align 1 %197 = sext i8 %196 to i32 %198 = or i32 %197, 128 %199 = call i32 (ptr, i32, i8, ...) @printf(ptr noundef @.str.5, i32 noundef %185, i8 noundef signext %189, i32 noundef %192, i32 noundef %195, i32 noundef %198) br label %200 200: ; preds = %184 %201 = load i8, ptr %11, align 1 %202 = add i8 %201, 1 store i8 %202, ptr %11, align 1 br label %174, !llvm.loop !13 203: ; preds = %174 br label %204 204: ; preds = %203 %205 = load i8, ptr %10, align 1 %206 = add i8 %205, 1 store i8 %206, ptr %10, align 1 br label %169, !llvm.loop !14 207: ; preds = %169 br label %208 208: ; preds = %207 %209 = load i8, ptr %9, align 1 %210 = add i8 %209, 1 store i8 %210, ptr %9, align 1 br label %164, !llvm.loop !15 211: ; preds = %164 br label %212 212: ; preds = %211 %213 = load i8, ptr %8, align 1 %214 = add i8 %213, 1 store i8 %214, ptr %8, align 1 br label %159, !llvm.loop !16 215: ; preds = %159 store i32 0, ptr %3, align 4 br label %216 216: ; preds = %215, %183, %133, %95, %72, %44, %32 %217 = load i32, ptr %3, align 4 ret i32 %217 } declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptdadb4yx.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"%s: invalid numeric value: '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"%s: value cannot be negative: '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"U+%04X '%c'\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"U+%04X '%c%c'\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"U+%04X '%c%c%c'\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"U+%05X '%c%c%c%c'\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 i8, align 1 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i64, align 8 %13 = 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 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 1114111, ptr %7, align 4 br label %62 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i64 @strtol(ptr noundef %20, ptr noundef %13, i32 noundef 0) store i64 %21, ptr %12, align 8 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = load i8, ptr %24, align 1 %26 = icmp ne i8 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %17 %28 = load ptr, ptr %13, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %41 32: ; preds = %27, %17 %33 = load i32, ptr @stderr, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 0 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str, ptr noundef %36, ptr noundef %39) store i32 1, ptr %3, align 4 br label %236 41: ; preds = %27 %42 = load i64, ptr %12, align 8 %43 = icmp slt i64 %42, 0 br i1 %43, label %44, label %53 44: ; preds = %41 %45 = load i32, ptr @stderr, align 4 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 0 %48 = load ptr, ptr %47, align 8 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 1 %51 = load ptr, ptr %50, align 8 %52 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str.1, ptr noundef %48, ptr noundef %51) store i32 1, ptr %3, align 4 br label %236 53: ; preds = %41 %54 = load i64, ptr %12, align 8 %55 = icmp sgt i64 %54, 1114111 br i1 %55, label %56, label %57 56: ; preds = %53 store i64 1114111, ptr %12, align 8 br label %57 57: ; preds = %56, %53 br label %58 58: ; preds = %57 br label %59 59: ; preds = %58 %60 = load i64, ptr %12, align 8 %61 = trunc i64 %60 to i32 store i32 %61, ptr %7, align 4 br label %62 62: ; preds = %59, %16 store i32 0, ptr %6, align 4 store i8 0, ptr %8, align 1 %63 = load i8, ptr %8, align 1 %64 = sext i8 %63 to i32 %65 = icmp slt i32 %64, 127 br i1 %65, label %.lr.ph, label %82 .lr.ph: ; preds = %62 br label %66 66: ; preds = %.lr.ph, %76 %67 = load i32, ptr %6, align 4 %68 = add i32 %67, 1 store i32 %68, ptr %6, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp ugt i32 %67, %69 br i1 %70, label %71, label %72 71: ; preds = %66 store i32 0, ptr %3, align 4 br label %236 72: ; preds = %66 %73 = load i32, ptr %6, align 4 %74 = load i8, ptr %8, align 1 %75 = call i32 (ptr, i32, i8, ...) @printf(ptr noundef @.str.2, i32 noundef %73, i8 noundef signext %74) br label %76 76: ; preds = %72 %77 = load i8, ptr %8, align 1 %78 = add i8 %77, 1 store i8 %78, ptr %8, align 1 %79 = load i8, ptr %8, align 1 %80 = sext i8 %79 to i32 %81 = icmp slt i32 %80, 127 br i1 %81, label %66, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %76 br label %82 82: ; preds = %._crit_edge, %62 store i8 0, ptr %8, align 1 %83 = load i8, ptr %8, align 1 %84 = sext i8 %83 to i32 %85 = icmp slt i32 %84, 31 br i1 %85, label %.lr.ph5, label %119 .lr.ph5: ; preds = %82 br label %86 86: ; preds = %.lr.ph5, %113 store i8 0, ptr %9, align 1 %87 = load i8, ptr %9, align 1 %88 = sext i8 %87 to i32 %89 = icmp slt i32 %88, 63 br i1 %89, label %.lr.ph2, label %112 .lr.ph2: ; preds = %86 br label %90 90: ; preds = %.lr.ph2, %106 %91 = load i32, ptr %6, align 4 %92 = add i32 %91, 1 store i32 %92, ptr %6, align 4 %93 = load i32, ptr %7, align 4 %94 = icmp ugt i32 %91, %93 br i1 %94, label %95, label %96 95: ; preds = %90 store i32 0, ptr %3, align 4 br label %236 96: ; preds = %90 %97 = load i32, ptr %6, align 4 %98 = load i8, ptr %8, align 1 %99 = sext i8 %98 to i32 %100 = or i32 %99, 192 %101 = trunc i32 %100 to i8 %102 = load i8, ptr %9, align 1 %103 = sext i8 %102 to i32 %104 = or i32 %103, 128 %105 = call i32 (ptr, i32, i8, ...) @printf(ptr noundef @.str.3, i32 noundef %97, i8 noundef signext %101, i32 noundef %104) br label %106 106: ; preds = %96 %107 = load i8, ptr %9, align 1 %108 = add i8 %107, 1 store i8 %108, ptr %9, align 1 %109 = load i8, ptr %9, align 1 %110 = sext i8 %109 to i32 %111 = icmp slt i32 %110, 63 br i1 %111, label %90, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %106 br label %112 112: ; preds = %._crit_edge3, %86 br label %113 113: ; preds = %112 %114 = load i8, ptr %8, align 1 %115 = add i8 %114, 1 store i8 %115, ptr %8, align 1 %116 = load i8, ptr %8, align 1 %117 = sext i8 %116 to i32 %118 = icmp slt i32 %117, 31 br i1 %118, label %86, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %113 br label %119 119: ; preds = %._crit_edge6, %82 store i8 0, ptr %8, align 1 %120 = load i8, ptr %8, align 1 %121 = sext i8 %120 to i32 %122 = icmp slt i32 %121, 15 br i1 %122, label %.lr.ph14, label %170 .lr.ph14: ; preds = %119 br label %123 123: ; preds = %.lr.ph14, %164 store i8 0, ptr %9, align 1 %124 = load i8, ptr %9, align 1 %125 = sext i8 %124 to i32 %126 = icmp slt i32 %125, 63 br i1 %126, label %.lr.ph11, label %163 .lr.ph11: ; preds = %123 br label %127 127: ; preds = %.lr.ph11, %157 store i8 0, ptr %10, align 1 %128 = load i8, ptr %10, align 1 %129 = sext i8 %128 to i32 %130 = icmp slt i32 %129, 63 br i1 %130, label %.lr.ph8, label %156 .lr.ph8: ; preds = %127 br label %131 131: ; preds = %.lr.ph8, %150 %132 = load i32, ptr %6, align 4 %133 = add i32 %132, 1 store i32 %133, ptr %6, align 4 %134 = load i32, ptr %7, align 4 %135 = icmp ugt i32 %132, %134 br i1 %135, label %136, label %137 136: ; preds = %131 store i32 0, ptr %3, align 4 br label %236 137: ; preds = %131 %138 = load i32, ptr %6, align 4 %139 = load i8, ptr %8, align 1 %140 = sext i8 %139 to i32 %141 = or i32 %140, 224 %142 = trunc i32 %141 to i8 %143 = load i8, ptr %9, align 1 %144 = sext i8 %143 to i32 %145 = or i32 %144, 128 %146 = load i8, ptr %10, align 1 %147 = sext i8 %146 to i32 %148 = or i32 %147, 128 %149 = call i32 (ptr, i32, i8, ...) @printf(ptr noundef @.str.4, i32 noundef %138, i8 noundef signext %142, i32 noundef %145, i32 noundef %148) br label %150 150: ; preds = %137 %151 = load i8, ptr %10, align 1 %152 = add i8 %151, 1 store i8 %152, ptr %10, align 1 %153 = load i8, ptr %10, align 1 %154 = sext i8 %153 to i32 %155 = icmp slt i32 %154, 63 br i1 %155, label %131, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %150 br label %156 156: ; preds = %._crit_edge9, %127 br label %157 157: ; preds = %156 %158 = load i8, ptr %9, align 1 %159 = add i8 %158, 1 store i8 %159, ptr %9, align 1 %160 = load i8, ptr %9, align 1 %161 = sext i8 %160 to i32 %162 = icmp slt i32 %161, 63 br i1 %162, label %127, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %157 br label %163 163: ; preds = %._crit_edge12, %123 br label %164 164: ; preds = %163 %165 = load i8, ptr %8, align 1 %166 = add i8 %165, 1 store i8 %166, ptr %8, align 1 %167 = load i8, ptr %8, align 1 %168 = sext i8 %167 to i32 %169 = icmp slt i32 %168, 15 br i1 %169, label %123, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %164 br label %170 170: ; preds = %._crit_edge15, %119 store i8 0, ptr %8, align 1 %171 = load i8, ptr %8, align 1 %172 = sext i8 %171 to i32 %173 = icmp slt i32 %172, 7 br i1 %173, label %.lr.ph26, label %235 .lr.ph26: ; preds = %170 br label %174 174: ; preds = %.lr.ph26, %229 store i8 0, ptr %9, align 1 %175 = load i8, ptr %9, align 1 %176 = sext i8 %175 to i32 %177 = icmp slt i32 %176, 63 br i1 %177, label %.lr.ph23, label %228 .lr.ph23: ; preds = %174 br label %178 178: ; preds = %.lr.ph23, %222 store i8 0, ptr %10, align 1 %179 = load i8, ptr %10, align 1 %180 = sext i8 %179 to i32 %181 = icmp slt i32 %180, 63 br i1 %181, label %.lr.ph20, label %221 .lr.ph20: ; preds = %178 br label %182 182: ; preds = %.lr.ph20, %215 store i8 0, ptr %11, align 1 %183 = load i8, ptr %11, align 1 %184 = sext i8 %183 to i32 %185 = icmp slt i32 %184, 63 br i1 %185, label %.lr.ph17, label %214 .lr.ph17: ; preds = %182 br label %186 186: ; preds = %.lr.ph17, %208 %187 = load i32, ptr %6, align 4 %188 = add i32 %187, 1 store i32 %188, ptr %6, align 4 %189 = load i32, ptr %7, align 4 %190 = icmp ugt i32 %187, %189 br i1 %190, label %191, label %192 191: ; preds = %186 store i32 0, ptr %3, align 4 br label %236 192: ; preds = %186 %193 = load i32, ptr %6, align 4 %194 = load i8, ptr %8, align 1 %195 = sext i8 %194 to i32 %196 = or i32 %195, 240 %197 = trunc i32 %196 to i8 %198 = load i8, ptr %9, align 1 %199 = sext i8 %198 to i32 %200 = or i32 %199, 128 %201 = load i8, ptr %10, align 1 %202 = sext i8 %201 to i32 %203 = or i32 %202, 128 %204 = load i8, ptr %11, align 1 %205 = sext i8 %204 to i32 %206 = or i32 %205, 128 %207 = call i32 (ptr, i32, i8, ...) @printf(ptr noundef @.str.5, i32 noundef %193, i8 noundef signext %197, i32 noundef %200, i32 noundef %203, i32 noundef %206) br label %208 208: ; preds = %192 %209 = load i8, ptr %11, align 1 %210 = add i8 %209, 1 store i8 %210, ptr %11, align 1 %211 = load i8, ptr %11, align 1 %212 = sext i8 %211 to i32 %213 = icmp slt i32 %212, 63 br i1 %213, label %186, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %208 br label %214 214: ; preds = %._crit_edge18, %182 br label %215 215: ; preds = %214 %216 = load i8, ptr %10, align 1 %217 = add i8 %216, 1 store i8 %217, ptr %10, align 1 %218 = load i8, ptr %10, align 1 %219 = sext i8 %218 to i32 %220 = icmp slt i32 %219, 63 br i1 %220, label %182, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %215 br label %221 221: ; preds = %._crit_edge21, %178 br label %222 222: ; preds = %221 %223 = load i8, ptr %9, align 1 %224 = add i8 %223, 1 store i8 %224, ptr %9, align 1 %225 = load i8, ptr %9, align 1 %226 = sext i8 %225 to i32 %227 = icmp slt i32 %226, 63 br i1 %227, label %178, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %222 br label %228 228: ; preds = %._crit_edge24, %174 br label %229 229: ; preds = %228 %230 = load i8, ptr %8, align 1 %231 = add i8 %230, 1 store i8 %231, ptr %8, align 1 %232 = load i8, ptr %8, align 1 %233 = sext i8 %232 to i32 %234 = icmp slt i32 %233, 7 br i1 %234, label %174, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %229 br label %235 235: ; preds = %._crit_edge27, %170 store i32 0, ptr %3, align 4 br label %236 236: ; preds = %235, %191, %136, %95, %71, %44, %32 %237 = load i32, ptr %3, align 4 ret i32 %237 } declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7}
; ModuleID = '/tmp/tmps7w0fmq_.c' source_filename = "/tmp/tmps7w0fmq_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reporting_quaddobl_path_tracker(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca [4 x i32], align 16 %16 = alloca [2 x i32], align 4 %17 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %18 = load i32, ptr %8, align 4 %19 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 0 store i32 %18, ptr %19, align 4 %20 = load ptr, ptr %9, align 8 %21 = load i32, ptr %20, align 4 %22 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 1 store i32 %21, ptr %22, align 4 %23 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0 %24 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 0 %25 = load ptr, ptr %10, align 8 %26 = call i32 @_ada_use_c2phc4c(i32 noundef 186, ptr noundef %23, ptr noundef %24, ptr noundef %25, i32 noundef 0) store i32 %26, ptr %17, align 4 %27 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 1 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %9, align 8 store i32 %28, ptr %29, align 4 %30 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0 %31 = load i32, ptr %30, align 16 %32 = load ptr, ptr %11, align 8 store i32 %31, ptr %32, align 4 %33 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 1 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %12, align 8 store i32 %34, ptr %35, align 4 %36 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 2 %37 = load i32, ptr %36, align 8 %38 = load ptr, ptr %13, align 8 store i32 %37, ptr %38, align 4 %39 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 3 %40 = load i32, ptr %39, align 4 %41 = load ptr, ptr %14, align 8 store i32 %40, ptr %41, align 4 %42 = load i32, ptr %17, align 4 ret i32 %42 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps7w0fmq_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reporting_quaddobl_path_tracker(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca [4 x i32], align 16 %16 = alloca [2 x i32], align 4 %17 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %18 = load i32, ptr %8, align 4 %19 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 0 store i32 %18, ptr %19, align 4 %20 = load ptr, ptr %9, align 8 %21 = load i32, ptr %20, align 4 %22 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 1 store i32 %21, ptr %22, align 4 %23 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0 %24 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 0 %25 = load ptr, ptr %10, align 8 %26 = call i32 @_ada_use_c2phc4c(i32 noundef 186, ptr noundef %23, ptr noundef %24, ptr noundef %25, i32 noundef 0) store i32 %26, ptr %17, align 4 %27 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 1 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %9, align 8 store i32 %28, ptr %29, align 4 %30 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0 %31 = load i32, ptr %30, align 16 %32 = load ptr, ptr %11, align 8 store i32 %31, ptr %32, align 4 %33 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 1 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %12, align 8 store i32 %34, ptr %35, align 4 %36 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 2 %37 = load i32, ptr %36, align 8 %38 = load ptr, ptr %13, align 8 store i32 %37, ptr %38, align 4 %39 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 3 %40 = load i32, ptr %39, align 4 %41 = load ptr, ptr %14, align 8 store i32 %40, ptr %41, align 4 %42 = load i32, ptr %17, align 4 ret i32 %42 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0gjwh7p0.c' source_filename = "/tmp/tmp0gjwh7p0.c" target datalayout = "e-m:e-p270: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/tmp0gjwh7p0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_zjog6xa.c' source_filename = "/tmp/tmp_zjog6xa.c" target datalayout = "e-m:e-p270: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_zjog6xa.c" target datalayout = "e-m:e-p270: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/tmpi61wfm55.c' source_filename = "/tmp/tmpi61wfm55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nodup: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"nnodup: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"dup: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [26 x i32], align 16 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %7, align 8 %18 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 0 %19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 104) store i32 0, ptr %6, align 4 br label %20 20: ; preds = %36, %14 %21 = load i32, ptr %6, align 4 %22 = load ptr, ptr %7, align 8 %23 = call i32 @strlen(ptr noundef %22) %24 = icmp slt i32 %21, %23 br i1 %24, label %25, label %39 25: ; preds = %20 %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = call signext i8 @toupper(i8 noundef signext %30) %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 %31, ptr %35, align 1 br label %36 36: ; preds = %25 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 br label %20, !llvm.loop !6 39: ; preds = %20 %40 = load ptr, ptr %7, align 8 %41 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 0 %42 = call ptr @nodup(ptr noundef %40, ptr noundef %41) %43 = call i32 @printf(ptr noundef @.str, ptr noundef %42) %44 = load ptr, ptr %7, align 8 %45 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 0 %46 = call ptr @nnodup(ptr noundef %44, ptr noundef %45) %47 = call i32 @printf(ptr noundef @.str.1, ptr noundef %46) %48 = load ptr, ptr %7, align 8 %49 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 0 %50 = call ptr @dup(ptr noundef %48, ptr noundef %49) %51 = call i32 @printf(ptr noundef @.str.2, ptr noundef %50) store i32 0, ptr %6, align 4 br label %52 52: ; preds = %74, %39 %53 = load i32, ptr %6, align 4 %54 = icmp slt i32 %53, 26 br i1 %54, label %55, label %77 55: ; preds = %52 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 65, %56 %58 = trunc i32 %57 to i8 %59 = call i32 @putchar(i8 noundef signext %58) store i32 0, ptr %9, align 4 br label %60 60: ; preds = %69, %55 %61 = load i32, ptr %9, align 4 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = icmp slt i32 %61, %65 br i1 %66, label %67, label %72 67: ; preds = %60 %68 = call i32 @putchar(i8 noundef signext 61) br label %69 69: ; preds = %67 %70 = load i32, ptr %9, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %9, align 4 br label %60, !llvm.loop !8 72: ; preds = %60 %73 = call i32 @putchar(i8 noundef signext 10) br label %74 74: ; preds = %72 %75 = load i32, ptr %6, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %6, align 4 br label %52, !llvm.loop !9 77: ; preds = %52 ret i32 0 } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare signext i8 @toupper(i8 noundef signext) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @nodup(ptr noundef, ptr noundef) #2 declare ptr @nnodup(ptr noundef, ptr noundef) #2 declare ptr @dup(ptr noundef, ptr noundef) #2 declare i32 @putchar(i8 noundef signext) #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 = { 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 #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 } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi61wfm55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nodup: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"nnodup: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"dup: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [26 x i32], align 16 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %7, align 8 %18 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 0 %19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 104) store i32 0, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %7, align 8 %22 = call i32 @strlen(ptr noundef %21) %23 = icmp slt i32 %20, %22 br i1 %23, label %.lr.ph, label %42 .lr.ph: ; preds = %14 br label %24 24: ; preds = %.lr.ph, %35 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = call signext i8 @toupper(i8 noundef signext %29) %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 %30, ptr %34, align 1 br label %35 35: ; preds = %24 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 %38 = load i32, ptr %6, align 4 %39 = load ptr, ptr %7, align 8 %40 = call i32 @strlen(ptr noundef %39) %41 = icmp slt i32 %38, %40 br i1 %41, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %42 42: ; preds = %._crit_edge, %14 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 0 %45 = call ptr @nodup(ptr noundef %43, ptr noundef %44) %46 = call i32 @printf(ptr noundef @.str, ptr noundef %45) %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 0 %49 = call ptr @nnodup(ptr noundef %47, ptr noundef %48) %50 = call i32 @printf(ptr noundef @.str.1, ptr noundef %49) %51 = load ptr, ptr %7, align 8 %52 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 0 %53 = call ptr @dup(ptr noundef %51, ptr noundef %52) %54 = call i32 @printf(ptr noundef @.str.2, ptr noundef %53) store i32 0, ptr %6, align 4 %55 = load i32, ptr %6, align 4 %56 = icmp slt i32 %55, 26 br i1 %56, label %.lr.ph5, label %86 .lr.ph5: ; preds = %42 br label %57 57: ; preds = %.lr.ph5, %81 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 65, %58 %60 = trunc i32 %59 to i8 %61 = call i32 @putchar(i8 noundef signext %60) store i32 0, ptr %9, align 4 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %6, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %64 %66 = load i32, ptr %65, align 4 %67 = icmp slt i32 %62, %66 br i1 %67, label %.lr.ph2, label %79 .lr.ph2: ; preds = %57 br label %68 68: ; preds = %.lr.ph2, %70 %69 = call i32 @putchar(i8 noundef signext 61) br label %70 70: ; preds = %68 %71 = load i32, ptr %9, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %9, align 4 %73 = load i32, ptr %9, align 4 %74 = load i32, ptr %6, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [26 x i32], ptr %8, i64 0, i64 %75 %77 = load i32, ptr %76, align 4 %78 = icmp slt i32 %73, %77 br i1 %78, label %68, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %70 br label %79 79: ; preds = %._crit_edge3, %57 %80 = call i32 @putchar(i8 noundef signext 10) br label %81 81: ; preds = %79 %82 = load i32, ptr %6, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %6, align 4 %84 = load i32, ptr %6, align 4 %85 = icmp slt i32 %84, 26 br i1 %85, label %57, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %81 br label %86 86: ; preds = %._crit_edge6, %42 ret i32 0 } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare signext i8 @toupper(i8 noundef signext) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @nodup(ptr noundef, ptr noundef) #2 declare ptr @nnodup(ptr noundef, ptr noundef) #2 declare ptr @dup(ptr noundef, ptr noundef) #2 declare i32 @putchar(i8 noundef signext) #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 = { 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 #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 } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp_axbhsag.c' source_filename = "/tmp/tmp_axbhsag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(%d)[%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @diagonal_sum(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [20 x i32], align 16 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %40 10: ; preds = %1 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %11 11: ; preds = %18, %10 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 20 br i1 %13, label %14, label %21 14: ; preds = %11 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %16 store i32 0, ptr %17, align 4 br label %18 18: ; preds = %14 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %11, !llvm.loop !6 21: ; preds = %11 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %25 = call i32 @diagonal_sum_main(ptr noundef %22, i32 noundef %23, ptr noundef %24) store i32 0, ptr %4, align 4 br label %26 26: ; preds = %36, %21 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %27, 20 br i1 %28, label %29, label %39 29: ; preds = %26 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 @printf(ptr noundef @.str, i32 noundef %30, i32 noundef %34) br label %36 36: ; preds = %29 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 br label %26, !llvm.loop !8 39: ; preds = %26 store i32 0, ptr %2, align 4 br label %40 40: ; preds = %39, %9 %41 = load i32, ptr %2, align 4 ret i32 %41 } declare i32 @diagonal_sum_main(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_axbhsag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(%d)[%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @diagonal_sum(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [20 x i32], align 16 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %42 10: ; preds = %1 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 20 br i1 %12, label %.lr.ph, label %22 .lr.ph: ; preds = %10 br label %13 13: ; preds = %.lr.ph, %17 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %15 store i32 0, ptr %16, align 4 br label %17 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 20 br i1 %21, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %10 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %26 = call i32 @diagonal_sum_main(ptr noundef %23, i32 noundef %24, ptr noundef %25) store i32 0, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %27, 20 br i1 %28, label %.lr.ph2, label %41 .lr.ph2: ; preds = %22 br label %29 29: ; preds = %.lr.ph2, %36 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 @printf(ptr noundef @.str, i32 noundef %30, i32 noundef %34) br label %36 36: ; preds = %29 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %39, 20 br i1 %40, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %41 41: ; preds = %._crit_edge3, %22 store i32 0, ptr %2, align 4 br label %42 42: ; preds = %41, %9 %43 = load i32, ptr %2, align 4 ret i32 %43 } declare i32 @diagonal_sum_main(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpil4fcfi3.c' source_filename = "/tmp/tmpil4fcfi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocateCharVector(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i64 @calloc(i32 noundef %5, i32 noundef 1) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 (...) @memoryCheck() br label %11 11: ; preds = %9, %1 store i32 0, ptr %3, align 4 br label %12 12: ; preds = %21, %11 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 0, ptr %20, align 1 br label %21 21: ; preds = %16 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 br label %12, !llvm.loop !6 24: ; preds = %12 %25 = load ptr, ptr %4, align 8 ret ptr %25 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @memoryCheck(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpil4fcfi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocateCharVector(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i64 @calloc(i32 noundef %5, i32 noundef 1) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 (...) @memoryCheck() br label %11 11: ; preds = %9, %1 store i32 0, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %26 .lr.ph: ; preds = %11 br label %15 15: ; preds = %.lr.ph, %20 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 0, ptr %19, align 1 br label %20 20: ; preds = %15 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %11 %27 = load ptr, ptr %4, align 8 ret ptr %27 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @memoryCheck(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp5b3m88w_.c' source_filename = "/tmp/tmp5b3m88w_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/NOAA-PMEL/Ferret/refs/heads/master/fmt/src/tm_get_lm_mem.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tm_get_lm_mem_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %8, align 8 %10 = mul i64 8, %9 %11 = trunc i64 %10 to i32 %12 = call i64 @FerMem_Malloc(i32 noundef %11, ptr noundef @.str, i32 noundef 18) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %22 16: ; preds = %3 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %7, align 8 %20 = call i32 @tm_store_lm_ptr_(ptr noundef %17, ptr noundef %18, ptr noundef %19) %21 = load ptr, ptr %6, align 8 store i32 3, ptr %21, align 4 br label %24 22: ; preds = %3 %23 = load ptr, ptr %6, align 8 store i32 0, ptr %23, align 4 br label %24 24: ; preds = %22, %16 ret void } declare i64 @FerMem_Malloc(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @tm_store_lm_ptr_(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/tmp5b3m88w_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/NOAA-PMEL/Ferret/refs/heads/master/fmt/src/tm_get_lm_mem.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tm_get_lm_mem_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %8, align 8 %10 = mul i64 8, %9 %11 = trunc i64 %10 to i32 %12 = call i64 @FerMem_Malloc(i32 noundef %11, ptr noundef @.str, i32 noundef 18) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %22 16: ; preds = %3 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %7, align 8 %20 = call i32 @tm_store_lm_ptr_(ptr noundef %17, ptr noundef %18, ptr noundef %19) %21 = load ptr, ptr %6, align 8 store i32 3, ptr %21, align 4 br label %24 22: ; preds = %3 %23 = load ptr, ptr %6, align 8 store i32 0, ptr %23, align 4 br label %24 24: ; preds = %22, %16 ret void } declare i64 @FerMem_Malloc(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @tm_store_lm_ptr_(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/tmpiwn0l6ph.c' source_filename = "/tmp/tmpiwn0l6ph.c" target datalayout = "e-m:e-p270: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/tmpiwn0l6ph.c" target datalayout = "e-m:e-p270: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/tmp0f43z_v0.c' source_filename = "/tmp/tmp0f43z_v0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shm_create(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %6, align 8 %11 = alloca ptr, i64 %9, align 16 store i64 %9, ptr %7, align 8 store i32 0, ptr %5, align 4 br label %12 12: ; preds = %21, %2 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = call ptr @malloc(i32 noundef 8) %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %11, i64 %19 store ptr %17, ptr %20, align 8 br label %21 21: ; preds = %16 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %12, !llvm.loop !6 24: ; preds = %12 store i32 0, ptr %5, align 4 br label %25 25: ; preds = %39, %24 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %42 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call ptr @shm_create_by_monitor(i32 noundef %34) %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %11, i64 %37 store ptr %35, ptr %38, align 8 br label %39 39: ; preds = %29 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %5, align 4 br label %25, !llvm.loop !8 42: ; preds = %25 %43 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %43) ret ptr %11 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @malloc(i32 noundef) #2 declare ptr @shm_create_by_monitor(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0f43z_v0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shm_create(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %6, align 8 %11 = alloca ptr, i64 %9, align 16 store i64 %9, ptr %7, align 8 store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %20 %16 = call ptr @malloc(i32 noundef 8) %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %11, i64 %18 store ptr %16, ptr %19, align 8 br label %20 20: ; preds = %15 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 store i32 0, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph2, label %46 .lr.ph2: ; preds = %26 br label %30 30: ; preds = %.lr.ph2, %40 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call ptr @shm_create_by_monitor(i32 noundef %35) %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %11, i64 %38 store ptr %36, ptr %39, align 8 br label %40 40: ; preds = %30 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %3, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %46 46: ; preds = %._crit_edge3, %26 %47 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %47) ret ptr %11 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @malloc(i32 noundef) #2 declare ptr @shm_create_by_monitor(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpw6agm041.c' source_filename = "/tmp/tmpw6agm041.c" target datalayout = "e-m:e-p270: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/tmpw6agm041.c" target datalayout = "e-m:e-p270: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/tmplwe4nwks.c' source_filename = "/tmp/tmplwe4nwks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract_request(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 256) %15 = load ptr, ptr %7, align 8 %16 = call i32 @decode_domain_name(ptr noundef %15) store i32 %16, ptr %10, align 4 %17 = load i32, ptr %10, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %20 19: ; preds = %4 store i32 1, ptr %5, align 4 br label %43 20: ; preds = %4 %21 = load ptr, ptr %6, align 8 %22 = call i32 @strnlen(ptr noundef %21, i32 noundef 536) store i32 %22, ptr %11, align 4 %23 = load i32, ptr %11, align 4 %24 = icmp eq i32 %23, 536 br i1 %24, label %25, label %26 25: ; preds = %20 store i32 1, ptr %5, align 4 br label %43 26: ; preds = %20 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %11, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = getelementptr inbounds i8, ptr %30, i64 1 %32 = load i16, ptr %31, align 2 %33 = call zeroext i16 @ntohs(i16 noundef zeroext %32) %34 = load ptr, ptr %8, align 8 store i16 %33, ptr %34, align 2 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %11, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = getelementptr inbounds i8, ptr %38, i64 3 %40 = load i16, ptr %39, align 2 %41 = call zeroext i16 @ntohs(i16 noundef zeroext %40) %42 = load ptr, ptr %9, align 8 store i16 %41, ptr %42, align 2 store i32 0, ptr %5, align 4 br label %43 43: ; preds = %26, %25, %19 %44 = load i32, ptr %5, align 4 ret i32 %44 } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @decode_domain_name(ptr noundef) #1 declare i32 @strnlen(ptr noundef, i32 noundef) #1 declare zeroext i16 @ntohs(i16 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/tmplwe4nwks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract_request(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 256) %15 = load ptr, ptr %7, align 8 %16 = call i32 @decode_domain_name(ptr noundef %15) store i32 %16, ptr %10, align 4 %17 = load i32, ptr %10, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %20 19: ; preds = %4 store i32 1, ptr %5, align 4 br label %43 20: ; preds = %4 %21 = load ptr, ptr %6, align 8 %22 = call i32 @strnlen(ptr noundef %21, i32 noundef 536) store i32 %22, ptr %11, align 4 %23 = load i32, ptr %11, align 4 %24 = icmp eq i32 %23, 536 br i1 %24, label %25, label %26 25: ; preds = %20 store i32 1, ptr %5, align 4 br label %43 26: ; preds = %20 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %11, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = getelementptr inbounds i8, ptr %30, i64 1 %32 = load i16, ptr %31, align 2 %33 = call zeroext i16 @ntohs(i16 noundef zeroext %32) %34 = load ptr, ptr %8, align 8 store i16 %33, ptr %34, align 2 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %11, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = getelementptr inbounds i8, ptr %38, i64 3 %40 = load i16, ptr %39, align 2 %41 = call zeroext i16 @ntohs(i16 noundef zeroext %40) %42 = load ptr, ptr %9, align 8 store i16 %41, ptr %42, align 2 store i32 0, ptr %5, align 4 br label %43 43: ; preds = %26, %25, %19 %44 = load i32, ptr %5, align 4 ret i32 %44 } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @decode_domain_name(ptr noundef) #1 declare i32 @strnlen(ptr noundef, i32 noundef) #1 declare zeroext i16 @ntohs(i16 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/tmp25ajv1hr.c' source_filename = "/tmp/tmp25ajv1hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%.10lf\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 double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %4, align 8 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %20, %0 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 1000000 br i1 %7, label %8, label %23 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = sitofp i32 %9 to double %11 = fadd double %10, 5.000000e-01 %12 = fdiv double %11, 1.000000e+06 store double %12, ptr %3, align 8 %13 = load double, ptr %3, align 8 %14 = load double, ptr %3, align 8 %15 = call double @llvm.fmuladd.f64(double %13, double %14, double 1.000000e+00) %16 = fdiv double 4.000000e+00, %15 store double %16, ptr %3, align 8 %17 = load double, ptr %3, align 8 %18 = load double, ptr %4, align 8 %19 = fadd double %18, %17 store double %19, ptr %4, align 8 br label %20 20: ; preds = %8 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %5, !llvm.loop !6 23: ; preds = %5 %24 = load double, ptr %4, align 8 %25 = fdiv double %24, 1.000000e+06 %26 = call i32 @printf(ptr noundef @.str, double noundef %25) ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @printf(ptr noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp25ajv1hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%.10lf\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 double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %4, align 8 store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 1000000 br i1 %6, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %19 %8 = load i32, ptr %2, align 4 %9 = sitofp i32 %8 to double %10 = fadd double %9, 5.000000e-01 %11 = fdiv double %10, 1.000000e+06 store double %11, ptr %3, align 8 %12 = load double, ptr %3, align 8 %13 = load double, ptr %3, align 8 %14 = call double @llvm.fmuladd.f64(double %12, double %13, double 1.000000e+00) %15 = fdiv double 4.000000e+00, %14 store double %15, ptr %3, align 8 %16 = load double, ptr %3, align 8 %17 = load double, ptr %4, align 8 %18 = fadd double %17, %16 store double %18, ptr %4, align 8 br label %19 19: ; preds = %7 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %22, 1000000 br i1 %23, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 %25 = load double, ptr %4, align 8 %26 = fdiv double %25, 1.000000e+06 %27 = call i32 @printf(ptr noundef @.str, double noundef %26) ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @printf(ptr noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwaipqwde.c' source_filename = "/tmp/tmpwaipqwde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sysfs_set_attr(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %10, align 4 %15 = call i32 @sysfs_find_fd(i32 noundef %13, ptr noundef %11, i32 noundef %14) store i32 %15, ptr %12, align 4 %16 = load i32, ptr %12, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %25, label %18 18: ; preds = %5 %19 = load ptr, ptr %11, align 8 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %8, align 8 %22 = load ptr, ptr %9, align 8 %23 = load i32, ptr %10, align 4 %24 = call i32 @sysfs_write_attr(ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, i32 noundef %23) store i32 %24, ptr %12, align 4 br label %25 25: ; preds = %18, %5 %26 = load i32, ptr %12, align 4 ret i32 %26 } declare i32 @sysfs_find_fd(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sysfs_write_attr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwaipqwde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sysfs_set_attr(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %10, align 4 %15 = call i32 @sysfs_find_fd(i32 noundef %13, ptr noundef %11, i32 noundef %14) store i32 %15, ptr %12, align 4 %16 = load i32, ptr %12, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %25, label %18 18: ; preds = %5 %19 = load ptr, ptr %11, align 8 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %8, align 8 %22 = load ptr, ptr %9, align 8 %23 = load i32, ptr %10, align 4 %24 = call i32 @sysfs_write_attr(ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, i32 noundef %23) store i32 %24, ptr %12, align 4 br label %25 25: ; preds = %18, %5 %26 = load i32, ptr %12, align 4 ret i32 %26 } declare i32 @sysfs_find_fd(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sysfs_write_attr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptltemoba.c' source_filename = "/tmp/tmptltemoba.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5000 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 5000, i32 noundef %7) %9 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strlen(ptr noundef %9) %11 = sub nsw i32 %10, 1 store i32 %11, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %12 12: ; preds = %32, %0 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %37 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 store i8 %20, ptr %3, align 1 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 %26 store i8 %24, ptr %27, align 1 %28 = load i8, ptr %3, align 1 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 %30 store i8 %28, ptr %31, align 1 br label %32 32: ; preds = %16 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %5, align 4 br label %12, !llvm.loop !6 37: ; preds = %12 %38 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 0 %39 = call i32 @printf(ptr noundef @.str, ptr noundef %38) ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptltemoba.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5000 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 5000, i32 noundef %7) %9 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strlen(ptr noundef %9) %11 = sub nsw i32 %10, 1 store i32 %11, ptr %5, align 4 store i32 0, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %39 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %31 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 store i8 %19, ptr %3, align 1 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 %25 store i8 %23, ptr %26, align 1 %27 = load i8, ptr %3, align 1 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 %29 store i8 %27, ptr %30, align 1 br label %31 31: ; preds = %15 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %5, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %39 39: ; preds = %._crit_edge, %0 %40 = getelementptr inbounds [5000 x i8], ptr %2, i64 0, i64 0 %41 = call i32 @printf(ptr noundef @.str, ptr noundef %40) ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqs3lx5vl.c' source_filename = "/tmp/tmpqs3lx5vl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_pairs_wrapper(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %3, align 4 br label %24 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 2 br i1 %14, label %15, label %16 15: ; preds = %12, %9 store i32 0, ptr %3, align 4 br label %24 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %16 store i32 0, ptr %3, align 4 br label %24 20: ; preds = %16 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = call i32 @count_pairs(ptr noundef %21, i32 noundef %22, i32 noundef 0, i32 noundef 2) store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %20, %19, %15, %8 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @count_pairs(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqs3lx5vl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_pairs_wrapper(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %3, align 4 br label %24 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 2 br i1 %14, label %15, label %16 15: ; preds = %12, %9 store i32 0, ptr %3, align 4 br label %24 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %16 store i32 0, ptr %3, align 4 br label %24 20: ; preds = %16 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = call i32 @count_pairs(ptr noundef %21, i32 noundef %22, i32 noundef 0, i32 noundef 2) store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %20, %19, %15, %8 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @count_pairs(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprwd7sh5o.c' source_filename = "/tmp/tmprwd7sh5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mod_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @g_free(ptr noundef %3) ret i32 0 } declare i32 @g_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprwd7sh5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mod_exit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @g_free(ptr noundef %3) ret i32 0 } declare i32 @g_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvpuszywz.c' source_filename = "/tmp/tmpvpuszywz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\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 ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %5, align 8 %11 = alloca i32, i64 %9, align 16 store i64 %9, ptr %6, align 8 store i32 0, ptr %3, align 4 br label %12 12: ; preds = %30, %0 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %31 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %11, i64 %18 %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19) %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %11, i64 %22 %24 = load i32, ptr %23, align 4 %25 = srem i32 %24, 2 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %16 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %27, %16 br label %12, !llvm.loop !6 31: ; preds = %12 store i32 0, ptr %3, align 4 br label %32 32: ; preds = %52, %31 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %2, align 4 %35 = sdiv i32 %34, 2 %36 = icmp slt i32 %33, %35 br i1 %36, label %37, label %55 37: ; preds = %32 %38 = load i32, ptr %3, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %11, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %2, align 4 %43 = load i32, ptr %4, align 4 %44 = sub nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %11, i64 %45 %47 = load i32, ptr %46, align 4 %48 = sub nsw i32 %41, %47 %49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48) %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %4, align 4 br label %52 52: ; preds = %37 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %3, align 4 br label %32, !llvm.loop !8 55: ; preds = %32 %56 = load i32, ptr %2, align 4 %57 = srem i32 %56, 2 %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %66 59: ; preds = %55 %60 = load i32, ptr %2, align 4 %61 = sdiv i32 %60, 2 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %11, i64 %62 %64 = load i32, ptr %63, align 4 %65 = call i32 @printf(ptr noundef @.str, i32 noundef %64) br label %66 66: ; preds = %59, %55 store i32 0, ptr %1, align 4 %67 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %67) %68 = load i32, ptr %1, align 4 ret i32 %68 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvpuszywz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\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 ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %5, align 8 %11 = alloca i32, i64 %9, align 16 store i64 %9, ptr %6, align 8 store i32 0, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %29 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %11, i64 %17 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18) %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %11, i64 %21 %23 = load i32, ptr %22, align 4 %24 = srem i32 %23, 2 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %15 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %29 29: ; preds = %26, %15 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %33 33: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %2, align 4 %36 = sdiv i32 %35, 2 %37 = icmp slt i32 %34, %36 br i1 %37, label %.lr.ph2, label %60 .lr.ph2: ; preds = %33 br label %38 38: ; preds = %.lr.ph2, %53 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %11, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %2, align 4 %44 = load i32, ptr %4, align 4 %45 = sub nsw i32 %43, %44 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %11, i64 %46 %48 = load i32, ptr %47, align 4 %49 = sub nsw i32 %42, %48 %50 = call i32 @printf(ptr noundef @.str.1, i32 noundef %49) %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %4, align 4 br label %53 53: ; preds = %38 %54 = load i32, ptr %3, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %3, align 4 %56 = load i32, ptr %3, align 4 %57 = load i32, ptr %2, align 4 %58 = sdiv i32 %57, 2 %59 = icmp slt i32 %56, %58 br i1 %59, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %60 60: ; preds = %._crit_edge3, %33 %61 = load i32, ptr %2, align 4 %62 = srem i32 %61, 2 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %71 64: ; preds = %60 %65 = load i32, ptr %2, align 4 %66 = sdiv i32 %65, 2 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %11, i64 %67 %69 = load i32, ptr %68, align 4 %70 = call i32 @printf(ptr noundef @.str, i32 noundef %69) br label %71 71: ; preds = %64, %60 store i32 0, ptr %1, align 4 %72 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %72) %73 = load i32, ptr %1, align 4 ret i32 %73 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpatztt02q.c' source_filename = "/tmp/tmpatztt02q.c" target datalayout = "e-m:e-p270: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/tmpatztt02q.c" target datalayout = "e-m:e-p270: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/tmpsldfjl3s.c' source_filename = "/tmp/tmpsldfjl3s.c" target datalayout = "e-m:e-p270: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 [50 x i8] c"Usage: zyxbcm [-i <inputfile>] [-o <outputfile>]\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @EXIT_FAILURE, align 4 %4 = call i32 @exit(i32 noundef %3) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsldfjl3s.c" target datalayout = "e-m:e-p270: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 [50 x i8] c"Usage: zyxbcm [-i <inputfile>] [-o <outputfile>]\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @EXIT_FAILURE, align 4 %4 = call i32 @exit(i32 noundef %3) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsrs5_9l3.c' source_filename = "/tmp/tmpsrs5_9l3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Entra el nombre de subintervals (n > 0): \00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"ERROR: el nombre ha de ser positiu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_degree() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i64 (...) @read_number() %4 = trunc i64 %3 to i32 store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = icmp sle i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @printf(ptr noundef) #1 declare i64 @read_number(...) #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/tmpsrs5_9l3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Entra el nombre de subintervals (n > 0): \00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"ERROR: el nombre ha de ser positiu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_degree() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i64 (...) @read_number() %4 = trunc i64 %3 to i32 store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = icmp sle i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @printf(ptr noundef) #1 declare i64 @read_number(...) #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/tmpob4ey1d2.c' source_filename = "/tmp/tmpob4ey1d2.c" target datalayout = "e-m:e-p270: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/tmpob4ey1d2.c" target datalayout = "e-m:e-p270: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/tmpclc4ikpy.c' source_filename = "/tmp/tmpclc4ikpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [56 x i8] c"The area of (%.4f,%.4f), (%.4f,0) and (0,%.4f) is %.4f.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %8 = load float, ptr %2, align 4 %9 = load float, ptr %3, align 4 %10 = fmul float %8, %9 %11 = fdiv float %10, 2.000000e+00 %12 = call float @fabs(float noundef %11) store float %12, ptr %4, align 4 %13 = load float, ptr %2, align 4 %14 = fpext float %13 to double %15 = load float, ptr %3, align 4 %16 = fpext float %15 to double %17 = load float, ptr %2, align 4 %18 = fpext float %17 to double %19 = load float, ptr %3, align 4 %20 = fpext float %19 to double %21 = load float, ptr %4, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %14, double noundef %16, double noundef %18, double noundef %20, double noundef %22) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare float @fabs(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpclc4ikpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [56 x i8] c"The area of (%.4f,%.4f), (%.4f,0) and (0,%.4f) is %.4f.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %8 = load float, ptr %2, align 4 %9 = load float, ptr %3, align 4 %10 = fmul float %8, %9 %11 = fdiv float %10, 2.000000e+00 %12 = call float @fabs(float noundef %11) store float %12, ptr %4, align 4 %13 = load float, ptr %2, align 4 %14 = fpext float %13 to double %15 = load float, ptr %3, align 4 %16 = fpext float %15 to double %17 = load float, ptr %2, align 4 %18 = fpext float %17 to double %19 = load float, ptr %3, align 4 %20 = fpext float %19 to double %21 = load float, ptr %4, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %14, double noundef %16, double noundef %18, double noundef %20, double noundef %22) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare float @fabs(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7allfosi.c' source_filename = "/tmp/tmp7allfosi.c" target datalayout = "e-m:e-p270: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/tmp7allfosi.c" target datalayout = "e-m:e-p270: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/tmp2227cd5o.c' source_filename = "/tmp/tmp2227cd5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"BBC ABCDAB ABCDABCDABDE364e35rfs-e296532=%342&\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"364e35\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"index: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %7, align 8 store ptr @.str.1, ptr %8, align 8 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %7, align 8 %11 = call i32 @KMPSearch(ptr noundef %9, ptr noundef %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12) ret i32 0 } declare i32 @KMPSearch(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2227cd5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"BBC ABCDAB ABCDABCDABDE364e35rfs-e296532=%342&\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"364e35\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"index: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %7, align 8 store ptr @.str.1, ptr %8, align 8 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %7, align 8 %11 = call i32 @KMPSearch(ptr noundef %9, ptr noundef %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12) ret i32 0 } declare i32 @KMPSearch(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5qdue_ps.c' source_filename = "/tmp/tmp5qdue_ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @geturand() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %0 store i32 -1, ptr %1, align 4 br label %15 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 @fgetc(ptr noundef %9) %11 = and i32 %10, 255 store i32 %11, ptr %3, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 @fclose(ptr noundef %12) %14 = load i32, ptr %3, align 4 store i32 %14, ptr %1, align 4 br label %15 15: ; preds = %8, %7 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(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/tmp5qdue_ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @geturand() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %0 store i32 -1, ptr %1, align 4 br label %15 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 @fgetc(ptr noundef %9) %11 = and i32 %10, 255 store i32 %11, ptr %3, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 @fclose(ptr noundef %12) %14 = load i32, ptr %3, align 4 store i32 %14, ptr %1, align 4 br label %15 15: ; preds = %8, %7 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(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/tmpkovc4czh.c' source_filename = "/tmp/tmpkovc4czh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"usage: test_pes PID [filename]\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c" Print a hexdump of PES packets from PID to stdout.\0A\00", align 1 @.str.2 = private unnamed_addr constant [58 x i8] c" filename : Write binary PES data to file (no hexdump).\0A\00", align 1 @.str.3 = private unnamed_addr constant [53 x i8] c" The default demux device used can be changed\0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c" using the DEMUX environment variable\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkovc4czh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"usage: test_pes PID [filename]\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c" Print a hexdump of PES packets from PID to stdout.\0A\00", align 1 @.str.2 = private unnamed_addr constant [58 x i8] c" filename : Write binary PES data to file (no hexdump).\0A\00", align 1 @.str.3 = private unnamed_addr constant [53 x i8] c" The default demux device used can be changed\0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c" using the DEMUX environment variable\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjq1yzmx6.c' source_filename = "/tmp/tmpjq1yzmx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" O3'\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" O4'\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" O5'\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" O1P\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" O2P\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c" N9 \00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c" N7 \00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c" N3 \00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c" N1 \00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c" N6 \00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c" C8 \00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c" C2 \00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c" O2'\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c" O6 \00", align 1 @.str.14 = private unnamed_addr constant [5 x i8] c" N2 \00", align 1 @.str.15 = private unnamed_addr constant [5 x i8] c" O4 \00", align 1 @.str.16 = private unnamed_addr constant [5 x i8] c" O2 \00", align 1 @.str.17 = private unnamed_addr constant [5 x i8] c" C5 \00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c" C6 \00", align 1 @.str.19 = private unnamed_addr constant [5 x i8] c" N4 \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @H_catalog(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store i64 %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %11, align 8 store i64 0, ptr %13, align 8 %14 = load ptr, ptr %12, align 8 store i64 0, ptr %14, align 8 %15 = load ptr, ptr %9, align 8 %16 = load i64, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %15, i64 %16 %18 = load i8, ptr %17, align 1 %19 = call signext i8 @toupper(i8 noundef signext %18) %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 65 br i1 %21, label %22, label %118 22: ; preds = %6 %23 = load ptr, ptr %10, align 8 %24 = load i64, ptr %8, align 8 %25 = getelementptr inbounds ptr, ptr %23, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = call i32 @strcmp(ptr noundef %26, ptr noundef @.str) %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %78 29: ; preds = %22 %30 = load ptr, ptr %10, align 8 %31 = load i64, ptr %8, align 8 %32 = getelementptr inbounds ptr, ptr %30, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.1) %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %78 36: ; preds = %29 %37 = load ptr, ptr %10, align 8 %38 = load i64, ptr %8, align 8 %39 = getelementptr inbounds ptr, ptr %37, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = call i32 @strcmp(ptr noundef %40, ptr noundef @.str.2) %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %78 43: ; preds = %36 %44 = load ptr, ptr %10, align 8 %45 = load i64, ptr %8, align 8 %46 = getelementptr inbounds ptr, ptr %44, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = call i32 @strcmp(ptr noundef %47, ptr noundef @.str.3) %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %78 50: ; preds = %43 %51 = load ptr, ptr %10, align 8 %52 = load i64, ptr %8, align 8 %53 = getelementptr inbounds ptr, ptr %51, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = call i32 @strcmp(ptr noundef %54, ptr noundef @.str.4) %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %78 57: ; preds = %50 %58 = load ptr, ptr %10, align 8 %59 = load i64, ptr %8, align 8 %60 = getelementptr inbounds ptr, ptr %58, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str.5) %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %78 64: ; preds = %57 %65 = load ptr, ptr %10, align 8 %66 = load i64, ptr %8, align 8 %67 = getelementptr inbounds ptr, ptr %65, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = call i32 @strcmp(ptr noundef %68, ptr noundef @.str.6) %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %78 71: ; preds = %64 %72 = load ptr, ptr %10, align 8 %73 = load i64, ptr %8, align 8 %74 = getelementptr inbounds ptr, ptr %72, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = call i32 @strcmp(ptr noundef %75, ptr noundef @.str.7) %77 = icmp ne i32 %76, 0 br i1 %77, label %80, label %78 78: ; preds = %71, %64, %57, %50, %43, %36, %29, %22 %79 = load ptr, ptr %11, align 8 store i64 1, ptr %79, align 8 br label %80 80: ; preds = %78, %71 %81 = load ptr, ptr %10, align 8 %82 = load i64, ptr %8, align 8 %83 = getelementptr inbounds ptr, ptr %81, i64 %82 %84 = load ptr, ptr %83, align 8 %85 = call i32 @strcmp(ptr noundef %84, ptr noundef @.str.8) %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %115 87: ; preds = %80 %88 = load ptr, ptr %10, align 8 %89 = load i64, ptr %8, align 8 %90 = getelementptr inbounds ptr, ptr %88, i64 %89 %91 = load ptr, ptr %90, align 8 %92 = call i32 @strcmp(ptr noundef %91, ptr noundef @.str.9) %93 = icmp ne i32 %92, 0 br i1 %93, label %94, label %115 94: ; preds = %87 %95 = load ptr, ptr %10, align 8 %96 = load i64, ptr %8, align 8 %97 = getelementptr inbounds ptr, ptr %95, i64 %96 %98 = load ptr, ptr %97, align 8 %99 = call i32 @strcmp(ptr noundef %98, ptr noundef @.str.10) %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %115 101: ; preds = %94 %102 = load ptr, ptr %10, align 8 %103 = load i64, ptr %8, align 8 %104 = getelementptr inbounds ptr, ptr %102, i64 %103 %105 = load ptr, ptr %104, align 8 %106 = call i32 @strcmp(ptr noundef %105, ptr noundef @.str.11) %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %115 108: ; preds = %101 %109 = load ptr, ptr %10, align 8 %110 = load i64, ptr %8, align 8 %111 = getelementptr inbounds ptr, ptr %109, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = call i32 @strcmp(ptr noundef %112, ptr noundef @.str.12) %114 = icmp ne i32 %113, 0 br i1 %114, label %117, label %115 115: ; preds = %108, %101, %94, %87, %80 %116 = load ptr, ptr %12, align 8 store i64 1, ptr %116, align 8 br label %117 117: ; preds = %115, %108 br label %713 118: ; preds = %6 %119 = load ptr, ptr %9, align 8 %120 = load i64, ptr %7, align 8 %121 = getelementptr inbounds i8, ptr %119, i64 %120 %122 = load i8, ptr %121, align 1 %123 = call signext i8 @toupper(i8 noundef signext %122) %124 = sext i8 %123 to i32 %125 = icmp eq i32 %124, 71 br i1 %125, label %126, label %222 126: ; preds = %118 %127 = load ptr, ptr %10, align 8 %128 = load i64, ptr %8, align 8 %129 = getelementptr inbounds ptr, ptr %127, i64 %128 %130 = load ptr, ptr %129, align 8 %131 = call i32 @strcmp(ptr noundef %130, ptr noundef @.str) %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %189 133: ; preds = %126 %134 = load ptr, ptr %10, align 8 %135 = load i64, ptr %8, align 8 %136 = getelementptr inbounds ptr, ptr %134, i64 %135 %137 = load ptr, ptr %136, align 8 %138 = call i32 @strcmp(ptr noundef %137, ptr noundef @.str.1) %139 = icmp ne i32 %138, 0 br i1 %139, label %140, label %189 140: ; preds = %133 %141 = load ptr, ptr %10, align 8 %142 = load i64, ptr %8, align 8 %143 = getelementptr inbounds ptr, ptr %141, i64 %142 %144 = load ptr, ptr %143, align 8 %145 = call i32 @strcmp(ptr noundef %144, ptr noundef @.str.2) %146 = icmp ne i32 %145, 0 br i1 %146, label %147, label %189 147: ; preds = %140 %148 = load ptr, ptr %10, align 8 %149 = load i64, ptr %8, align 8 %150 = getelementptr inbounds ptr, ptr %148, i64 %149 %151 = load ptr, ptr %150, align 8 %152 = call i32 @strcmp(ptr noundef %151, ptr noundef @.str.3) %153 = icmp ne i32 %152, 0 br i1 %153, label %154, label %189 154: ; preds = %147 %155 = load ptr, ptr %10, align 8 %156 = load i64, ptr %8, align 8 %157 = getelementptr inbounds ptr, ptr %155, i64 %156 %158 = load ptr, ptr %157, align 8 %159 = call i32 @strcmp(ptr noundef %158, ptr noundef @.str.4) %160 = icmp ne i32 %159, 0 br i1 %160, label %161, label %189 161: ; preds = %154 %162 = load ptr, ptr %10, align 8 %163 = load i64, ptr %8, align 8 %164 = getelementptr inbounds ptr, ptr %162, i64 %163 %165 = load ptr, ptr %164, align 8 %166 = call i32 @strcmp(ptr noundef %165, ptr noundef @.str.5) %167 = icmp ne i32 %166, 0 br i1 %167, label %168, label %189 168: ; preds = %161 %169 = load ptr, ptr %10, align 8 %170 = load i64, ptr %8, align 8 %171 = getelementptr inbounds ptr, ptr %169, i64 %170 %172 = load ptr, ptr %171, align 8 %173 = call i32 @strcmp(ptr noundef %172, ptr noundef @.str.6) %174 = icmp ne i32 %173, 0 br i1 %174, label %175, label %189 175: ; preds = %168 %176 = load ptr, ptr %10, align 8 %177 = load i64, ptr %8, align 8 %178 = getelementptr inbounds ptr, ptr %176, i64 %177 %179 = load ptr, ptr %178, align 8 %180 = call i32 @strcmp(ptr noundef %179, ptr noundef @.str.13) %181 = icmp ne i32 %180, 0 br i1 %181, label %182, label %189 182: ; preds = %175 %183 = load ptr, ptr %10, align 8 %184 = load i64, ptr %8, align 8 %185 = getelementptr inbounds ptr, ptr %183, i64 %184 %186 = load ptr, ptr %185, align 8 %187 = call i32 @strcmp(ptr noundef %186, ptr noundef @.str.7) %188 = icmp ne i32 %187, 0 br i1 %188, label %191, label %189 189: ; preds = %182, %175, %168, %161, %154, %147, %140, %133, %126 %190 = load ptr, ptr %11, align 8 store i64 1, ptr %190, align 8 br label %191 191: ; preds = %189, %182 %192 = load ptr, ptr %10, align 8 %193 = load i64, ptr %8, align 8 %194 = getelementptr inbounds ptr, ptr %192, i64 %193 %195 = load ptr, ptr %194, align 8 %196 = call i32 @strcmp(ptr noundef %195, ptr noundef @.str.8) %197 = icmp ne i32 %196, 0 br i1 %197, label %198, label %219 198: ; preds = %191 %199 = load ptr, ptr %10, align 8 %200 = load i64, ptr %8, align 8 %201 = getelementptr inbounds ptr, ptr %199, i64 %200 %202 = load ptr, ptr %201, align 8 %203 = call i32 @strcmp(ptr noundef %202, ptr noundef @.str.14) %204 = icmp ne i32 %203, 0 br i1 %204, label %205, label %219 205: ; preds = %198 %206 = load ptr, ptr %10, align 8 %207 = load i64, ptr %8, align 8 %208 = getelementptr inbounds ptr, ptr %206, i64 %207 %209 = load ptr, ptr %208, align 8 %210 = call i32 @strcmp(ptr noundef %209, ptr noundef @.str.10) %211 = icmp ne i32 %210, 0 br i1 %211, label %212, label %219 212: ; preds = %205 %213 = load ptr, ptr %10, align 8 %214 = load i64, ptr %8, align 8 %215 = getelementptr inbounds ptr, ptr %213, i64 %214 %216 = load ptr, ptr %215, align 8 %217 = call i32 @strcmp(ptr noundef %216, ptr noundef @.str.12) %218 = icmp ne i32 %217, 0 br i1 %218, label %221, label %219 219: ; preds = %212, %205, %198, %191 %220 = load ptr, ptr %12, align 8 store i64 1, ptr %220, align 8 br label %221 221: ; preds = %219, %212 br label %712 222: ; preds = %118 %223 = load ptr, ptr %9, align 8 %224 = load i64, ptr %7, align 8 %225 = getelementptr inbounds i8, ptr %223, i64 %224 %226 = load i8, ptr %225, align 1 %227 = call signext i8 @toupper(i8 noundef signext %226) %228 = sext i8 %227 to i32 %229 = icmp eq i32 %228, 73 br i1 %229, label %230, label %326 230: ; preds = %222 %231 = load ptr, ptr %10, align 8 %232 = load i64, ptr %8, align 8 %233 = getelementptr inbounds ptr, ptr %231, i64 %232 %234 = load ptr, ptr %233, align 8 %235 = call i32 @strcmp(ptr noundef %234, ptr noundef @.str) %236 = icmp ne i32 %235, 0 br i1 %236, label %237, label %293 237: ; preds = %230 %238 = load ptr, ptr %10, align 8 %239 = load i64, ptr %8, align 8 %240 = getelementptr inbounds ptr, ptr %238, i64 %239 %241 = load ptr, ptr %240, align 8 %242 = call i32 @strcmp(ptr noundef %241, ptr noundef @.str.1) %243 = icmp ne i32 %242, 0 br i1 %243, label %244, label %293 244: ; preds = %237 %245 = load ptr, ptr %10, align 8 %246 = load i64, ptr %8, align 8 %247 = getelementptr inbounds ptr, ptr %245, i64 %246 %248 = load ptr, ptr %247, align 8 %249 = call i32 @strcmp(ptr noundef %248, ptr noundef @.str.2) %250 = icmp ne i32 %249, 0 br i1 %250, label %251, label %293 251: ; preds = %244 %252 = load ptr, ptr %10, align 8 %253 = load i64, ptr %8, align 8 %254 = getelementptr inbounds ptr, ptr %252, i64 %253 %255 = load ptr, ptr %254, align 8 %256 = call i32 @strcmp(ptr noundef %255, ptr noundef @.str.3) %257 = icmp ne i32 %256, 0 br i1 %257, label %258, label %293 258: ; preds = %251 %259 = load ptr, ptr %10, align 8 %260 = load i64, ptr %8, align 8 %261 = getelementptr inbounds ptr, ptr %259, i64 %260 %262 = load ptr, ptr %261, align 8 %263 = call i32 @strcmp(ptr noundef %262, ptr noundef @.str.4) %264 = icmp ne i32 %263, 0 br i1 %264, label %265, label %293 265: ; preds = %258 %266 = load ptr, ptr %10, align 8 %267 = load i64, ptr %8, align 8 %268 = getelementptr inbounds ptr, ptr %266, i64 %267 %269 = load ptr, ptr %268, align 8 %270 = call i32 @strcmp(ptr noundef %269, ptr noundef @.str.5) %271 = icmp ne i32 %270, 0 br i1 %271, label %272, label %293 272: ; preds = %265 %273 = load ptr, ptr %10, align 8 %274 = load i64, ptr %8, align 8 %275 = getelementptr inbounds ptr, ptr %273, i64 %274 %276 = load ptr, ptr %275, align 8 %277 = call i32 @strcmp(ptr noundef %276, ptr noundef @.str.6) %278 = icmp ne i32 %277, 0 br i1 %278, label %279, label %293 279: ; preds = %272 %280 = load ptr, ptr %10, align 8 %281 = load i64, ptr %8, align 8 %282 = getelementptr inbounds ptr, ptr %280, i64 %281 %283 = load ptr, ptr %282, align 8 %284 = call i32 @strcmp(ptr noundef %283, ptr noundef @.str.13) %285 = icmp ne i32 %284, 0 br i1 %285, label %286, label %293 286: ; preds = %279 %287 = load ptr, ptr %10, align 8 %288 = load i64, ptr %8, align 8 %289 = getelementptr inbounds ptr, ptr %287, i64 %288 %290 = load ptr, ptr %289, align 8 %291 = call i32 @strcmp(ptr noundef %290, ptr noundef @.str.7) %292 = icmp ne i32 %291, 0 br i1 %292, label %295, label %293 293: ; preds = %286, %279, %272, %265, %258, %251, %244, %237, %230 %294 = load ptr, ptr %11, align 8 store i64 1, ptr %294, align 8 br label %295 295: ; preds = %293, %286 %296 = load ptr, ptr %10, align 8 %297 = load i64, ptr %8, align 8 %298 = getelementptr inbounds ptr, ptr %296, i64 %297 %299 = load ptr, ptr %298, align 8 %300 = call i32 @strcmp(ptr noundef %299, ptr noundef @.str.8) %301 = icmp ne i32 %300, 0 br i1 %301, label %302, label %323 302: ; preds = %295 %303 = load ptr, ptr %10, align 8 %304 = load i64, ptr %8, align 8 %305 = getelementptr inbounds ptr, ptr %303, i64 %304 %306 = load ptr, ptr %305, align 8 %307 = call i32 @strcmp(ptr noundef %306, ptr noundef @.str.11) %308 = icmp ne i32 %307, 0 br i1 %308, label %309, label %323 309: ; preds = %302 %310 = load ptr, ptr %10, align 8 %311 = load i64, ptr %8, align 8 %312 = getelementptr inbounds ptr, ptr %310, i64 %311 %313 = load ptr, ptr %312, align 8 %314 = call i32 @strcmp(ptr noundef %313, ptr noundef @.str.10) %315 = icmp ne i32 %314, 0 br i1 %315, label %316, label %323 316: ; preds = %309 %317 = load ptr, ptr %10, align 8 %318 = load i64, ptr %8, align 8 %319 = getelementptr inbounds ptr, ptr %317, i64 %318 %320 = load ptr, ptr %319, align 8 %321 = call i32 @strcmp(ptr noundef %320, ptr noundef @.str.12) %322 = icmp ne i32 %321, 0 br i1 %322, label %325, label %323 323: ; preds = %316, %309, %302, %295 %324 = load ptr, ptr %12, align 8 store i64 1, ptr %324, align 8 br label %325 325: ; preds = %323, %316 br label %711 326: ; preds = %222 %327 = load ptr, ptr %9, align 8 %328 = load i64, ptr %7, align 8 %329 = getelementptr inbounds i8, ptr %327, i64 %328 %330 = load i8, ptr %329, align 1 %331 = call signext i8 @toupper(i8 noundef signext %330) %332 = sext i8 %331 to i32 %333 = icmp eq i32 %332, 85 br i1 %333, label %334, label %423 334: ; preds = %326 %335 = load ptr, ptr %10, align 8 %336 = load i64, ptr %8, align 8 %337 = getelementptr inbounds ptr, ptr %335, i64 %336 %338 = load ptr, ptr %337, align 8 %339 = call i32 @strcmp(ptr noundef %338, ptr noundef @.str) %340 = icmp ne i32 %339, 0 br i1 %340, label %341, label %390 341: ; preds = %334 %342 = load ptr, ptr %10, align 8 %343 = load i64, ptr %8, align 8 %344 = getelementptr inbounds ptr, ptr %342, i64 %343 %345 = load ptr, ptr %344, align 8 %346 = call i32 @strcmp(ptr noundef %345, ptr noundef @.str.1) %347 = icmp ne i32 %346, 0 br i1 %347, label %348, label %390 348: ; preds = %341 %349 = load ptr, ptr %10, align 8 %350 = load i64, ptr %8, align 8 %351 = getelementptr inbounds ptr, ptr %349, i64 %350 %352 = load ptr, ptr %351, align 8 %353 = call i32 @strcmp(ptr noundef %352, ptr noundef @.str.2) %354 = icmp ne i32 %353, 0 br i1 %354, label %355, label %390 355: ; preds = %348 %356 = load ptr, ptr %10, align 8 %357 = load i64, ptr %8, align 8 %358 = getelementptr inbounds ptr, ptr %356, i64 %357 %359 = load ptr, ptr %358, align 8 %360 = call i32 @strcmp(ptr noundef %359, ptr noundef @.str.3) %361 = icmp ne i32 %360, 0 br i1 %361, label %362, label %390 362: ; preds = %355 %363 = load ptr, ptr %10, align 8 %364 = load i64, ptr %8, align 8 %365 = getelementptr inbounds ptr, ptr %363, i64 %364 %366 = load ptr, ptr %365, align 8 %367 = call i32 @strcmp(ptr noundef %366, ptr noundef @.str.4) %368 = icmp ne i32 %367, 0 br i1 %368, label %369, label %390 369: ; preds = %362 %370 = load ptr, ptr %10, align 8 %371 = load i64, ptr %8, align 8 %372 = getelementptr inbounds ptr, ptr %370, i64 %371 %373 = load ptr, ptr %372, align 8 %374 = call i32 @strcmp(ptr noundef %373, ptr noundef @.str.15) %375 = icmp ne i32 %374, 0 br i1 %375, label %376, label %390 376: ; preds = %369 %377 = load ptr, ptr %10, align 8 %378 = load i64, ptr %8, align 8 %379 = getelementptr inbounds ptr, ptr %377, i64 %378 %380 = load ptr, ptr %379, align 8 %381 = call i32 @strcmp(ptr noundef %380, ptr noundef @.str.16) %382 = icmp ne i32 %381, 0 br i1 %382, label %383, label %390 383: ; preds = %376 %384 = load ptr, ptr %10, align 8 %385 = load i64, ptr %8, align 8 %386 = getelementptr inbounds ptr, ptr %384, i64 %385 %387 = load ptr, ptr %386, align 8 %388 = call i32 @strcmp(ptr noundef %387, ptr noundef @.str.8) %389 = icmp ne i32 %388, 0 br i1 %389, label %392, label %390 390: ; preds = %383, %376, %369, %362, %355, %348, %341, %334 %391 = load ptr, ptr %11, align 8 store i64 1, ptr %391, align 8 br label %392 392: ; preds = %390, %383 %393 = load ptr, ptr %10, align 8 %394 = load i64, ptr %8, align 8 %395 = getelementptr inbounds ptr, ptr %393, i64 %394 %396 = load ptr, ptr %395, align 8 %397 = call i32 @strcmp(ptr noundef %396, ptr noundef @.str.7) %398 = icmp ne i32 %397, 0 br i1 %398, label %399, label %420 399: ; preds = %392 %400 = load ptr, ptr %10, align 8 %401 = load i64, ptr %8, align 8 %402 = getelementptr inbounds ptr, ptr %400, i64 %401 %403 = load ptr, ptr %402, align 8 %404 = call i32 @strcmp(ptr noundef %403, ptr noundef @.str.17) %405 = icmp ne i32 %404, 0 br i1 %405, label %406, label %420 406: ; preds = %399 %407 = load ptr, ptr %10, align 8 %408 = load i64, ptr %8, align 8 %409 = getelementptr inbounds ptr, ptr %407, i64 %408 %410 = load ptr, ptr %409, align 8 %411 = call i32 @strcmp(ptr noundef %410, ptr noundef @.str.18) %412 = icmp ne i32 %411, 0 br i1 %412, label %413, label %420 413: ; preds = %406 %414 = load ptr, ptr %10, align 8 %415 = load i64, ptr %8, align 8 %416 = getelementptr inbounds ptr, ptr %414, i64 %415 %417 = load ptr, ptr %416, align 8 %418 = call i32 @strcmp(ptr noundef %417, ptr noundef @.str.12) %419 = icmp ne i32 %418, 0 br i1 %419, label %422, label %420 420: ; preds = %413, %406, %399, %392 %421 = load ptr, ptr %12, align 8 store i64 1, ptr %421, align 8 br label %422 422: ; preds = %420, %413 br label %710 423: ; preds = %326 %424 = load ptr, ptr %9, align 8 %425 = load i64, ptr %7, align 8 %426 = getelementptr inbounds i8, ptr %424, i64 %425 %427 = load i8, ptr %426, align 1 %428 = call signext i8 @toupper(i8 noundef signext %427) %429 = sext i8 %428 to i32 %430 = icmp eq i32 %429, 67 br i1 %430, label %431, label %520 431: ; preds = %423 %432 = load ptr, ptr %10, align 8 %433 = load i64, ptr %8, align 8 %434 = getelementptr inbounds ptr, ptr %432, i64 %433 %435 = load ptr, ptr %434, align 8 %436 = call i32 @strcmp(ptr noundef %435, ptr noundef @.str) %437 = icmp ne i32 %436, 0 br i1 %437, label %438, label %480 438: ; preds = %431 %439 = load ptr, ptr %10, align 8 %440 = load i64, ptr %8, align 8 %441 = getelementptr inbounds ptr, ptr %439, i64 %440 %442 = load ptr, ptr %441, align 8 %443 = call i32 @strcmp(ptr noundef %442, ptr noundef @.str.1) %444 = icmp ne i32 %443, 0 br i1 %444, label %445, label %480 445: ; preds = %438 %446 = load ptr, ptr %10, align 8 %447 = load i64, ptr %8, align 8 %448 = getelementptr inbounds ptr, ptr %446, i64 %447 %449 = load ptr, ptr %448, align 8 %450 = call i32 @strcmp(ptr noundef %449, ptr noundef @.str.2) %451 = icmp ne i32 %450, 0 br i1 %451, label %452, label %480 452: ; preds = %445 %453 = load ptr, ptr %10, align 8 %454 = load i64, ptr %8, align 8 %455 = getelementptr inbounds ptr, ptr %453, i64 %454 %456 = load ptr, ptr %455, align 8 %457 = call i32 @strcmp(ptr noundef %456, ptr noundef @.str.3) %458 = icmp ne i32 %457, 0 br i1 %458, label %459, label %480 459: ; preds = %452 %460 = load ptr, ptr %10, align 8 %461 = load i64, ptr %8, align 8 %462 = getelementptr inbounds ptr, ptr %460, i64 %461 %463 = load ptr, ptr %462, align 8 %464 = call i32 @strcmp(ptr noundef %463, ptr noundef @.str.4) %465 = icmp ne i32 %464, 0 br i1 %465, label %466, label %480 466: ; preds = %459 %467 = load ptr, ptr %10, align 8 %468 = load i64, ptr %8, align 8 %469 = getelementptr inbounds ptr, ptr %467, i64 %468 %470 = load ptr, ptr %469, align 8 %471 = call i32 @strcmp(ptr noundef %470, ptr noundef @.str.8) %472 = icmp ne i32 %471, 0 br i1 %472, label %473, label %480 473: ; preds = %466 %474 = load ptr, ptr %10, align 8 %475 = load i64, ptr %8, align 8 %476 = getelementptr inbounds ptr, ptr %474, i64 %475 %477 = load ptr, ptr %476, align 8 %478 = call i32 @strcmp(ptr noundef %477, ptr noundef @.str.16) %479 = icmp ne i32 %478, 0 br i1 %479, label %482, label %480 480: ; preds = %473, %466, %459, %452, %445, %438, %431 %481 = load ptr, ptr %11, align 8 store i64 1, ptr %481, align 8 br label %482 482: ; preds = %480, %473 %483 = load ptr, ptr %10, align 8 %484 = load i64, ptr %8, align 8 %485 = getelementptr inbounds ptr, ptr %483, i64 %484 %486 = load ptr, ptr %485, align 8 %487 = call i32 @strcmp(ptr noundef %486, ptr noundef @.str.7) %488 = icmp ne i32 %487, 0 br i1 %488, label %489, label %517 489: ; preds = %482 %490 = load ptr, ptr %10, align 8 %491 = load i64, ptr %8, align 8 %492 = getelementptr inbounds ptr, ptr %490, i64 %491 %493 = load ptr, ptr %492, align 8 %494 = call i32 @strcmp(ptr noundef %493, ptr noundef @.str.19) %495 = icmp ne i32 %494, 0 br i1 %495, label %496, label %517 496: ; preds = %489 %497 = load ptr, ptr %10, align 8 %498 = load i64, ptr %8, align 8 %499 = getelementptr inbounds ptr, ptr %497, i64 %498 %500 = load ptr, ptr %499, align 8 %501 = call i32 @strcmp(ptr noundef %500, ptr noundef @.str.17) %502 = icmp ne i32 %501, 0 br i1 %502, label %503, label %517 503: ; preds = %496 %504 = load ptr, ptr %10, align 8 %505 = load i64, ptr %8, align 8 %506 = getelementptr inbounds ptr, ptr %504, i64 %505 %507 = load ptr, ptr %506, align 8 %508 = call i32 @strcmp(ptr noundef %507, ptr noundef @.str.18) %509 = icmp ne i32 %508, 0 br i1 %509, label %510, label %517 510: ; preds = %503 %511 = load ptr, ptr %10, align 8 %512 = load i64, ptr %8, align 8 %513 = getelementptr inbounds ptr, ptr %511, i64 %512 %514 = load ptr, ptr %513, align 8 %515 = call i32 @strcmp(ptr noundef %514, ptr noundef @.str.12) %516 = icmp ne i32 %515, 0 br i1 %516, label %519, label %517 517: ; preds = %510, %503, %496, %489, %482 %518 = load ptr, ptr %12, align 8 store i64 1, ptr %518, align 8 br label %519 519: ; preds = %517, %510 br label %709 520: ; preds = %423 %521 = load ptr, ptr %9, align 8 %522 = load i64, ptr %7, align 8 %523 = getelementptr inbounds i8, ptr %521, i64 %522 %524 = load i8, ptr %523, align 1 %525 = call signext i8 @toupper(i8 noundef signext %524) %526 = sext i8 %525 to i32 %527 = icmp eq i32 %526, 80 br i1 %527, label %528, label %617 528: ; preds = %520 %529 = load ptr, ptr %10, align 8 %530 = load i64, ptr %8, align 8 %531 = getelementptr inbounds ptr, ptr %529, i64 %530 %532 = load ptr, ptr %531, align 8 %533 = call i32 @strcmp(ptr noundef %532, ptr noundef @.str) %534 = icmp ne i32 %533, 0 br i1 %534, label %535, label %584 535: ; preds = %528 %536 = load ptr, ptr %10, align 8 %537 = load i64, ptr %8, align 8 %538 = getelementptr inbounds ptr, ptr %536, i64 %537 %539 = load ptr, ptr %538, align 8 %540 = call i32 @strcmp(ptr noundef %539, ptr noundef @.str.1) %541 = icmp ne i32 %540, 0 br i1 %541, label %542, label %584 542: ; preds = %535 %543 = load ptr, ptr %10, align 8 %544 = load i64, ptr %8, align 8 %545 = getelementptr inbounds ptr, ptr %543, i64 %544 %546 = load ptr, ptr %545, align 8 %547 = call i32 @strcmp(ptr noundef %546, ptr noundef @.str.2) %548 = icmp ne i32 %547, 0 br i1 %548, label %549, label %584 549: ; preds = %542 %550 = load ptr, ptr %10, align 8 %551 = load i64, ptr %8, align 8 %552 = getelementptr inbounds ptr, ptr %550, i64 %551 %553 = load ptr, ptr %552, align 8 %554 = call i32 @strcmp(ptr noundef %553, ptr noundef @.str.3) %555 = icmp ne i32 %554, 0 br i1 %555, label %556, label %584 556: ; preds = %549 %557 = load ptr, ptr %10, align 8 %558 = load i64, ptr %8, align 8 %559 = getelementptr inbounds ptr, ptr %557, i64 %558 %560 = load ptr, ptr %559, align 8 %561 = call i32 @strcmp(ptr noundef %560, ptr noundef @.str.4) %562 = icmp ne i32 %561, 0 br i1 %562, label %563, label %584 563: ; preds = %556 %564 = load ptr, ptr %10, align 8 %565 = load i64, ptr %8, align 8 %566 = getelementptr inbounds ptr, ptr %564, i64 %565 %567 = load ptr, ptr %566, align 8 %568 = call i32 @strcmp(ptr noundef %567, ptr noundef @.str.17) %569 = icmp ne i32 %568, 0 br i1 %569, label %570, label %584 570: ; preds = %563 %571 = load ptr, ptr %10, align 8 %572 = load i64, ptr %8, align 8 %573 = getelementptr inbounds ptr, ptr %571, i64 %572 %574 = load ptr, ptr %573, align 8 %575 = call i32 @strcmp(ptr noundef %574, ptr noundef @.str.15) %576 = icmp ne i32 %575, 0 br i1 %576, label %577, label %584 577: ; preds = %570 %578 = load ptr, ptr %10, align 8 %579 = load i64, ptr %8, align 8 %580 = getelementptr inbounds ptr, ptr %578, i64 %579 %581 = load ptr, ptr %580, align 8 %582 = call i32 @strcmp(ptr noundef %581, ptr noundef @.str.16) %583 = icmp ne i32 %582, 0 br i1 %583, label %586, label %584 584: ; preds = %577, %570, %563, %556, %549, %542, %535, %528 %585 = load ptr, ptr %11, align 8 store i64 1, ptr %585, align 8 br label %586 586: ; preds = %584, %577 %587 = load ptr, ptr %10, align 8 %588 = load i64, ptr %8, align 8 %589 = getelementptr inbounds ptr, ptr %587, i64 %588 %590 = load ptr, ptr %589, align 8 %591 = call i32 @strcmp(ptr noundef %590, ptr noundef @.str.8) %592 = icmp ne i32 %591, 0 br i1 %592, label %593, label %614 593: ; preds = %586 %594 = load ptr, ptr %10, align 8 %595 = load i64, ptr %8, align 8 %596 = getelementptr inbounds ptr, ptr %594, i64 %595 %597 = load ptr, ptr %596, align 8 %598 = call i32 @strcmp(ptr noundef %597, ptr noundef @.str.7) %599 = icmp ne i32 %598, 0 br i1 %599, label %600, label %614 600: ; preds = %593 %601 = load ptr, ptr %10, align 8 %602 = load i64, ptr %8, align 8 %603 = getelementptr inbounds ptr, ptr %601, i64 %602 %604 = load ptr, ptr %603, align 8 %605 = call i32 @strcmp(ptr noundef %604, ptr noundef @.str.18) %606 = icmp ne i32 %605, 0 br i1 %606, label %607, label %614 607: ; preds = %600 %608 = load ptr, ptr %10, align 8 %609 = load i64, ptr %8, align 8 %610 = getelementptr inbounds ptr, ptr %608, i64 %609 %611 = load ptr, ptr %610, align 8 %612 = call i32 @strcmp(ptr noundef %611, ptr noundef @.str.12) %613 = icmp ne i32 %612, 0 br i1 %613, label %616, label %614 614: ; preds = %607, %600, %593, %586 %615 = load ptr, ptr %12, align 8 store i64 1, ptr %615, align 8 br label %616 616: ; preds = %614, %607 br label %708 617: ; preds = %520 %618 = load ptr, ptr %9, align 8 %619 = load i64, ptr %7, align 8 %620 = getelementptr inbounds i8, ptr %618, i64 %619 %621 = load i8, ptr %620, align 1 %622 = call signext i8 @toupper(i8 noundef signext %621) %623 = sext i8 %622 to i32 %624 = icmp eq i32 %623, 84 br i1 %624, label %625, label %707 625: ; preds = %617 %626 = load ptr, ptr %10, align 8 %627 = load i64, ptr %8, align 8 %628 = getelementptr inbounds ptr, ptr %626, i64 %627 %629 = load ptr, ptr %628, align 8 %630 = call i32 @strcmp(ptr noundef %629, ptr noundef @.str) %631 = icmp ne i32 %630, 0 br i1 %631, label %632, label %681 632: ; preds = %625 %633 = load ptr, ptr %10, align 8 %634 = load i64, ptr %8, align 8 %635 = getelementptr inbounds ptr, ptr %633, i64 %634 %636 = load ptr, ptr %635, align 8 %637 = call i32 @strcmp(ptr noundef %636, ptr noundef @.str.1) %638 = icmp ne i32 %637, 0 br i1 %638, label %639, label %681 639: ; preds = %632 %640 = load ptr, ptr %10, align 8 %641 = load i64, ptr %8, align 8 %642 = getelementptr inbounds ptr, ptr %640, i64 %641 %643 = load ptr, ptr %642, align 8 %644 = call i32 @strcmp(ptr noundef %643, ptr noundef @.str.2) %645 = icmp ne i32 %644, 0 br i1 %645, label %646, label %681 646: ; preds = %639 %647 = load ptr, ptr %10, align 8 %648 = load i64, ptr %8, align 8 %649 = getelementptr inbounds ptr, ptr %647, i64 %648 %650 = load ptr, ptr %649, align 8 %651 = call i32 @strcmp(ptr noundef %650, ptr noundef @.str.3) %652 = icmp ne i32 %651, 0 br i1 %652, label %653, label %681 653: ; preds = %646 %654 = load ptr, ptr %10, align 8 %655 = load i64, ptr %8, align 8 %656 = getelementptr inbounds ptr, ptr %654, i64 %655 %657 = load ptr, ptr %656, align 8 %658 = call i32 @strcmp(ptr noundef %657, ptr noundef @.str.4) %659 = icmp ne i32 %658, 0 br i1 %659, label %660, label %681 660: ; preds = %653 %661 = load ptr, ptr %10, align 8 %662 = load i64, ptr %8, align 8 %663 = getelementptr inbounds ptr, ptr %661, i64 %662 %664 = load ptr, ptr %663, align 8 %665 = call i32 @strcmp(ptr noundef %664, ptr noundef @.str.8) %666 = icmp ne i32 %665, 0 br i1 %666, label %667, label %681 667: ; preds = %660 %668 = load ptr, ptr %10, align 8 %669 = load i64, ptr %8, align 8 %670 = getelementptr inbounds ptr, ptr %668, i64 %669 %671 = load ptr, ptr %670, align 8 %672 = call i32 @strcmp(ptr noundef %671, ptr noundef @.str.15) %673 = icmp ne i32 %672, 0 br i1 %673, label %674, label %681 674: ; preds = %667 %675 = load ptr, ptr %10, align 8 %676 = load i64, ptr %8, align 8 %677 = getelementptr inbounds ptr, ptr %675, i64 %676 %678 = load ptr, ptr %677, align 8 %679 = call i32 @strcmp(ptr noundef %678, ptr noundef @.str.16) %680 = icmp ne i32 %679, 0 br i1 %680, label %683, label %681 681: ; preds = %674, %667, %660, %653, %646, %639, %632, %625 %682 = load ptr, ptr %11, align 8 store i64 1, ptr %682, align 8 br label %683 683: ; preds = %681, %674 %684 = load ptr, ptr %10, align 8 %685 = load i64, ptr %8, align 8 %686 = getelementptr inbounds ptr, ptr %684, i64 %685 %687 = load ptr, ptr %686, align 8 %688 = call i32 @strcmp(ptr noundef %687, ptr noundef @.str.7) %689 = icmp ne i32 %688, 0 br i1 %689, label %690, label %704 690: ; preds = %683 %691 = load ptr, ptr %10, align 8 %692 = load i64, ptr %8, align 8 %693 = getelementptr inbounds ptr, ptr %691, i64 %692 %694 = load ptr, ptr %693, align 8 %695 = call i32 @strcmp(ptr noundef %694, ptr noundef @.str.17) %696 = icmp ne i32 %695, 0 br i1 %696, label %697, label %704 697: ; preds = %690 %698 = load ptr, ptr %10, align 8 %699 = load i64, ptr %8, align 8 %700 = getelementptr inbounds ptr, ptr %698, i64 %699 %701 = load ptr, ptr %700, align 8 %702 = call i32 @strcmp(ptr noundef %701, ptr noundef @.str.18) %703 = icmp ne i32 %702, 0 br i1 %703, label %706, label %704 704: ; preds = %697, %690, %683 %705 = load ptr, ptr %12, align 8 store i64 1, ptr %705, align 8 br label %706 706: ; preds = %704, %697 br label %707 707: ; preds = %706, %617 br label %708 708: ; preds = %707, %616 br label %709 709: ; preds = %708, %519 br label %710 710: ; preds = %709, %422 br label %711 711: ; preds = %710, %325 br label %712 712: ; preds = %711, %221 br label %713 713: ; preds = %712, %117 ret void } declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjq1yzmx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" O3'\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" O4'\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" O5'\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" O1P\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" O2P\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c" N9 \00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c" N7 \00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c" N3 \00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c" N1 \00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c" N6 \00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c" C8 \00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c" C2 \00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c" O2'\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c" O6 \00", align 1 @.str.14 = private unnamed_addr constant [5 x i8] c" N2 \00", align 1 @.str.15 = private unnamed_addr constant [5 x i8] c" O4 \00", align 1 @.str.16 = private unnamed_addr constant [5 x i8] c" O2 \00", align 1 @.str.17 = private unnamed_addr constant [5 x i8] c" C5 \00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c" C6 \00", align 1 @.str.19 = private unnamed_addr constant [5 x i8] c" N4 \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @H_catalog(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store i64 %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %11, align 8 store i64 0, ptr %13, align 8 %14 = load ptr, ptr %12, align 8 store i64 0, ptr %14, align 8 %15 = load ptr, ptr %9, align 8 %16 = load i64, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %15, i64 %16 %18 = load i8, ptr %17, align 1 %19 = call signext i8 @toupper(i8 noundef signext %18) %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 65 br i1 %21, label %22, label %118 22: ; preds = %6 %23 = load ptr, ptr %10, align 8 %24 = load i64, ptr %8, align 8 %25 = getelementptr inbounds ptr, ptr %23, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = call i32 @strcmp(ptr noundef %26, ptr noundef @.str) %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %78 29: ; preds = %22 %30 = load ptr, ptr %10, align 8 %31 = load i64, ptr %8, align 8 %32 = getelementptr inbounds ptr, ptr %30, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.1) %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %78 36: ; preds = %29 %37 = load ptr, ptr %10, align 8 %38 = load i64, ptr %8, align 8 %39 = getelementptr inbounds ptr, ptr %37, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = call i32 @strcmp(ptr noundef %40, ptr noundef @.str.2) %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %78 43: ; preds = %36 %44 = load ptr, ptr %10, align 8 %45 = load i64, ptr %8, align 8 %46 = getelementptr inbounds ptr, ptr %44, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = call i32 @strcmp(ptr noundef %47, ptr noundef @.str.3) %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %78 50: ; preds = %43 %51 = load ptr, ptr %10, align 8 %52 = load i64, ptr %8, align 8 %53 = getelementptr inbounds ptr, ptr %51, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = call i32 @strcmp(ptr noundef %54, ptr noundef @.str.4) %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %78 57: ; preds = %50 %58 = load ptr, ptr %10, align 8 %59 = load i64, ptr %8, align 8 %60 = getelementptr inbounds ptr, ptr %58, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str.5) %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %78 64: ; preds = %57 %65 = load ptr, ptr %10, align 8 %66 = load i64, ptr %8, align 8 %67 = getelementptr inbounds ptr, ptr %65, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = call i32 @strcmp(ptr noundef %68, ptr noundef @.str.6) %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %78 71: ; preds = %64 %72 = load ptr, ptr %10, align 8 %73 = load i64, ptr %8, align 8 %74 = getelementptr inbounds ptr, ptr %72, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = call i32 @strcmp(ptr noundef %75, ptr noundef @.str.7) %77 = icmp ne i32 %76, 0 br i1 %77, label %80, label %78 78: ; preds = %71, %64, %57, %50, %43, %36, %29, %22 %79 = load ptr, ptr %11, align 8 store i64 1, ptr %79, align 8 br label %80 80: ; preds = %78, %71 %81 = load ptr, ptr %10, align 8 %82 = load i64, ptr %8, align 8 %83 = getelementptr inbounds ptr, ptr %81, i64 %82 %84 = load ptr, ptr %83, align 8 %85 = call i32 @strcmp(ptr noundef %84, ptr noundef @.str.8) %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %115 87: ; preds = %80 %88 = load ptr, ptr %10, align 8 %89 = load i64, ptr %8, align 8 %90 = getelementptr inbounds ptr, ptr %88, i64 %89 %91 = load ptr, ptr %90, align 8 %92 = call i32 @strcmp(ptr noundef %91, ptr noundef @.str.9) %93 = icmp ne i32 %92, 0 br i1 %93, label %94, label %115 94: ; preds = %87 %95 = load ptr, ptr %10, align 8 %96 = load i64, ptr %8, align 8 %97 = getelementptr inbounds ptr, ptr %95, i64 %96 %98 = load ptr, ptr %97, align 8 %99 = call i32 @strcmp(ptr noundef %98, ptr noundef @.str.10) %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %115 101: ; preds = %94 %102 = load ptr, ptr %10, align 8 %103 = load i64, ptr %8, align 8 %104 = getelementptr inbounds ptr, ptr %102, i64 %103 %105 = load ptr, ptr %104, align 8 %106 = call i32 @strcmp(ptr noundef %105, ptr noundef @.str.11) %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %115 108: ; preds = %101 %109 = load ptr, ptr %10, align 8 %110 = load i64, ptr %8, align 8 %111 = getelementptr inbounds ptr, ptr %109, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = call i32 @strcmp(ptr noundef %112, ptr noundef @.str.12) %114 = icmp ne i32 %113, 0 br i1 %114, label %117, label %115 115: ; preds = %108, %101, %94, %87, %80 %116 = load ptr, ptr %12, align 8 store i64 1, ptr %116, align 8 br label %117 117: ; preds = %115, %108 br label %713 118: ; preds = %6 %119 = load ptr, ptr %9, align 8 %120 = load i64, ptr %7, align 8 %121 = getelementptr inbounds i8, ptr %119, i64 %120 %122 = load i8, ptr %121, align 1 %123 = call signext i8 @toupper(i8 noundef signext %122) %124 = sext i8 %123 to i32 %125 = icmp eq i32 %124, 71 br i1 %125, label %126, label %222 126: ; preds = %118 %127 = load ptr, ptr %10, align 8 %128 = load i64, ptr %8, align 8 %129 = getelementptr inbounds ptr, ptr %127, i64 %128 %130 = load ptr, ptr %129, align 8 %131 = call i32 @strcmp(ptr noundef %130, ptr noundef @.str) %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %189 133: ; preds = %126 %134 = load ptr, ptr %10, align 8 %135 = load i64, ptr %8, align 8 %136 = getelementptr inbounds ptr, ptr %134, i64 %135 %137 = load ptr, ptr %136, align 8 %138 = call i32 @strcmp(ptr noundef %137, ptr noundef @.str.1) %139 = icmp ne i32 %138, 0 br i1 %139, label %140, label %189 140: ; preds = %133 %141 = load ptr, ptr %10, align 8 %142 = load i64, ptr %8, align 8 %143 = getelementptr inbounds ptr, ptr %141, i64 %142 %144 = load ptr, ptr %143, align 8 %145 = call i32 @strcmp(ptr noundef %144, ptr noundef @.str.2) %146 = icmp ne i32 %145, 0 br i1 %146, label %147, label %189 147: ; preds = %140 %148 = load ptr, ptr %10, align 8 %149 = load i64, ptr %8, align 8 %150 = getelementptr inbounds ptr, ptr %148, i64 %149 %151 = load ptr, ptr %150, align 8 %152 = call i32 @strcmp(ptr noundef %151, ptr noundef @.str.3) %153 = icmp ne i32 %152, 0 br i1 %153, label %154, label %189 154: ; preds = %147 %155 = load ptr, ptr %10, align 8 %156 = load i64, ptr %8, align 8 %157 = getelementptr inbounds ptr, ptr %155, i64 %156 %158 = load ptr, ptr %157, align 8 %159 = call i32 @strcmp(ptr noundef %158, ptr noundef @.str.4) %160 = icmp ne i32 %159, 0 br i1 %160, label %161, label %189 161: ; preds = %154 %162 = load ptr, ptr %10, align 8 %163 = load i64, ptr %8, align 8 %164 = getelementptr inbounds ptr, ptr %162, i64 %163 %165 = load ptr, ptr %164, align 8 %166 = call i32 @strcmp(ptr noundef %165, ptr noundef @.str.5) %167 = icmp ne i32 %166, 0 br i1 %167, label %168, label %189 168: ; preds = %161 %169 = load ptr, ptr %10, align 8 %170 = load i64, ptr %8, align 8 %171 = getelementptr inbounds ptr, ptr %169, i64 %170 %172 = load ptr, ptr %171, align 8 %173 = call i32 @strcmp(ptr noundef %172, ptr noundef @.str.6) %174 = icmp ne i32 %173, 0 br i1 %174, label %175, label %189 175: ; preds = %168 %176 = load ptr, ptr %10, align 8 %177 = load i64, ptr %8, align 8 %178 = getelementptr inbounds ptr, ptr %176, i64 %177 %179 = load ptr, ptr %178, align 8 %180 = call i32 @strcmp(ptr noundef %179, ptr noundef @.str.13) %181 = icmp ne i32 %180, 0 br i1 %181, label %182, label %189 182: ; preds = %175 %183 = load ptr, ptr %10, align 8 %184 = load i64, ptr %8, align 8 %185 = getelementptr inbounds ptr, ptr %183, i64 %184 %186 = load ptr, ptr %185, align 8 %187 = call i32 @strcmp(ptr noundef %186, ptr noundef @.str.7) %188 = icmp ne i32 %187, 0 br i1 %188, label %191, label %189 189: ; preds = %182, %175, %168, %161, %154, %147, %140, %133, %126 %190 = load ptr, ptr %11, align 8 store i64 1, ptr %190, align 8 br label %191 191: ; preds = %189, %182 %192 = load ptr, ptr %10, align 8 %193 = load i64, ptr %8, align 8 %194 = getelementptr inbounds ptr, ptr %192, i64 %193 %195 = load ptr, ptr %194, align 8 %196 = call i32 @strcmp(ptr noundef %195, ptr noundef @.str.8) %197 = icmp ne i32 %196, 0 br i1 %197, label %198, label %219 198: ; preds = %191 %199 = load ptr, ptr %10, align 8 %200 = load i64, ptr %8, align 8 %201 = getelementptr inbounds ptr, ptr %199, i64 %200 %202 = load ptr, ptr %201, align 8 %203 = call i32 @strcmp(ptr noundef %202, ptr noundef @.str.14) %204 = icmp ne i32 %203, 0 br i1 %204, label %205, label %219 205: ; preds = %198 %206 = load ptr, ptr %10, align 8 %207 = load i64, ptr %8, align 8 %208 = getelementptr inbounds ptr, ptr %206, i64 %207 %209 = load ptr, ptr %208, align 8 %210 = call i32 @strcmp(ptr noundef %209, ptr noundef @.str.10) %211 = icmp ne i32 %210, 0 br i1 %211, label %212, label %219 212: ; preds = %205 %213 = load ptr, ptr %10, align 8 %214 = load i64, ptr %8, align 8 %215 = getelementptr inbounds ptr, ptr %213, i64 %214 %216 = load ptr, ptr %215, align 8 %217 = call i32 @strcmp(ptr noundef %216, ptr noundef @.str.12) %218 = icmp ne i32 %217, 0 br i1 %218, label %221, label %219 219: ; preds = %212, %205, %198, %191 %220 = load ptr, ptr %12, align 8 store i64 1, ptr %220, align 8 br label %221 221: ; preds = %219, %212 br label %712 222: ; preds = %118 %223 = load ptr, ptr %9, align 8 %224 = load i64, ptr %7, align 8 %225 = getelementptr inbounds i8, ptr %223, i64 %224 %226 = load i8, ptr %225, align 1 %227 = call signext i8 @toupper(i8 noundef signext %226) %228 = sext i8 %227 to i32 %229 = icmp eq i32 %228, 73 br i1 %229, label %230, label %326 230: ; preds = %222 %231 = load ptr, ptr %10, align 8 %232 = load i64, ptr %8, align 8 %233 = getelementptr inbounds ptr, ptr %231, i64 %232 %234 = load ptr, ptr %233, align 8 %235 = call i32 @strcmp(ptr noundef %234, ptr noundef @.str) %236 = icmp ne i32 %235, 0 br i1 %236, label %237, label %293 237: ; preds = %230 %238 = load ptr, ptr %10, align 8 %239 = load i64, ptr %8, align 8 %240 = getelementptr inbounds ptr, ptr %238, i64 %239 %241 = load ptr, ptr %240, align 8 %242 = call i32 @strcmp(ptr noundef %241, ptr noundef @.str.1) %243 = icmp ne i32 %242, 0 br i1 %243, label %244, label %293 244: ; preds = %237 %245 = load ptr, ptr %10, align 8 %246 = load i64, ptr %8, align 8 %247 = getelementptr inbounds ptr, ptr %245, i64 %246 %248 = load ptr, ptr %247, align 8 %249 = call i32 @strcmp(ptr noundef %248, ptr noundef @.str.2) %250 = icmp ne i32 %249, 0 br i1 %250, label %251, label %293 251: ; preds = %244 %252 = load ptr, ptr %10, align 8 %253 = load i64, ptr %8, align 8 %254 = getelementptr inbounds ptr, ptr %252, i64 %253 %255 = load ptr, ptr %254, align 8 %256 = call i32 @strcmp(ptr noundef %255, ptr noundef @.str.3) %257 = icmp ne i32 %256, 0 br i1 %257, label %258, label %293 258: ; preds = %251 %259 = load ptr, ptr %10, align 8 %260 = load i64, ptr %8, align 8 %261 = getelementptr inbounds ptr, ptr %259, i64 %260 %262 = load ptr, ptr %261, align 8 %263 = call i32 @strcmp(ptr noundef %262, ptr noundef @.str.4) %264 = icmp ne i32 %263, 0 br i1 %264, label %265, label %293 265: ; preds = %258 %266 = load ptr, ptr %10, align 8 %267 = load i64, ptr %8, align 8 %268 = getelementptr inbounds ptr, ptr %266, i64 %267 %269 = load ptr, ptr %268, align 8 %270 = call i32 @strcmp(ptr noundef %269, ptr noundef @.str.5) %271 = icmp ne i32 %270, 0 br i1 %271, label %272, label %293 272: ; preds = %265 %273 = load ptr, ptr %10, align 8 %274 = load i64, ptr %8, align 8 %275 = getelementptr inbounds ptr, ptr %273, i64 %274 %276 = load ptr, ptr %275, align 8 %277 = call i32 @strcmp(ptr noundef %276, ptr noundef @.str.6) %278 = icmp ne i32 %277, 0 br i1 %278, label %279, label %293 279: ; preds = %272 %280 = load ptr, ptr %10, align 8 %281 = load i64, ptr %8, align 8 %282 = getelementptr inbounds ptr, ptr %280, i64 %281 %283 = load ptr, ptr %282, align 8 %284 = call i32 @strcmp(ptr noundef %283, ptr noundef @.str.13) %285 = icmp ne i32 %284, 0 br i1 %285, label %286, label %293 286: ; preds = %279 %287 = load ptr, ptr %10, align 8 %288 = load i64, ptr %8, align 8 %289 = getelementptr inbounds ptr, ptr %287, i64 %288 %290 = load ptr, ptr %289, align 8 %291 = call i32 @strcmp(ptr noundef %290, ptr noundef @.str.7) %292 = icmp ne i32 %291, 0 br i1 %292, label %295, label %293 293: ; preds = %286, %279, %272, %265, %258, %251, %244, %237, %230 %294 = load ptr, ptr %11, align 8 store i64 1, ptr %294, align 8 br label %295 295: ; preds = %293, %286 %296 = load ptr, ptr %10, align 8 %297 = load i64, ptr %8, align 8 %298 = getelementptr inbounds ptr, ptr %296, i64 %297 %299 = load ptr, ptr %298, align 8 %300 = call i32 @strcmp(ptr noundef %299, ptr noundef @.str.8) %301 = icmp ne i32 %300, 0 br i1 %301, label %302, label %323 302: ; preds = %295 %303 = load ptr, ptr %10, align 8 %304 = load i64, ptr %8, align 8 %305 = getelementptr inbounds ptr, ptr %303, i64 %304 %306 = load ptr, ptr %305, align 8 %307 = call i32 @strcmp(ptr noundef %306, ptr noundef @.str.11) %308 = icmp ne i32 %307, 0 br i1 %308, label %309, label %323 309: ; preds = %302 %310 = load ptr, ptr %10, align 8 %311 = load i64, ptr %8, align 8 %312 = getelementptr inbounds ptr, ptr %310, i64 %311 %313 = load ptr, ptr %312, align 8 %314 = call i32 @strcmp(ptr noundef %313, ptr noundef @.str.10) %315 = icmp ne i32 %314, 0 br i1 %315, label %316, label %323 316: ; preds = %309 %317 = load ptr, ptr %10, align 8 %318 = load i64, ptr %8, align 8 %319 = getelementptr inbounds ptr, ptr %317, i64 %318 %320 = load ptr, ptr %319, align 8 %321 = call i32 @strcmp(ptr noundef %320, ptr noundef @.str.12) %322 = icmp ne i32 %321, 0 br i1 %322, label %325, label %323 323: ; preds = %316, %309, %302, %295 %324 = load ptr, ptr %12, align 8 store i64 1, ptr %324, align 8 br label %325 325: ; preds = %323, %316 br label %711 326: ; preds = %222 %327 = load ptr, ptr %9, align 8 %328 = load i64, ptr %7, align 8 %329 = getelementptr inbounds i8, ptr %327, i64 %328 %330 = load i8, ptr %329, align 1 %331 = call signext i8 @toupper(i8 noundef signext %330) %332 = sext i8 %331 to i32 %333 = icmp eq i32 %332, 85 br i1 %333, label %334, label %423 334: ; preds = %326 %335 = load ptr, ptr %10, align 8 %336 = load i64, ptr %8, align 8 %337 = getelementptr inbounds ptr, ptr %335, i64 %336 %338 = load ptr, ptr %337, align 8 %339 = call i32 @strcmp(ptr noundef %338, ptr noundef @.str) %340 = icmp ne i32 %339, 0 br i1 %340, label %341, label %390 341: ; preds = %334 %342 = load ptr, ptr %10, align 8 %343 = load i64, ptr %8, align 8 %344 = getelementptr inbounds ptr, ptr %342, i64 %343 %345 = load ptr, ptr %344, align 8 %346 = call i32 @strcmp(ptr noundef %345, ptr noundef @.str.1) %347 = icmp ne i32 %346, 0 br i1 %347, label %348, label %390 348: ; preds = %341 %349 = load ptr, ptr %10, align 8 %350 = load i64, ptr %8, align 8 %351 = getelementptr inbounds ptr, ptr %349, i64 %350 %352 = load ptr, ptr %351, align 8 %353 = call i32 @strcmp(ptr noundef %352, ptr noundef @.str.2) %354 = icmp ne i32 %353, 0 br i1 %354, label %355, label %390 355: ; preds = %348 %356 = load ptr, ptr %10, align 8 %357 = load i64, ptr %8, align 8 %358 = getelementptr inbounds ptr, ptr %356, i64 %357 %359 = load ptr, ptr %358, align 8 %360 = call i32 @strcmp(ptr noundef %359, ptr noundef @.str.3) %361 = icmp ne i32 %360, 0 br i1 %361, label %362, label %390 362: ; preds = %355 %363 = load ptr, ptr %10, align 8 %364 = load i64, ptr %8, align 8 %365 = getelementptr inbounds ptr, ptr %363, i64 %364 %366 = load ptr, ptr %365, align 8 %367 = call i32 @strcmp(ptr noundef %366, ptr noundef @.str.4) %368 = icmp ne i32 %367, 0 br i1 %368, label %369, label %390 369: ; preds = %362 %370 = load ptr, ptr %10, align 8 %371 = load i64, ptr %8, align 8 %372 = getelementptr inbounds ptr, ptr %370, i64 %371 %373 = load ptr, ptr %372, align 8 %374 = call i32 @strcmp(ptr noundef %373, ptr noundef @.str.15) %375 = icmp ne i32 %374, 0 br i1 %375, label %376, label %390 376: ; preds = %369 %377 = load ptr, ptr %10, align 8 %378 = load i64, ptr %8, align 8 %379 = getelementptr inbounds ptr, ptr %377, i64 %378 %380 = load ptr, ptr %379, align 8 %381 = call i32 @strcmp(ptr noundef %380, ptr noundef @.str.16) %382 = icmp ne i32 %381, 0 br i1 %382, label %383, label %390 383: ; preds = %376 %384 = load ptr, ptr %10, align 8 %385 = load i64, ptr %8, align 8 %386 = getelementptr inbounds ptr, ptr %384, i64 %385 %387 = load ptr, ptr %386, align 8 %388 = call i32 @strcmp(ptr noundef %387, ptr noundef @.str.8) %389 = icmp ne i32 %388, 0 br i1 %389, label %392, label %390 390: ; preds = %383, %376, %369, %362, %355, %348, %341, %334 %391 = load ptr, ptr %11, align 8 store i64 1, ptr %391, align 8 br label %392 392: ; preds = %390, %383 %393 = load ptr, ptr %10, align 8 %394 = load i64, ptr %8, align 8 %395 = getelementptr inbounds ptr, ptr %393, i64 %394 %396 = load ptr, ptr %395, align 8 %397 = call i32 @strcmp(ptr noundef %396, ptr noundef @.str.7) %398 = icmp ne i32 %397, 0 br i1 %398, label %399, label %420 399: ; preds = %392 %400 = load ptr, ptr %10, align 8 %401 = load i64, ptr %8, align 8 %402 = getelementptr inbounds ptr, ptr %400, i64 %401 %403 = load ptr, ptr %402, align 8 %404 = call i32 @strcmp(ptr noundef %403, ptr noundef @.str.17) %405 = icmp ne i32 %404, 0 br i1 %405, label %406, label %420 406: ; preds = %399 %407 = load ptr, ptr %10, align 8 %408 = load i64, ptr %8, align 8 %409 = getelementptr inbounds ptr, ptr %407, i64 %408 %410 = load ptr, ptr %409, align 8 %411 = call i32 @strcmp(ptr noundef %410, ptr noundef @.str.18) %412 = icmp ne i32 %411, 0 br i1 %412, label %413, label %420 413: ; preds = %406 %414 = load ptr, ptr %10, align 8 %415 = load i64, ptr %8, align 8 %416 = getelementptr inbounds ptr, ptr %414, i64 %415 %417 = load ptr, ptr %416, align 8 %418 = call i32 @strcmp(ptr noundef %417, ptr noundef @.str.12) %419 = icmp ne i32 %418, 0 br i1 %419, label %422, label %420 420: ; preds = %413, %406, %399, %392 %421 = load ptr, ptr %12, align 8 store i64 1, ptr %421, align 8 br label %422 422: ; preds = %420, %413 br label %710 423: ; preds = %326 %424 = load ptr, ptr %9, align 8 %425 = load i64, ptr %7, align 8 %426 = getelementptr inbounds i8, ptr %424, i64 %425 %427 = load i8, ptr %426, align 1 %428 = call signext i8 @toupper(i8 noundef signext %427) %429 = sext i8 %428 to i32 %430 = icmp eq i32 %429, 67 br i1 %430, label %431, label %520 431: ; preds = %423 %432 = load ptr, ptr %10, align 8 %433 = load i64, ptr %8, align 8 %434 = getelementptr inbounds ptr, ptr %432, i64 %433 %435 = load ptr, ptr %434, align 8 %436 = call i32 @strcmp(ptr noundef %435, ptr noundef @.str) %437 = icmp ne i32 %436, 0 br i1 %437, label %438, label %480 438: ; preds = %431 %439 = load ptr, ptr %10, align 8 %440 = load i64, ptr %8, align 8 %441 = getelementptr inbounds ptr, ptr %439, i64 %440 %442 = load ptr, ptr %441, align 8 %443 = call i32 @strcmp(ptr noundef %442, ptr noundef @.str.1) %444 = icmp ne i32 %443, 0 br i1 %444, label %445, label %480 445: ; preds = %438 %446 = load ptr, ptr %10, align 8 %447 = load i64, ptr %8, align 8 %448 = getelementptr inbounds ptr, ptr %446, i64 %447 %449 = load ptr, ptr %448, align 8 %450 = call i32 @strcmp(ptr noundef %449, ptr noundef @.str.2) %451 = icmp ne i32 %450, 0 br i1 %451, label %452, label %480 452: ; preds = %445 %453 = load ptr, ptr %10, align 8 %454 = load i64, ptr %8, align 8 %455 = getelementptr inbounds ptr, ptr %453, i64 %454 %456 = load ptr, ptr %455, align 8 %457 = call i32 @strcmp(ptr noundef %456, ptr noundef @.str.3) %458 = icmp ne i32 %457, 0 br i1 %458, label %459, label %480 459: ; preds = %452 %460 = load ptr, ptr %10, align 8 %461 = load i64, ptr %8, align 8 %462 = getelementptr inbounds ptr, ptr %460, i64 %461 %463 = load ptr, ptr %462, align 8 %464 = call i32 @strcmp(ptr noundef %463, ptr noundef @.str.4) %465 = icmp ne i32 %464, 0 br i1 %465, label %466, label %480 466: ; preds = %459 %467 = load ptr, ptr %10, align 8 %468 = load i64, ptr %8, align 8 %469 = getelementptr inbounds ptr, ptr %467, i64 %468 %470 = load ptr, ptr %469, align 8 %471 = call i32 @strcmp(ptr noundef %470, ptr noundef @.str.8) %472 = icmp ne i32 %471, 0 br i1 %472, label %473, label %480 473: ; preds = %466 %474 = load ptr, ptr %10, align 8 %475 = load i64, ptr %8, align 8 %476 = getelementptr inbounds ptr, ptr %474, i64 %475 %477 = load ptr, ptr %476, align 8 %478 = call i32 @strcmp(ptr noundef %477, ptr noundef @.str.16) %479 = icmp ne i32 %478, 0 br i1 %479, label %482, label %480 480: ; preds = %473, %466, %459, %452, %445, %438, %431 %481 = load ptr, ptr %11, align 8 store i64 1, ptr %481, align 8 br label %482 482: ; preds = %480, %473 %483 = load ptr, ptr %10, align 8 %484 = load i64, ptr %8, align 8 %485 = getelementptr inbounds ptr, ptr %483, i64 %484 %486 = load ptr, ptr %485, align 8 %487 = call i32 @strcmp(ptr noundef %486, ptr noundef @.str.7) %488 = icmp ne i32 %487, 0 br i1 %488, label %489, label %517 489: ; preds = %482 %490 = load ptr, ptr %10, align 8 %491 = load i64, ptr %8, align 8 %492 = getelementptr inbounds ptr, ptr %490, i64 %491 %493 = load ptr, ptr %492, align 8 %494 = call i32 @strcmp(ptr noundef %493, ptr noundef @.str.19) %495 = icmp ne i32 %494, 0 br i1 %495, label %496, label %517 496: ; preds = %489 %497 = load ptr, ptr %10, align 8 %498 = load i64, ptr %8, align 8 %499 = getelementptr inbounds ptr, ptr %497, i64 %498 %500 = load ptr, ptr %499, align 8 %501 = call i32 @strcmp(ptr noundef %500, ptr noundef @.str.17) %502 = icmp ne i32 %501, 0 br i1 %502, label %503, label %517 503: ; preds = %496 %504 = load ptr, ptr %10, align 8 %505 = load i64, ptr %8, align 8 %506 = getelementptr inbounds ptr, ptr %504, i64 %505 %507 = load ptr, ptr %506, align 8 %508 = call i32 @strcmp(ptr noundef %507, ptr noundef @.str.18) %509 = icmp ne i32 %508, 0 br i1 %509, label %510, label %517 510: ; preds = %503 %511 = load ptr, ptr %10, align 8 %512 = load i64, ptr %8, align 8 %513 = getelementptr inbounds ptr, ptr %511, i64 %512 %514 = load ptr, ptr %513, align 8 %515 = call i32 @strcmp(ptr noundef %514, ptr noundef @.str.12) %516 = icmp ne i32 %515, 0 br i1 %516, label %519, label %517 517: ; preds = %510, %503, %496, %489, %482 %518 = load ptr, ptr %12, align 8 store i64 1, ptr %518, align 8 br label %519 519: ; preds = %517, %510 br label %709 520: ; preds = %423 %521 = load ptr, ptr %9, align 8 %522 = load i64, ptr %7, align 8 %523 = getelementptr inbounds i8, ptr %521, i64 %522 %524 = load i8, ptr %523, align 1 %525 = call signext i8 @toupper(i8 noundef signext %524) %526 = sext i8 %525 to i32 %527 = icmp eq i32 %526, 80 br i1 %527, label %528, label %617 528: ; preds = %520 %529 = load ptr, ptr %10, align 8 %530 = load i64, ptr %8, align 8 %531 = getelementptr inbounds ptr, ptr %529, i64 %530 %532 = load ptr, ptr %531, align 8 %533 = call i32 @strcmp(ptr noundef %532, ptr noundef @.str) %534 = icmp ne i32 %533, 0 br i1 %534, label %535, label %584 535: ; preds = %528 %536 = load ptr, ptr %10, align 8 %537 = load i64, ptr %8, align 8 %538 = getelementptr inbounds ptr, ptr %536, i64 %537 %539 = load ptr, ptr %538, align 8 %540 = call i32 @strcmp(ptr noundef %539, ptr noundef @.str.1) %541 = icmp ne i32 %540, 0 br i1 %541, label %542, label %584 542: ; preds = %535 %543 = load ptr, ptr %10, align 8 %544 = load i64, ptr %8, align 8 %545 = getelementptr inbounds ptr, ptr %543, i64 %544 %546 = load ptr, ptr %545, align 8 %547 = call i32 @strcmp(ptr noundef %546, ptr noundef @.str.2) %548 = icmp ne i32 %547, 0 br i1 %548, label %549, label %584 549: ; preds = %542 %550 = load ptr, ptr %10, align 8 %551 = load i64, ptr %8, align 8 %552 = getelementptr inbounds ptr, ptr %550, i64 %551 %553 = load ptr, ptr %552, align 8 %554 = call i32 @strcmp(ptr noundef %553, ptr noundef @.str.3) %555 = icmp ne i32 %554, 0 br i1 %555, label %556, label %584 556: ; preds = %549 %557 = load ptr, ptr %10, align 8 %558 = load i64, ptr %8, align 8 %559 = getelementptr inbounds ptr, ptr %557, i64 %558 %560 = load ptr, ptr %559, align 8 %561 = call i32 @strcmp(ptr noundef %560, ptr noundef @.str.4) %562 = icmp ne i32 %561, 0 br i1 %562, label %563, label %584 563: ; preds = %556 %564 = load ptr, ptr %10, align 8 %565 = load i64, ptr %8, align 8 %566 = getelementptr inbounds ptr, ptr %564, i64 %565 %567 = load ptr, ptr %566, align 8 %568 = call i32 @strcmp(ptr noundef %567, ptr noundef @.str.17) %569 = icmp ne i32 %568, 0 br i1 %569, label %570, label %584 570: ; preds = %563 %571 = load ptr, ptr %10, align 8 %572 = load i64, ptr %8, align 8 %573 = getelementptr inbounds ptr, ptr %571, i64 %572 %574 = load ptr, ptr %573, align 8 %575 = call i32 @strcmp(ptr noundef %574, ptr noundef @.str.15) %576 = icmp ne i32 %575, 0 br i1 %576, label %577, label %584 577: ; preds = %570 %578 = load ptr, ptr %10, align 8 %579 = load i64, ptr %8, align 8 %580 = getelementptr inbounds ptr, ptr %578, i64 %579 %581 = load ptr, ptr %580, align 8 %582 = call i32 @strcmp(ptr noundef %581, ptr noundef @.str.16) %583 = icmp ne i32 %582, 0 br i1 %583, label %586, label %584 584: ; preds = %577, %570, %563, %556, %549, %542, %535, %528 %585 = load ptr, ptr %11, align 8 store i64 1, ptr %585, align 8 br label %586 586: ; preds = %584, %577 %587 = load ptr, ptr %10, align 8 %588 = load i64, ptr %8, align 8 %589 = getelementptr inbounds ptr, ptr %587, i64 %588 %590 = load ptr, ptr %589, align 8 %591 = call i32 @strcmp(ptr noundef %590, ptr noundef @.str.8) %592 = icmp ne i32 %591, 0 br i1 %592, label %593, label %614 593: ; preds = %586 %594 = load ptr, ptr %10, align 8 %595 = load i64, ptr %8, align 8 %596 = getelementptr inbounds ptr, ptr %594, i64 %595 %597 = load ptr, ptr %596, align 8 %598 = call i32 @strcmp(ptr noundef %597, ptr noundef @.str.7) %599 = icmp ne i32 %598, 0 br i1 %599, label %600, label %614 600: ; preds = %593 %601 = load ptr, ptr %10, align 8 %602 = load i64, ptr %8, align 8 %603 = getelementptr inbounds ptr, ptr %601, i64 %602 %604 = load ptr, ptr %603, align 8 %605 = call i32 @strcmp(ptr noundef %604, ptr noundef @.str.18) %606 = icmp ne i32 %605, 0 br i1 %606, label %607, label %614 607: ; preds = %600 %608 = load ptr, ptr %10, align 8 %609 = load i64, ptr %8, align 8 %610 = getelementptr inbounds ptr, ptr %608, i64 %609 %611 = load ptr, ptr %610, align 8 %612 = call i32 @strcmp(ptr noundef %611, ptr noundef @.str.12) %613 = icmp ne i32 %612, 0 br i1 %613, label %616, label %614 614: ; preds = %607, %600, %593, %586 %615 = load ptr, ptr %12, align 8 store i64 1, ptr %615, align 8 br label %616 616: ; preds = %614, %607 br label %708 617: ; preds = %520 %618 = load ptr, ptr %9, align 8 %619 = load i64, ptr %7, align 8 %620 = getelementptr inbounds i8, ptr %618, i64 %619 %621 = load i8, ptr %620, align 1 %622 = call signext i8 @toupper(i8 noundef signext %621) %623 = sext i8 %622 to i32 %624 = icmp eq i32 %623, 84 br i1 %624, label %625, label %707 625: ; preds = %617 %626 = load ptr, ptr %10, align 8 %627 = load i64, ptr %8, align 8 %628 = getelementptr inbounds ptr, ptr %626, i64 %627 %629 = load ptr, ptr %628, align 8 %630 = call i32 @strcmp(ptr noundef %629, ptr noundef @.str) %631 = icmp ne i32 %630, 0 br i1 %631, label %632, label %681 632: ; preds = %625 %633 = load ptr, ptr %10, align 8 %634 = load i64, ptr %8, align 8 %635 = getelementptr inbounds ptr, ptr %633, i64 %634 %636 = load ptr, ptr %635, align 8 %637 = call i32 @strcmp(ptr noundef %636, ptr noundef @.str.1) %638 = icmp ne i32 %637, 0 br i1 %638, label %639, label %681 639: ; preds = %632 %640 = load ptr, ptr %10, align 8 %641 = load i64, ptr %8, align 8 %642 = getelementptr inbounds ptr, ptr %640, i64 %641 %643 = load ptr, ptr %642, align 8 %644 = call i32 @strcmp(ptr noundef %643, ptr noundef @.str.2) %645 = icmp ne i32 %644, 0 br i1 %645, label %646, label %681 646: ; preds = %639 %647 = load ptr, ptr %10, align 8 %648 = load i64, ptr %8, align 8 %649 = getelementptr inbounds ptr, ptr %647, i64 %648 %650 = load ptr, ptr %649, align 8 %651 = call i32 @strcmp(ptr noundef %650, ptr noundef @.str.3) %652 = icmp ne i32 %651, 0 br i1 %652, label %653, label %681 653: ; preds = %646 %654 = load ptr, ptr %10, align 8 %655 = load i64, ptr %8, align 8 %656 = getelementptr inbounds ptr, ptr %654, i64 %655 %657 = load ptr, ptr %656, align 8 %658 = call i32 @strcmp(ptr noundef %657, ptr noundef @.str.4) %659 = icmp ne i32 %658, 0 br i1 %659, label %660, label %681 660: ; preds = %653 %661 = load ptr, ptr %10, align 8 %662 = load i64, ptr %8, align 8 %663 = getelementptr inbounds ptr, ptr %661, i64 %662 %664 = load ptr, ptr %663, align 8 %665 = call i32 @strcmp(ptr noundef %664, ptr noundef @.str.8) %666 = icmp ne i32 %665, 0 br i1 %666, label %667, label %681 667: ; preds = %660 %668 = load ptr, ptr %10, align 8 %669 = load i64, ptr %8, align 8 %670 = getelementptr inbounds ptr, ptr %668, i64 %669 %671 = load ptr, ptr %670, align 8 %672 = call i32 @strcmp(ptr noundef %671, ptr noundef @.str.15) %673 = icmp ne i32 %672, 0 br i1 %673, label %674, label %681 674: ; preds = %667 %675 = load ptr, ptr %10, align 8 %676 = load i64, ptr %8, align 8 %677 = getelementptr inbounds ptr, ptr %675, i64 %676 %678 = load ptr, ptr %677, align 8 %679 = call i32 @strcmp(ptr noundef %678, ptr noundef @.str.16) %680 = icmp ne i32 %679, 0 br i1 %680, label %683, label %681 681: ; preds = %674, %667, %660, %653, %646, %639, %632, %625 %682 = load ptr, ptr %11, align 8 store i64 1, ptr %682, align 8 br label %683 683: ; preds = %681, %674 %684 = load ptr, ptr %10, align 8 %685 = load i64, ptr %8, align 8 %686 = getelementptr inbounds ptr, ptr %684, i64 %685 %687 = load ptr, ptr %686, align 8 %688 = call i32 @strcmp(ptr noundef %687, ptr noundef @.str.7) %689 = icmp ne i32 %688, 0 br i1 %689, label %690, label %704 690: ; preds = %683 %691 = load ptr, ptr %10, align 8 %692 = load i64, ptr %8, align 8 %693 = getelementptr inbounds ptr, ptr %691, i64 %692 %694 = load ptr, ptr %693, align 8 %695 = call i32 @strcmp(ptr noundef %694, ptr noundef @.str.17) %696 = icmp ne i32 %695, 0 br i1 %696, label %697, label %704 697: ; preds = %690 %698 = load ptr, ptr %10, align 8 %699 = load i64, ptr %8, align 8 %700 = getelementptr inbounds ptr, ptr %698, i64 %699 %701 = load ptr, ptr %700, align 8 %702 = call i32 @strcmp(ptr noundef %701, ptr noundef @.str.18) %703 = icmp ne i32 %702, 0 br i1 %703, label %706, label %704 704: ; preds = %697, %690, %683 %705 = load ptr, ptr %12, align 8 store i64 1, ptr %705, align 8 br label %706 706: ; preds = %704, %697 br label %707 707: ; preds = %706, %617 br label %708 708: ; preds = %707, %616 br label %709 709: ; preds = %708, %519 br label %710 710: ; preds = %709, %422 br label %711 711: ; preds = %710, %325 br label %712 712: ; preds = %711, %221 br label %713 713: ; preds = %712, %117 ret void } declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo9xl_1jr.c' source_filename = "/tmp/tmpo9xl_1jr.c" target datalayout = "e-m:e-p270: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/tmpo9xl_1jr.c" target datalayout = "e-m:e-p270: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/tmp23wq09q0.c' source_filename = "/tmp/tmp23wq09q0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sdiv i32 %3, 1000 %5 = call i32 @sleep(i32 noundef %4) ret i32 %5 } declare i32 @sleep(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/tmp23wq09q0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sdiv i32 %3, 1000 %5 = call i32 @sleep(i32 noundef %4) ret i32 %5 } declare i32 @sleep(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/tmpuabv4hr0.c' source_filename = "/tmp/tmpuabv4hr0.c" target datalayout = "e-m:e-p270: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/tmpuabv4hr0.c" target datalayout = "e-m:e-p270: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/tmpbbi5k3oq.c' source_filename = "/tmp/tmpbbi5k3oq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %6, align 8 %21 = icmp eq ptr %19, %20 br i1 %21, label %25, label %22 22: ; preds = %3 %23 = load i32, ptr %7, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %22, %3 %26 = load ptr, ptr %5, align 8 store ptr %26, ptr %4, align 8 br label %189 27: ; preds = %22 %28 = load ptr, ptr %5, align 8 %29 = ptrtoint ptr %28 to i64 store i64 %29, ptr %8, align 8 %30 = load ptr, ptr %6, align 8 %31 = ptrtoint ptr %30 to i64 store i64 %31, ptr %9, align 8 %32 = load i64, ptr %8, align 8 %33 = load i64, ptr %9, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = add i64 %33, %35 %37 = icmp uge i64 %32, %36 br i1 %37, label %45, label %38 38: ; preds = %27 %39 = load i64, ptr %9, align 8 %40 = load i64, ptr %8, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = add i64 %40, %42 %44 = icmp uge i64 %39, %43 br i1 %44, label %45, label %51 45: ; preds = %38, %27 %46 = load ptr, ptr %5, align 8 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %7, align 4 %49 = call i32 @memcpy(ptr noundef %46, ptr noundef %47, i32 noundef %48) %50 = load ptr, ptr %5, align 8 store ptr %50, ptr %4, align 8 br label %189 51: ; preds = %38 %52 = load i64, ptr %8, align 8 %53 = load i64, ptr %9, align 8 %54 = icmp ult i64 %52, %53 br i1 %54, label %55, label %120 55: ; preds = %51 %56 = load i64, ptr %9, align 8 %57 = load i64, ptr %8, align 8 %58 = sub i64 %56, %57 %59 = icmp uge i64 %58, 4 br i1 %59, label %60, label %98 60: ; preds = %55 %61 = load i64, ptr %9, align 8 %62 = urem i64 %61, 4 %63 = icmp ne i64 %62, 0 br i1 %63, label %98, label %64 64: ; preds = %60 %65 = load i64, ptr %8, align 8 %66 = urem i64 %65, 4 %67 = icmp ne i64 %66, 0 br i1 %67, label %98, label %68 68: ; preds = %64 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = urem i64 %70, 4 %72 = icmp ne i64 %71, 0 br i1 %72, label %98, label %73 73: ; preds = %68 %74 = load ptr, ptr %5, align 8 store ptr %74, ptr %11, align 8 %75 = load ptr, ptr %6, align 8 store ptr %75, ptr %12, align 8 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = udiv i64 %77, 4 %79 = trunc i64 %78 to i32 store i32 %79, ptr %7, align 4 store i32 0, ptr %10, align 4 br label %80 80: ; preds = %94, %73 %81 = load i32, ptr %10, align 4 %82 = load i32, ptr %7, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %84, label %97 84: ; preds = %80 %85 = load ptr, ptr %12, align 8 %86 = load i32, ptr %10, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %85, i64 %87 %89 = load i32, ptr %88, align 4 %90 = load ptr, ptr %11, align 8 %91 = load i32, ptr %10, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 store i32 %89, ptr %93, align 4 br label %94 94: ; preds = %84 %95 = load i32, ptr %10, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %10, align 4 br label %80, !llvm.loop !6 97: ; preds = %80 br label %119 98: ; preds = %68, %64, %60, %55 %99 = load ptr, ptr %5, align 8 store ptr %99, ptr %13, align 8 %100 = load ptr, ptr %6, align 8 store ptr %100, ptr %14, align 8 store i32 0, ptr %10, align 4 br label %101 101: ; preds = %115, %98 %102 = load i32, ptr %10, align 4 %103 = load i32, ptr %7, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %105, label %118 105: ; preds = %101 %106 = load ptr, ptr %14, align 8 %107 = load i32, ptr %10, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i8, ptr %106, i64 %108 %110 = load i8, ptr %109, align 1 %111 = load ptr, ptr %13, align 8 %112 = load i32, ptr %10, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 store i8 %110, ptr %114, align 1 br label %115 115: ; preds = %105 %116 = load i32, ptr %10, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %10, align 4 br label %101, !llvm.loop !8 118: ; preds = %101 br label %119 119: ; preds = %118, %97 br label %187 120: ; preds = %51 %121 = load i64, ptr %8, align 8 %122 = load i64, ptr %9, align 8 %123 = sub i64 %121, %122 %124 = icmp uge i64 %123, 4 br i1 %124, label %125, label %164 125: ; preds = %120 %126 = load i64, ptr %9, align 8 %127 = urem i64 %126, 4 %128 = icmp ne i64 %127, 0 br i1 %128, label %164, label %129 129: ; preds = %125 %130 = load i64, ptr %8, align 8 %131 = urem i64 %130, 4 %132 = icmp ne i64 %131, 0 br i1 %132, label %164, label %133 133: ; preds = %129 %134 = load i32, ptr %7, align 4 %135 = sext i32 %134 to i64 %136 = urem i64 %135, 4 %137 = icmp ne i64 %136, 0 br i1 %137, label %164, label %138 138: ; preds = %133 %139 = load ptr, ptr %5, align 8 store ptr %139, ptr %15, align 8 %140 = load ptr, ptr %6, align 8 store ptr %140, ptr %16, align 8 %141 = load i32, ptr %7, align 4 %142 = sext i32 %141 to i64 %143 = udiv i64 %142, 4 %144 = trunc i64 %143 to i32 store i32 %144, ptr %7, align 4 %145 = load i32, ptr %7, align 4 %146 = sub nsw i32 %145, 1 store i32 %146, ptr %10, align 4 br label %147 147: ; preds = %160, %138 %148 = load i32, ptr %10, align 4 %149 = icmp sge i32 %148, 0 br i1 %149, label %150, label %163 150: ; preds = %147 %151 = load ptr, ptr %16, align 8 %152 = load i32, ptr %10, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds i32, ptr %151, i64 %153 %155 = load i32, ptr %154, align 4 %156 = load ptr, ptr %15, align 8 %157 = load i32, ptr %10, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i32, ptr %156, i64 %158 store i32 %155, ptr %159, align 4 br label %160 160: ; preds = %150 %161 = load i32, ptr %10, align 4 %162 = add nsw i32 %161, -1 store i32 %162, ptr %10, align 4 br label %147, !llvm.loop !9 163: ; preds = %147 br label %186 164: ; preds = %133, %129, %125, %120 %165 = load ptr, ptr %5, align 8 store ptr %165, ptr %17, align 8 %166 = load ptr, ptr %6, align 8 store ptr %166, ptr %18, align 8 %167 = load i32, ptr %7, align 4 %168 = sub nsw i32 %167, 1 store i32 %168, ptr %10, align 4 br label %169 169: ; preds = %182, %164 %170 = load i32, ptr %10, align 4 %171 = icmp sge i32 %170, 0 br i1 %171, label %172, label %185 172: ; preds = %169 %173 = load ptr, ptr %18, align 8 %174 = load i32, ptr %10, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds i8, ptr %173, i64 %175 %177 = load i8, ptr %176, align 1 %178 = load ptr, ptr %17, align 8 %179 = load i32, ptr %10, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds i8, ptr %178, i64 %180 store i8 %177, ptr %181, align 1 br label %182 182: ; preds = %172 %183 = load i32, ptr %10, align 4 %184 = add nsw i32 %183, -1 store i32 %184, ptr %10, align 4 br label %169, !llvm.loop !10 185: ; preds = %169 br label %186 186: ; preds = %185, %163 br label %187 187: ; preds = %186, %119 %188 = load ptr, ptr %5, align 8 store ptr %188, ptr %4, align 8 br label %189 189: ; preds = %187, %45, %25 %190 = load ptr, ptr %4, align 8 ret ptr %190 } 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbbi5k3oq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %6, align 8 %21 = icmp eq ptr %19, %20 br i1 %21, label %25, label %22 22: ; preds = %3 %23 = load i32, ptr %7, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %22, %3 %26 = load ptr, ptr %5, align 8 store ptr %26, ptr %4, align 8 br label %195 27: ; preds = %22 %28 = load ptr, ptr %5, align 8 %29 = ptrtoint ptr %28 to i64 store i64 %29, ptr %8, align 8 %30 = load ptr, ptr %6, align 8 %31 = ptrtoint ptr %30 to i64 store i64 %31, ptr %9, align 8 %32 = load i64, ptr %8, align 8 %33 = load i64, ptr %9, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = add i64 %33, %35 %37 = icmp uge i64 %32, %36 br i1 %37, label %45, label %38 38: ; preds = %27 %39 = load i64, ptr %9, align 8 %40 = load i64, ptr %8, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = add i64 %40, %42 %44 = icmp uge i64 %39, %43 br i1 %44, label %45, label %51 45: ; preds = %38, %27 %46 = load ptr, ptr %5, align 8 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %7, align 4 %49 = call i32 @memcpy(ptr noundef %46, ptr noundef %47, i32 noundef %48) %50 = load ptr, ptr %5, align 8 store ptr %50, ptr %4, align 8 br label %195 51: ; preds = %38 %52 = load i64, ptr %8, align 8 %53 = load i64, ptr %9, align 8 %54 = icmp ult i64 %52, %53 br i1 %54, label %55, label %124 55: ; preds = %51 %56 = load i64, ptr %9, align 8 %57 = load i64, ptr %8, align 8 %58 = sub i64 %56, %57 %59 = icmp uge i64 %58, 4 br i1 %59, label %60, label %100 60: ; preds = %55 %61 = load i64, ptr %9, align 8 %62 = urem i64 %61, 4 %63 = icmp ne i64 %62, 0 br i1 %63, label %100, label %64 64: ; preds = %60 %65 = load i64, ptr %8, align 8 %66 = urem i64 %65, 4 %67 = icmp ne i64 %66, 0 br i1 %67, label %100, label %68 68: ; preds = %64 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = urem i64 %70, 4 %72 = icmp ne i64 %71, 0 br i1 %72, label %100, label %73 73: ; preds = %68 %74 = load ptr, ptr %5, align 8 store ptr %74, ptr %11, align 8 %75 = load ptr, ptr %6, align 8 store ptr %75, ptr %12, align 8 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = udiv i64 %77, 4 %79 = trunc i64 %78 to i32 store i32 %79, ptr %7, align 4 store i32 0, ptr %10, align 4 %80 = load i32, ptr %10, align 4 %81 = load i32, ptr %7, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %.lr.ph5, label %99 .lr.ph5: ; preds = %73 br label %83 83: ; preds = %.lr.ph5, %93 %84 = load ptr, ptr %12, align 8 %85 = load i32, ptr %10, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i32, ptr %84, i64 %86 %88 = load i32, ptr %87, align 4 %89 = load ptr, ptr %11, align 8 %90 = load i32, ptr %10, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %89, i64 %91 store i32 %88, ptr %92, align 4 br label %93 93: ; preds = %83 %94 = load i32, ptr %10, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %10, align 4 %96 = load i32, ptr %10, align 4 %97 = load i32, ptr %7, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %83, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %93 br label %99 99: ; preds = %._crit_edge6, %73 br label %123 100: ; preds = %68, %64, %60, %55 %101 = load ptr, ptr %5, align 8 store ptr %101, ptr %13, align 8 %102 = load ptr, ptr %6, align 8 store ptr %102, ptr %14, align 8 store i32 0, ptr %10, align 4 %103 = load i32, ptr %10, align 4 %104 = load i32, ptr %7, align 4 %105 = icmp slt i32 %103, %104 br i1 %105, label %.lr.ph8, label %122 .lr.ph8: ; preds = %100 br label %106 106: ; preds = %.lr.ph8, %116 %107 = load ptr, ptr %14, align 8 %108 = load i32, ptr %10, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = load i8, ptr %110, align 1 %112 = load ptr, ptr %13, align 8 %113 = load i32, ptr %10, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i8, ptr %112, i64 %114 store i8 %111, ptr %115, align 1 br label %116 116: ; preds = %106 %117 = load i32, ptr %10, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %10, align 4 %119 = load i32, ptr %10, align 4 %120 = load i32, ptr %7, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %106, label %._crit_edge9, !llvm.loop !8 ._crit_edge9: ; preds = %116 br label %122 122: ; preds = %._crit_edge9, %100 br label %123 123: ; preds = %122, %99 br label %193 124: ; preds = %51 %125 = load i64, ptr %8, align 8 %126 = load i64, ptr %9, align 8 %127 = sub i64 %125, %126 %128 = icmp uge i64 %127, 4 br i1 %128, label %129, label %169 129: ; preds = %124 %130 = load i64, ptr %9, align 8 %131 = urem i64 %130, 4 %132 = icmp ne i64 %131, 0 br i1 %132, label %169, label %133 133: ; preds = %129 %134 = load i64, ptr %8, align 8 %135 = urem i64 %134, 4 %136 = icmp ne i64 %135, 0 br i1 %136, label %169, label %137 137: ; preds = %133 %138 = load i32, ptr %7, align 4 %139 = sext i32 %138 to i64 %140 = urem i64 %139, 4 %141 = icmp ne i64 %140, 0 br i1 %141, label %169, label %142 142: ; preds = %137 %143 = load ptr, ptr %5, align 8 store ptr %143, ptr %15, align 8 %144 = load ptr, ptr %6, align 8 store ptr %144, ptr %16, align 8 %145 = load i32, ptr %7, align 4 %146 = sext i32 %145 to i64 %147 = udiv i64 %146, 4 %148 = trunc i64 %147 to i32 store i32 %148, ptr %7, align 4 %149 = load i32, ptr %7, align 4 %150 = sub nsw i32 %149, 1 store i32 %150, ptr %10, align 4 %151 = load i32, ptr %10, align 4 %152 = icmp sge i32 %151, 0 br i1 %152, label %.lr.ph, label %168 .lr.ph: ; preds = %142 br label %153 153: ; preds = %.lr.ph, %163 %154 = load ptr, ptr %16, align 8 %155 = load i32, ptr %10, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i32, ptr %154, i64 %156 %158 = load i32, ptr %157, align 4 %159 = load ptr, ptr %15, align 8 %160 = load i32, ptr %10, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i32, ptr %159, i64 %161 store i32 %158, ptr %162, align 4 br label %163 163: ; preds = %153 %164 = load i32, ptr %10, align 4 %165 = add nsw i32 %164, -1 store i32 %165, ptr %10, align 4 %166 = load i32, ptr %10, align 4 %167 = icmp sge i32 %166, 0 br i1 %167, label %153, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %163 br label %168 168: ; preds = %._crit_edge, %142 br label %192 169: ; preds = %137, %133, %129, %124 %170 = load ptr, ptr %5, align 8 store ptr %170, ptr %17, align 8 %171 = load ptr, ptr %6, align 8 store ptr %171, ptr %18, align 8 %172 = load i32, ptr %7, align 4 %173 = sub nsw i32 %172, 1 store i32 %173, ptr %10, align 4 %174 = load i32, ptr %10, align 4 %175 = icmp sge i32 %174, 0 br i1 %175, label %.lr.ph2, label %191 .lr.ph2: ; preds = %169 br label %176 176: ; preds = %.lr.ph2, %186 %177 = load ptr, ptr %18, align 8 %178 = load i32, ptr %10, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds i8, ptr %177, i64 %179 %181 = load i8, ptr %180, align 1 %182 = load ptr, ptr %17, align 8 %183 = load i32, ptr %10, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds i8, ptr %182, i64 %184 store i8 %181, ptr %185, align 1 br label %186 186: ; preds = %176 %187 = load i32, ptr %10, align 4 %188 = add nsw i32 %187, -1 store i32 %188, ptr %10, align 4 %189 = load i32, ptr %10, align 4 %190 = icmp sge i32 %189, 0 br i1 %190, label %176, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %186 br label %191 191: ; preds = %._crit_edge3, %169 br label %192 192: ; preds = %191, %168 br label %193 193: ; preds = %192, %123 %194 = load ptr, ptr %5, align 8 store ptr %194, ptr %4, align 8 br label %195 195: ; preds = %193, %45, %25 %196 = load ptr, ptr %4, align 8 ret ptr %196 } 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpv8bpnz10.c' source_filename = "/tmp/tmpv8bpnz10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crcut(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 @strchr(ptr noundef %4, i32 noundef 10) store ptr %5, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 store i8 0, ptr %8, align 1 br label %9 9: ; preds = %7, %1 %10 = load ptr, ptr %2, align 8 %11 = call ptr @strchr(ptr noundef %10, i32 noundef 13) store ptr %11, ptr %3, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 store i8 0, ptr %14, align 1 br label %15 15: ; preds = %13, %9 ret void } declare ptr @strchr(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/tmpv8bpnz10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crcut(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 @strchr(ptr noundef %4, i32 noundef 10) store ptr %5, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 store i8 0, ptr %8, align 1 br label %9 9: ; preds = %7, %1 %10 = load ptr, ptr %2, align 8 %11 = call ptr @strchr(ptr noundef %10, i32 noundef 13) store ptr %11, ptr %3, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %15 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 store i8 0, ptr %14, align 1 br label %15 15: ; preds = %13, %9 ret void } declare ptr @strchr(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/tmp6fszv1n6.c' source_filename = "/tmp/tmp6fszv1n6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_l2tp_peer_profile_delete_1(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @l2tp_peer_profile_delete_1_svc(ptr noundef %8, ptr noundef %9, ptr noundef %10) ret i32 %11 } declare i32 @l2tp_peer_profile_delete_1_svc(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/tmp6fszv1n6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_l2tp_peer_profile_delete_1(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @l2tp_peer_profile_delete_1_svc(ptr noundef %8, ptr noundef %9, ptr noundef %10) ret i32 %11 } declare i32 @l2tp_peer_profile_delete_1_svc(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/tmpbp0nb4v3.c' source_filename = "/tmp/tmpbp0nb4v3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_chmod_(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = call i32 @chmod(ptr noundef %7, i32 noundef %9) ret void } declare i32 @chmod(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/tmpbp0nb4v3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_chmod_(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = call i32 @chmod(ptr noundef %7, i32 noundef %9) ret void } declare i32 @chmod(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/tmpsdz_fp1i.c' source_filename = "/tmp/tmpsdz_fp1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\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 store i32 0, ptr %1, align 4 store volatile i32 3, ptr %2, align 4 store volatile i32 1, ptr %3, align 4 store volatile i32 0, ptr %4, align 4 %5 = load volatile i32, ptr %2, align 4 %6 = xor i32 %5, 150000 store volatile i32 %6, ptr %3, align 4 %7 = load volatile i32, ptr %3, align 4 %8 = add nsw i32 %7, 1 store volatile i32 %8, ptr %4, align 4 %9 = load volatile i32, ptr %3, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsdz_fp1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\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 store i32 0, ptr %1, align 4 store volatile i32 3, ptr %2, align 4 store volatile i32 1, ptr %3, align 4 store volatile i32 0, ptr %4, align 4 %5 = load volatile i32, ptr %2, align 4 %6 = xor i32 %5, 150000 store volatile i32 %6, ptr %3, align 4 %7 = load volatile i32, ptr %3, align 4 %8 = add nsw i32 %7, 1 store volatile i32 %8, ptr %4, align 4 %9 = load volatile i32, ptr %3, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt66j7f9m.c' source_filename = "/tmp/tmpt66j7f9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @p0(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 @bar(i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %5, 1 %7 = call i32 @bar(i32 noundef %6) ret void } declare i32 @bar(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/tmpt66j7f9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @p0(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 @bar(i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %5, 1 %7 = call i32 @bar(i32 noundef %6) ret void } declare i32 @bar(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/tmpa_kyzhdt.c' source_filename = "/tmp/tmpa_kyzhdt.c" target datalayout = "e-m:e-p270: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/tmpa_kyzhdt.c" target datalayout = "e-m:e-p270: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/tmpcd6qaktf.c' source_filename = "/tmp/tmpcd6qaktf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Podaj liczbe: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"Dzien = %d, Miesiac = %d, Rok = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = and i32 %8, 31 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = and i32 %10, 480 %12 = ashr i32 %11, 5 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = and i32 %13, -512 %15 = lshr i32 %14, 9 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16, i32 noundef %17, i32 noundef %18) 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/tmpcd6qaktf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Podaj liczbe: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"Dzien = %d, Miesiac = %d, Rok = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = and i32 %8, 31 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = and i32 %10, 480 %12 = ashr i32 %11, 5 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = and i32 %13, -512 %15 = lshr i32 %14, 9 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16, i32 noundef %17, i32 noundef %18) 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"}