llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp3fb3hy7_.c' source_filename = "/tmp/tmp3fb3hy7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @strtok.strtok_state = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strtok(ptr noalias noundef %0, ptr noalias 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 ptr @strtok_r(ptr noundef %5, ptr noundef %6, ptr noundef @strtok.strtok_state) ret ptr %7 } declare ptr @strtok_r(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/tmp3fb3hy7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @strtok.strtok_state = internal global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strtok(ptr noalias noundef %0, ptr noalias 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 ptr @strtok_r(ptr noundef %5, ptr noundef %6, ptr noundef @strtok.strtok_state) ret ptr %7 } declare ptr @strtok_r(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/tmpthr9kh_l.c' source_filename = "/tmp/tmpthr9kh_l.c" target datalayout = "e-m:e-p270: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/tmpthr9kh_l.c" target datalayout = "e-m:e-p270: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/tmpzo3g_sn9.c' source_filename = "/tmp/tmpzo3g_sn9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @hours_to_days(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call i64 @malloc(i32 noundef 10) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @atoi(ptr noundef %7) %9 = sdiv i32 %8, 8 %10 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare i64 @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzo3g_sn9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @hours_to_days(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call i64 @malloc(i32 noundef 10) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @atoi(ptr noundef %7) %9 = sdiv i32 %8, 8 %10 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare i64 @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5oep6ctm.c' source_filename = "/tmp/tmp5oep6ctm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Number of threads = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Thread %d starting...\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Thread %d done. Last element= %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [1023 x [1023 x double]], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @omp_get_thread_num() store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = call i32 (...) @omp_get_num_threads() store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %14, %2 %19 = load i32, ptr %7, align 4 %20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %19) store i32 0, ptr %8, align 4 br label %21 21: ; preds = %45, %18 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %22, 1023 br i1 %23, label %24, label %48 24: ; preds = %21 store i32 0, ptr %9, align 4 br label %25 25: ; preds = %41, %24 %26 = load i32, ptr %9, align 4 %27 = icmp slt i32 %26, 1023 br i1 %27, label %28, label %44 28: ; preds = %25 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %29, %30 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %31, %32 %34 = sitofp i32 %33 to double %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [1023 x [1023 x double]], ptr %10, i64 0, i64 %36 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [1023 x double], ptr %37, i64 0, i64 %39 store double %34, ptr %40, align 8 br label %41 41: ; preds = %28 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %9, align 4 br label %25, !llvm.loop !6 44: ; preds = %25 br label %45 45: ; preds = %44 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 br label %21, !llvm.loop !8 48: ; preds = %21 %49 = load i32, ptr %7, align 4 %50 = getelementptr inbounds [1023 x [1023 x double]], ptr %10, i64 0, i64 1022 %51 = getelementptr inbounds [1023 x double], ptr %50, i64 0, i64 1022 %52 = load double, ptr %51, align 16 %53 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %49, double noundef %52) %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @omp_get_thread_num(...) #1 declare i32 @omp_get_num_threads(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5oep6ctm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Number of threads = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Thread %d starting...\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Thread %d done. Last element= %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [1023 x [1023 x double]], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @omp_get_thread_num() store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = call i32 (...) @omp_get_num_threads() store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %14, %2 %19 = load i32, ptr %7, align 4 %20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %19) store i32 0, ptr %8, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp slt i32 %21, 1023 br i1 %22, label %.lr.ph2, label %50 .lr.ph2: ; preds = %18 br label %23 23: ; preds = %.lr.ph2, %45 store i32 0, ptr %9, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %24, 1023 br i1 %25, label %.lr.ph, label %44 .lr.ph: ; preds = %23 br label %26 26: ; preds = %.lr.ph, %39 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %27, %28 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %29, %30 %32 = sitofp i32 %31 to double %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [1023 x [1023 x double]], ptr %10, i64 0, i64 %34 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [1023 x double], ptr %35, i64 0, i64 %37 store double %32, ptr %38, align 8 br label %39 39: ; preds = %26 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp slt i32 %42, 1023 br i1 %43, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %44 44: ; preds = %._crit_edge, %23 br label %45 45: ; preds = %44 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp slt i32 %48, 1023 br i1 %49, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %50 50: ; preds = %._crit_edge3, %18 %51 = load i32, ptr %7, align 4 %52 = getelementptr inbounds [1023 x [1023 x double]], ptr %10, i64 0, i64 1022 %53 = getelementptr inbounds [1023 x double], ptr %52, i64 0, i64 1022 %54 = load double, ptr %53, align 16 %55 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %51, double noundef %54) %56 = load i32, ptr %3, align 4 ret i32 %56 } declare i32 @omp_get_thread_num(...) #1 declare i32 @omp_get_num_threads(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0r96dfxl.c' source_filename = "/tmp/tmp0r96dfxl.c" target datalayout = "e-m:e-p270: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.input_event = type { i32, i32, i32 } @__const.main.event_file = private unnamed_addr constant [20 x i8] c"/dev/input/event\00\00\00\00", align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [58 x i8] c"Use: %s device type code value. Only found %d arguments.\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"argc: %d, argv[1]: %s, argv[2]: %d, argv[3]: %d, argv[4]: %d\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Could not open %s, %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EVIOCGVERSION = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [41 x i8] c"Could not get driver version for %s, %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"type: %d, code: %d, value: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Write event failed, %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca %struct.input_event, align 4 %10 = alloca [20 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.event_file, i64 20, i1 false) %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 5 br i1 %12, label %13, label %20 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr %4, align 4 %19 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17, i32 noundef %18) store i32 1, ptr %3, align 4 br label %104 20: ; preds = %2 %21 = load i32, ptr %4, align 4 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 %28 = call i32 @atoi(ptr noundef %27) %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = load ptr, ptr %30, align 8 %32 = call i32 @atoi(ptr noundef %31) %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 4 %35 = load ptr, ptr %34, align 8 %36 = call i32 @atoi(ptr noundef %35) %37 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %21, ptr noundef %24, i32 noundef %28, i32 noundef %32, i32 noundef %36) %38 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 1 %41 = load ptr, ptr %40, align 8 %42 = call i32 @strcat(ptr noundef %38, ptr noundef %41) %43 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %44 = call i64 @strlen(ptr noundef %43) %45 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %44 store i8 0, ptr %45, align 1 %46 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %47 = load i32, ptr @O_RDWR, align 4 %48 = call i32 @open(ptr noundef %46, i32 noundef %47) store i32 %48, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %57 51: ; preds = %20 %52 = load i32, ptr @stderr, align 4 %53 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %54 = load i32, ptr @errno, align 4 %55 = call ptr @strerror(i32 noundef %54) %56 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.2, ptr noundef %53, ptr noundef %55) store i32 1, ptr %3, align 4 br label %104 57: ; preds = %20 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr @EVIOCGVERSION, align 4 %60 = call i64 @ioctl(i32 noundef %58, i32 noundef %59, ptr noundef %8) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %68 62: ; preds = %57 %63 = load i32, ptr @stderr, align 4 %64 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %65 = load i32, ptr @errno, align 4 %66 = call ptr @strerror(i32 noundef %65) %67 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %63, ptr noundef @.str.3, ptr noundef %64, ptr noundef %66) store i32 1, ptr %3, align 4 br label %104 68: ; preds = %57 %69 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12) %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds ptr, ptr %70, i64 2 %72 = load ptr, ptr %71, align 8 %73 = call i32 @atoi(ptr noundef %72) %74 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 0 store i32 %73, ptr %74, align 4 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds ptr, ptr %75, i64 3 %77 = load ptr, ptr %76, align 8 %78 = call i32 @atoi(ptr noundef %77) %79 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 1 store i32 %78, ptr %79, align 4 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds ptr, ptr %80, i64 4 %82 = load ptr, ptr %81, align 8 %83 = call i32 @atoi(ptr noundef %82) %84 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 2 store i32 %83, ptr %84, align 4 %85 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 0 %86 = load i32, ptr %85, align 4 %87 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 1 %88 = load i32, ptr %87, align 4 %89 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 2 %90 = load i32, ptr %89, align 4 %91 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %86, i32 noundef %88, i32 noundef %90) %92 = load i32, ptr %6, align 4 %93 = call i64 @write(i32 noundef %92, ptr noundef %9, i32 noundef 12) store i64 %93, ptr %7, align 8 %94 = load i64, ptr %7, align 8 %95 = icmp slt i64 %94, 12 br i1 %95, label %96, label %101 96: ; preds = %68 %97 = load i32, ptr @stderr, align 4 %98 = load i32, ptr @errno, align 4 %99 = call ptr @strerror(i32 noundef %98) %100 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %97, ptr noundef @.str.5, ptr noundef %99) store i32 -1, ptr %3, align 4 br label %104 101: ; preds = %68 %102 = load i32, ptr %6, align 4 %103 = call i32 @close(i32 noundef %102) store i32 0, ptr %3, align 4 br label %104 104: ; preds = %101, %96, %62, %51, %13 %105 = load i32, ptr %3, align 4 ret i32 %105 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #2 declare ptr @strerror(i32 noundef) #2 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0r96dfxl.c" target datalayout = "e-m:e-p270: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.input_event = type { i32, i32, i32 } @__const.main.event_file = private unnamed_addr constant [20 x i8] c"/dev/input/event\00\00\00\00", align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [58 x i8] c"Use: %s device type code value. Only found %d arguments.\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"argc: %d, argv[1]: %s, argv[2]: %d, argv[3]: %d, argv[4]: %d\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Could not open %s, %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EVIOCGVERSION = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [41 x i8] c"Could not get driver version for %s, %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"type: %d, code: %d, value: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Write event failed, %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca %struct.input_event, align 4 %10 = alloca [20 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.event_file, i64 20, i1 false) %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 5 br i1 %12, label %13, label %20 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr %4, align 4 %19 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17, i32 noundef %18) store i32 1, ptr %3, align 4 br label %104 20: ; preds = %2 %21 = load i32, ptr %4, align 4 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 %28 = call i32 @atoi(ptr noundef %27) %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = load ptr, ptr %30, align 8 %32 = call i32 @atoi(ptr noundef %31) %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 4 %35 = load ptr, ptr %34, align 8 %36 = call i32 @atoi(ptr noundef %35) %37 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %21, ptr noundef %24, i32 noundef %28, i32 noundef %32, i32 noundef %36) %38 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 1 %41 = load ptr, ptr %40, align 8 %42 = call i32 @strcat(ptr noundef %38, ptr noundef %41) %43 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %44 = call i64 @strlen(ptr noundef %43) %45 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %44 store i8 0, ptr %45, align 1 %46 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %47 = load i32, ptr @O_RDWR, align 4 %48 = call i32 @open(ptr noundef %46, i32 noundef %47) store i32 %48, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %57 51: ; preds = %20 %52 = load i32, ptr @stderr, align 4 %53 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %54 = load i32, ptr @errno, align 4 %55 = call ptr @strerror(i32 noundef %54) %56 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.2, ptr noundef %53, ptr noundef %55) store i32 1, ptr %3, align 4 br label %104 57: ; preds = %20 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr @EVIOCGVERSION, align 4 %60 = call i64 @ioctl(i32 noundef %58, i32 noundef %59, ptr noundef %8) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %68 62: ; preds = %57 %63 = load i32, ptr @stderr, align 4 %64 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %65 = load i32, ptr @errno, align 4 %66 = call ptr @strerror(i32 noundef %65) %67 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %63, ptr noundef @.str.3, ptr noundef %64, ptr noundef %66) store i32 1, ptr %3, align 4 br label %104 68: ; preds = %57 %69 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12) %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds ptr, ptr %70, i64 2 %72 = load ptr, ptr %71, align 8 %73 = call i32 @atoi(ptr noundef %72) %74 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 0 store i32 %73, ptr %74, align 4 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds ptr, ptr %75, i64 3 %77 = load ptr, ptr %76, align 8 %78 = call i32 @atoi(ptr noundef %77) %79 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 1 store i32 %78, ptr %79, align 4 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds ptr, ptr %80, i64 4 %82 = load ptr, ptr %81, align 8 %83 = call i32 @atoi(ptr noundef %82) %84 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 2 store i32 %83, ptr %84, align 4 %85 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 0 %86 = load i32, ptr %85, align 4 %87 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 1 %88 = load i32, ptr %87, align 4 %89 = getelementptr inbounds %struct.input_event, ptr %9, i32 0, i32 2 %90 = load i32, ptr %89, align 4 %91 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %86, i32 noundef %88, i32 noundef %90) %92 = load i32, ptr %6, align 4 %93 = call i64 @write(i32 noundef %92, ptr noundef %9, i32 noundef 12) store i64 %93, ptr %7, align 8 %94 = load i64, ptr %7, align 8 %95 = icmp slt i64 %94, 12 br i1 %95, label %96, label %101 96: ; preds = %68 %97 = load i32, ptr @stderr, align 4 %98 = load i32, ptr @errno, align 4 %99 = call ptr @strerror(i32 noundef %98) %100 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %97, ptr noundef @.str.5, ptr noundef %99) store i32 -1, ptr %3, align 4 br label %104 101: ; preds = %68 %102 = load i32, ptr %6, align 4 %103 = call i32 @close(i32 noundef %102) store i32 0, ptr %3, align 4 br label %104 104: ; preds = %101, %96, %62, %51, %13 %105 = load i32, ptr %3, align 4 ret i32 %105 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #2 declare ptr @strerror(i32 noundef) #2 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpilxzwe3h.c' source_filename = "/tmp/tmpilxzwe3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Nub_fetch(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = icmp sle i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %4 store i32 0, ptr %5, align 4 br label %33 13: ; preds = %4 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %9, align 4 %16 = call i32 @valid(ptr noundef %14, i32 noundef %15) store i32 %16, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = icmp sge i32 %17, 0 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %9, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %13 %24 = load ptr, ptr %8, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %31 26: ; preds = %23 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %9, align 4 %30 = call i32 @memcpy(ptr noundef %27, ptr noundef %28, i32 noundef %29) br label %31 31: ; preds = %26, %23, %13 %32 = load i32, ptr %9, align 4 store i32 %32, ptr %5, align 4 br label %33 33: ; preds = %31, %12 %34 = load i32, ptr %5, align 4 ret i32 %34 } declare i32 @valid(ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpilxzwe3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Nub_fetch(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = icmp sle i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %4 store i32 0, ptr %5, align 4 br label %33 13: ; preds = %4 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %9, align 4 %16 = call i32 @valid(ptr noundef %14, i32 noundef %15) store i32 %16, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = icmp sge i32 %17, 0 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %9, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %13 %24 = load ptr, ptr %8, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %31 26: ; preds = %23 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %9, align 4 %30 = call i32 @memcpy(ptr noundef %27, ptr noundef %28, i32 noundef %29) br label %31 31: ; preds = %26, %23, %13 %32 = load i32, ptr %9, align 4 store i32 %32, ptr %5, align 4 br label %33 33: ; preds = %31, %12 %34 = load i32, ptr %5, align 4 ret i32 %34 } declare i32 @valid(ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmbabc1bq.c' source_filename = "/tmp/tmpmbabc1bq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmbabc1bq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuxfkf_gh.c' source_filename = "/tmp/tmpuxfkf_gh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_squre_matrix(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %32, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %35 11: ; preds = %7 store i32 0, ptr %6, align 4 br label %12 12: ; preds = %27, %11 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %30 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %4, align 4 %20 = mul nsw i32 %18, %19 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %20, %21 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %17, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25) br label %27 27: ; preds = %16 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %12, !llvm.loop !6 30: ; preds = %12 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %32 32: ; preds = %30 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %7, !llvm.loop !8 35: ; preds = %7 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuxfkf_gh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_squre_matrix(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph2, label %39 .lr.ph2: ; preds = %2 br label %10 10: ; preds = %.lr.ph2, %33 store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %31 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %25 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = mul nsw i32 %16, %17 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %18, %19 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %15, i64 %21 %23 = load i32, ptr %22, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23) br label %25 25: ; preds = %14 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %10 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %33 33: ; preds = %31 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %39 39: ; preds = %._crit_edge3, %2 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpdj9t18sv.c' source_filename = "/tmp/tmpdj9t18sv.c" target datalayout = "e-m:e-p270: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/tmpdj9t18sv.c" target datalayout = "e-m:e-p270: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/tmpzc2e5rtc.c' source_filename = "/tmp/tmpzc2e5rtc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data_output\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Error opening the output file.\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%d\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Lab1_saveoutput(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %54 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.3, i32 noundef %16) store i32 0, ptr %7, align 4 br label %18 18: ; preds = %48, %13 %19 = load i32, ptr %7, align 4 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %20, align 4 %22 = icmp slt i32 %19, %21 br i1 %22, label %23, label %51 23: ; preds = %18 store i32 0, ptr %8, align 4 br label %24 24: ; preds = %42, %23 %25 = load i32, ptr %8, align 4 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %26, align 4 %28 = icmp slt i32 %25, %27 br i1 %28, label %29, label %45 29: ; preds = %24 %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %32, align 4 %34 = load i32, ptr %7, align 4 %35 = mul nsw i32 %33, %34 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %35, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %31, i64 %38 %40 = load i32, ptr %39, align 4 %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.4, i32 noundef %40) br label %42 42: ; preds = %29 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 br label %24, !llvm.loop !6 45: ; preds = %24 %46 = load ptr, ptr %6, align 8 %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.5) br label %48 48: ; preds = %45 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 br label %18, !llvm.loop !8 51: ; preds = %18 %52 = load ptr, ptr %6, align 8 %53 = call i32 @fclose(ptr noundef %52) store i32 0, ptr %3, align 4 br label %54 54: ; preds = %51, %11 %55 = load i32, ptr %3, align 4 ret i32 %55 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzc2e5rtc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data_output\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Error opening the output file.\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%d\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Lab1_saveoutput(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %60 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.3, i32 noundef %16) store i32 0, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %19, align 4 %21 = icmp slt i32 %18, %20 br i1 %21, label %.lr.ph2, label %57 .lr.ph2: ; preds = %13 br label %22 22: ; preds = %.lr.ph2, %50 store i32 0, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %24, align 4 %26 = icmp slt i32 %23, %25 br i1 %26, label %.lr.ph, label %47 .lr.ph: ; preds = %22 br label %27 27: ; preds = %.lr.ph, %40 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %4, align 8 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr %7, align 4 %33 = mul nsw i32 %31, %32 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %33, %34 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %29, i64 %36 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.4, i32 noundef %38) br label %40 40: ; preds = %27 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %44, align 4 %46 = icmp slt i32 %43, %45 br i1 %46, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %47 47: ; preds = %._crit_edge, %22 %48 = load ptr, ptr %6, align 8 %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.5) br label %50 50: ; preds = %47 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 %53 = load i32, ptr %7, align 4 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %54, align 4 %56 = icmp slt i32 %53, %55 br i1 %56, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %57 57: ; preds = %._crit_edge3, %13 %58 = load ptr, ptr %6, align 8 %59 = call i32 @fclose(ptr noundef %58) store i32 0, ptr %3, align 4 br label %60 60: ; preds = %57, %11 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpdi64uizx.c' source_filename = "/tmp/tmpdi64uizx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"failed to close highest fd\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"closed descriptors it should not have\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"failed to close from lowest fd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i32], align 16 %5 = alloca [512 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %6 6: ; preds = %18, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %9, label %21 9: ; preds = %6 %10 = call i32 @open(ptr noundef @.str, ptr noundef @.str.1) %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %12 store i32 %10, ptr %13, align 4 %14 = icmp eq i32 %10, -1 br i1 %14, label %15, label %17 15: ; preds = %9 %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %9 br label %18 18: ; preds = %17 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %2, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 %22 = load i32, ptr %2, align 4 %23 = sub nsw i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = call i32 @closefrom(i32 noundef %27) %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = call i32 @close(i32 noundef %32) %34 = icmp ne i32 %33, -1 br i1 %34, label %35, label %37 35: ; preds = %21 %36 = call i32 @fail(ptr noundef @.str.2) br label %37 37: ; preds = %35, %21 store i32 0, ptr %2, align 4 br label %38 38: ; preds = %53, %37 %39 = load i32, ptr %2, align 4 %40 = load i32, ptr %3, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %56 42: ; preds = %38 %43 = load i32, ptr %2, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0 %48 = call i32 @read(i32 noundef %46, ptr noundef %47, i32 noundef 512) %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %52 50: ; preds = %42 %51 = call i32 @fail(ptr noundef @.str.3) br label %52 52: ; preds = %50, %42 br label %53 53: ; preds = %52 %54 = load i32, ptr %2, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %2, align 4 br label %38, !llvm.loop !8 56: ; preds = %38 %57 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %58 = load i32, ptr %57, align 16 %59 = call i32 @closefrom(i32 noundef %58) store i32 0, ptr %2, align 4 br label %60 60: ; preds = %73, %56 %61 = load i32, ptr %2, align 4 %62 = icmp slt i32 %61, 10 br i1 %62, label %63, label %76 63: ; preds = %60 %64 = load i32, ptr %2, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = call i32 @close(i32 noundef %67) %69 = icmp ne i32 %68, -1 br i1 %69, label %70, label %72 70: ; preds = %63 %71 = call i32 @fail(ptr noundef @.str.4) br label %72 72: ; preds = %70, %63 br label %73 73: ; preds = %72 %74 = load i32, ptr %2, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %2, align 4 br label %60, !llvm.loop !9 76: ; preds = %60 %77 = load i32, ptr %1, align 4 ret i32 %77 } declare i32 @open(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @closefrom(i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fail(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdi64uizx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"failed to close highest fd\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"closed descriptors it should not have\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"failed to close from lowest fd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i32], align 16 %5 = alloca [512 x i8], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %17 %9 = call i32 @open(ptr noundef @.str, ptr noundef @.str.1) %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %11 store i32 %9, ptr %12, align 4 %13 = icmp eq i32 %9, -1 br i1 %13, label %14, label %16 14: ; preds = %8 %15 = call i32 @exit(i32 noundef 0) #3 unreachable 16: ; preds = %8 br label %17 17: ; preds = %16 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %20, 10 br i1 %21, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = load i32, ptr %2, align 4 %24 = sub nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %26 %28 = load i32, ptr %27, align 4 %29 = call i32 @closefrom(i32 noundef %28) %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 @close(i32 noundef %33) %35 = icmp ne i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %22 %37 = call i32 @fail(ptr noundef @.str.2) br label %38 38: ; preds = %36, %22 store i32 0, ptr %2, align 4 %39 = load i32, ptr %2, align 4 %40 = load i32, ptr %3, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %.lr.ph2, label %59 .lr.ph2: ; preds = %38 br label %42 42: ; preds = %.lr.ph2, %53 %43 = load i32, ptr %2, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0 %48 = call i32 @read(i32 noundef %46, ptr noundef %47, i32 noundef 512) %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %52 50: ; preds = %42 %51 = call i32 @fail(ptr noundef @.str.3) br label %52 52: ; preds = %50, %42 br label %53 53: ; preds = %52 %54 = load i32, ptr %2, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %2, align 4 %56 = load i32, ptr %2, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %42, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %59 59: ; preds = %._crit_edge3, %38 %60 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %61 = load i32, ptr %60, align 16 %62 = call i32 @closefrom(i32 noundef %61) store i32 0, ptr %2, align 4 %63 = load i32, ptr %2, align 4 %64 = icmp slt i32 %63, 10 br i1 %64, label %.lr.ph5, label %80 .lr.ph5: ; preds = %59 br label %65 65: ; preds = %.lr.ph5, %75 %66 = load i32, ptr %2, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 %67 %69 = load i32, ptr %68, align 4 %70 = call i32 @close(i32 noundef %69) %71 = icmp ne i32 %70, -1 br i1 %71, label %72, label %74 72: ; preds = %65 %73 = call i32 @fail(ptr noundef @.str.4) br label %74 74: ; preds = %72, %65 br label %75 75: ; preds = %74 %76 = load i32, ptr %2, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %2, align 4 %78 = load i32, ptr %2, align 4 %79 = icmp slt i32 %78, 10 br i1 %79, label %65, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %75 br label %80 80: ; preds = %._crit_edge6, %59 %81 = load i32, ptr %1, align 4 ret i32 %81 } declare i32 @open(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @closefrom(i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fail(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpf2y32muy.c' source_filename = "/tmp/tmpf2y32muy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wake_notice_katcp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @set_parse_notice_katcp(ptr noundef %7, ptr noundef %8, ptr noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @configure_notice_katcp(ptr noundef %11, ptr noundef %12, i32 noundef 1, ptr noundef null) ret void } declare i32 @set_parse_notice_katcp(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @configure_notice_katcp(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf2y32muy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wake_notice_katcp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @set_parse_notice_katcp(ptr noundef %7, ptr noundef %8, ptr noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @configure_notice_katcp(ptr noundef %11, ptr noundef %12, i32 noundef 1, ptr noundef null) ret void } declare i32 @set_parse_notice_katcp(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @configure_notice_katcp(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9yrkbmbr.c' source_filename = "/tmp/tmp9yrkbmbr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hjmemccpy(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i64 %3, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %21, label %15 15: ; preds = %4 %16 = load ptr, ptr %7, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i64, ptr %9, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %18, %15, %4 store ptr null, ptr %5, align 8 br label %50 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %7, align 8 store ptr %24, ptr %11, align 8 store i32 0, ptr %12, align 4 br label %25 25: ; preds = %38, %22 %26 = load ptr, ptr %11, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = load i32, ptr %8, align 4 %30 = icmp ne i32 %28, %29 br i1 %30, label %31, label %36 31: ; preds = %25 %32 = load i32, ptr %12, align 4 %33 = sext i32 %32 to i64 %34 = load i64, ptr %9, align 8 %35 = icmp ult i64 %33, %34 br label %36 36: ; preds = %31, %25 %37 = phi i1 [ false, %25 ], [ %35, %31 ] br i1 %37, label %38, label %48 38: ; preds = %36 %39 = load ptr, ptr %11, align 8 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr %10, align 8 store i8 %40, ptr %41, align 1 %42 = load ptr, ptr %10, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %10, align 8 %44 = load ptr, ptr %11, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %11, align 8 %46 = load i32, ptr %12, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %12, align 4 br label %25, !llvm.loop !6 48: ; preds = %36 %49 = load ptr, ptr %6, align 8 store ptr %49, ptr %5, align 8 br label %50 50: ; preds = %48, %21 %51 = load ptr, ptr %5, align 8 ret ptr %51 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp9yrkbmbr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hjmemccpy(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i64 %3, ptr %9, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %21, label %15 15: ; preds = %4 %16 = load ptr, ptr %7, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i64, ptr %9, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %18, %15, %4 store ptr null, ptr %5, align 8 br label %50 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %7, align 8 store ptr %24, ptr %11, align 8 store i32 0, ptr %12, align 4 br label %25 25: ; preds = %38, %22 %26 = load ptr, ptr %11, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = load i32, ptr %8, align 4 %30 = icmp ne i32 %28, %29 br i1 %30, label %31, label %36 31: ; preds = %25 %32 = load i32, ptr %12, align 4 %33 = sext i32 %32 to i64 %34 = load i64, ptr %9, align 8 %35 = icmp ult i64 %33, %34 br label %36 36: ; preds = %31, %25 %37 = phi i1 [ false, %25 ], [ %35, %31 ] br i1 %37, label %38, label %48 38: ; preds = %36 %39 = load ptr, ptr %11, align 8 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr %10, align 8 store i8 %40, ptr %41, align 1 %42 = load ptr, ptr %10, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %10, align 8 %44 = load ptr, ptr %11, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %11, align 8 %46 = load i32, ptr %12, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %12, align 4 br label %25, !llvm.loop !6 48: ; preds = %36 %49 = load ptr, ptr %6, align 8 store ptr %49, ptr %5, align 8 br label %50 50: ; preds = %48, %21 %51 = load ptr, ptr %5, align 8 ret ptr %51 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzde6487s.c' source_filename = "/tmp/tmpzde6487s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eval_rpc_pair(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca [2 x double], align 16 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 %14 = getelementptr inbounds [2 x double], ptr %13, i64 0, i64 0 %15 = load ptr, ptr %8, align 8 %16 = load double, ptr %10, align 8 %17 = load double, ptr %11, align 8 %18 = load double, ptr %12, align 8 %19 = call i32 @eval_rpc(ptr noundef %14, ptr noundef %15, double noundef %16, double noundef %17, double noundef %18) %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %9, align 8 %22 = getelementptr inbounds [2 x double], ptr %13, i64 0, i64 0 %23 = load double, ptr %22, align 16 %24 = getelementptr inbounds [2 x double], ptr %13, i64 0, i64 1 %25 = load double, ptr %24, align 8 %26 = load double, ptr %12, align 8 %27 = call i32 @eval_rpci(ptr noundef %20, ptr noundef %21, double noundef %23, double noundef %25, double noundef %26) ret void } declare i32 @eval_rpc(ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #1 declare i32 @eval_rpci(ptr noundef, ptr 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/tmpzde6487s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eval_rpc_pair(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca [2 x double], align 16 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 %14 = getelementptr inbounds [2 x double], ptr %13, i64 0, i64 0 %15 = load ptr, ptr %8, align 8 %16 = load double, ptr %10, align 8 %17 = load double, ptr %11, align 8 %18 = load double, ptr %12, align 8 %19 = call i32 @eval_rpc(ptr noundef %14, ptr noundef %15, double noundef %16, double noundef %17, double noundef %18) %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %9, align 8 %22 = getelementptr inbounds [2 x double], ptr %13, i64 0, i64 0 %23 = load double, ptr %22, align 16 %24 = getelementptr inbounds [2 x double], ptr %13, i64 0, i64 1 %25 = load double, ptr %24, align 8 %26 = load double, ptr %12, align 8 %27 = call i32 @eval_rpci(ptr noundef %20, ptr noundef %21, double noundef %23, double noundef %25, double noundef %26) ret void } declare i32 @eval_rpc(ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #1 declare i32 @eval_rpci(ptr noundef, ptr 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/tmpu49fki4i.c' source_filename = "/tmp/tmpu49fki4i.c" target datalayout = "e-m:e-p270: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/tmpu49fki4i.c" target datalayout = "e-m:e-p270: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/tmpg17cf1n4.c' source_filename = "/tmp/tmpg17cf1n4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = 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/tmpg17cf1n4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = 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/tmpf9hjcmhj.c' source_filename = "/tmp/tmpf9hjcmhj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_float(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, double noundef %3) ret void } declare i32 @printf(ptr 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/tmpf9hjcmhj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_float(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, double noundef %3) ret void } declare i32 @printf(ptr 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/tmpabs_o8k1.c' source_filename = "/tmp/tmpabs_o8k1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @moveChar(i8 noundef signext %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 switch i32 %8, label %21 [ i32 110, label %9 i32 101, label %12 i32 115, label %15 i32 119, label %18 ] 9: ; preds = %3 %10 = load ptr, ptr %6, align 8 %11 = call i32 @moveUp(ptr noundef %10) br label %21 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = call i32 @moveRight(ptr noundef %13) br label %21 15: ; preds = %3 %16 = load ptr, ptr %6, align 8 %17 = call i32 @moveDown(ptr noundef %16) br label %21 18: ; preds = %3 %19 = load ptr, ptr %5, align 8 %20 = call i32 @moveLeft(ptr noundef %19) br label %21 21: ; preds = %3, %18, %15, %12, %9 ret void } declare i32 @moveUp(ptr noundef) #1 declare i32 @moveRight(ptr noundef) #1 declare i32 @moveDown(ptr noundef) #1 declare i32 @moveLeft(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpabs_o8k1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @moveChar(i8 noundef signext %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 switch i32 %8, label %21 [ i32 110, label %9 i32 101, label %12 i32 115, label %15 i32 119, label %18 ] 9: ; preds = %3 %10 = load ptr, ptr %6, align 8 %11 = call i32 @moveUp(ptr noundef %10) br label %21 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = call i32 @moveRight(ptr noundef %13) br label %21 15: ; preds = %3 %16 = load ptr, ptr %6, align 8 %17 = call i32 @moveDown(ptr noundef %16) br label %21 18: ; preds = %3 %19 = load ptr, ptr %5, align 8 %20 = call i32 @moveLeft(ptr noundef %19) br label %21 21: ; preds = %18, %15, %12, %9, %3 ret void } declare i32 @moveUp(ptr noundef) #1 declare i32 @moveRight(ptr noundef) #1 declare i32 @moveDown(ptr noundef) #1 declare i32 @moveLeft(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp38t05wsd.c' source_filename = "/tmp/tmp38t05wsd.c" target datalayout = "e-m:e-p270: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/tmp38t05wsd.c" target datalayout = "e-m:e-p270: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/tmpoi641v84.c' source_filename = "/tmp/tmpoi641v84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @string_test() %7 = call i32 (...) @expr_test() %8 = call i32 (...) @macro_test() %9 = call i32 (...) @scope_test() %10 = call i32 (...) @forward_test() %11 = call i32 (...) @funcptr_test() %12 = call i32 (...) @loop_test() %13 = call i32 (...) @switch_test() %14 = call i32 (...) @goto_test() %15 = call i32 (...) @enum_test() %16 = call i32 (...) @typedef_test() %17 = call i32 (...) @struct_test() %18 = call i32 (...) @array_test() %19 = call i32 (...) @expr_ptr_test() %20 = call i32 (...) @bool_test() %21 = call i32 (...) @expr2_test() %22 = call i32 (...) @constant_expr_test() %23 = call i32 (...) @expr_cmp_test() %24 = call i32 (...) @char_short_test() %25 = call i32 (...) @init_test() %26 = call i32 (...) @compound_literal_test() %27 = call i32 (...) @kr_test() %28 = call i32 (...) @struct_assign_test() %29 = call i32 (...) @cast_test() %30 = call i32 (...) @bitfield_test() %31 = call i32 (...) @c99_bool_test() %32 = call i32 (...) @float_test() %33 = call i32 (...) @longlong_test() %34 = call i32 (...) @stdarg_test() %35 = call i32 (...) @whitespace_test() %36 = call i32 (...) @relocation_test() %37 = call i32 (...) @old_style_function() %38 = call i32 (...) @sizeof_test() %39 = call i32 (...) @typeof_test() %40 = call i32 (...) @statement_expr_test() %41 = call i32 (...) @local_label_test() %42 = call i32 (...) @asm_test() ret i32 0 } declare i32 @string_test(...) #1 declare i32 @expr_test(...) #1 declare i32 @macro_test(...) #1 declare i32 @scope_test(...) #1 declare i32 @forward_test(...) #1 declare i32 @funcptr_test(...) #1 declare i32 @loop_test(...) #1 declare i32 @switch_test(...) #1 declare i32 @goto_test(...) #1 declare i32 @enum_test(...) #1 declare i32 @typedef_test(...) #1 declare i32 @struct_test(...) #1 declare i32 @array_test(...) #1 declare i32 @expr_ptr_test(...) #1 declare i32 @bool_test(...) #1 declare i32 @expr2_test(...) #1 declare i32 @constant_expr_test(...) #1 declare i32 @expr_cmp_test(...) #1 declare i32 @char_short_test(...) #1 declare i32 @init_test(...) #1 declare i32 @compound_literal_test(...) #1 declare i32 @kr_test(...) #1 declare i32 @struct_assign_test(...) #1 declare i32 @cast_test(...) #1 declare i32 @bitfield_test(...) #1 declare i32 @c99_bool_test(...) #1 declare i32 @float_test(...) #1 declare i32 @longlong_test(...) #1 declare i32 @stdarg_test(...) #1 declare i32 @whitespace_test(...) #1 declare i32 @relocation_test(...) #1 declare i32 @old_style_function(...) #1 declare i32 @sizeof_test(...) #1 declare i32 @typeof_test(...) #1 declare i32 @statement_expr_test(...) #1 declare i32 @local_label_test(...) #1 declare i32 @asm_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoi641v84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @string_test() %7 = call i32 (...) @expr_test() %8 = call i32 (...) @macro_test() %9 = call i32 (...) @scope_test() %10 = call i32 (...) @forward_test() %11 = call i32 (...) @funcptr_test() %12 = call i32 (...) @loop_test() %13 = call i32 (...) @switch_test() %14 = call i32 (...) @goto_test() %15 = call i32 (...) @enum_test() %16 = call i32 (...) @typedef_test() %17 = call i32 (...) @struct_test() %18 = call i32 (...) @array_test() %19 = call i32 (...) @expr_ptr_test() %20 = call i32 (...) @bool_test() %21 = call i32 (...) @expr2_test() %22 = call i32 (...) @constant_expr_test() %23 = call i32 (...) @expr_cmp_test() %24 = call i32 (...) @char_short_test() %25 = call i32 (...) @init_test() %26 = call i32 (...) @compound_literal_test() %27 = call i32 (...) @kr_test() %28 = call i32 (...) @struct_assign_test() %29 = call i32 (...) @cast_test() %30 = call i32 (...) @bitfield_test() %31 = call i32 (...) @c99_bool_test() %32 = call i32 (...) @float_test() %33 = call i32 (...) @longlong_test() %34 = call i32 (...) @stdarg_test() %35 = call i32 (...) @whitespace_test() %36 = call i32 (...) @relocation_test() %37 = call i32 (...) @old_style_function() %38 = call i32 (...) @sizeof_test() %39 = call i32 (...) @typeof_test() %40 = call i32 (...) @statement_expr_test() %41 = call i32 (...) @local_label_test() %42 = call i32 (...) @asm_test() ret i32 0 } declare i32 @string_test(...) #1 declare i32 @expr_test(...) #1 declare i32 @macro_test(...) #1 declare i32 @scope_test(...) #1 declare i32 @forward_test(...) #1 declare i32 @funcptr_test(...) #1 declare i32 @loop_test(...) #1 declare i32 @switch_test(...) #1 declare i32 @goto_test(...) #1 declare i32 @enum_test(...) #1 declare i32 @typedef_test(...) #1 declare i32 @struct_test(...) #1 declare i32 @array_test(...) #1 declare i32 @expr_ptr_test(...) #1 declare i32 @bool_test(...) #1 declare i32 @expr2_test(...) #1 declare i32 @constant_expr_test(...) #1 declare i32 @expr_cmp_test(...) #1 declare i32 @char_short_test(...) #1 declare i32 @init_test(...) #1 declare i32 @compound_literal_test(...) #1 declare i32 @kr_test(...) #1 declare i32 @struct_assign_test(...) #1 declare i32 @cast_test(...) #1 declare i32 @bitfield_test(...) #1 declare i32 @c99_bool_test(...) #1 declare i32 @float_test(...) #1 declare i32 @longlong_test(...) #1 declare i32 @stdarg_test(...) #1 declare i32 @whitespace_test(...) #1 declare i32 @relocation_test(...) #1 declare i32 @old_style_function(...) #1 declare i32 @sizeof_test(...) #1 declare i32 @typeof_test(...) #1 declare i32 @statement_expr_test(...) #1 declare i32 @local_label_test(...) #1 declare i32 @asm_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeif22qdi.c' source_filename = "/tmp/tmpeif22qdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @myfunction() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = load i32, ptr @EXIT_SUCCESS, align 4 %5 = call i32 @exit(i32 noundef %4) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @myfunction(...) #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/tmpeif22qdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @myfunction() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = load i32, ptr @EXIT_SUCCESS, align 4 %5 = call i32 @exit(i32 noundef %4) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @myfunction(...) #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/tmpqnj53gfj.c' source_filename = "/tmp/tmpqnj53gfj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @circle(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = load i64, ptr %8, align 8 %13 = call i32 @Circle187(i64 noundef %9, i64 noundef %10, i64 noundef %11, i64 noundef %12) ret void } declare i32 @Circle187(i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqnj53gfj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @circle(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = load i64, ptr %8, align 8 %13 = call i32 @Circle187(i64 noundef %9, i64 noundef %10, i64 noundef %11, i64 noundef %12) ret void } declare i32 @Circle187(i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3dnssfj9.c' source_filename = "/tmp/tmp3dnssfj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Masukkan bilangan 1 = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Masukkan bilangan 2 = \00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Masukkan operator = \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Hasil = %G\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"Hasil = %f\0A\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"hasil error\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"\0AHitung Ulang[Y/N]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) br label %9 9: ; preds = %85, %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %5) %14 = load i8, ptr %5, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 43 br i1 %16, label %17, label %24 17: ; preds = %9 %18 = load float, ptr %2, align 4 %19 = load float, ptr %3, align 4 %20 = fadd float %18, %19 store float %20, ptr %4, align 4 %21 = load float, ptr %4, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %22) br label %74 24: ; preds = %9 %25 = load i8, ptr %5, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 45 br i1 %27, label %28, label %35 28: ; preds = %24 %29 = load float, ptr %2, align 4 %30 = load float, ptr %3, align 4 %31 = fsub float %29, %30 store float %31, ptr %4, align 4 %32 = load float, ptr %4, align 4 %33 = fpext float %32 to double %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %33) br label %73 35: ; preds = %24 %36 = load i8, ptr %5, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 42 br i1 %38, label %39, label %46 39: ; preds = %35 %40 = load float, ptr %2, align 4 %41 = load float, ptr %3, align 4 %42 = fmul float %40, %41 store float %42, ptr %4, align 4 %43 = load float, ptr %4, align 4 %44 = fpext float %43 to double %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %44) br label %72 46: ; preds = %35 %47 = load i8, ptr %5, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 47 br i1 %49, label %50, label %57 50: ; preds = %46 %51 = load float, ptr %2, align 4 %52 = load float, ptr %3, align 4 %53 = fdiv float %51, %52 store float %53, ptr %4, align 4 %54 = load float, ptr %4, align 4 %55 = fpext float %54 to double %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %55) br label %71 57: ; preds = %46 %58 = load i8, ptr %5, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 94 br i1 %60, label %61, label %68 61: ; preds = %57 %62 = load float, ptr %2, align 4 %63 = load float, ptr %3, align 4 %64 = call float @pow(float noundef %62, float noundef %63) store float %64, ptr %4, align 4 %65 = load float, ptr %4, align 4 %66 = fpext float %65 to double %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %66) br label %70 68: ; preds = %57 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %70 70: ; preds = %68, %61 br label %71 71: ; preds = %70, %50 br label %72 72: ; preds = %71, %39 br label %73 73: ; preds = %72, %28 br label %74 74: ; preds = %73, %17 %75 = load float, ptr %4, align 4 store float %75, ptr %2, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %77 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %6) %78 = load i8, ptr %6, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 %79, 89 br i1 %80, label %85, label %81 81: ; preds = %74 %82 = load i8, ptr %6, align 1 %83 = sext i8 %82 to i32 %84 = icmp eq i32 %83, 121 br i1 %84, label %85, label %86 85: ; preds = %81, %74 br label %9 86: ; preds = %81 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare float @pow(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3dnssfj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Masukkan bilangan 1 = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Masukkan bilangan 2 = \00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Masukkan operator = \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Hasil = %G\0A\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"Hasil = %f\0A\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"hasil error\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"\0AHitung Ulang[Y/N]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) br label %9 9: ; preds = %85, %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %5) %14 = load i8, ptr %5, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 43 br i1 %16, label %17, label %24 17: ; preds = %9 %18 = load float, ptr %2, align 4 %19 = load float, ptr %3, align 4 %20 = fadd float %18, %19 store float %20, ptr %4, align 4 %21 = load float, ptr %4, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %22) br label %74 24: ; preds = %9 %25 = load i8, ptr %5, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 45 br i1 %27, label %28, label %35 28: ; preds = %24 %29 = load float, ptr %2, align 4 %30 = load float, ptr %3, align 4 %31 = fsub float %29, %30 store float %31, ptr %4, align 4 %32 = load float, ptr %4, align 4 %33 = fpext float %32 to double %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %33) br label %73 35: ; preds = %24 %36 = load i8, ptr %5, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 42 br i1 %38, label %39, label %46 39: ; preds = %35 %40 = load float, ptr %2, align 4 %41 = load float, ptr %3, align 4 %42 = fmul float %40, %41 store float %42, ptr %4, align 4 %43 = load float, ptr %4, align 4 %44 = fpext float %43 to double %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %44) br label %72 46: ; preds = %35 %47 = load i8, ptr %5, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 47 br i1 %49, label %50, label %57 50: ; preds = %46 %51 = load float, ptr %2, align 4 %52 = load float, ptr %3, align 4 %53 = fdiv float %51, %52 store float %53, ptr %4, align 4 %54 = load float, ptr %4, align 4 %55 = fpext float %54 to double %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %55) br label %71 57: ; preds = %46 %58 = load i8, ptr %5, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 94 br i1 %60, label %61, label %68 61: ; preds = %57 %62 = load float, ptr %2, align 4 %63 = load float, ptr %3, align 4 %64 = call float @pow(float noundef %62, float noundef %63) store float %64, ptr %4, align 4 %65 = load float, ptr %4, align 4 %66 = fpext float %65 to double %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %66) br label %70 68: ; preds = %57 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %70 70: ; preds = %68, %61 br label %71 71: ; preds = %70, %50 br label %72 72: ; preds = %71, %39 br label %73 73: ; preds = %72, %28 br label %74 74: ; preds = %73, %17 %75 = load float, ptr %4, align 4 store float %75, ptr %2, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %77 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %6) %78 = load i8, ptr %6, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 %79, 89 br i1 %80, label %85, label %81 81: ; preds = %74 %82 = load i8, ptr %6, align 1 %83 = sext i8 %82 to i32 %84 = icmp eq i32 %83, 121 br i1 %84, label %85, label %86 85: ; preds = %81, %74 br label %9 86: ; preds = %81 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare float @pow(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc35spiqi.c' source_filename = "/tmp/tmpc35spiqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_d9() #0 { %1 = call i32 (...) @reti() ret void } declare i32 @reti(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc35spiqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_d9() #0 { %1 = call i32 (...) @reti() ret void } declare i32 @reti(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2d9sftqu.c' source_filename = "/tmp/tmp2d9sftqu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__group_member(i64 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i32 16, ptr %5, align 4 br label %7 7: ; preds = %18, %1 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 8 %11 = trunc i64 %10 to i32 %12 = call ptr @__alloca(i32 noundef %11) store ptr %12, ptr %6, align 8 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @__getgroups(i32 noundef %13, ptr noundef %14) store i32 %15, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 %16, 2 store i32 %17, ptr %5, align 4 br label %18 18: ; preds = %7 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = sdiv i32 %20, 2 %22 = icmp eq i32 %19, %21 br i1 %22, label %7, label %23, !llvm.loop !6 23: ; preds = %18 br label %24 24: ; preds = %37, %23 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %4, align 4 %27 = icmp sgt i32 %25, 0 br i1 %27, label %28, label %38 28: ; preds = %24 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i64, ptr %29, i64 %31 %33 = load i64, ptr %32, align 8 %34 = load i64, ptr %3, align 8 %35 = icmp eq i64 %33, %34 br i1 %35, label %36, label %37 36: ; preds = %28 store i32 1, ptr %2, align 4 br label %39 37: ; preds = %28 br label %24, !llvm.loop !8 38: ; preds = %24 store i32 0, ptr %2, align 4 br label %39 39: ; preds = %38, %36 %40 = load i32, ptr %2, align 4 ret i32 %40 } declare ptr @__alloca(i32 noundef) #1 declare i32 @__getgroups(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2d9sftqu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__group_member(i64 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i32 16, ptr %5, align 4 br label %7 7: ; preds = %18, %1 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 8 %11 = trunc i64 %10 to i32 %12 = call ptr @__alloca(i32 noundef %11) store ptr %12, ptr %6, align 8 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @__getgroups(i32 noundef %13, ptr noundef %14) store i32 %15, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 %16, 2 store i32 %17, ptr %5, align 4 br label %18 18: ; preds = %7 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = sdiv i32 %20, 2 %22 = icmp eq i32 %19, %21 br i1 %22, label %7, label %23, !llvm.loop !6 23: ; preds = %18 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %4, align 4 %26 = icmp sgt i32 %24, 0 br i1 %26, label %.lr.ph, label %40 .lr.ph: ; preds = %23 br label %31 27: ; preds = %31 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, -1 store i32 %29, ptr %4, align 4 %30 = icmp sgt i32 %28, 0 br i1 %30, label %31, label %._crit_edge, !llvm.loop !8 31: ; preds = %.lr.ph, %27 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i64, ptr %32, i64 %34 %36 = load i64, ptr %35, align 8 %37 = load i64, ptr %3, align 8 %38 = icmp eq i64 %36, %37 br i1 %38, label %39, label %27 39: ; preds = %31 store i32 1, ptr %2, align 4 br label %41 ._crit_edge: ; preds = %27 br label %40 40: ; preds = %._crit_edge, %23 store i32 0, ptr %2, align 4 br label %41 41: ; preds = %40, %39 %42 = load i32, ptr %2, align 4 ret i32 %42 } declare ptr @__alloca(i32 noundef) #1 declare i32 @__getgroups(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd0cp6tyl.c' source_filename = "/tmp/tmpd0cp6tyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foobar=blubb\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"test1: putenv 1 failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"test1: getenv 1 failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"blubb\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"test1: value mismatch\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"test1: putenv 2 failed\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"test1: getenv 2 failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test1() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i64 @putenv(ptr noundef @.str) %4 = icmp slt i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @printf(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %31 7: ; preds = %0 %8 = call ptr @getenv(ptr noundef @.str.2) store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %7 %12 = call i32 @printf(ptr noundef @.str.3) store i32 -1, ptr %1, align 4 br label %31 13: ; preds = %7 %14 = load ptr, ptr %2, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.4) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 @printf(ptr noundef @.str.5) store i32 -1, ptr %1, align 4 br label %31 19: ; preds = %13 %20 = call i64 @putenv(ptr noundef @.str.2) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @printf(ptr noundef @.str.6) store i32 -1, ptr %1, align 4 br label %31 24: ; preds = %19 %25 = call ptr @getenv(ptr noundef @.str.2) store ptr %25, ptr %2, align 8 %26 = load ptr, ptr %2, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 @printf(ptr noundef @.str.7) store i32 -1, ptr %1, align 4 br label %31 30: ; preds = %24 store i32 0, ptr %1, align 4 br label %31 31: ; preds = %30, %28, %22, %17, %11, %5 %32 = load i32, ptr %1, align 4 ret i32 %32 } declare i64 @putenv(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd0cp6tyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foobar=blubb\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"test1: putenv 1 failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"test1: getenv 1 failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"blubb\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"test1: value mismatch\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"test1: putenv 2 failed\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"test1: getenv 2 failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test1() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i64 @putenv(ptr noundef @.str) %4 = icmp slt i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @printf(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %31 7: ; preds = %0 %8 = call ptr @getenv(ptr noundef @.str.2) store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %7 %12 = call i32 @printf(ptr noundef @.str.3) store i32 -1, ptr %1, align 4 br label %31 13: ; preds = %7 %14 = load ptr, ptr %2, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.4) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 @printf(ptr noundef @.str.5) store i32 -1, ptr %1, align 4 br label %31 19: ; preds = %13 %20 = call i64 @putenv(ptr noundef @.str.2) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @printf(ptr noundef @.str.6) store i32 -1, ptr %1, align 4 br label %31 24: ; preds = %19 %25 = call ptr @getenv(ptr noundef @.str.2) store ptr %25, ptr %2, align 8 %26 = load ptr, ptr %2, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 @printf(ptr noundef @.str.7) store i32 -1, ptr %1, align 4 br label %31 30: ; preds = %24 store i32 0, ptr %1, align 4 br label %31 31: ; preds = %30, %28, %22, %17, %11, %5 %32 = load i32, ptr %1, align 4 ret i32 %32 } declare i64 @putenv(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr41yzm6o.c' source_filename = "/tmp/tmpr41yzm6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"empty\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %34 10: ; preds = %2 store i32 0, ptr %5, align 4 br label %11 11: ; preds = %29, %10 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %32 15: ; preds = %11 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20) %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %4, align 4 %24 = sub nsw i32 %23, 1 %25 = icmp slt i32 %22, %24 br i1 %25, label %26, label %28 26: ; preds = %15 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %28 28: ; preds = %26, %15 br label %29 29: ; preds = %28 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 br label %11, !llvm.loop !6 32: ; preds = %11 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %34 34: ; preds = %32, %8 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr41yzm6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"empty\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp sle i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %36 10: ; preds = %2 store i32 0, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %34 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %28 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19) %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = sub nsw i32 %22, 1 %24 = icmp slt i32 %21, %23 br i1 %24, label %25, label %27 25: ; preds = %14 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %27 27: ; preds = %25, %14 br label %28 28: ; preds = %27 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %10 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %36 36: ; preds = %34, %8 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpusv3eg63.c' source_filename = "/tmp/tmpusv3eg63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SIDD_CMP_EQUAL_ANY = dso_local global i32 0, align 4 @_SIDD_LEAST_SIGNIFICANT = dso_local global i32 0, align 4 @_SIDD_UBYTE_OPS = 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/tmpusv3eg63.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SIDD_CMP_EQUAL_ANY = dso_local global i32 0, align 4 @_SIDD_LEAST_SIGNIFICANT = dso_local global i32 0, align 4 @_SIDD_UBYTE_OPS = 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/tmped9h4vze.c' source_filename = "/tmp/tmped9h4vze.c" target datalayout = "e-m:e-p270: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_END = dso_local global i32 0, align 4 @EOF = dso_local global i32 0, align 4 @SEEK_CUR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_file_position(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @SEEK_END, align 4 %8 = call i32 @fseek(ptr noundef %6, i64 noundef 0, i32 noundef %7) br label %9 9: ; preds = %25, %2 %10 = load ptr, ptr %4, align 8 %11 = call i32 @read_file_backwards(ptr noundef %10) store i32 %11, ptr %5, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load i64, ptr %3, align 8 %16 = icmp sgt i64 %15, 0 br label %17 17: ; preds = %14, %9 %18 = phi i1 [ false, %9 ], [ %16, %14 ] br i1 %18, label %19, label %26 19: ; preds = %17 %20 = load i32, ptr %5, align 4 %21 = icmp eq i32 %20, 10 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i64, ptr %3, align 8 %24 = add nsw i64 %23, -1 store i64 %24, ptr %3, align 8 br label %25 25: ; preds = %22, %19 br label %9, !llvm.loop !6 26: ; preds = %17 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr @SEEK_CUR, align 4 %29 = call i32 @fseek(ptr noundef %27, i64 noundef 1, i32 noundef %28) ret void } declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @read_file_backwards(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmped9h4vze.c" target datalayout = "e-m:e-p270: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_END = dso_local global i32 0, align 4 @EOF = dso_local global i32 0, align 4 @SEEK_CUR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_file_position(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @SEEK_END, align 4 %8 = call i32 @fseek(ptr noundef %6, i64 noundef 0, i32 noundef %7) br label %9 9: ; preds = %25, %2 %10 = load ptr, ptr %4, align 8 %11 = call i32 @read_file_backwards(ptr noundef %10) store i32 %11, ptr %5, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load i64, ptr %3, align 8 %16 = icmp sgt i64 %15, 0 br label %17 17: ; preds = %14, %9 %18 = phi i1 [ false, %9 ], [ %16, %14 ] br i1 %18, label %19, label %26 19: ; preds = %17 %20 = load i32, ptr %5, align 4 %21 = icmp eq i32 %20, 10 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i64, ptr %3, align 8 %24 = add nsw i64 %23, -1 store i64 %24, ptr %3, align 8 br label %25 25: ; preds = %22, %19 br label %9, !llvm.loop !6 26: ; preds = %17 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr @SEEK_CUR, align 4 %29 = call i32 @fseek(ptr noundef %27, i64 noundef 1, i32 noundef %28) ret void } declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @read_file_backwards(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpuh2jk233.c' source_filename = "/tmp/tmpuh2jk233.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_vectors(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = trunc i64 %6 to i32 %8 = call i64 @malloc(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 ret ptr %10 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuh2jk233.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_vectors(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = trunc i64 %6 to i32 %8 = call i64 @malloc(i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 ret ptr %10 } 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"}
; ModuleID = '/tmp/tmprm4nuzk_.c' source_filename = "/tmp/tmprm4nuzk_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_XlcValidModSyntax(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 br label %7 7: ; preds = %60, %2 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %15 10: ; preds = %7 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 64 br label %15 15: ; preds = %10, %7 %16 = phi i1 [ false, %7 ], [ %14, %10 ] br i1 %16, label %17, label %61 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 64 br i1 %23, label %24, label %25 24: ; preds = %17 br label %61 25: ; preds = %17 %26 = load ptr, ptr %4, align 8 store ptr %26, ptr %6, align 8 br label %27 27: ; preds = %57, %25 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %28, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %60 31: ; preds = %27 %32 = load ptr, ptr %6, align 8 %33 = load ptr, ptr %32, align 8 %34 = call i32 @strlen(ptr noundef %33) store i32 %34, ptr %5, align 4 %35 = load ptr, ptr %3, align 8 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %36, align 8 %38 = load i32, ptr %5, align 4 %39 = call i64 @strncmp(ptr noundef %35, ptr noundef %37, i32 noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %49, label %41 41: ; preds = %31 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 61 br i1 %48, label %49, label %50 49: ; preds = %41, %31 br label %57 50: ; preds = %41 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = getelementptr inbounds i8, ptr %54, i64 1 %56 = call ptr @strchr(ptr noundef %55, i8 noundef signext 64) store ptr %56, ptr %3, align 8 br label %60 57: ; preds = %49 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds ptr, ptr %58, i32 1 store ptr %59, ptr %6, align 8 br label %27, !llvm.loop !6 60: ; preds = %50, %27 br label %7, !llvm.loop !8 61: ; preds = %24, %15 %62 = load ptr, ptr %3, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %64, label %69 64: ; preds = %61 %65 = load ptr, ptr %3, align 8 %66 = load i8, ptr %65, align 1 %67 = icmp ne i8 %66, 0 %68 = xor i1 %67, true br label %69 69: ; preds = %64, %61 %70 = phi i1 [ true, %61 ], [ %68, %64 ] %71 = zext i1 %70 to i32 ret i32 %71 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprm4nuzk_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_XlcValidModSyntax(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 br label %7 7: ; preds = %62, %2 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %15 10: ; preds = %7 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 64 br label %15 15: ; preds = %10, %7 %16 = phi i1 [ false, %7 ], [ %14, %10 ] br i1 %16, label %17, label %.loopexit1 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 64 br i1 %23, label %24, label %25 24: ; preds = %17 br label %63 25: ; preds = %17 %26 = load ptr, ptr %4, align 8 store ptr %26, ptr %6, align 8 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %27, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %25 br label %30 30: ; preds = %.lr.ph, %56 %31 = load ptr, ptr %6, align 8 %32 = load ptr, ptr %31, align 8 %33 = call i32 @strlen(ptr noundef %32) store i32 %33, ptr %5, align 4 %34 = load ptr, ptr %3, align 8 %35 = load ptr, ptr %6, align 8 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr %5, align 4 %38 = call i64 @strncmp(ptr noundef %34, ptr noundef %36, i32 noundef %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %48, label %40 40: ; preds = %30 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %5, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %46, 61 br i1 %47, label %48, label %49 48: ; preds = %40, %30 br label %56 49: ; preds = %40 %50 = load ptr, ptr %3, align 8 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = getelementptr inbounds i8, ptr %53, i64 1 %55 = call ptr @strchr(ptr noundef %54, i8 noundef signext 64) store ptr %55, ptr %3, align 8 br label %62 56: ; preds = %48 %57 = load ptr, ptr %6, align 8 %58 = getelementptr inbounds ptr, ptr %57, i32 1 store ptr %58, ptr %6, align 8 %59 = load ptr, ptr %6, align 8 %60 = load ptr, ptr %59, align 8 %61 = icmp ne ptr %60, null br i1 %61, label %30, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %56 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %25 br label %62 62: ; preds = %.loopexit, %49 br label %7, !llvm.loop !8 .loopexit1: ; preds = %15 br label %63 63: ; preds = %.loopexit1, %24 %64 = load ptr, ptr %3, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %66, label %71 66: ; preds = %63 %67 = load ptr, ptr %3, align 8 %68 = load i8, ptr %67, align 1 %69 = icmp ne i8 %68, 0 %70 = xor i1 %69, true br label %71 71: ; preds = %66, %63 %72 = phi i1 [ true, %63 ], [ %70, %66 ] %73 = zext i1 %72 to i32 ret i32 %73 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpyaw6v88o.c' source_filename = "/tmp/tmpyaw6v88o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @regainrootprivs() #0 { %1 = alloca i32, align 4 %2 = call i32 @seteuid(i32 noundef 0) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %0 br label %6 6: ; preds = %5, %0 ret void } declare i32 @seteuid(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/tmpyaw6v88o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @regainrootprivs() #0 { %1 = alloca i32, align 4 %2 = call i32 @seteuid(i32 noundef 0) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %0 br label %6 6: ; preds = %5, %0 ret void } declare i32 @seteuid(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/tmpjn1j3kyq.c' source_filename = "/tmp/tmpjn1j3kyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pd[0] == 41\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"pd[1] == 42\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"pd[2] == 43\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_check_dbl(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds double, ptr %5, i64 0 %7 = load double, ptr %6, align 8 %8 = fcmp oeq double %7, 4.100000e+01 %9 = zext i1 %8 to i32 %10 = call i32 @assertTrue(ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds double, ptr %11, i64 1 %13 = load double, ptr %12, align 8 %14 = fcmp oeq double %13, 4.200000e+01 %15 = zext i1 %14 to i32 %16 = call i32 @assertTrue(ptr noundef @.str.1, i32 noundef %15) %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds double, ptr %17, i64 2 %19 = load double, ptr %18, align 8 %20 = fcmp oeq double %19, 4.300000e+01 %21 = zext i1 %20 to i32 %22 = call i32 @assertTrue(ptr noundef @.str.2, i32 noundef %21) ret void } declare i32 @assertTrue(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/tmpjn1j3kyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pd[0] == 41\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"pd[1] == 42\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"pd[2] == 43\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_check_dbl(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds double, ptr %5, i64 0 %7 = load double, ptr %6, align 8 %8 = fcmp oeq double %7, 4.100000e+01 %9 = zext i1 %8 to i32 %10 = call i32 @assertTrue(ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds double, ptr %11, i64 1 %13 = load double, ptr %12, align 8 %14 = fcmp oeq double %13, 4.200000e+01 %15 = zext i1 %14 to i32 %16 = call i32 @assertTrue(ptr noundef @.str.1, i32 noundef %15) %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds double, ptr %17, i64 2 %19 = load double, ptr %18, align 8 %20 = fcmp oeq double %19, 4.300000e+01 %21 = zext i1 %20 to i32 %22 = call i32 @assertTrue(ptr noundef @.str.2, i32 noundef %21) ret void } declare i32 @assertTrue(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/tmpbea3uex4.c' source_filename = "/tmp/tmpbea3uex4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @be24get(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 0 %9 = load i32, ptr %8, align 4 %10 = shl i32 %9, 16 %11 = load ptr, ptr %4, align 8 store i32 %10, ptr %11, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 1 %14 = load i32, ptr %13, align 4 %15 = shl i32 %14, 8 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %16, align 4 %18 = or i32 %17, %15 store i32 %18, ptr %16, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 2 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %22, align 4 %24 = or i32 %23, %21 store i32 %24, ptr %22, align 4 ret i32 3 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbea3uex4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @be24get(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 0 %9 = load i32, ptr %8, align 4 %10 = shl i32 %9, 16 %11 = load ptr, ptr %4, align 8 store i32 %10, ptr %11, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 1 %14 = load i32, ptr %13, align 4 %15 = shl i32 %14, 8 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %16, align 4 %18 = or i32 %17, %15 store i32 %18, ptr %16, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 2 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %22, align 4 %24 = or i32 %23, %21 store i32 %24, ptr %22, align 4 ret i32 3 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpun6pn24i.c' source_filename = "/tmp/tmpun6pn24i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Time for running contains() on %d elements: %g ms\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, 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 1000, ptr %7, align 4 br label %11 11: ; preds = %49, %2 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 200000 br i1 %13, label %14, label %52 14: ; preds = %11 %15 = call ptr (...) @createLinkedList() store ptr %15, ptr %6, align 8 store i32 0, ptr %8, align 4 br label %16 16: ; preds = %24, %14 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %27 20: ; preds = %16 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %8, align 4 %23 = call i32 @addList(ptr noundef %21, i32 noundef %22) br label %24 24: ; preds = %20 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %8, align 4 br label %16, !llvm.loop !6 27: ; preds = %16 %28 = call double (...) @getMilliseconds() store double %28, ptr %9, align 8 store i32 0, ptr %8, align 4 br label %29 29: ; preds = %37, %27 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %40 33: ; preds = %29 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %8, align 4 %36 = call i32 @containsList(ptr noundef %34, i32 noundef %35) br label %37 37: ; preds = %33 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 br label %29, !llvm.loop !8 40: ; preds = %29 %41 = call double (...) @getMilliseconds() store double %41, ptr %10, align 8 %42 = load i32, ptr %7, align 4 %43 = load double, ptr %10, align 8 %44 = load double, ptr %9, align 8 %45 = fsub double %43, %44 %46 = call i32 @printf(ptr noundef @.str, i32 noundef %42, double noundef %45) %47 = load ptr, ptr %6, align 8 %48 = call i32 @deleteLinkedList(ptr noundef %47) br label %49 49: ; preds = %40 %50 = load i32, ptr %7, align 4 %51 = mul nsw i32 %50, 2 store i32 %51, ptr %7, align 4 br label %11, !llvm.loop !9 52: ; preds = %11 ret i32 0 } declare ptr @createLinkedList(...) #1 declare i32 @addList(ptr noundef, i32 noundef) #1 declare double @getMilliseconds(...) #1 declare i32 @containsList(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 declare i32 @deleteLinkedList(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpun6pn24i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Time for running contains() on %d elements: %g ms\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, 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 1000, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 200000 br i1 %12, label %.lr.ph5, label %57 .lr.ph5: ; preds = %2 br label %13 13: ; preds = %.lr.ph5, %52 %14 = call ptr (...) @createLinkedList() store ptr %14, ptr %6, align 8 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %28 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %22 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %8, align 4 %21 = call i32 @addList(ptr noundef %19, i32 noundef %20) br label %22 22: ; preds = %18 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %8, align 4 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %13 %29 = call double (...) @getMilliseconds() store double %29, ptr %9, align 8 store i32 0, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph2, label %43 .lr.ph2: ; preds = %28 br label %33 33: ; preds = %.lr.ph2, %37 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %8, align 4 %36 = call i32 @containsList(ptr noundef %34, i32 noundef %35) br label %37 37: ; preds = %33 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %43 43: ; preds = %._crit_edge3, %28 %44 = call double (...) @getMilliseconds() store double %44, ptr %10, align 8 %45 = load i32, ptr %7, align 4 %46 = load double, ptr %10, align 8 %47 = load double, ptr %9, align 8 %48 = fsub double %46, %47 %49 = call i32 @printf(ptr noundef @.str, i32 noundef %45, double noundef %48) %50 = load ptr, ptr %6, align 8 %51 = call i32 @deleteLinkedList(ptr noundef %50) br label %52 52: ; preds = %43 %53 = load i32, ptr %7, align 4 %54 = mul nsw i32 %53, 2 store i32 %54, ptr %7, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp slt i32 %55, 200000 br i1 %56, label %13, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %52 br label %57 57: ; preds = %._crit_edge6, %2 ret i32 0 } declare ptr @createLinkedList(...) #1 declare i32 @addList(ptr noundef, i32 noundef) #1 declare double @getMilliseconds(...) #1 declare i32 @containsList(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 declare i32 @deleteLinkedList(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppzlgs2vg.c' source_filename = "/tmp/tmppzlgs2vg.c" target datalayout = "e-m:e-p270: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/tmppzlgs2vg.c" target datalayout = "e-m:e-p270: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/tmpml2glt8y.c' source_filename = "/tmp/tmpml2glt8y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @foo() #0 { %1 = call i32 @bar(ptr noundef @.str) ret void } declare i32 @bar(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpml2glt8y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @foo() #0 { %1 = call i32 @bar(ptr noundef @.str) ret void } declare i32 @bar(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyrtrjuk6.c' source_filename = "/tmp/tmpyrtrjuk6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Enter starting range: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Enter ending range: \00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c" Result 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 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %1, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 @bitwise_and_of_range(i32 noundef %8, i32 noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @bitwise_and_of_range(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/tmpyrtrjuk6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Enter starting range: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Enter ending range: \00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c" Result 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 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %1, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 @bitwise_and_of_range(i32 noundef %8, i32 noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @bitwise_and_of_range(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/tmpmkzro7h6.c' source_filename = "/tmp/tmpmkzro7h6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @R_OK = 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/tmpmkzro7h6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @R_OK = 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/tmpfjqvk02c.c' source_filename = "/tmp/tmpfjqvk02c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lengthOfLongestSubstring(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca [128 x i8], align 16 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 128, i1 false) store i64 0, ptr %6, align 8 br label %11 11: ; preds = %63, %1 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %4, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %15, label %66 15: ; preds = %11 store i32 -1, ptr %7, align 4 %16 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %17 = call i32 @bzero(ptr noundef %16, i32 noundef 128) %18 = load i64, ptr %6, align 8 store i64 %18, ptr %8, align 8 br label %19 19: ; preds = %45, %15 %20 = load i64, ptr %8, align 8 %21 = load i64, ptr %4, align 8 %22 = icmp ult i64 %20, %21 br i1 %22, label %23, label %48 23: ; preds = %19 %24 = load ptr, ptr %2, align 8 %25 = load i64, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i64 %29 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = icmp ne i8 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %23 %33 = load i64, ptr %8, align 8 %34 = load i64, ptr %6, align 8 %35 = sub i64 %33, %34 %36 = trunc i64 %35 to i32 store i32 %36, ptr %7, align 4 br label %48 37: ; preds = %23 %38 = load ptr, ptr %2, align 8 %39 = load i64, ptr %8, align 8 %40 = getelementptr inbounds i8, ptr %38, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i64 %43 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 %42 store i8 1, ptr %43, align 1 br label %44 44: ; preds = %37 br label %45 45: ; preds = %44 %46 = load i64, ptr %8, align 8 %47 = add i64 %46, 1 store i64 %47, ptr %8, align 8 br label %19, !llvm.loop !6 48: ; preds = %32, %19 %49 = load i32, ptr %7, align 4 %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %56 51: ; preds = %48 %52 = load i64, ptr %4, align 8 %53 = load i64, ptr %6, align 8 %54 = sub i64 %52, %53 %55 = trunc i64 %54 to i32 store i32 %55, ptr %7, align 4 br label %56 56: ; preds = %51, %48 %57 = load i32, ptr %3, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = load i32, ptr %7, align 4 store i32 %61, ptr %3, align 4 br label %62 62: ; preds = %60, %56 br label %63 63: ; preds = %62 %64 = load i64, ptr %6, align 8 %65 = add i64 %64, 1 store i64 %65, ptr %6, align 8 br label %11, !llvm.loop !8 66: ; preds = %11 %67 = load i32, ptr %3, align 4 ret i32 %67 } declare i64 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @bzero(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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfjqvk02c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lengthOfLongestSubstring(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca [128 x i8], align 16 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 128, i1 false) store i64 0, ptr %6, align 8 %11 = load i64, ptr %6, align 8 %12 = load i64, ptr %4, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %.lr.ph1, label %70 .lr.ph1: ; preds = %1 br label %14 14: ; preds = %.lr.ph1, %64 store i32 -1, ptr %7, align 4 %15 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0 %16 = call i32 @bzero(ptr noundef %15, i32 noundef 128) %17 = load i64, ptr %6, align 8 store i64 %17, ptr %8, align 8 %18 = load i64, ptr %8, align 8 %19 = load i64, ptr %4, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %14 br label %21 21: ; preds = %.lr.ph, %43 %22 = load ptr, ptr %2, align 8 %23 = load i64, ptr %8, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i64 %27 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = icmp ne i8 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %21 %31 = load i64, ptr %8, align 8 %32 = load i64, ptr %6, align 8 %33 = sub i64 %31, %32 %34 = trunc i64 %33 to i32 store i32 %34, ptr %7, align 4 br label %49 35: ; preds = %21 %36 = load ptr, ptr %2, align 8 %37 = load i64, ptr %8, align 8 %38 = getelementptr inbounds i8, ptr %36, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i64 %41 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 %40 store i8 1, ptr %41, align 1 br label %42 42: ; preds = %35 br label %43 43: ; preds = %42 %44 = load i64, ptr %8, align 8 %45 = add i64 %44, 1 store i64 %45, ptr %8, align 8 %46 = load i64, ptr %8, align 8 %47 = load i64, ptr %4, align 8 %48 = icmp ult i64 %46, %47 br i1 %48, label %21, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %43 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %14 br label %49 49: ; preds = %.loopexit, %30 %50 = load i32, ptr %7, align 4 %51 = icmp eq i32 %50, -1 br i1 %51, label %52, label %57 52: ; preds = %49 %53 = load i64, ptr %4, align 8 %54 = load i64, ptr %6, align 8 %55 = sub i64 %53, %54 %56 = trunc i64 %55 to i32 store i32 %56, ptr %7, align 4 br label %57 57: ; preds = %52, %49 %58 = load i32, ptr %3, align 4 %59 = load i32, ptr %7, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %63 61: ; preds = %57 %62 = load i32, ptr %7, align 4 store i32 %62, ptr %3, align 4 br label %63 63: ; preds = %61, %57 br label %64 64: ; preds = %63 %65 = load i64, ptr %6, align 8 %66 = add i64 %65, 1 store i64 %66, ptr %6, align 8 %67 = load i64, ptr %6, align 8 %68 = load i64, ptr %4, align 8 %69 = icmp ult i64 %67, %68 br i1 %69, label %14, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %1 %71 = load i32, ptr %3, align 4 ret i32 %71 } declare i64 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @bzero(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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjrtpnx4g.c' source_filename = "/tmp/tmpjrtpnx4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grid_distances(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %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 double, align 8 %11 = alloca double, 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 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %56, %4 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %59 16: ; preds = %12 %17 = load ptr, ptr %6, align 8 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds double, ptr %19, i64 0 %21 = load double, ptr %20, align 8 %22 = fsub double %18, %21 store double %22, ptr %10, align 8 %23 = load double, ptr %10, align 8 %24 = load double, ptr %10, align 8 %25 = fmul double %23, %24 store double %25, ptr %11, align 8 %26 = load ptr, ptr %6, align 8 %27 = getelementptr inbounds double, ptr %26, i32 1 store ptr %27, ptr %6, align 8 %28 = load ptr, ptr %6, align 8 %29 = load double, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds double, ptr %30, i64 1 %32 = load double, ptr %31, align 8 %33 = fsub double %29, %32 store double %33, ptr %10, align 8 %34 = load double, ptr %10, align 8 %35 = load double, ptr %10, align 8 %36 = load double, ptr %11, align 8 %37 = call double @llvm.fmuladd.f64(double %34, double %35, double %36) store double %37, ptr %11, align 8 %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds double, ptr %38, i32 1 store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %6, align 8 %41 = load double, ptr %40, align 8 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds double, ptr %42, i64 2 %44 = load double, ptr %43, align 8 %45 = fsub double %41, %44 store double %45, ptr %10, align 8 %46 = load double, ptr %11, align 8 %47 = load double, ptr %10, align 8 %48 = load double, ptr %10, align 8 %49 = call double @llvm.fmuladd.f64(double %47, double %48, double %46) %50 = call double @sqrt(double noundef %49) #3 %51 = load ptr, ptr %7, align 8 store double %50, ptr %51, align 8 %52 = load ptr, ptr %6, align 8 %53 = getelementptr inbounds double, ptr %52, i32 1 store ptr %53, ptr %6, align 8 %54 = load ptr, ptr %7, align 8 %55 = getelementptr inbounds double, ptr %54, i32 1 store ptr %55, ptr %7, align 8 br label %56 56: ; preds = %16 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %9, align 4 br label %12, !llvm.loop !6 59: ; preds = %12 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjrtpnx4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grid_distances(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %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 double, align 8 %11 = alloca double, 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 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %61 .lr.ph: ; preds = %4 br label %15 15: ; preds = %.lr.ph, %55 %16 = load ptr, ptr %6, align 8 %17 = load double, ptr %16, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds double, ptr %18, i64 0 %20 = load double, ptr %19, align 8 %21 = fsub double %17, %20 store double %21, ptr %10, align 8 %22 = load double, ptr %10, align 8 %23 = load double, ptr %10, align 8 %24 = fmul double %22, %23 store double %24, ptr %11, align 8 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds double, ptr %25, i32 1 store ptr %26, ptr %6, align 8 %27 = load ptr, ptr %6, align 8 %28 = load double, ptr %27, align 8 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds double, ptr %29, i64 1 %31 = load double, ptr %30, align 8 %32 = fsub double %28, %31 store double %32, ptr %10, align 8 %33 = load double, ptr %10, align 8 %34 = load double, ptr %10, align 8 %35 = load double, ptr %11, align 8 %36 = call double @llvm.fmuladd.f64(double %33, double %34, double %35) store double %36, ptr %11, align 8 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds double, ptr %37, i32 1 store ptr %38, ptr %6, align 8 %39 = load ptr, ptr %6, align 8 %40 = load double, ptr %39, align 8 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds double, ptr %41, i64 2 %43 = load double, ptr %42, align 8 %44 = fsub double %40, %43 store double %44, ptr %10, align 8 %45 = load double, ptr %11, align 8 %46 = load double, ptr %10, align 8 %47 = load double, ptr %10, align 8 %48 = call double @llvm.fmuladd.f64(double %46, double %47, double %45) %49 = call double @sqrt(double noundef %48) #3 %50 = load ptr, ptr %7, align 8 store double %49, ptr %50, align 8 %51 = load ptr, ptr %6, align 8 %52 = getelementptr inbounds double, ptr %51, i32 1 store ptr %52, ptr %6, align 8 %53 = load ptr, ptr %7, align 8 %54 = getelementptr inbounds double, ptr %53, i32 1 store ptr %54, ptr %7, align 8 br label %55 55: ; preds = %15 %56 = load i32, ptr %9, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %9, align 4 %58 = load i32, ptr %9, align 4 %59 = load i32, ptr %8, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %61 61: ; preds = %._crit_edge, %4 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp73ja5cuq.c' source_filename = "/tmp/tmp73ja5cuq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cc_mkdir(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 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 br label %8 8: ; preds = %45, %1 %9 = load ptr, ptr %5, align 8 %10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 47) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %19, label %13 13: ; preds = %8 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %14, i64 %17 store ptr %18, ptr %4, align 8 br label %19 19: ; preds = %13, %8 %20 = load ptr, ptr %4, align 8 %21 = load i8, ptr %20, align 1 %22 = icmp ne i8 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %19 br label %50 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %3, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = trunc i64 %30 to i32 %32 = call ptr @strndup(ptr noundef %25, i32 noundef %31) store ptr %32, ptr %6, align 8 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr @F_OK, align 4 %35 = call i32 @access(ptr noundef %33, i32 noundef %34) %36 = icmp ne i32 %35, 0 br i1 %36, label %45, label %37 37: ; preds = %24 %38 = load ptr, ptr %6, align 8 %39 = call i64 @mkdir(ptr noundef %38, i32 noundef 511) %40 = icmp slt i64 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %37 %42 = load i32, ptr @errno, align 4 %43 = sub nsw i32 0, %42 store i32 %43, ptr %2, align 4 br label %51 44: ; preds = %37 br label %45 45: ; preds = %44, %24 %46 = load ptr, ptr %6, align 8 %47 = call i32 @free(ptr noundef %46) %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 1 store ptr %49, ptr %5, align 8 br label %8 50: ; preds = %23 store i32 0, ptr %2, align 4 br label %51 51: ; preds = %50, %41 %52 = load i32, ptr %2, align 4 ret i32 %52 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strndup(ptr noundef, i32 noundef) #1 declare i32 @access(ptr noundef, i32 noundef) #1 declare i64 @mkdir(ptr 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/tmp73ja5cuq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cc_mkdir(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 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 br label %8 8: ; preds = %45, %1 %9 = load ptr, ptr %5, align 8 %10 = call ptr @strchr(ptr noundef %9, i8 noundef signext 47) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %19, label %13 13: ; preds = %8 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %14, i64 %17 store ptr %18, ptr %4, align 8 br label %19 19: ; preds = %13, %8 %20 = load ptr, ptr %4, align 8 %21 = load i8, ptr %20, align 1 %22 = icmp ne i8 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %19 br label %50 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %3, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = trunc i64 %30 to i32 %32 = call ptr @strndup(ptr noundef %25, i32 noundef %31) store ptr %32, ptr %6, align 8 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr @F_OK, align 4 %35 = call i32 @access(ptr noundef %33, i32 noundef %34) %36 = icmp ne i32 %35, 0 br i1 %36, label %45, label %37 37: ; preds = %24 %38 = load ptr, ptr %6, align 8 %39 = call i64 @mkdir(ptr noundef %38, i32 noundef 511) %40 = icmp slt i64 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %37 %42 = load i32, ptr @errno, align 4 %43 = sub nsw i32 0, %42 store i32 %43, ptr %2, align 4 br label %51 44: ; preds = %37 br label %45 45: ; preds = %44, %24 %46 = load ptr, ptr %6, align 8 %47 = call i32 @free(ptr noundef %46) %48 = load ptr, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 1 store ptr %49, ptr %5, align 8 br label %8 50: ; preds = %23 store i32 0, ptr %2, align 4 br label %51 51: ; preds = %50, %41 %52 = load i32, ptr %2, align 4 ret i32 %52 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strndup(ptr noundef, i32 noundef) #1 declare i32 @access(ptr noundef, i32 noundef) #1 declare i64 @mkdir(ptr 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/tmpp4ljib1d.c' source_filename = "/tmp/tmpp4ljib1d.c" target datalayout = "e-m:e-p270: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 { i64, i64, i64, i64 } @.str = private unnamed_addr constant [18 x i8] c"too few arguments\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"cannot stat %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 8 %7 = alloca %struct.stat, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, 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 store ptr %6, ptr %8, align 8 store ptr %7, ptr %9, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 @errx(i32 noundef 2, ptr noundef @.str) br label %15 15: ; preds = %13, %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @stat(ptr noundef %18, ptr noundef %6) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %26 21: ; preds = %15 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @err(i32 noundef 3, ptr noundef @.str.1, ptr noundef %24) br label %26 26: ; preds = %21, %15 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds %struct.stat, ptr %27, i32 0, i32 0 %29 = load i64, ptr %28, align 8 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = sub i64 %31, 1 %33 = icmp ne i64 %29, %32 br i1 %33, label %34, label %35 34: ; preds = %26 store i32 1, ptr %3, align 4 br label %97 35: ; preds = %26 store i32 2, ptr %10, align 4 br label %36 36: ; preds = %93, %35 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %4, align 4 %39 = sub nsw i32 %38, 1 %40 = icmp slt i32 %37, %39 br i1 %40, label %41, label %96 41: ; preds = %36 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %10, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load ptr, ptr %9, align 8 %48 = call i32 @stat(ptr noundef %46, ptr noundef %47) %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %58 50: ; preds = %41 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %10, align 4 %53 = add nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %51, i64 %54 %56 = load ptr, ptr %55, align 8 %57 = call i32 @err(i32 noundef 3, ptr noundef @.str.1, ptr noundef %56) br label %58 58: ; preds = %50, %41 %59 = load ptr, ptr %9, align 8 %60 = getelementptr inbounds %struct.stat, ptr %59, i32 0, i32 0 %61 = load i64, ptr %60, align 8 %62 = load i32, ptr %4, align 4 %63 = sext i32 %62 to i64 %64 = sub i64 %63, 1 %65 = icmp ne i64 %61, %64 br i1 %65, label %90, label %66 66: ; preds = %58 %67 = load ptr, ptr %8, align 8 %68 = getelementptr inbounds %struct.stat, ptr %67, i32 0, i32 1 %69 = load i64, ptr %68, align 8 %70 = load ptr, ptr %9, align 8 %71 = getelementptr inbounds %struct.stat, ptr %70, i32 0, i32 1 %72 = load i64, ptr %71, align 8 %73 = icmp ne i64 %69, %72 br i1 %73, label %90, label %74 74: ; preds = %66 %75 = load ptr, ptr %8, align 8 %76 = getelementptr inbounds %struct.stat, ptr %75, i32 0, i32 2 %77 = load i64, ptr %76, align 8 %78 = load ptr, ptr %9, align 8 %79 = getelementptr inbounds %struct.stat, ptr %78, i32 0, i32 2 %80 = load i64, ptr %79, align 8 %81 = icmp ne i64 %77, %80 br i1 %81, label %90, label %82 82: ; preds = %74 %83 = load ptr, ptr %8, align 8 %84 = getelementptr inbounds %struct.stat, ptr %83, i32 0, i32 3 %85 = load i64, ptr %84, align 8 %86 = load ptr, ptr %9, align 8 %87 = getelementptr inbounds %struct.stat, ptr %86, i32 0, i32 3 %88 = load i64, ptr %87, align 8 %89 = icmp ne i64 %85, %88 br i1 %89, label %90, label %91 90: ; preds = %82, %74, %66, %58 store i32 1, ptr %3, align 4 br label %97 91: ; preds = %82 %92 = load ptr, ptr %9, align 8 store ptr %92, ptr %8, align 8 br label %93 93: ; preds = %91 %94 = load i32, ptr %10, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %10, align 4 br label %36, !llvm.loop !6 96: ; preds = %36 store i32 0, ptr %3, align 4 br label %97 97: ; preds = %96, %90, %34 %98 = load i32, ptr %3, align 4 ret i32 %98 } declare i32 @errx(i32 noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp4ljib1d.c" target datalayout = "e-m:e-p270: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 { i64, i64, i64, i64 } @.str = private unnamed_addr constant [18 x i8] c"too few arguments\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"cannot stat %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 8 %7 = alloca %struct.stat, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, 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 store ptr %6, ptr %8, align 8 store ptr %7, ptr %9, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 @errx(i32 noundef 2, ptr noundef @.str) br label %15 15: ; preds = %13, %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @stat(ptr noundef %18, ptr noundef %6) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %26 21: ; preds = %15 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @err(i32 noundef 3, ptr noundef @.str.1, ptr noundef %24) br label %26 26: ; preds = %21, %15 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds %struct.stat, ptr %27, i32 0, i32 0 %29 = load i64, ptr %28, align 8 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = sub i64 %31, 1 %33 = icmp ne i64 %29, %32 br i1 %33, label %34, label %35 34: ; preds = %26 store i32 1, ptr %3, align 4 br label %100 35: ; preds = %26 store i32 2, ptr %10, align 4 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %4, align 4 %38 = sub nsw i32 %37, 1 %39 = icmp slt i32 %36, %38 br i1 %39, label %.lr.ph, label %99 .lr.ph: ; preds = %35 br label %40 40: ; preds = %.lr.ph, %92 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = load ptr, ptr %9, align 8 %47 = call i32 @stat(ptr noundef %45, ptr noundef %46) %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %57 49: ; preds = %40 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %50, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = call i32 @err(i32 noundef 3, ptr noundef @.str.1, ptr noundef %55) br label %57 57: ; preds = %49, %40 %58 = load ptr, ptr %9, align 8 %59 = getelementptr inbounds %struct.stat, ptr %58, i32 0, i32 0 %60 = load i64, ptr %59, align 8 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = sub i64 %62, 1 %64 = icmp ne i64 %60, %63 br i1 %64, label %89, label %65 65: ; preds = %57 %66 = load ptr, ptr %8, align 8 %67 = getelementptr inbounds %struct.stat, ptr %66, i32 0, i32 1 %68 = load i64, ptr %67, align 8 %69 = load ptr, ptr %9, align 8 %70 = getelementptr inbounds %struct.stat, ptr %69, i32 0, i32 1 %71 = load i64, ptr %70, align 8 %72 = icmp ne i64 %68, %71 br i1 %72, label %89, label %73 73: ; preds = %65 %74 = load ptr, ptr %8, align 8 %75 = getelementptr inbounds %struct.stat, ptr %74, i32 0, i32 2 %76 = load i64, ptr %75, align 8 %77 = load ptr, ptr %9, align 8 %78 = getelementptr inbounds %struct.stat, ptr %77, i32 0, i32 2 %79 = load i64, ptr %78, align 8 %80 = icmp ne i64 %76, %79 br i1 %80, label %89, label %81 81: ; preds = %73 %82 = load ptr, ptr %8, align 8 %83 = getelementptr inbounds %struct.stat, ptr %82, i32 0, i32 3 %84 = load i64, ptr %83, align 8 %85 = load ptr, ptr %9, align 8 %86 = getelementptr inbounds %struct.stat, ptr %85, i32 0, i32 3 %87 = load i64, ptr %86, align 8 %88 = icmp ne i64 %84, %87 br i1 %88, label %89, label %90 89: ; preds = %81, %73, %65, %57 store i32 1, ptr %3, align 4 br label %100 90: ; preds = %81 %91 = load ptr, ptr %9, align 8 store ptr %91, ptr %8, align 8 br label %92 92: ; preds = %90 %93 = load i32, ptr %10, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %10, align 4 %95 = load i32, ptr %10, align 4 %96 = load i32, ptr %4, align 4 %97 = sub nsw i32 %96, 1 %98 = icmp slt i32 %95, %97 br i1 %98, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %92 br label %99 99: ; preds = %._crit_edge, %35 store i32 0, ptr %3, align 4 br label %100 100: ; preds = %99, %89, %34 %101 = load i32, ptr %3, align 4 ret i32 %101 } declare i32 @errx(i32 noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8gk796yk.c' source_filename = "/tmp/tmp8gk796yk.c" target datalayout = "e-m:e-p270: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/tmp8gk796yk.c" target datalayout = "e-m:e-p270: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/tmpu018uomd.c' source_filename = "/tmp/tmpu018uomd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isHashed(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 @calcHash(ptr noundef %6) %8 = call i32 @_addHash(ptr noundef %5, i32 noundef %7, i32 noundef 1) ret i32 %8 } declare i32 @_addHash(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @calcHash(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu018uomd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isHashed(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 @calcHash(ptr noundef %6) %8 = call i32 @_addHash(ptr noundef %5, i32 noundef %7, i32 noundef 1) ret i32 %8 } declare i32 @_addHash(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @calcHash(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6wxcog_w.c' source_filename = "/tmp/tmp6wxcog_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"COMP1511\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 [15 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %8 = getelementptr inbounds [15 x i8], ptr %7, i64 0, i64 0 %9 = load ptr, ptr %6, align 8 %10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9) %11 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %11 } 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/tmp6wxcog_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"COMP1511\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 [15 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %8 = getelementptr inbounds [15 x i8], ptr %7, i64 0, i64 0 %9 = load ptr, ptr %6, align 8 %10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9) %11 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %11 } 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/tmpnvi2cb07.c' source_filename = "/tmp/tmpnvi2cb07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %9, align 8 %14 = load i32, ptr %7, align 4 store i32 %14, ptr %10, align 4 br label %15 15: ; preds = %26, %3 %16 = load i32, ptr %10, align 4 %17 = add i32 %16, -1 store i32 %17, ptr %10, align 4 %18 = icmp ne i32 %16, 0 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load ptr, ptr %8, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br label %24 24: ; preds = %19, %15 %25 = phi i1 [ false, %15 ], [ %23, %19 ] br i1 %25, label %26, label %29 26: ; preds = %24 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %8, align 8 br label %15, !llvm.loop !6 29: ; preds = %24 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %5, align 8 %32 = ptrtoint ptr %30 to i64 %33 = ptrtoint ptr %31 to i64 %34 = sub i64 %32, %33 %35 = trunc i64 %34 to i32 store i32 %35, ptr %11, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %11, align 4 %38 = sub i32 %36, %37 store i32 %38, ptr %10, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %46 41: ; preds = %29 %42 = load i32, ptr %11, align 4 %43 = load ptr, ptr %9, align 8 %44 = call i32 @strlength(ptr noundef %43) %45 = add i32 %42, %44 store i32 %45, ptr %4, align 4 br label %76 46: ; preds = %29 br label %47 47: ; preds = %62, %46 %48 = load ptr, ptr %9, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %65 52: ; preds = %47 %53 = load i32, ptr %10, align 4 %54 = icmp ne i32 %53, 1 br i1 %54, label %55, label %62 55: ; preds = %52 %56 = load ptr, ptr %9, align 8 %57 = load i8, ptr %56, align 1 %58 = load ptr, ptr %8, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr %8, align 8 store i8 %57, ptr %58, align 1 %60 = load i32, ptr %10, align 4 %61 = add i32 %60, -1 store i32 %61, ptr %10, align 4 br label %62 62: ; preds = %55, %52 %63 = load ptr, ptr %9, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %9, align 8 br label %47, !llvm.loop !8 65: ; preds = %47 %66 = load ptr, ptr %8, align 8 store i8 0, ptr %66, align 1 %67 = load i32, ptr %11, align 4 %68 = zext i32 %67 to i64 %69 = load ptr, ptr %9, align 8 %70 = load ptr, ptr %6, align 8 %71 = ptrtoint ptr %69 to i64 %72 = ptrtoint ptr %70 to i64 %73 = sub i64 %71, %72 %74 = add nsw i64 %68, %73 %75 = trunc i64 %74 to i32 store i32 %75, ptr %4, align 4 br label %76 76: ; preds = %65, %41 %77 = load i32, ptr %4, align 4 ret i32 %77 } declare i32 @strlength(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpnvi2cb07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %9, align 8 %14 = load i32, ptr %7, align 4 store i32 %14, ptr %10, align 4 br label %15 15: ; preds = %26, %3 %16 = load i32, ptr %10, align 4 %17 = add i32 %16, -1 store i32 %17, ptr %10, align 4 %18 = icmp ne i32 %16, 0 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load ptr, ptr %8, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br label %24 24: ; preds = %19, %15 %25 = phi i1 [ false, %15 ], [ %23, %19 ] br i1 %25, label %26, label %29 26: ; preds = %24 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %8, align 8 br label %15, !llvm.loop !6 29: ; preds = %24 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %5, align 8 %32 = ptrtoint ptr %30 to i64 %33 = ptrtoint ptr %31 to i64 %34 = sub i64 %32, %33 %35 = trunc i64 %34 to i32 store i32 %35, ptr %11, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %11, align 4 %38 = sub i32 %36, %37 store i32 %38, ptr %10, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %46 41: ; preds = %29 %42 = load i32, ptr %11, align 4 %43 = load ptr, ptr %9, align 8 %44 = call i32 @strlength(ptr noundef %43) %45 = add i32 %42, %44 store i32 %45, ptr %4, align 4 br label %79 46: ; preds = %29 %47 = load ptr, ptr %9, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 0 br i1 %50, label %.lr.ph, label %68 .lr.ph: ; preds = %46 br label %51 51: ; preds = %.lr.ph, %61 %52 = load i32, ptr %10, align 4 %53 = icmp ne i32 %52, 1 br i1 %53, label %54, label %61 54: ; preds = %51 %55 = load ptr, ptr %9, align 8 %56 = load i8, ptr %55, align 1 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %8, align 8 store i8 %56, ptr %57, align 1 %59 = load i32, ptr %10, align 4 %60 = add i32 %59, -1 store i32 %60, ptr %10, align 4 br label %61 61: ; preds = %54, %51 %62 = load ptr, ptr %9, align 8 %63 = getelementptr inbounds i8, ptr %62, i32 1 store ptr %63, ptr %9, align 8 %64 = load ptr, ptr %9, align 8 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp ne i32 %66, 0 br i1 %67, label %51, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %61 br label %68 68: ; preds = %._crit_edge, %46 %69 = load ptr, ptr %8, align 8 store i8 0, ptr %69, align 1 %70 = load i32, ptr %11, align 4 %71 = zext i32 %70 to i64 %72 = load ptr, ptr %9, align 8 %73 = load ptr, ptr %6, align 8 %74 = ptrtoint ptr %72 to i64 %75 = ptrtoint ptr %73 to i64 %76 = sub i64 %74, %75 %77 = add nsw i64 %71, %76 %78 = trunc i64 %77 to i32 store i32 %78, ptr %4, align 4 br label %79 79: ; preds = %68, %41 %80 = load i32, ptr %4, align 4 ret i32 %80 } declare i32 @strlength(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxafzsv2_.c' source_filename = "/tmp/tmpxafzsv2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %c \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 0, ptr %2, align 4 br label %4 4: ; preds = %38, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %42 7: ; preds = %4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %34, %7 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 10 br i1 %10, label %11, label %37 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 2 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %24 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = srem i32 %16, 2 %18 = icmp ne i32 %17, 1 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) br label %23 21: ; preds = %15 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 2) br label %23 23: ; preds = %21, %19 br label %33 24: ; preds = %11 %25 = load i32, ptr %3, align 4 %26 = srem i32 %25, 2 %27 = icmp ne i32 %26, 1 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 2) br label %32 30: ; preds = %24 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 1) br label %32 32: ; preds = %30, %28 br label %33 33: ; preds = %32, %23 br label %34 34: ; preds = %33 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 br label %8, !llvm.loop !6 37: ; preds = %8 br label %38 38: ; preds = %37 %39 = load i32, ptr %2, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %2, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %4, !llvm.loop !8 42: ; preds = %4 %43 = call i32 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxafzsv2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %c \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %.lr.ph2, label %44 .lr.ph2: ; preds = %0 br label %6 6: ; preds = %.lr.ph2, %38 store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %.lr.ph, label %37 .lr.ph: ; preds = %6 br label %9 9: ; preds = %.lr.ph, %32 %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 2 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = srem i32 %14, 2 %16 = icmp ne i32 %15, 1 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) br label %21 19: ; preds = %13 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 2) br label %21 21: ; preds = %19, %17 br label %31 22: ; preds = %9 %23 = load i32, ptr %3, align 4 %24 = srem i32 %23, 2 %25 = icmp ne i32 %24, 1 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 2) br label %30 28: ; preds = %22 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 1) br label %30 30: ; preds = %28, %26 br label %31 31: ; preds = %30, %21 br label %32 32: ; preds = %31 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 %35 = load i32, ptr %3, align 4 %36 = icmp slt i32 %35, 10 br i1 %36, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %6 br label %38 38: ; preds = %37 %39 = load i32, ptr %2, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %2, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %42 = load i32, ptr %2, align 4 %43 = icmp slt i32 %42, 10 br i1 %43, label %6, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %44 44: ; preds = %._crit_edge3, %0 %45 = call i32 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpum40b91i.c' source_filename = "/tmp/tmpum40b91i.c" target datalayout = "e-m:e-p270: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/tmpum40b91i.c" target datalayout = "e-m:e-p270: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/tmp60srelyi.c' source_filename = "/tmp/tmp60srelyi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pty_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %1, %5 %6 = load ptr, ptr %3, align 8 %7 = call i32 @process_output(ptr noundef %6) br label %5 } declare i32 @process_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/tmp60srelyi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pty_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %5, %1 %6 = load ptr, ptr %3, align 8 %7 = call i32 @process_output(ptr noundef %6) br label %5 } declare i32 @process_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/tmpolc1h906.c' source_filename = "/tmp/tmpolc1h906.c" target datalayout = "e-m:e-p270: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/tmpolc1h906.c" target datalayout = "e-m:e-p270: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/tmp4k_bh01i.c' source_filename = "/tmp/tmp4k_bh01i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aa_tree_iterator_new(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 ptr @aa_tree_iterator_new_both(ptr noundef %3, i32 noundef 1) ret ptr %4 } declare ptr @aa_tree_iterator_new_both(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/tmp4k_bh01i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aa_tree_iterator_new(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 ptr @aa_tree_iterator_new_both(ptr noundef %3, i32 noundef 1) ret ptr %4 } declare ptr @aa_tree_iterator_new_both(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/tmp1tbcjall.c' source_filename = "/tmp/tmp1tbcjall.c" target datalayout = "e-m:e-p270: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/tmp1tbcjall.c" target datalayout = "e-m:e-p270: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/tmp9cf7sjxd.c' source_filename = "/tmp/tmp9cf7sjxd.c" target datalayout = "e-m:e-p270: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/tmp9cf7sjxd.c" target datalayout = "e-m:e-p270: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/tmp04wf_7y5.c' source_filename = "/tmp/tmp04wf_7y5.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @server_recvfrom_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [512 x i8], align 16 store ptr %0, ptr %2, align 8 store i32 12, ptr %6, align 4 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = load i32, ptr @IPPROTO_UDP, align 4 %11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 12) %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = call i32 @htons(i32 noundef 25588) %16 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @INADDR_ANY, align 4 %18 = call i32 @htonl(i32 noundef %17) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0 store i32 %18, ptr %20, align 4 %21 = load i32, ptr %5, align 4 %22 = call i32 @bind(i32 noundef %21, ptr noundef %3, i32 noundef 12) %23 = load i32, ptr %5, align 4 %24 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %25 = call i32 @recvfrom(i32 noundef %23, ptr noundef %24, i32 noundef 512, i32 noundef 0, ptr noundef %4, ptr noundef %6) %26 = call i32 @usleep(i32 noundef 2000) ret ptr null } declare i32 @socket(i32 noundef, i32 noundef, i32 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 i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp04wf_7y5.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @server_recvfrom_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [512 x i8], align 16 store ptr %0, ptr %2, align 8 store i32 12, ptr %6, align 4 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = load i32, ptr @IPPROTO_UDP, align 4 %11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 12) %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = call i32 @htons(i32 noundef 25588) %16 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @INADDR_ANY, align 4 %18 = call i32 @htonl(i32 noundef %17) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0 store i32 %18, ptr %20, align 4 %21 = load i32, ptr %5, align 4 %22 = call i32 @bind(i32 noundef %21, ptr noundef %3, i32 noundef 12) %23 = load i32, ptr %5, align 4 %24 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %25 = call i32 @recvfrom(i32 noundef %23, ptr noundef %24, i32 noundef 512, i32 noundef 0, ptr noundef %4, ptr noundef %6) %26 = call i32 @usleep(i32 noundef 2000) ret ptr null } declare i32 @socket(i32 noundef, i32 noundef, i32 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 i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk657ugsh.c' source_filename = "/tmp/tmpk657ugsh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hlist_del_init(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 @hlist_unhashed(ptr noundef %3) %5 = icmp ne i32 %4, 0 br i1 %5, label %11, label %6 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @__hlist_del(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @INIT_HLIST_NODE(ptr noundef %9) br label %11 11: ; preds = %6, %1 ret void } declare i32 @hlist_unhashed(ptr noundef) #1 declare i32 @__hlist_del(ptr noundef) #1 declare i32 @INIT_HLIST_NODE(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk657ugsh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hlist_del_init(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 @hlist_unhashed(ptr noundef %3) %5 = icmp ne i32 %4, 0 br i1 %5, label %11, label %6 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @__hlist_del(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @INIT_HLIST_NODE(ptr noundef %9) br label %11 11: ; preds = %6, %1 ret void } declare i32 @hlist_unhashed(ptr noundef) #1 declare i32 @__hlist_del(ptr noundef) #1 declare i32 @INIT_HLIST_NODE(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpozn_ojwi.c' source_filename = "/tmp/tmpozn_ojwi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EVDNS_TYPE_A = dso_local global i32 0, align 4 @EVDNS_TYPE_AAAA = dso_local global i32 0, align 4 @EVDNS_TYPE_PTR = 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/tmpozn_ojwi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EVDNS_TYPE_A = dso_local global i32 0, align 4 @EVDNS_TYPE_AAAA = dso_local global i32 0, align 4 @EVDNS_TYPE_PTR = 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/tmp3v1x4hvh.c' source_filename = "/tmp/tmp3v1x4hvh.c" target datalayout = "e-m:e-p270: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.spwd = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getspnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = 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 i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 br label %11 11: ; preds = %27, %5 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load i64, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @getspent_r(ptr noundef %12, ptr noundef %13, i64 noundef %14, ptr noundef %15) %17 = icmp ne i32 %16, 0 %18 = xor i1 %17, true br i1 %18, label %19, label %28 19: ; preds = %11 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %7, align 8 %22 = getelementptr inbounds %struct.spwd, ptr %21, i32 0, i32 0 %23 = load i32, ptr %22, align 4 %24 = call i32 @strcmp(ptr noundef %20, i32 noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %19 br label %30 27: ; preds = %19 br label %11, !llvm.loop !6 28: ; preds = %11 %29 = load ptr, ptr %10, align 8 store ptr null, ptr %29, align 8 br label %30 30: ; preds = %28, %26 %31 = call i32 (...) @endspent() %32 = load ptr, ptr %10, align 8 %33 = load ptr, ptr %32, align 8 %34 = icmp ne ptr %33, null %35 = zext i1 %34 to i64 %36 = select i1 %34, i32 0, i32 -1 ret i32 %36 } declare i32 @getspent_r(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, i32 noundef) #1 declare i32 @endspent(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp3v1x4hvh.c" target datalayout = "e-m:e-p270: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.spwd = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getspnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = 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 i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = load i64, ptr %9, align 8 %14 = load ptr, ptr %10, align 8 %15 = call i32 @getspent_r(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14) %16 = icmp ne i32 %15, 0 %17 = xor i1 %16, true br i1 %17, label %.lr.ph, label %34 .lr.ph: ; preds = %5 br label %26 18: ; preds = %26 %19 = load ptr, ptr %7, align 8 %20 = load ptr, ptr %8, align 8 %21 = load i64, ptr %9, align 8 %22 = load ptr, ptr %10, align 8 %23 = call i32 @getspent_r(ptr noundef %19, ptr noundef %20, i64 noundef %21, ptr noundef %22) %24 = icmp ne i32 %23, 0 %25 = xor i1 %24, true br i1 %25, label %26, label %._crit_edge, !llvm.loop !6 26: ; preds = %.lr.ph, %18 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds %struct.spwd, ptr %28, i32 0, i32 0 %30 = load i32, ptr %29, align 4 %31 = call i32 @strcmp(ptr noundef %27, i32 noundef %30) %32 = icmp ne i32 %31, 0 br i1 %32, label %18, label %33 33: ; preds = %26 br label %36 ._crit_edge: ; preds = %18 br label %34 34: ; preds = %._crit_edge, %5 %35 = load ptr, ptr %10, align 8 store ptr null, ptr %35, align 8 br label %36 36: ; preds = %34, %33 %37 = call i32 (...) @endspent() %38 = load ptr, ptr %10, align 8 %39 = load ptr, ptr %38, align 8 %40 = icmp ne ptr %39, null %41 = zext i1 %40 to i64 %42 = select i1 %40, i32 0, i32 -1 ret i32 %42 } declare i32 @getspent_r(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, i32 noundef) #1 declare i32 @endspent(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp6kbqekth.c' source_filename = "/tmp/tmp6kbqekth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lxqt_backlight_backend_get_max() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call ptr (...) @lxqt_backlight_backend_get_driver() store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %0 store i32 -1, ptr %1, align 4 br label %23 9: ; preds = %0 %10 = load ptr, ptr %2, align 8 %11 = call i32 @read_max_backlight(ptr noundef %10) store i32 %11, ptr %3, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 @read_bl_power(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load ptr, ptr %2, align 8 %15 = call i32 @free(ptr noundef %14) %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %9 %19 = load i32, ptr %3, align 4 br label %21 20: ; preds = %9 br label %21 21: ; preds = %20, %18 %22 = phi i32 [ %19, %18 ], [ -1, %20 ] store i32 %22, ptr %1, align 4 br label %23 23: ; preds = %21, %8 %24 = load i32, ptr %1, align 4 ret i32 %24 } declare ptr @lxqt_backlight_backend_get_driver(...) #1 declare i32 @read_max_backlight(ptr noundef) #1 declare i32 @read_bl_power(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6kbqekth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lxqt_backlight_backend_get_max() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call ptr (...) @lxqt_backlight_backend_get_driver() store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %0 store i32 -1, ptr %1, align 4 br label %23 9: ; preds = %0 %10 = load ptr, ptr %2, align 8 %11 = call i32 @read_max_backlight(ptr noundef %10) store i32 %11, ptr %3, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 @read_bl_power(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load ptr, ptr %2, align 8 %15 = call i32 @free(ptr noundef %14) %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %9 %19 = load i32, ptr %3, align 4 br label %21 20: ; preds = %9 br label %21 21: ; preds = %20, %18 %22 = phi i32 [ %19, %18 ], [ -1, %20 ] store i32 %22, ptr %1, align 4 br label %23 23: ; preds = %21, %8 %24 = load i32, ptr %1, align 4 ret i32 %24 } declare ptr @lxqt_backlight_backend_get_driver(...) #1 declare i32 @read_max_backlight(ptr noundef) #1 declare i32 @read_bl_power(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqm30jyyp.c' source_filename = "/tmp/tmpqm30jyyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @imprimer_ligne(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %25, %2 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 16 br i1 %9, label %10, label %28 10: ; preds = %7 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %22 14: ; preds = %10 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20) br label %24 22: ; preds = %10 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %24 24: ; preds = %22, %14 br label %25 25: ; preds = %24 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %7, !llvm.loop !6 28: ; preds = %7 store i32 0, ptr %5, align 4 br label %29 29: ; preds = %53, %28 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %56 33: ; preds = %29 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 store i8 %38, ptr %6, align 1 %39 = load i8, ptr %6, align 1 %40 = sext i8 %39 to i32 %41 = icmp sle i32 32, %40 br i1 %41, label %42, label %49 42: ; preds = %33 %43 = load i8, ptr %6, align 1 %44 = sext i8 %43 to i32 %45 = icmp sle i32 %44, 126 br i1 %45, label %46, label %49 46: ; preds = %42 %47 = load i8, ptr %6, align 1 %48 = sext i8 %47 to i32 br label %50 49: ; preds = %42, %33 br label %50 50: ; preds = %49, %46 %51 = phi i32 [ %48, %46 ], [ 46, %49 ] %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %51) br label %53 53: ; preds = %50 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %5, align 4 br label %29, !llvm.loop !8 56: ; preds = %29 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqm30jyyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @imprimer_ligne(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 16 br i1 %8, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %24 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %21 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) br label %23 21: ; preds = %9 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %23 23: ; preds = %21, %13 br label %24 24: ; preds = %23 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp slt i32 %27, 16 br i1 %28, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %2 store i32 0, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph2, label %59 .lr.ph2: ; preds = %29 br label %33 33: ; preds = %.lr.ph2, %53 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 store i8 %38, ptr %6, align 1 %39 = load i8, ptr %6, align 1 %40 = sext i8 %39 to i32 %41 = icmp sle i32 32, %40 br i1 %41, label %42, label %49 42: ; preds = %33 %43 = load i8, ptr %6, align 1 %44 = sext i8 %43 to i32 %45 = icmp sle i32 %44, 126 br i1 %45, label %46, label %49 46: ; preds = %42 %47 = load i8, ptr %6, align 1 %48 = sext i8 %47 to i32 br label %50 49: ; preds = %42, %33 br label %50 50: ; preds = %49, %46 %51 = phi i32 [ %48, %46 ], [ 46, %49 ] %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %51) br label %53 53: ; preds = %50 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %5, align 4 %56 = load i32, ptr %5, align 4 %57 = load i32, ptr %4, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %59 59: ; preds = %._crit_edge3, %29 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpsxfeehol.c' source_filename = "/tmp/tmpsxfeehol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_solution() #0 { %1 = call i32 @assert(i32 noundef 1) %2 = call i32 @isPalindrome(i32 noundef 0) %3 = icmp eq i32 %2, 1 %4 = zext i1 %3 to i32 %5 = call i32 @assert(i32 noundef %4) %6 = call i32 @isPalindrome(i32 noundef 11) %7 = icmp eq i32 %6, 1 %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = call i32 @isPalindrome(i32 noundef 1011) %11 = icmp eq i32 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = call i32 @isPalindrome(i32 noundef 54322345) %15 = icmp eq i32 %14, 1 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = call i32 @isPalindrome(i32 noundef 543212345) %19 = icmp eq i32 %18, 1 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = call i32 @isPalindrome(i32 noundef -2147483648) %23 = icmp eq i32 %22, 0 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = call i32 @isPalindrome(i32 noundef -11) %27 = icmp eq i32 %26, 0 %28 = zext i1 %27 to i32 %29 = call i32 @assert(i32 noundef %28) %30 = call i32 @isPalindrome(i32 noundef 101) %31 = icmp eq i32 %30, 1 %32 = zext i1 %31 to i32 %33 = call i32 @assert(i32 noundef %32) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @isPalindrome(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/tmpsxfeehol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_solution() #0 { %1 = call i32 @assert(i32 noundef 1) %2 = call i32 @isPalindrome(i32 noundef 0) %3 = icmp eq i32 %2, 1 %4 = zext i1 %3 to i32 %5 = call i32 @assert(i32 noundef %4) %6 = call i32 @isPalindrome(i32 noundef 11) %7 = icmp eq i32 %6, 1 %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = call i32 @isPalindrome(i32 noundef 1011) %11 = icmp eq i32 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = call i32 @isPalindrome(i32 noundef 54322345) %15 = icmp eq i32 %14, 1 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = call i32 @isPalindrome(i32 noundef 543212345) %19 = icmp eq i32 %18, 1 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = call i32 @isPalindrome(i32 noundef -2147483648) %23 = icmp eq i32 %22, 0 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = call i32 @isPalindrome(i32 noundef -11) %27 = icmp eq i32 %26, 0 %28 = zext i1 %27 to i32 %29 = call i32 @assert(i32 noundef %28) %30 = call i32 @isPalindrome(i32 noundef 101) %31 = icmp eq i32 %30, 1 %32 = zext i1 %31 to i32 %33 = call i32 @assert(i32 noundef %32) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @isPalindrome(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/tmpdi0nfhvy.c' source_filename = "/tmp/tmpdi0nfhvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @qfits_get_datetime_iso8601.date_iso8601 = internal global [20 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [30 x i8] c"%04d-%02d-%02dT%02d:%02d:%02d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @qfits_get_datetime_iso8601() #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = call i64 (...) @qfits_date_now() store i64 %3, ptr %1, align 8 %4 = call i64 (...) @qfits_time_now() store i64 %4, ptr %2, align 8 %5 = load i64, ptr %1, align 8 %6 = sdiv i64 %5, 10000 %7 = trunc i64 %6 to i32 %8 = load i64, ptr %1, align 8 %9 = srem i64 %8, 10000 %10 = sdiv i64 %9, 100 %11 = trunc i64 %10 to i32 %12 = load i64, ptr %1, align 8 %13 = srem i64 %12, 100 %14 = trunc i64 %13 to i32 %15 = load i64, ptr %2, align 8 %16 = sdiv i64 %15, 1000000 %17 = trunc i64 %16 to i32 %18 = load i64, ptr %2, align 8 %19 = srem i64 %18, 1000000 %20 = sdiv i64 %19, 10000 %21 = trunc i64 %20 to i32 %22 = load i64, ptr %2, align 8 %23 = srem i64 %22, 10000 %24 = sdiv i64 %23, 100 %25 = trunc i64 %24 to i32 %26 = call i32 @sprintf(ptr noundef @qfits_get_datetime_iso8601.date_iso8601, ptr noundef @.str, i32 noundef %7, i32 noundef %11, i32 noundef %14, i32 noundef %17, i32 noundef %21, i32 noundef %25) ret ptr @qfits_get_datetime_iso8601.date_iso8601 } declare i64 @qfits_date_now(...) #1 declare i64 @qfits_time_now(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdi0nfhvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @qfits_get_datetime_iso8601.date_iso8601 = internal global [20 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [30 x i8] c"%04d-%02d-%02dT%02d:%02d:%02d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @qfits_get_datetime_iso8601() #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = call i64 (...) @qfits_date_now() store i64 %3, ptr %1, align 8 %4 = call i64 (...) @qfits_time_now() store i64 %4, ptr %2, align 8 %5 = load i64, ptr %1, align 8 %6 = sdiv i64 %5, 10000 %7 = trunc i64 %6 to i32 %8 = load i64, ptr %1, align 8 %9 = srem i64 %8, 10000 %10 = sdiv i64 %9, 100 %11 = trunc i64 %10 to i32 %12 = load i64, ptr %1, align 8 %13 = srem i64 %12, 100 %14 = trunc i64 %13 to i32 %15 = load i64, ptr %2, align 8 %16 = sdiv i64 %15, 1000000 %17 = trunc i64 %16 to i32 %18 = load i64, ptr %2, align 8 %19 = srem i64 %18, 1000000 %20 = sdiv i64 %19, 10000 %21 = trunc i64 %20 to i32 %22 = load i64, ptr %2, align 8 %23 = srem i64 %22, 10000 %24 = sdiv i64 %23, 100 %25 = trunc i64 %24 to i32 %26 = call i32 @sprintf(ptr noundef @qfits_get_datetime_iso8601.date_iso8601, ptr noundef @.str, i32 noundef %7, i32 noundef %11, i32 noundef %14, i32 noundef %17, i32 noundef %21, i32 noundef %25) ret ptr @qfits_get_datetime_iso8601.date_iso8601 } declare i64 @qfits_date_now(...) #1 declare i64 @qfits_time_now(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxqos0i7l.c' source_filename = "/tmp/tmpxqos0i7l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"min\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d.%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_a_float_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, 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 i32 %4, ptr %11, align 4 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %8, align 8 %19 = call ptr @strstr(ptr noundef %17, ptr noundef %18) store ptr %19, ptr %15, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %49 21: ; preds = %5 %22 = load i32, ptr %10, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = load ptr, ptr %7, align 8 store ptr %25, ptr %15, align 8 br label %26 26: ; preds = %24, %21 %27 = load ptr, ptr %15, align 8 %28 = call ptr @strstr(ptr noundef %27, ptr noundef @.str) store ptr %28, ptr %16, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %26 %31 = load ptr, ptr %16, align 8 store ptr %31, ptr %15, align 8 br label %32 32: ; preds = %30, %26 %33 = load ptr, ptr %15, align 8 %34 = call i32 @strcspn(ptr noundef %33, ptr noundef @.str.1) store i32 %34, ptr %12, align 4 %35 = load ptr, ptr %15, align 8 %36 = load i32, ptr %12, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = call i32 @sscanf(ptr noundef %38, ptr noundef @.str.2, ptr noundef %13, ptr noundef %14) %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = load i32, ptr %11, align 4 %43 = sext i32 %42 to i64 %44 = mul i64 %41, %43 %45 = load i32, ptr %14, align 4 %46 = sext i32 %45 to i64 %47 = add i64 %44, %46 %48 = load ptr, ptr %9, align 8 store i64 %47, ptr %48, align 8 store i32 1, ptr %6, align 4 br label %50 49: ; preds = %5 store i32 0, ptr %6, align 4 br label %50 50: ; preds = %49, %32 %51 = load i32, ptr %6, align 4 ret i32 %51 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @sscanf(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/tmpxqos0i7l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"min\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d.%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_a_float_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, 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 i32 %4, ptr %11, align 4 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %8, align 8 %19 = call ptr @strstr(ptr noundef %17, ptr noundef %18) store ptr %19, ptr %15, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %49 21: ; preds = %5 %22 = load i32, ptr %10, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = load ptr, ptr %7, align 8 store ptr %25, ptr %15, align 8 br label %26 26: ; preds = %24, %21 %27 = load ptr, ptr %15, align 8 %28 = call ptr @strstr(ptr noundef %27, ptr noundef @.str) store ptr %28, ptr %16, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %26 %31 = load ptr, ptr %16, align 8 store ptr %31, ptr %15, align 8 br label %32 32: ; preds = %30, %26 %33 = load ptr, ptr %15, align 8 %34 = call i32 @strcspn(ptr noundef %33, ptr noundef @.str.1) store i32 %34, ptr %12, align 4 %35 = load ptr, ptr %15, align 8 %36 = load i32, ptr %12, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = call i32 @sscanf(ptr noundef %38, ptr noundef @.str.2, ptr noundef %13, ptr noundef %14) %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = load i32, ptr %11, align 4 %43 = sext i32 %42 to i64 %44 = mul i64 %41, %43 %45 = load i32, ptr %14, align 4 %46 = sext i32 %45 to i64 %47 = add i64 %44, %46 %48 = load ptr, ptr %9, align 8 store i64 %47, ptr %48, align 8 store i32 1, ptr %6, align 4 br label %50 49: ; preds = %5 store i32 0, ptr %6, align 4 br label %50 50: ; preds = %49, %32 %51 = load i32, ptr %6, align 4 ret i32 %51 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @sscanf(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/tmpq3mq0aqn.c' source_filename = "/tmp/tmpq3mq0aqn.c" target datalayout = "e-m:e-p270: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 [105 x i8] c"Error processing width portion of WxH specification in arg string \22%s\22. Expecting a digit and got \22%c\22\0A\00", align 1 @.str.1 = private unnamed_addr constant [107 x i8] c"Error processing width portion of WxH specification in arg string \22%s\22. Too many digits preceding the \22x\22\00", align 1 @.str.2 = private unnamed_addr constant [106 x i8] c"Error processing height portion of WxH specification in arg string \22%s\22. Expecting a digit and got \22%c\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [115 x i8] c"Error processing height portion of WxH specification in arg string \22%s\22. Too many digits preceding the second \22$\22\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"\0A%s<box_width>%s</box_width>\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"%s\0A%s<box_height>%s</box_height>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @HandleWidthHeight(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %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 [500 x i8], align 16 %12 = alloca [500 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca [1000 x i8], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 store i32 0, ptr %13, align 4 %15 = load ptr, ptr %10, align 8 %16 = load i32, ptr %15, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %15, align 4 br label %18 18: ; preds = %69, %5 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %20, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 120 br i1 %26, label %27, label %70 27: ; preds = %18 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %10, align 8 %30 = load i32, ptr %29, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 %33 = load i8, ptr %32, align 1 %34 = call i32 @isdigit(i8 noundef signext %33) %35 = icmp ne i32 %34, 0 br i1 %35, label %48, label %36 36: ; preds = %27 %37 = load i32, ptr @stderr, align 4 %38 = load ptr, ptr %6, align 8 %39 = load ptr, ptr %6, align 8 %40 = load ptr, ptr %10, align 8 %41 = load i32, ptr %40, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str, ptr noundef %38, i32 noundef %45) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %27 %49 = load ptr, ptr %6, align 8 %50 = load ptr, ptr %10, align 8 %51 = load i32, ptr %50, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %49, i64 %52 %54 = load i8, ptr %53, align 1 %55 = load i32, ptr %13, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %13, align 4 %57 = sext i32 %55 to i64 %58 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 %57 store i8 %54, ptr %58, align 1 %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %59, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %59, align 4 %62 = load i32, ptr %13, align 4 %63 = icmp sgt i32 %62, 4 br i1 %63, label %64, label %69 64: ; preds = %48 %65 = load i32, ptr @stderr, align 4 %66 = load ptr, ptr %6, align 8 %67 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.1, ptr noundef %66) %68 = call i32 @exit(i32 noundef 1) #3 unreachable 69: ; preds = %48 br label %18, !llvm.loop !6 70: ; preds = %18 %71 = load i32, ptr %13, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 %72 store i8 0, ptr %73, align 1 store i32 0, ptr %13, align 4 %74 = load ptr, ptr %10, align 8 %75 = load i32, ptr %74, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %74, align 4 br label %77 77: ; preds = %128, %70 %78 = load ptr, ptr %6, align 8 %79 = load ptr, ptr %10, align 8 %80 = load i32, ptr %79, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %78, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = icmp ne i32 %84, 36 br i1 %85, label %86, label %129 86: ; preds = %77 %87 = load ptr, ptr %6, align 8 %88 = load ptr, ptr %10, align 8 %89 = load i32, ptr %88, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %87, i64 %90 %92 = load i8, ptr %91, align 1 %93 = call i32 @isdigit(i8 noundef signext %92) %94 = icmp ne i32 %93, 0 br i1 %94, label %107, label %95 95: ; preds = %86 %96 = load i32, ptr @stderr, align 4 %97 = load ptr, ptr %6, align 8 %98 = load ptr, ptr %6, align 8 %99 = load ptr, ptr %10, align 8 %100 = load i32, ptr %99, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %98, i64 %101 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i32 %105 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.2, ptr noundef %97, i32 noundef %104) %106 = call i32 @exit(i32 noundef 1) #3 unreachable 107: ; preds = %86 %108 = load ptr, ptr %6, align 8 %109 = load ptr, ptr %10, align 8 %110 = load i32, ptr %109, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i8, ptr %108, i64 %111 %113 = load i8, ptr %112, align 1 %114 = load i32, ptr %13, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %13, align 4 %116 = sext i32 %114 to i64 %117 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 %116 store i8 %113, ptr %117, align 1 %118 = load ptr, ptr %10, align 8 %119 = load i32, ptr %118, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %118, align 4 %121 = load i32, ptr %13, align 4 %122 = icmp sgt i32 %121, 4 br i1 %122, label %123, label %128 123: ; preds = %107 %124 = load i32, ptr @stderr, align 4 %125 = load ptr, ptr %6, align 8 %126 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %124, ptr noundef @.str.3, ptr noundef %125) %127 = call i32 @exit(i32 noundef 1) #3 unreachable 128: ; preds = %107 br label %77, !llvm.loop !8 129: ; preds = %77 %130 = load i32, ptr %13, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 %131 store i8 0, ptr %132, align 1 %133 = load ptr, ptr %7, align 8 %134 = getelementptr inbounds i8, ptr %133, i64 0 store i8 0, ptr %134, align 1 %135 = load i32, ptr %9, align 4 %136 = icmp eq i32 %135, 4 br i1 %136, label %137, label %153 137: ; preds = %129 %138 = load ptr, ptr %7, align 8 %139 = load i32, ptr %8, align 4 %140 = add nsw i32 %139, 1 %141 = getelementptr inbounds [1000 x i8], ptr %14, i64 0, i64 0 %142 = call ptr @indents(i32 noundef %140, ptr noundef %141) %143 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 0 %144 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %138, ptr noundef @.str.4, ptr noundef %142, ptr noundef %143) %145 = load ptr, ptr %7, align 8 %146 = load ptr, ptr %7, align 8 %147 = load i32, ptr %8, align 4 %148 = add nsw i32 %147, 1 %149 = getelementptr inbounds [1000 x i8], ptr %14, i64 0, i64 0 %150 = call ptr @indents(i32 noundef %148, ptr noundef %149) %151 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %152 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %145, ptr noundef @.str.5, ptr noundef %146, ptr noundef %150, ptr noundef %151) br label %153 153: ; preds = %137, %129 ret void } declare i32 @isdigit(i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @indents(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq3mq0aqn.c" target datalayout = "e-m:e-p270: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 [105 x i8] c"Error processing width portion of WxH specification in arg string \22%s\22. Expecting a digit and got \22%c\22\0A\00", align 1 @.str.1 = private unnamed_addr constant [107 x i8] c"Error processing width portion of WxH specification in arg string \22%s\22. Too many digits preceding the \22x\22\00", align 1 @.str.2 = private unnamed_addr constant [106 x i8] c"Error processing height portion of WxH specification in arg string \22%s\22. Expecting a digit and got \22%c\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [115 x i8] c"Error processing height portion of WxH specification in arg string \22%s\22. Too many digits preceding the second \22$\22\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"\0A%s<box_width>%s</box_width>\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"%s\0A%s<box_height>%s</box_height>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @HandleWidthHeight(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %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 [500 x i8], align 16 %12 = alloca [500 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca [1000 x i8], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 store i32 0, ptr %13, align 4 %15 = load ptr, ptr %10, align 8 %16 = load i32, ptr %15, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %15, align 4 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %10, align 8 %20 = load i32, ptr %19, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %18, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 120 br i1 %25, label %.lr.ph, label %77 .lr.ph: ; preds = %5 br label %35 26: ; preds = %56 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %10, align 8 %29 = load i32, ptr %28, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp ne i32 %33, 120 br i1 %34, label %35, label %._crit_edge, !llvm.loop !6 35: ; preds = %.lr.ph, %26 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %10, align 8 %38 = load i32, ptr %37, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %36, i64 %39 %41 = load i8, ptr %40, align 1 %42 = call i32 @isdigit(i8 noundef signext %41) %43 = icmp ne i32 %42, 0 br i1 %43, label %56, label %44 44: ; preds = %35 %45 = load i32, ptr @stderr, align 4 %46 = load ptr, ptr %6, align 8 %47 = load ptr, ptr %6, align 8 %48 = load ptr, ptr %10, align 8 %49 = load i32, ptr %48, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str, ptr noundef %46, i32 noundef %53) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %35 %57 = load ptr, ptr %6, align 8 %58 = load ptr, ptr %10, align 8 %59 = load i32, ptr %58, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %57, i64 %60 %62 = load i8, ptr %61, align 1 %63 = load i32, ptr %13, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %13, align 4 %65 = sext i32 %63 to i64 %66 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 %65 store i8 %62, ptr %66, align 1 %67 = load ptr, ptr %10, align 8 %68 = load i32, ptr %67, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %67, align 4 %70 = load i32, ptr %13, align 4 %71 = icmp sgt i32 %70, 4 br i1 %71, label %72, label %26 72: ; preds = %56 %73 = load i32, ptr @stderr, align 4 %74 = load ptr, ptr %6, align 8 %75 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %73, ptr noundef @.str.1, ptr noundef %74) %76 = call i32 @exit(i32 noundef 1) #3 unreachable ._crit_edge: ; preds = %26 br label %77 77: ; preds = %._crit_edge, %5 %78 = load i32, ptr %13, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 %79 store i8 0, ptr %80, align 1 store i32 0, ptr %13, align 4 %81 = load ptr, ptr %10, align 8 %82 = load i32, ptr %81, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %81, align 4 %84 = load ptr, ptr %6, align 8 %85 = load ptr, ptr %10, align 8 %86 = load i32, ptr %85, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %84, i64 %87 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i32 %91 = icmp ne i32 %90, 36 br i1 %91, label %.lr.ph2, label %143 .lr.ph2: ; preds = %77 br label %101 92: ; preds = %122 %93 = load ptr, ptr %6, align 8 %94 = load ptr, ptr %10, align 8 %95 = load i32, ptr %94, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %93, i64 %96 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp ne i32 %99, 36 br i1 %100, label %101, label %._crit_edge3, !llvm.loop !8 101: ; preds = %.lr.ph2, %92 %102 = load ptr, ptr %6, align 8 %103 = load ptr, ptr %10, align 8 %104 = load i32, ptr %103, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i8, ptr %102, i64 %105 %107 = load i8, ptr %106, align 1 %108 = call i32 @isdigit(i8 noundef signext %107) %109 = icmp ne i32 %108, 0 br i1 %109, label %122, label %110 110: ; preds = %101 %111 = load i32, ptr @stderr, align 4 %112 = load ptr, ptr %6, align 8 %113 = load ptr, ptr %6, align 8 %114 = load ptr, ptr %10, align 8 %115 = load i32, ptr %114, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr %113, i64 %116 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %111, ptr noundef @.str.2, ptr noundef %112, i32 noundef %119) %121 = call i32 @exit(i32 noundef 1) #3 unreachable 122: ; preds = %101 %123 = load ptr, ptr %6, align 8 %124 = load ptr, ptr %10, align 8 %125 = load i32, ptr %124, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i8, ptr %123, i64 %126 %128 = load i8, ptr %127, align 1 %129 = load i32, ptr %13, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %13, align 4 %131 = sext i32 %129 to i64 %132 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 %131 store i8 %128, ptr %132, align 1 %133 = load ptr, ptr %10, align 8 %134 = load i32, ptr %133, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %133, align 4 %136 = load i32, ptr %13, align 4 %137 = icmp sgt i32 %136, 4 br i1 %137, label %138, label %92 138: ; preds = %122 %139 = load i32, ptr @stderr, align 4 %140 = load ptr, ptr %6, align 8 %141 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %139, ptr noundef @.str.3, ptr noundef %140) %142 = call i32 @exit(i32 noundef 1) #3 unreachable ._crit_edge3: ; preds = %92 br label %143 143: ; preds = %._crit_edge3, %77 %144 = load i32, ptr %13, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 %145 store i8 0, ptr %146, align 1 %147 = load ptr, ptr %7, align 8 %148 = getelementptr inbounds i8, ptr %147, i64 0 store i8 0, ptr %148, align 1 %149 = load i32, ptr %9, align 4 %150 = icmp eq i32 %149, 4 br i1 %150, label %151, label %167 151: ; preds = %143 %152 = load ptr, ptr %7, align 8 %153 = load i32, ptr %8, align 4 %154 = add nsw i32 %153, 1 %155 = getelementptr inbounds [1000 x i8], ptr %14, i64 0, i64 0 %156 = call ptr @indents(i32 noundef %154, ptr noundef %155) %157 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 0 %158 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %152, ptr noundef @.str.4, ptr noundef %156, ptr noundef %157) %159 = load ptr, ptr %7, align 8 %160 = load ptr, ptr %7, align 8 %161 = load i32, ptr %8, align 4 %162 = add nsw i32 %161, 1 %163 = getelementptr inbounds [1000 x i8], ptr %14, i64 0, i64 0 %164 = call ptr @indents(i32 noundef %162, ptr noundef %163) %165 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %166 = call i32 (ptr, ptr, ptr, ptr, ...) @sprintf(ptr noundef %159, ptr noundef @.str.5, ptr noundef %160, ptr noundef %164, ptr noundef %165) br label %167 167: ; preds = %151, %143 ret void } declare i32 @isdigit(i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @indents(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9waadzcy.c' source_filename = "/tmp/tmp9waadzcy.c" target datalayout = "e-m:e-p270: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 [44 x i8] c"I am the child_sig_while_execv_simple_app \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @stdout, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9waadzcy.c" target datalayout = "e-m:e-p270: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 [44 x i8] c"I am the child_sig_while_execv_simple_app \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @stdout, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp05cafb3b.c' source_filename = "/tmp/tmp05cafb3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_PHY_base(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %17 [ i32 0, label %5 i32 1, label %6 i32 2, label %7 i32 3, label %8 i32 4, label %9 i32 5, label %10 i32 6, label %11 i32 7, label %12 i32 8, label %13 i32 9, label %14 i32 10, label %15 i32 11, label %16 ] 5: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 6: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 7: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 8: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 9: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 10: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 11: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 12: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 13: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 14: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 15: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 16: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 17: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 18: ; preds = %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %19 = load i32, ptr %2, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp05cafb3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_PHY_base(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %17 [ i32 0, label %5 i32 1, label %6 i32 2, label %7 i32 3, label %8 i32 4, label %9 i32 5, label %10 i32 6, label %11 i32 7, label %12 i32 8, label %13 i32 9, label %14 i32 10, label %15 i32 11, label %16 ] 5: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 6: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 7: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 8: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 9: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 10: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 11: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 12: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 13: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 14: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 15: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 16: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 17: ; preds = %1 store i32 4194304, ptr %2, align 4 br label %18 18: ; preds = %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %19 = load i32, ptr %2, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwyjhgu9a.c' source_filename = "/tmp/tmpwyjhgu9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) store i32 0, ptr %2, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 5000 br i1 %7, label %8, label %16 8: ; preds = %5 %9 = call i32 (...) @randf() %10 = call i32 @test_signed_i2f_32(i32 noundef %9) %11 = call i32 (...) @rand() %12 = call i32 @test_unsigned_i2f_32(i32 noundef %11) br label %13 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %5, !llvm.loop !6 16: ; preds = %5 %17 = call i32 @print_done(i32 noundef 33) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @test_signed_i2f_32(i32 noundef) #1 declare i32 @randf(...) #1 declare i32 @test_unsigned_i2f_32(i32 noundef) #1 declare i32 @rand(...) #1 declare i32 @print_done(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/tmpwyjhgu9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 5000 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %12 %8 = call i32 (...) @randf() %9 = call i32 @test_signed_i2f_32(i32 noundef %8) %10 = call i32 (...) @rand() %11 = call i32 @test_unsigned_i2f_32(i32 noundef %10) br label %12 12: ; preds = %7 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 5000 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = call i32 @print_done(i32 noundef 33) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @test_signed_i2f_32(i32 noundef) #1 declare i32 @randf(...) #1 declare i32 @test_unsigned_i2f_32(i32 noundef) #1 declare i32 @rand(...) #1 declare i32 @print_done(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/tmp8c_lzmd9.c' source_filename = "/tmp/tmp8c_lzmd9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @imprimir(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 ret void } 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/tmp8c_lzmd9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @imprimir(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 ret void } 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/tmpk28_0_cx.c' source_filename = "/tmp/tmpk28_0_cx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arg: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"env: %s\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, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %6, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %19, %3 %12 = load ptr, ptr %8, align 8 %13 = load ptr, ptr %12, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %22 15: ; preds = %11 %16 = load ptr, ptr %8, align 8 %17 = load ptr, ptr %16, align 8 %18 = call i32 @printf(ptr noundef @.str, ptr noundef %17) br label %19 19: ; preds = %15 %20 = load ptr, ptr %8, align 8 %21 = getelementptr inbounds ptr, ptr %20, i32 1 store ptr %21, ptr %8, align 8 br label %11, !llvm.loop !6 22: ; preds = %11 %23 = load ptr, ptr %7, align 8 store ptr %23, ptr %9, align 8 br label %24 24: ; preds = %32, %22 %25 = load ptr, ptr %9, align 8 %26 = load ptr, ptr %25, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %35 28: ; preds = %24 %29 = load ptr, ptr %9, align 8 %30 = load ptr, ptr %29, align 8 %31 = call i32 @printf(ptr noundef @.str.1, ptr noundef %30) br label %32 32: ; preds = %28 %33 = load ptr, ptr %9, align 8 %34 = getelementptr inbounds ptr, ptr %33, i32 1 store ptr %34, ptr %9, align 8 br label %24, !llvm.loop !8 35: ; preds = %24 %36 = load i32, ptr @EXIT_SUCCESS, align 4 %37 = call i32 @exit(i32 noundef %36) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk28_0_cx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arg: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"env: %s\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, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %6, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = load ptr, ptr %11, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %18 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %15, align 8 %17 = call i32 @printf(ptr noundef @.str, ptr noundef %16) br label %18 18: ; preds = %14 %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds ptr, ptr %19, i32 1 store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %8, align 8 %22 = load ptr, ptr %21, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %3 %25 = load ptr, ptr %7, align 8 store ptr %25, ptr %9, align 8 %26 = load ptr, ptr %9, align 8 %27 = load ptr, ptr %26, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %.lr.ph2, label %39 .lr.ph2: ; preds = %24 br label %29 29: ; preds = %.lr.ph2, %33 %30 = load ptr, ptr %9, align 8 %31 = load ptr, ptr %30, align 8 %32 = call i32 @printf(ptr noundef @.str.1, ptr noundef %31) br label %33 33: ; preds = %29 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds ptr, ptr %34, i32 1 store ptr %35, ptr %9, align 8 %36 = load ptr, ptr %9, align 8 %37 = load ptr, ptr %36, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %39 39: ; preds = %._crit_edge3, %24 %40 = load i32, ptr @EXIT_SUCCESS, align 4 %41 = call i32 @exit(i32 noundef %40) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp88l8o59a.c' source_filename = "/tmp/tmp88l8o59a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"root\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"root1\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"fgap_config\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"/var/run/mysqld/mysqld.sock\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"mysql_init error \00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [25 x i8] c"mysql_real_connect error\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"mysql_real_connect success\0A\00", align 1 @__const.main.sql = private unnamed_addr constant [25 x i8] c"select * from anti_virus\00", align 16 @.str.8 = private unnamed_addr constant [17 x i8] c"%-2s %-18s %-5s\0A\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"ID\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"NAME\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"VALUE\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [25 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr null, ptr %2, align 8 store ptr @.str, ptr %3, align 8 store ptr @.str.1, ptr %4, align 8 store ptr @.str.2, ptr %5, align 8 store ptr @.str.3, ptr %6, align 8 store i32 3306, ptr %7, align 4 store ptr @.str.4, ptr %8, align 8 %12 = load ptr, ptr %2, align 8 %13 = call ptr @mysql_init(ptr noundef %12) store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %20 16: ; preds = %0 %17 = call i32 @perror(ptr noundef @.str.5) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #4 unreachable 20: ; preds = %0 %21 = load ptr, ptr %2, align 8 %22 = load ptr, ptr %3, align 8 %23 = load ptr, ptr %4, align 8 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %7, align 4 %27 = load ptr, ptr %8, align 8 %28 = call ptr @mysql_real_connect(ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, i32 noundef %26, ptr noundef %27, i32 noundef 0) store ptr %28, ptr %2, align 8 %29 = load ptr, ptr %2, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %35, label %31 31: ; preds = %20 %32 = call i32 @perror(ptr noundef @.str.6) %33 = load i32, ptr @EXIT_FAILURE, align 4 %34 = call i32 @exit(i32 noundef %33) #4 unreachable 35: ; preds = %20 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %37 37: ; preds = %35 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.sql, i64 25, i1 false) %38 = load ptr, ptr %2, align 8 %39 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0 %40 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0 %41 = call i64 @strlen(ptr noundef %40) %42 = call i64 @mysql_real_query(ptr noundef %38, ptr noundef %39, i64 noundef %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %45 44: ; preds = %37 br label %65 45: ; preds = %37 %46 = load ptr, ptr %2, align 8 %47 = call ptr @mysql_store_result(ptr noundef %46) store ptr %47, ptr %10, align 8 store ptr null, ptr %11, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.11) br label %49 49: ; preds = %53, %45 %50 = load ptr, ptr %10, align 8 %51 = call ptr @mysql_fetch_row(ptr noundef %50) store ptr %51, ptr %11, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %53, label %64 53: ; preds = %49 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 0 %56 = load ptr, ptr %55, align 8 %57 = load ptr, ptr %11, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 1 %59 = load ptr, ptr %58, align 8 %60 = load ptr, ptr %11, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 2 %62 = load ptr, ptr %61, align 8 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %56, ptr noundef %59, ptr noundef %62) br label %49, !llvm.loop !6 64: ; preds = %49 br label %65 65: ; preds = %64, %44 %66 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %66 } declare ptr @mysql_init(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @mysql_real_connect(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; 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) #3 declare i64 @mysql_real_query(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @mysql_store_result(ptr noundef) #1 declare ptr @mysql_fetch_row(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp88l8o59a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"root\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"root1\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"fgap_config\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"/var/run/mysqld/mysqld.sock\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"mysql_init error \00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [25 x i8] c"mysql_real_connect error\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"mysql_real_connect success\0A\00", align 1 @__const.main.sql = private unnamed_addr constant [25 x i8] c"select * from anti_virus\00", align 16 @.str.8 = private unnamed_addr constant [17 x i8] c"%-2s %-18s %-5s\0A\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"ID\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"NAME\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"VALUE\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [25 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr null, ptr %2, align 8 store ptr @.str, ptr %3, align 8 store ptr @.str.1, ptr %4, align 8 store ptr @.str.2, ptr %5, align 8 store ptr @.str.3, ptr %6, align 8 store i32 3306, ptr %7, align 4 store ptr @.str.4, ptr %8, align 8 %12 = load ptr, ptr %2, align 8 %13 = call ptr @mysql_init(ptr noundef %12) store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %20 16: ; preds = %0 %17 = call i32 @perror(ptr noundef @.str.5) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #4 unreachable 20: ; preds = %0 %21 = load ptr, ptr %2, align 8 %22 = load ptr, ptr %3, align 8 %23 = load ptr, ptr %4, align 8 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %7, align 4 %27 = load ptr, ptr %8, align 8 %28 = call ptr @mysql_real_connect(ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, i32 noundef %26, ptr noundef %27, i32 noundef 0) store ptr %28, ptr %2, align 8 %29 = load ptr, ptr %2, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %35, label %31 31: ; preds = %20 %32 = call i32 @perror(ptr noundef @.str.6) %33 = load i32, ptr @EXIT_FAILURE, align 4 %34 = call i32 @exit(i32 noundef %33) #4 unreachable 35: ; preds = %20 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %37 37: ; preds = %35 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.sql, i64 25, i1 false) %38 = load ptr, ptr %2, align 8 %39 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0 %40 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0 %41 = call i64 @strlen(ptr noundef %40) %42 = call i64 @mysql_real_query(ptr noundef %38, ptr noundef %39, i64 noundef %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %45 44: ; preds = %37 br label %67 45: ; preds = %37 %46 = load ptr, ptr %2, align 8 %47 = call ptr @mysql_store_result(ptr noundef %46) store ptr %47, ptr %10, align 8 store ptr null, ptr %11, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.11) %49 = load ptr, ptr %10, align 8 %50 = call ptr @mysql_fetch_row(ptr noundef %49) store ptr %50, ptr %11, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %.lr.ph, label %66 .lr.ph: ; preds = %45 br label %52 52: ; preds = %.lr.ph, %52 %53 = load ptr, ptr %11, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 0 %55 = load ptr, ptr %54, align 8 %56 = load ptr, ptr %11, align 8 %57 = getelementptr inbounds ptr, ptr %56, i64 1 %58 = load ptr, ptr %57, align 8 %59 = load ptr, ptr %11, align 8 %60 = getelementptr inbounds ptr, ptr %59, i64 2 %61 = load ptr, ptr %60, align 8 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %55, ptr noundef %58, ptr noundef %61) %63 = load ptr, ptr %10, align 8 %64 = call ptr @mysql_fetch_row(ptr noundef %63) store ptr %64, ptr %11, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %52, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %66 66: ; preds = %._crit_edge, %45 br label %67 67: ; preds = %66, %44 %68 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %68 } declare ptr @mysql_init(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @mysql_real_connect(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; 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) #3 declare i64 @mysql_real_query(ptr noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @mysql_store_result(ptr noundef) #1 declare ptr @mysql_fetch_row(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp85ksvleo.c' source_filename = "/tmp/tmp85ksvleo.c" target datalayout = "e-m:e-p270: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 ptr @get_XEvent_xclient_display(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 = inttoptr i64 %6 to ptr ret ptr %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/tmp85ksvleo.c" target datalayout = "e-m:e-p270: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 ptr @get_XEvent_xclient_display(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 = inttoptr i64 %6 to ptr ret ptr %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/tmp5y71jqbu.c' source_filename = "/tmp/tmp5y71jqbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @PF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = 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/tmp5y71jqbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @PF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = 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/tmpb481d4sa.c' source_filename = "/tmp/tmpb481d4sa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hello() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb481d4sa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hello() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_egk2aqm.c' source_filename = "/tmp/tmp_egk2aqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_words(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [8 x i8], align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @print_words_aux(ptr noundef %4, i32 noundef 0, ptr noundef %5, i32 noundef 0) ret void } declare i32 @print_words_aux(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_egk2aqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_words(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [8 x i8], align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @print_words_aux(ptr noundef %4, i32 noundef 0, ptr noundef %5, i32 noundef 0) ret void } declare i32 @print_words_aux(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvup30f5j.c' source_filename = "/tmp/tmpvup30f5j.c" target datalayout = "e-m:e-p270: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/tmpvup30f5j.c" target datalayout = "e-m:e-p270: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/tmp5_bmua6u.c' source_filename = "/tmp/tmp5_bmua6u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.aunion = type { float } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tddfunc6() #0 { %1 = alloca float, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca %union.aunion, align 4 store ptr %1, ptr %2, align 8 %5 = load float, ptr %1, align 4 store float %5, ptr %4, align 4 %6 = load i8, ptr %4, align 4 %7 = zext i8 %6 to i32 %8 = and i32 %7, 255 store i32 %8, ptr %3, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5_bmua6u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.aunion = type { float } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tddfunc6() #0 { %1 = alloca float, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca %union.aunion, align 4 store ptr %1, ptr %2, align 8 %5 = load float, ptr %1, align 4 store float %5, ptr %4, align 4 %6 = load i8, ptr %4, align 4 %7 = zext i8 %6 to i32 %8 = and i32 %7, 255 store i32 %8, ptr %3, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgnfadd00.c' source_filename = "/tmp/tmpgnfadd00.c" target datalayout = "e-m:e-p270: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/tmpgnfadd00.c" target datalayout = "e-m:e-p270: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/tmpo7rwq6w5.c' source_filename = "/tmp/tmpo7rwq6w5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @el_circumference_accuratef(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %7 = load float, ptr %3, align 4 %8 = load float, ptr %4, align 4 %9 = fsub float %7, %8 %10 = load float, ptr %3, align 4 %11 = load float, ptr %4, align 4 %12 = fadd float %10, %11 %13 = fdiv float %9, %12 store float %13, ptr %5, align 4 %14 = load float, ptr %5, align 4 %15 = fmul float 3.000000e+00, %14 %16 = load float, ptr %5, align 4 %17 = fmul float %15, %16 store float %17, ptr %6, align 4 %18 = load float, ptr @M_PI, align 4 %19 = load float, ptr %3, align 4 %20 = load float, ptr %4, align 4 %21 = fadd float %19, %20 %22 = fmul float %18, %21 %23 = load float, ptr %6, align 4 %24 = load float, ptr %6, align 4 %25 = fsub float 4.000000e+00, %24 %26 = call float @sqrtf(float noundef %25) #2 %27 = fadd float 1.000000e+01, %26 %28 = fdiv float %23, %27 %29 = fadd float 1.000000e+00, %28 %30 = fmul float %22, %29 ret float %30 } ; Function Attrs: nounwind declare float @sqrtf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpo7rwq6w5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @el_circumference_accuratef(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %7 = load float, ptr %3, align 4 %8 = load float, ptr %4, align 4 %9 = fsub float %7, %8 %10 = load float, ptr %3, align 4 %11 = load float, ptr %4, align 4 %12 = fadd float %10, %11 %13 = fdiv float %9, %12 store float %13, ptr %5, align 4 %14 = load float, ptr %5, align 4 %15 = fmul float 3.000000e+00, %14 %16 = load float, ptr %5, align 4 %17 = fmul float %15, %16 store float %17, ptr %6, align 4 %18 = load float, ptr @M_PI, align 4 %19 = load float, ptr %3, align 4 %20 = load float, ptr %4, align 4 %21 = fadd float %19, %20 %22 = fmul float %18, %21 %23 = load float, ptr %6, align 4 %24 = load float, ptr %6, align 4 %25 = fsub float 4.000000e+00, %24 %26 = call float @sqrtf(float noundef %25) #2 %27 = fadd float 1.000000e+01, %26 %28 = fdiv float %23, %27 %29 = fadd float 1.000000e+00, %28 %30 = fmul float %22, %29 ret float %30 } ; Function Attrs: nounwind declare float @sqrtf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpw3i9n10m.c' source_filename = "/tmp/tmpw3i9n10m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.0f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @GetSdpId(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 0 store i8 0, ptr %5, align 1 %6 = call i64 @time(ptr noundef null) store i64 %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = load i64, ptr %3, align 8 %9 = sitofp i64 %8 to float %10 = fadd float %9, 0x41E0754FC0000000 %11 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, float noundef %10) %12 = load ptr, ptr %2, align 8 ret ptr %12 } declare i64 @time(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw3i9n10m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.0f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @GetSdpId(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 0 store i8 0, ptr %5, align 1 %6 = call i64 @time(ptr noundef null) store i64 %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = load i64, ptr %3, align 8 %9 = sitofp i64 %8 to float %10 = fadd float %9, 0x41E0754FC0000000 %11 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, float noundef %10) %12 = load ptr, ptr %2, align 8 ret ptr %12 } declare i64 @time(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9vnm_rbw.c' source_filename = "/tmp/tmp9vnm_rbw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %18, %0 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %8 %10 = call i64 @scanf(ptr noundef @.str, ptr noundef %9) %11 = load i64, ptr @EOF, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %13, label %16 13: ; preds = %6 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 50 br label %16 16: ; preds = %13, %6 %17 = phi i1 [ false, %6 ], [ %15, %13 ] br i1 %17, label %18, label %21 18: ; preds = %16 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %6, !llvm.loop !6 21: ; preds = %16 %22 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 store ptr %22, ptr %5, align 8 br label %23 23: ; preds = %45, %21 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %24, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 29: ; preds = %23 %30 = load ptr, ptr %5, align 8 %31 = call ptr @hop(ptr noundef %30) store ptr %31, ptr %5, align 8 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 %34 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 %35 = load i32, ptr %4, align 4 %36 = load ptr, ptr %5, align 8 %37 = call i64 @is_in_bound(ptr noundef %34, i32 noundef %35, ptr noundef %36) %38 = icmp eq i64 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %29 %40 = load i32, ptr %3, align 4 %41 = icmp sgt i32 %40, 49 br i1 %41, label %42, label %44 42: ; preds = %39, %29 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %46 44: ; preds = %39 br label %45 45: ; preds = %44 br i1 true, label %23, label %46 46: ; preds = %45, %42, %27 %47 = load i32, ptr %3, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47) ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @hop(ptr noundef) #1 declare i64 @is_in_bound(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9vnm_rbw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %18, %0 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %8 %10 = call i64 @scanf(ptr noundef @.str, ptr noundef %9) %11 = load i64, ptr @EOF, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %13, label %16 13: ; preds = %6 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 50 br label %16 16: ; preds = %13, %6 %17 = phi i1 [ false, %6 ], [ %15, %13 ] br i1 %17, label %18, label %21 18: ; preds = %16 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %6, !llvm.loop !6 21: ; preds = %16 %22 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 store ptr %22, ptr %5, align 8 br label %23 23: ; preds = %45, %21 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %24, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 29: ; preds = %23 %30 = load ptr, ptr %5, align 8 %31 = call ptr @hop(ptr noundef %30) store ptr %31, ptr %5, align 8 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 %34 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 %35 = load i32, ptr %4, align 4 %36 = load ptr, ptr %5, align 8 %37 = call i64 @is_in_bound(ptr noundef %34, i32 noundef %35, ptr noundef %36) %38 = icmp eq i64 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %29 %40 = load i32, ptr %3, align 4 %41 = icmp sgt i32 %40, 49 br i1 %41, label %42, label %44 42: ; preds = %39, %29 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %46 44: ; preds = %39 br label %45 45: ; preds = %44 br i1 true, label %23, label %.loopexit .loopexit: ; preds = %45 br label %46 46: ; preds = %.loopexit, %42, %27 %47 = load i32, ptr %3, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47) ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @hop(ptr noundef) #1 declare i64 @is_in_bound(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpht0i83ej.c' source_filename = "/tmp/tmpht0i83ej.c" target datalayout = "e-m:e-p270: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/tmpht0i83ej.c" target datalayout = "e-m:e-p270: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/tmpmzip6htv.c' source_filename = "/tmp/tmpmzip6htv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_to_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca [10 x i8], align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 call void @llvm.memset.p0.i64(ptr align 1 %4, i8 0, i64 10, i1 false) %7 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strcpy(ptr noundef %7, ptr noundef %8) br label %10 10: ; preds = %26, %1 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %10 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 10 br label %24 24: ; preds = %17, %10 %25 = phi i1 [ false, %10 ], [ %23, %17 ] br i1 %25, label %26, label %29 26: ; preds = %24 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %10, !llvm.loop !6 29: ; preds = %24 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %3, align 4 store i32 0, ptr %5, align 4 store i32 1, ptr %6, align 4 br label %32 32: ; preds = %35, %29 %33 = load i32, ptr %3, align 4 %34 = icmp sge i32 %33, 0 br i1 %34, label %35, label %59 35: ; preds = %32 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = sub nsw i32 %40, 48 %42 = trunc i32 %41 to i8 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %44 store i8 %42, ptr %45, align 1 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %3, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = load i32, ptr %6, align 4 %53 = mul nsw i32 %51, %52 %54 = add nsw i32 %46, %53 store i32 %54, ptr %5, align 4 %55 = load i32, ptr %3, align 4 %56 = add nsw i32 %55, -1 store i32 %56, ptr %3, align 4 %57 = load i32, ptr %6, align 4 %58 = mul nsw i32 %57, 10 store i32 %58, ptr %6, align 4 br label %32, !llvm.loop !8 59: ; preds = %32 %60 = load i32, ptr %5, align 4 ret i32 %60 } ; 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 @strcpy(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmzip6htv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_to_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca [10 x i8], align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 call void @llvm.memset.p0.i64(ptr align 1 %4, i8 0, i64 10, i1 false) %7 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strcpy(ptr noundef %7, ptr noundef %8) br label %10 10: ; preds = %26, %1 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %10 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 10 br label %24 24: ; preds = %17, %10 %25 = phi i1 [ false, %10 ], [ %23, %17 ] br i1 %25, label %26, label %29 26: ; preds = %24 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %10, !llvm.loop !6 29: ; preds = %24 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %3, align 4 store i32 0, ptr %5, align 4 store i32 1, ptr %6, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp sge i32 %32, 0 br i1 %33, label %.lr.ph, label %60 .lr.ph: ; preds = %29 br label %34 34: ; preds = %.lr.ph, %34 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = sub nsw i32 %39, 48 %41 = trunc i32 %40 to i8 %42 = load i32, ptr %3, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %43 store i8 %41, ptr %44, align 1 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = load i32, ptr %6, align 4 %52 = mul nsw i32 %50, %51 %53 = add nsw i32 %45, %52 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %3, align 4 %55 = add nsw i32 %54, -1 store i32 %55, ptr %3, align 4 %56 = load i32, ptr %6, align 4 %57 = mul nsw i32 %56, 10 store i32 %57, ptr %6, align 4 %58 = load i32, ptr %3, align 4 %59 = icmp sge i32 %58, 0 br i1 %59, label %34, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %34 br label %60 60: ; preds = %._crit_edge, %29 %61 = load i32, ptr %5, align 4 ret i32 %61 } ; 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 @strcpy(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp92k7h800.c' source_filename = "/tmp/tmp92k7h800.c" target datalayout = "e-m:e-p270: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.score = private unnamed_addr constant [3 x [4 x float]] [[4 x float] [float 6.000000e+01, float 7.000000e+01, float 8.000000e+01, float 9.000000e+01], [4 x float] [float 5.600000e+01, float 8.900000e+01, float 6.700000e+01, float 8.800000e+01], [4 x float] [float 3.400000e+01, float 7.800000e+01, float 9.000000e+01, float 6.600000e+01]], align 16 @.str = private unnamed_addr constant [14 x i8] c"No.%d score:\09\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%5.2f\09\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x [4 x float]], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.score, i64 48, i1 false) store i32 0, ptr %4, align 4 br label %6 6: ; preds = %42, %0 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %9, label %45 9: ; preds = %6 %10 = getelementptr inbounds [3 x [4 x float]], ptr %2, i64 0, i64 0 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [4 x float], ptr %10, i64 %12 %14 = call ptr @search(ptr noundef %13) store ptr %14, ptr %3, align 8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds [3 x [4 x float]], ptr %2, i64 0, i64 0 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [4 x float], ptr %16, i64 %18 %20 = getelementptr inbounds [4 x float], ptr %19, i64 0, i64 0 %21 = icmp eq ptr %15, %20 br i1 %21, label %22, label %40 22: ; preds = %9 %23 = load i32, ptr %4, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23) store i32 0, ptr %5, align 4 br label %25 25: ; preds = %36, %22 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %26, 4 br i1 %27, label %28, label %39 28: ; preds = %25 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds float, ptr %29, i64 %31 %33 = load float, ptr %32, align 4 %34 = fpext float %33 to double %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %34) br label %36 36: ; preds = %28 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 br label %25, !llvm.loop !6 39: ; preds = %25 br label %40 40: ; preds = %39, %9 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %42 42: ; preds = %40 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 br label %6, !llvm.loop !8 45: ; preds = %6 %46 = load i32, ptr %1, align 4 ret i32 %46 } ; 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 ptr @search(ptr noundef) #2 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92k7h800.c" target datalayout = "e-m:e-p270: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.score = private unnamed_addr constant [3 x [4 x float]] [[4 x float] [float 6.000000e+01, float 7.000000e+01, float 8.000000e+01, float 9.000000e+01], [4 x float] [float 5.600000e+01, float 8.900000e+01, float 6.700000e+01, float 8.800000e+01], [4 x float] [float 3.400000e+01, float 7.800000e+01, float 9.000000e+01, float 6.600000e+01]], align 16 @.str = private unnamed_addr constant [14 x i8] c"No.%d score:\09\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%5.2f\09\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x [4 x float]], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.score, i64 48, i1 false) store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %.lr.ph2, label %47 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %42 %9 = getelementptr inbounds [3 x [4 x float]], ptr %2, i64 0, i64 0 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [4 x float], ptr %9, i64 %11 %13 = call ptr @search(ptr noundef %12) store ptr %13, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds [3 x [4 x float]], ptr %2, i64 0, i64 0 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [4 x float], ptr %15, i64 %17 %19 = getelementptr inbounds [4 x float], ptr %18, i64 0, i64 0 %20 = icmp eq ptr %14, %19 br i1 %20, label %21, label %40 21: ; preds = %8 %22 = load i32, ptr %4, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22) store i32 0, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %.lr.ph, label %39 .lr.ph: ; preds = %21 br label %26 26: ; preds = %.lr.ph, %34 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds float, ptr %27, i64 %29 %31 = load float, ptr %30, align 4 %32 = fpext float %31 to double %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %32) br label %34 34: ; preds = %26 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = icmp slt i32 %37, 4 br i1 %38, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %39 39: ; preds = %._crit_edge, %21 br label %40 40: ; preds = %39, %8 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %42 42: ; preds = %40 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %45, 3 br i1 %46, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %47 47: ; preds = %._crit_edge3, %0 %48 = load i32, ptr %1, align 4 ret i32 %48 } ; 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 ptr @search(ptr noundef) #2 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp3zaqi6uq.c' source_filename = "/tmp/tmp3zaqi6uq.c" target datalayout = "e-m:e-p270: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 @stdout = dso_local global ptr null, 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/tmp3zaqi6uq.c" target datalayout = "e-m:e-p270: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 @stdout = dso_local global ptr null, 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/tmp0cjlifsk.c' source_filename = "/tmp/tmp0cjlifsk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OBJ_create_objects(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [512 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %6, align 4 store ptr null, ptr %9, align 8 br label %10 10: ; preds = %131, %1 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %13 = call i32 @BIO_gets(ptr noundef %11, ptr noundef %12, i32 noundef 512) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp sle i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %10 %17 = load i32, ptr %6, align 4 store i32 %17, ptr %2, align 4 br label %134 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = sub nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 %21 store i8 0, ptr %22, align 1 %23 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %24 = load i8, ptr %23, align 16 %25 = call i32 @isalnum(i8 noundef zeroext %24) %26 = icmp ne i32 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %18 %28 = load i32, ptr %6, align 4 store i32 %28, ptr %2, align 4 br label %134 29: ; preds = %18 %30 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 store ptr %30, ptr %8, align 8 store ptr %30, ptr %7, align 8 br label %31 31: ; preds = %43, %29 %32 = load ptr, ptr %8, align 8 %33 = load i8, ptr %32, align 1 %34 = call i64 @isdigit(i8 noundef zeroext %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %41, label %36 36: ; preds = %31 %37 = load ptr, ptr %8, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 46 br label %41 41: ; preds = %36, %31 %42 = phi i1 [ true, %31 ], [ %40, %36 ] br i1 %42, label %43, label %46 43: ; preds = %41 %44 = load ptr, ptr %8, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %8, align 8 br label %31, !llvm.loop !6 46: ; preds = %41 %47 = load ptr, ptr %8, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %112 51: ; preds = %46 %52 = load ptr, ptr %8, align 8 %53 = getelementptr inbounds i8, ptr %52, i32 1 store ptr %53, ptr %8, align 8 store i8 0, ptr %52, align 1 br label %54 54: ; preds = %59, %51 %55 = load ptr, ptr %8, align 8 %56 = load i8, ptr %55, align 1 %57 = call i64 @isspace(i8 noundef zeroext %56) %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %54 %60 = load ptr, ptr %8, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %8, align 8 br label %54, !llvm.loop !8 62: ; preds = %54 %63 = load ptr, ptr %8, align 8 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %62 store ptr null, ptr %8, align 8 br label %111 68: ; preds = %62 %69 = load ptr, ptr %8, align 8 store ptr %69, ptr %9, align 8 br label %70 70: ; preds = %83, %68 %71 = load ptr, ptr %9, align 8 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %81 75: ; preds = %70 %76 = load ptr, ptr %9, align 8 %77 = load i8, ptr %76, align 1 %78 = call i64 @isspace(i8 noundef zeroext %77) %79 = icmp ne i64 %78, 0 %80 = xor i1 %79, true br label %81 81: ; preds = %75, %70 %82 = phi i1 [ false, %70 ], [ %80, %75 ] br i1 %82, label %83, label %86 83: ; preds = %81 %84 = load ptr, ptr %9, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %9, align 8 br label %70, !llvm.loop !9 86: ; preds = %81 %87 = load ptr, ptr %9, align 8 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp ne i32 %89, 0 br i1 %90, label %91, label %109 91: ; preds = %86 %92 = load ptr, ptr %9, align 8 %93 = getelementptr inbounds i8, ptr %92, i32 1 store ptr %93, ptr %9, align 8 store i8 0, ptr %92, align 1 br label %94 94: ; preds = %99, %91 %95 = load ptr, ptr %9, align 8 %96 = load i8, ptr %95, align 1 %97 = call i64 @isspace(i8 noundef zeroext %96) %98 = icmp ne i64 %97, 0 br i1 %98, label %99, label %102 99: ; preds = %94 %100 = load ptr, ptr %9, align 8 %101 = getelementptr inbounds i8, ptr %100, i32 1 store ptr %101, ptr %9, align 8 br label %94, !llvm.loop !10 102: ; preds = %94 %103 = load ptr, ptr %9, align 8 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp eq i32 %105, 0 br i1 %106, label %107, label %108 107: ; preds = %102 store ptr null, ptr %9, align 8 br label %108 108: ; preds = %107, %102 br label %110 109: ; preds = %86 store ptr null, ptr %9, align 8 br label %110 110: ; preds = %109, %108 br label %111 111: ; preds = %110, %67 br label %113 112: ; preds = %46 store ptr null, ptr %8, align 8 br label %113 113: ; preds = %112, %111 %114 = load ptr, ptr %7, align 8 %115 = icmp eq ptr %114, null br i1 %115, label %121, label %116 116: ; preds = %113 %117 = load ptr, ptr %7, align 8 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = icmp eq i32 %119, 0 br i1 %120, label %121, label %123 121: ; preds = %116, %113 %122 = load i32, ptr %6, align 4 store i32 %122, ptr %2, align 4 br label %134 123: ; preds = %116 %124 = load ptr, ptr %7, align 8 %125 = load ptr, ptr %8, align 8 %126 = load ptr, ptr %9, align 8 %127 = call i32 @OBJ_create(ptr noundef %124, ptr noundef %125, ptr noundef %126) %128 = icmp ne i32 %127, 0 br i1 %128, label %131, label %129 129: ; preds = %123 %130 = load i32, ptr %6, align 4 store i32 %130, ptr %2, align 4 br label %134 131: ; preds = %123 %132 = load i32, ptr %6, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %6, align 4 br label %10 134: ; preds = %129, %121, %27, %16 %135 = load i32, ptr %2, align 4 ret i32 %135 } declare i32 @BIO_gets(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isalnum(i8 noundef zeroext) #1 declare i64 @isdigit(i8 noundef zeroext) #1 declare i64 @isspace(i8 noundef zeroext) #1 declare i32 @OBJ_create(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0cjlifsk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OBJ_create_objects(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [512 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %6, align 4 store ptr null, ptr %9, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %12 = call i32 @BIO_gets(ptr noundef %10, ptr noundef %11, i32 noundef 512) store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp sle i32 %13, 0 br i1 %14, label %15, label %.lr.ph5 .lr.ph5: ; preds = %1 br label %17 ._crit_edge6: ; preds = %136 br label %15 15: ; preds = %._crit_edge6, %1 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %2, align 4 br label %143 17: ; preds = %.lr.ph5, %136 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 %20 store i8 0, ptr %21, align 1 %22 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %23 = load i8, ptr %22, align 16 %24 = call i32 @isalnum(i8 noundef zeroext %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %17 %27 = load i32, ptr %6, align 4 store i32 %27, ptr %2, align 4 br label %143 28: ; preds = %17 %29 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 store ptr %29, ptr %8, align 8 store ptr %29, ptr %7, align 8 br label %30 30: ; preds = %42, %28 %31 = load ptr, ptr %8, align 8 %32 = load i8, ptr %31, align 1 %33 = call i64 @isdigit(i8 noundef zeroext %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %40, label %35 35: ; preds = %30 %36 = load ptr, ptr %8, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 46 br label %40 40: ; preds = %35, %30 %41 = phi i1 [ true, %30 ], [ %39, %35 ] br i1 %41, label %42, label %45 42: ; preds = %40 %43 = load ptr, ptr %8, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %8, align 8 br label %30, !llvm.loop !6 45: ; preds = %40 %46 = load ptr, ptr %8, align 8 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %117 50: ; preds = %45 %51 = load ptr, ptr %8, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %8, align 8 store i8 0, ptr %51, align 1 %53 = load ptr, ptr %8, align 8 %54 = load i8, ptr %53, align 1 %55 = call i64 @isspace(i8 noundef zeroext %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %.lr.ph, label %64 .lr.ph: ; preds = %50 br label %57 57: ; preds = %.lr.ph, %57 %58 = load ptr, ptr %8, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr %8, align 8 %60 = load ptr, ptr %8, align 8 %61 = load i8, ptr %60, align 1 %62 = call i64 @isspace(i8 noundef zeroext %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %57, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %57 br label %64 64: ; preds = %._crit_edge, %50 %65 = load ptr, ptr %8, align 8 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %70 69: ; preds = %64 store ptr null, ptr %8, align 8 br label %116 70: ; preds = %64 %71 = load ptr, ptr %8, align 8 store ptr %71, ptr %9, align 8 br label %72 72: ; preds = %85, %70 %73 = load ptr, ptr %9, align 8 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %83 77: ; preds = %72 %78 = load ptr, ptr %9, align 8 %79 = load i8, ptr %78, align 1 %80 = call i64 @isspace(i8 noundef zeroext %79) %81 = icmp ne i64 %80, 0 %82 = xor i1 %81, true br label %83 83: ; preds = %77, %72 %84 = phi i1 [ false, %72 ], [ %82, %77 ] br i1 %84, label %85, label %88 85: ; preds = %83 %86 = load ptr, ptr %9, align 8 %87 = getelementptr inbounds i8, ptr %86, i32 1 store ptr %87, ptr %9, align 8 br label %72, !llvm.loop !9 88: ; preds = %83 %89 = load ptr, ptr %9, align 8 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %114 93: ; preds = %88 %94 = load ptr, ptr %9, align 8 %95 = getelementptr inbounds i8, ptr %94, i32 1 store ptr %95, ptr %9, align 8 store i8 0, ptr %94, align 1 %96 = load ptr, ptr %9, align 8 %97 = load i8, ptr %96, align 1 %98 = call i64 @isspace(i8 noundef zeroext %97) %99 = icmp ne i64 %98, 0 br i1 %99, label %.lr.ph2, label %107 .lr.ph2: ; preds = %93 br label %100 100: ; preds = %.lr.ph2, %100 %101 = load ptr, ptr %9, align 8 %102 = getelementptr inbounds i8, ptr %101, i32 1 store ptr %102, ptr %9, align 8 %103 = load ptr, ptr %9, align 8 %104 = load i8, ptr %103, align 1 %105 = call i64 @isspace(i8 noundef zeroext %104) %106 = icmp ne i64 %105, 0 br i1 %106, label %100, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %100 br label %107 107: ; preds = %._crit_edge3, %93 %108 = load ptr, ptr %9, align 8 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %113 112: ; preds = %107 store ptr null, ptr %9, align 8 br label %113 113: ; preds = %112, %107 br label %115 114: ; preds = %88 store ptr null, ptr %9, align 8 br label %115 115: ; preds = %114, %113 br label %116 116: ; preds = %115, %69 br label %118 117: ; preds = %45 store ptr null, ptr %8, align 8 br label %118 118: ; preds = %117, %116 %119 = load ptr, ptr %7, align 8 %120 = icmp eq ptr %119, null br i1 %120, label %126, label %121 121: ; preds = %118 %122 = load ptr, ptr %7, align 8 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = icmp eq i32 %124, 0 br i1 %125, label %126, label %128 126: ; preds = %121, %118 %127 = load i32, ptr %6, align 4 store i32 %127, ptr %2, align 4 br label %143 128: ; preds = %121 %129 = load ptr, ptr %7, align 8 %130 = load ptr, ptr %8, align 8 %131 = load ptr, ptr %9, align 8 %132 = call i32 @OBJ_create(ptr noundef %129, ptr noundef %130, ptr noundef %131) %133 = icmp ne i32 %132, 0 br i1 %133, label %136, label %134 134: ; preds = %128 %135 = load i32, ptr %6, align 4 store i32 %135, ptr %2, align 4 br label %143 136: ; preds = %128 %137 = load i32, ptr %6, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %6, align 4 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 %139 = load ptr, ptr %3, align 8 %140 = call i32 @BIO_gets(ptr noundef %139, ptr noundef %11, i32 noundef 512) store i32 %140, ptr %5, align 4 %141 = load i32, ptr %5, align 4 %142 = icmp sle i32 %141, 0 br i1 %142, label %._crit_edge6, label %17 143: ; preds = %134, %126, %26, %15 %144 = load i32, ptr %2, align 4 ret i32 %144 } declare i32 @BIO_gets(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isalnum(i8 noundef zeroext) #1 declare i64 @isdigit(i8 noundef zeroext) #1 declare i64 @isspace(i8 noundef zeroext) #1 declare i32 @OBJ_create(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpmxbdx7zi.c' source_filename = "/tmp/tmpmxbdx7zi.c" target datalayout = "e-m:e-p270: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 @EAGAIN = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @xpwritev(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 br label %10 10: ; preds = %26, %4 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = call i64 @pwritev(i32 noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14) store i64 %15, ptr %9, align 8 %16 = load i64, ptr %9, align 8 %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %27 18: ; preds = %10 %19 = load i64, ptr @errno, align 8 %20 = load i64, ptr @EAGAIN, align 8 %21 = icmp eq i64 %19, %20 br i1 %21, label %26, label %22 22: ; preds = %18 %23 = load i64, ptr @errno, align 8 %24 = load i64, ptr @EINTR, align 8 %25 = icmp eq i64 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %22, %18 br label %10 27: ; preds = %22, %10 %28 = load i64, ptr %9, align 8 ret i64 %28 } declare i64 @pwritev(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmxbdx7zi.c" target datalayout = "e-m:e-p270: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 @EAGAIN = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @xpwritev(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %8, align 4 %14 = call i64 @pwritev(i32 noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef %13) store i64 %14, ptr %9, align 8 %15 = load i64, ptr %9, align 8 %16 = icmp slt i64 %15, 0 br i1 %16, label %.lr.ph, label %33 .lr.ph: ; preds = %4 br label %17 17: ; preds = %.lr.ph, %25 %18 = load i64, ptr @errno, align 8 %19 = load i64, ptr @EAGAIN, align 8 %20 = icmp eq i64 %18, %19 br i1 %20, label %25, label %21 21: ; preds = %17 %22 = load i64, ptr @errno, align 8 %23 = load i64, ptr @EINTR, align 8 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %._crit_edge 25: ; preds = %21, %17 %26 = load i32, ptr %5, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %8, align 4 %30 = call i64 @pwritev(i32 noundef %26, ptr noundef %27, i32 noundef %28, i32 noundef %29) store i64 %30, ptr %9, align 8 %31 = load i64, ptr %9, align 8 %32 = icmp slt i64 %31, 0 br i1 %32, label %17, label %._crit_edge1 ._crit_edge: ; preds = %21 br label %33 ._crit_edge1: ; preds = %25 br label %33 33: ; preds = %._crit_edge1, %._crit_edge, %4 %34 = load i64, ptr %9, align 8 ret i64 %34 } declare i64 @pwritev(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp97se7iy4.c' source_filename = "/tmp/tmp97se7iy4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Wtree module running tests\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Wtree module 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 @printf(ptr noundef @.str) %3 = call i32 (...) @test_wtree_compare() %4 = call i32 (...) @test_wtree_construct() %5 = call i32 (...) @test_wtree_tostring() %6 = call i32 (...) @test_wtree_push() %7 = call i32 (...) @test_wtree_get_intervals() %8 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @test_wtree_compare(...) #1 declare i32 @test_wtree_construct(...) #1 declare i32 @test_wtree_tostring(...) #1 declare i32 @test_wtree_push(...) #1 declare i32 @test_wtree_get_intervals(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp97se7iy4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Wtree module running tests\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Wtree module 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 @printf(ptr noundef @.str) %3 = call i32 (...) @test_wtree_compare() %4 = call i32 (...) @test_wtree_construct() %5 = call i32 (...) @test_wtree_tostring() %6 = call i32 (...) @test_wtree_push() %7 = call i32 (...) @test_wtree_get_intervals() %8 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @test_wtree_compare(...) #1 declare i32 @test_wtree_construct(...) #1 declare i32 @test_wtree_tostring(...) #1 declare i32 @test_wtree_push(...) #1 declare i32 @test_wtree_get_intervals(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq063wmpo.c' source_filename = "/tmp/tmpq063wmpo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dj_string_toLowerCase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %7, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %7, label %17 7: ; preds = %3 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @printf(ptr noundef @.str, i8 noundef signext %9) %11 = load ptr, ptr %2, align 8 %12 = load i8, ptr %11, align 1 %13 = call signext i8 @tolower(i8 noundef signext %12) %14 = load ptr, ptr %2, align 8 store i8 %13, ptr %14, align 1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %2, align 8 br label %3, !llvm.loop !6 17: ; preds = %3 ret void } declare i32 @printf(ptr noundef, i8 noundef signext) #1 declare signext i8 @tolower(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/tmpq063wmpo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dj_string_toLowerCase(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 i8, ptr %3, align 1 %5 = icmp ne i8 %4, 0 br i1 %5, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %6 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = call i32 @printf(ptr noundef @.str, i8 noundef signext %8) %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = call signext i8 @tolower(i8 noundef signext %11) %13 = load ptr, ptr %2, align 8 store i8 %12, ptr %13, align 1 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %2, align 8 %16 = load ptr, ptr %2, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %19 19: ; preds = %._crit_edge, %1 ret void } declare i32 @printf(ptr noundef, i8 noundef signext) #1 declare signext i8 @tolower(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/tmpqxrrs6f9.c' source_filename = "/tmp/tmpqxrrs6f9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @h(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 = load i8, ptr %4, align 1 %6 = zext i8 %5 to i32 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 255 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 (...) @f() br label %13 11: ; preds = %1 %12 = call i32 (...) @g() br label %13 13: ; preds = %11, %9 ret void } declare i32 @f(...) #1 declare i32 @g(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqxrrs6f9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @h(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 = load i8, ptr %4, align 1 %6 = zext i8 %5 to i32 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 255 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 (...) @f() br label %13 11: ; preds = %1 %12 = call i32 (...) @g() br label %13 13: ; preds = %11, %9 ret void } declare i32 @f(...) #1 declare i32 @g(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0g22q_lx.c' source_filename = "/tmp/tmp0g22q_lx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"\0A--a94e2gfwdd--\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"$success\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"$shudown\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @trap_sigsegv(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @puts(ptr noundef @.str) %5 = call i32 @puts(ptr noundef @.str.1) %6 = call i32 @puts(ptr noundef @.str.2) br label %7 7: ; preds = %1, %7 br label %7 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0g22q_lx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"\0A--a94e2gfwdd--\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"$success\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"$shudown\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @trap_sigsegv(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @puts(ptr noundef @.str) %5 = call i32 @puts(ptr noundef @.str.1) %6 = call i32 @puts(ptr noundef @.str.2) br label %7 7: ; preds = %7, %1 br label %7 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnwro8l60.c' source_filename = "/tmp/tmpnwro8l60.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 Z\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x5a() #0 { %1 = call i64 @isbdigit(i32 noundef 90) %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 455, 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/tmpnwro8l60.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 Z\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x5a() #0 { %1 = call i64 @isbdigit(i32 noundef 90) %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 455, 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/tmpjd_7mosy.c' source_filename = "/tmp/tmpjd_7mosy.c" target datalayout = "e-m:e-p270: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 } @db_last_modified.date = internal global [20 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [18 x i8] c"%Y-%m-%d %H:%M:%S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @db_last_modified(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @stat(ptr noundef %4, ptr noundef %3) %6 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %7 = call i32 @localtime(ptr noundef %6) %8 = call i32 @strftime(ptr noundef @db_last_modified.date, i32 noundef 20, ptr noundef @.str, i32 noundef %7) ret ptr @db_last_modified.date } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @localtime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjd_7mosy.c" target datalayout = "e-m:e-p270: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 } @db_last_modified.date = internal global [20 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [18 x i8] c"%Y-%m-%d %H:%M:%S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @db_last_modified(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @stat(ptr noundef %4, ptr noundef %3) %6 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %7 = call i32 @localtime(ptr noundef %6) %8 = call i32 @strftime(ptr noundef @db_last_modified.date, i32 noundef 20, ptr noundef @.str, i32 noundef %7) ret ptr @db_last_modified.date } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @localtime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpomq1hanr.c' source_filename = "/tmp/tmpomq1hanr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGTERM = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @SIGINT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"pid\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @SIGTERM, align 4 %8 = load i32, ptr @SIG_IGN, align 4 %9 = call i32 @signal(i32 noundef %7, i32 noundef %8) %10 = load i32, ptr @SIGINT, align 4 %11 = load i32, ptr @SIG_IGN, align 4 %12 = call i32 @signal(i32 noundef %10, i32 noundef %11) %13 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 (...) @getpid() %16 = call i32 @fprintf(ptr noundef %14, ptr noundef @.str.2, i32 noundef %15) %17 = load ptr, ptr %6, align 8 %18 = call i32 @fclose(ptr noundef %17) %19 = call i32 (...) @pause() ret i32 0 } declare i32 @signal(i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @pause(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpomq1hanr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGTERM = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @SIGINT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"pid\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @SIGTERM, align 4 %8 = load i32, ptr @SIG_IGN, align 4 %9 = call i32 @signal(i32 noundef %7, i32 noundef %8) %10 = load i32, ptr @SIGINT, align 4 %11 = load i32, ptr @SIG_IGN, align 4 %12 = call i32 @signal(i32 noundef %10, i32 noundef %11) %13 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 (...) @getpid() %16 = call i32 @fprintf(ptr noundef %14, ptr noundef @.str.2, i32 noundef %15) %17 = load ptr, ptr %6, align 8 %18 = call i32 @fclose(ptr noundef %17) %19 = call i32 (...) @pause() ret i32 0 } declare i32 @signal(i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @pause(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuo70aeo3.c' source_filename = "/tmp/tmpuo70aeo3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ini_parse_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [200 x i8], align 16 %8 = alloca [50 x i8], align 16 %9 = alloca [50 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 50, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 50, i1 false) store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %16 16: ; preds = %191, %3 %17 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 %18 = load ptr, ptr %4, align 8 %19 = call ptr @fgets(ptr noundef %17, i32 noundef 200, ptr noundef %18) %20 = icmp ne ptr %19, null br i1 %20, label %21, label %192 21: ; preds = %16 %22 = load i32, ptr %14, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %14, align 4 %24 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 store ptr %24, ptr %10, align 8 %25 = load i32, ptr %14, align 4 %26 = icmp eq i32 %25, 1 br i1 %26, label %27, label %48 27: ; preds = %21 %28 = load ptr, ptr %10, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 0 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = icmp eq i32 %31, 239 br i1 %32, label %33, label %48 33: ; preds = %27 %34 = load ptr, ptr %10, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 1 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = icmp eq i32 %37, 187 br i1 %38, label %39, label %48 39: ; preds = %33 %40 = load ptr, ptr %10, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 2 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 191 br i1 %44, label %45, label %48 45: ; preds = %39 %46 = load ptr, ptr %10, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 3 store ptr %47, ptr %10, align 8 br label %48 48: ; preds = %45, %39, %33, %27, %21 %49 = load ptr, ptr %10, align 8 %50 = call ptr @rstrip(ptr noundef %49) %51 = call ptr @lskip(ptr noundef %50) store ptr %51, ptr %10, align 8 %52 = load ptr, ptr %10, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 59 br i1 %55, label %61, label %56 56: ; preds = %48 %57 = load ptr, ptr %10, align 8 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 35 br i1 %60, label %61, label %62 61: ; preds = %56, %48 br label %191 62: ; preds = %56 %63 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %64 = load i8, ptr %63, align 16 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %90 67: ; preds = %62 %68 = load ptr, ptr %10, align 8 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %90 72: ; preds = %67 %73 = load ptr, ptr %10, align 8 %74 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 %75 = icmp ugt ptr %73, %74 br i1 %75, label %76, label %90 76: ; preds = %72 %77 = load ptr, ptr %5, align 8 %78 = load ptr, ptr %6, align 8 %79 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %80 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %81 = load ptr, ptr %10, align 8 %82 = call i32 %77(ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81) %83 = icmp ne i32 %82, 0 br i1 %83, label %89, label %84 84: ; preds = %76 %85 = load i32, ptr %15, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %89, label %87 87: ; preds = %84 %88 = load i32, ptr %14, align 4 store i32 %88, ptr %15, align 4 br label %89 89: ; preds = %87, %84, %76 br label %190 90: ; preds = %72, %67, %62 %91 = load ptr, ptr %10, align 8 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 91 br i1 %94, label %95, label %117 95: ; preds = %90 %96 = load ptr, ptr %10, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 1 %98 = call ptr @find_char_or_comment(ptr noundef %97, i8 noundef signext 93) store ptr %98, ptr %11, align 8 %99 = load ptr, ptr %11, align 8 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp eq i32 %101, 93 br i1 %102, label %103, label %110 103: ; preds = %95 %104 = load ptr, ptr %11, align 8 store i8 0, ptr %104, align 1 %105 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %106 = load ptr, ptr %10, align 8 %107 = getelementptr inbounds i8, ptr %106, i64 1 %108 = call i32 @strncpy0(ptr noundef %105, ptr noundef %107, i32 noundef 50) %109 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 store i8 0, ptr %109, align 16 br label %116 110: ; preds = %95 %111 = load i32, ptr %15, align 4 %112 = icmp ne i32 %111, 0 br i1 %112, label %115, label %113 113: ; preds = %110 %114 = load i32, ptr %14, align 4 store i32 %114, ptr %15, align 4 br label %115 115: ; preds = %113, %110 br label %116 116: ; preds = %115, %103 br label %189 117: ; preds = %90 %118 = load ptr, ptr %10, align 8 %119 = load i8, ptr %118, align 1 %120 = sext i8 %119 to i32 %121 = icmp ne i32 %120, 0 br i1 %121, label %122, label %188 122: ; preds = %117 %123 = load ptr, ptr %10, align 8 %124 = load i8, ptr %123, align 1 %125 = sext i8 %124 to i32 %126 = icmp ne i32 %125, 59 br i1 %126, label %127, label %188 127: ; preds = %122 %128 = load ptr, ptr %10, align 8 %129 = call ptr @find_char_or_comment(ptr noundef %128, i8 noundef signext 61) store ptr %129, ptr %11, align 8 %130 = load ptr, ptr %11, align 8 %131 = load i8, ptr %130, align 1 %132 = sext i8 %131 to i32 %133 = icmp ne i32 %132, 61 br i1 %133, label %134, label %137 134: ; preds = %127 %135 = load ptr, ptr %10, align 8 %136 = call ptr @find_char_or_comment(ptr noundef %135, i8 noundef signext 58) store ptr %136, ptr %11, align 8 br label %137 137: ; preds = %134, %127 %138 = load ptr, ptr %11, align 8 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = icmp eq i32 %140, 61 br i1 %141, label %147, label %142 142: ; preds = %137 %143 = load ptr, ptr %11, align 8 %144 = load i8, ptr %143, align 1 %145 = sext i8 %144 to i32 %146 = icmp eq i32 %145, 58 br i1 %146, label %147, label %181 147: ; preds = %142, %137 %148 = load ptr, ptr %11, align 8 store i8 0, ptr %148, align 1 %149 = load ptr, ptr %10, align 8 %150 = call ptr @rstrip(ptr noundef %149) store ptr %150, ptr %12, align 8 %151 = load ptr, ptr %11, align 8 %152 = getelementptr inbounds i8, ptr %151, i64 1 %153 = call ptr @lskip(ptr noundef %152) store ptr %153, ptr %13, align 8 %154 = load ptr, ptr %13, align 8 %155 = call ptr @find_char_or_comment(ptr noundef %154, i8 noundef signext 0) store ptr %155, ptr %11, align 8 %156 = load ptr, ptr %11, align 8 %157 = load i8, ptr %156, align 1 %158 = sext i8 %157 to i32 %159 = icmp eq i32 %158, 59 br i1 %159, label %160, label %162 160: ; preds = %147 %161 = load ptr, ptr %11, align 8 store i8 0, ptr %161, align 1 br label %162 162: ; preds = %160, %147 %163 = load ptr, ptr %13, align 8 %164 = call ptr @rstrip(ptr noundef %163) %165 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %166 = load ptr, ptr %12, align 8 %167 = call i32 @strncpy0(ptr noundef %165, ptr noundef %166, i32 noundef 50) %168 = load ptr, ptr %5, align 8 %169 = load ptr, ptr %6, align 8 %170 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %171 = load ptr, ptr %12, align 8 %172 = load ptr, ptr %13, align 8 %173 = call i32 %168(ptr noundef %169, ptr noundef %170, ptr noundef %171, ptr noundef %172) %174 = icmp ne i32 %173, 0 br i1 %174, label %180, label %175 175: ; preds = %162 %176 = load i32, ptr %15, align 4 %177 = icmp ne i32 %176, 0 br i1 %177, label %180, label %178 178: ; preds = %175 %179 = load i32, ptr %14, align 4 store i32 %179, ptr %15, align 4 br label %180 180: ; preds = %178, %175, %162 br label %187 181: ; preds = %142 %182 = load i32, ptr %15, align 4 %183 = icmp ne i32 %182, 0 br i1 %183, label %186, label %184 184: ; preds = %181 %185 = load i32, ptr %14, align 4 store i32 %185, ptr %15, align 4 br label %186 186: ; preds = %184, %181 br label %187 187: ; preds = %186, %180 br label %188 188: ; preds = %187, %122, %117 br label %189 189: ; preds = %188, %116 br label %190 190: ; preds = %189, %89 br label %191 191: ; preds = %190, %61 br label %16, !llvm.loop !6 192: ; preds = %16 %193 = load i32, ptr %15, align 4 ret i32 %193 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare ptr @lskip(ptr noundef) #2 declare ptr @rstrip(ptr noundef) #2 declare ptr @find_char_or_comment(ptr noundef, i8 noundef signext) #2 declare i32 @strncpy0(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuo70aeo3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ini_parse_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [200 x i8], align 16 %8 = alloca [50 x i8], align 16 %9 = alloca [50 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 50, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 50, i1 false) store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %16 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 %17 = load ptr, ptr %4, align 8 %18 = call ptr @fgets(ptr noundef %16, i32 noundef 200, ptr noundef %17) %19 = icmp ne ptr %18, null br i1 %19, label %.lr.ph, label %194 .lr.ph: ; preds = %3 br label %20 20: ; preds = %.lr.ph, %190 %21 = load i32, ptr %14, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %14, align 4 %23 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 store ptr %23, ptr %10, align 8 %24 = load i32, ptr %14, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %47 26: ; preds = %20 %27 = load ptr, ptr %10, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 0 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = icmp eq i32 %30, 239 br i1 %31, label %32, label %47 32: ; preds = %26 %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = icmp eq i32 %36, 187 br i1 %37, label %38, label %47 38: ; preds = %32 %39 = load ptr, ptr %10, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 2 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = icmp eq i32 %42, 191 br i1 %43, label %44, label %47 44: ; preds = %38 %45 = load ptr, ptr %10, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 3 store ptr %46, ptr %10, align 8 br label %47 47: ; preds = %44, %38, %32, %26, %20 %48 = load ptr, ptr %10, align 8 %49 = call ptr @rstrip(ptr noundef %48) %50 = call ptr @lskip(ptr noundef %49) store ptr %50, ptr %10, align 8 %51 = load ptr, ptr %10, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 59 br i1 %54, label %60, label %55 55: ; preds = %47 %56 = load ptr, ptr %10, align 8 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 35 br i1 %59, label %60, label %61 60: ; preds = %55, %47 br label %190 61: ; preds = %55 %62 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %63 = load i8, ptr %62, align 16 %64 = sext i8 %63 to i32 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %89 66: ; preds = %61 %67 = load ptr, ptr %10, align 8 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %89 71: ; preds = %66 %72 = load ptr, ptr %10, align 8 %73 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 %74 = icmp ugt ptr %72, %73 br i1 %74, label %75, label %89 75: ; preds = %71 %76 = load ptr, ptr %5, align 8 %77 = load ptr, ptr %6, align 8 %78 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %79 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %80 = load ptr, ptr %10, align 8 %81 = call i32 %76(ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80) %82 = icmp ne i32 %81, 0 br i1 %82, label %88, label %83 83: ; preds = %75 %84 = load i32, ptr %15, align 4 %85 = icmp ne i32 %84, 0 br i1 %85, label %88, label %86 86: ; preds = %83 %87 = load i32, ptr %14, align 4 store i32 %87, ptr %15, align 4 br label %88 88: ; preds = %86, %83, %75 br label %189 89: ; preds = %71, %66, %61 %90 = load ptr, ptr %10, align 8 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 91 br i1 %93, label %94, label %116 94: ; preds = %89 %95 = load ptr, ptr %10, align 8 %96 = getelementptr inbounds i8, ptr %95, i64 1 %97 = call ptr @find_char_or_comment(ptr noundef %96, i8 noundef signext 93) store ptr %97, ptr %11, align 8 %98 = load ptr, ptr %11, align 8 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = icmp eq i32 %100, 93 br i1 %101, label %102, label %109 102: ; preds = %94 %103 = load ptr, ptr %11, align 8 store i8 0, ptr %103, align 1 %104 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %105 = load ptr, ptr %10, align 8 %106 = getelementptr inbounds i8, ptr %105, i64 1 %107 = call i32 @strncpy0(ptr noundef %104, ptr noundef %106, i32 noundef 50) %108 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 store i8 0, ptr %108, align 16 br label %115 109: ; preds = %94 %110 = load i32, ptr %15, align 4 %111 = icmp ne i32 %110, 0 br i1 %111, label %114, label %112 112: ; preds = %109 %113 = load i32, ptr %14, align 4 store i32 %113, ptr %15, align 4 br label %114 114: ; preds = %112, %109 br label %115 115: ; preds = %114, %102 br label %188 116: ; preds = %89 %117 = load ptr, ptr %10, align 8 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = icmp ne i32 %119, 0 br i1 %120, label %121, label %187 121: ; preds = %116 %122 = load ptr, ptr %10, align 8 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = icmp ne i32 %124, 59 br i1 %125, label %126, label %187 126: ; preds = %121 %127 = load ptr, ptr %10, align 8 %128 = call ptr @find_char_or_comment(ptr noundef %127, i8 noundef signext 61) store ptr %128, ptr %11, align 8 %129 = load ptr, ptr %11, align 8 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = icmp ne i32 %131, 61 br i1 %132, label %133, label %136 133: ; preds = %126 %134 = load ptr, ptr %10, align 8 %135 = call ptr @find_char_or_comment(ptr noundef %134, i8 noundef signext 58) store ptr %135, ptr %11, align 8 br label %136 136: ; preds = %133, %126 %137 = load ptr, ptr %11, align 8 %138 = load i8, ptr %137, align 1 %139 = sext i8 %138 to i32 %140 = icmp eq i32 %139, 61 br i1 %140, label %146, label %141 141: ; preds = %136 %142 = load ptr, ptr %11, align 8 %143 = load i8, ptr %142, align 1 %144 = sext i8 %143 to i32 %145 = icmp eq i32 %144, 58 br i1 %145, label %146, label %180 146: ; preds = %141, %136 %147 = load ptr, ptr %11, align 8 store i8 0, ptr %147, align 1 %148 = load ptr, ptr %10, align 8 %149 = call ptr @rstrip(ptr noundef %148) store ptr %149, ptr %12, align 8 %150 = load ptr, ptr %11, align 8 %151 = getelementptr inbounds i8, ptr %150, i64 1 %152 = call ptr @lskip(ptr noundef %151) store ptr %152, ptr %13, align 8 %153 = load ptr, ptr %13, align 8 %154 = call ptr @find_char_or_comment(ptr noundef %153, i8 noundef signext 0) store ptr %154, ptr %11, align 8 %155 = load ptr, ptr %11, align 8 %156 = load i8, ptr %155, align 1 %157 = sext i8 %156 to i32 %158 = icmp eq i32 %157, 59 br i1 %158, label %159, label %161 159: ; preds = %146 %160 = load ptr, ptr %11, align 8 store i8 0, ptr %160, align 1 br label %161 161: ; preds = %159, %146 %162 = load ptr, ptr %13, align 8 %163 = call ptr @rstrip(ptr noundef %162) %164 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %165 = load ptr, ptr %12, align 8 %166 = call i32 @strncpy0(ptr noundef %164, ptr noundef %165, i32 noundef 50) %167 = load ptr, ptr %5, align 8 %168 = load ptr, ptr %6, align 8 %169 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %170 = load ptr, ptr %12, align 8 %171 = load ptr, ptr %13, align 8 %172 = call i32 %167(ptr noundef %168, ptr noundef %169, ptr noundef %170, ptr noundef %171) %173 = icmp ne i32 %172, 0 br i1 %173, label %179, label %174 174: ; preds = %161 %175 = load i32, ptr %15, align 4 %176 = icmp ne i32 %175, 0 br i1 %176, label %179, label %177 177: ; preds = %174 %178 = load i32, ptr %14, align 4 store i32 %178, ptr %15, align 4 br label %179 179: ; preds = %177, %174, %161 br label %186 180: ; preds = %141 %181 = load i32, ptr %15, align 4 %182 = icmp ne i32 %181, 0 br i1 %182, label %185, label %183 183: ; preds = %180 %184 = load i32, ptr %14, align 4 store i32 %184, ptr %15, align 4 br label %185 185: ; preds = %183, %180 br label %186 186: ; preds = %185, %179 br label %187 187: ; preds = %186, %121, %116 br label %188 188: ; preds = %187, %115 br label %189 189: ; preds = %188, %88 br label %190 190: ; preds = %189, %60 %191 = load ptr, ptr %4, align 8 %192 = call ptr @fgets(ptr noundef %16, i32 noundef 200, ptr noundef %191) %193 = icmp ne ptr %192, null br i1 %193, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %190 br label %194 194: ; preds = %._crit_edge, %3 %195 = load i32, ptr %15, align 4 ret i32 %195 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare ptr @lskip(ptr noundef) #2 declare ptr @rstrip(ptr noundef) #2 declare ptr @find_char_or_comment(ptr noundef, i8 noundef signext) #2 declare i32 @strncpy0(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4yy_pwu6.c' source_filename = "/tmp/tmp4yy_pwu6.c" target datalayout = "e-m:e-p270: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/tmp4yy_pwu6.c" target datalayout = "e-m:e-p270: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/tmpr2dlohu4.c' source_filename = "/tmp/tmpr2dlohu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_file(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 @remove(ptr noundef %3) ret i32 0 } declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr2dlohu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_file(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 @remove(ptr noundef %3) ret i32 0 } declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp5fpnimg.c' source_filename = "/tmp/tmpp5fpnimg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"PT\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"H\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"M\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @translateTime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [5 x i8], align 1 %4 = alloca [3 x i8], align 1 %5 = alloca [3 x i8], align 1 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %14 = load i32, ptr %6, align 4 %15 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call float @atof(ptr noundef %16) store float %17, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = sitofp i32 %18 to float %20 = load float, ptr %7, align 4 %21 = fsub float %20, %19 store float %21, ptr %7, align 4 %22 = load float, ptr %7, align 4 %23 = fpext float %22 to double %24 = fmul double %23, 6.000000e+01 %25 = fptrunc double %24 to float store float %25, ptr %7, align 4 %26 = load float, ptr %7, align 4 %27 = fptosi float %26 to i32 store i32 %27, ptr %8, align 4 %28 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %29 = load i32, ptr %8, align 4 %30 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str, i32 noundef %29) %31 = load i32, ptr %8, align 4 %32 = sitofp i32 %31 to float %33 = load float, ptr %7, align 4 %34 = fsub float %33, %32 store float %34, ptr %7, align 4 %35 = load float, ptr %7, align 4 %36 = fpext float %35 to double %37 = fmul double %36, 6.000000e+01 %38 = fptrunc double %37 to float store float %38, ptr %7, align 4 %39 = load float, ptr %7, align 4 %40 = fptosi float %39 to i32 store i32 %40, ptr %9, align 4 %41 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %42 = load i32, ptr %9, align 4 %43 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str, i32 noundef %42) %44 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %45 = call i64 @strlen(ptr noundef %44) %46 = add nsw i64 2, %45 %47 = add nsw i64 %46, 1 %48 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %49 = call i64 @strlen(ptr noundef %48) %50 = add nsw i64 %47, %49 %51 = add nsw i64 %50, 1 %52 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %53 = call i64 @strlen(ptr noundef %52) %54 = add nsw i64 %51, %53 %55 = add nsw i64 %54, 1 %56 = add nsw i64 %55, 1 %57 = call i64 @malloc(i64 noundef %56) %58 = inttoptr i64 %57 to ptr store ptr %58, ptr %10, align 8 %59 = load ptr, ptr %10, align 8 %60 = call i32 @strcpy(ptr noundef %59, ptr noundef @.str.1) %61 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %62 = call i32 @strcat(i32 noundef %60, ptr noundef %61) %63 = call i32 @strcat(i32 noundef %62, ptr noundef @.str.2) %64 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %65 = call i32 @strcat(i32 noundef %63, ptr noundef %64) %66 = call i32 @strcat(i32 noundef %65, ptr noundef @.str.3) %67 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %68 = call i32 @strcat(i32 noundef %66, ptr noundef %67) %69 = call i32 @strcat(i32 noundef %68, ptr noundef @.str.4) %70 = load ptr, ptr %10, align 8 ret ptr %70 } declare i32 @atoi(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare float @atof(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcat(i32 noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp5fpnimg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"PT\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"H\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"M\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @translateTime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [5 x i8], align 1 %4 = alloca [3 x i8], align 1 %5 = alloca [3 x i8], align 1 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %14 = load i32, ptr %6, align 4 %15 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call float @atof(ptr noundef %16) store float %17, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = sitofp i32 %18 to float %20 = load float, ptr %7, align 4 %21 = fsub float %20, %19 store float %21, ptr %7, align 4 %22 = load float, ptr %7, align 4 %23 = fpext float %22 to double %24 = fmul double %23, 6.000000e+01 %25 = fptrunc double %24 to float store float %25, ptr %7, align 4 %26 = load float, ptr %7, align 4 %27 = fptosi float %26 to i32 store i32 %27, ptr %8, align 4 %28 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %29 = load i32, ptr %8, align 4 %30 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str, i32 noundef %29) %31 = load i32, ptr %8, align 4 %32 = sitofp i32 %31 to float %33 = load float, ptr %7, align 4 %34 = fsub float %33, %32 store float %34, ptr %7, align 4 %35 = load float, ptr %7, align 4 %36 = fpext float %35 to double %37 = fmul double %36, 6.000000e+01 %38 = fptrunc double %37 to float store float %38, ptr %7, align 4 %39 = load float, ptr %7, align 4 %40 = fptosi float %39 to i32 store i32 %40, ptr %9, align 4 %41 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %42 = load i32, ptr %9, align 4 %43 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str, i32 noundef %42) %44 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %45 = call i64 @strlen(ptr noundef %44) %46 = add nsw i64 2, %45 %47 = add nsw i64 %46, 1 %48 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %49 = call i64 @strlen(ptr noundef %48) %50 = add nsw i64 %47, %49 %51 = add nsw i64 %50, 1 %52 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %53 = call i64 @strlen(ptr noundef %52) %54 = add nsw i64 %51, %53 %55 = add nsw i64 %54, 1 %56 = add nsw i64 %55, 1 %57 = call i64 @malloc(i64 noundef %56) %58 = inttoptr i64 %57 to ptr store ptr %58, ptr %10, align 8 %59 = load ptr, ptr %10, align 8 %60 = call i32 @strcpy(ptr noundef %59, ptr noundef @.str.1) %61 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %62 = call i32 @strcat(i32 noundef %60, ptr noundef %61) %63 = call i32 @strcat(i32 noundef %62, ptr noundef @.str.2) %64 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %65 = call i32 @strcat(i32 noundef %63, ptr noundef %64) %66 = call i32 @strcat(i32 noundef %65, ptr noundef @.str.3) %67 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 0 %68 = call i32 @strcat(i32 noundef %66, ptr noundef %67) %69 = call i32 @strcat(i32 noundef %68, ptr noundef @.str.4) %70 = load ptr, ptr %10, align 8 ret ptr %70 } declare i32 @atoi(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare float @atof(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcat(i32 noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy51wk0tr.c' source_filename = "/tmp/tmpy51wk0tr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @lroundf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fpext float %3 to double %5 = call i64 @lround(double noundef %4) #2 %6 = sitofp i64 %5 to float ret float %6 } ; Function Attrs: nounwind declare i64 @lround(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 = { 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/tmpy51wk0tr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @lroundf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fpext float %3 to double %5 = call i64 @lround(double noundef %4) #2 %6 = sitofp i64 %5 to float ret float %6 } ; Function Attrs: nounwind declare i64 @lround(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 = { 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/tmper2wufgu.c' source_filename = "/tmp/tmper2wufgu.c" target datalayout = "e-m:e-p270: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_2__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_Screen_ext_data(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store ptr %5, ptr %7, 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/tmper2wufgu.c" target datalayout = "e-m:e-p270: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_2__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_Screen_ext_data(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store ptr %5, ptr %7, 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/tmppo3p4nu3.c' source_filename = "/tmp/tmppo3p4nu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getword(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 br label %12 12: ; preds = %16, %3 %13 = call i32 @getch() store i32 %13, ptr %8, align 4 %14 = call i64 @isspace(i32 noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %12 br label %12, !llvm.loop !6 17: ; preds = %12 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %86 20: ; preds = %17 %21 = load i32, ptr %8, align 4 %22 = icmp eq i32 %21, 47 br i1 %22, label %23, label %70 23: ; preds = %20 %24 = call i32 @getch() store i32 %24, ptr %8, align 4 %25 = icmp eq i32 %24, 47 br i1 %25, label %26, label %38 26: ; preds = %23 br label %27 27: ; preds = %36, %26 %28 = call i32 @getch() store i32 %28, ptr %8, align 4 %29 = icmp ne i32 %28, 10 br i1 %29, label %30, label %34 30: ; preds = %27 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr @EOF, align 4 %33 = icmp ne i32 %31, %32 br label %34 34: ; preds = %30, %27 %35 = phi i1 [ false, %27 ], [ %33, %30 ] br i1 %35, label %36, label %37 36: ; preds = %34 br label %27, !llvm.loop !8 37: ; preds = %34 br label %69 38: ; preds = %23 %39 = load i32, ptr %8, align 4 %40 = icmp eq i32 %39, 42 br i1 %40, label %41, label %68 41: ; preds = %38 store i32 0, ptr %10, align 4 br label %42 42: ; preds = %66, %41 %43 = load i32, ptr %10, align 4 %44 = icmp ne i32 %43, 0 %45 = xor i1 %44, true br i1 %45, label %46, label %67 46: ; preds = %42 br label %47 47: ; preds = %61, %46 %48 = call i32 @getch() store i32 %48, ptr %8, align 4 %49 = icmp ne i32 %48, 42 br i1 %49, label %50, label %62 50: ; preds = %47 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr @EOF, align 4 %53 = icmp eq i32 %51, %52 br i1 %53, label %54, label %61 54: ; preds = %50 %55 = load ptr, ptr %9, align 8 store i8 0, ptr %55, align 1 %56 = load i32, ptr %8, align 4 call void @ungetch(i32 noundef %56) %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 0 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 store i32 %60, ptr %4, align 4 br label %136 61: ; preds = %50 br label %47, !llvm.loop !9 62: ; preds = %47 %63 = call i32 @getch() store i32 %63, ptr %8, align 4 %64 = icmp eq i32 %63, 47 br i1 %64, label %65, label %66 65: ; preds = %62 store i32 1, ptr %10, align 4 br label %66 66: ; preds = %65, %62 br label %42, !llvm.loop !10 67: ; preds = %42 br label %68 68: ; preds = %67, %38 br label %69 69: ; preds = %68, %37 br label %70 70: ; preds = %69, %20 %71 = load i32, ptr %8, align 4 %72 = icmp eq i32 %71, 34 br i1 %72, label %73, label %85 73: ; preds = %70 br label %74 74: ; preds = %83, %73 %75 = call i32 @getch() store i32 %75, ptr %8, align 4 %76 = icmp ne i32 %75, 34 br i1 %76, label %77, label %81 77: ; preds = %74 %78 = load i32, ptr %8, align 4 %79 = load i32, ptr @EOF, align 4 %80 = icmp ne i32 %78, %79 br label %81 81: ; preds = %77, %74 %82 = phi i1 [ false, %74 ], [ %80, %77 ] br i1 %82, label %83, label %84 83: ; preds = %81 br label %74, !llvm.loop !11 84: ; preds = %81 br label %85 85: ; preds = %84, %70 br label %86 86: ; preds = %85, %17 %87 = load i32, ptr %8, align 4 %88 = call i64 @isalpha(i32 noundef %87) %89 = icmp ne i64 %88, 0 br i1 %89, label %96, label %90 90: ; preds = %86 %91 = load i32, ptr %8, align 4 %92 = icmp eq i32 %91, 35 br i1 %92, label %96, label %93 93: ; preds = %90 %94 = load i32, ptr %8, align 4 %95 = icmp eq i32 %94, 95 br i1 %95, label %96, label %124 96: ; preds = %93, %90, %86 %97 = load i32, ptr %6, align 4 %98 = add nsw i32 %97, -1 store i32 %98, ptr %6, align 4 %99 = icmp sgt i32 %98, 0 br i1 %99, label %100, label %124 100: ; preds = %96 %101 = load i32, ptr %8, align 4 %102 = trunc i32 %101 to i8 %103 = load ptr, ptr %9, align 8 %104 = getelementptr inbounds i8, ptr %103, i32 1 store ptr %104, ptr %9, align 8 store i8 %102, ptr %103, align 1 br label %105 105: ; preds = %118, %100 %106 = call i32 @getch() store i32 %106, ptr %8, align 4 %107 = call i64 @isalnum(i32 noundef %106) %108 = icmp ne i64 %107, 0 br i1 %108, label %112, label %109 109: ; preds = %105 %110 = load i32, ptr %8, align 4 %111 = icmp eq i32 %110, 95 br i1 %111, label %112, label %116 112: ; preds = %109, %105 %113 = load i32, ptr %6, align 4 %114 = add nsw i32 %113, -1 store i32 %114, ptr %6, align 4 %115 = icmp sgt i32 %114, 0 br label %116 116: ; preds = %112, %109 %117 = phi i1 [ false, %109 ], [ %115, %112 ] br i1 %117, label %118, label %123 118: ; preds = %116 %119 = load i32, ptr %8, align 4 %120 = trunc i32 %119 to i8 %121 = load ptr, ptr %9, align 8 %122 = getelementptr inbounds i8, ptr %121, i32 1 store ptr %122, ptr %9, align 8 store i8 %120, ptr %121, align 1 br label %105, !llvm.loop !12 123: ; preds = %116 br label %124 124: ; preds = %123, %96, %93 %125 = load i32, ptr %8, align 4 %126 = load i32, ptr @EOF, align 4 %127 = icmp eq i32 %125, %126 br i1 %127, label %128, label %130 128: ; preds = %124 %129 = load i32, ptr %8, align 4 store i32 %129, ptr %4, align 4 br label %136 130: ; preds = %124 %131 = load ptr, ptr %9, align 8 store i8 0, ptr %131, align 1 %132 = load ptr, ptr %5, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 0 %134 = load i8, ptr %133, align 1 %135 = sext i8 %134 to i32 store i32 %135, ptr %4, align 4 br label %136 136: ; preds = %130, %128, %54 %137 = load i32, ptr %4, align 4 ret i32 %137 } declare i64 @isspace(i32 noundef) #1 declare i32 @getch() #1 declare void @ungetch(i32 noundef) #1 declare i64 @isalpha(i32 noundef) #1 declare i64 @isalnum(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppo3p4nu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getword(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %9, align 8 br label %12 12: ; preds = %12, %3 %13 = call i32 @getch() store i32 %13, ptr %8, align 4 %14 = call i64 @isspace(i32 noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %12, label %16, !llvm.loop !6 16: ; preds = %12 %17 = load i32, ptr %7, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %86 19: ; preds = %16 %20 = load i32, ptr %8, align 4 %21 = icmp eq i32 %20, 47 br i1 %21, label %22, label %71 22: ; preds = %19 %23 = call i32 @getch() store i32 %23, ptr %8, align 4 %24 = icmp eq i32 %23, 47 br i1 %24, label %25, label %36 25: ; preds = %22 br label %26 26: ; preds = %33, %25 %27 = call i32 @getch() store i32 %27, ptr %8, align 4 %28 = icmp ne i32 %27, 10 br i1 %28, label %29, label %33 29: ; preds = %26 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr @EOF, align 4 %32 = icmp ne i32 %30, %31 br label %33 33: ; preds = %29, %26 %34 = phi i1 [ false, %26 ], [ %32, %29 ] br i1 %34, label %26, label %35, !llvm.loop !8 35: ; preds = %33 br label %70 36: ; preds = %22 %37 = load i32, ptr %8, align 4 %38 = icmp eq i32 %37, 42 br i1 %38, label %39, label %69 39: ; preds = %36 store i32 0, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = icmp ne i32 %40, 0 %42 = xor i1 %41, true br i1 %42, label %.lr.ph2, label %68 .lr.ph2: ; preds = %39 br label %43 43: ; preds = %.lr.ph2, %64 %44 = call i32 @getch() store i32 %44, ptr %8, align 4 %45 = icmp ne i32 %44, 42 br i1 %45, label %.lr.ph, label %60 .lr.ph: ; preds = %43 br label %49 46: ; preds = %49 %47 = call i32 @getch() store i32 %47, ptr %8, align 4 %48 = icmp ne i32 %47, 42 br i1 %48, label %49, label %._crit_edge, !llvm.loop !9 49: ; preds = %.lr.ph, %46 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr @EOF, align 4 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %46 53: ; preds = %49 %54 = load ptr, ptr %9, align 8 store i8 0, ptr %54, align 1 %55 = load i32, ptr %8, align 4 call void @ungetch(i32 noundef %55) %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 0 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 store i32 %59, ptr %4, align 4 br label %136 ._crit_edge: ; preds = %46 br label %60 60: ; preds = %._crit_edge, %43 %61 = call i32 @getch() store i32 %61, ptr %8, align 4 %62 = icmp eq i32 %61, 47 br i1 %62, label %63, label %64 63: ; preds = %60 store i32 1, ptr %10, align 4 br label %64 64: ; preds = %63, %60 %65 = load i32, ptr %10, align 4 %66 = icmp ne i32 %65, 0 %67 = xor i1 %66, true br i1 %67, label %43, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %64 br label %68 68: ; preds = %._crit_edge3, %39 br label %69 69: ; preds = %68, %36 br label %70 70: ; preds = %69, %35 br label %71 71: ; preds = %70, %19 %72 = load i32, ptr %8, align 4 %73 = icmp eq i32 %72, 34 br i1 %73, label %74, label %85 74: ; preds = %71 br label %75 75: ; preds = %82, %74 %76 = call i32 @getch() store i32 %76, ptr %8, align 4 %77 = icmp ne i32 %76, 34 br i1 %77, label %78, label %82 78: ; preds = %75 %79 = load i32, ptr %8, align 4 %80 = load i32, ptr @EOF, align 4 %81 = icmp ne i32 %79, %80 br label %82 82: ; preds = %78, %75 %83 = phi i1 [ false, %75 ], [ %81, %78 ] br i1 %83, label %75, label %84, !llvm.loop !11 84: ; preds = %82 br label %85 85: ; preds = %84, %71 br label %86 86: ; preds = %85, %16 %87 = load i32, ptr %8, align 4 %88 = call i64 @isalpha(i32 noundef %87) %89 = icmp ne i64 %88, 0 br i1 %89, label %96, label %90 90: ; preds = %86 %91 = load i32, ptr %8, align 4 %92 = icmp eq i32 %91, 35 br i1 %92, label %96, label %93 93: ; preds = %90 %94 = load i32, ptr %8, align 4 %95 = icmp eq i32 %94, 95 br i1 %95, label %96, label %124 96: ; preds = %93, %90, %86 %97 = load i32, ptr %6, align 4 %98 = add nsw i32 %97, -1 store i32 %98, ptr %6, align 4 %99 = icmp sgt i32 %98, 0 br i1 %99, label %100, label %124 100: ; preds = %96 %101 = load i32, ptr %8, align 4 %102 = trunc i32 %101 to i8 %103 = load ptr, ptr %9, align 8 %104 = getelementptr inbounds i8, ptr %103, i32 1 store ptr %104, ptr %9, align 8 store i8 %102, ptr %103, align 1 br label %105 105: ; preds = %118, %100 %106 = call i32 @getch() store i32 %106, ptr %8, align 4 %107 = call i64 @isalnum(i32 noundef %106) %108 = icmp ne i64 %107, 0 br i1 %108, label %112, label %109 109: ; preds = %105 %110 = load i32, ptr %8, align 4 %111 = icmp eq i32 %110, 95 br i1 %111, label %112, label %116 112: ; preds = %109, %105 %113 = load i32, ptr %6, align 4 %114 = add nsw i32 %113, -1 store i32 %114, ptr %6, align 4 %115 = icmp sgt i32 %114, 0 br label %116 116: ; preds = %112, %109 %117 = phi i1 [ false, %109 ], [ %115, %112 ] br i1 %117, label %118, label %123 118: ; preds = %116 %119 = load i32, ptr %8, align 4 %120 = trunc i32 %119 to i8 %121 = load ptr, ptr %9, align 8 %122 = getelementptr inbounds i8, ptr %121, i32 1 store ptr %122, ptr %9, align 8 store i8 %120, ptr %121, align 1 br label %105, !llvm.loop !12 123: ; preds = %116 br label %124 124: ; preds = %123, %96, %93 %125 = load i32, ptr %8, align 4 %126 = load i32, ptr @EOF, align 4 %127 = icmp eq i32 %125, %126 br i1 %127, label %128, label %130 128: ; preds = %124 %129 = load i32, ptr %8, align 4 store i32 %129, ptr %4, align 4 br label %136 130: ; preds = %124 %131 = load ptr, ptr %9, align 8 store i8 0, ptr %131, align 1 %132 = load ptr, ptr %5, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 0 %134 = load i8, ptr %133, align 1 %135 = sext i8 %134 to i32 store i32 %135, ptr %4, align 4 br label %136 136: ; preds = %130, %128, %53 %137 = load i32, ptr %4, align 4 ret i32 %137 } declare i64 @isspace(i32 noundef) #1 declare i32 @getch() #1 declare void @ungetch(i32 noundef) #1 declare i64 @isalpha(i32 noundef) #1 declare i64 @isalnum(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}