llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpouardz0u.c' source_filename = "/tmp/tmpouardz0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr(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 = getelementptr inbounds i8, ptr %4, i64 0 store ptr %5, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %14, %1 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %6 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = call i32 @ft_putchar(i8 noundef signext %19) %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %6, !llvm.loop !6 23: ; preds = %6 ret void } declare i32 @ft_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpouardz0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr(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 = getelementptr inbounds i8, ptr %4, i64 0 store ptr %5, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %13 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = call i32 @ft_putchar(i8 noundef signext %18) %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %29 29: ; preds = %._crit_edge, %1 ret void } declare i32 @ft_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyf5h0nbw.c' source_filename = "/tmp/tmpyf5h0nbw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reallocfPtrZero1() #0 { %1 = alloca ptr, align 8 %2 = call ptr @reallocf(i32 noundef 0, i32 noundef 12) store ptr %2, ptr %1, align 8 ret void } declare ptr @reallocf(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/tmpyf5h0nbw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reallocfPtrZero1() #0 { %1 = alloca ptr, align 8 %2 = call ptr @reallocf(i32 noundef 0, i32 noundef 12) store ptr %2, ptr %1, align 8 ret void } declare ptr @reallocf(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/tmpwhs6_uhh.c' source_filename = "/tmp/tmpwhs6_uhh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Idle timeout\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cli_int_idle_timeout(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 @cli_print(ptr noundef %3, ptr noundef @.str) ret i32 -2 } declare i32 @cli_print(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/tmpwhs6_uhh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Idle timeout\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cli_int_idle_timeout(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 @cli_print(ptr noundef %3, ptr noundef @.str) ret i32 -2 } declare i32 @cli_print(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/tmp3tqxbq_t.c' source_filename = "/tmp/tmp3tqxbq_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3tqxbq_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp90kat_nm.c' source_filename = "/tmp/tmp90kat_nm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HUMIDITY_CLEAR_DATA() #0 { %1 = call i32 (...) @TOSH_CLR_GIO3_PIN() ret void } declare i32 @TOSH_CLR_GIO3_PIN(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp90kat_nm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HUMIDITY_CLEAR_DATA() #0 { %1 = call i32 (...) @TOSH_CLR_GIO3_PIN() ret void } declare i32 @TOSH_CLR_GIO3_PIN(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoyugwkws.c' source_filename = "/tmp/tmpoyugwkws.c" target datalayout = "e-m:e-p270: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/tmpoyugwkws.c" target datalayout = "e-m:e-p270: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/tmprtc7mw6a.c' source_filename = "/tmp/tmprtc7mw6a.c" target datalayout = "e-m:e-p270: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.A = type { [2 x i8], [3 x i8] } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_strcpy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.A, align 1 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strcpy(ptr noundef %5, ptr noundef %6) %8 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %9 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %10 = call i32 @sink(ptr noundef %9) %11 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %12 = getelementptr inbounds [2 x i8], ptr %11, i64 0, i64 0 %13 = getelementptr inbounds i8, ptr %12, i64 1 %14 = load ptr, ptr %2, align 8 %15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14) %16 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %17 = getelementptr inbounds [2 x i8], ptr %16, i64 0, i64 0 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = call i32 @sink(ptr noundef %18) %20 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %21 = getelementptr inbounds [2 x i8], ptr %20, i64 0, i64 0 %22 = getelementptr inbounds i8, ptr %21, i64 2 %23 = load ptr, ptr %2, align 8 %24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23) %25 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %26 = getelementptr inbounds [2 x i8], ptr %25, i64 0, i64 0 %27 = getelementptr inbounds i8, ptr %26, i64 2 %28 = call i32 @sink(ptr noundef %27) %29 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %30 = getelementptr inbounds [2 x i8], ptr %29, i64 0, i64 0 %31 = getelementptr inbounds i8, ptr %30, i64 5 %32 = load ptr, ptr %2, align 8 %33 = call i32 @strcpy(ptr noundef %31, ptr noundef %32) %34 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %35 = getelementptr inbounds [2 x i8], ptr %34, i64 0, i64 0 %36 = getelementptr inbounds i8, ptr %35, i64 5 %37 = call i32 @sink(ptr noundef %36) %38 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %39 = getelementptr inbounds [2 x i8], ptr %38, i64 0, i64 0 %40 = getelementptr inbounds i8, ptr %39, i64 17 %41 = load ptr, ptr %2, align 8 %42 = call i32 @strcpy(ptr noundef %40, ptr noundef %41) %43 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %44 = getelementptr inbounds [2 x i8], ptr %43, i64 0, i64 0 %45 = getelementptr inbounds i8, ptr %44, i64 17 %46 = call i32 @sink(ptr noundef %45) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprtc7mw6a.c" target datalayout = "e-m:e-p270: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.A = type { [2 x i8], [3 x i8] } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_strcpy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.A, align 1 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strcpy(ptr noundef %5, ptr noundef %6) %8 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %9 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %10 = call i32 @sink(ptr noundef %9) %11 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %12 = getelementptr inbounds [2 x i8], ptr %11, i64 0, i64 0 %13 = getelementptr inbounds i8, ptr %12, i64 1 %14 = load ptr, ptr %2, align 8 %15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14) %16 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %17 = getelementptr inbounds [2 x i8], ptr %16, i64 0, i64 0 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = call i32 @sink(ptr noundef %18) %20 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %21 = getelementptr inbounds [2 x i8], ptr %20, i64 0, i64 0 %22 = getelementptr inbounds i8, ptr %21, i64 2 %23 = load ptr, ptr %2, align 8 %24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23) %25 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %26 = getelementptr inbounds [2 x i8], ptr %25, i64 0, i64 0 %27 = getelementptr inbounds i8, ptr %26, i64 2 %28 = call i32 @sink(ptr noundef %27) %29 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %30 = getelementptr inbounds [2 x i8], ptr %29, i64 0, i64 0 %31 = getelementptr inbounds i8, ptr %30, i64 5 %32 = load ptr, ptr %2, align 8 %33 = call i32 @strcpy(ptr noundef %31, ptr noundef %32) %34 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %35 = getelementptr inbounds [2 x i8], ptr %34, i64 0, i64 0 %36 = getelementptr inbounds i8, ptr %35, i64 5 %37 = call i32 @sink(ptr noundef %36) %38 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %39 = getelementptr inbounds [2 x i8], ptr %38, i64 0, i64 0 %40 = getelementptr inbounds i8, ptr %39, i64 17 %41 = load ptr, ptr %2, align 8 %42 = call i32 @strcpy(ptr noundef %40, ptr noundef %41) %43 = getelementptr inbounds %struct.A, ptr %3, i32 0, i32 0 %44 = getelementptr inbounds [2 x i8], ptr %43, i64 0, i64 0 %45 = getelementptr inbounds i8, ptr %44, i64 17 %46 = call i32 @sink(ptr noundef %45) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqc2zb0xy.c' source_filename = "/tmp/tmpqc2zb0xy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"/sys/class/power_supply/BAT1/status\00", align 1 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @battery_status() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 67, ptr %2, align 4 %3 = call i32 @read_char_from_file(ptr noundef @.str) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp eq i32 %4, 67 %6 = zext i1 %5 to i32 ret i32 %6 } declare i32 @read_char_from_file(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqc2zb0xy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"/sys/class/power_supply/BAT1/status\00", align 1 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @battery_status() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 67, ptr %2, align 4 %3 = call i32 @read_char_from_file(ptr noundef @.str) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp eq i32 %4, 67 %6 = zext i1 %5 to i32 ret i32 %6 } declare i32 @read_char_from_file(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoxt5nxis.c' source_filename = "/tmp/tmpoxt5nxis.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FLT_MIN = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__hsail_class_f64(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 1 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load double, ptr %3, align 8 %10 = call i64 @isnan(double noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %8 %13 = load i64, ptr %3, align 8 %14 = and i64 %13, 2251799813685248 %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %121 16: ; preds = %12, %8, %2 %17 = load i32, ptr %4, align 4 %18 = and i32 %17, 2 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load double, ptr %3, align 8 %22 = call i64 @isnan(double noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %20 %25 = load i64, ptr %3, align 8 %26 = and i64 %25, 2251799813685248 %27 = icmp ne i64 %26, 0 br i1 %27, label %121, label %28 28: ; preds = %24, %20, %16 %29 = load i32, ptr %4, align 4 %30 = and i32 %29, 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %39 32: ; preds = %28 %33 = load double, ptr %3, align 8 %34 = call i64 @isinf(double noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = load double, ptr %3, align 8 %38 = fcmp olt double %37, 0.000000e+00 br i1 %38, label %121, label %39 39: ; preds = %36, %32, %28 %40 = load i32, ptr %4, align 4 %41 = and i32 %40, 8 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %39 %44 = load double, ptr %3, align 8 %45 = call i64 @isnormal(double noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = load double, ptr %3, align 8 %49 = call i64 @signbit(double noundef %48) %50 = icmp ne i64 %49, 0 br i1 %50, label %121, label %51 51: ; preds = %47, %43, %39 %52 = load i32, ptr %4, align 4 %53 = and i32 %52, 16 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %63 55: ; preds = %51 %56 = load double, ptr %3, align 8 %57 = fcmp olt double %56, 0.000000e+00 br i1 %57, label %58, label %63 58: ; preds = %55 %59 = load double, ptr %3, align 8 %60 = load double, ptr @FLT_MIN, align 8 %61 = fneg double %60 %62 = fcmp ogt double %59, %61 br i1 %62, label %121, label %63 63: ; preds = %58, %55, %51 %64 = load i32, ptr %4, align 4 %65 = and i32 %64, 32 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %74 67: ; preds = %63 %68 = load double, ptr %3, align 8 %69 = fcmp oeq double %68, 0.000000e+00 br i1 %69, label %70, label %74 70: ; preds = %67 %71 = load double, ptr %3, align 8 %72 = call i64 @signbit(double noundef %71) %73 = icmp ne i64 %72, 0 br i1 %73, label %121, label %74 74: ; preds = %70, %67, %63 %75 = load i32, ptr %4, align 4 %76 = and i32 %75, 64 %77 = icmp ne i32 %76, 0 br i1 %77, label %78, label %85 78: ; preds = %74 %79 = load double, ptr %3, align 8 %80 = fcmp oeq double %79, 0.000000e+00 br i1 %80, label %81, label %85 81: ; preds = %78 %82 = load double, ptr %3, align 8 %83 = call i64 @signbit(double noundef %82) %84 = icmp ne i64 %83, 0 br i1 %84, label %85, label %121 85: ; preds = %81, %78, %74 %86 = load i32, ptr %4, align 4 %87 = and i32 %86, 128 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %96 89: ; preds = %85 %90 = load double, ptr %3, align 8 %91 = fcmp ogt double %90, 0.000000e+00 br i1 %91, label %92, label %96 92: ; preds = %89 %93 = load double, ptr %3, align 8 %94 = load double, ptr @FLT_MIN, align 8 %95 = fcmp olt double %93, %94 br i1 %95, label %121, label %96 96: ; preds = %92, %89, %85 %97 = load i32, ptr %4, align 4 %98 = and i32 %97, 256 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %108 100: ; preds = %96 %101 = load double, ptr %3, align 8 %102 = call i64 @isnormal(double noundef %101) %103 = icmp ne i64 %102, 0 br i1 %103, label %104, label %108 104: ; preds = %100 %105 = load double, ptr %3, align 8 %106 = call i64 @signbit(double noundef %105) %107 = icmp ne i64 %106, 0 br i1 %107, label %108, label %121 108: ; preds = %104, %100, %96 %109 = load i32, ptr %4, align 4 %110 = and i32 %109, 512 %111 = icmp ne i32 %110, 0 br i1 %111, label %112, label %119 112: ; preds = %108 %113 = load double, ptr %3, align 8 %114 = call i64 @isinf(double noundef %113) %115 = icmp ne i64 %114, 0 br i1 %115, label %116, label %119 116: ; preds = %112 %117 = load double, ptr %3, align 8 %118 = fcmp oge double %117, 0.000000e+00 br label %119 119: ; preds = %116, %112, %108 %120 = phi i1 [ false, %112 ], [ false, %108 ], [ %118, %116 ] br label %121 121: ; preds = %119, %104, %92, %81, %70, %58, %47, %36, %24, %12 %122 = phi i1 [ true, %104 ], [ true, %92 ], [ true, %81 ], [ true, %70 ], [ true, %58 ], [ true, %47 ], [ true, %36 ], [ true, %24 ], [ true, %12 ], [ %120, %119 ] %123 = zext i1 %122 to i32 ret i32 %123 } declare i64 @isnan(double noundef) #1 declare i64 @isinf(double noundef) #1 declare i64 @isnormal(double noundef) #1 declare i64 @signbit(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/tmpoxt5nxis.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FLT_MIN = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__hsail_class_f64(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 1 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load double, ptr %3, align 8 %10 = call i64 @isnan(double noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %8 %13 = load i64, ptr %3, align 8 %14 = and i64 %13, 2251799813685248 %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %121 16: ; preds = %12, %8, %2 %17 = load i32, ptr %4, align 4 %18 = and i32 %17, 2 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load double, ptr %3, align 8 %22 = call i64 @isnan(double noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %20 %25 = load i64, ptr %3, align 8 %26 = and i64 %25, 2251799813685248 %27 = icmp ne i64 %26, 0 br i1 %27, label %121, label %28 28: ; preds = %24, %20, %16 %29 = load i32, ptr %4, align 4 %30 = and i32 %29, 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %39 32: ; preds = %28 %33 = load double, ptr %3, align 8 %34 = call i64 @isinf(double noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = load double, ptr %3, align 8 %38 = fcmp olt double %37, 0.000000e+00 br i1 %38, label %121, label %39 39: ; preds = %36, %32, %28 %40 = load i32, ptr %4, align 4 %41 = and i32 %40, 8 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %39 %44 = load double, ptr %3, align 8 %45 = call i64 @isnormal(double noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = load double, ptr %3, align 8 %49 = call i64 @signbit(double noundef %48) %50 = icmp ne i64 %49, 0 br i1 %50, label %121, label %51 51: ; preds = %47, %43, %39 %52 = load i32, ptr %4, align 4 %53 = and i32 %52, 16 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %63 55: ; preds = %51 %56 = load double, ptr %3, align 8 %57 = fcmp olt double %56, 0.000000e+00 br i1 %57, label %58, label %63 58: ; preds = %55 %59 = load double, ptr %3, align 8 %60 = load double, ptr @FLT_MIN, align 8 %61 = fneg double %60 %62 = fcmp ogt double %59, %61 br i1 %62, label %121, label %63 63: ; preds = %58, %55, %51 %64 = load i32, ptr %4, align 4 %65 = and i32 %64, 32 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %74 67: ; preds = %63 %68 = load double, ptr %3, align 8 %69 = fcmp oeq double %68, 0.000000e+00 br i1 %69, label %70, label %74 70: ; preds = %67 %71 = load double, ptr %3, align 8 %72 = call i64 @signbit(double noundef %71) %73 = icmp ne i64 %72, 0 br i1 %73, label %121, label %74 74: ; preds = %70, %67, %63 %75 = load i32, ptr %4, align 4 %76 = and i32 %75, 64 %77 = icmp ne i32 %76, 0 br i1 %77, label %78, label %85 78: ; preds = %74 %79 = load double, ptr %3, align 8 %80 = fcmp oeq double %79, 0.000000e+00 br i1 %80, label %81, label %85 81: ; preds = %78 %82 = load double, ptr %3, align 8 %83 = call i64 @signbit(double noundef %82) %84 = icmp ne i64 %83, 0 br i1 %84, label %85, label %121 85: ; preds = %81, %78, %74 %86 = load i32, ptr %4, align 4 %87 = and i32 %86, 128 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %96 89: ; preds = %85 %90 = load double, ptr %3, align 8 %91 = fcmp ogt double %90, 0.000000e+00 br i1 %91, label %92, label %96 92: ; preds = %89 %93 = load double, ptr %3, align 8 %94 = load double, ptr @FLT_MIN, align 8 %95 = fcmp olt double %93, %94 br i1 %95, label %121, label %96 96: ; preds = %92, %89, %85 %97 = load i32, ptr %4, align 4 %98 = and i32 %97, 256 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %108 100: ; preds = %96 %101 = load double, ptr %3, align 8 %102 = call i64 @isnormal(double noundef %101) %103 = icmp ne i64 %102, 0 br i1 %103, label %104, label %108 104: ; preds = %100 %105 = load double, ptr %3, align 8 %106 = call i64 @signbit(double noundef %105) %107 = icmp ne i64 %106, 0 br i1 %107, label %108, label %121 108: ; preds = %104, %100, %96 %109 = load i32, ptr %4, align 4 %110 = and i32 %109, 512 %111 = icmp ne i32 %110, 0 br i1 %111, label %112, label %119 112: ; preds = %108 %113 = load double, ptr %3, align 8 %114 = call i64 @isinf(double noundef %113) %115 = icmp ne i64 %114, 0 br i1 %115, label %116, label %119 116: ; preds = %112 %117 = load double, ptr %3, align 8 %118 = fcmp oge double %117, 0.000000e+00 br label %119 119: ; preds = %116, %112, %108 %120 = phi i1 [ false, %112 ], [ false, %108 ], [ %118, %116 ] br label %121 121: ; preds = %119, %104, %92, %81, %70, %58, %47, %36, %24, %12 %122 = phi i1 [ true, %104 ], [ true, %92 ], [ true, %81 ], [ true, %70 ], [ true, %58 ], [ true, %47 ], [ true, %36 ], [ true, %24 ], [ true, %12 ], [ %120, %119 ] %123 = zext i1 %122 to i32 ret i32 %123 } declare i64 @isnan(double noundef) #1 declare i64 @isinf(double noundef) #1 declare i64 @isnormal(double noundef) #1 declare i64 @signbit(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/tmpbtmslg12.c' source_filename = "/tmp/tmpbtmslg12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OPER %s %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ircproto_oper(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @sock_sendline(ptr noundef @.str, ptr noundef %5, ptr noundef %6) ret void } declare i32 @sock_sendline(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/tmpbtmslg12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OPER %s %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ircproto_oper(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @sock_sendline(ptr noundef @.str, ptr noundef %5, ptr noundef %6) ret void } declare i32 @sock_sendline(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/tmpoeibjhj9.c' source_filename = "/tmp/tmpoeibjhj9.c" target datalayout = "e-m:e-p270: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/tmpoeibjhj9.c" target datalayout = "e-m:e-p270: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/tmpy9m1ie6k.c' source_filename = "/tmp/tmpy9m1ie6k.c" target datalayout = "e-m:e-p270: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/tmpy9m1ie6k.c" target datalayout = "e-m:e-p270: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/tmpcu5dr19m.c' source_filename = "/tmp/tmpcu5dr19m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_prop(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @strdup(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @strtok(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 ret ptr %9 } declare ptr @strdup(ptr noundef) #1 declare ptr @strtok(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/tmpcu5dr19m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_prop(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @strdup(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @strtok(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 ret ptr %9 } declare ptr @strdup(ptr noundef) #1 declare ptr @strtok(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/tmpnx2okxhn.c' source_filename = "/tmp/tmpnx2okxhn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowered_priviledge_function(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [50 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = call i32 @seteuid(i32 noundef 5) %5 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strcpy(ptr noundef %5, ptr noundef %6) ret void } declare i32 @seteuid(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnx2okxhn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowered_priviledge_function(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [50 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = call i32 @seteuid(i32 noundef 5) %5 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strcpy(ptr noundef %5, ptr noundef %6) ret void } declare i32 @seteuid(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu3rl22sy.c' source_filename = "/tmp/tmpu3rl22sy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @primitive_float_less() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = call i32 (...) @dpop() %4 = call double @untag_float_fast(i32 noundef %3) store double %4, ptr %1, align 8 %5 = call i32 (...) @dpop() %6 = call double @untag_float_fast(i32 noundef %5) store double %6, ptr %2, align 8 %7 = load double, ptr %2, align 8 %8 = load double, ptr %1, align 8 %9 = fcmp olt double %7, %8 %10 = zext i1 %9 to i32 %11 = call i32 @box_boolean(i32 noundef %10) ret void } declare double @untag_float_fast(i32 noundef) #1 declare i32 @dpop(...) #1 declare i32 @box_boolean(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/tmpu3rl22sy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @primitive_float_less() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = call i32 (...) @dpop() %4 = call double @untag_float_fast(i32 noundef %3) store double %4, ptr %1, align 8 %5 = call i32 (...) @dpop() %6 = call double @untag_float_fast(i32 noundef %5) store double %6, ptr %2, align 8 %7 = load double, ptr %2, align 8 %8 = load double, ptr %1, align 8 %9 = fcmp olt double %7, %8 %10 = zext i1 %9 to i32 %11 = call i32 @box_boolean(i32 noundef %10) ret void } declare double @untag_float_fast(i32 noundef) #1 declare i32 @dpop(...) #1 declare i32 @box_boolean(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/tmpsx8xzc4y.c' source_filename = "/tmp/tmpsx8xzc4y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = 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/tmpsx8xzc4y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = 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/tmpy2ilxagt.c' source_filename = "/tmp/tmpy2ilxagt.c" target datalayout = "e-m:e-p270: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 } @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"open\00", align 1 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"***Bogus zero error on fstat\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1 @ENOMEM = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [30 x i8] c"***Bogus zero error on lseek\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"===Short read: asked for %ld, got %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cspReadFile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca %struct.stat, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i32, align 4 %17 = alloca i64, align 8 %18 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 store i64 0, ptr %17, align 8 %19 = load ptr, ptr %7, align 8 store i32 0, ptr %19, align 4 %20 = load ptr, ptr %6, align 8 store ptr null, ptr %20, align 8 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr @O_RDONLY, align 4 %23 = call i32 @open(ptr noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %9, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp sle i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %3 %27 = call i32 @perror(ptr noundef @.str) %28 = load i32, ptr @errno, align 4 store i32 %28, ptr %4, align 4 br label %121 29: ; preds = %3 %30 = load i32, ptr %9, align 4 %31 = call i32 @fstat(i32 noundef %30, ptr noundef %12) store i32 %31, ptr %16, align 4 %32 = load i32, ptr %16, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %44 34: ; preds = %29 %35 = load i32, ptr @errno, align 4 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %34 %39 = load i32, ptr @stderr, align 4 %40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.1) store i32 -1, ptr %8, align 4 br label %43 41: ; preds = %34 %42 = call i32 @perror(ptr noundef @.str.2) br label %43 43: ; preds = %41, %38 br label %117 44: ; preds = %29 %45 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0 %46 = load i32, ptr %45, align 4 store i32 %46, ptr %13, align 4 %47 = load i32, ptr %13, align 4 %48 = call i64 @malloc(i32 noundef %47) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %11, align 8 store ptr %49, ptr %10, align 8 %50 = load ptr, ptr %10, align 8 %51 = icmp eq ptr %50, null br i1 %51, label %52, label %54 52: ; preds = %44 %53 = load i32, ptr @ENOMEM, align 4 store i32 %53, ptr %8, align 4 br label %117 54: ; preds = %44 %55 = load i32, ptr %9, align 4 %56 = load i32, ptr @SEEK_SET, align 4 %57 = call i64 @lseek(i32 noundef %55, i32 noundef 0, i32 noundef %56) store i64 %57, ptr %17, align 8 %58 = load i64, ptr %17, align 8 %59 = icmp slt i64 %58, 0 br i1 %59, label %60, label %70 60: ; preds = %54 %61 = load i32, ptr @errno, align 4 store i32 %61, ptr %8, align 4 %62 = load i32, ptr %8, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %67 64: ; preds = %60 %65 = load i32, ptr @stderr, align 4 %66 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.3) store i32 -1, ptr %8, align 4 br label %69 67: ; preds = %60 %68 = call i32 @perror(ptr noundef @.str.4) br label %69 69: ; preds = %67, %64 br label %117 70: ; preds = %54 %71 = load i32, ptr %13, align 4 %72 = zext i32 %71 to i64 store i64 %72, ptr %14, align 8 br label %73 73: ; preds = %105, %70 %74 = load i32, ptr %9, align 4 %75 = load ptr, ptr %11, align 8 %76 = load i64, ptr %14, align 8 %77 = call i64 @read(i32 noundef %74, ptr noundef %75, i64 noundef %76) store i64 %77, ptr %15, align 8 %78 = load i64, ptr %15, align 8 %79 = icmp eq i64 %78, 0 br i1 %79, label %80, label %81 80: ; preds = %73 br label %108 81: ; preds = %73 %82 = load i64, ptr %15, align 8 %83 = icmp slt i64 %82, 0 br i1 %83, label %84, label %87 84: ; preds = %81 %85 = load i32, ptr @errno, align 4 store i32 %85, ptr %8, align 4 %86 = call i32 @perror(ptr noundef @.str.5) br label %108 87: ; preds = %81 br label %88 88: ; preds = %87 %89 = load i64, ptr %15, align 8 store i64 %89, ptr %18, align 8 %90 = load i64, ptr %18, align 8 %91 = load i64, ptr %14, align 8 %92 = icmp ne i64 %90, %91 br i1 %92, label %93, label %98 93: ; preds = %88 %94 = load i32, ptr @stderr, align 4 %95 = load i64, ptr %14, align 8 %96 = load i64, ptr %18, align 8 %97 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.6, i64 noundef %95, i64 noundef %96) br label %98 98: ; preds = %93, %88 %99 = load i64, ptr %15, align 8 %100 = load i64, ptr %14, align 8 %101 = sub i64 %100, %99 store i64 %101, ptr %14, align 8 %102 = load i64, ptr %15, align 8 %103 = load ptr, ptr %11, align 8 %104 = getelementptr inbounds i8, ptr %103, i64 %102 store ptr %104, ptr %11, align 8 br label %105 105: ; preds = %98 %106 = load i64, ptr %14, align 8 %107 = icmp ne i64 %106, 0 br i1 %107, label %73, label %108, !llvm.loop !6 108: ; preds = %105, %84, %80 %109 = load i32, ptr %8, align 4 %110 = icmp eq i32 %109, 0 br i1 %110, label %111, label %116 111: ; preds = %108 %112 = load ptr, ptr %10, align 8 %113 = load ptr, ptr %6, align 8 store ptr %112, ptr %113, align 8 %114 = load i32, ptr %13, align 4 %115 = load ptr, ptr %7, align 8 store i32 %114, ptr %115, align 4 br label %116 116: ; preds = %111, %108 br label %117 117: ; preds = %116, %69, %52, %43 %118 = load i32, ptr %9, align 4 %119 = call i32 @close(i32 noundef %118) %120 = load i32, ptr %8, align 4 store i32 %120, ptr %4, align 4 br label %121 121: ; preds = %117, %26 %122 = load i32, ptr %4, align 4 ret i32 %122 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy2ilxagt.c" target datalayout = "e-m:e-p270: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 } @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"open\00", align 1 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"***Bogus zero error on fstat\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1 @ENOMEM = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [30 x i8] c"***Bogus zero error on lseek\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"===Short read: asked for %ld, got %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cspReadFile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca %struct.stat, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i32, align 4 %17 = alloca i64, align 8 %18 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 store i64 0, ptr %17, align 8 %19 = load ptr, ptr %7, align 8 store i32 0, ptr %19, align 4 %20 = load ptr, ptr %6, align 8 store ptr null, ptr %20, align 8 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr @O_RDONLY, align 4 %23 = call i32 @open(ptr noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %9, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp sle i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %3 %27 = call i32 @perror(ptr noundef @.str) %28 = load i32, ptr @errno, align 4 store i32 %28, ptr %4, align 4 br label %121 29: ; preds = %3 %30 = load i32, ptr %9, align 4 %31 = call i32 @fstat(i32 noundef %30, ptr noundef %12) store i32 %31, ptr %16, align 4 %32 = load i32, ptr %16, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %44 34: ; preds = %29 %35 = load i32, ptr @errno, align 4 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %34 %39 = load i32, ptr @stderr, align 4 %40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.1) store i32 -1, ptr %8, align 4 br label %43 41: ; preds = %34 %42 = call i32 @perror(ptr noundef @.str.2) br label %43 43: ; preds = %41, %38 br label %117 44: ; preds = %29 %45 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0 %46 = load i32, ptr %45, align 4 store i32 %46, ptr %13, align 4 %47 = load i32, ptr %13, align 4 %48 = call i64 @malloc(i32 noundef %47) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %11, align 8 store ptr %49, ptr %10, align 8 %50 = load ptr, ptr %10, align 8 %51 = icmp eq ptr %50, null br i1 %51, label %52, label %54 52: ; preds = %44 %53 = load i32, ptr @ENOMEM, align 4 store i32 %53, ptr %8, align 4 br label %117 54: ; preds = %44 %55 = load i32, ptr %9, align 4 %56 = load i32, ptr @SEEK_SET, align 4 %57 = call i64 @lseek(i32 noundef %55, i32 noundef 0, i32 noundef %56) store i64 %57, ptr %17, align 8 %58 = load i64, ptr %17, align 8 %59 = icmp slt i64 %58, 0 br i1 %59, label %60, label %70 60: ; preds = %54 %61 = load i32, ptr @errno, align 4 store i32 %61, ptr %8, align 4 %62 = load i32, ptr %8, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %67 64: ; preds = %60 %65 = load i32, ptr @stderr, align 4 %66 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.3) store i32 -1, ptr %8, align 4 br label %69 67: ; preds = %60 %68 = call i32 @perror(ptr noundef @.str.4) br label %69 69: ; preds = %67, %64 br label %117 70: ; preds = %54 %71 = load i32, ptr %13, align 4 %72 = zext i32 %71 to i64 store i64 %72, ptr %14, align 8 br label %73 73: ; preds = %105, %70 %74 = load i32, ptr %9, align 4 %75 = load ptr, ptr %11, align 8 %76 = load i64, ptr %14, align 8 %77 = call i64 @read(i32 noundef %74, ptr noundef %75, i64 noundef %76) store i64 %77, ptr %15, align 8 %78 = load i64, ptr %15, align 8 %79 = icmp eq i64 %78, 0 br i1 %79, label %80, label %81 80: ; preds = %73 br label %108 81: ; preds = %73 %82 = load i64, ptr %15, align 8 %83 = icmp slt i64 %82, 0 br i1 %83, label %84, label %87 84: ; preds = %81 %85 = load i32, ptr @errno, align 4 store i32 %85, ptr %8, align 4 %86 = call i32 @perror(ptr noundef @.str.5) br label %108 87: ; preds = %81 br label %88 88: ; preds = %87 %89 = load i64, ptr %15, align 8 store i64 %89, ptr %18, align 8 %90 = load i64, ptr %18, align 8 %91 = load i64, ptr %14, align 8 %92 = icmp ne i64 %90, %91 br i1 %92, label %93, label %98 93: ; preds = %88 %94 = load i32, ptr @stderr, align 4 %95 = load i64, ptr %14, align 8 %96 = load i64, ptr %18, align 8 %97 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.6, i64 noundef %95, i64 noundef %96) br label %98 98: ; preds = %93, %88 %99 = load i64, ptr %15, align 8 %100 = load i64, ptr %14, align 8 %101 = sub i64 %100, %99 store i64 %101, ptr %14, align 8 %102 = load i64, ptr %15, align 8 %103 = load ptr, ptr %11, align 8 %104 = getelementptr inbounds i8, ptr %103, i64 %102 store ptr %104, ptr %11, align 8 br label %105 105: ; preds = %98 %106 = load i64, ptr %14, align 8 %107 = icmp ne i64 %106, 0 br i1 %107, label %73, label %.loopexit, !llvm.loop !6 .loopexit: ; preds = %105 br label %108 108: ; preds = %.loopexit, %84, %80 %109 = load i32, ptr %8, align 4 %110 = icmp eq i32 %109, 0 br i1 %110, label %111, label %116 111: ; preds = %108 %112 = load ptr, ptr %10, align 8 %113 = load ptr, ptr %6, align 8 store ptr %112, ptr %113, align 8 %114 = load i32, ptr %13, align 4 %115 = load ptr, ptr %7, align 8 store i32 %114, ptr %115, align 4 br label %116 116: ; preds = %111, %108 br label %117 117: ; preds = %116, %69, %52, %43 %118 = load i32, ptr %9, align 4 %119 = call i32 @close(i32 noundef %118) %120 = load i32, ptr %8, align 4 store i32 %120, ptr %4, align 4 br label %121 121: ; preds = %117, %26 %122 = load i32, ptr %4, align 4 ret i32 %122 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpku3b4ezc.c' source_filename = "/tmp/tmpku3b4ezc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d\0A%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 13, ptr %1, align 4 store i32 1, ptr %2, align 4 %3 = call i32 @modify(ptr noundef %1, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef 13, i32 noundef %4) ret void } declare i32 @modify(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpku3b4ezc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d\0A%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 13, ptr %1, align 4 store i32 1, ptr %2, align 4 %3 = call i32 @modify(ptr noundef %1, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef 13, i32 noundef %4) ret void } declare i32 @modify(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz6k107_m.c' source_filename = "/tmp/tmpz6k107_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.firstName = private unnamed_addr constant [7 x i8] c"Iordan\00", align 1 @__const.main.middleName = private unnamed_addr constant [9 x i8] c"Iordanov\00", align 1 @__const.main.lastName = private unnamed_addr constant [9 x i8] c"Iordanov\00", align 1 @__const.main.bankName = private unnamed_addr constant [9 x i8] c"DSK Bank\00", align 1 @__const.main.IBAN = private unnamed_addr constant [29 x i8] c"BG80 BNBG 9888 7420 3456 78 \00", align 16 @.str = private unnamed_addr constant [10 x i8] c"Bank: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Account holder name: %s %s %s\0AIBAN: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Balance: %.5Lf\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Credit card numbers: %Ld, %Ld, %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca [9 x i8], align 1 %4 = alloca [9 x i8], align 1 %5 = alloca x86_fp80, align 16 %6 = alloca [9 x i8], align 1 %7 = alloca [29 x i8], align 16 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.firstName, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.middleName, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.lastName, i64 9, i1 false) store x86_fp80 0xK4005F7CB020C49BA6000, ptr %5, align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.bankName, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.IBAN, i64 29, i1 false) store i64 12325455234, ptr %8, align 8 store i64 89516648536, ptr %9, align 8 store i64 56987456215, ptr %10, align 8 %11 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) %13 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %14 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0 %15 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0 %16 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) %18 = load x86_fp80, ptr %5, align 16 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, x86_fp80 noundef %18) %20 = load i64, ptr %8, align 8 %21 = load i64, ptr %9, align 8 %22 = load i64, ptr %10, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %20, i64 noundef %21, i64 noundef %22) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz6k107_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.firstName = private unnamed_addr constant [7 x i8] c"Iordan\00", align 1 @__const.main.middleName = private unnamed_addr constant [9 x i8] c"Iordanov\00", align 1 @__const.main.lastName = private unnamed_addr constant [9 x i8] c"Iordanov\00", align 1 @__const.main.bankName = private unnamed_addr constant [9 x i8] c"DSK Bank\00", align 1 @__const.main.IBAN = private unnamed_addr constant [29 x i8] c"BG80 BNBG 9888 7420 3456 78 \00", align 16 @.str = private unnamed_addr constant [10 x i8] c"Bank: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Account holder name: %s %s %s\0AIBAN: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Balance: %.5Lf\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Credit card numbers: %Ld, %Ld, %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca [9 x i8], align 1 %4 = alloca [9 x i8], align 1 %5 = alloca x86_fp80, align 16 %6 = alloca [9 x i8], align 1 %7 = alloca [29 x i8], align 16 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.firstName, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.middleName, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.lastName, i64 9, i1 false) store x86_fp80 0xK4005F7CB020C49BA6000, ptr %5, align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.bankName, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.IBAN, i64 29, i1 false) store i64 12325455234, ptr %8, align 8 store i64 89516648536, ptr %9, align 8 store i64 56987456215, ptr %10, align 8 %11 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) %13 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %14 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0 %15 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0 %16 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) %18 = load x86_fp80, ptr %5, align 16 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, x86_fp80 noundef %18) %20 = load i64, ptr %8, align 8 %21 = load i64, ptr %9, align 8 %22 = load i64, ptr %10, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %20, i64 noundef %21, i64 noundef %22) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb7idcbdr.c' source_filename = "/tmp/tmpb7idcbdr.c" target datalayout = "e-m:e-p270: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/tmpb7idcbdr.c" target datalayout = "e-m:e-p270: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/tmpqbg9dwlh.c' source_filename = "/tmp/tmpqbg9dwlh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"MCDISPLAY: circle('%s',%g,%g,%g,%g)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mcdis_circle(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load double, ptr %7, align 8 %13 = load double, ptr %8, align 8 %14 = load double, ptr %9, align 8 %15 = load double, ptr %10, align 8 %16 = call i32 @printf(ptr noundef @.str, ptr noundef %11, double noundef %12, double noundef %13, double noundef %14, double noundef %15) ret void } declare i32 @printf(ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqbg9dwlh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"MCDISPLAY: circle('%s',%g,%g,%g,%g)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mcdis_circle(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load double, ptr %7, align 8 %13 = load double, ptr %8, align 8 %14 = load double, ptr %9, align 8 %15 = load double, ptr %10, align 8 %16 = call i32 @printf(ptr noundef @.str, ptr noundef %11, double noundef %12, double noundef %13, double noundef %14, double noundef %15) ret void } declare i32 @printf(ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpalxf0bj9.c' source_filename = "/tmp/tmpalxf0bj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fci_hpi_read(ptr noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3, ptr noundef %4, i8 noundef zeroext %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca ptr, align 8 %12 = alloca i8, align 1 store ptr %0, ptr %7, align 8 store i8 %1, ptr %8, align 1 store i8 %2, ptr %9, align 1 store i8 %3, ptr %10, align 1 store ptr %4, ptr %11, align 8 store i8 %5, ptr %12, align 1 %13 = load ptr, ptr %7, align 8 %14 = load i8, ptr %9, align 1 %15 = zext i8 %14 to i32 %16 = or i32 3840, %15 %17 = load ptr, ptr %11, align 8 %18 = load i8, ptr %12, align 1 %19 = call i32 @bbm_bulk_read(ptr noundef %13, i32 noundef %16, ptr noundef %17, i8 noundef zeroext %18) ret i32 %19 } declare i32 @bbm_bulk_read(ptr noundef, i32 noundef, ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpalxf0bj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fci_hpi_read(ptr noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3, ptr noundef %4, i8 noundef zeroext %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca ptr, align 8 %12 = alloca i8, align 1 store ptr %0, ptr %7, align 8 store i8 %1, ptr %8, align 1 store i8 %2, ptr %9, align 1 store i8 %3, ptr %10, align 1 store ptr %4, ptr %11, align 8 store i8 %5, ptr %12, align 1 %13 = load ptr, ptr %7, align 8 %14 = load i8, ptr %9, align 1 %15 = zext i8 %14 to i32 %16 = or i32 3840, %15 %17 = load ptr, ptr %11, align 8 %18 = load i8, ptr %12, align 1 %19 = call i32 @bbm_bulk_read(ptr noundef %13, i32 noundef %16, ptr noundef %17, i8 noundef zeroext %18) ret i32 %19 } declare i32 @bbm_bulk_read(ptr noundef, i32 noundef, ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpik1wsp50.c' source_filename = "/tmp/tmpik1wsp50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @test2l(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call x86_fp80 @exp2l(x86_fp80 noundef %3) #2 ret x86_fp80 %4 } ; Function Attrs: nounwind declare x86_fp80 @exp2l(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpik1wsp50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @test2l(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call x86_fp80 @exp2l(x86_fp80 noundef %3) #2 ret x86_fp80 %4 } ; Function Attrs: nounwind declare x86_fp80 @exp2l(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6dcbv1md.c' source_filename = "/tmp/tmp6dcbv1md.c" target datalayout = "e-m:e-p270: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/tmp6dcbv1md.c" target datalayout = "e-m:e-p270: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/tmper_4l43e.c' source_filename = "/tmp/tmper_4l43e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d\0A%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintResult(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6) ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmper_4l43e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d\0A%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintResult(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6) ret void } 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"}
; ModuleID = '/tmp/tmppg_doy_m.c' source_filename = "/tmp/tmppg_doy_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @EX_CANTCREAT = dso_local global i32 0, align 4 @LOCK_EX = dso_local global i32 0, align 4 @LOCK_NB = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppg_doy_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @EX_CANTCREAT = dso_local global i32 0, align 4 @LOCK_EX = dso_local global i32 0, align 4 @LOCK_NB = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6vwna535.c' source_filename = "/tmp/tmp6vwna535.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @squareIntegerMatrix(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = mul nsw i32 %15, %16 store i32 %17, ptr %14, align 4 %18 = load i32, ptr %8, align 4 %19 = load ptr, ptr %11, align 8 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %9, align 4 %21 = load ptr, ptr %12, align 8 store i32 %20, ptr %21, align 4 %22 = load i32, ptr %14, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = trunc i64 %24 to i32 %26 = call i64 @malloc(i32 noundef %25) %27 = inttoptr i64 %26 to ptr %28 = load ptr, ptr %10, align 8 store ptr %27, ptr %28, align 8 store i32 0, ptr %13, align 4 br label %29 29: ; preds = %50, %6 %30 = load i32, ptr %13, align 4 %31 = load i32, ptr %14, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %53 33: ; preds = %29 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %13, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = mul nsw i32 %38, %43 %45 = load ptr, ptr %10, align 8 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 store i32 %44, ptr %49, align 4 br label %50 50: ; preds = %33 %51 = load i32, ptr %13, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %13, align 4 br label %29, !llvm.loop !6 53: ; preds = %29 ret void } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6vwna535.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @squareIntegerMatrix(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = mul nsw i32 %15, %16 store i32 %17, ptr %14, align 4 %18 = load i32, ptr %8, align 4 %19 = load ptr, ptr %11, align 8 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %9, align 4 %21 = load ptr, ptr %12, align 8 store i32 %20, ptr %21, align 4 %22 = load i32, ptr %14, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = trunc i64 %24 to i32 %26 = call i64 @malloc(i32 noundef %25) %27 = inttoptr i64 %26 to ptr %28 = load ptr, ptr %10, align 8 store ptr %27, ptr %28, align 8 store i32 0, ptr %13, align 4 %29 = load i32, ptr %13, align 4 %30 = load i32, ptr %14, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %55 .lr.ph: ; preds = %6 br label %32 32: ; preds = %.lr.ph, %49 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %13, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %13, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = mul nsw i32 %37, %42 %44 = load ptr, ptr %10, align 8 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr %13, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 store i32 %43, ptr %48, align 4 br label %49 49: ; preds = %32 %50 = load i32, ptr %13, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %13, align 4 %52 = load i32, ptr %13, align 4 %53 = load i32, ptr %14, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %55 55: ; preds = %._crit_edge, %6 ret void } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpldwqra93.c' source_filename = "/tmp/tmpldwqra93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @signal_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %8 [ i32 128, label %4 i32 131, label %4 i32 129, label %4 i32 130, label %4 ] 4: ; preds = %1, %1, %1, %1 %5 = call i32 @close_gpio_channel(i32 noundef 902) %6 = call i32 @close_gpio_channel(i32 noundef 894) %7 = call i32 @exit(i32 noundef 0) #3 unreachable 8: ; preds = %1 br label %9 9: ; preds = %8 ret void } declare i32 @close_gpio_channel(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/tmpldwqra93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @signal_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %8 [ i32 128, label %4 i32 131, label %4 i32 129, label %4 i32 130, label %4 ] 4: ; preds = %1, %1, %1, %1 %5 = call i32 @close_gpio_channel(i32 noundef 902) %6 = call i32 @close_gpio_channel(i32 noundef 894) %7 = call i32 @exit(i32 noundef 0) #3 unreachable 8: ; preds = %1 br label %9 9: ; preds = %8 ret void } declare i32 @close_gpio_channel(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/tmp3kxx6v4m.c' source_filename = "/tmp/tmp3kxx6v4m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_rwlock_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ENOSYS, align 4 %4 = sub nsw i32 0, %3 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3kxx6v4m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_rwlock_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ENOSYS, align 4 %4 = sub nsw i32 0, %3 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp32svwvbc.c' source_filename = "/tmp/tmp32svwvbc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i32 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33 store i32 %31, ptr %34, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, -552177408 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 br label %48 48: ; preds = %51, %47 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 br label %48, !llvm.loop !8 59: ; preds = %48 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp32svwvbc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i32 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32 store i32 %30, ptr %33, align 4 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, -552177408 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %38 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %.lr.ph2, label %61 .lr.ph2: ; preds = %48 br label %51 51: ; preds = %.lr.ph2, %51 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %59, 1 br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %61 61: ; preds = %._crit_edge3, %48 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpf4we6cza.c' source_filename = "/tmp/tmpf4we6cza.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Main function...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @first() %3 = call i32 (...) @second() %4 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @first(...) #1 declare i32 @second(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf4we6cza.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Main function...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @first() %3 = call i32 (...) @second() %4 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @first(...) #1 declare i32 @second(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcs32evl5.c' source_filename = "/tmp/tmpcs32evl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printwrap(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %92, %1 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %93 15: ; preds = %7 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %56, %15 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 25 br i1 %18, label %19, label %29 19: ; preds = %16 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %21, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %20, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br label %29 29: ; preds = %19, %16 %30 = phi i1 [ false, %16 ], [ %28, %19 ] br i1 %30, label %31, label %59 31: ; preds = %29 %32 = load ptr, ptr %2, align 8 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %33, %34 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %32, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 32 br i1 %40, label %51, label %41 41: ; preds = %31 %42 = load ptr, ptr %2, align 8 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %43, %44 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %42, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 9 br i1 %50, label %51, label %55 51: ; preds = %41, %31 %52 = load i32, ptr %5, align 4 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %52, %53 store i32 %54, ptr %4, align 4 br label %55 55: ; preds = %51, %41 br label %56 56: ; preds = %55 %57 = load i32, ptr %3, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %3, align 4 br label %16, !llvm.loop !6 59: ; preds = %29 %60 = load i32, ptr %4, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %66, label %62 62: ; preds = %59 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %3, align 4 %65 = add nsw i32 %63, %64 store i32 %65, ptr %6, align 4 br label %68 66: ; preds = %59 %67 = load i32, ptr %4, align 4 store i32 %67, ptr %6, align 4 br label %68 68: ; preds = %66, %62 %69 = load i32, ptr %5, align 4 store i32 %69, ptr %3, align 4 br label %70 70: ; preds = %81, %68 %71 = load i32, ptr %3, align 4 %72 = load i32, ptr %6, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %74, label %84 74: ; preds = %70 %75 = load ptr, ptr %2, align 8 %76 = load i32, ptr %3, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = call i32 @putchar(i8 noundef signext %79) br label %81 81: ; preds = %74 %82 = load i32, ptr %3, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %3, align 4 br label %70, !llvm.loop !8 84: ; preds = %70 %85 = call i32 @putchar(i8 noundef signext 10) %86 = load i32, ptr %6, align 4 store i32 %86, ptr %5, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %92 89: ; preds = %84 %90 = load i32, ptr %5, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %5, align 4 br label %92 92: ; preds = %89, %84 br label %7, !llvm.loop !9 93: ; preds = %7 ret void } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcs32evl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printwrap(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %.lr.ph2, label %101 .lr.ph2: ; preds = %1 br label %14 14: ; preds = %.lr.ph2, %93 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %15 15: ; preds = %55, %14 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 25 br i1 %17, label %18, label %28 18: ; preds = %15 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %20, %21 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %19, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br label %28 28: ; preds = %18, %15 %29 = phi i1 [ false, %15 ], [ %27, %18 ] br i1 %29, label %30, label %58 30: ; preds = %28 %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %32, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %31, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 32 br i1 %39, label %50, label %40 40: ; preds = %30 %41 = load ptr, ptr %2, align 8 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %41, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 9 br i1 %49, label %50, label %54 50: ; preds = %40, %30 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %51, %52 store i32 %53, ptr %4, align 4 br label %54 54: ; preds = %50, %40 br label %55 55: ; preds = %54 %56 = load i32, ptr %3, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %3, align 4 br label %15, !llvm.loop !6 58: ; preds = %28 %59 = load i32, ptr %4, align 4 %60 = icmp ne i32 %59, 0 br i1 %60, label %65, label %61 61: ; preds = %58 %62 = load i32, ptr %5, align 4 %63 = load i32, ptr %3, align 4 %64 = add nsw i32 %62, %63 store i32 %64, ptr %6, align 4 br label %67 65: ; preds = %58 %66 = load i32, ptr %4, align 4 store i32 %66, ptr %6, align 4 br label %67 67: ; preds = %65, %61 %68 = load i32, ptr %5, align 4 store i32 %68, ptr %3, align 4 %69 = load i32, ptr %3, align 4 %70 = load i32, ptr %6, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %.lr.ph, label %85 .lr.ph: ; preds = %67 br label %72 72: ; preds = %.lr.ph, %79 %73 = load ptr, ptr %2, align 8 %74 = load i32, ptr %3, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = call i32 @putchar(i8 noundef signext %77) br label %79 79: ; preds = %72 %80 = load i32, ptr %3, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %3, align 4 %82 = load i32, ptr %3, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %72, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %79 br label %85 85: ; preds = %._crit_edge, %67 %86 = call i32 @putchar(i8 noundef signext 10) %87 = load i32, ptr %6, align 4 store i32 %87, ptr %5, align 4 %88 = load i32, ptr %4, align 4 %89 = icmp ne i32 %88, 0 br i1 %89, label %90, label %93 90: ; preds = %85 %91 = load i32, ptr %5, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %5, align 4 br label %93 93: ; preds = %90, %85 %94 = load ptr, ptr %2, align 8 %95 = load i32, ptr %5, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp ne i32 %99, 0 br i1 %100, label %14, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %93 br label %101 101: ; preds = %._crit_edge3, %1 ret void } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpir7xz9l9.c' source_filename = "/tmp/tmpir7xz9l9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Current temperature\090\090\09C\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printThermalZoneTemperatureInfo(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 @output(ptr noundef @.str) ret void } declare i32 @output(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpir7xz9l9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Current temperature\090\090\09C\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printThermalZoneTemperatureInfo(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 @output(ptr noundef @.str) ret void } declare i32 @output(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpejfdr15p.c' source_filename = "/tmp/tmpejfdr15p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_uniform(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp sge i32 %6, %7 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %3, align 4 br label %19 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = call i32 (...) @rand() %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = sub nsw i32 %14, %15 %17 = srem i32 %13, %16 %18 = add nsw i32 %12, %17 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %11, %9 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpejfdr15p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_uniform(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp sge i32 %6, %7 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %3, align 4 br label %19 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = call i32 (...) @rand() %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = sub nsw i32 %14, %15 %17 = srem i32 %13, %16 %18 = add nsw i32 %12, %17 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %11, %9 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk1n1waqj.c' source_filename = "/tmp/tmpk1n1waqj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"All tests passed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_init() %3 = call i32 (...) @test_reset() %4 = call i32 (...) @test_op_inc_8() %5 = call i32 (...) @test_reset() %6 = call i32 (...) @test_op_inc_16() %7 = call i32 (...) @test_reset() %8 = call i32 (...) @test_op_dec_16() %9 = call i32 (...) @test_reset() %10 = call i32 (...) @test_op_nop() %11 = call i32 (...) @test_reset() %12 = call i32 (...) @test_op_ld_8() %13 = call i32 (...) @test_reset() %14 = call i32 (...) @test_op_ldi() %15 = call i32 (...) @test_reset() %16 = call i32 (...) @test_op_dec_8() %17 = call i32 (...) @test_reset() %18 = call i32 (...) @test_op_add_8() %19 = call i32 (...) @test_reset() %20 = call i32 (...) @test_op_sub_8() %21 = call i32 (...) @test_reset() %22 = call i32 (...) @test_op_and() %23 = call i32 (...) @test_reset() %24 = call i32 (...) @test_op_xor() %25 = call i32 (...) @test_reset() %26 = call i32 (...) @test_op_or() %27 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @test_init(...) #1 declare i32 @test_reset(...) #1 declare i32 @test_op_inc_8(...) #1 declare i32 @test_op_inc_16(...) #1 declare i32 @test_op_dec_16(...) #1 declare i32 @test_op_nop(...) #1 declare i32 @test_op_ld_8(...) #1 declare i32 @test_op_ldi(...) #1 declare i32 @test_op_dec_8(...) #1 declare i32 @test_op_add_8(...) #1 declare i32 @test_op_sub_8(...) #1 declare i32 @test_op_and(...) #1 declare i32 @test_op_xor(...) #1 declare i32 @test_op_or(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk1n1waqj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"All tests passed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_init() %3 = call i32 (...) @test_reset() %4 = call i32 (...) @test_op_inc_8() %5 = call i32 (...) @test_reset() %6 = call i32 (...) @test_op_inc_16() %7 = call i32 (...) @test_reset() %8 = call i32 (...) @test_op_dec_16() %9 = call i32 (...) @test_reset() %10 = call i32 (...) @test_op_nop() %11 = call i32 (...) @test_reset() %12 = call i32 (...) @test_op_ld_8() %13 = call i32 (...) @test_reset() %14 = call i32 (...) @test_op_ldi() %15 = call i32 (...) @test_reset() %16 = call i32 (...) @test_op_dec_8() %17 = call i32 (...) @test_reset() %18 = call i32 (...) @test_op_add_8() %19 = call i32 (...) @test_reset() %20 = call i32 (...) @test_op_sub_8() %21 = call i32 (...) @test_reset() %22 = call i32 (...) @test_op_and() %23 = call i32 (...) @test_reset() %24 = call i32 (...) @test_op_xor() %25 = call i32 (...) @test_reset() %26 = call i32 (...) @test_op_or() %27 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @test_init(...) #1 declare i32 @test_reset(...) #1 declare i32 @test_op_inc_8(...) #1 declare i32 @test_op_inc_16(...) #1 declare i32 @test_op_dec_16(...) #1 declare i32 @test_op_nop(...) #1 declare i32 @test_op_ld_8(...) #1 declare i32 @test_op_ldi(...) #1 declare i32 @test_op_dec_8(...) #1 declare i32 @test_op_add_8(...) #1 declare i32 @test_op_sub_8(...) #1 declare i32 @test_op_and(...) #1 declare i32 @test_op_xor(...) #1 declare i32 @test_op_or(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcfbpwwiq.c' source_filename = "/tmp/tmpcfbpwwiq.c" target datalayout = "e-m:e-p270: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/tmpcfbpwwiq.c" target datalayout = "e-m:e-p270: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/tmp9uiizvvt.c' source_filename = "/tmp/tmp9uiizvvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_CUR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @file_input_func(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %22 12: ; preds = %3 %13 = load i32, ptr %7, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = load ptr, ptr %8, align 8 %20 = call i64 @fread(ptr noundef %16, i32 noundef 1, i64 noundef %18, ptr noundef %19) %21 = trunc i64 %20 to i32 store i32 %21, ptr %4, align 4 br label %31 22: ; preds = %12, %3 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr @SEEK_CUR, align 4 %26 = call i64 @fseek(ptr noundef %23, i32 noundef %24, i32 noundef %25) %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %22 %29 = load i32, ptr %7, align 4 store i32 %29, ptr %4, align 4 br label %31 30: ; preds = %22 store i32 0, ptr %4, align 4 br label %31 31: ; preds = %30, %28, %15 %32 = load i32, ptr %4, align 4 ret i32 %32 } declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i64 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9uiizvvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_CUR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @file_input_func(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %22 12: ; preds = %3 %13 = load i32, ptr %7, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = load ptr, ptr %8, align 8 %20 = call i64 @fread(ptr noundef %16, i32 noundef 1, i64 noundef %18, ptr noundef %19) %21 = trunc i64 %20 to i32 store i32 %21, ptr %4, align 4 br label %31 22: ; preds = %12, %3 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr @SEEK_CUR, align 4 %26 = call i64 @fseek(ptr noundef %23, i32 noundef %24, i32 noundef %25) %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %22 %29 = load i32, ptr %7, align 4 store i32 %29, ptr %4, align 4 br label %31 30: ; preds = %22 store i32 0, ptr %4, align 4 br label %31 31: ; preds = %30, %28, %15 %32 = load i32, ptr %4, align 4 ret i32 %32 } declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i64 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcauegnup.c' source_filename = "/tmp/tmpcauegnup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @argv_get(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %2 store ptr null, ptr %3, align 8 br label %39 10: ; preds = %2 store i32 0, ptr %6, align 4 br label %11 11: ; preds = %25, %10 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %22 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = icmp ne ptr %20, null br label %22 22: ; preds = %15, %11 %23 = phi i1 [ false, %11 ], [ %21, %15 ] br i1 %23, label %24, label %28 24: ; preds = %22 br label %25 25: ; preds = %24 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 br label %11, !llvm.loop !6 28: ; preds = %22 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %33 32: ; preds = %28 store ptr null, ptr %3, align 8 br label %39 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 store ptr %38, ptr %3, align 8 br label %39 39: ; preds = %33, %32, %9 %40 = load ptr, ptr %3, align 8 ret ptr %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcauegnup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @argv_get(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %2 store ptr null, ptr %3, align 8 br label %39 10: ; preds = %2 store i32 0, ptr %6, align 4 br label %11 11: ; preds = %25, %10 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %22 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = icmp ne ptr %20, null br label %22 22: ; preds = %15, %11 %23 = phi i1 [ false, %11 ], [ %21, %15 ] br i1 %23, label %24, label %28 24: ; preds = %22 br label %25 25: ; preds = %24 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 br label %11, !llvm.loop !6 28: ; preds = %22 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %33 32: ; preds = %28 store ptr null, ptr %3, align 8 br label %39 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 store ptr %38, ptr %3, align 8 br label %39 39: ; preds = %33, %32, %9 %40 = load ptr, ptr %3, align 8 ret ptr %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1ynzn4td.c' source_filename = "/tmp/tmp1ynzn4td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreatePath(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca [1024 x i8], align 16 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 1 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 58 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 2 store ptr %13, ptr %2, align 8 br label %14 14: ; preds = %11, %1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 1 store ptr %16, ptr %3, align 8 br label %17 17: ; preds = %50, %14 %18 = load ptr, ptr %3, align 8 %19 = load i8, ptr %18, align 1 %20 = icmp ne i8 %19, 0 br i1 %20, label %21, label %53 21: ; preds = %17 %22 = load ptr, ptr %3, align 8 %23 = load i8, ptr %22, align 1 store i8 %23, ptr %4, align 1 %24 = load i8, ptr %4, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 47 br i1 %26, label %31, label %27 27: ; preds = %21 %28 = load i8, ptr %4, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 92 br i1 %30, label %31, label %49 31: ; preds = %27, %21 %32 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %33 = load ptr, ptr %2, align 8 %34 = load ptr, ptr %3, align 8 %35 = load ptr, ptr %2, align 8 %36 = ptrtoint ptr %34 to i64 %37 = ptrtoint ptr %35 to i64 %38 = sub i64 %36, %37 %39 = trunc i64 %38 to i32 %40 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef %39) %41 = load ptr, ptr %3, align 8 %42 = load ptr, ptr %2, align 8 %43 = ptrtoint ptr %41 to i64 %44 = ptrtoint ptr %42 to i64 %45 = sub i64 %43, %44 %46 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %45 store i8 0, ptr %46, align 1 %47 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %48 = call i32 @Q_mkdir(ptr noundef %47) br label %49 49: ; preds = %31, %27 br label %50 50: ; preds = %49 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %3, align 8 br label %17, !llvm.loop !6 53: ; preds = %17 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @Q_mkdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1ynzn4td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreatePath(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca [1024 x i8], align 16 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 1 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 58 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 2 store ptr %13, ptr %2, align 8 br label %14 14: ; preds = %11, %1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 1 store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %.lr.ph, label %55 .lr.ph: ; preds = %14 br label %20 20: ; preds = %.lr.ph, %49 %21 = load ptr, ptr %3, align 8 %22 = load i8, ptr %21, align 1 store i8 %22, ptr %4, align 1 %23 = load i8, ptr %4, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 47 br i1 %25, label %30, label %26 26: ; preds = %20 %27 = load i8, ptr %4, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 92 br i1 %29, label %30, label %48 30: ; preds = %26, %20 %31 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %32 = load ptr, ptr %2, align 8 %33 = load ptr, ptr %3, align 8 %34 = load ptr, ptr %2, align 8 %35 = ptrtoint ptr %33 to i64 %36 = ptrtoint ptr %34 to i64 %37 = sub i64 %35, %36 %38 = trunc i64 %37 to i32 %39 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i32 noundef %38) %40 = load ptr, ptr %3, align 8 %41 = load ptr, ptr %2, align 8 %42 = ptrtoint ptr %40 to i64 %43 = ptrtoint ptr %41 to i64 %44 = sub i64 %42, %43 %45 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %44 store i8 0, ptr %45, align 1 %46 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %47 = call i32 @Q_mkdir(ptr noundef %46) br label %48 48: ; preds = %30, %26 br label %49 49: ; preds = %48 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 1 store ptr %51, ptr %3, align 8 %52 = load ptr, ptr %3, align 8 %53 = load i8, ptr %52, align 1 %54 = icmp ne i8 %53, 0 br i1 %54, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %55 55: ; preds = %._crit_edge, %14 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @Q_mkdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpaejj254u.c' source_filename = "/tmp/tmpaejj254u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"input n:\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"output sqrt(n)=%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store double 1.000000e+00, ptr %3, align 8 store double 1.000000e+00, ptr %4, align 8 br label %7 7: ; preds = %15, %0 %8 = load double, ptr %4, align 8 store double %8, ptr %3, align 8 %9 = load double, ptr %3, align 8 %10 = load double, ptr %2, align 8 %11 = load double, ptr %3, align 8 %12 = fdiv double %10, %11 %13 = fadd double %9, %12 %14 = fdiv double %13, 2.000000e+00 store double %14, ptr %4, align 8 br label %15 15: ; preds = %7 %16 = load double, ptr %3, align 8 %17 = load double, ptr %4, align 8 %18 = fcmp une double %16, %17 br i1 %18, label %7, label %19, !llvm.loop !6 19: ; preds = %15 %20 = load double, ptr %4, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %20) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaejj254u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"input n:\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"output sqrt(n)=%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store double 1.000000e+00, ptr %3, align 8 store double 1.000000e+00, ptr %4, align 8 br label %7 7: ; preds = %15, %0 %8 = load double, ptr %4, align 8 store double %8, ptr %3, align 8 %9 = load double, ptr %3, align 8 %10 = load double, ptr %2, align 8 %11 = load double, ptr %3, align 8 %12 = fdiv double %10, %11 %13 = fadd double %9, %12 %14 = fdiv double %13, 2.000000e+00 store double %14, ptr %4, align 8 br label %15 15: ; preds = %7 %16 = load double, ptr %3, align 8 %17 = load double, ptr %4, align 8 %18 = fcmp une double %16, %17 br i1 %18, label %7, label %19, !llvm.loop !6 19: ; preds = %15 %20 = load double, ptr %4, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %20) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplr4fi40_.c' source_filename = "/tmp/tmplr4fi40_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @fitfun(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store double 0.000000e+00, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %11 11: ; preds = %46, %4 %12 = load i32, ptr %10, align 4 %13 = load i32, ptr %6, align 4 %14 = sub nsw i32 %13, 1 %15 = icmp slt i32 %12, %14 br i1 %15, label %16, label %49 16: ; preds = %11 %17 = load double, ptr %9, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %10, align 4 %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds double, ptr %18, i64 %21 %23 = load double, ptr %22, align 8 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %24, i64 %26 %28 = load double, ptr %27, align 8 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %10, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %29, i64 %31 %33 = load double, ptr %32, align 8 %34 = fneg double %28 %35 = call double @llvm.fmuladd.f64(double %34, double %33, double %23) %36 = call double @pow(double noundef %35, i32 noundef 2) %37 = call double @llvm.fmuladd.f64(double 1.000000e+02, double %36, double %17) %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 %43 = fsub double %42, 1.000000e+00 %44 = call double @pow(double noundef %43, i32 noundef 2) %45 = fadd double %37, %44 store double %45, ptr %9, align 8 br label %46 46: ; preds = %16 %47 = load i32, ptr %10, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %10, align 4 br label %11, !llvm.loop !6 49: ; preds = %11 %50 = load double, ptr %9, align 8 ret double %50 } declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplr4fi40_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @fitfun(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store double 0.000000e+00, ptr %9, align 8 store i32 0, ptr %10, align 4 %11 = load i32, ptr %10, align 4 %12 = load i32, ptr %6, align 4 %13 = sub nsw i32 %12, 1 %14 = icmp slt i32 %11, %13 br i1 %14, label %.lr.ph, label %52 .lr.ph: ; preds = %4 br label %15 15: ; preds = %.lr.ph, %45 %16 = load double, ptr %9, align 8 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %10, align 4 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %17, i64 %20 %22 = load double, ptr %21, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %23, i64 %25 %27 = load double, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %10, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds double, ptr %28, i64 %30 %32 = load double, ptr %31, align 8 %33 = fneg double %27 %34 = call double @llvm.fmuladd.f64(double %33, double %32, double %22) %35 = call double @pow(double noundef %34, i32 noundef 2) %36 = call double @llvm.fmuladd.f64(double 1.000000e+02, double %35, double %16) %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %10, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %37, i64 %39 %41 = load double, ptr %40, align 8 %42 = fsub double %41, 1.000000e+00 %43 = call double @pow(double noundef %42, i32 noundef 2) %44 = fadd double %36, %43 store double %44, ptr %9, align 8 br label %45 45: ; preds = %15 %46 = load i32, ptr %10, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = load i32, ptr %6, align 4 %50 = sub nsw i32 %49, 1 %51 = icmp slt i32 %48, %50 br i1 %51, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %52 52: ; preds = %._crit_edge, %4 %53 = load double, ptr %9, align 8 ret double %53 } declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa5webg12.c' source_filename = "/tmp/tmpa5webg12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%d%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %4, ptr noundef %3) %6 = load i8, ptr %2, align 1 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @func(i8 noundef signext %6, i32 noundef %7, i32 noundef %8) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @func(i8 noundef signext, 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/tmpa5webg12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%d%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %4, ptr noundef %3) %6 = load i8, ptr %2, align 1 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @func(i8 noundef signext %6, i32 noundef %7, i32 noundef %8) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @func(i8 noundef signext, 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/tmpsgeboig_.c' source_filename = "/tmp/tmpsgeboig_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"[%.4d] foo bar %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"baz\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"line %d: test failed. %s. want %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"ret == 19\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"[0013] foo bar baz\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"line %d: test failed. %s <%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"!strcmp(buf, \22[0013] foo bar baz\\n\22)\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"!strcmp(buf, buf2)\00", align 1 @.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"[%d] foo bar %s%%%zu,%lld\0A\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"ret == 41\00", align 1 @.str.11 = private unnamed_addr constant [42 x i8] c"[13] foo bar baz%18446744073709551615,-1\0A\00", align 1 @.str.12 = private unnamed_addr constant [59 x i8] c"!strcmp(buf, \22[13] foo bar baz%18446744073709551615,-1\\n\22)\00", align 1 @.str.13 = private unnamed_addr constant [28 x i8] c"[%d] foo bar %s%%%zu,%lld\0A%\00", align 1 @.str.14 = private unnamed_addr constant [10 x i8] c"ret == -1\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"133\00", align 1 @.str.17 = private unnamed_addr constant [7 x i8] c"AAAAAA\00", align 1 @.str.18 = private unnamed_addr constant [3 x i8] c"%p\00", align 1 @.str.19 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.20 = private unnamed_addr constant [3 x i8] c"%X\00", align 1 @.str.21 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.22 = private unnamed_addr constant [2 x i8] c"A\00", align 1 @.str.23 = private unnamed_addr constant [5 x i8] c"%.2x\00", align 1 @.str.24 = private unnamed_addr constant [5 x i8] c"%.2X\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"0a\00", align 1 @.str.26 = private unnamed_addr constant [3 x i8] c"0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i8], align 16 %3 = alloca [128 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %6 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %5, i32 noundef 128, ptr noundef @.str, i32 noundef 13, ptr noundef @.str.1) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 19 br i1 %8, label %12, label %9 9: ; preds = %0 %10 = load i32, ptr %4, align 4 %11 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 22, ptr noundef @.str.3, i32 noundef %10) br label %12 12: ; preds = %9, %0 %13 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.4) %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 22, ptr noundef @.str.6, ptr noundef @.str) br label %18 18: ; preds = %16, %12 %19 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %20 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %19, i32 noundef 128, ptr noundef @.str, i32 noundef 13, ptr noundef @.str.1) store i32 %20, ptr %4, align 4 %21 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %22 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %23 = call i32 @strcmp(ptr noundef %21, ptr noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %18 %26 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 22, ptr noundef @.str.7, ptr noundef @.str) br label %27 27: ; preds = %25, %18 %28 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str, i32 noundef 13, ptr noundef @.str.1) store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp eq i32 %29, 19 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 25, ptr noundef @.str.3, ptr noundef @.str.8) br label %33 33: ; preds = %31, %27 %34 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %35 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %34, i32 noundef 128, ptr noundef @.str.9, i32 noundef 13, ptr noundef @.str.1, i64 noundef -1, i64 noundef -1) store i32 %35, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp eq i32 %36, 41 br i1 %37, label %41, label %38 38: ; preds = %33 %39 = load i32, ptr %4, align 4 %40 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 27, ptr noundef @.str.10, i32 noundef %39) br label %41 41: ; preds = %38, %33 %42 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.11) %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 27, ptr noundef @.str.12, ptr noundef @.str.9) br label %47 47: ; preds = %45, %41 %48 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %49 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %48, i32 noundef 128, ptr noundef @.str.9, i32 noundef 13, ptr noundef @.str.1, i64 noundef -1, i64 noundef -1) store i32 %49, ptr %4, align 4 %50 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %51 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %52 = call i32 @strcmp(ptr noundef %50, ptr noundef %51) %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %47 %55 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 27, ptr noundef @.str.7, ptr noundef @.str.9) br label %56 56: ; preds = %54, %47 %57 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %58 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %57, i32 noundef 128, ptr noundef @.str.13, i32 noundef 13, ptr noundef @.str.1, i64 noundef -1, i64 noundef -1) store i32 %58, ptr %4, align 4 %59 = load i32, ptr %4, align 4 %60 = icmp eq i32 %59, -1 br i1 %60, label %64, label %61 61: ; preds = %56 %62 = load i32, ptr %4, align 4 %63 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 29, ptr noundef @.str.14, i32 noundef %62) br label %64 64: ; preds = %61, %56 %65 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str, i32 noundef 13, ptr noundef @.str.1) store i32 %65, ptr %4, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp eq i32 %66, 19 %68 = zext i1 %67 to i32 %69 = call i32 @assert(i32 noundef %68) %70 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %71 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %70, i32 noundef 4, ptr noundef @.str.15, i32 noundef 1337) store i32 %71, ptr %4, align 4 %72 = load i32, ptr %4, align 4 %73 = icmp eq i32 %72, 3 %74 = zext i1 %73 to i32 %75 = call i32 @assert(i32 noundef %74) %76 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %77 = call i32 @strcmp(ptr noundef %76, ptr noundef @.str.16) %78 = icmp ne i32 %77, 0 %79 = xor i1 %78, true %80 = zext i1 %79 to i32 %81 = call i32 @assert(i32 noundef %80) %82 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %83 = call i32 @memcpy(ptr noundef %82, ptr noundef @.str.17, i32 noundef 7) %84 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %85 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %84, i32 noundef 4, ptr noundef @.str.15, i32 noundef 1337) store i32 %85, ptr %4, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp eq i32 %86, 4 %88 = zext i1 %87 to i32 %89 = call i32 @assert(i32 noundef %88) %90 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %91 = call i32 @memcmp(ptr noundef %90, ptr noundef @.str.16, i32 noundef 4) %92 = icmp ne i32 %91, 0 %93 = xor i1 %92, true %94 = zext i1 %93 to i32 %95 = call i32 @assert(i32 noundef %94) %96 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.15, i32 noundef 1337) store i32 %96, ptr %4, align 4 %97 = load i32, ptr %4, align 4 %98 = icmp eq i32 %97, 4 %99 = zext i1 %98 to i32 %100 = call i32 @assert(i32 noundef %99) %101 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %102 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %103 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %101, i32 noundef 128, ptr noundef @.str.18, ptr noundef %102) store i32 %103, ptr %4, align 4 %104 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.19, i32 noundef 10) store i32 %104, ptr %4, align 4 %105 = load i32, ptr %4, align 4 %106 = icmp eq i32 %105, 1 %107 = zext i1 %106 to i32 %108 = call i32 @assert(i32 noundef %107) %109 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.20, i32 noundef 10) store i32 %109, ptr %4, align 4 %110 = load i32, ptr %4, align 4 %111 = icmp eq i32 %110, 1 %112 = zext i1 %111 to i32 %113 = call i32 @assert(i32 noundef %112) %114 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %115 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %114, i32 noundef 10, ptr noundef @.str.19, i32 noundef 10) store i32 %115, ptr %4, align 4 %116 = load i32, ptr %4, align 4 %117 = icmp eq i32 %116, 1 %118 = zext i1 %117 to i32 %119 = call i32 @assert(i32 noundef %118) %120 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %121 = call i32 @strcmp(ptr noundef %120, ptr noundef @.str.21) %122 = icmp ne i32 %121, 0 %123 = xor i1 %122, true %124 = zext i1 %123 to i32 %125 = call i32 @assert(i32 noundef %124) %126 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %127 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %126, i32 noundef 10, ptr noundef @.str.20, i32 noundef 10) store i32 %127, ptr %4, align 4 %128 = load i32, ptr %4, align 4 %129 = icmp eq i32 %128, 1 %130 = zext i1 %129 to i32 %131 = call i32 @assert(i32 noundef %130) %132 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %133 = call i32 @strcmp(ptr noundef %132, ptr noundef @.str.22) %134 = icmp ne i32 %133, 0 %135 = xor i1 %134, true %136 = zext i1 %135 to i32 %137 = call i32 @assert(i32 noundef %136) %138 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.23, i32 noundef 10) store i32 %138, ptr %4, align 4 %139 = load i32, ptr %4, align 4 %140 = icmp eq i32 %139, 2 %141 = zext i1 %140 to i32 %142 = call i32 @assert(i32 noundef %141) %143 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.24, i32 noundef 10) store i32 %143, ptr %4, align 4 %144 = load i32, ptr %4, align 4 %145 = icmp eq i32 %144, 2 %146 = zext i1 %145 to i32 %147 = call i32 @assert(i32 noundef %146) %148 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %149 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %148, i32 noundef 10, ptr noundef @.str.23, i32 noundef 10) store i32 %149, ptr %4, align 4 %150 = load i32, ptr %4, align 4 %151 = icmp eq i32 %150, 2 %152 = zext i1 %151 to i32 %153 = call i32 @assert(i32 noundef %152) %154 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %155 = call i32 @strcmp(ptr noundef %154, ptr noundef @.str.25) %156 = icmp ne i32 %155, 0 %157 = xor i1 %156, true %158 = zext i1 %157 to i32 %159 = call i32 @assert(i32 noundef %158) %160 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %161 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %160, i32 noundef 10, ptr noundef @.str.24, i32 noundef 10) store i32 %161, ptr %4, align 4 %162 = load i32, ptr %4, align 4 %163 = icmp eq i32 %162, 2 %164 = zext i1 %163 to i32 %165 = call i32 @assert(i32 noundef %164) %166 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %167 = call i32 @strcmp(ptr noundef %166, ptr noundef @.str.26) %168 = icmp ne i32 %167, 0 %169 = xor i1 %168, true %170 = zext i1 %169 to i32 %171 = call i32 @assert(i32 noundef %170) ret i32 0 } declare i32 @ulz_snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @assert(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcmp(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/tmpsgeboig_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"[%.4d] foo bar %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"baz\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"line %d: test failed. %s. want %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"ret == 19\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"[0013] foo bar baz\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"line %d: test failed. %s <%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"!strcmp(buf, \22[0013] foo bar baz\\n\22)\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"!strcmp(buf, buf2)\00", align 1 @.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"[%d] foo bar %s%%%zu,%lld\0A\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"ret == 41\00", align 1 @.str.11 = private unnamed_addr constant [42 x i8] c"[13] foo bar baz%18446744073709551615,-1\0A\00", align 1 @.str.12 = private unnamed_addr constant [59 x i8] c"!strcmp(buf, \22[13] foo bar baz%18446744073709551615,-1\\n\22)\00", align 1 @.str.13 = private unnamed_addr constant [28 x i8] c"[%d] foo bar %s%%%zu,%lld\0A%\00", align 1 @.str.14 = private unnamed_addr constant [10 x i8] c"ret == -1\00", align 1 @.str.15 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"133\00", align 1 @.str.17 = private unnamed_addr constant [7 x i8] c"AAAAAA\00", align 1 @.str.18 = private unnamed_addr constant [3 x i8] c"%p\00", align 1 @.str.19 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.20 = private unnamed_addr constant [3 x i8] c"%X\00", align 1 @.str.21 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.22 = private unnamed_addr constant [2 x i8] c"A\00", align 1 @.str.23 = private unnamed_addr constant [5 x i8] c"%.2x\00", align 1 @.str.24 = private unnamed_addr constant [5 x i8] c"%.2X\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"0a\00", align 1 @.str.26 = private unnamed_addr constant [3 x i8] c"0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i8], align 16 %3 = alloca [128 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %6 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %5, i32 noundef 128, ptr noundef @.str, i32 noundef 13, ptr noundef @.str.1) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 19 br i1 %8, label %12, label %9 9: ; preds = %0 %10 = load i32, ptr %4, align 4 %11 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 22, ptr noundef @.str.3, i32 noundef %10) br label %12 12: ; preds = %9, %0 %13 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.4) %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 22, ptr noundef @.str.6, ptr noundef @.str) br label %18 18: ; preds = %16, %12 %19 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %20 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %19, i32 noundef 128, ptr noundef @.str, i32 noundef 13, ptr noundef @.str.1) store i32 %20, ptr %4, align 4 %21 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %22 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %23 = call i32 @strcmp(ptr noundef %21, ptr noundef %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %18 %26 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 22, ptr noundef @.str.7, ptr noundef @.str) br label %27 27: ; preds = %25, %18 %28 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str, i32 noundef 13, ptr noundef @.str.1) store i32 %28, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp eq i32 %29, 19 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 25, ptr noundef @.str.3, ptr noundef @.str.8) br label %33 33: ; preds = %31, %27 %34 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %35 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %34, i32 noundef 128, ptr noundef @.str.9, i32 noundef 13, ptr noundef @.str.1, i64 noundef -1, i64 noundef -1) store i32 %35, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp eq i32 %36, 41 br i1 %37, label %41, label %38 38: ; preds = %33 %39 = load i32, ptr %4, align 4 %40 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 27, ptr noundef @.str.10, i32 noundef %39) br label %41 41: ; preds = %38, %33 %42 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.11) %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 27, ptr noundef @.str.12, ptr noundef @.str.9) br label %47 47: ; preds = %45, %41 %48 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %49 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %48, i32 noundef 128, ptr noundef @.str.9, i32 noundef 13, ptr noundef @.str.1, i64 noundef -1, i64 noundef -1) store i32 %49, ptr %4, align 4 %50 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %51 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %52 = call i32 @strcmp(ptr noundef %50, ptr noundef %51) %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %47 %55 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 27, ptr noundef @.str.7, ptr noundef @.str.9) br label %56 56: ; preds = %54, %47 %57 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %58 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %57, i32 noundef 128, ptr noundef @.str.13, i32 noundef 13, ptr noundef @.str.1, i64 noundef -1, i64 noundef -1) store i32 %58, ptr %4, align 4 %59 = load i32, ptr %4, align 4 %60 = icmp eq i32 %59, -1 br i1 %60, label %64, label %61 61: ; preds = %56 %62 = load i32, ptr %4, align 4 %63 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 29, ptr noundef @.str.14, i32 noundef %62) br label %64 64: ; preds = %61, %56 %65 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str, i32 noundef 13, ptr noundef @.str.1) store i32 %65, ptr %4, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp eq i32 %66, 19 %68 = zext i1 %67 to i32 %69 = call i32 @assert(i32 noundef %68) %70 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %71 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %70, i32 noundef 4, ptr noundef @.str.15, i32 noundef 1337) store i32 %71, ptr %4, align 4 %72 = load i32, ptr %4, align 4 %73 = icmp eq i32 %72, 3 %74 = zext i1 %73 to i32 %75 = call i32 @assert(i32 noundef %74) %76 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %77 = call i32 @strcmp(ptr noundef %76, ptr noundef @.str.16) %78 = icmp ne i32 %77, 0 %79 = xor i1 %78, true %80 = zext i1 %79 to i32 %81 = call i32 @assert(i32 noundef %80) %82 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %83 = call i32 @memcpy(ptr noundef %82, ptr noundef @.str.17, i32 noundef 7) %84 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %85 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %84, i32 noundef 4, ptr noundef @.str.15, i32 noundef 1337) store i32 %85, ptr %4, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp eq i32 %86, 4 %88 = zext i1 %87 to i32 %89 = call i32 @assert(i32 noundef %88) %90 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %91 = call i32 @memcmp(ptr noundef %90, ptr noundef @.str.16, i32 noundef 4) %92 = icmp ne i32 %91, 0 %93 = xor i1 %92, true %94 = zext i1 %93 to i32 %95 = call i32 @assert(i32 noundef %94) %96 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.15, i32 noundef 1337) store i32 %96, ptr %4, align 4 %97 = load i32, ptr %4, align 4 %98 = icmp eq i32 %97, 4 %99 = zext i1 %98 to i32 %100 = call i32 @assert(i32 noundef %99) %101 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %102 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %103 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %101, i32 noundef 128, ptr noundef @.str.18, ptr noundef %102) store i32 %103, ptr %4, align 4 %104 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.19, i32 noundef 10) store i32 %104, ptr %4, align 4 %105 = load i32, ptr %4, align 4 %106 = icmp eq i32 %105, 1 %107 = zext i1 %106 to i32 %108 = call i32 @assert(i32 noundef %107) %109 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.20, i32 noundef 10) store i32 %109, ptr %4, align 4 %110 = load i32, ptr %4, align 4 %111 = icmp eq i32 %110, 1 %112 = zext i1 %111 to i32 %113 = call i32 @assert(i32 noundef %112) %114 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %115 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %114, i32 noundef 10, ptr noundef @.str.19, i32 noundef 10) store i32 %115, ptr %4, align 4 %116 = load i32, ptr %4, align 4 %117 = icmp eq i32 %116, 1 %118 = zext i1 %117 to i32 %119 = call i32 @assert(i32 noundef %118) %120 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %121 = call i32 @strcmp(ptr noundef %120, ptr noundef @.str.21) %122 = icmp ne i32 %121, 0 %123 = xor i1 %122, true %124 = zext i1 %123 to i32 %125 = call i32 @assert(i32 noundef %124) %126 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %127 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %126, i32 noundef 10, ptr noundef @.str.20, i32 noundef 10) store i32 %127, ptr %4, align 4 %128 = load i32, ptr %4, align 4 %129 = icmp eq i32 %128, 1 %130 = zext i1 %129 to i32 %131 = call i32 @assert(i32 noundef %130) %132 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %133 = call i32 @strcmp(ptr noundef %132, ptr noundef @.str.22) %134 = icmp ne i32 %133, 0 %135 = xor i1 %134, true %136 = zext i1 %135 to i32 %137 = call i32 @assert(i32 noundef %136) %138 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.23, i32 noundef 10) store i32 %138, ptr %4, align 4 %139 = load i32, ptr %4, align 4 %140 = icmp eq i32 %139, 2 %141 = zext i1 %140 to i32 %142 = call i32 @assert(i32 noundef %141) %143 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str.24, i32 noundef 10) store i32 %143, ptr %4, align 4 %144 = load i32, ptr %4, align 4 %145 = icmp eq i32 %144, 2 %146 = zext i1 %145 to i32 %147 = call i32 @assert(i32 noundef %146) %148 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %149 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %148, i32 noundef 10, ptr noundef @.str.23, i32 noundef 10) store i32 %149, ptr %4, align 4 %150 = load i32, ptr %4, align 4 %151 = icmp eq i32 %150, 2 %152 = zext i1 %151 to i32 %153 = call i32 @assert(i32 noundef %152) %154 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %155 = call i32 @strcmp(ptr noundef %154, ptr noundef @.str.25) %156 = icmp ne i32 %155, 0 %157 = xor i1 %156, true %158 = zext i1 %157 to i32 %159 = call i32 @assert(i32 noundef %158) %160 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %161 = call i32 (ptr, i32, ptr, ...) @ulz_snprintf(ptr noundef %160, i32 noundef 10, ptr noundef @.str.24, i32 noundef 10) store i32 %161, ptr %4, align 4 %162 = load i32, ptr %4, align 4 %163 = icmp eq i32 %162, 2 %164 = zext i1 %163 to i32 %165 = call i32 @assert(i32 noundef %164) %166 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %167 = call i32 @strcmp(ptr noundef %166, ptr noundef @.str.26) %168 = icmp ne i32 %167, 0 %169 = xor i1 %168, true %170 = zext i1 %169 to i32 %171 = call i32 @assert(i32 noundef %170) ret i32 0 } declare i32 @ulz_snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @assert(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcmp(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/tmpww3n_bpm.c' source_filename = "/tmp/tmpww3n_bpm.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"%s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @diesys(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @errno, align 4 %6 = call ptr @strerror(i32 noundef %5) %7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %6) %8 = load i32, ptr @errno, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable } 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpww3n_bpm.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"%s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @diesys(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @errno, align 4 %6 = call ptr @strerror(i32 noundef %5) %7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %6) %8 = load i32, ptr @errno, align 4 %9 = call i32 @exit(i32 noundef %8) #3 unreachable } 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpz2c_0m9l.c' source_filename = "/tmp/tmpz2c_0m9l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/devices/ocp.3/pwm_test_P9_14.16/duty\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pwm_set_duty(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [64 x i8], align 16 store i32 %0, ptr %3, align 4 %7 = load i32, ptr @O_WRONLY, align 4 %8 = call i32 @open(ptr noundef @.str, i32 noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str) %13 = load i32, ptr %4, align 4 store i32 %13, ptr %2, align 4 br label %24 14: ; preds = %1 %15 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %16 = load i32, ptr %3, align 4 %17 = call i32 @snprintf(ptr noundef %15, i32 noundef 64, ptr noundef @.str.1, i32 noundef %16) store i32 %17, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %20 = load i32, ptr %5, align 4 %21 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef %20) %22 = load i32, ptr %4, align 4 %23 = call i32 @close(i32 noundef %22) store i32 0, ptr %2, align 4 br label %24 24: ; preds = %14, %11 %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz2c_0m9l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/devices/ocp.3/pwm_test_P9_14.16/duty\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pwm_set_duty(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [64 x i8], align 16 store i32 %0, ptr %3, align 4 %7 = load i32, ptr @O_WRONLY, align 4 %8 = call i32 @open(ptr noundef @.str, i32 noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str) %13 = load i32, ptr %4, align 4 store i32 %13, ptr %2, align 4 br label %24 14: ; preds = %1 %15 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %16 = load i32, ptr %3, align 4 %17 = call i32 @snprintf(ptr noundef %15, i32 noundef 64, ptr noundef @.str.1, i32 noundef %16) store i32 %17, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %20 = load i32, ptr %5, align 4 %21 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef %20) %22 = load i32, ptr %4, align 4 %23 = call i32 @close(i32 noundef %22) store i32 0, ptr %2, align 4 br label %24 24: ; preds = %14, %11 %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvgf4o2f3.c' source_filename = "/tmp/tmpvgf4o2f3.c" target datalayout = "e-m:e-p270: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/tmpvgf4o2f3.c" target datalayout = "e-m:e-p270: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/tmpqh_u88xw.c' source_filename = "/tmp/tmpqh_u88xw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GPIOHANDLE_GET_LINE_VALUES_IOCTL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Failed to issue %s (%d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"GPIOHANDLE_GET_LINE_VALUES_IOCTL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpiotools_get_values(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr @GPIOHANDLE_GET_LINE_VALUES_IOCTL, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load i32, ptr @errno, align 4 %14 = sub nsw i32 0, %13 store i32 %14, ptr %5, align 4 %15 = load i32, ptr @stderr, align 4 %16 = load i32, ptr %5, align 4 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %12, %2 %19 = load i32, ptr %5, align 4 ret i32 %19 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 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/tmpqh_u88xw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GPIOHANDLE_GET_LINE_VALUES_IOCTL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Failed to issue %s (%d)\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"GPIOHANDLE_GET_LINE_VALUES_IOCTL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpiotools_get_values(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr @GPIOHANDLE_GET_LINE_VALUES_IOCTL, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @ioctl(i32 noundef %6, i32 noundef %7, ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load i32, ptr @errno, align 4 %14 = sub nsw i32 0, %13 store i32 %14, ptr %5, align 4 %15 = load i32, ptr @stderr, align 4 %16 = load i32, ptr %5, align 4 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %12, %2 %19 = load i32, ptr %5, align 4 ret i32 %19 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 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/tmpfjod9xig.c' source_filename = "/tmp/tmpfjod9xig.c" target datalayout = "e-m:e-p270: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 } %struct.dirent = type { ptr } @_POSIX_PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mutt_rmtree(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca %struct.stat, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %11 = load i32, ptr @_POSIX_PATH_MAX, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca i8, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %9, align 4 %15 = load ptr, ptr %3, align 8 %16 = call ptr @opendir(ptr noundef %15) store ptr %16, ptr %4, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %22, label %18 18: ; preds = %1 br label %19 19: ; preds = %18 br label %20 20: ; preds = %19 br label %21 21: ; preds = %20 store i32 -1, ptr %2, align 4 store i32 1, ptr %10, align 4 br label %72 22: ; preds = %1 br label %23 23: ; preds = %63, %49, %39, %22 %24 = load ptr, ptr %4, align 8 %25 = call ptr @readdir(ptr noundef %24) store ptr %25, ptr %5, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %64 27: ; preds = %23 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds %struct.dirent, ptr %28, i32 0, i32 0 %30 = load ptr, ptr %29, align 8 %31 = call i32 @strcmp(ptr noundef @.str, ptr noundef %30) %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %39 33: ; preds = %27 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds %struct.dirent, ptr %34, i32 0, i32 0 %36 = load ptr, ptr %35, align 8 %37 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %36) %38 = icmp ne i32 %37, 0 br i1 %38, label %40, label %39 39: ; preds = %33, %27 br label %23, !llvm.loop !6 40: ; preds = %33 %41 = trunc i64 %12 to i32 %42 = load ptr, ptr %3, align 8 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds %struct.dirent, ptr %43, i32 0, i32 0 %45 = load ptr, ptr %44, align 8 %46 = call i32 @snprintf(ptr noundef %14, i32 noundef %41, ptr noundef @.str.2, ptr noundef %42, ptr noundef %45) %47 = call i32 @stat(ptr noundef %14, ptr noundef %8) %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %50 49: ; preds = %40 store i32 1, ptr %9, align 4 br label %23, !llvm.loop !6 50: ; preds = %40 %51 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %52 = load i32, ptr %51, align 4 %53 = call i64 @S_ISDIR(i32 noundef %52) %54 = icmp ne i64 %53, 0 br i1 %54, label %55, label %59 55: ; preds = %50 %56 = call i32 @mutt_rmtree(ptr noundef %14) %57 = load i32, ptr %9, align 4 %58 = or i32 %57, %56 store i32 %58, ptr %9, align 4 br label %63 59: ; preds = %50 %60 = call i32 @unlink(ptr noundef %14) %61 = load i32, ptr %9, align 4 %62 = or i32 %61, %60 store i32 %62, ptr %9, align 4 br label %63 63: ; preds = %59, %55 br label %23, !llvm.loop !6 64: ; preds = %23 %65 = load ptr, ptr %4, align 8 %66 = call i32 @closedir(ptr noundef %65) %67 = load ptr, ptr %3, align 8 %68 = call i32 @rmdir(ptr noundef %67) %69 = load i32, ptr %9, align 4 %70 = or i32 %69, %68 store i32 %70, ptr %9, align 4 %71 = load i32, ptr %9, align 4 store i32 %71, ptr %2, align 4 store i32 1, ptr %10, align 4 br label %72 72: ; preds = %64, %21 %73 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %73) %74 = load i32, ptr %2, align 4 ret i32 %74 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @stat(ptr noundef, ptr noundef) #2 declare i64 @S_ISDIR(i32 noundef) #2 declare i32 @unlink(ptr noundef) #2 declare i32 @closedir(ptr noundef) #2 declare i32 @rmdir(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfjod9xig.c" target datalayout = "e-m:e-p270: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 } %struct.dirent = type { ptr } @_POSIX_PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mutt_rmtree(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca %struct.stat, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %11 = load i32, ptr @_POSIX_PATH_MAX, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca i8, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %9, align 4 %15 = load ptr, ptr %3, align 8 %16 = call ptr @opendir(ptr noundef %15) store ptr %16, ptr %4, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %22, label %18 18: ; preds = %1 br label %19 19: ; preds = %18 br label %20 20: ; preds = %19 br label %21 21: ; preds = %20 store i32 -1, ptr %2, align 4 store i32 1, ptr %10, align 4 br label %74 22: ; preds = %1 %23 = load ptr, ptr %4, align 8 %24 = call ptr @readdir(ptr noundef %23) store ptr %24, ptr %5, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %.lr.ph, label %66 .lr.ph: ; preds = %22 br label %26 26: ; preds = %.lr.ph, %.backedge %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds %struct.dirent, ptr %27, i32 0, i32 0 %29 = load ptr, ptr %28, align 8 %30 = call i32 @strcmp(ptr noundef @.str, ptr noundef %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %38 32: ; preds = %26 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 0 %35 = load ptr, ptr %34, align 8 %36 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %35) %37 = icmp ne i32 %36, 0 br i1 %37, label %42, label %38 38: ; preds = %32, %26 br label %.backedge .backedge: ; preds = %38, %51, %65 %39 = load ptr, ptr %4, align 8 %40 = call ptr @readdir(ptr noundef %39) store ptr %40, ptr %5, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %26, label %._crit_edge, !llvm.loop !6 42: ; preds = %32 %43 = trunc i64 %12 to i32 %44 = load ptr, ptr %3, align 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds %struct.dirent, ptr %45, i32 0, i32 0 %47 = load ptr, ptr %46, align 8 %48 = call i32 @snprintf(ptr noundef %14, i32 noundef %43, ptr noundef @.str.2, ptr noundef %44, ptr noundef %47) %49 = call i32 @stat(ptr noundef %14, ptr noundef %8) %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %52 51: ; preds = %42 store i32 1, ptr %9, align 4 br label %.backedge 52: ; preds = %42 %53 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %54 = load i32, ptr %53, align 4 %55 = call i64 @S_ISDIR(i32 noundef %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %57, label %61 57: ; preds = %52 %58 = call i32 @mutt_rmtree(ptr noundef %14) %59 = load i32, ptr %9, align 4 %60 = or i32 %59, %58 store i32 %60, ptr %9, align 4 br label %65 61: ; preds = %52 %62 = call i32 @unlink(ptr noundef %14) %63 = load i32, ptr %9, align 4 %64 = or i32 %63, %62 store i32 %64, ptr %9, align 4 br label %65 65: ; preds = %61, %57 br label %.backedge ._crit_edge: ; preds = %.backedge br label %66 66: ; preds = %._crit_edge, %22 %67 = load ptr, ptr %4, align 8 %68 = call i32 @closedir(ptr noundef %67) %69 = load ptr, ptr %3, align 8 %70 = call i32 @rmdir(ptr noundef %69) %71 = load i32, ptr %9, align 4 %72 = or i32 %71, %70 store i32 %72, ptr %9, align 4 %73 = load i32, ptr %9, align 4 store i32 %73, ptr %2, align 4 store i32 1, ptr %10, align 4 br label %74 74: ; preds = %66, %21 %75 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %75) %76 = load i32, ptr %2, align 4 ret i32 %76 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @stat(ptr noundef, ptr noundef) #2 declare i64 @S_ISDIR(i32 noundef) #2 declare i32 @unlink(ptr noundef) #2 declare i32 @closedir(ptr noundef) #2 declare i32 @rmdir(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmph6_h_khc.c' source_filename = "/tmp/tmph6_h_khc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [71 x i8] c"ERROR: failed to insert %f into \22%s\22\0AExpected \22%s\22 or \22%s\22, got \22%s\22.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DoDoubleTest(ptr noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [256 x i8], align 16 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 256, i1 false) %10 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %5, align 8 %12 = load double, ptr %6, align 8 %13 = call i32 @Testvsnprintf(ptr noundef %10, i32 noundef 256, ptr noundef %11, double noundef %12) %14 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = call i64 @strlen(ptr noundef %16) %18 = add nsw i64 %17, 1 %19 = call i64 @memcmp(ptr noundef %14, ptr noundef %15, i64 noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %36 21: ; preds = %4 %22 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %23 = load ptr, ptr %8, align 8 %24 = load ptr, ptr %8, align 8 %25 = call i64 @strlen(ptr noundef %24) %26 = add nsw i64 %25, 1 %27 = call i64 @memcmp(ptr noundef %22, ptr noundef %23, i64 noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %21 %30 = load double, ptr %6, align 8 %31 = load ptr, ptr %5, align 8 %32 = load ptr, ptr %7, align 8 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %35 = call i32 @Fail(ptr noundef @.str, double noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34) br label %36 36: ; preds = %29, %21, %4 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 i32 @Testvsnprintf(ptr noundef, i32 noundef, ptr noundef, double noundef) #2 declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @Fail(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph6_h_khc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [71 x i8] c"ERROR: failed to insert %f into \22%s\22\0AExpected \22%s\22 or \22%s\22, got \22%s\22.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DoDoubleTest(ptr noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [256 x i8], align 16 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 256, i1 false) %10 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %5, align 8 %12 = load double, ptr %6, align 8 %13 = call i32 @Testvsnprintf(ptr noundef %10, i32 noundef 256, ptr noundef %11, double noundef %12) %14 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = call i64 @strlen(ptr noundef %16) %18 = add nsw i64 %17, 1 %19 = call i64 @memcmp(ptr noundef %14, ptr noundef %15, i64 noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %36 21: ; preds = %4 %22 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %23 = load ptr, ptr %8, align 8 %24 = load ptr, ptr %8, align 8 %25 = call i64 @strlen(ptr noundef %24) %26 = add nsw i64 %25, 1 %27 = call i64 @memcmp(ptr noundef %22, ptr noundef %23, i64 noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %21 %30 = load double, ptr %6, align 8 %31 = load ptr, ptr %5, align 8 %32 = load ptr, ptr %7, align 8 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %35 = call i32 @Fail(ptr noundef @.str, double noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34) br label %36 36: ; preds = %29, %21, %4 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 i32 @Testvsnprintf(ptr noundef, i32 noundef, ptr noundef, double noundef) #2 declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @Fail(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8v0ht9np.c' source_filename = "/tmp/tmp8v0ht9np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"getsockname\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @startup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load i32, ptr @PF_INET, align 4 %7 = load i32, ptr @SOCK_STREAM, align 4 %8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @error_die(ptr noundef @.str) br label %13 13: ; preds = %11, %1 %14 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 12) %15 = load i32, ptr @AF_INET, align 4 %16 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %15, ptr %16, align 4 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %17, align 4 %19 = call i32 @htons(i32 noundef %18) %20 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 store i32 %19, ptr %20, align 4 %21 = load i32, ptr @INADDR_ANY, align 4 %22 = call i32 @htonl(i32 noundef %21) %23 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i32 0, i32 0 store i32 %22, ptr %24, align 4 %25 = load i32, ptr %3, align 4 %26 = call i64 @bind(i32 noundef %25, ptr noundef %4, i32 noundef 12) %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %13 %29 = call i32 @error_die(ptr noundef @.str.1) br label %30 30: ; preds = %28, %13 %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %31, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %45 34: ; preds = %30 store i32 12, ptr %5, align 4 %35 = load i32, ptr %3, align 4 %36 = call i32 @getsockname(i32 noundef %35, ptr noundef %4, ptr noundef %5) %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @error_die(ptr noundef @.str.2) br label %40 40: ; preds = %38, %34 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %42 = load i32, ptr %41, align 4 %43 = call i32 @ntohs(i32 noundef %42) %44 = load ptr, ptr %2, align 8 store i32 %43, ptr %44, align 4 br label %45 45: ; preds = %40, %30 %46 = load i32, ptr %3, align 4 %47 = call i64 @listen(i32 noundef %46, i32 noundef 5) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %45 %50 = call i32 @error_die(ptr noundef @.str.3) br label %51 51: ; preds = %49, %45 %52 = load i32, ptr %3, align 4 ret i32 %52 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error_die(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @ntohs(i32 noundef) #1 declare i64 @listen(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/tmp8v0ht9np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"getsockname\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @startup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load i32, ptr @PF_INET, align 4 %7 = load i32, ptr @SOCK_STREAM, align 4 %8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @error_die(ptr noundef @.str) br label %13 13: ; preds = %11, %1 %14 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 12) %15 = load i32, ptr @AF_INET, align 4 %16 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %15, ptr %16, align 4 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %17, align 4 %19 = call i32 @htons(i32 noundef %18) %20 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 store i32 %19, ptr %20, align 4 %21 = load i32, ptr @INADDR_ANY, align 4 %22 = call i32 @htonl(i32 noundef %21) %23 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i32 0, i32 0 store i32 %22, ptr %24, align 4 %25 = load i32, ptr %3, align 4 %26 = call i64 @bind(i32 noundef %25, ptr noundef %4, i32 noundef 12) %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %13 %29 = call i32 @error_die(ptr noundef @.str.1) br label %30 30: ; preds = %28, %13 %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %31, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %45 34: ; preds = %30 store i32 12, ptr %5, align 4 %35 = load i32, ptr %3, align 4 %36 = call i32 @getsockname(i32 noundef %35, ptr noundef %4, ptr noundef %5) %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @error_die(ptr noundef @.str.2) br label %40 40: ; preds = %38, %34 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %42 = load i32, ptr %41, align 4 %43 = call i32 @ntohs(i32 noundef %42) %44 = load ptr, ptr %2, align 8 store i32 %43, ptr %44, align 4 br label %45 45: ; preds = %40, %30 %46 = load i32, ptr %3, align 4 %47 = call i64 @listen(i32 noundef %46, i32 noundef 5) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %45 %50 = call i32 @error_die(ptr noundef @.str.3) br label %51 51: ; preds = %49, %45 %52 = load i32, ptr %3, align 4 ret i32 %52 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error_die(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @ntohs(i32 noundef) #1 declare i64 @listen(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/tmp0o3fuhct.c' source_filename = "/tmp/tmp0o3fuhct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"The number is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @convert() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = load i32, ptr %2, align 4 %7 = call i32 @binary(i32 noundef %6) ret i32 0 } declare i32 @convert(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @binary(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/tmp0o3fuhct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"The number is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @convert() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = load i32, ptr %2, align 4 %7 = call i32 @binary(i32 noundef %6) ret i32 0 } declare i32 @convert(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @binary(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/tmpzrear1xf.c' source_filename = "/tmp/tmpzrear1xf.c" target datalayout = "e-m:e-p270: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/tmpzrear1xf.c" target datalayout = "e-m:e-p270: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/tmpw9dtl_5o.c' source_filename = "/tmp/tmpw9dtl_5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_out(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %137, %2 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 8 br i1 %10, label %11, label %140 11: ; preds = %8 store i32 0, ptr %6, align 4 br label %12 12: ; preds = %133, %11 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 16 br i1 %14, label %15, label %136 15: ; preds = %12 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = mul nsw i32 %17, 128 %19 = load i32, ptr %6, align 4 %20 = mul nsw i32 %19, 8 %21 = add nsw i32 %18, %20 %22 = add nsw i32 %21, 7 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %16, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = shl i32 %27, 8 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %5, align 4 %31 = mul nsw i32 %30, 128 %32 = load i32, ptr %6, align 4 %33 = mul nsw i32 %32, 8 %34 = add nsw i32 %31, %33 %35 = add nsw i32 %34, 6 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %29, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = or i32 %28, %39 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = shl i32 %41, 8 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %5, align 4 %45 = mul nsw i32 %44, 128 %46 = load i32, ptr %6, align 4 %47 = mul nsw i32 %46, 8 %48 = add nsw i32 %45, %47 %49 = add nsw i32 %48, 5 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %43, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = or i32 %42, %53 store i32 %54, ptr %7, align 4 %55 = load i32, ptr %7, align 4 %56 = shl i32 %55, 8 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %5, align 4 %59 = mul nsw i32 %58, 128 %60 = load i32, ptr %6, align 4 %61 = mul nsw i32 %60, 8 %62 = add nsw i32 %59, %61 %63 = add nsw i32 %62, 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %57, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = or i32 %56, %67 store i32 %68, ptr %7, align 4 %69 = load i32, ptr %7, align 4 %70 = shl i32 %69, 8 %71 = load ptr, ptr %4, align 8 %72 = load i32, ptr %5, align 4 %73 = mul nsw i32 %72, 128 %74 = load i32, ptr %6, align 4 %75 = mul nsw i32 %74, 8 %76 = add nsw i32 %73, %75 %77 = add nsw i32 %76, 3 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %71, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = or i32 %70, %81 store i32 %82, ptr %7, align 4 %83 = load i32, ptr %7, align 4 %84 = shl i32 %83, 8 %85 = load ptr, ptr %4, align 8 %86 = load i32, ptr %5, align 4 %87 = mul nsw i32 %86, 128 %88 = load i32, ptr %6, align 4 %89 = mul nsw i32 %88, 8 %90 = add nsw i32 %87, %89 %91 = add nsw i32 %90, 2 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %85, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = or i32 %84, %95 store i32 %96, ptr %7, align 4 %97 = load i32, ptr %7, align 4 %98 = shl i32 %97, 8 %99 = load ptr, ptr %4, align 8 %100 = load i32, ptr %5, align 4 %101 = mul nsw i32 %100, 128 %102 = load i32, ptr %6, align 4 %103 = mul nsw i32 %102, 8 %104 = add nsw i32 %101, %103 %105 = add nsw i32 %104, 1 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i8, ptr %99, i64 %106 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = or i32 %98, %109 store i32 %110, ptr %7, align 4 %111 = load i32, ptr %7, align 4 %112 = shl i32 %111, 8 %113 = load ptr, ptr %4, align 8 %114 = load i32, ptr %5, align 4 %115 = mul nsw i32 %114, 128 %116 = load i32, ptr %6, align 4 %117 = mul nsw i32 %116, 8 %118 = add nsw i32 %115, %117 %119 = add nsw i32 %118, 0 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %113, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = or i32 %112, %123 store i32 %124, ptr %7, align 4 %125 = load i32, ptr %7, align 4 %126 = load ptr, ptr %3, align 8 %127 = load i32, ptr %5, align 4 %128 = mul nsw i32 %127, 16 %129 = load i32, ptr %6, align 4 %130 = add nsw i32 %128, %129 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i32, ptr %126, i64 %131 store i32 %125, ptr %132, align 4 br label %133 133: ; preds = %15 %134 = load i32, ptr %6, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %6, align 4 br label %12, !llvm.loop !6 136: ; preds = %12 br label %137 137: ; preds = %136 %138 = load i32, ptr %5, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %5, align 4 br label %8, !llvm.loop !8 140: ; preds = %8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw9dtl_5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_out(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 8 br i1 %9, label %.lr.ph2, label %142 .lr.ph2: ; preds = %2 br label %10 10: ; preds = %.lr.ph2, %137 store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 16 br i1 %12, label %.lr.ph, label %136 .lr.ph: ; preds = %10 br label %13 13: ; preds = %.lr.ph, %131 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = mul nsw i32 %15, 128 %17 = load i32, ptr %6, align 4 %18 = mul nsw i32 %17, 8 %19 = add nsw i32 %16, %18 %20 = add nsw i32 %19, 7 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %14, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = shl i32 %25, 8 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = mul nsw i32 %28, 128 %30 = load i32, ptr %6, align 4 %31 = mul nsw i32 %30, 8 %32 = add nsw i32 %29, %31 %33 = add nsw i32 %32, 6 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %27, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = or i32 %26, %37 store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = shl i32 %39, 8 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %5, align 4 %43 = mul nsw i32 %42, 128 %44 = load i32, ptr %6, align 4 %45 = mul nsw i32 %44, 8 %46 = add nsw i32 %43, %45 %47 = add nsw i32 %46, 5 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %41, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = or i32 %40, %51 store i32 %52, ptr %7, align 4 %53 = load i32, ptr %7, align 4 %54 = shl i32 %53, 8 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %5, align 4 %57 = mul nsw i32 %56, 128 %58 = load i32, ptr %6, align 4 %59 = mul nsw i32 %58, 8 %60 = add nsw i32 %57, %59 %61 = add nsw i32 %60, 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %55, i64 %62 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = or i32 %54, %65 store i32 %66, ptr %7, align 4 %67 = load i32, ptr %7, align 4 %68 = shl i32 %67, 8 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %5, align 4 %71 = mul nsw i32 %70, 128 %72 = load i32, ptr %6, align 4 %73 = mul nsw i32 %72, 8 %74 = add nsw i32 %71, %73 %75 = add nsw i32 %74, 3 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %69, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = or i32 %68, %79 store i32 %80, ptr %7, align 4 %81 = load i32, ptr %7, align 4 %82 = shl i32 %81, 8 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %5, align 4 %85 = mul nsw i32 %84, 128 %86 = load i32, ptr %6, align 4 %87 = mul nsw i32 %86, 8 %88 = add nsw i32 %85, %87 %89 = add nsw i32 %88, 2 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %83, i64 %90 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = or i32 %82, %93 store i32 %94, ptr %7, align 4 %95 = load i32, ptr %7, align 4 %96 = shl i32 %95, 8 %97 = load ptr, ptr %4, align 8 %98 = load i32, ptr %5, align 4 %99 = mul nsw i32 %98, 128 %100 = load i32, ptr %6, align 4 %101 = mul nsw i32 %100, 8 %102 = add nsw i32 %99, %101 %103 = add nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %97, i64 %104 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = or i32 %96, %107 store i32 %108, ptr %7, align 4 %109 = load i32, ptr %7, align 4 %110 = shl i32 %109, 8 %111 = load ptr, ptr %4, align 8 %112 = load i32, ptr %5, align 4 %113 = mul nsw i32 %112, 128 %114 = load i32, ptr %6, align 4 %115 = mul nsw i32 %114, 8 %116 = add nsw i32 %113, %115 %117 = add nsw i32 %116, 0 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i8, ptr %111, i64 %118 %120 = load i8, ptr %119, align 1 %121 = sext i8 %120 to i32 %122 = or i32 %110, %121 store i32 %122, ptr %7, align 4 %123 = load i32, ptr %7, align 4 %124 = load ptr, ptr %3, align 8 %125 = load i32, ptr %5, align 4 %126 = mul nsw i32 %125, 16 %127 = load i32, ptr %6, align 4 %128 = add nsw i32 %126, %127 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %124, i64 %129 store i32 %123, ptr %130, align 4 br label %131 131: ; preds = %13 %132 = load i32, ptr %6, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %6, align 4 %134 = load i32, ptr %6, align 4 %135 = icmp slt i32 %134, 16 br i1 %135, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %131 br label %136 136: ; preds = %._crit_edge, %10 br label %137 137: ; preds = %136 %138 = load i32, ptr %5, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %5, align 4 %140 = load i32, ptr %5, align 4 %141 = icmp slt i32 %140, 8 br i1 %141, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %137 br label %142 142: ; preds = %._crit_edge3, %2 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/tmpafchsoql.c' source_filename = "/tmp/tmpafchsoql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"sizeof(char) -> %ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"sizeof(int) -> %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"sizeof(float) -> %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"sizeof(long) -> %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef 1) %3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 4) %4 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4) %5 = call i32 @printf(ptr noundef @.str.3, i32 noundef 8) 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/tmpafchsoql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"sizeof(char) -> %ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"sizeof(int) -> %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"sizeof(float) -> %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"sizeof(long) -> %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef 1) %3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 4) %4 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4) %5 = call i32 @printf(ptr noundef @.str.3, i32 noundef 8) 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/tmpbv8la34s.c' source_filename = "/tmp/tmpbv8la34s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @SAFE_FREE(ptr noundef %3) ret void } declare i32 @SAFE_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/tmpbv8la34s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @SAFE_FREE(ptr noundef %3) ret void } declare i32 @SAFE_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/tmpqstfdqmi.c' source_filename = "/tmp/tmpqstfdqmi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cgi_init_param() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = call ptr @cgi_get_data(ptr noundef %3) store ptr %5, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %52 8: ; preds = %0 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %43, %8 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %46 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 38 br i1 %20, label %21, label %29 21: ; preds = %13 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %1, align 4 %24 = load i32, ptr %2, align 4 %25 = sub nsw i32 %24, 1 %26 = call i32 @cgi_build_pair(ptr noundef %22, i32 noundef %23, i32 noundef %25) %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %1, align 4 br label %29 29: ; preds = %21, %13 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %2, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 43 br i1 %36, label %37, label %42 37: ; preds = %29 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %2, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 32, ptr %41, align 1 br label %42 42: ; preds = %37, %29 br label %43 43: ; preds = %42 %44 = load i32, ptr %2, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %2, align 4 br label %9, !llvm.loop !6 46: ; preds = %9 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %1, align 4 %49 = load i32, ptr %2, align 4 %50 = sub nsw i32 %49, 1 %51 = call i32 @cgi_build_pair(ptr noundef %47, i32 noundef %48, i32 noundef %50) br label %52 52: ; preds = %46, %0 %53 = load ptr, ptr %4, align 8 %54 = call i32 @free(ptr noundef %53) store ptr null, ptr %4, align 8 ret void } declare ptr @cgi_get_data(ptr noundef) #1 declare i32 @cgi_build_pair(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqstfdqmi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cgi_init_param() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = call ptr @cgi_get_data(ptr noundef %3) store ptr %5, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %54 8: ; preds = %0 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %48 .lr.ph: ; preds = %8 br label %12 12: ; preds = %.lr.ph, %42 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 38 br i1 %19, label %20, label %28 20: ; preds = %12 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %1, align 4 %23 = load i32, ptr %2, align 4 %24 = sub nsw i32 %23, 1 %25 = call i32 @cgi_build_pair(ptr noundef %21, i32 noundef %22, i32 noundef %24) %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %1, align 4 br label %28 28: ; preds = %20, %12 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %2, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 43 br i1 %35, label %36, label %41 36: ; preds = %28 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %2, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 32, ptr %40, align 1 br label %41 41: ; preds = %36, %28 br label %42 42: ; preds = %41 %43 = load i32, ptr %2, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %2, align 4 %45 = load i32, ptr %2, align 4 %46 = load i32, ptr %3, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %8 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %1, align 4 %51 = load i32, ptr %2, align 4 %52 = sub nsw i32 %51, 1 %53 = call i32 @cgi_build_pair(ptr noundef %49, i32 noundef %50, i32 noundef %52) br label %54 54: ; preds = %48, %0 %55 = load ptr, ptr %4, align 8 %56 = call i32 @free(ptr noundef %55) store ptr null, ptr %4, align 8 ret void } declare ptr @cgi_get_data(ptr noundef) #1 declare i32 @cgi_build_pair(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxhsc6u0w.c' source_filename = "/tmp/tmpxhsc6u0w.c" target datalayout = "e-m:e-p270: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/tmpxhsc6u0w.c" target datalayout = "e-m:e-p270: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_nq6oked.c' source_filename = "/tmp/tmp_nq6oked.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w+\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"subfunc=set\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"&dname=%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"&qname=%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"&sn=%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"&mac=%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"&key=%s\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"&wanIP=%s\0A\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"&ver=%s\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"1.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_update_name_wanip_postfile(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 [64 x i8], align 16 %11 = alloca [32 x i8], align 16 %12 = alloca [64 x i8], align 16 %13 = alloca ptr, align 8 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 store ptr null, ptr %13, align 8 %14 = load ptr, ptr %6, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %13, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %4 store i32 -207, ptr %5, align 4 br label %51 18: ; preds = %4 %19 = load ptr, ptr %13, align 8 %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.1) %21 = load ptr, ptr %13, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %22) %24 = load ptr, ptr %13, align 8 %25 = load ptr, ptr %8, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str.3, ptr noundef %25) %27 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %28 = call i32 @get_serial_number(ptr noundef %27, i32 noundef 64) %29 = load ptr, ptr %13, align 8 %30 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.4, ptr noundef %30) %32 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %33 = call i32 @get_mac_address(ptr noundef %32, i32 noundef 32) %34 = load ptr, ptr %13, align 8 %35 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.5, ptr noundef %35) %37 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %38 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %39 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %40 = call i32 @gen_encrypt_key(ptr noundef %37, ptr noundef %38, ptr noundef %39, i32 noundef 64) %41 = load ptr, ptr %13, align 8 %42 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.6, ptr noundef %42) %44 = load ptr, ptr %13, align 8 %45 = load ptr, ptr %9, align 8 %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.7, ptr noundef %45) %47 = load ptr, ptr %13, align 8 %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.8, ptr noundef @.str.9) %49 = load ptr, ptr %13, align 8 %50 = call i32 @fclose(ptr noundef %49) store i32 0, ptr %5, align 4 br label %51 51: ; preds = %18, %17 %52 = load i32, ptr %5, align 4 ret i32 %52 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @get_serial_number(ptr noundef, i32 noundef) #1 declare i32 @get_mac_address(ptr noundef, i32 noundef) #1 declare i32 @gen_encrypt_key(ptr noundef, ptr noundef, ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_nq6oked.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w+\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"subfunc=set\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"&dname=%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"&qname=%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"&sn=%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"&mac=%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"&key=%s\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"&wanIP=%s\0A\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"&ver=%s\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"1.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_update_name_wanip_postfile(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 [64 x i8], align 16 %11 = alloca [32 x i8], align 16 %12 = alloca [64 x i8], align 16 %13 = alloca ptr, align 8 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 store ptr null, ptr %13, align 8 %14 = load ptr, ptr %6, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %13, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %4 store i32 -207, ptr %5, align 4 br label %51 18: ; preds = %4 %19 = load ptr, ptr %13, align 8 %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.1) %21 = load ptr, ptr %13, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %22) %24 = load ptr, ptr %13, align 8 %25 = load ptr, ptr %8, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str.3, ptr noundef %25) %27 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %28 = call i32 @get_serial_number(ptr noundef %27, i32 noundef 64) %29 = load ptr, ptr %13, align 8 %30 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.4, ptr noundef %30) %32 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %33 = call i32 @get_mac_address(ptr noundef %32, i32 noundef 32) %34 = load ptr, ptr %13, align 8 %35 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.5, ptr noundef %35) %37 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %38 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %39 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %40 = call i32 @gen_encrypt_key(ptr noundef %37, ptr noundef %38, ptr noundef %39, i32 noundef 64) %41 = load ptr, ptr %13, align 8 %42 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.6, ptr noundef %42) %44 = load ptr, ptr %13, align 8 %45 = load ptr, ptr %9, align 8 %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.7, ptr noundef %45) %47 = load ptr, ptr %13, align 8 %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.8, ptr noundef @.str.9) %49 = load ptr, ptr %13, align 8 %50 = call i32 @fclose(ptr noundef %49) store i32 0, ptr %5, align 4 br label %51 51: ; preds = %18, %17 %52 = load i32, ptr %5, align 4 ret i32 %52 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @get_serial_number(ptr noundef, i32 noundef) #1 declare i32 @get_mac_address(ptr noundef, i32 noundef) #1 declare i32 @gen_encrypt_key(ptr noundef, ptr noundef, ptr 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"}
; ModuleID = '/tmp/tmpjitzum15.c' source_filename = "/tmp/tmpjitzum15.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @inotify_init() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sge i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr %2, align 4 %8 = call i32 @close(i32 noundef %7) br label %9 9: ; preds = %6, %0 ret i32 0 } declare i32 @inotify_init(...) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjitzum15.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @inotify_init() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sge i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr %2, align 4 %8 = call i32 @close(i32 noundef %7) br label %9 9: ; preds = %6, %0 ret i32 0 } declare i32 @inotify_init(...) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_1khua28.c' source_filename = "/tmp/tmp_1khua28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @ln_get_hyp_radius_vector(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = fadd double 1.000000e+00, %8 %10 = fmul double %7, %9 %11 = load double, ptr %5, align 8 %12 = load double, ptr %4, align 8 %13 = load double, ptr %5, align 8 %14 = load double, ptr %6, align 8 %15 = call i32 @ln_get_hyp_true_anomaly(double noundef %12, double noundef %13, double noundef %14) %16 = call i32 @ln_deg_to_rad(i32 noundef %15) %17 = call double @cos(i32 noundef %16) %18 = call double @llvm.fmuladd.f64(double %11, double %17, double 1.000000e+00) %19 = fdiv double %10, %18 ret double %19 } declare double @cos(i32 noundef) #1 declare i32 @ln_deg_to_rad(i32 noundef) #1 declare i32 @ln_get_hyp_true_anomaly(double noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_1khua28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @ln_get_hyp_radius_vector(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = fadd double 1.000000e+00, %8 %10 = fmul double %7, %9 %11 = load double, ptr %5, align 8 %12 = load double, ptr %4, align 8 %13 = load double, ptr %5, align 8 %14 = load double, ptr %6, align 8 %15 = call i32 @ln_get_hyp_true_anomaly(double noundef %12, double noundef %13, double noundef %14) %16 = call i32 @ln_deg_to_rad(i32 noundef %15) %17 = call double @cos(i32 noundef %16) %18 = call double @llvm.fmuladd.f64(double %11, double %17, double 1.000000e+00) %19 = fdiv double %10, %18 ret double %19 } declare double @cos(i32 noundef) #1 declare i32 @ln_deg_to_rad(i32 noundef) #1 declare i32 @ln_get_hyp_true_anomaly(double noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb_z1aqwr.c' source_filename = "/tmp/tmpb_z1aqwr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @nondet_int() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 -1073741823, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %9 8: ; preds = %0 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %7 %10 = call i32 (...) @f() %11 = load i32, ptr %1, align 4 %12 = sext i32 %11 to i64 %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9 br label %15 15: ; preds = %15, %14 br label %15 16: ; preds = %9 br label %17 17: ; preds = %16 ret void } declare i32 @nondet_int(...) #1 declare i32 @f(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb_z1aqwr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @nondet_int() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 -1073741823, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %9 8: ; preds = %0 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %7 %10 = call i32 (...) @f() %11 = load i32, ptr %1, align 4 %12 = sext i32 %11 to i64 %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9 br label %15 15: ; preds = %15, %14 br label %15 16: ; preds = %9 br label %17 17: ; preds = %16 ret void } declare i32 @nondet_int(...) #1 declare i32 @f(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpubl5hi7v.c' source_filename = "/tmp/tmpubl5hi7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fprint_canframe(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [280 x i8], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %12 = getelementptr inbounds [280 x i8], ptr %11, i64 0, i64 0 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %10, align 4 %16 = call i32 @sprint_canframe(ptr noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef %15) %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds [280 x i8], ptr %11, i64 0, i64 0 %19 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %18) %20 = load ptr, ptr %8, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %5 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %8, align 8 %25 = call i32 @fprintf(ptr noundef %23, ptr noundef @.str, ptr noundef %24) br label %26 26: ; preds = %22, %5 ret void } declare i32 @sprint_canframe(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(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/tmpubl5hi7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fprint_canframe(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [280 x i8], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %12 = getelementptr inbounds [280 x i8], ptr %11, i64 0, i64 0 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %10, align 4 %16 = call i32 @sprint_canframe(ptr noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef %15) %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds [280 x i8], ptr %11, i64 0, i64 0 %19 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str, ptr noundef %18) %20 = load ptr, ptr %8, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %5 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %8, align 8 %25 = call i32 @fprintf(ptr noundef %23, ptr noundef @.str, ptr noundef %24) br label %26 26: ; preds = %22, %5 ret void } declare i32 @sprint_canframe(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(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/tmpdtxbtufg.c' source_filename = "/tmp/tmpdtxbtufg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [27 x i8] c"isbdigit should be 0 for y\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x79() #0 { %1 = call i64 @isbdigit(i32 noundef 121) %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 610, 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/tmpdtxbtufg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [27 x i8] c"isbdigit should be 0 for y\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x79() #0 { %1 = call i64 @isbdigit(i32 noundef 121) %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 610, 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/tmpel62lhe5.c' source_filename = "/tmp/tmpel62lhe5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @pcap_strerror.ebuf = internal global [20 x i8] zeroinitializer, align 16 @sys_nerr = external global i32, align 4 @sys_errlist = external constant [0 x ptr], align 8 @.str = private unnamed_addr constant [18 x i8] c"Unknown error: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pcap_strerror(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr @sys_nerr, align 4 %6 = icmp ult i32 %4, %5 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [0 x ptr], ptr @sys_errlist, i64 0, i64 %9 %11 = load ptr, ptr %10, align 8 store ptr %11, ptr %2, align 8 br label %15 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = call i32 @sprintf(ptr noundef @pcap_strerror.ebuf, ptr noundef @.str, i32 noundef %13) store ptr @pcap_strerror.ebuf, ptr %2, align 8 br label %15 15: ; preds = %12, %7 %16 = load ptr, ptr %2, align 8 ret ptr %16 } declare i32 @sprintf(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/tmpel62lhe5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @pcap_strerror.ebuf = internal global [20 x i8] zeroinitializer, align 16 @sys_nerr = external global i32, align 4 @sys_errlist = external constant [0 x ptr], align 8 @.str = private unnamed_addr constant [18 x i8] c"Unknown error: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pcap_strerror(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr @sys_nerr, align 4 %6 = icmp ult i32 %4, %5 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [0 x ptr], ptr @sys_errlist, i64 0, i64 %9 %11 = load ptr, ptr %10, align 8 store ptr %11, ptr %2, align 8 br label %15 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = call i32 @sprintf(ptr noundef @pcap_strerror.ebuf, ptr noundef @.str, i32 noundef %13) store ptr @pcap_strerror.ebuf, ptr %2, align 8 br label %15 15: ; preds = %12, %7 %16 = load ptr, ptr %2, align 8 ret ptr %16 } declare i32 @sprintf(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/tmprw8q8i7r.c' source_filename = "/tmp/tmprw8q8i7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %36 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) store i64 %29, ptr %9, align 8 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32 store i64 %30, ptr %33, align 8 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %19, !llvm.loop !6 36: ; preds = %19 %37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38) %40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %41 = load i64, ptr %40, align 8 %42 = icmp eq i64 %41, -4112005524 br i1 %42, label %43, label %45 43: ; preds = %36 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 45: ; preds = %36 br label %46 46: ; preds = %45, %43 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %50, %46 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 br label %47, !llvm.loop !8 58: ; preds = %47 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprw8q8i7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %37 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) store i64 %28, ptr %9, align 8 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31 store i64 %29, ptr %32, align 8 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %35, 1 br i1 %36, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %37 37: ; preds = %._crit_edge, %18 %38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %42 = load i64, ptr %41, align 8 %43 = icmp eq i64 %42, -4112005524 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %.lr.ph2, label %60 .lr.ph2: ; preds = %47 br label %50 50: ; preds = %.lr.ph2, %50 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %58, 1 br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %60 60: ; preds = %._crit_edge3, %47 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9jzweh9f.c' source_filename = "/tmp/tmp9jzweh9f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Comprador's Report\0A\0A\00", align 1 @A_REVERSE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c" \0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c" Y o u ' r e a \0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c" M I L L I O N A I R E ! \0A\00", align 1 @A_NORMAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @retire() #0 { %1 = call i32 @move(i32 noundef 16, i32 noundef 0) %2 = call i32 (...) @clrtobot() %3 = call i32 @printw(ptr noundef @.str) %4 = load i32, ptr @A_REVERSE, align 4 %5 = call i32 @attrset(i32 noundef %4) %6 = call i32 @printw(ptr noundef @.str.1) %7 = call i32 @printw(ptr noundef @.str.2) %8 = call i32 @printw(ptr noundef @.str.1) %9 = call i32 @printw(ptr noundef @.str.3) %10 = call i32 @printw(ptr noundef @.str.1) %11 = load i32, ptr @A_NORMAL, align 4 %12 = call i32 @attrset(i32 noundef %11) %13 = call i32 (...) @refresh() %14 = call i32 @timeout(i32 noundef 5000) %15 = call i32 (...) @getch() %16 = call i32 @timeout(i32 noundef -1) %17 = call i32 (...) @final_stats() ret void } declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @clrtobot(...) #1 declare i32 @printw(ptr noundef) #1 declare i32 @attrset(i32 noundef) #1 declare i32 @refresh(...) #1 declare i32 @timeout(i32 noundef) #1 declare i32 @getch(...) #1 declare i32 @final_stats(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9jzweh9f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Comprador's Report\0A\0A\00", align 1 @A_REVERSE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c" \0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c" Y o u ' r e a \0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c" M I L L I O N A I R E ! \0A\00", align 1 @A_NORMAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @retire() #0 { %1 = call i32 @move(i32 noundef 16, i32 noundef 0) %2 = call i32 (...) @clrtobot() %3 = call i32 @printw(ptr noundef @.str) %4 = load i32, ptr @A_REVERSE, align 4 %5 = call i32 @attrset(i32 noundef %4) %6 = call i32 @printw(ptr noundef @.str.1) %7 = call i32 @printw(ptr noundef @.str.2) %8 = call i32 @printw(ptr noundef @.str.1) %9 = call i32 @printw(ptr noundef @.str.3) %10 = call i32 @printw(ptr noundef @.str.1) %11 = load i32, ptr @A_NORMAL, align 4 %12 = call i32 @attrset(i32 noundef %11) %13 = call i32 (...) @refresh() %14 = call i32 @timeout(i32 noundef 5000) %15 = call i32 (...) @getch() %16 = call i32 @timeout(i32 noundef -1) %17 = call i32 (...) @final_stats() ret void } declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @clrtobot(...) #1 declare i32 @printw(ptr noundef) #1 declare i32 @attrset(i32 noundef) #1 declare i32 @refresh(...) #1 declare i32 @timeout(i32 noundef) #1 declare i32 @getch(...) #1 declare i32 @final_stats(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf7qtrusc.c' source_filename = "/tmp/tmpf7qtrusc.c" target datalayout = "e-m:e-p270: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 [83 x i8] c"__NR_pidfd_getfd undefined. The pidfd_getfd syscall is unavailable. Test aborting\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stderr, align 4 %3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str) ret i32 4 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf7qtrusc.c" target datalayout = "e-m:e-p270: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 [83 x i8] c"__NR_pidfd_getfd undefined. The pidfd_getfd syscall is unavailable. Test aborting\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stderr, align 4 %3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str) ret i32 4 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkvgkj_x0.c' source_filename = "/tmp/tmpkvgkj_x0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_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/tmpkvgkj_x0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_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/tmp78ooupyc.c' source_filename = "/tmp/tmp78ooupyc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u, %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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call ptr @mtwist_init(i32 noundef 99973) store ptr %9, ptr %7, align 8 store i32 0, ptr %6, align 4 br label %10 10: ; preds = %20, %2 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 1000 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load ptr, ptr %7, align 8 %15 = call i32 @mtwist_next(ptr noundef %14) store i32 %15, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = srem i32 %17, 100 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %16, i32 noundef %18) br label %20 20: ; preds = %13 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 br label %10, !llvm.loop !6 23: ; preds = %10 ret i32 0 } declare ptr @mtwist_init(i32 noundef) #1 declare i32 @mtwist_next(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp78ooupyc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u, %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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call ptr @mtwist_init(i32 noundef 99973) store ptr %9, ptr %7, align 8 store i32 0, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 1000 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %19 %13 = load ptr, ptr %7, align 8 %14 = call i32 @mtwist_next(ptr noundef %13) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = srem i32 %16, 100 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %17) br label %19 19: ; preds = %12 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp slt i32 %22, 1000 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 ret i32 0 } declare ptr @mtwist_init(i32 noundef) #1 declare i32 @mtwist_next(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpiqhbhf73.c' source_filename = "/tmp/tmpiqhbhf73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-gen\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"-dec\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 slt i32 %6, 2 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = call i32 (...) @usage() %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i64 @strncmp(ptr noundef %14, ptr noundef @.str, i32 noundef 4) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %11 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @genlic(i32 noundef %18, ptr noundef %19) br label %35 21: ; preds = %11 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i64 @strncmp(ptr noundef %24, ptr noundef @.str.1, i32 noundef 4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %21 %28 = load i32, ptr %4, align 4 %29 = load ptr, ptr %5, align 8 %30 = call i32 @declic(i32 noundef %28, ptr noundef %29) br label %34 31: ; preds = %21 %32 = call i32 (...) @usage() %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %27 br label %35 35: ; preds = %34, %17 ret i32 0 } declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @genlic(i32 noundef, ptr noundef) #1 declare i32 @declic(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" } 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/tmpiqhbhf73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-gen\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"-dec\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 slt i32 %6, 2 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = call i32 (...) @usage() %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i64 @strncmp(ptr noundef %14, ptr noundef @.str, i32 noundef 4) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %11 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @genlic(i32 noundef %18, ptr noundef %19) br label %35 21: ; preds = %11 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i64 @strncmp(ptr noundef %24, ptr noundef @.str.1, i32 noundef 4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %21 %28 = load i32, ptr %4, align 4 %29 = load ptr, ptr %5, align 8 %30 = call i32 @declic(i32 noundef %28, ptr noundef %29) br label %34 31: ; preds = %21 %32 = call i32 (...) @usage() %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %27 br label %35 35: ; preds = %34, %17 ret i32 0 } declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @genlic(i32 noundef, ptr noundef) #1 declare i32 @declic(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" } 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/tmpkc8kdadv.c' source_filename = "/tmp/tmpkc8kdadv.c" target datalayout = "e-m:e-p270: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_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_NDELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Can't Open Serial Port\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"open success\0A\00", align 1 @F_SETFL = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"fcntl failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"fcntl=%d\0A\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [41 x i8] c"standard input is not a terminal device\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"isatty success!\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"serial : %d open OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_port(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = load i32, ptr @O_RDWR, align 4 %8 = load i32, ptr @O_NOCTTY, align 4 %9 = or i32 %7, %8 %10 = load i32, ptr @O_NDELAY, align 4 %11 = or i32 %9, %10 %12 = call i32 @open(ptr noundef %6, i32 noundef %11) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 -1, %13 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %42 17: ; preds = %2 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %19 = load i32, ptr %4, align 4 %20 = load i32, ptr @F_SETFL, align 4 %21 = call i32 @fcntl(i32 noundef %19, i32 noundef %20, i32 noundef 0) %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %30 25: ; preds = %17 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr @F_SETFL, align 4 %28 = call i32 @fcntl(i32 noundef %26, i32 noundef %27, i32 noundef 0) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28) br label %30 30: ; preds = %25, %23 %31 = load i32, ptr @STDIN_FILENO, align 4 %32 = call i64 @isatty(i32 noundef %31) %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %38 36: ; preds = %30 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %38 38: ; preds = %36, %34 %39 = load i32, ptr %4, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %39) %41 = load i32, ptr %4, align 4 store i32 %41, ptr %3, align 4 br label %42 42: ; preds = %38, %15 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @isatty(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/tmpkc8kdadv.c" target datalayout = "e-m:e-p270: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_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_NDELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Can't Open Serial Port\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"open success\0A\00", align 1 @F_SETFL = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"fcntl failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"fcntl=%d\0A\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [41 x i8] c"standard input is not a terminal device\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"isatty success!\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"serial : %d open OK\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_port(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = load i32, ptr @O_RDWR, align 4 %8 = load i32, ptr @O_NOCTTY, align 4 %9 = or i32 %7, %8 %10 = load i32, ptr @O_NDELAY, align 4 %11 = or i32 %9, %10 %12 = call i32 @open(ptr noundef %6, i32 noundef %11) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 -1, %13 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %42 17: ; preds = %2 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %19 = load i32, ptr %4, align 4 %20 = load i32, ptr @F_SETFL, align 4 %21 = call i32 @fcntl(i32 noundef %19, i32 noundef %20, i32 noundef 0) %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %30 25: ; preds = %17 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr @F_SETFL, align 4 %28 = call i32 @fcntl(i32 noundef %26, i32 noundef %27, i32 noundef 0) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28) br label %30 30: ; preds = %25, %23 %31 = load i32, ptr @STDIN_FILENO, align 4 %32 = call i64 @isatty(i32 noundef %31) %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %38 36: ; preds = %30 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %38 38: ; preds = %36, %34 %39 = load i32, ptr %4, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %39) %41 = load i32, ptr %4, align 4 store i32 %41, ptr %3, align 4 br label %42 42: ; preds = %38, %15 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @isatty(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/tmprumtvk19.c' source_filename = "/tmp/tmprumtvk19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_ddr_phy_x() #0 { store i64 1048583, ptr inttoptr (i64 1275068644 to ptr), align 8 store i64 1048583, ptr inttoptr (i64 1275068648 to ptr), align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprumtvk19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_ddr_phy_x() #0 { store i64 1048583, ptr inttoptr (i64 1275068644 to ptr), align 8 store i64 1048583, ptr inttoptr (i64 1275068648 to ptr), align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5k7gipta.c' source_filename = "/tmp/tmp5k7gipta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRRESTOREDC_swap(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 @core3_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @core3_swap(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/tmp5k7gipta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRRESTOREDC_swap(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 @core3_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @core3_swap(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/tmp9z2p10_g.c' source_filename = "/tmp/tmp9z2p10_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9z2p10_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuqiq_0o3.c' source_filename = "/tmp/tmpuqiq_0o3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lsdasetrlevel(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 = call i32 @lsda_setreportlevel(i32 noundef %4) ret void } declare i32 @lsda_setreportlevel(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/tmpuqiq_0o3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lsdasetrlevel(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 = call i32 @lsda_setreportlevel(i32 noundef %4) ret void } declare i32 @lsda_setreportlevel(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/tmpyov37kdg.c' source_filename = "/tmp/tmpyov37kdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ottery_st_rand_range(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i64 @ottery_st_rand_check_init(ptr noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = call i32 @ottery_st_rand_range_nolock(ptr noundef %12, i32 noundef %13) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %11, %10 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @ottery_st_rand_check_init(ptr noundef) #1 declare i32 @ottery_st_rand_range_nolock(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/tmpyov37kdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ottery_st_rand_range(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i64 @ottery_st_rand_check_init(ptr noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = call i32 @ottery_st_rand_range_nolock(ptr noundef %12, i32 noundef %13) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %11, %10 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @ottery_st_rand_check_init(ptr noundef) #1 declare i32 @ottery_st_rand_range_nolock(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/tmp42dzby4o.c' source_filename = "/tmp/tmp42dzby4o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [15 x i8] c"Unexpected EOF\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wrbyte(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i64 @fputc(i8 noundef signext %5, ptr noundef %6) %8 = load i64, ptr @EOF, align 8 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @die(ptr noundef @.str) br label %12 12: ; preds = %10, %2 ret void } declare i64 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp42dzby4o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [15 x i8] c"Unexpected EOF\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wrbyte(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i64 @fputc(i8 noundef signext %5, ptr noundef %6) %8 = load i64, ptr @EOF, align 8 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @die(ptr noundef @.str) br label %12 12: ; preds = %10, %2 ret void } declare i64 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5icf_u9r.c' source_filename = "/tmp/tmp5icf_u9r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"??\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"cd\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"disc\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"sample\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"cover\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_dirs(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [300 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = getelementptr inbounds [300 x i8], ptr %10, i64 0, i64 0 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12) %14 = getelementptr inbounds [300 x i8], ptr %10, i64 0, i64 0 %15 = call ptr @strrchr(ptr noundef %14, i8 noundef signext 47) store ptr %15, ptr %8, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %24, label %18 18: ; preds = %3 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds [300 x i8], ptr %10, i64 0, i64 0 %21 = call i32 @strcpy(ptr noundef %19, ptr noundef %20) %22 = load ptr, ptr %6, align 8 %23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str) store i32 0, ptr %4, align 4 br label %64 24: ; preds = %3 %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %8, align 8 br label %27 27: ; preds = %24 %28 = load ptr, ptr %8, align 8 %29 = call i32 @strncasecmp(ptr noundef %28, ptr noundef @.str.1, i32 noundef 2) %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %43 31: ; preds = %27 %32 = load ptr, ptr %8, align 8 %33 = call i32 @strncasecmp(ptr noundef %32, ptr noundef @.str.2, i32 noundef 4) %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %43 35: ; preds = %31 %36 = load ptr, ptr %8, align 8 %37 = call i32 @strncasecmp(ptr noundef %36, ptr noundef @.str.3, i32 noundef 6) %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = load ptr, ptr %8, align 8 %41 = call i32 @strncasecmp(ptr noundef %40, ptr noundef @.str.4, i32 noundef 5) %42 = icmp ne i32 %41, 0 br i1 %42, label %52, label %43 43: ; preds = %39, %35, %31, %27 %44 = load ptr, ptr %8, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 -1 store i8 0, ptr %45, align 1 %46 = getelementptr inbounds [300 x i8], ptr %10, i64 0, i64 0 %47 = call ptr @strrchr(ptr noundef %46, i8 noundef signext 47) %48 = getelementptr inbounds i8, ptr %47, i64 1 store ptr %48, ptr %9, align 8 %49 = load ptr, ptr %8, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 -1 store i8 47, ptr %50, align 1 %51 = load ptr, ptr %9, align 8 store ptr %51, ptr %8, align 8 br label %52 52: ; preds = %43, %39 %53 = load ptr, ptr %8, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 -1 store i8 0, ptr %54, align 1 %55 = getelementptr inbounds [300 x i8], ptr %10, i64 0, i64 0 %56 = call ptr @strrchr(ptr noundef %55, i8 noundef signext 47) %57 = getelementptr inbounds i8, ptr %56, i64 1 store ptr %57, ptr %9, align 8 %58 = load ptr, ptr %6, align 8 %59 = load ptr, ptr %9, align 8 %60 = call i32 @strcpy(ptr noundef %58, ptr noundef %59) %61 = load ptr, ptr %7, align 8 %62 = load ptr, ptr %8, align 8 %63 = call i32 @strcpy(ptr noundef %61, ptr noundef %62) store i32 1, ptr %4, align 4 br label %64 64: ; preds = %52, %18 %65 = load i32, ptr %4, align 4 ret i32 %65 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncasecmp(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/tmp5icf_u9r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"??\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"cd\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"disc\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"sample\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"cover\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_dirs(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [300 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = getelementptr inbounds [300 x i8], ptr %10, i64 0, i64 0 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12) %14 = getelementptr inbounds [300 x i8], ptr %10, i64 0, i64 0 %15 = call ptr @strrchr(ptr noundef %14, i8 noundef signext 47) store ptr %15, ptr %8, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %24, label %18 18: ; preds = %3 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds [300 x i8], ptr %10, i64 0, i64 0 %21 = call i32 @strcpy(ptr noundef %19, ptr noundef %20) %22 = load ptr, ptr %6, align 8 %23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str) store i32 0, ptr %4, align 4 br label %64 24: ; preds = %3 %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %8, align 8 br label %27 27: ; preds = %24 %28 = load ptr, ptr %8, align 8 %29 = call i32 @strncasecmp(ptr noundef %28, ptr noundef @.str.1, i32 noundef 2) %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %43 31: ; preds = %27 %32 = load ptr, ptr %8, align 8 %33 = call i32 @strncasecmp(ptr noundef %32, ptr noundef @.str.2, i32 noundef 4) %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %43 35: ; preds = %31 %36 = load ptr, ptr %8, align 8 %37 = call i32 @strncasecmp(ptr noundef %36, ptr noundef @.str.3, i32 noundef 6) %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %35 %40 = load ptr, ptr %8, align 8 %41 = call i32 @strncasecmp(ptr noundef %40, ptr noundef @.str.4, i32 noundef 5) %42 = icmp ne i32 %41, 0 br i1 %42, label %52, label %43 43: ; preds = %39, %35, %31, %27 %44 = load ptr, ptr %8, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 -1 store i8 0, ptr %45, align 1 %46 = getelementptr inbounds [300 x i8], ptr %10, i64 0, i64 0 %47 = call ptr @strrchr(ptr noundef %46, i8 noundef signext 47) %48 = getelementptr inbounds i8, ptr %47, i64 1 store ptr %48, ptr %9, align 8 %49 = load ptr, ptr %8, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 -1 store i8 47, ptr %50, align 1 %51 = load ptr, ptr %9, align 8 store ptr %51, ptr %8, align 8 br label %52 52: ; preds = %43, %39 %53 = load ptr, ptr %8, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 -1 store i8 0, ptr %54, align 1 %55 = getelementptr inbounds [300 x i8], ptr %10, i64 0, i64 0 %56 = call ptr @strrchr(ptr noundef %55, i8 noundef signext 47) %57 = getelementptr inbounds i8, ptr %56, i64 1 store ptr %57, ptr %9, align 8 %58 = load ptr, ptr %6, align 8 %59 = load ptr, ptr %9, align 8 %60 = call i32 @strcpy(ptr noundef %58, ptr noundef %59) %61 = load ptr, ptr %7, align 8 %62 = load ptr, ptr %8, align 8 %63 = call i32 @strcpy(ptr noundef %61, ptr noundef %62) store i32 1, ptr %4, align 4 br label %64 64: ; preds = %52, %18 %65 = load i32, ptr %4, align 4 ret i32 %65 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncasecmp(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/tmp6a3m8g83.c' source_filename = "/tmp/tmp6a3m8g83.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Negative test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Single digit test failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Double digit test failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"Multi digit test failed!\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"%d tests failed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (...) @test_negative() %4 = icmp ne i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %9 9: ; preds = %5, %0 %10 = call i32 (...) @test_single_digit() %11 = icmp ne i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %16 16: ; preds = %12, %9 %17 = call i32 (...) @test_double_digit() %18 = icmp ne i32 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 23: ; preds = %19, %16 %24 = call i32 (...) @test_multi_digit() %25 = icmp ne i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %30 30: ; preds = %26, %23 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) %33 = load i32, ptr %1, align 4 ret i32 %33 } declare i32 @test_negative(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @test_single_digit(...) #1 declare i32 @test_double_digit(...) #1 declare i32 @test_multi_digit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6a3m8g83.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Negative test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Single digit test failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Double digit test failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"Multi digit test failed!\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"%d tests failed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (...) @test_negative() %4 = icmp ne i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %9 9: ; preds = %5, %0 %10 = call i32 (...) @test_single_digit() %11 = icmp ne i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %16 16: ; preds = %12, %9 %17 = call i32 (...) @test_double_digit() %18 = icmp ne i32 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 23: ; preds = %19, %16 %24 = call i32 (...) @test_multi_digit() %25 = icmp ne i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %30 30: ; preds = %26, %23 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) %33 = load i32, ptr %1, align 4 ret i32 %33 } declare i32 @test_negative(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @test_single_digit(...) #1 declare i32 @test_double_digit(...) #1 declare i32 @test_multi_digit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd1miaxsd.c' source_filename = "/tmp/tmpd1miaxsd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./test/write\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 = call i32 @init(ptr noundef @.str) ret i32 0 } declare i32 @init(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd1miaxsd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./test/write\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 = call i32 @init(ptr noundef @.str) ret i32 0 } declare i32 @init(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptjfumwaq.c' source_filename = "/tmp/tmptjfumwaq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_NPROCESSORS_ONLN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sys_get_cpu_count() #0 { %1 = load i32, ptr @_SC_NPROCESSORS_ONLN, align 4 %2 = call i64 @sysconf(i32 noundef %1) ret i64 %2 } declare i64 @sysconf(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/tmptjfumwaq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_NPROCESSORS_ONLN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sys_get_cpu_count() #0 { %1 = load i32, ptr @_SC_NPROCESSORS_ONLN, align 4 %2 = call i64 @sysconf(i32 noundef %1) ret i64 %2 } declare i64 @sysconf(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/tmpx139_8xz.c' source_filename = "/tmp/tmpx139_8xz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @itoa.buf = internal global [32 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @itoa(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 30, ptr %5, align 4 br label %6 6: ; preds = %24, %2 %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 0 br label %12 12: ; preds = %9, %6 %13 = phi i1 [ false, %6 ], [ %11, %9 ] br i1 %13, label %14, label %30 14: ; preds = %12 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = srem i32 %15, %16 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [17 x i8], ptr @.str, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [32 x i8], ptr @itoa.buf, i64 0, i64 %22 store i8 %20, ptr %23, align 1 br label %24 24: ; preds = %14 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %3, align 4 %29 = sdiv i32 %28, %27 store i32 %29, ptr %3, align 4 br label %6, !llvm.loop !6 30: ; preds = %12 %31 = call i32 @printf(ptr noundef @.str.1, ptr noundef @itoa.buf) %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [32 x i8], ptr @itoa.buf, i64 0, i64 %34 ret ptr %35 } 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/tmpx139_8xz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @itoa.buf = internal global [32 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @itoa(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 30, ptr %5, align 4 br label %6 6: ; preds = %24, %2 %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 0 br label %12 12: ; preds = %9, %6 %13 = phi i1 [ false, %6 ], [ %11, %9 ] br i1 %13, label %14, label %30 14: ; preds = %12 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = srem i32 %15, %16 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [17 x i8], ptr @.str, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [32 x i8], ptr @itoa.buf, i64 0, i64 %22 store i8 %20, ptr %23, align 1 br label %24 24: ; preds = %14 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %3, align 4 %29 = sdiv i32 %28, %27 store i32 %29, ptr %3, align 4 br label %6, !llvm.loop !6 30: ; preds = %12 %31 = call i32 @printf(ptr noundef @.str.1, ptr noundef @itoa.buf) %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [32 x i8], ptr @itoa.buf, i64 0, i64 %34 ret ptr %35 } 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/tmpfu_vti18.c' source_filename = "/tmp/tmpfu_vti18.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"Content-type: text/plain\0A\0A<HEAD><TITLE>%s</TITLE></HEAD>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @htmlHeaderText(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) 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/tmpfu_vti18.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"Content-type: text/plain\0A\0A<HEAD><TITLE>%s</TITLE></HEAD>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @htmlHeaderText(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) 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/tmpuvyg84sd.c' source_filename = "/tmp/tmpuvyg84sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DEMO\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"2333\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"you\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"are\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"hero\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"/0\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 = call i32 (i32, i32, ...) @simple_va_fun0(i32 noundef 10, i32 noundef -1) %7 = call i32 (i32, i32, ...) @simple_va_fun0(i32 noundef 100, i32 noundef 200, i32 noundef -1) %8 = call i32 @simple_va_fun1(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5) ret i32 0 } declare i32 @simple_va_fun0(i32 noundef, i32 noundef, ...) #1 declare i32 @simple_va_fun1(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuvyg84sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DEMO\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"2333\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"you\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"are\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"hero\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"/0\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 = call i32 (i32, i32, ...) @simple_va_fun0(i32 noundef 10, i32 noundef -1) %7 = call i32 (i32, i32, ...) @simple_va_fun0(i32 noundef 100, i32 noundef 200, i32 noundef -1) %8 = call i32 @simple_va_fun1(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5) ret i32 0 } declare i32 @simple_va_fun0(i32 noundef, i32 noundef, ...) #1 declare i32 @simple_va_fun1(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpni4zwdka.c' source_filename = "/tmp/tmpni4zwdka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XEvent_xnoexpose_type(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i32 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpni4zwdka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XEvent_xnoexpose_type(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i32 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8cij_dp5.c' source_filename = "/tmp/tmp8cij_dp5.c" target datalayout = "e-m:e-p270: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/tmp8cij_dp5.c" target datalayout = "e-m:e-p270: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/tmp6fc0kijl.c' source_filename = "/tmp/tmp6fc0kijl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"shr\09ax,1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgunscale() #0 { %1 = call i32 @gen(ptr noundef @.str) ret void } declare i32 @gen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6fc0kijl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"shr\09ax,1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgunscale() #0 { %1 = call i32 @gen(ptr noundef @.str) ret void } declare i32 @gen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw37ypcxa.c' source_filename = "/tmp/tmpw37ypcxa.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [5 x i8] c"### \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s: \00", align 1 @ERANGE = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [55 x i8] c"String cannot be converted to (double) float in %s %s\0A\00", align 1 @HUGE_VAL = dso_local global double 0.000000e+00, align 8 @.str.3 = private unnamed_addr constant [40 x i8] c"Number is too big (overflows) in %s %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Cannot read number in %s %s (%s)\0A\00", align 1 @.str.5 = private unnamed_addr constant [54 x i8] c"Unexpected characters ('%s') after the %.*s in %s %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"Value %f (in %s %s) is less than zero\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @double_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr 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 ptr, align 8 %13 = alloca double, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i64 0, ptr @errno, align 8 %14 = load ptr, ptr %9, align 8 %15 = call double @strtod(ptr noundef %14, ptr noundef %12) store double %15, ptr %13, align 8 %16 = load i64, ptr @errno, align 8 %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %61 18: ; preds = %5 %19 = call i32 @print_err(ptr noundef @.str) %20 = load ptr, ptr %7, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load ptr, ptr %7, align 8 %24 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %23) br label %25 25: ; preds = %22, %18 %26 = load i64, ptr @errno, align 8 %27 = load i64, ptr @ERANGE, align 8 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %36 29: ; preds = %25 %30 = load double, ptr %13, align 8 %31 = fcmp oeq double %30, 0.000000e+00 br i1 %31, label %32, label %36 32: ; preds = %29 %33 = load ptr, ptr %8, align 8 %34 = load ptr, ptr %9, align 8 %35 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.2, ptr noundef %33, ptr noundef %34) br label %60 36: ; preds = %29, %25 %37 = load i64, ptr @errno, align 8 %38 = load i64, ptr @ERANGE, align 8 %39 = icmp eq i64 %37, %38 br i1 %39, label %40, label %53 40: ; preds = %36 %41 = load double, ptr %13, align 8 %42 = load double, ptr @HUGE_VAL, align 8 %43 = fcmp oeq double %41, %42 br i1 %43, label %49, label %44 44: ; preds = %40 %45 = load double, ptr %13, align 8 %46 = load double, ptr @HUGE_VAL, align 8 %47 = fneg double %46 %48 = fcmp oeq double %45, %47 br i1 %48, label %49, label %53 49: ; preds = %44, %40 %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr %9, align 8 %52 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.3, ptr noundef %50, ptr noundef %51) br label %59 53: ; preds = %44, %36 %54 = load ptr, ptr %8, align 8 %55 = load ptr, ptr %9, align 8 %56 = load i64, ptr @errno, align 8 %57 = call i32 @strerror(i64 noundef %56) %58 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.4, ptr noundef %54, ptr noundef %55, i32 noundef %57) br label %59 59: ; preds = %53, %49 br label %60 60: ; preds = %59, %32 store i32 1, ptr %6, align 4 br label %107 61: ; preds = %5 %62 = load ptr, ptr %12, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 0 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %86 67: ; preds = %61 %68 = call i32 @print_err(ptr noundef @.str) %69 = load ptr, ptr %7, align 8 %70 = icmp ne ptr %69, null br i1 %70, label %71, label %74 71: ; preds = %67 %72 = load ptr, ptr %7, align 8 %73 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %72) br label %74 74: ; preds = %71, %67 %75 = load ptr, ptr %12, align 8 %76 = load ptr, ptr %12, align 8 %77 = load ptr, ptr %9, align 8 %78 = ptrtoint ptr %76 to i64 %79 = ptrtoint ptr %77 to i64 %80 = sub i64 %78, %79 %81 = trunc i64 %80 to i32 %82 = load ptr, ptr %9, align 8 %83 = load ptr, ptr %8, align 8 %84 = load ptr, ptr %9, align 8 %85 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.5, ptr noundef %75, i32 noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84) store i32 1, ptr %6, align 4 br label %107 86: ; preds = %61 %87 = load i32, ptr %10, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %104 89: ; preds = %86 %90 = load double, ptr %13, align 8 %91 = fcmp olt double %90, 0.000000e+00 br i1 %91, label %92, label %104 92: ; preds = %89 %93 = call i32 @print_err(ptr noundef @.str) %94 = load ptr, ptr %7, align 8 %95 = icmp ne ptr %94, null br i1 %95, label %96, label %99 96: ; preds = %92 %97 = load ptr, ptr %7, align 8 %98 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %97) br label %99 99: ; preds = %96, %92 %100 = load double, ptr %13, align 8 %101 = load ptr, ptr %8, align 8 %102 = load ptr, ptr %9, align 8 %103 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.6, double noundef %100, ptr noundef %101, ptr noundef %102) store i32 1, ptr %6, align 4 br label %107 104: ; preds = %89, %86 %105 = load double, ptr %13, align 8 %106 = load ptr, ptr %11, align 8 store double %105, ptr %106, align 8 store i32 0, ptr %6, align 4 br label %107 107: ; preds = %104, %99, %74, %60 %108 = load i32, ptr %6, align 4 ret i32 %108 } declare double @strtod(ptr noundef, ptr noundef) #1 declare i32 @print_err(ptr noundef) #1 declare i32 @fprint_err(ptr noundef, ...) #1 declare i32 @strerror(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/tmpw37ypcxa.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [5 x i8] c"### \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%s: \00", align 1 @ERANGE = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [55 x i8] c"String cannot be converted to (double) float in %s %s\0A\00", align 1 @HUGE_VAL = dso_local global double 0.000000e+00, align 8 @.str.3 = private unnamed_addr constant [40 x i8] c"Number is too big (overflows) in %s %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Cannot read number in %s %s (%s)\0A\00", align 1 @.str.5 = private unnamed_addr constant [54 x i8] c"Unexpected characters ('%s') after the %.*s in %s %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"Value %f (in %s %s) is less than zero\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @double_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr 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 ptr, align 8 %13 = alloca double, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store i64 0, ptr @errno, align 8 %14 = load ptr, ptr %9, align 8 %15 = call double @strtod(ptr noundef %14, ptr noundef %12) store double %15, ptr %13, align 8 %16 = load i64, ptr @errno, align 8 %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %61 18: ; preds = %5 %19 = call i32 @print_err(ptr noundef @.str) %20 = load ptr, ptr %7, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load ptr, ptr %7, align 8 %24 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %23) br label %25 25: ; preds = %22, %18 %26 = load i64, ptr @errno, align 8 %27 = load i64, ptr @ERANGE, align 8 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %36 29: ; preds = %25 %30 = load double, ptr %13, align 8 %31 = fcmp oeq double %30, 0.000000e+00 br i1 %31, label %32, label %36 32: ; preds = %29 %33 = load ptr, ptr %8, align 8 %34 = load ptr, ptr %9, align 8 %35 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.2, ptr noundef %33, ptr noundef %34) br label %60 36: ; preds = %29, %25 %37 = load i64, ptr @errno, align 8 %38 = load i64, ptr @ERANGE, align 8 %39 = icmp eq i64 %37, %38 br i1 %39, label %40, label %53 40: ; preds = %36 %41 = load double, ptr %13, align 8 %42 = load double, ptr @HUGE_VAL, align 8 %43 = fcmp oeq double %41, %42 br i1 %43, label %49, label %44 44: ; preds = %40 %45 = load double, ptr %13, align 8 %46 = load double, ptr @HUGE_VAL, align 8 %47 = fneg double %46 %48 = fcmp oeq double %45, %47 br i1 %48, label %49, label %53 49: ; preds = %44, %40 %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr %9, align 8 %52 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.3, ptr noundef %50, ptr noundef %51) br label %59 53: ; preds = %44, %36 %54 = load ptr, ptr %8, align 8 %55 = load ptr, ptr %9, align 8 %56 = load i64, ptr @errno, align 8 %57 = call i32 @strerror(i64 noundef %56) %58 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.4, ptr noundef %54, ptr noundef %55, i32 noundef %57) br label %59 59: ; preds = %53, %49 br label %60 60: ; preds = %59, %32 store i32 1, ptr %6, align 4 br label %107 61: ; preds = %5 %62 = load ptr, ptr %12, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 0 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %86 67: ; preds = %61 %68 = call i32 @print_err(ptr noundef @.str) %69 = load ptr, ptr %7, align 8 %70 = icmp ne ptr %69, null br i1 %70, label %71, label %74 71: ; preds = %67 %72 = load ptr, ptr %7, align 8 %73 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %72) br label %74 74: ; preds = %71, %67 %75 = load ptr, ptr %12, align 8 %76 = load ptr, ptr %12, align 8 %77 = load ptr, ptr %9, align 8 %78 = ptrtoint ptr %76 to i64 %79 = ptrtoint ptr %77 to i64 %80 = sub i64 %78, %79 %81 = trunc i64 %80 to i32 %82 = load ptr, ptr %9, align 8 %83 = load ptr, ptr %8, align 8 %84 = load ptr, ptr %9, align 8 %85 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.5, ptr noundef %75, i32 noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84) store i32 1, ptr %6, align 4 br label %107 86: ; preds = %61 %87 = load i32, ptr %10, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %104 89: ; preds = %86 %90 = load double, ptr %13, align 8 %91 = fcmp olt double %90, 0.000000e+00 br i1 %91, label %92, label %104 92: ; preds = %89 %93 = call i32 @print_err(ptr noundef @.str) %94 = load ptr, ptr %7, align 8 %95 = icmp ne ptr %94, null br i1 %95, label %96, label %99 96: ; preds = %92 %97 = load ptr, ptr %7, align 8 %98 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.1, ptr noundef %97) br label %99 99: ; preds = %96, %92 %100 = load double, ptr %13, align 8 %101 = load ptr, ptr %8, align 8 %102 = load ptr, ptr %9, align 8 %103 = call i32 (ptr, ...) @fprint_err(ptr noundef @.str.6, double noundef %100, ptr noundef %101, ptr noundef %102) store i32 1, ptr %6, align 4 br label %107 104: ; preds = %89, %86 %105 = load double, ptr %13, align 8 %106 = load ptr, ptr %11, align 8 store double %105, ptr %106, align 8 store i32 0, ptr %6, align 4 br label %107 107: ; preds = %104, %99, %74, %60 %108 = load i32, ptr %6, align 4 ret i32 %108 } declare double @strtod(ptr noundef, ptr noundef) #1 declare i32 @print_err(ptr noundef) #1 declare i32 @fprint_err(ptr noundef, ...) #1 declare i32 @strerror(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/tmp1k5k4ssz.c' source_filename = "/tmp/tmp1k5k4ssz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"unknown command line switch '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"unknown command line argument '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"*** ERROR ***\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i16 0, ptr %9, align 2 store ptr null, ptr %10, align 8 store i32 1, ptr %8, align 4 br label %11 11: ; preds = %74, %2 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %77 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %8, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 45 br i1 %24, label %25, label %65 25: ; preds = %15 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 switch i32 %33, label %56 [ i32 54, label %34 i32 101, label %35 i32 112, label %42 ] 34: ; preds = %25 store i32 1, ptr %6, align 4 br label %64 35: ; preds = %25 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %36, i64 %39 %41 = load ptr, ptr %40, align 8 store ptr %41, ptr %10, align 8 br label %64 42: ; preds = %25 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %55 47: ; preds = %42 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = call i64 @atoi(ptr noundef %52) %54 = trunc i64 %53 to i16 store i16 %54, ptr %9, align 2 br label %55 55: ; preds = %47, %42 br label %64 56: ; preds = %25 %57 = load i32, ptr @stderr, align 4 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %8, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %58, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = call i32 @fprintf(i32 noundef %57, ptr noundef @.str, ptr noundef %62) br label %64 64: ; preds = %56, %55, %35, %34 br label %73 65: ; preds = %15 %66 = load i32, ptr @stderr, align 4 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %8, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 %71 = load ptr, ptr %70, align 8 %72 = call i32 @fprintf(i32 noundef %66, ptr noundef @.str.1, ptr noundef %71) br label %73 73: ; preds = %65, %64 br label %74 74: ; preds = %73 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %8, align 4 br label %11, !llvm.loop !6 77: ; preds = %11 %78 = call i32 @time(ptr noundef null) %79 = call i32 @srand(i32 noundef %78) %80 = load i16, ptr %9, align 2 %81 = load ptr, ptr %10, align 8 %82 = load i32, ptr %6, align 4 %83 = call i32 @server(i16 noundef zeroext %80, ptr noundef %81, i32 noundef %82) store i32 %83, ptr %7, align 4 %84 = load i32, ptr %7, align 4 %85 = icmp ne i32 %84, 0 br i1 %85, label %86, label %88 86: ; preds = %77 %87 = call i32 @printf(ptr noundef @.str.2) br label %88 88: ; preds = %86, %77 %89 = load i32, ptr %7, align 4 ret i32 %89 } declare i64 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @server(i16 noundef zeroext, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1k5k4ssz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"unknown command line switch '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"unknown command line argument '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"*** ERROR ***\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i16 0, ptr %9, align 2 store ptr null, ptr %10, align 8 store i32 1, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %79 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %73 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 45 br i1 %23, label %24, label %64 24: ; preds = %14 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 switch i32 %32, label %55 [ i32 54, label %33 i32 101, label %34 i32 112, label %41 ] 33: ; preds = %24 store i32 1, ptr %6, align 4 br label %63 34: ; preds = %24 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %35, i64 %38 %40 = load ptr, ptr %39, align 8 store ptr %40, ptr %10, align 8 br label %63 41: ; preds = %24 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %46, label %54 46: ; preds = %41 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = call i64 @atoi(ptr noundef %51) %53 = trunc i64 %52 to i16 store i16 %53, ptr %9, align 2 br label %54 54: ; preds = %46, %41 br label %63 55: ; preds = %24 %56 = load i32, ptr @stderr, align 4 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %8, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %57, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str, ptr noundef %61) br label %63 63: ; preds = %55, %54, %34, %33 br label %72 64: ; preds = %14 %65 = load i32, ptr @stderr, align 4 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %8, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = call i32 @fprintf(i32 noundef %65, ptr noundef @.str.1, ptr noundef %70) br label %72 72: ; preds = %64, %63 br label %73 73: ; preds = %72 %74 = load i32, ptr %8, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %8, align 4 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr %4, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %79 79: ; preds = %._crit_edge, %2 %80 = call i32 @time(ptr noundef null) %81 = call i32 @srand(i32 noundef %80) %82 = load i16, ptr %9, align 2 %83 = load ptr, ptr %10, align 8 %84 = load i32, ptr %6, align 4 %85 = call i32 @server(i16 noundef zeroext %82, ptr noundef %83, i32 noundef %84) store i32 %85, ptr %7, align 4 %86 = load i32, ptr %7, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %90 88: ; preds = %79 %89 = call i32 @printf(ptr noundef @.str.2) br label %90 90: ; preds = %88, %79 %91 = load i32, ptr %7, align 4 ret i32 %91 } declare i64 @atoi(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @server(i16 noundef zeroext, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjl5zwqhm.c' source_filename = "/tmp/tmpjl5zwqhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Insira o valor em libras: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"O valor de %.2f libras em quilogramas \C3\A9: %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @LC_ALL, align 4 %5 = call i32 @setlocale(i32 noundef %4, ptr noundef @.str) store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = fmul double %9, 4.500000e-01 %11 = fptrunc double %10 to float store float %11, ptr %3, align 4 %12 = load float, ptr %2, align 4 %13 = fpext float %12 to double %14 = load float, ptr %3, align 4 %15 = fpext float %14 to double %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13, double noundef %15) ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 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/tmpjl5zwqhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Insira o valor em libras: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"O valor de %.2f libras em quilogramas \C3\A9: %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @LC_ALL, align 4 %5 = call i32 @setlocale(i32 noundef %4, ptr noundef @.str) store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = fmul double %9, 4.500000e-01 %11 = fptrunc double %10 to float store float %11, ptr %3, align 4 %12 = load float, ptr %2, align 4 %13 = fpext float %12 to double %14 = load float, ptr %3, align 4 %15 = fpext float %14 to double %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13, double noundef %15) ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeufianl4.c' source_filename = "/tmp/tmpeufianl4.c" target datalayout = "e-m:e-p270: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/tmpeufianl4.c" target datalayout = "e-m:e-p270: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/tmpxacilnr4.c' source_filename = "/tmp/tmpxacilnr4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TKEstimateBas64DecodedDataSize(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = uitofp i64 %4 to double %6 = fdiv double %5, 4.000000e+00 %7 = fptoui double %6 to i64 %8 = call i64 @ceil(i64 noundef %7) %9 = trunc i64 %8 to i32 %10 = mul nsw i32 %9, 3 %11 = sext i32 %10 to i64 store i64 %11, ptr %3, align 8 %12 = load i64, ptr %3, align 8 ret i64 %12 } declare i64 @ceil(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/tmpxacilnr4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TKEstimateBas64DecodedDataSize(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = uitofp i64 %4 to double %6 = fdiv double %5, 4.000000e+00 %7 = fptoui double %6 to i64 %8 = call i64 @ceil(i64 noundef %7) %9 = trunc i64 %8 to i32 %10 = mul nsw i32 %9, 3 %11 = sext i32 %10 to i64 store i64 %11, ptr %3, align 8 %12 = load i64, ptr %3, align 8 ret i64 %12 } declare i64 @ceil(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/tmpd7hxfya3.c' source_filename = "/tmp/tmpd7hxfya3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"-- malloc test by Wolfgang Richter <wolf@cs.cmu.edu> --\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call ptr @malloc(i32 noundef 4096) store ptr %11, ptr %6, align 8 %12 = call ptr @malloc(i32 noundef 4096) store ptr %12, ptr %7, align 8 %13 = call ptr @malloc(i32 noundef 4096) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 4096) %16 = load ptr, ptr %7, align 8 %17 = call i32 @memset(ptr noundef %16, i32 noundef 255, i32 noundef 4096) %18 = load ptr, ptr %8, align 8 %19 = call i32 @memset(ptr noundef %18, i32 noundef 238, i32 noundef 4096) %20 = load ptr, ptr %6, align 8 %21 = call i32 @free(ptr noundef %20) %22 = load ptr, ptr %7, align 8 %23 = call i32 @free(ptr noundef %22) %24 = load ptr, ptr %8, align 8 %25 = call i32 @free(ptr noundef %24) %26 = call ptr @malloc(i32 noundef 4096) store ptr %26, ptr %6, align 8 %27 = call ptr @malloc(i32 noundef 4096) store ptr %27, ptr %7, align 8 %28 = call ptr @malloc(i32 noundef 4096) store ptr %28, ptr %8, align 8 %29 = load ptr, ptr %6, align 8 %30 = call i32 @memset(ptr noundef %29, i32 noundef 0, i32 noundef 4096) %31 = load ptr, ptr %7, align 8 %32 = call i32 @memset(ptr noundef %31, i32 noundef 255, i32 noundef 4096) %33 = load ptr, ptr %8, align 8 %34 = call i32 @memset(ptr noundef %33, i32 noundef 238, i32 noundef 4096) %35 = load ptr, ptr %8, align 8 %36 = call i32 @free(ptr noundef %35) %37 = load ptr, ptr %7, align 8 %38 = call i32 @free(ptr noundef %37) %39 = load ptr, ptr %6, align 8 %40 = call i32 @free(ptr noundef %39) %41 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %41 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd7hxfya3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"-- malloc test by Wolfgang Richter <wolf@cs.cmu.edu> --\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call ptr @malloc(i32 noundef 4096) store ptr %11, ptr %6, align 8 %12 = call ptr @malloc(i32 noundef 4096) store ptr %12, ptr %7, align 8 %13 = call ptr @malloc(i32 noundef 4096) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 4096) %16 = load ptr, ptr %7, align 8 %17 = call i32 @memset(ptr noundef %16, i32 noundef 255, i32 noundef 4096) %18 = load ptr, ptr %8, align 8 %19 = call i32 @memset(ptr noundef %18, i32 noundef 238, i32 noundef 4096) %20 = load ptr, ptr %6, align 8 %21 = call i32 @free(ptr noundef %20) %22 = load ptr, ptr %7, align 8 %23 = call i32 @free(ptr noundef %22) %24 = load ptr, ptr %8, align 8 %25 = call i32 @free(ptr noundef %24) %26 = call ptr @malloc(i32 noundef 4096) store ptr %26, ptr %6, align 8 %27 = call ptr @malloc(i32 noundef 4096) store ptr %27, ptr %7, align 8 %28 = call ptr @malloc(i32 noundef 4096) store ptr %28, ptr %8, align 8 %29 = load ptr, ptr %6, align 8 %30 = call i32 @memset(ptr noundef %29, i32 noundef 0, i32 noundef 4096) %31 = load ptr, ptr %7, align 8 %32 = call i32 @memset(ptr noundef %31, i32 noundef 255, i32 noundef 4096) %33 = load ptr, ptr %8, align 8 %34 = call i32 @memset(ptr noundef %33, i32 noundef 238, i32 noundef 4096) %35 = load ptr, ptr %8, align 8 %36 = call i32 @free(ptr noundef %35) %37 = load ptr, ptr %7, align 8 %38 = call i32 @free(ptr noundef %37) %39 = load ptr, ptr %6, align 8 %40 = call i32 @free(ptr noundef %39) %41 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %41 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplnc64_k9.c' source_filename = "/tmp/tmplnc64_k9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"i=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"sum=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %7, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 101 br i1 %6, label %7, label %15 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %10, %11 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %4, !llvm.loop !6 15: ; preds = %4 %16 = load i32, ptr %3, align 4 %17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16) %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplnc64_k9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"i=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"sum=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 101 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %9, %10 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 101 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %16 16: ; preds = %._crit_edge, %0 %17 = load i32, ptr %3, align 4 %18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17) %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9qiw5uzd.c' source_filename = "/tmp/tmp9qiw5uzd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strmalloccat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = add nsw i32 %7, %9 store i32 %10, ptr %5, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, 1 %14 = call i32 @realloc(ptr noundef %11, i32 noundef %13) %15 = load ptr, ptr %4, align 8 %16 = call ptr @strcat(i32 noundef %14, ptr noundef %15) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 0, ptr %20, align 1 %21 = load ptr, ptr %3, align 8 ret ptr %21 } declare i32 @strlen(ptr noundef) #1 declare ptr @strcat(i32 noundef, ptr noundef) #1 declare i32 @realloc(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/tmp9qiw5uzd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strmalloccat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = add nsw i32 %7, %9 store i32 %10, ptr %5, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, 1 %14 = call i32 @realloc(ptr noundef %11, i32 noundef %13) %15 = load ptr, ptr %4, align 8 %16 = call ptr @strcat(i32 noundef %14, ptr noundef %15) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 0, ptr %20, align 1 %21 = load ptr, ptr %3, align 8 ret ptr %21 } declare i32 @strlen(ptr noundef) #1 declare ptr @strcat(i32 noundef, ptr noundef) #1 declare i32 @realloc(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/tmp7rq83awl.c' source_filename = "/tmp/tmp7rq83awl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dqawc(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 store ptr %0, ptr %10, align 8 store double %1, ptr %11, align 8 store double %2, ptr %12, align 8 store double %3, ptr %13, align 8 store double %4, ptr %14, align 8 store double %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %20 = load ptr, ptr %10, align 8 %21 = load double, ptr %11, align 8 %22 = load double, ptr %12, align 8 %23 = load double, ptr %13, align 8 %24 = load double, ptr %14, align 8 %25 = load double, ptr %15, align 8 %26 = load ptr, ptr %16, align 8 %27 = load ptr, ptr %17, align 8 %28 = load ptr, ptr %18, align 8 %29 = call double @dqawce(ptr noundef %20, double noundef %21, double noundef %22, double noundef %23, double noundef %24, double noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28) store double %29, ptr %19, align 8 %30 = load double, ptr %19, align 8 ret double %30 } declare double @dqawce(ptr noundef, double noundef, double noundef, double noundef, double noundef, double 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/tmp7rq83awl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dqawc(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 store ptr %0, ptr %10, align 8 store double %1, ptr %11, align 8 store double %2, ptr %12, align 8 store double %3, ptr %13, align 8 store double %4, ptr %14, align 8 store double %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %20 = load ptr, ptr %10, align 8 %21 = load double, ptr %11, align 8 %22 = load double, ptr %12, align 8 %23 = load double, ptr %13, align 8 %24 = load double, ptr %14, align 8 %25 = load double, ptr %15, align 8 %26 = load ptr, ptr %16, align 8 %27 = load ptr, ptr %17, align 8 %28 = load ptr, ptr %18, align 8 %29 = call double @dqawce(ptr noundef %20, double noundef %21, double noundef %22, double noundef %23, double noundef %24, double noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28) store double %29, ptr %19, align 8 %30 = load double, ptr %19, align 8 ret double %30 } declare double @dqawce(ptr noundef, double noundef, double noundef, double noundef, double noundef, double 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/tmpxu6wr4o8.c' source_filename = "/tmp/tmpxu6wr4o8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @printProcList() %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %9 = load i32, ptr %6, align 4 %10 = call i32 @callProc(i32 noundef %9) ret i32 0 } declare i32 @printProcList(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @callProc(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/tmpxu6wr4o8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @printProcList() %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %9 = load i32, ptr %6, align 4 %10 = call i32 @callProc(i32 noundef %9) ret i32 0 } declare i32 @printProcList(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @callProc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_cx88kyl.c' source_filename = "/tmp/tmp_cx88kyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Cannot read number from ASCII table\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Column field = %s.\00", align 1 @UINT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fffstruint(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i64 noundef %4, double noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 { %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca i64, align 8 %20 = alloca double, align 8 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca i32, align 4 %29 = alloca i64, align 8 %30 = alloca double, align 8 %31 = alloca ptr, align 8 %32 = alloca [81 x i8], align 16 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca i8, align 1 %36 = alloca i8, align 1 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca i32, align 4 %40 = alloca i32, align 4 %41 = alloca i32, align 4 %42 = alloca i32, align 4 store ptr %0, ptr %15, align 8 store i64 %1, ptr %16, align 8 store double %2, ptr %17, align 8 store double %3, ptr %18, align 8 store i64 %4, ptr %19, align 8 store double %5, ptr %20, align 8 store i32 %6, ptr %21, align 4 store ptr %7, ptr %22, align 8 store i32 %8, ptr %23, align 4 store ptr %9, ptr %24, align 8 store ptr %10, ptr %25, align 8 store ptr %11, ptr %26, align 8 store ptr %12, ptr %27, align 8 store i8 48, ptr %36, align 1 %43 = load ptr, ptr %22, align 8 %44 = call i32 @strlen(ptr noundef %43) store i32 %44, ptr %28, align 4 %45 = load ptr, ptr %15, align 8 store ptr %45, ptr %33, align 8 store i64 0, ptr %29, align 8 br label %46 46: ; preds = %369, %13 %47 = load i64, ptr %29, align 8 %48 = load i64, ptr %16, align 8 %49 = icmp slt i64 %47, %48 br i1 %49, label %50, label %372 50: ; preds = %46 %51 = load ptr, ptr %33, align 8 store ptr %51, ptr %31, align 8 %52 = load ptr, ptr %33, align 8 %53 = load i64, ptr %19, align 8 %54 = getelementptr inbounds i8, ptr %52, i64 %53 store ptr %54, ptr %34, align 8 %55 = load ptr, ptr %34, align 8 %56 = load i8, ptr %55, align 1 store i8 %56, ptr %35, align 1 %57 = load ptr, ptr %34, align 8 store i8 0, ptr %57, align 1 %58 = load ptr, ptr %22, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 0 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp ne i32 %61, 1 br i1 %62, label %63, label %90 63: ; preds = %50 %64 = load ptr, ptr %22, align 8 %65 = load ptr, ptr %33, align 8 %66 = load i32, ptr %28, align 4 %67 = call i32 @strncmp(ptr noundef %64, ptr noundef %65, i32 noundef %66) %68 = icmp ne i32 %67, 0 br i1 %68, label %90, label %69 69: ; preds = %63 %70 = load i32, ptr %21, align 4 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %86 72: ; preds = %69 %73 = load ptr, ptr %25, align 8 store i32 1, ptr %73, align 4 %74 = load i32, ptr %21, align 4 %75 = icmp eq i32 %74, 1 br i1 %75, label %76, label %81 76: ; preds = %72 %77 = load i32, ptr %23, align 4 %78 = load ptr, ptr %26, align 8 %79 = load i64, ptr %29, align 8 %80 = getelementptr inbounds i32, ptr %78, i64 %79 store i32 %77, ptr %80, align 4 br label %85 81: ; preds = %72 %82 = load ptr, ptr %24, align 8 %83 = load i64, ptr %29, align 8 %84 = getelementptr inbounds i8, ptr %82, i64 %83 store i8 1, ptr %84, align 1 br label %85 85: ; preds = %81, %76 br label %86 86: ; preds = %85, %69 %87 = load i64, ptr %19, align 8 %88 = load ptr, ptr %33, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 %87 store ptr %89, ptr %33, align 8 br label %366 90: ; preds = %63, %50 store i32 0, ptr %42, align 4 store i32 1, ptr %40, align 4 store double 0.000000e+00, ptr %37, align 8 store double 1.000000e+00, ptr %38, align 8 store i32 0, ptr %39, align 4 store i32 1, ptr %41, align 4 br label %91 91: ; preds = %96, %90 %92 = load ptr, ptr %33, align 8 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = icmp eq i32 %94, 32 br i1 %95, label %96, label %99 96: ; preds = %91 %97 = load ptr, ptr %33, align 8 %98 = getelementptr inbounds i8, ptr %97, i32 1 store ptr %98, ptr %33, align 8 br label %91, !llvm.loop !6 99: ; preds = %91 %100 = load ptr, ptr %33, align 8 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 45 br i1 %103, label %109, label %104 104: ; preds = %99 %105 = load ptr, ptr %33, align 8 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = icmp eq i32 %107, 43 br i1 %108, label %109, label %127 109: ; preds = %104, %99 %110 = load ptr, ptr %33, align 8 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = icmp eq i32 %112, 45 br i1 %113, label %114, label %115 114: ; preds = %109 store i32 -1, ptr %40, align 4 br label %115 115: ; preds = %114, %109 %116 = load ptr, ptr %33, align 8 %117 = getelementptr inbounds i8, ptr %116, i32 1 store ptr %117, ptr %33, align 8 br label %118 118: ; preds = %123, %115 %119 = load ptr, ptr %33, align 8 %120 = load i8, ptr %119, align 1 %121 = sext i8 %120 to i32 %122 = icmp eq i32 %121, 32 br i1 %122, label %123, label %126 123: ; preds = %118 %124 = load ptr, ptr %33, align 8 %125 = getelementptr inbounds i8, ptr %124, i32 1 store ptr %125, ptr %33, align 8 br label %118, !llvm.loop !8 126: ; preds = %118 br label %127 127: ; preds = %126, %104 br label %128 128: ; preds = %161, %127 %129 = load ptr, ptr %33, align 8 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = icmp sge i32 %131, 48 br i1 %132, label %133, label %138 133: ; preds = %128 %134 = load ptr, ptr %33, align 8 %135 = load i8, ptr %134, align 1 %136 = sext i8 %135 to i32 %137 = icmp sle i32 %136, 57 br label %138 138: ; preds = %133, %128 %139 = phi i1 [ false, %128 ], [ %137, %133 ] br i1 %139, label %140, label %162 140: ; preds = %138 %141 = load double, ptr %37, align 8 %142 = load ptr, ptr %33, align 8 %143 = load i8, ptr %142, align 1 %144 = sext i8 %143 to i32 %145 = sitofp i32 %144 to double %146 = call double @llvm.fmuladd.f64(double %141, double 1.000000e+01, double %145) %147 = load i8, ptr %36, align 1 %148 = sext i8 %147 to i32 %149 = sitofp i32 %148 to double %150 = fsub double %146, %149 store double %150, ptr %37, align 8 %151 = load ptr, ptr %33, align 8 %152 = getelementptr inbounds i8, ptr %151, i32 1 store ptr %152, ptr %33, align 8 br label %153 153: ; preds = %158, %140 %154 = load ptr, ptr %33, align 8 %155 = load i8, ptr %154, align 1 %156 = sext i8 %155 to i32 %157 = icmp eq i32 %156, 32 br i1 %157, label %158, label %161 158: ; preds = %153 %159 = load ptr, ptr %33, align 8 %160 = getelementptr inbounds i8, ptr %159, i32 1 store ptr %160, ptr %33, align 8 br label %153, !llvm.loop !9 161: ; preds = %153 br label %128, !llvm.loop !10 162: ; preds = %138 %163 = load ptr, ptr %33, align 8 %164 = load i8, ptr %163, align 1 %165 = sext i8 %164 to i32 %166 = icmp eq i32 %165, 46 br i1 %166, label %167, label %216 167: ; preds = %162 store i32 1, ptr %42, align 4 %168 = load ptr, ptr %33, align 8 %169 = getelementptr inbounds i8, ptr %168, i32 1 store ptr %169, ptr %33, align 8 br label %170 170: ; preds = %175, %167 %171 = load ptr, ptr %33, align 8 %172 = load i8, ptr %171, align 1 %173 = sext i8 %172 to i32 %174 = icmp eq i32 %173, 32 br i1 %174, label %175, label %178 175: ; preds = %170 %176 = load ptr, ptr %33, align 8 %177 = getelementptr inbounds i8, ptr %176, i32 1 store ptr %177, ptr %33, align 8 br label %170, !llvm.loop !11 178: ; preds = %170 br label %179 179: ; preds = %214, %178 %180 = load ptr, ptr %33, align 8 %181 = load i8, ptr %180, align 1 %182 = sext i8 %181 to i32 %183 = icmp sge i32 %182, 48 br i1 %183, label %184, label %189 184: ; preds = %179 %185 = load ptr, ptr %33, align 8 %186 = load i8, ptr %185, align 1 %187 = sext i8 %186 to i32 %188 = icmp sle i32 %187, 57 br label %189 189: ; preds = %184, %179 %190 = phi i1 [ false, %179 ], [ %188, %184 ] br i1 %190, label %191, label %215 191: ; preds = %189 %192 = load double, ptr %37, align 8 %193 = load ptr, ptr %33, align 8 %194 = load i8, ptr %193, align 1 %195 = sext i8 %194 to i32 %196 = sitofp i32 %195 to double %197 = call double @llvm.fmuladd.f64(double %192, double 1.000000e+01, double %196) %198 = load i8, ptr %36, align 1 %199 = sext i8 %198 to i32 %200 = sitofp i32 %199 to double %201 = fsub double %197, %200 store double %201, ptr %37, align 8 %202 = load double, ptr %38, align 8 %203 = fmul double %202, 1.000000e+01 store double %203, ptr %38, align 8 %204 = load ptr, ptr %33, align 8 %205 = getelementptr inbounds i8, ptr %204, i32 1 store ptr %205, ptr %33, align 8 br label %206 206: ; preds = %211, %191 %207 = load ptr, ptr %33, align 8 %208 = load i8, ptr %207, align 1 %209 = sext i8 %208 to i32 %210 = icmp eq i32 %209, 32 br i1 %210, label %211, label %214 211: ; preds = %206 %212 = load ptr, ptr %33, align 8 %213 = getelementptr inbounds i8, ptr %212, i32 1 store ptr %213, ptr %33, align 8 br label %206, !llvm.loop !12 214: ; preds = %206 br label %179, !llvm.loop !13 215: ; preds = %189 br label %216 216: ; preds = %215, %162 %217 = load ptr, ptr %33, align 8 %218 = load i8, ptr %217, align 1 %219 = sext i8 %218 to i32 %220 = icmp eq i32 %219, 69 br i1 %220, label %226, label %221 221: ; preds = %216 %222 = load ptr, ptr %33, align 8 %223 = load i8, ptr %222, align 1 %224 = sext i8 %223 to i32 %225 = icmp eq i32 %224, 68 br i1 %225, label %226, label %300 226: ; preds = %221, %216 %227 = load ptr, ptr %33, align 8 %228 = getelementptr inbounds i8, ptr %227, i32 1 store ptr %228, ptr %33, align 8 br label %229 229: ; preds = %234, %226 %230 = load ptr, ptr %33, align 8 %231 = load i8, ptr %230, align 1 %232 = sext i8 %231 to i32 %233 = icmp eq i32 %232, 32 br i1 %233, label %234, label %237 234: ; preds = %229 %235 = load ptr, ptr %33, align 8 %236 = getelementptr inbounds i8, ptr %235, i32 1 store ptr %236, ptr %33, align 8 br label %229, !llvm.loop !14 237: ; preds = %229 %238 = load ptr, ptr %33, align 8 %239 = load i8, ptr %238, align 1 %240 = sext i8 %239 to i32 %241 = icmp eq i32 %240, 45 br i1 %241, label %247, label %242 242: ; preds = %237 %243 = load ptr, ptr %33, align 8 %244 = load i8, ptr %243, align 1 %245 = sext i8 %244 to i32 %246 = icmp eq i32 %245, 43 br i1 %246, label %247, label %265 247: ; preds = %242, %237 %248 = load ptr, ptr %33, align 8 %249 = load i8, ptr %248, align 1 %250 = sext i8 %249 to i32 %251 = icmp eq i32 %250, 45 br i1 %251, label %252, label %253 252: ; preds = %247 store i32 -1, ptr %41, align 4 br label %253 253: ; preds = %252, %247 %254 = load ptr, ptr %33, align 8 %255 = getelementptr inbounds i8, ptr %254, i32 1 store ptr %255, ptr %33, align 8 br label %256 256: ; preds = %261, %253 %257 = load ptr, ptr %33, align 8 %258 = load i8, ptr %257, align 1 %259 = sext i8 %258 to i32 %260 = icmp eq i32 %259, 32 br i1 %260, label %261, label %264 261: ; preds = %256 %262 = load ptr, ptr %33, align 8 %263 = getelementptr inbounds i8, ptr %262, i32 1 store ptr %263, ptr %33, align 8 br label %256, !llvm.loop !15 264: ; preds = %256 br label %265 265: ; preds = %264, %242 br label %266 266: ; preds = %298, %265 %267 = load ptr, ptr %33, align 8 %268 = load i8, ptr %267, align 1 %269 = sext i8 %268 to i32 %270 = icmp sge i32 %269, 48 br i1 %270, label %271, label %276 271: ; preds = %266 %272 = load ptr, ptr %33, align 8 %273 = load i8, ptr %272, align 1 %274 = sext i8 %273 to i32 %275 = icmp sle i32 %274, 57 br label %276 276: ; preds = %271, %266 %277 = phi i1 [ false, %266 ], [ %275, %271 ] br i1 %277, label %278, label %299 278: ; preds = %276 %279 = load i32, ptr %39, align 4 %280 = mul nsw i32 %279, 10 %281 = load ptr, ptr %33, align 8 %282 = load i8, ptr %281, align 1 %283 = sext i8 %282 to i32 %284 = add nsw i32 %280, %283 %285 = load i8, ptr %36, align 1 %286 = sext i8 %285 to i32 %287 = sub nsw i32 %284, %286 store i32 %287, ptr %39, align 4 %288 = load ptr, ptr %33, align 8 %289 = getelementptr inbounds i8, ptr %288, i32 1 store ptr %289, ptr %33, align 8 br label %290 290: ; preds = %295, %278 %291 = load ptr, ptr %33, align 8 %292 = load i8, ptr %291, align 1 %293 = sext i8 %292 to i32 %294 = icmp eq i32 %293, 32 br i1 %294, label %295, label %298 295: ; preds = %290 %296 = load ptr, ptr %33, align 8 %297 = getelementptr inbounds i8, ptr %296, i32 1 store ptr %297, ptr %33, align 8 br label %290, !llvm.loop !16 298: ; preds = %290 br label %266, !llvm.loop !17 299: ; preds = %276 br label %300 300: ; preds = %299, %221 %301 = load ptr, ptr %33, align 8 %302 = load i8, ptr %301, align 1 %303 = sext i8 %302 to i32 %304 = icmp ne i32 %303, 0 br i1 %304, label %305, label %318 305: ; preds = %300 %306 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0 %307 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %306, ptr noundef @.str) %308 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0 %309 = call i32 @ffpmsg(ptr noundef %308) %310 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0 %311 = load ptr, ptr %31, align 8 %312 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %310, ptr noundef @.str.1, ptr noundef %311) %313 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0 %314 = call i32 @ffpmsg(ptr noundef %313) %315 = load i8, ptr %35, align 1 %316 = load ptr, ptr %34, align 8 store i8 %315, ptr %316, align 1 %317 = load ptr, ptr %27, align 8 store i32 409, ptr %317, align 4 store i32 409, ptr %14, align 4 br label %375 318: ; preds = %300 %319 = load i32, ptr %42, align 4 %320 = icmp ne i32 %319, 0 br i1 %320, label %323, label %321 321: ; preds = %318 %322 = load double, ptr %20, align 8 store double %322, ptr %38, align 8 br label %323 323: ; preds = %321, %318 %324 = load i32, ptr %40, align 4 %325 = sitofp i32 %324 to double %326 = load double, ptr %37, align 8 %327 = fmul double %325, %326 %328 = load double, ptr %38, align 8 %329 = fdiv double %327, %328 %330 = load i32, ptr %41, align 4 %331 = load i32, ptr %39, align 4 %332 = mul nsw i32 %330, %331 %333 = sitofp i32 %332 to double %334 = call i32 @pow(i32 noundef 10, double noundef %333) %335 = sitofp i32 %334 to double %336 = fmul double %329, %335 store double %336, ptr %30, align 8 %337 = load double, ptr %30, align 8 %338 = load double, ptr %17, align 8 %339 = load double, ptr %18, align 8 %340 = call double @llvm.fmuladd.f64(double %337, double %338, double %339) store double %340, ptr %30, align 8 %341 = load double, ptr %30, align 8 %342 = fcmp olt double %341, -4.900000e-01 br i1 %342, label %343, label %348 343: ; preds = %323 %344 = load ptr, ptr %27, align 8 store i32 -11, ptr %344, align 4 %345 = load ptr, ptr %26, align 8 %346 = load i64, ptr %29, align 8 %347 = getelementptr inbounds i32, ptr %345, i64 %346 store i32 0, ptr %347, align 4 br label %365 348: ; preds = %323 %349 = load double, ptr %30, align 8 %350 = fcmp ogt double %349, 0x41EFFFFFFFEFAE14 br i1 %350, label %351, label %357 351: ; preds = %348 %352 = load ptr, ptr %27, align 8 store i32 -11, ptr %352, align 4 %353 = load i32, ptr @UINT_MAX, align 4 %354 = load ptr, ptr %26, align 8 %355 = load i64, ptr %29, align 8 %356 = getelementptr inbounds i32, ptr %354, i64 %355 store i32 %353, ptr %356, align 4 br label %364 357: ; preds = %348 %358 = load double, ptr %30, align 8 %359 = fptosi double %358 to i64 %360 = trunc i64 %359 to i32 %361 = load ptr, ptr %26, align 8 %362 = load i64, ptr %29, align 8 %363 = getelementptr inbounds i32, ptr %361, i64 %362 store i32 %360, ptr %363, align 4 br label %364 364: ; preds = %357, %351 br label %365 365: ; preds = %364, %343 br label %366 366: ; preds = %365, %86 %367 = load i8, ptr %35, align 1 %368 = load ptr, ptr %34, align 8 store i8 %367, ptr %368, align 1 br label %369 369: ; preds = %366 %370 = load i64, ptr %29, align 8 %371 = add nsw i64 %370, 1 store i64 %371, ptr %29, align 8 br label %46, !llvm.loop !18 372: ; preds = %46 %373 = load ptr, ptr %27, align 8 %374 = load i32, ptr %373, align 4 store i32 %374, ptr %14, align 4 br label %375 375: ; preds = %372, %305 %376 = load i32, ptr %14, align 4 ret i32 %376 } declare i32 @strlen(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @ffpmsg(ptr noundef) #1 declare i32 @pow(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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !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} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_cx88kyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Cannot read number from ASCII table\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Column field = %s.\00", align 1 @UINT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fffstruint(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i64 noundef %4, double noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 { %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca i64, align 8 %20 = alloca double, align 8 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca i32, align 4 %29 = alloca i64, align 8 %30 = alloca double, align 8 %31 = alloca ptr, align 8 %32 = alloca [81 x i8], align 16 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca i8, align 1 %36 = alloca i8, align 1 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca i32, align 4 %40 = alloca i32, align 4 %41 = alloca i32, align 4 %42 = alloca i32, align 4 store ptr %0, ptr %15, align 8 store i64 %1, ptr %16, align 8 store double %2, ptr %17, align 8 store double %3, ptr %18, align 8 store i64 %4, ptr %19, align 8 store double %5, ptr %20, align 8 store i32 %6, ptr %21, align 4 store ptr %7, ptr %22, align 8 store i32 %8, ptr %23, align 4 store ptr %9, ptr %24, align 8 store ptr %10, ptr %25, align 8 store ptr %11, ptr %26, align 8 store ptr %12, ptr %27, align 8 store i8 48, ptr %36, align 1 %43 = load ptr, ptr %22, align 8 %44 = call i32 @strlen(ptr noundef %43) store i32 %44, ptr %28, align 4 %45 = load ptr, ptr %15, align 8 store ptr %45, ptr %33, align 8 store i64 0, ptr %29, align 8 %46 = load i64, ptr %29, align 8 %47 = load i64, ptr %16, align 8 %48 = icmp slt i64 %46, %47 br i1 %48, label %.lr.ph23, label %398 .lr.ph23: ; preds = %13 br label %49 49: ; preds = %.lr.ph23, %392 %50 = load ptr, ptr %33, align 8 store ptr %50, ptr %31, align 8 %51 = load ptr, ptr %33, align 8 %52 = load i64, ptr %19, align 8 %53 = getelementptr inbounds i8, ptr %51, i64 %52 store ptr %53, ptr %34, align 8 %54 = load ptr, ptr %34, align 8 %55 = load i8, ptr %54, align 1 store i8 %55, ptr %35, align 1 %56 = load ptr, ptr %34, align 8 store i8 0, ptr %56, align 1 %57 = load ptr, ptr %22, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 0 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp ne i32 %60, 1 br i1 %61, label %62, label %89 62: ; preds = %49 %63 = load ptr, ptr %22, align 8 %64 = load ptr, ptr %33, align 8 %65 = load i32, ptr %28, align 4 %66 = call i32 @strncmp(ptr noundef %63, ptr noundef %64, i32 noundef %65) %67 = icmp ne i32 %66, 0 br i1 %67, label %89, label %68 68: ; preds = %62 %69 = load i32, ptr %21, align 4 %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %85 71: ; preds = %68 %72 = load ptr, ptr %25, align 8 store i32 1, ptr %72, align 4 %73 = load i32, ptr %21, align 4 %74 = icmp eq i32 %73, 1 br i1 %74, label %75, label %80 75: ; preds = %71 %76 = load i32, ptr %23, align 4 %77 = load ptr, ptr %26, align 8 %78 = load i64, ptr %29, align 8 %79 = getelementptr inbounds i32, ptr %77, i64 %78 store i32 %76, ptr %79, align 4 br label %84 80: ; preds = %71 %81 = load ptr, ptr %24, align 8 %82 = load i64, ptr %29, align 8 %83 = getelementptr inbounds i8, ptr %81, i64 %82 store i8 1, ptr %83, align 1 br label %84 84: ; preds = %80, %75 br label %85 85: ; preds = %84, %68 %86 = load i64, ptr %19, align 8 %87 = load ptr, ptr %33, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 %86 store ptr %88, ptr %33, align 8 br label %389 89: ; preds = %62, %49 store i32 0, ptr %42, align 4 store i32 1, ptr %40, align 4 store double 0.000000e+00, ptr %37, align 8 store double 1.000000e+00, ptr %38, align 8 store i32 0, ptr %39, align 4 store i32 1, ptr %41, align 4 %90 = load ptr, ptr %33, align 8 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 32 br i1 %93, label %.lr.ph, label %101 .lr.ph: ; preds = %89 br label %94 94: ; preds = %.lr.ph, %94 %95 = load ptr, ptr %33, align 8 %96 = getelementptr inbounds i8, ptr %95, i32 1 store ptr %96, ptr %33, align 8 %97 = load ptr, ptr %33, align 8 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp eq i32 %99, 32 br i1 %100, label %94, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %94 br label %101 101: ; preds = %._crit_edge, %89 %102 = load ptr, ptr %33, align 8 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i32 %105 = icmp eq i32 %104, 45 br i1 %105, label %111, label %106 106: ; preds = %101 %107 = load ptr, ptr %33, align 8 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %109, 43 br i1 %110, label %111, label %132 111: ; preds = %106, %101 %112 = load ptr, ptr %33, align 8 %113 = load i8, ptr %112, align 1 %114 = sext i8 %113 to i32 %115 = icmp eq i32 %114, 45 br i1 %115, label %116, label %117 116: ; preds = %111 store i32 -1, ptr %40, align 4 br label %117 117: ; preds = %116, %111 %118 = load ptr, ptr %33, align 8 %119 = getelementptr inbounds i8, ptr %118, i32 1 store ptr %119, ptr %33, align 8 %120 = load ptr, ptr %33, align 8 %121 = load i8, ptr %120, align 1 %122 = sext i8 %121 to i32 %123 = icmp eq i32 %122, 32 br i1 %123, label %.lr.ph2, label %131 .lr.ph2: ; preds = %117 br label %124 124: ; preds = %.lr.ph2, %124 %125 = load ptr, ptr %33, align 8 %126 = getelementptr inbounds i8, ptr %125, i32 1 store ptr %126, ptr %33, align 8 %127 = load ptr, ptr %33, align 8 %128 = load i8, ptr %127, align 1 %129 = sext i8 %128 to i32 %130 = icmp eq i32 %129, 32 br i1 %130, label %124, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %124 br label %131 131: ; preds = %._crit_edge3, %117 br label %132 132: ; preds = %131, %106 br label %133 133: ; preds = %169, %132 %134 = load ptr, ptr %33, align 8 %135 = load i8, ptr %134, align 1 %136 = sext i8 %135 to i32 %137 = icmp sge i32 %136, 48 br i1 %137, label %138, label %143 138: ; preds = %133 %139 = load ptr, ptr %33, align 8 %140 = load i8, ptr %139, align 1 %141 = sext i8 %140 to i32 %142 = icmp sle i32 %141, 57 br label %143 143: ; preds = %138, %133 %144 = phi i1 [ false, %133 ], [ %142, %138 ] br i1 %144, label %145, label %170 145: ; preds = %143 %146 = load double, ptr %37, align 8 %147 = load ptr, ptr %33, align 8 %148 = load i8, ptr %147, align 1 %149 = sext i8 %148 to i32 %150 = sitofp i32 %149 to double %151 = call double @llvm.fmuladd.f64(double %146, double 1.000000e+01, double %150) %152 = load i8, ptr %36, align 1 %153 = sext i8 %152 to i32 %154 = sitofp i32 %153 to double %155 = fsub double %151, %154 store double %155, ptr %37, align 8 %156 = load ptr, ptr %33, align 8 %157 = getelementptr inbounds i8, ptr %156, i32 1 store ptr %157, ptr %33, align 8 %158 = load ptr, ptr %33, align 8 %159 = load i8, ptr %158, align 1 %160 = sext i8 %159 to i32 %161 = icmp eq i32 %160, 32 br i1 %161, label %.lr.ph5, label %169 .lr.ph5: ; preds = %145 br label %162 162: ; preds = %.lr.ph5, %162 %163 = load ptr, ptr %33, align 8 %164 = getelementptr inbounds i8, ptr %163, i32 1 store ptr %164, ptr %33, align 8 %165 = load ptr, ptr %33, align 8 %166 = load i8, ptr %165, align 1 %167 = sext i8 %166 to i32 %168 = icmp eq i32 %167, 32 br i1 %168, label %162, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %162 br label %169 169: ; preds = %._crit_edge6, %145 br label %133, !llvm.loop !10 170: ; preds = %143 %171 = load ptr, ptr %33, align 8 %172 = load i8, ptr %171, align 1 %173 = sext i8 %172 to i32 %174 = icmp eq i32 %173, 46 br i1 %174, label %175, label %230 175: ; preds = %170 store i32 1, ptr %42, align 4 %176 = load ptr, ptr %33, align 8 %177 = getelementptr inbounds i8, ptr %176, i32 1 store ptr %177, ptr %33, align 8 %178 = load ptr, ptr %33, align 8 %179 = load i8, ptr %178, align 1 %180 = sext i8 %179 to i32 %181 = icmp eq i32 %180, 32 br i1 %181, label %.lr.ph8, label %189 .lr.ph8: ; preds = %175 br label %182 182: ; preds = %.lr.ph8, %182 %183 = load ptr, ptr %33, align 8 %184 = getelementptr inbounds i8, ptr %183, i32 1 store ptr %184, ptr %33, align 8 %185 = load ptr, ptr %33, align 8 %186 = load i8, ptr %185, align 1 %187 = sext i8 %186 to i32 %188 = icmp eq i32 %187, 32 br i1 %188, label %182, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %182 br label %189 189: ; preds = %._crit_edge9, %175 br label %190 190: ; preds = %228, %189 %191 = load ptr, ptr %33, align 8 %192 = load i8, ptr %191, align 1 %193 = sext i8 %192 to i32 %194 = icmp sge i32 %193, 48 br i1 %194, label %195, label %200 195: ; preds = %190 %196 = load ptr, ptr %33, align 8 %197 = load i8, ptr %196, align 1 %198 = sext i8 %197 to i32 %199 = icmp sle i32 %198, 57 br label %200 200: ; preds = %195, %190 %201 = phi i1 [ false, %190 ], [ %199, %195 ] br i1 %201, label %202, label %229 202: ; preds = %200 %203 = load double, ptr %37, align 8 %204 = load ptr, ptr %33, align 8 %205 = load i8, ptr %204, align 1 %206 = sext i8 %205 to i32 %207 = sitofp i32 %206 to double %208 = call double @llvm.fmuladd.f64(double %203, double 1.000000e+01, double %207) %209 = load i8, ptr %36, align 1 %210 = sext i8 %209 to i32 %211 = sitofp i32 %210 to double %212 = fsub double %208, %211 store double %212, ptr %37, align 8 %213 = load double, ptr %38, align 8 %214 = fmul double %213, 1.000000e+01 store double %214, ptr %38, align 8 %215 = load ptr, ptr %33, align 8 %216 = getelementptr inbounds i8, ptr %215, i32 1 store ptr %216, ptr %33, align 8 %217 = load ptr, ptr %33, align 8 %218 = load i8, ptr %217, align 1 %219 = sext i8 %218 to i32 %220 = icmp eq i32 %219, 32 br i1 %220, label %.lr.ph11, label %228 .lr.ph11: ; preds = %202 br label %221 221: ; preds = %.lr.ph11, %221 %222 = load ptr, ptr %33, align 8 %223 = getelementptr inbounds i8, ptr %222, i32 1 store ptr %223, ptr %33, align 8 %224 = load ptr, ptr %33, align 8 %225 = load i8, ptr %224, align 1 %226 = sext i8 %225 to i32 %227 = icmp eq i32 %226, 32 br i1 %227, label %221, label %._crit_edge12, !llvm.loop !12 ._crit_edge12: ; preds = %221 br label %228 228: ; preds = %._crit_edge12, %202 br label %190, !llvm.loop !13 229: ; preds = %200 br label %230 230: ; preds = %229, %170 %231 = load ptr, ptr %33, align 8 %232 = load i8, ptr %231, align 1 %233 = sext i8 %232 to i32 %234 = icmp eq i32 %233, 69 br i1 %234, label %240, label %235 235: ; preds = %230 %236 = load ptr, ptr %33, align 8 %237 = load i8, ptr %236, align 1 %238 = sext i8 %237 to i32 %239 = icmp eq i32 %238, 68 br i1 %239, label %240, label %323 240: ; preds = %235, %230 %241 = load ptr, ptr %33, align 8 %242 = getelementptr inbounds i8, ptr %241, i32 1 store ptr %242, ptr %33, align 8 %243 = load ptr, ptr %33, align 8 %244 = load i8, ptr %243, align 1 %245 = sext i8 %244 to i32 %246 = icmp eq i32 %245, 32 br i1 %246, label %.lr.ph14, label %254 .lr.ph14: ; preds = %240 br label %247 247: ; preds = %.lr.ph14, %247 %248 = load ptr, ptr %33, align 8 %249 = getelementptr inbounds i8, ptr %248, i32 1 store ptr %249, ptr %33, align 8 %250 = load ptr, ptr %33, align 8 %251 = load i8, ptr %250, align 1 %252 = sext i8 %251 to i32 %253 = icmp eq i32 %252, 32 br i1 %253, label %247, label %._crit_edge15, !llvm.loop !14 ._crit_edge15: ; preds = %247 br label %254 254: ; preds = %._crit_edge15, %240 %255 = load ptr, ptr %33, align 8 %256 = load i8, ptr %255, align 1 %257 = sext i8 %256 to i32 %258 = icmp eq i32 %257, 45 br i1 %258, label %264, label %259 259: ; preds = %254 %260 = load ptr, ptr %33, align 8 %261 = load i8, ptr %260, align 1 %262 = sext i8 %261 to i32 %263 = icmp eq i32 %262, 43 br i1 %263, label %264, label %285 264: ; preds = %259, %254 %265 = load ptr, ptr %33, align 8 %266 = load i8, ptr %265, align 1 %267 = sext i8 %266 to i32 %268 = icmp eq i32 %267, 45 br i1 %268, label %269, label %270 269: ; preds = %264 store i32 -1, ptr %41, align 4 br label %270 270: ; preds = %269, %264 %271 = load ptr, ptr %33, align 8 %272 = getelementptr inbounds i8, ptr %271, i32 1 store ptr %272, ptr %33, align 8 %273 = load ptr, ptr %33, align 8 %274 = load i8, ptr %273, align 1 %275 = sext i8 %274 to i32 %276 = icmp eq i32 %275, 32 br i1 %276, label %.lr.ph17, label %284 .lr.ph17: ; preds = %270 br label %277 277: ; preds = %.lr.ph17, %277 %278 = load ptr, ptr %33, align 8 %279 = getelementptr inbounds i8, ptr %278, i32 1 store ptr %279, ptr %33, align 8 %280 = load ptr, ptr %33, align 8 %281 = load i8, ptr %280, align 1 %282 = sext i8 %281 to i32 %283 = icmp eq i32 %282, 32 br i1 %283, label %277, label %._crit_edge18, !llvm.loop !15 ._crit_edge18: ; preds = %277 br label %284 284: ; preds = %._crit_edge18, %270 br label %285 285: ; preds = %284, %259 br label %286 286: ; preds = %321, %285 %287 = load ptr, ptr %33, align 8 %288 = load i8, ptr %287, align 1 %289 = sext i8 %288 to i32 %290 = icmp sge i32 %289, 48 br i1 %290, label %291, label %296 291: ; preds = %286 %292 = load ptr, ptr %33, align 8 %293 = load i8, ptr %292, align 1 %294 = sext i8 %293 to i32 %295 = icmp sle i32 %294, 57 br label %296 296: ; preds = %291, %286 %297 = phi i1 [ false, %286 ], [ %295, %291 ] br i1 %297, label %298, label %322 298: ; preds = %296 %299 = load i32, ptr %39, align 4 %300 = mul nsw i32 %299, 10 %301 = load ptr, ptr %33, align 8 %302 = load i8, ptr %301, align 1 %303 = sext i8 %302 to i32 %304 = add nsw i32 %300, %303 %305 = load i8, ptr %36, align 1 %306 = sext i8 %305 to i32 %307 = sub nsw i32 %304, %306 store i32 %307, ptr %39, align 4 %308 = load ptr, ptr %33, align 8 %309 = getelementptr inbounds i8, ptr %308, i32 1 store ptr %309, ptr %33, align 8 %310 = load ptr, ptr %33, align 8 %311 = load i8, ptr %310, align 1 %312 = sext i8 %311 to i32 %313 = icmp eq i32 %312, 32 br i1 %313, label %.lr.ph20, label %321 .lr.ph20: ; preds = %298 br label %314 314: ; preds = %.lr.ph20, %314 %315 = load ptr, ptr %33, align 8 %316 = getelementptr inbounds i8, ptr %315, i32 1 store ptr %316, ptr %33, align 8 %317 = load ptr, ptr %33, align 8 %318 = load i8, ptr %317, align 1 %319 = sext i8 %318 to i32 %320 = icmp eq i32 %319, 32 br i1 %320, label %314, label %._crit_edge21, !llvm.loop !16 ._crit_edge21: ; preds = %314 br label %321 321: ; preds = %._crit_edge21, %298 br label %286, !llvm.loop !17 322: ; preds = %296 br label %323 323: ; preds = %322, %235 %324 = load ptr, ptr %33, align 8 %325 = load i8, ptr %324, align 1 %326 = sext i8 %325 to i32 %327 = icmp ne i32 %326, 0 br i1 %327, label %328, label %341 328: ; preds = %323 %329 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0 %330 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %329, ptr noundef @.str) %331 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0 %332 = call i32 @ffpmsg(ptr noundef %331) %333 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0 %334 = load ptr, ptr %31, align 8 %335 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %333, ptr noundef @.str.1, ptr noundef %334) %336 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0 %337 = call i32 @ffpmsg(ptr noundef %336) %338 = load i8, ptr %35, align 1 %339 = load ptr, ptr %34, align 8 store i8 %338, ptr %339, align 1 %340 = load ptr, ptr %27, align 8 store i32 409, ptr %340, align 4 store i32 409, ptr %14, align 4 br label %401 341: ; preds = %323 %342 = load i32, ptr %42, align 4 %343 = icmp ne i32 %342, 0 br i1 %343, label %346, label %344 344: ; preds = %341 %345 = load double, ptr %20, align 8 store double %345, ptr %38, align 8 br label %346 346: ; preds = %344, %341 %347 = load i32, ptr %40, align 4 %348 = sitofp i32 %347 to double %349 = load double, ptr %37, align 8 %350 = fmul double %348, %349 %351 = load double, ptr %38, align 8 %352 = fdiv double %350, %351 %353 = load i32, ptr %41, align 4 %354 = load i32, ptr %39, align 4 %355 = mul nsw i32 %353, %354 %356 = sitofp i32 %355 to double %357 = call i32 @pow(i32 noundef 10, double noundef %356) %358 = sitofp i32 %357 to double %359 = fmul double %352, %358 store double %359, ptr %30, align 8 %360 = load double, ptr %30, align 8 %361 = load double, ptr %17, align 8 %362 = load double, ptr %18, align 8 %363 = call double @llvm.fmuladd.f64(double %360, double %361, double %362) store double %363, ptr %30, align 8 %364 = load double, ptr %30, align 8 %365 = fcmp olt double %364, -4.900000e-01 br i1 %365, label %366, label %371 366: ; preds = %346 %367 = load ptr, ptr %27, align 8 store i32 -11, ptr %367, align 4 %368 = load ptr, ptr %26, align 8 %369 = load i64, ptr %29, align 8 %370 = getelementptr inbounds i32, ptr %368, i64 %369 store i32 0, ptr %370, align 4 br label %388 371: ; preds = %346 %372 = load double, ptr %30, align 8 %373 = fcmp ogt double %372, 0x41EFFFFFFFEFAE14 br i1 %373, label %374, label %380 374: ; preds = %371 %375 = load ptr, ptr %27, align 8 store i32 -11, ptr %375, align 4 %376 = load i32, ptr @UINT_MAX, align 4 %377 = load ptr, ptr %26, align 8 %378 = load i64, ptr %29, align 8 %379 = getelementptr inbounds i32, ptr %377, i64 %378 store i32 %376, ptr %379, align 4 br label %387 380: ; preds = %371 %381 = load double, ptr %30, align 8 %382 = fptosi double %381 to i64 %383 = trunc i64 %382 to i32 %384 = load ptr, ptr %26, align 8 %385 = load i64, ptr %29, align 8 %386 = getelementptr inbounds i32, ptr %384, i64 %385 store i32 %383, ptr %386, align 4 br label %387 387: ; preds = %380, %374 br label %388 388: ; preds = %387, %366 br label %389 389: ; preds = %388, %85 %390 = load i8, ptr %35, align 1 %391 = load ptr, ptr %34, align 8 store i8 %390, ptr %391, align 1 br label %392 392: ; preds = %389 %393 = load i64, ptr %29, align 8 %394 = add nsw i64 %393, 1 store i64 %394, ptr %29, align 8 %395 = load i64, ptr %29, align 8 %396 = load i64, ptr %16, align 8 %397 = icmp slt i64 %395, %396 br i1 %397, label %49, label %._crit_edge24, !llvm.loop !18 ._crit_edge24: ; preds = %392 br label %398 398: ; preds = %._crit_edge24, %13 %399 = load ptr, ptr %27, align 8 %400 = load i32, ptr %399, align 4 store i32 %400, ptr %14, align 4 br label %401 401: ; preds = %398, %328 %402 = load i32, ptr %14, align 4 ret i32 %402 } declare i32 @strlen(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @ffpmsg(ptr noundef) #1 declare i32 @pow(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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !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} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7}
; ModuleID = '/tmp/tmpa3zrc9xn.c' source_filename = "/tmp/tmpa3zrc9xn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [6 x i32] [i32 20, i32 40, i32 30, i32 10, i32 60, i32 50], align 16 @.str = private unnamed_addr constant [13 x i8] c"before sort:\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"after sort:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i32], align 16 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 24, i1 false) store i32 6, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %5 5: ; preds = %15, %0 %6 = load i32, ptr %1, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %18 9: ; preds = %5 %10 = load i32, ptr %1, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13) br label %15 15: ; preds = %9 %16 = load i32, ptr %1, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %1, align 4 br label %5, !llvm.loop !6 18: ; preds = %5 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %20 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0 %21 = load i32, ptr %3, align 4 %22 = call i32 @insert_sort(ptr noundef %20, i32 noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %1, align 4 br label %24 24: ; preds = %34, %18 %25 = load i32, ptr %1, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %37 28: ; preds = %24 %29 = load i32, ptr %1, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32) br label %34 34: ; preds = %28 %35 = load i32, ptr %1, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %1, align 4 br label %24, !llvm.loop !8 37: ; preds = %24 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @insert_sort(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa3zrc9xn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [6 x i32] [i32 20, i32 40, i32 30, i32 10, i32 60, i32 50], align 16 @.str = private unnamed_addr constant [13 x i8] c"before sort:\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"after sort:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i32], align 16 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 24, i1 false) store i32 6, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = load i32, ptr %1, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12) br label %14 14: ; preds = %8 %15 = load i32, ptr %1, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %1, align 4 %17 = load i32, ptr %1, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %0 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %22 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 0 %23 = load i32, ptr %3, align 4 %24 = call i32 @insert_sort(ptr noundef %22, i32 noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %1, align 4 %26 = load i32, ptr %1, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph2, label %41 .lr.ph2: ; preds = %20 br label %29 29: ; preds = %.lr.ph2, %35 %30 = load i32, ptr %1, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %33) br label %35 35: ; preds = %29 %36 = load i32, ptr %1, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %1, align 4 %38 = load i32, ptr %1, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %41 41: ; preds = %._crit_edge3, %20 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @insert_sort(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpvanvn67_.c' source_filename = "/tmp/tmpvanvn67_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Thread: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @omp_get_thread_num() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @omp_get_thread_num(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvanvn67_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Thread: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @omp_get_thread_num() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @omp_get_thread_num(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}