llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpg_2pbk8g.c' source_filename = "/tmp/tmpg_2pbk8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_spr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = call ptr @malloc(i32 noundef 4) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %1 store ptr null, ptr %2, align 8 br label %19 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @pdbg_spr_by_name(ptr noundef %10) %12 = load ptr, ptr %4, align 8 store i32 %11, ptr %12, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %17 16: ; preds = %9 store ptr null, ptr %2, align 8 br label %19 17: ; preds = %9 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %2, align 8 br label %19 19: ; preds = %17, %16, %8 %20 = load ptr, ptr %2, align 8 ret ptr %20 } declare ptr @malloc(i32 noundef) #1 declare i32 @pdbg_spr_by_name(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg_2pbk8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_spr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = call ptr @malloc(i32 noundef 4) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %1 store ptr null, ptr %2, align 8 br label %19 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @pdbg_spr_by_name(ptr noundef %10) %12 = load ptr, ptr %4, align 8 store i32 %11, ptr %12, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %17 16: ; preds = %9 store ptr null, ptr %2, align 8 br label %19 17: ; preds = %9 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %2, align 8 br label %19 19: ; preds = %17, %16, %8 %20 = load ptr, ptr %2, align 8 ret ptr %20 } declare ptr @malloc(i32 noundef) #1 declare i32 @pdbg_spr_by_name(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn3slmznn.c' source_filename = "/tmp/tmpn3slmznn.c" target datalayout = "e-m:e-p270: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/tmpn3slmznn.c" target datalayout = "e-m:e-p270: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/tmptl7bt4eg.c' source_filename = "/tmp/tmptl7bt4eg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"NOT IMPLEMENTED:pa_init_proplist\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_init_proplist() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmptl7bt4eg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"NOT IMPLEMENTED:pa_init_proplist\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_init_proplist() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmp5v6oyw1_.c' source_filename = "/tmp/tmp5v6oyw1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %8, align 8 store i32 0, ptr %5, align 4 br label %14 14: ; preds = %72, %2 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %75 18: ; preds = %14 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %19 19: ; preds = %59, %18 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %62 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %3, 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 = icmp slt i32 %28, %33 br i1 %34, label %35, label %38 35: ; preds = %23 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %58 38: ; preds = %23 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp eq i32 %43, %48 br i1 %49, label %50, label %57 50: ; preds = %38 %51 = load i32, ptr %6, align 4 %52 = load i32, ptr %5, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %57 54: ; preds = %50 %55 = load i32, ptr %7, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %7, align 4 br label %57 57: ; preds = %54, %50, %38 br label %58 58: ; preds = %57, %35 br label %59 59: ; preds = %58 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %6, align 4 br label %19, !llvm.loop !6 62: ; preds = %19 %63 = load ptr, ptr %3, align 8 %64 = load i32, ptr %5, 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 %8, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 store i32 %67, ptr %71, align 4 br label %72 72: ; preds = %62 %73 = load i32, ptr %5, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %5, align 4 br label %14, !llvm.loop !8 75: ; preds = %14 %76 = load ptr, ptr %3, align 8 %77 = load ptr, ptr %8, align 8 %78 = load i32, ptr %4, align 4 %79 = sext i32 %78 to i64 %80 = mul i64 %79, 4 %81 = trunc i64 %80 to i32 %82 = call i32 @memcpy(ptr noundef %76, ptr noundef %77, i32 noundef %81) %83 = load ptr, ptr %8, align 8 %84 = call i32 @free(ptr noundef %83) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5v6oyw1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %8, align 8 store i32 0, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph2, label %79 .lr.ph2: ; preds = %2 br label %17 17: ; preds = %.lr.ph2, %73 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %63 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %57 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = icmp slt i32 %26, %31 br i1 %32, label %33, label %36 33: ; preds = %21 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %56 36: ; preds = %21 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, 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 %3, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = icmp eq i32 %41, %46 br i1 %47, label %48, label %55 48: ; preds = %36 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %5, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = load i32, ptr %7, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %7, align 4 br label %55 55: ; preds = %52, %48, %36 br label %56 56: ; preds = %55, %33 br label %57 57: ; preds = %56 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %6, align 4 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %4, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %63 63: ; preds = %._crit_edge, %17 %64 = load ptr, ptr %3, align 8 %65 = load i32, ptr %5, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 store i32 %68, ptr %72, align 4 br label %73 73: ; preds = %63 %74 = load i32, ptr %5, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %5, align 4 %76 = load i32, ptr %5, align 4 %77 = load i32, ptr %4, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %79 79: ; preds = %._crit_edge3, %2 %80 = load ptr, ptr %3, align 8 %81 = load ptr, ptr %8, align 8 %82 = load i32, ptr %4, align 4 %83 = sext i32 %82 to i64 %84 = mul i64 %83, 4 %85 = trunc i64 %84 to i32 %86 = call i32 @memcpy(ptr noundef %80, ptr noundef %81, i32 noundef %85) %87 = load ptr, ptr %8, align 8 %88 = call i32 @free(ptr noundef %87) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpya38bhxb.c' source_filename = "/tmp/tmpya38bhxb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [8 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load i32, ptr @O_RDONLY, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @read(i32 noundef %11, ptr noundef %12, i32 noundef 8) store i32 %13, ptr %8, align 4 ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpya38bhxb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [8 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load i32, ptr @O_RDONLY, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @read(i32 noundef %11, ptr noundef %12, i32 noundef 8) store i32 %13, ptr %8, align 4 ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb_p6r814.c' source_filename = "/tmp/tmpb_p6r814.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @net_set_params(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca [5 x i8], align 1 %7 = alloca [5 x i8], align 1 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 %8 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 5) %10 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 store i8 -1, ptr %10, align 1 %11 = load i8, ptr %4, align 1 %12 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 1 store i8 %11, ptr %12, align 1 %13 = load i8, ptr %5, align 1 %14 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 2 store i8 %13, ptr %14, align 1 %15 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 3 store i8 0, ptr %15, align 1 %16 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 4 store i8 0, ptr %16, align 1 %17 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %18 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %19 = call i32 @transceiver_send(ptr noundef %17, ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %2 store i8 1, ptr %3, align 1 br label %26 22: ; preds = %2 %23 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %24 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %25 = call zeroext i8 @memcmp(ptr noundef %23, ptr noundef %24, i32 noundef 5) store i8 %25, ptr %3, align 1 br label %26 26: ; preds = %22, %21 %27 = load i8, ptr %3, align 1 ret i8 %27 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @transceiver_send(ptr noundef, ptr noundef) #1 declare zeroext i8 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb_p6r814.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @net_set_params(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca [5 x i8], align 1 %7 = alloca [5 x i8], align 1 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 %8 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 5) %10 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 store i8 -1, ptr %10, align 1 %11 = load i8, ptr %4, align 1 %12 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 1 store i8 %11, ptr %12, align 1 %13 = load i8, ptr %5, align 1 %14 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 2 store i8 %13, ptr %14, align 1 %15 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 3 store i8 0, ptr %15, align 1 %16 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 4 store i8 0, ptr %16, align 1 %17 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %18 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %19 = call i32 @transceiver_send(ptr noundef %17, ptr noundef %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %2 store i8 1, ptr %3, align 1 br label %26 22: ; preds = %2 %23 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %24 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %25 = call zeroext i8 @memcmp(ptr noundef %23, ptr noundef %24, i32 noundef 5) store i8 %25, ptr %3, align 1 br label %26 26: ; preds = %22, %21 %27 = load i8, ptr %3, align 1 ret i8 %27 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @transceiver_send(ptr noundef, ptr noundef) #1 declare zeroext i8 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnmgbbgez.c' source_filename = "/tmp/tmpnmgbbgez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"shared called !!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @shared_func() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @static_func() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @static_func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnmgbbgez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"shared called !!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @shared_func() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @static_func() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @static_func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphh4iq4yk.c' source_filename = "/tmp/tmphh4iq4yk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 5, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 2 %8 = add nsw i32 21, %7 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %5, align 4 %11 = call i32 @foo(i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @foo(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/tmphh4iq4yk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 5, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 2 %8 = add nsw i32 21, %7 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %5, align 4 %11 = call i32 @foo(i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @foo(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/tmpop7ljrbq.c' source_filename = "/tmp/tmpop7ljrbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @test(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @test(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/tmpop7ljrbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @test(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @test(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/tmp_m15xlf4.c' source_filename = "/tmp/tmp_m15xlf4.c" target datalayout = "e-m:e-p270: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_m15xlf4.c" target datalayout = "e-m:e-p270: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/tmpxqkul7xa.c' source_filename = "/tmp/tmpxqkul7xa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"^[a-z][0-9a-z_]*:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @esVariable(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 @match(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @match(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/tmpxqkul7xa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"^[a-z][0-9a-z_]*:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @esVariable(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 @match(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @match(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/tmpe8wo279l.c' source_filename = "/tmp/tmpe8wo279l.c" target datalayout = "e-m:e-p270: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.sched_param = type { i32 } @errno = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Return code is not zero.\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Unexpected error\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"The 'sched_priority' member does not change.\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"This code should not be executed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sched_param, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 -1, ptr %3, align 4 %4 = getelementptr inbounds %struct.sched_param, ptr %2, i32 0, i32 0 store i32 -1, ptr %4, align 4 %5 = call i32 (...) @getpid() %6 = call i32 @sched_getparam(i32 noundef %5, ptr noundef %2) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %18 9: ; preds = %0 %10 = getelementptr inbounds %struct.sched_param, ptr %2, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = icmp ne i32 %11, -1 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load i64, ptr @errno, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %36 18: ; preds = %13, %9, %0 %19 = load i32, ptr %3, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %36 23: ; preds = %18 %24 = load i64, ptr @errno, align 8 %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %36 28: ; preds = %23 %29 = getelementptr inbounds %struct.sched_param, ptr %2, i32 0, i32 0 %30 = load i32, ptr %29, align 4 %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 @printf(ptr noundef @.str.3) store i32 1, ptr %1, align 4 br label %36 34: ; preds = %28 %35 = call i32 @printf(ptr noundef @.str.4) store i32 2, ptr %1, align 4 br label %36 36: ; preds = %34, %32, %26, %21, %16 %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i32 @sched_getparam(i32 noundef, ptr noundef) #1 declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe8wo279l.c" target datalayout = "e-m:e-p270: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.sched_param = type { i32 } @errno = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Return code is not zero.\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Unexpected error\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"The 'sched_priority' member does not change.\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"This code should not be executed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sched_param, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 -1, ptr %3, align 4 %4 = getelementptr inbounds %struct.sched_param, ptr %2, i32 0, i32 0 store i32 -1, ptr %4, align 4 %5 = call i32 (...) @getpid() %6 = call i32 @sched_getparam(i32 noundef %5, ptr noundef %2) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %18 9: ; preds = %0 %10 = getelementptr inbounds %struct.sched_param, ptr %2, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = icmp ne i32 %11, -1 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load i64, ptr @errno, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %36 18: ; preds = %13, %9, %0 %19 = load i32, ptr %3, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %36 23: ; preds = %18 %24 = load i64, ptr @errno, align 8 %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %36 28: ; preds = %23 %29 = getelementptr inbounds %struct.sched_param, ptr %2, i32 0, i32 0 %30 = load i32, ptr %29, align 4 %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 @printf(ptr noundef @.str.3) store i32 1, ptr %1, align 4 br label %36 34: ; preds = %28 %35 = call i32 @printf(ptr noundef @.str.4) store i32 2, ptr %1, align 4 br label %36 36: ; preds = %34, %32, %26, %21, %16 %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i32 @sched_getparam(i32 noundef, ptr noundef) #1 declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp40ampg49.c' source_filename = "/tmp/tmp40ampg49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_WMR3A_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp40ampg49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_WMR3A_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6) ret void } declare i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp750bkvp4.c' source_filename = "/tmp/tmp750bkvp4.c" target datalayout = "e-m:e-p270: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/tmp750bkvp4.c" target datalayout = "e-m:e-p270: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/tmpt6nlvtw4.c' source_filename = "/tmp/tmpt6nlvtw4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @akwbs_compare_file_stat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i64, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %8, align 8 %10 = icmp slt i64 %7, %9 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %20 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %13, align 8 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %15, align 8 %17 = icmp sgt i64 %14, %16 br i1 %17, label %18, label %19 18: ; preds = %12 store i32 1, ptr %3, align 4 br label %20 19: ; preds = %12 store i32 0, ptr %3, align 4 br label %20 20: ; preds = %19, %18, %11 %21 = load i32, ptr %3, align 4 ret i32 %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt6nlvtw4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @akwbs_compare_file_stat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i64, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %8, align 8 %10 = icmp slt i64 %7, %9 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %20 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %13, align 8 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %15, align 8 %17 = icmp sgt i64 %14, %16 br i1 %17, label %18, label %19 18: ; preds = %12 store i32 1, ptr %3, align 4 br label %20 19: ; preds = %12 store i32 0, ptr %3, align 4 br label %20 20: ; preds = %19, %18, %11 %21 = load i32, ptr %3, align 4 ret i32 %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpltbf7wrj.c' source_filename = "/tmp/tmpltbf7wrj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @source_get(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @source_peek(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sge i32 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @source_skip() br label %10 10: ; preds = %8, %1 %11 = load i32, ptr %3, align 4 ret i32 %11 } declare i32 @source_peek(ptr noundef) #1 declare i32 @source_skip(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpltbf7wrj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @source_get(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @source_peek(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sge i32 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @source_skip() br label %10 10: ; preds = %8, %1 %11 = load i32, ptr %3, align 4 ret i32 %11 } declare i32 @source_peek(ptr noundef) #1 declare i32 @source_skip(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps3ny8vfk.c' source_filename = "/tmp/tmps3ny8vfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xe1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0xe1() #0 { %1 = call i64 @isdigit(i32 noundef 225) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1130, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(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/tmps3ny8vfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xe1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0xe1() #0 { %1 = call i64 @isdigit(i32 noundef 225) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1130, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(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/tmpo5nkfzc9.c' source_filename = "/tmp/tmpo5nkfzc9.c" target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant <{ i32, i32, i32, i32, i32, i32, i32, [43 x i32] }> <{ i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, [43 x i32] zeroinitializer }>, align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array, i64 200, i1 false) store i32 6, ptr %3, align 4 %5 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 %6 = load i32, ptr %3, align 4 %7 = call i32 @insert_into_a_sorted_array(ptr noundef %5, i32 noundef 50, i32 noundef %6) store i32 0, ptr %4, align 4 br label %8 8: ; preds = %20, %0 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %10 %12 = load i32, ptr %11, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %14 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %8, !llvm.loop !6 23: ; preds = %8 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @insert_into_a_sorted_array(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo5nkfzc9.c" target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant <{ i32, i32, i32, i32, i32, i32, i32, [43 x i32] }> <{ i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, [43 x i32] zeroinitializer }>, align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array, i64 200, i1 false) store i32 6, ptr %3, align 4 %5 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 0 %6 = load i32, ptr %3, align 4 %7 = call i32 @insert_into_a_sorted_array(ptr noundef %5, i32 noundef 50, i32 noundef %6) store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %9 %11 = load i32, ptr %10, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %19 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [50 x i32], ptr %2, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %27 27: ; preds = %._crit_edge, %0 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 @insert_into_a_sorted_array(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmposb4j2k7.c' source_filename = "/tmp/tmposb4j2k7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cc_allocator_fini() #0 { %1 = call i32 (...) @cc_reg_fini() %2 = call i32 (...) @cc_cache_fini() ret void } declare i32 @cc_reg_fini(...) #1 declare i32 @cc_cache_fini(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmposb4j2k7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cc_allocator_fini() #0 { %1 = call i32 (...) @cc_reg_fini() %2 = call i32 (...) @cc_cache_fini() ret void } declare i32 @cc_reg_fini(...) #1 declare i32 @cc_cache_fini(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2z2v53g9.c' source_filename = "/tmp/tmp2z2v53g9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_app3() #0 { %1 = call i32 (...) @do_unary3() ret void } declare i32 @do_unary3(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2z2v53g9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_app3() #0 { %1 = call i32 (...) @do_unary3() ret void } declare i32 @do_unary3(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn0rqzsf_.c' source_filename = "/tmp/tmpn0rqzsf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @buf2str.str = internal global [2049 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [6 x i8] c"%2.2x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @buf2str(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp sle i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = icmp sgt i32 %10, 1024 br i1 %11, label %12, label %13 12: ; preds = %9, %2 store ptr null, ptr %3, align 8 br label %40 13: ; preds = %9 %14 = call i32 @memset(ptr noundef @buf2str.str, i32 noundef 0, i32 noundef 2049) store i32 0, ptr %6, align 4 br label %15 15: ; preds = %32, %13 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %35 19: ; preds = %15 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr @buf2str.str, i64 %21 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str, i32 noundef %30) br label %32 32: ; preds = %19 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 br label %15, !llvm.loop !6 35: ; preds = %15 %36 = load i32, ptr %5, align 4 %37 = mul nsw i32 %36, 2 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [2049 x i8], ptr @buf2str.str, i64 0, i64 %38 store i8 0, ptr %39, align 1 store ptr @buf2str.str, ptr %3, align 8 br label %40 40: ; preds = %35, %12 %41 = load ptr, ptr %3, align 8 ret ptr %41 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn0rqzsf_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @buf2str.str = internal global [2049 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [6 x i8] c"%2.2x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @buf2str(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp sle i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = icmp sgt i32 %10, 1024 br i1 %11, label %12, label %13 12: ; preds = %9, %2 store ptr null, ptr %3, align 8 br label %42 13: ; preds = %9 %14 = call i32 @memset(ptr noundef @buf2str.str, i32 noundef 0, i32 noundef 2049) store i32 0, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %37 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %31 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr @buf2str.str, i64 %20 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str, i32 noundef %29) br label %31 31: ; preds = %18 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %13 %38 = load i32, ptr %5, align 4 %39 = mul nsw i32 %38, 2 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [2049 x i8], ptr @buf2str.str, i64 0, i64 %40 store i8 0, ptr %41, align 1 store ptr @buf2str.str, ptr %3, align 8 br label %42 42: ; preds = %37, %12 %43 = load ptr, ptr %3, align 8 ret ptr %43 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpetivhz4g.c' source_filename = "/tmp/tmpetivhz4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cnvstr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %6, 1 %8 = call ptr @mymalloc(i32 noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = call i32 @memcpy(ptr noundef %9, ptr noundef %10, i32 noundef %11) %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 store i8 0, ptr %16, align 1 %17 = load ptr, ptr %5, align 8 ret ptr %17 } declare ptr @mymalloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpetivhz4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cnvstr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %6, 1 %8 = call ptr @mymalloc(i32 noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = call i32 @memcpy(ptr noundef %9, ptr noundef %10, i32 noundef %11) %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 store i8 0, ptr %16, align 1 %17 = load ptr, ptr %5, align 8 ret ptr %17 } declare ptr @mymalloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptz0j_h7i.c' source_filename = "/tmp/tmptz0j_h7i.c" target datalayout = "e-m:e-p270: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/tmptz0j_h7i.c" target datalayout = "e-m:e-p270: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/tmpap56etem.c' source_filename = "/tmp/tmpap56etem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lastIndexOf(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 %8 = load ptr, ptr %4, align 8 %9 = call i32 @length(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 store i32 %10, ptr %7, align 4 br label %11 11: ; preds = %29, %2 %12 = load i32, ptr %7, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %32 14: ; preds = %11 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = getelementptr inbounds i8, ptr %18, i64 -1 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load i8, ptr %5, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %21, %23 br i1 %24, label %25, label %28 25: ; preds = %14 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %33 28: ; preds = %14 br label %29 29: ; preds = %28 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %7, align 4 br label %11, !llvm.loop !6 32: ; preds = %11 store i32 -1, ptr %3, align 4 br label %33 33: ; preds = %32, %25 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare i32 @length(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpap56etem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lastIndexOf(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 %8 = load ptr, ptr %4, align 8 %9 = call i32 @length(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %28 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = getelementptr inbounds i8, ptr %17, i64 -1 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr %5, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %20, %22 br i1 %23, label %24, label %27 24: ; preds = %13 %25 = load i32, ptr %7, align 4 %26 = sub nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %34 27: ; preds = %13 br label %28 28: ; preds = %27 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp sgt i32 %31, 0 br i1 %32, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %2 store i32 -1, ptr %3, align 4 br label %34 34: ; preds = %33, %24 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare i32 @length(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwa9970mi.c' source_filename = "/tmp/tmpwa9970mi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Test 12 \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"rm -rf DIR_12; mkdir DIR_12\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"DIR_12\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"fork broke\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 %4 = call i32 @printf(ptr noundef @.str) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fflush(i32 noundef %5) %7 = call i32 @system(ptr noundef @.str.1) %8 = call i32 @chdir(ptr noundef @.str.2) store i32 0, ptr %2, align 4 br label %9 9: ; preds = %22, %0 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 1000 br i1 %11, label %12, label %25 12: ; preds = %9 %13 = call i32 (...) @fork() switch i32 %13, label %19 [ i32 0, label %14 i32 -1, label %16 ] 14: ; preds = %12 %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %12 %17 = call i32 @printf(ptr noundef @.str.3) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %12 %20 = call i32 @wait(ptr noundef %3) br label %21 21: ; preds = %19 br label %22 22: ; preds = %21 %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %2, align 4 br label %9, !llvm.loop !6 25: ; preds = %9 %26 = call i32 (...) @quit() ret i32 -1 } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @wait(ptr noundef) #1 declare i32 @quit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpwa9970mi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Test 12 \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"rm -rf DIR_12; mkdir DIR_12\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"DIR_12\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"fork broke\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 %4 = call i32 @printf(ptr noundef @.str) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fflush(i32 noundef %5) %7 = call i32 @system(ptr noundef @.str.1) %8 = call i32 @chdir(ptr noundef @.str.2) store i32 0, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 1000 br i1 %10, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %21 %12 = call i32 (...) @fork() switch i32 %12, label %18 [ i32 0, label %13 i32 -1, label %15 ] 13: ; preds = %11 %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %11 %16 = call i32 @printf(ptr noundef @.str.3) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %11 %19 = call i32 @wait(ptr noundef %3) br label %20 20: ; preds = %18 br label %21 21: ; preds = %20 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %24, 1000 br i1 %25, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %0 %27 = call i32 (...) @quit() ret i32 -1 } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @wait(ptr noundef) #1 declare i32 @quit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpie09xwqc.c' source_filename = "/tmp/tmpie09xwqc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @char2hex(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = icmp sge i32 %5, 48 br i1 %6, label %7, label %16 7: ; preds = %1 %8 = load i8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = icmp sle i32 %9, 57 br i1 %10, label %11, label %16 11: ; preds = %7 %12 = load i8, ptr %2, align 1 %13 = sext i8 %12 to i32 %14 = sub nsw i32 %13, 48 %15 = trunc i32 %14 to i8 store i8 %15, ptr %3, align 1 br label %47 16: ; preds = %7, %1 %17 = load i8, ptr %2, align 1 %18 = sext i8 %17 to i32 %19 = icmp sge i32 %18, 65 br i1 %19, label %20, label %30 20: ; preds = %16 %21 = load i8, ptr %2, align 1 %22 = sext i8 %21 to i32 %23 = icmp sle i32 %22, 70 br i1 %23, label %24, label %30 24: ; preds = %20 %25 = load i8, ptr %2, align 1 %26 = sext i8 %25 to i32 %27 = sub nsw i32 %26, 65 %28 = add nsw i32 %27, 10 %29 = trunc i32 %28 to i8 store i8 %29, ptr %3, align 1 br label %46 30: ; preds = %20, %16 %31 = load i8, ptr %2, align 1 %32 = sext i8 %31 to i32 %33 = icmp sge i32 %32, 97 br i1 %33, label %34, label %44 34: ; preds = %30 %35 = load i8, ptr %2, align 1 %36 = sext i8 %35 to i32 %37 = icmp sle i32 %36, 102 br i1 %37, label %38, label %44 38: ; preds = %34 %39 = load i8, ptr %2, align 1 %40 = sext i8 %39 to i32 %41 = sub nsw i32 %40, 97 %42 = add nsw i32 %41, 10 %43 = trunc i32 %42 to i8 store i8 %43, ptr %3, align 1 br label %45 44: ; preds = %34, %30 store i8 15, ptr %3, align 1 br label %45 45: ; preds = %44, %38 br label %46 46: ; preds = %45, %24 br label %47 47: ; preds = %46, %11 %48 = load i8, ptr %3, align 1 ret i8 %48 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpie09xwqc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @char2hex(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = icmp sge i32 %5, 48 br i1 %6, label %7, label %16 7: ; preds = %1 %8 = load i8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = icmp sle i32 %9, 57 br i1 %10, label %11, label %16 11: ; preds = %7 %12 = load i8, ptr %2, align 1 %13 = sext i8 %12 to i32 %14 = sub nsw i32 %13, 48 %15 = trunc i32 %14 to i8 store i8 %15, ptr %3, align 1 br label %47 16: ; preds = %7, %1 %17 = load i8, ptr %2, align 1 %18 = sext i8 %17 to i32 %19 = icmp sge i32 %18, 65 br i1 %19, label %20, label %30 20: ; preds = %16 %21 = load i8, ptr %2, align 1 %22 = sext i8 %21 to i32 %23 = icmp sle i32 %22, 70 br i1 %23, label %24, label %30 24: ; preds = %20 %25 = load i8, ptr %2, align 1 %26 = sext i8 %25 to i32 %27 = sub nsw i32 %26, 65 %28 = add nsw i32 %27, 10 %29 = trunc i32 %28 to i8 store i8 %29, ptr %3, align 1 br label %46 30: ; preds = %20, %16 %31 = load i8, ptr %2, align 1 %32 = sext i8 %31 to i32 %33 = icmp sge i32 %32, 97 br i1 %33, label %34, label %44 34: ; preds = %30 %35 = load i8, ptr %2, align 1 %36 = sext i8 %35 to i32 %37 = icmp sle i32 %36, 102 br i1 %37, label %38, label %44 38: ; preds = %34 %39 = load i8, ptr %2, align 1 %40 = sext i8 %39 to i32 %41 = sub nsw i32 %40, 97 %42 = add nsw i32 %41, 10 %43 = trunc i32 %42 to i8 store i8 %43, ptr %3, align 1 br label %45 44: ; preds = %34, %30 store i8 15, ptr %3, align 1 br label %45 45: ; preds = %44, %38 br label %46 46: ; preds = %45, %24 br label %47 47: ; preds = %46, %11 %48 = load i8, ptr %3, align 1 ret i8 %48 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpewkl4keh.c' source_filename = "/tmp/tmpewkl4keh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dla FLOAT:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%f -> %e\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"dla DOUBLE:\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"dla LONG DOUBLE:\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"%Lf -> %Le\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca double, align 8 %4 = alloca x86_fp80, align 16 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) store float 1.000000e+00, ptr %2, align 4 br label %6 6: ; preds = %11, %0 %7 = load float, ptr %2, align 4 %8 = fpext float %7 to double %9 = fadd double 1.000000e+00, %8 %10 = fcmp ogt double %9, 1.000000e+00 br i1 %10, label %11, label %16 11: ; preds = %6 %12 = load float, ptr %2, align 4 %13 = fpext float %12 to double %14 = fdiv double %13, 2.000000e+00 %15 = fptrunc double %14 to float store float %15, ptr %2, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 %17 = load float, ptr %2, align 4 %18 = fpext float %17 to double %19 = load float, ptr %2, align 4 %20 = fpext float %19 to double %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %18, double noundef %20) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store double 1.000000e+00, ptr %3, align 8 br label %23 23: ; preds = %27, %16 %24 = load double, ptr %3, align 8 %25 = fadd double 1.000000e+00, %24 %26 = fcmp ogt double %25, 1.000000e+00 br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load double, ptr %3, align 8 %29 = fdiv double %28, 2.000000e+00 store double %29, ptr %3, align 8 br label %23, !llvm.loop !8 30: ; preds = %23 %31 = load double, ptr %3, align 8 %32 = load double, ptr %3, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %31, double noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store x86_fp80 0xK3FFF8000000000000000, ptr %4, align 16 br label %35 35: ; preds = %39, %30 %36 = load x86_fp80, ptr %4, align 16 %37 = fadd x86_fp80 0xK3FFF8000000000000000, %36 %38 = fcmp ogt x86_fp80 %37, 0xK3FFF8000000000000000 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = load x86_fp80, ptr %4, align 16 %41 = fdiv x86_fp80 %40, 0xK40008000000000000000 store x86_fp80 %41, ptr %4, align 16 br label %35, !llvm.loop !9 42: ; preds = %35 %43 = load x86_fp80, ptr %4, align 16 %44 = load x86_fp80, ptr %4, align 16 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, x86_fp80 noundef %43, x86_fp80 noundef %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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpewkl4keh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dla FLOAT:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%f -> %e\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"dla DOUBLE:\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"dla LONG DOUBLE:\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"%Lf -> %Le\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca double, align 8 %4 = alloca x86_fp80, align 16 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) store float 1.000000e+00, ptr %2, align 4 %6 = load float, ptr %2, align 4 %7 = fpext float %6 to double %8 = fadd double 1.000000e+00, %7 %9 = fcmp ogt double %8, 1.000000e+00 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %10 %11 = load float, ptr %2, align 4 %12 = fpext float %11 to double %13 = fdiv double %12, 2.000000e+00 %14 = fptrunc double %13 to float store float %14, ptr %2, align 4 %15 = load float, ptr %2, align 4 %16 = fpext float %15 to double %17 = fadd double 1.000000e+00, %16 %18 = fcmp ogt double %17, 1.000000e+00 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %19 19: ; preds = %._crit_edge, %0 %20 = load float, ptr %2, align 4 %21 = fpext float %20 to double %22 = load float, ptr %2, align 4 %23 = fpext float %22 to double %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %21, double noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store double 1.000000e+00, ptr %3, align 8 %26 = load double, ptr %3, align 8 %27 = fadd double 1.000000e+00, %26 %28 = fcmp ogt double %27, 1.000000e+00 br i1 %28, label %.lr.ph2, label %35 .lr.ph2: ; preds = %19 br label %29 29: ; preds = %.lr.ph2, %29 %30 = load double, ptr %3, align 8 %31 = fdiv double %30, 2.000000e+00 store double %31, ptr %3, align 8 %32 = load double, ptr %3, align 8 %33 = fadd double 1.000000e+00, %32 %34 = fcmp ogt double %33, 1.000000e+00 br i1 %34, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %29 br label %35 35: ; preds = %._crit_edge3, %19 %36 = load double, ptr %3, align 8 %37 = load double, ptr %3, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %36, double noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store x86_fp80 0xK3FFF8000000000000000, ptr %4, align 16 %40 = load x86_fp80, ptr %4, align 16 %41 = fadd x86_fp80 0xK3FFF8000000000000000, %40 %42 = fcmp ogt x86_fp80 %41, 0xK3FFF8000000000000000 br i1 %42, label %.lr.ph5, label %49 .lr.ph5: ; preds = %35 br label %43 43: ; preds = %.lr.ph5, %43 %44 = load x86_fp80, ptr %4, align 16 %45 = fdiv x86_fp80 %44, 0xK40008000000000000000 store x86_fp80 %45, ptr %4, align 16 %46 = load x86_fp80, ptr %4, align 16 %47 = fadd x86_fp80 0xK3FFF8000000000000000, %46 %48 = fcmp ogt x86_fp80 %47, 0xK3FFF8000000000000000 br i1 %48, label %43, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %43 br label %49 49: ; preds = %._crit_edge6, %35 %50 = load x86_fp80, ptr %4, align 16 %51 = load x86_fp80, ptr %4, align 16 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, x86_fp80 noundef %50, x86_fp80 noundef %51) 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}
; ModuleID = '/tmp/tmpx47bvn6z.c' source_filename = "/tmp/tmpx47bvn6z.c" target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 } %struct.tms = type { i32, i32 } @CLOCK_PROCESS_CPUTIME_ID = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @clock() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 %3 = alloca %struct.tms, align 4 %4 = load i32, ptr @CLOCK_PROCESS_CPUTIME_ID, align 4 %5 = call i32 @__clock_gettime(i32 noundef %4, ptr noundef %2) %6 = icmp ne i32 %5, 0 br i1 %6, label %15, label %7 7: ; preds = %0 %8 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = mul nsw i32 %9, 1000000 %11 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 1 %12 = load i32, ptr %11, align 4 %13 = sdiv i32 %12, 1000 %14 = add nsw i32 %10, %13 store i32 %14, ptr %1, align 4 br label %23 15: ; preds = %0 %16 = call i32 @__syscall(i32 noundef 100, ptr noundef %3) %17 = getelementptr inbounds %struct.tms, ptr %3, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = getelementptr inbounds %struct.tms, ptr %3, i32 0, i32 1 %20 = load i32, ptr %19, align 4 %21 = add nsw i32 %18, %20 %22 = mul nsw i32 %21, 100 store i32 %22, ptr %1, align 4 br label %23 23: ; preds = %15, %7 %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @__clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @__syscall(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/tmpx47bvn6z.c" target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 } %struct.tms = type { i32, i32 } @CLOCK_PROCESS_CPUTIME_ID = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @clock() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 %3 = alloca %struct.tms, align 4 %4 = load i32, ptr @CLOCK_PROCESS_CPUTIME_ID, align 4 %5 = call i32 @__clock_gettime(i32 noundef %4, ptr noundef %2) %6 = icmp ne i32 %5, 0 br i1 %6, label %15, label %7 7: ; preds = %0 %8 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = mul nsw i32 %9, 1000000 %11 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 1 %12 = load i32, ptr %11, align 4 %13 = sdiv i32 %12, 1000 %14 = add nsw i32 %10, %13 store i32 %14, ptr %1, align 4 br label %23 15: ; preds = %0 %16 = call i32 @__syscall(i32 noundef 100, ptr noundef %3) %17 = getelementptr inbounds %struct.tms, ptr %3, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = getelementptr inbounds %struct.tms, ptr %3, i32 0, i32 1 %20 = load i32, ptr %19, align 4 %21 = add nsw i32 %18, %20 %22 = mul nsw i32 %21, 100 store i32 %22, ptr %1, align 4 br label %23 23: ; preds = %15, %7 %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @__clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @__syscall(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/tmpxw2t839p.c' source_filename = "/tmp/tmpxw2t839p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_NPROCESSORS_ONLN = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxw2t839p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_NPROCESSORS_ONLN = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcjdlvtbd.c' source_filename = "/tmp/tmpcjdlvtbd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dp_my_pid() #0 { %1 = call i32 (...) @my_pid() ret i32 %1 } declare i32 @my_pid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcjdlvtbd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dp_my_pid() #0 { %1 = call i32 (...) @my_pid() ret i32 %1 } declare i32 @my_pid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgrvwfua4.c' source_filename = "/tmp/tmpgrvwfua4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Raising Exception\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%lu\0A%lu\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Caught Exception\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @setjmp(i32 noundef %2) #4 %4 = icmp ne i32 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %0 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 4, i64 noundef 4) %8 = load i32, ptr %1, align 4 %9 = call i32 @longjmp(i32 noundef %8, i32 noundef 1) #5 unreachable 10: ; preds = %0 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %12 12: ; preds = %10 ret i32 0 } ; Function Attrs: returns_twice declare i32 @setjmp(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @longjmp(i32 noundef, i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { 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/tmpgrvwfua4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Raising Exception\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%lu\0A%lu\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Caught Exception\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @setjmp(i32 noundef %2) #4 %4 = icmp ne i32 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %0 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 4, i64 noundef 4) %8 = load i32, ptr %1, align 4 %9 = call i32 @longjmp(i32 noundef %8, i32 noundef 1) #5 unreachable 10: ; preds = %0 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %12 12: ; preds = %10 ret i32 0 } ; Function Attrs: returns_twice declare i32 @setjmp(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @longjmp(i32 noundef, i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { 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/tmpm62dpf2q.c' source_filename = "/tmp/tmpm62dpf2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fxam() #0 { %1 = call i32 @db(i32 noundef 217) %2 = call i32 @db(i32 noundef 229) ret void } declare i32 @db(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/tmpm62dpf2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fxam() #0 { %1 = call i32 @db(i32 noundef 217) %2 = call i32 @db(i32 noundef 229) ret void } declare i32 @db(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/tmpysnq6i8s.c' source_filename = "/tmp/tmpysnq6i8s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MS_REC = dso_local global i32 0, align 4 @MS_SLAVE = 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/tmpysnq6i8s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MS_REC = dso_local global i32 0, align 4 @MS_SLAVE = 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/tmp7taz5c4w.c' source_filename = "/tmp/tmp7taz5c4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"riddle\00", align 1 @SIGPIPE = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [20 x i8] c"Created TCP socket\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Bound TCP socket to port %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 @.str.7 = private unnamed_addr constant [39 x i8] c"Waiting for an incoming connection...\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"accept\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"could not format IP address\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"Incoming connection from %s:%d\0A\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"close\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca %struct.sockaddr_in, align 4 store i32 0, ptr %1, align 4 %10 = load i32, ptr @INET_ADDRSTRLEN, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %3, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %4, align 8 %14 = call i64 (...) @fork() store i64 %14, ptr %7, align 8 %15 = load i64, ptr %7, align 8 %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %0 %18 = call i32 @perror(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #4 unreachable 20: ; preds = %0 %21 = load i64, ptr %7, align 8 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @execv(ptr noundef @.str.1, ptr noundef null) br label %25 25: ; preds = %23, %20 %26 = load i32, ptr @SIGPIPE, align 4 %27 = load i32, ptr @SIG_IGN, align 4 %28 = call i32 @signal(i32 noundef %26, i32 noundef %27) %29 = load i32, ptr @PF_INET, align 4 %30 = load i32, ptr @SOCK_STREAM, align 4 %31 = call i32 @socket(i32 noundef %29, i32 noundef %30, i32 noundef 0) store i32 %31, ptr %5, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %25 %34 = call i32 @perror(ptr noundef @.str.2) %35 = call i32 @exit(i32 noundef 1) #4 unreachable 36: ; preds = %25 %37 = load i32, ptr @stderr, align 4 %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.3) %39 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12) %40 = load i32, ptr @AF_INET, align 4 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %40, ptr %41, align 4 %42 = call i32 @htons(i32 noundef 49842) %43 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 store i32 %42, ptr %43, align 4 %44 = load i32, ptr @INADDR_ANY, align 4 %45 = call i32 @htonl(i32 noundef %44) %46 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %46, i32 0, i32 0 store i32 %45, ptr %47, align 4 %48 = load i32, ptr %5, align 4 %49 = call i64 @bind(i32 noundef %48, ptr noundef %9, i32 noundef 12) %50 = icmp slt i64 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %36 %52 = call i32 @perror(ptr noundef @.str.4) %53 = call i32 @exit(i32 noundef 1) #4 unreachable 54: ; preds = %36 %55 = load i32, ptr @stderr, align 4 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.5, i32 noundef 49842) %57 = load i32, ptr %5, align 4 %58 = call i64 @listen(i32 noundef %57, i32 noundef 5) %59 = icmp slt i64 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %54 %61 = call i32 @perror(ptr noundef @.str.6) %62 = call i32 @exit(i32 noundef 1) #4 unreachable 63: ; preds = %54 br label %64 64: ; preds = %101, %63 %65 = load i32, ptr @stderr, align 4 %66 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.7) store i32 12, ptr %8, align 4 %67 = load i32, ptr %5, align 4 %68 = call i32 @accept(i32 noundef %67, ptr noundef %9, ptr noundef %8) store i32 %68, ptr %6, align 4 %69 = icmp slt i32 %68, 0 br i1 %69, label %70, label %73 70: ; preds = %64 %71 = call i32 @perror(ptr noundef @.str.8) %72 = call i32 @exit(i32 noundef 1) #4 unreachable 73: ; preds = %64 %74 = load i32, ptr @AF_INET, align 4 %75 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 %76 = trunc i64 %11 to i32 %77 = call i32 @inet_ntop(i32 noundef %74, ptr noundef %75, ptr noundef %13, i32 noundef %76) %78 = icmp ne i32 %77, 0 br i1 %78, label %82, label %79 79: ; preds = %73 %80 = call i32 @perror(ptr noundef @.str.9) %81 = call i32 @exit(i32 noundef 1) #4 unreachable 82: ; preds = %73 %83 = load i32, ptr @stderr, align 4 %84 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %85 = load i32, ptr %84, align 4 %86 = call i32 @ntohs(i32 noundef %85) %87 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %83, ptr noundef @.str.10, ptr noundef %13, i32 noundef %86) %88 = load i64, ptr %7, align 8 %89 = add nsw i64 %88, 1 store i64 %89, ptr %7, align 8 %90 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %91 = load i64, ptr %7, align 8 %92 = call i32 @snprintf(ptr noundef %90, i32 noundef 100, ptr noundef @.str.11, i64 noundef %91) %93 = load i32, ptr %6, align 4 %94 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %95 = call i32 @write(i32 noundef %93, ptr noundef %94, i32 noundef 100) %96 = load i32, ptr %6, align 4 %97 = call i64 @close(i32 noundef %96) %98 = icmp slt i64 %97, 0 br i1 %98, label %99, label %101 99: ; preds = %82 %100 = call i32 @perror(ptr noundef @.str.12) br label %101 101: ; preds = %99, %82 br label %64 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i64 @fork(...) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @execv(ptr noundef, ptr noundef) #2 declare i32 @signal(i32 noundef, i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @htonl(i32 noundef) #2 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @listen(i32 noundef, i32 noundef) #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @ntohs(i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7taz5c4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"riddle\00", align 1 @SIGPIPE = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [20 x i8] c"Created TCP socket\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Bound TCP socket to port %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 @.str.7 = private unnamed_addr constant [39 x i8] c"Waiting for an incoming connection...\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"accept\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"could not format IP address\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"Incoming connection from %s:%d\0A\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"close\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca %struct.sockaddr_in, align 4 store i32 0, ptr %1, align 4 %10 = load i32, ptr @INET_ADDRSTRLEN, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %3, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %4, align 8 %14 = call i64 (...) @fork() store i64 %14, ptr %7, align 8 %15 = load i64, ptr %7, align 8 %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %0 %18 = call i32 @perror(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #4 unreachable 20: ; preds = %0 %21 = load i64, ptr %7, align 8 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @execv(ptr noundef @.str.1, ptr noundef null) br label %25 25: ; preds = %23, %20 %26 = load i32, ptr @SIGPIPE, align 4 %27 = load i32, ptr @SIG_IGN, align 4 %28 = call i32 @signal(i32 noundef %26, i32 noundef %27) %29 = load i32, ptr @PF_INET, align 4 %30 = load i32, ptr @SOCK_STREAM, align 4 %31 = call i32 @socket(i32 noundef %29, i32 noundef %30, i32 noundef 0) store i32 %31, ptr %5, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %25 %34 = call i32 @perror(ptr noundef @.str.2) %35 = call i32 @exit(i32 noundef 1) #4 unreachable 36: ; preds = %25 %37 = load i32, ptr @stderr, align 4 %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.3) %39 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12) %40 = load i32, ptr @AF_INET, align 4 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %40, ptr %41, align 4 %42 = call i32 @htons(i32 noundef 49842) %43 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 store i32 %42, ptr %43, align 4 %44 = load i32, ptr @INADDR_ANY, align 4 %45 = call i32 @htonl(i32 noundef %44) %46 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %46, i32 0, i32 0 store i32 %45, ptr %47, align 4 %48 = load i32, ptr %5, align 4 %49 = call i64 @bind(i32 noundef %48, ptr noundef %9, i32 noundef 12) %50 = icmp slt i64 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %36 %52 = call i32 @perror(ptr noundef @.str.4) %53 = call i32 @exit(i32 noundef 1) #4 unreachable 54: ; preds = %36 %55 = load i32, ptr @stderr, align 4 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.5, i32 noundef 49842) %57 = load i32, ptr %5, align 4 %58 = call i64 @listen(i32 noundef %57, i32 noundef 5) %59 = icmp slt i64 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %54 %61 = call i32 @perror(ptr noundef @.str.6) %62 = call i32 @exit(i32 noundef 1) #4 unreachable 63: ; preds = %54 %64 = load i32, ptr @stderr, align 4 %65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.7) store i32 12, ptr %8, align 4 %66 = load i32, ptr %5, align 4 %67 = call i32 @accept(i32 noundef %66, ptr noundef %9, ptr noundef %8) store i32 %67, ptr %6, align 4 %68 = icmp slt i32 %67, 0 br i1 %68, label %69, label %.lr.ph .lr.ph: ; preds = %63 br label %72 ._crit_edge: ; preds = %100 br label %69 69: ; preds = %._crit_edge, %63 %70 = call i32 @perror(ptr noundef @.str.8) %71 = call i32 @exit(i32 noundef 1) #4 unreachable 72: ; preds = %.lr.ph, %100 %73 = load i32, ptr @AF_INET, align 4 %74 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 %75 = trunc i64 %11 to i32 %76 = call i32 @inet_ntop(i32 noundef %73, ptr noundef %74, ptr noundef %13, i32 noundef %75) %77 = icmp ne i32 %76, 0 br i1 %77, label %81, label %78 78: ; preds = %72 %79 = call i32 @perror(ptr noundef @.str.9) %80 = call i32 @exit(i32 noundef 1) #4 unreachable 81: ; preds = %72 %82 = load i32, ptr @stderr, align 4 %83 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %84 = load i32, ptr %83, align 4 %85 = call i32 @ntohs(i32 noundef %84) %86 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.10, ptr noundef %13, i32 noundef %85) %87 = load i64, ptr %7, align 8 %88 = add nsw i64 %87, 1 store i64 %88, ptr %7, align 8 %89 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %90 = load i64, ptr %7, align 8 %91 = call i32 @snprintf(ptr noundef %89, i32 noundef 100, ptr noundef @.str.11, i64 noundef %90) %92 = load i32, ptr %6, align 4 %93 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %94 = call i32 @write(i32 noundef %92, ptr noundef %93, i32 noundef 100) %95 = load i32, ptr %6, align 4 %96 = call i64 @close(i32 noundef %95) %97 = icmp slt i64 %96, 0 br i1 %97, label %98, label %100 98: ; preds = %81 %99 = call i32 @perror(ptr noundef @.str.12) br label %100 100: ; preds = %98, %81 %101 = load i32, ptr @stderr, align 4 %102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str.7) store i32 12, ptr %8, align 4 %103 = load i32, ptr %5, align 4 %104 = call i32 @accept(i32 noundef %103, ptr noundef %9, ptr noundef %8) store i32 %104, ptr %6, align 4 %105 = icmp slt i32 %104, 0 br i1 %105, label %._crit_edge, label %72 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i64 @fork(...) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @execv(ptr noundef, ptr noundef) #2 declare i32 @signal(i32 noundef, i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @htonl(i32 noundef) #2 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @listen(i32 noundef, i32 noundef) #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @ntohs(i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfays63fu.c' source_filename = "/tmp/tmpfays63fu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @populateArray(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i64 0, ptr %8, align 8 br label %9 9: ; preds = %24, %3 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %5, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %27 13: ; preds = %9 %14 = load ptr, ptr %6, align 8 %15 = load i64, ptr %8, align 8 %16 = call i64 %14(i64 noundef %15) %17 = trunc i64 %16 to i32 store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = load ptr, ptr %4, align 8 %20 = load i64, ptr %8, align 8 %21 = getelementptr inbounds i32, ptr %19, i64 %20 store i32 %18, ptr %21, align 4 %22 = load i32, ptr %7, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) br label %24 24: ; preds = %13 %25 = load i64, ptr %8, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %8, align 8 br label %9, !llvm.loop !6 27: ; preds = %9 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfays63fu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @populateArray(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i64 0, ptr %8, align 8 %9 = load i64, ptr %8, align 8 %10 = load i64, ptr %5, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %.lr.ph, label %29 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %23 %13 = load ptr, ptr %6, align 8 %14 = load i64, ptr %8, align 8 %15 = call i64 %13(i64 noundef %14) %16 = trunc i64 %15 to i32 store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %4, align 8 %19 = load i64, ptr %8, align 8 %20 = getelementptr inbounds i32, ptr %18, i64 %19 store i32 %17, ptr %20, align 4 %21 = load i32, ptr %7, align 4 %22 = call i32 @printf(ptr noundef @.str, i32 noundef %21) br label %23 23: ; preds = %12 %24 = load i64, ptr %8, align 8 %25 = add i64 %24, 1 store i64 %25, ptr %8, align 8 %26 = load i64, ptr %8, align 8 %27 = load i64, ptr %5, align 8 %28 = icmp ult i64 %26, %27 br i1 %28, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %3 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfqxnpjix.c' source_filename = "/tmp/tmpfqxnpjix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"mkdir\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"rmdir\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"cd\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"creat\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"rm\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"save\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"reload\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"reint\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @findCommand(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %64 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %64 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 2, ptr %2, align 4 br label %64 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 3, ptr %2, align 4 br label %64 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 4, ptr %2, align 4 br label %64 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.5) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 5, ptr %2, align 4 br label %64 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.6) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 6, ptr %2, align 4 br label %64 38: ; preds = %33 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.7) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 7, ptr %2, align 4 br label %64 43: ; preds = %38 %44 = load ptr, ptr %3, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.8) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %43 store i32 8, ptr %2, align 4 br label %64 48: ; preds = %43 %49 = load ptr, ptr %3, align 8 %50 = call i64 @strcmp(ptr noundef %49, ptr noundef @.str.9) %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %48 store i32 9, ptr %2, align 4 br label %64 53: ; preds = %48 %54 = load ptr, ptr %3, align 8 %55 = call i64 @strcmp(ptr noundef %54, ptr noundef @.str.10) %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %58 57: ; preds = %53 store i32 10, ptr %2, align 4 br label %64 58: ; preds = %53 %59 = load ptr, ptr %3, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.11) %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %63 62: ; preds = %58 store i32 11, ptr %2, align 4 br label %64 63: ; preds = %58 store i32 -1, ptr %2, align 4 br label %64 64: ; preds = %63, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7 %65 = load i32, ptr %2, align 4 ret i32 %65 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfqxnpjix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"mkdir\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"rmdir\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"cd\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"pwd\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"creat\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"rm\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"save\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"reload\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"reint\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @findCommand(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %64 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %64 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 2, ptr %2, align 4 br label %64 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 3, ptr %2, align 4 br label %64 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 4, ptr %2, align 4 br label %64 28: ; preds = %23 %29 = load ptr, ptr %3, align 8 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.5) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 5, ptr %2, align 4 br label %64 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.6) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 6, ptr %2, align 4 br label %64 38: ; preds = %33 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.7) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %38 store i32 7, ptr %2, align 4 br label %64 43: ; preds = %38 %44 = load ptr, ptr %3, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.8) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %43 store i32 8, ptr %2, align 4 br label %64 48: ; preds = %43 %49 = load ptr, ptr %3, align 8 %50 = call i64 @strcmp(ptr noundef %49, ptr noundef @.str.9) %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %48 store i32 9, ptr %2, align 4 br label %64 53: ; preds = %48 %54 = load ptr, ptr %3, align 8 %55 = call i64 @strcmp(ptr noundef %54, ptr noundef @.str.10) %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %58 57: ; preds = %53 store i32 10, ptr %2, align 4 br label %64 58: ; preds = %53 %59 = load ptr, ptr %3, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.11) %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %63 62: ; preds = %58 store i32 11, ptr %2, align 4 br label %64 63: ; preds = %58 store i32 -1, ptr %2, align 4 br label %64 64: ; preds = %63, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7 %65 = load i32, ptr %2, align 4 ret i32 %65 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_dgbamfs.c' source_filename = "/tmp/tmp_dgbamfs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @json_emit_i64(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca [22 x i8], align 16 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = getelementptr inbounds [22 x i8], ptr %5, i64 0, i64 0 %7 = load i64, ptr %4, align 8 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i64 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 @json_value_start(ptr noundef %9) %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds [22 x i8], ptr %5, i64 0, i64 0 %13 = call i32 @json_emits(ptr noundef %11, ptr noundef %12) %14 = load ptr, ptr %3, align 8 %15 = call i32 @json_value_end(ptr noundef %14) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @json_value_start(ptr noundef) #1 declare i32 @json_emits(ptr noundef, ptr noundef) #1 declare i32 @json_value_end(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_dgbamfs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @json_emit_i64(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca [22 x i8], align 16 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = getelementptr inbounds [22 x i8], ptr %5, i64 0, i64 0 %7 = load i64, ptr %4, align 8 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i64 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 @json_value_start(ptr noundef %9) %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds [22 x i8], ptr %5, i64 0, i64 0 %13 = call i32 @json_emits(ptr noundef %11, ptr noundef %12) %14 = load ptr, ptr %3, align 8 %15 = call i32 @json_value_end(ptr noundef %14) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @json_value_start(ptr noundef) #1 declare i32 @json_emits(ptr noundef, ptr noundef) #1 declare i32 @json_value_end(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2vrvlqtn.c' source_filename = "/tmp/tmp2vrvlqtn.c" target datalayout = "e-m:e-p270: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/tmp2vrvlqtn.c" target datalayout = "e-m:e-p270: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/tmpsnw8c5m1.c' source_filename = "/tmp/tmpsnw8c5m1.c" target datalayout = "e-m:e-p270: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/tmpsnw8c5m1.c" target datalayout = "e-m:e-p270: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/tmp80e8p5lt.c' source_filename = "/tmp/tmp80e8p5lt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: \00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c" [first integer] [second integer]\0A\00", align 1 @.str.2 = private unnamed_addr constant [96 x i8] c"This program takes two positive integers and finds the greatest common denominator between them\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef %4) %6 = call i32 @printf(ptr noundef @.str.1) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(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/tmp80e8p5lt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: \00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c" [first integer] [second integer]\0A\00", align 1 @.str.2 = private unnamed_addr constant [96 x i8] c"This program takes two positive integers and finds the greatest common denominator between them\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef %4) %6 = call i32 @printf(ptr noundef @.str.1) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(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/tmphhyl17kg.c' source_filename = "/tmp/tmphhyl17kg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @MAP_POPULATE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MCL_FUTURE = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @RLIMIT_MEMLOCK = 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/tmphhyl17kg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @MAP_POPULATE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MCL_FUTURE = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @RLIMIT_MEMLOCK = 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/tmp1s002nwg.c' source_filename = "/tmp/tmp1s002nwg.c" target datalayout = "e-m:e-p270: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/tmp1s002nwg.c" target datalayout = "e-m:e-p270: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/tmp7t59exuf.c' source_filename = "/tmp/tmp7t59exuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inoutput_file_exist(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @F_OK, align 4 %6 = call i64 @access(ptr noundef %4, i32 noundef %5) %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 1, ptr %3, align 4 br label %10 9: ; preds = %1 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %9, %8 %11 = load i32, ptr %3, align 4 ret i32 %11 } declare i64 @access(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/tmp7t59exuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inoutput_file_exist(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @F_OK, align 4 %6 = call i64 @access(ptr noundef %4, i32 noundef %5) %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 1, ptr %3, align 4 br label %10 9: ; preds = %1 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %9, %8 %11 = load i32, ptr %3, align 4 ret i32 %11 } declare i64 @access(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/tmpokj8hv3m.c' source_filename = "/tmp/tmpokj8hv3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello, World!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpokj8hv3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello, World!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplviqy__n.c' source_filename = "/tmp/tmplviqy__n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ommp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = mul i32 %15, %16 %18 = call i64 @calloc(i32 noundef %17, i32 noundef 8) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %7, align 8 store i32 4, ptr %13, align 4 store i32 2, ptr %14, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp ult i32 %20, 100 br i1 %21, label %22, label %23 22: ; preds = %3 store i32 1, ptr %13, align 4 store i32 1, ptr %14, align 4 br label %23 23: ; preds = %22, %3 store i32 0, ptr %8, align 4 br label %24 24: ; preds = %100, %23 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp ult i32 %25, %26 br i1 %27, label %28, label %104 28: ; preds = %24 store i32 0, ptr %9, align 4 br label %29 29: ; preds = %95, %28 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp ult i32 %30, %31 br i1 %32, label %33, label %99 33: ; preds = %29 store i32 0, ptr %10, align 4 br label %34 34: ; preds = %91, %33 %35 = load i32, ptr %10, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp ult i32 %35, %36 br i1 %37, label %38, label %94 38: ; preds = %34 %39 = load i32, ptr %8, align 4 store i32 %39, ptr %11, align 4 br label %40 40: ; preds = %87, %38 %41 = load i32, ptr %11, align 4 %42 = load i32, ptr %8, align 4 %43 = load i32, ptr %13, align 4 %44 = add i32 %42, %43 %45 = icmp ult i32 %41, %44 br i1 %45, label %46, label %90 46: ; preds = %40 %47 = load i32, ptr %9, align 4 store i32 %47, ptr %12, align 4 br label %48 48: ; preds = %83, %46 %49 = load i32, ptr %12, align 4 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %14, align 4 %52 = add i32 %50, %51 %53 = icmp ult i32 %49, %52 br i1 %53, label %54, label %86 54: ; preds = %48 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %11, align 4 %57 = load i32, ptr %10, align 4 %58 = load i32, ptr %6, align 4 %59 = mul i32 %57, %58 %60 = add i32 %56, %59 %61 = zext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %55, i64 %61 %63 = load double, ptr %62, align 8 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %10, align 4 %66 = load i32, ptr %12, align 4 %67 = load i32, ptr %6, align 4 %68 = mul i32 %66, %67 %69 = add i32 %65, %68 %70 = zext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %64, i64 %70 %72 = load double, ptr %71, align 8 %73 = load ptr, ptr %7, align 8 %74 = load i32, ptr %11, align 4 %75 = load i32, ptr %12, align 4 %76 = load i32, ptr %6, align 4 %77 = mul i32 %75, %76 %78 = add i32 %74, %77 %79 = zext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %73, i64 %79 %81 = load double, ptr %80, align 8 %82 = call double @llvm.fmuladd.f64(double %63, double %72, double %81) store double %82, ptr %80, align 8 br label %83 83: ; preds = %54 %84 = load i32, ptr %12, align 4 %85 = add i32 %84, 1 store i32 %85, ptr %12, align 4 br label %48, !llvm.loop !6 86: ; preds = %48 br label %87 87: ; preds = %86 %88 = load i32, ptr %11, align 4 %89 = add i32 %88, 1 store i32 %89, ptr %11, align 4 br label %40, !llvm.loop !8 90: ; preds = %40 br label %91 91: ; preds = %90 %92 = load i32, ptr %10, align 4 %93 = add i32 %92, 1 store i32 %93, ptr %10, align 4 br label %34, !llvm.loop !9 94: ; preds = %34 br label %95 95: ; preds = %94 %96 = load i32, ptr %14, align 4 %97 = load i32, ptr %9, align 4 %98 = add i32 %97, %96 store i32 %98, ptr %9, align 4 br label %29, !llvm.loop !10 99: ; preds = %29 br label %100 100: ; preds = %99 %101 = load i32, ptr %13, align 4 %102 = load i32, ptr %8, align 4 %103 = add i32 %102, %101 store i32 %103, ptr %8, align 4 br label %24, !llvm.loop !11 104: ; preds = %24 %105 = load ptr, ptr %7, align 8 ret ptr %105 } declare i64 @calloc(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplviqy__n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ommp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = mul i32 %15, %16 %18 = call i64 @calloc(i32 noundef %17, i32 noundef 8) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %7, align 8 store i32 4, ptr %13, align 4 store i32 2, ptr %14, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp ult i32 %20, 100 br i1 %21, label %22, label %23 22: ; preds = %3 store i32 1, ptr %13, align 4 store i32 1, ptr %14, align 4 br label %23 23: ; preds = %22, %3 store i32 0, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp ult i32 %24, %25 br i1 %26, label %.lr.ph11, label %118 .lr.ph11: ; preds = %23 br label %27 27: ; preds = %.lr.ph11, %111 store i32 0, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp ult i32 %28, %29 br i1 %30, label %.lr.ph8, label %110 .lr.ph8: ; preds = %27 br label %31 31: ; preds = %.lr.ph8, %103 store i32 0, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp ult i32 %32, %33 br i1 %34, label %.lr.ph5, label %102 .lr.ph5: ; preds = %31 br label %35 35: ; preds = %.lr.ph5, %96 %36 = load i32, ptr %8, align 4 store i32 %36, ptr %11, align 4 %37 = load i32, ptr %11, align 4 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %13, align 4 %40 = add i32 %38, %39 %41 = icmp ult i32 %37, %40 br i1 %41, label %.lr.ph2, label %95 .lr.ph2: ; preds = %35 br label %42 42: ; preds = %.lr.ph2, %87 %43 = load i32, ptr %9, align 4 store i32 %43, ptr %12, align 4 %44 = load i32, ptr %12, align 4 %45 = load i32, ptr %9, align 4 %46 = load i32, ptr %14, align 4 %47 = add i32 %45, %46 %48 = icmp ult i32 %44, %47 br i1 %48, label %.lr.ph, label %86 .lr.ph: ; preds = %42 br label %49 49: ; preds = %.lr.ph, %78 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %11, align 4 %52 = load i32, ptr %10, align 4 %53 = load i32, ptr %6, align 4 %54 = mul i32 %52, %53 %55 = add i32 %51, %54 %56 = zext i32 %55 to i64 %57 = getelementptr inbounds double, ptr %50, i64 %56 %58 = load double, ptr %57, align 8 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %12, align 4 %62 = load i32, ptr %6, align 4 %63 = mul i32 %61, %62 %64 = add i32 %60, %63 %65 = zext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %59, i64 %65 %67 = load double, ptr %66, align 8 %68 = load ptr, ptr %7, align 8 %69 = load i32, ptr %11, align 4 %70 = load i32, ptr %12, align 4 %71 = load i32, ptr %6, align 4 %72 = mul i32 %70, %71 %73 = add i32 %69, %72 %74 = zext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %68, i64 %74 %76 = load double, ptr %75, align 8 %77 = call double @llvm.fmuladd.f64(double %58, double %67, double %76) store double %77, ptr %75, align 8 br label %78 78: ; preds = %49 %79 = load i32, ptr %12, align 4 %80 = add i32 %79, 1 store i32 %80, ptr %12, align 4 %81 = load i32, ptr %12, align 4 %82 = load i32, ptr %9, align 4 %83 = load i32, ptr %14, align 4 %84 = add i32 %82, %83 %85 = icmp ult i32 %81, %84 br i1 %85, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %78 br label %86 86: ; preds = %._crit_edge, %42 br label %87 87: ; preds = %86 %88 = load i32, ptr %11, align 4 %89 = add i32 %88, 1 store i32 %89, ptr %11, align 4 %90 = load i32, ptr %11, align 4 %91 = load i32, ptr %8, align 4 %92 = load i32, ptr %13, align 4 %93 = add i32 %91, %92 %94 = icmp ult i32 %90, %93 br i1 %94, label %42, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %95 95: ; preds = %._crit_edge3, %35 br label %96 96: ; preds = %95 %97 = load i32, ptr %10, align 4 %98 = add i32 %97, 1 store i32 %98, ptr %10, align 4 %99 = load i32, ptr %10, align 4 %100 = load i32, ptr %6, align 4 %101 = icmp ult i32 %99, %100 br i1 %101, label %35, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %96 br label %102 102: ; preds = %._crit_edge6, %31 br label %103 103: ; preds = %102 %104 = load i32, ptr %14, align 4 %105 = load i32, ptr %9, align 4 %106 = add i32 %105, %104 store i32 %106, ptr %9, align 4 %107 = load i32, ptr %9, align 4 %108 = load i32, ptr %6, align 4 %109 = icmp ult i32 %107, %108 br i1 %109, label %31, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %103 br label %110 110: ; preds = %._crit_edge9, %27 br label %111 111: ; preds = %110 %112 = load i32, ptr %13, align 4 %113 = load i32, ptr %8, align 4 %114 = add i32 %113, %112 store i32 %114, ptr %8, align 4 %115 = load i32, ptr %8, align 4 %116 = load i32, ptr %6, align 4 %117 = icmp ult i32 %115, %116 br i1 %117, label %27, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %111 br label %118 118: ; preds = %._crit_edge12, %23 %119 = load ptr, ptr %7, align 8 ret ptr %119 } declare i64 @calloc(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmphe2wjmi3.c' source_filename = "/tmp/tmphe2wjmi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @dump.buffer = internal global [1024 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [6 x i8] c"%02X \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dump(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store ptr @dump.buffer, ptr %5, align 8 store i64 0, ptr %6, align 8 br label %7 7: ; preds = %21, %2 %8 = load i64, ptr %6, align 8 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %7 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = load i64, ptr %6, align 8 %15 = getelementptr inbounds i32, ptr %13, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, i32 noundef %16) %18 = load ptr, ptr %5, align 8 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds i8, ptr %18, i64 %19 store ptr %20, ptr %5, align 8 br label %21 21: ; preds = %11 %22 = load i64, ptr %6, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %6, align 8 br label %7, !llvm.loop !6 24: ; preds = %7 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 -1 store ptr %26, ptr %5, align 8 store i8 0, ptr %26, align 1 ret ptr @dump.buffer } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphe2wjmi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @dump.buffer = internal global [1024 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [6 x i8] c"%02X \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dump(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store ptr @dump.buffer, ptr %5, align 8 store i64 0, ptr %6, align 8 %7 = load i64, ptr %6, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %20 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %6, align 8 %14 = getelementptr inbounds i32, ptr %12, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %15) %17 = load ptr, ptr %5, align 8 %18 = sext i32 %16 to i64 %19 = getelementptr inbounds i8, ptr %17, i64 %18 store ptr %19, ptr %5, align 8 br label %20 20: ; preds = %10 %21 = load i64, ptr %6, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %6, align 8 %23 = load i64, ptr %6, align 8 %24 = load i64, ptr %4, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 -1 store ptr %28, ptr %5, align 8 store i8 0, ptr %28, align 1 ret ptr @dump.buffer } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7coaw37p.c' source_filename = "/tmp/tmp7coaw37p.c" target datalayout = "e-m:e-p270: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/tmp7coaw37p.c" target datalayout = "e-m:e-p270: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/tmppmjwjy22.c' source_filename = "/tmp/tmppmjwjy22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %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 sgt i32 %8, 1 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i64 @atol(ptr noundef %13) br label %16 15: ; preds = %2 br label %16 16: ; preds = %15, %10 %17 = phi i64 [ %14, %10 ], [ 1000000000, %15 ] %18 = trunc i64 %17 to i32 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = sdiv i32 %19, 8 %21 = sdiv i32 %20, 2 %22 = add nsw i32 %21, 1 %23 = call ptr @calloc(i32 noundef %22, i32 noundef 1) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %6, align 4 %26 = call i32 @calc_primes(ptr noundef %24, i32 noundef %25) %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %6, align 4 %29 = sub nsw i32 %28, 1 %30 = sdiv i32 %29, 2 %31 = add nsw i32 %30, 1 %32 = call i32 @count_primes(ptr noundef %27, i32 noundef %31) %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = load ptr, ptr %7, align 8 %35 = call i32 @free(ptr noundef %34) %36 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %36 } declare i64 @atol(ptr noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @calc_primes(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @count_primes(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppmjwjy22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %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 sgt i32 %8, 1 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i64 @atol(ptr noundef %13) br label %16 15: ; preds = %2 br label %16 16: ; preds = %15, %10 %17 = phi i64 [ %14, %10 ], [ 1000000000, %15 ] %18 = trunc i64 %17 to i32 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = sdiv i32 %19, 8 %21 = sdiv i32 %20, 2 %22 = add nsw i32 %21, 1 %23 = call ptr @calloc(i32 noundef %22, i32 noundef 1) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %6, align 4 %26 = call i32 @calc_primes(ptr noundef %24, i32 noundef %25) %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %6, align 4 %29 = sub nsw i32 %28, 1 %30 = sdiv i32 %29, 2 %31 = add nsw i32 %30, 1 %32 = call i32 @count_primes(ptr noundef %27, i32 noundef %31) %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = load ptr, ptr %7, align 8 %35 = call i32 @free(ptr noundef %34) %36 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %36 } declare i64 @atol(ptr noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @calc_primes(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @count_primes(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl9m6ps83.c' source_filename = "/tmp/tmpl9m6ps83.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0A------------------------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Informe seu salario atual: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Voce nao recebera aumento.\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Seu novo salario e: R$%.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ex4() #0 { %1 = alloca i32, align 4 %2 = call i32 @print(ptr noundef @.str) %3 = call i32 @print(ptr noundef @.str.1) %4 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %5 = load i32, ptr %1, align 4 %6 = icmp sgt i32 %5, 2000 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @print(ptr noundef @.str.3) br label %15 9: ; preds = %0 %10 = load i32, ptr %1, align 4 %11 = sitofp i32 %10 to double %12 = fmul double %11, 1.300000e+00 %13 = fptosi double %12 to i32 %14 = call i32 @printf(ptr noundef @.str.4, i32 noundef %13) br label %15 15: ; preds = %9, %7 %16 = call i32 @print(ptr noundef @.str) ret void } declare i32 @print(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl9m6ps83.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0A------------------------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Informe seu salario atual: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Voce nao recebera aumento.\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Seu novo salario e: R$%.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ex4() #0 { %1 = alloca i32, align 4 %2 = call i32 @print(ptr noundef @.str) %3 = call i32 @print(ptr noundef @.str.1) %4 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %5 = load i32, ptr %1, align 4 %6 = icmp sgt i32 %5, 2000 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @print(ptr noundef @.str.3) br label %15 9: ; preds = %0 %10 = load i32, ptr %1, align 4 %11 = sitofp i32 %10 to double %12 = fmul double %11, 1.300000e+00 %13 = fptosi double %12 to i32 %14 = call i32 @printf(ptr noundef @.str.4, i32 noundef %13) br label %15 15: ; preds = %9, %7 %16 = call i32 @print(ptr noundef @.str) ret void } declare i32 @print(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0lj7ww0f.c' source_filename = "/tmp/tmp0lj7ww0f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: jscal <device>\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c" -c --calibrate Calibrate the joystick\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c" -h --help Display this help\00", align 1 @.str.3 = private unnamed_addr constant [73 x i8] c" -s <x,y,z...> --set-correction Sets correction to specified values\00", align 1 @.str.4 = private unnamed_addr constant [78 x i8] c" -t --test-center Tests if joystick is corectly calibrated\00", align 1 @.str.5 = private unnamed_addr constant [75 x i8] c" returns 0 on success, see the jscal\00", align 1 @.str.6 = private unnamed_addr constant [64 x i8] c" manpage for error values\00", align 1 @.str.7 = private unnamed_addr constant [64 x i8] c" -V --version Prints the version numbers\00", align 1 @.str.8 = private unnamed_addr constant [76 x i8] c" -p --print-correction Prints the current settings as a jscal\00", align 1 @.str.9 = private unnamed_addr constant [52 x i8] c" command line\00", align 1 @.str.10 = private unnamed_addr constant [71 x i8] c" -q --print-mappings Print the current axis and button\00", align 1 @.str.11 = private unnamed_addr constant [72 x i8] c" mappings as a jscal command line\00", align 1 @.str.12 = private unnamed_addr constant [35 x i8] c" -u <n_of_axes,axmap1,axmap2,...,\00", align 1 @.str.13 = private unnamed_addr constant [36 x i8] c" n_of_buttons,btnmap1,btnmap2,\00", align 1 @.str.14 = private unnamed_addr constant [74 x i8] c" ...> --set-mappings Sets axis and button mappings to the\00", align 1 @.str.15 = private unnamed_addr constant [57 x i8] c" specified values\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @putchar(i8 noundef signext 10) %2 = call i32 @puts(ptr noundef @.str) %3 = call i32 @putchar(i8 noundef signext 10) %4 = call i32 @puts(ptr noundef @.str.1) %5 = call i32 @puts(ptr noundef @.str.2) %6 = call i32 @puts(ptr noundef @.str.3) %7 = call i32 @puts(ptr noundef @.str.4) %8 = call i32 @puts(ptr noundef @.str.5) %9 = call i32 @puts(ptr noundef @.str.6) %10 = call i32 @puts(ptr noundef @.str.7) %11 = call i32 @puts(ptr noundef @.str.8) %12 = call i32 @puts(ptr noundef @.str.9) %13 = call i32 @puts(ptr noundef @.str.10) %14 = call i32 @puts(ptr noundef @.str.11) %15 = call i32 @puts(ptr noundef @.str.12) %16 = call i32 @puts(ptr noundef @.str.13) %17 = call i32 @puts(ptr noundef @.str.14) %18 = call i32 @puts(ptr noundef @.str.15) %19 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @putchar(i8 noundef signext) #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/tmp0lj7ww0f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: jscal <device>\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c" -c --calibrate Calibrate the joystick\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c" -h --help Display this help\00", align 1 @.str.3 = private unnamed_addr constant [73 x i8] c" -s <x,y,z...> --set-correction Sets correction to specified values\00", align 1 @.str.4 = private unnamed_addr constant [78 x i8] c" -t --test-center Tests if joystick is corectly calibrated\00", align 1 @.str.5 = private unnamed_addr constant [75 x i8] c" returns 0 on success, see the jscal\00", align 1 @.str.6 = private unnamed_addr constant [64 x i8] c" manpage for error values\00", align 1 @.str.7 = private unnamed_addr constant [64 x i8] c" -V --version Prints the version numbers\00", align 1 @.str.8 = private unnamed_addr constant [76 x i8] c" -p --print-correction Prints the current settings as a jscal\00", align 1 @.str.9 = private unnamed_addr constant [52 x i8] c" command line\00", align 1 @.str.10 = private unnamed_addr constant [71 x i8] c" -q --print-mappings Print the current axis and button\00", align 1 @.str.11 = private unnamed_addr constant [72 x i8] c" mappings as a jscal command line\00", align 1 @.str.12 = private unnamed_addr constant [35 x i8] c" -u <n_of_axes,axmap1,axmap2,...,\00", align 1 @.str.13 = private unnamed_addr constant [36 x i8] c" n_of_buttons,btnmap1,btnmap2,\00", align 1 @.str.14 = private unnamed_addr constant [74 x i8] c" ...> --set-mappings Sets axis and button mappings to the\00", align 1 @.str.15 = private unnamed_addr constant [57 x i8] c" specified values\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @putchar(i8 noundef signext 10) %2 = call i32 @puts(ptr noundef @.str) %3 = call i32 @putchar(i8 noundef signext 10) %4 = call i32 @puts(ptr noundef @.str.1) %5 = call i32 @puts(ptr noundef @.str.2) %6 = call i32 @puts(ptr noundef @.str.3) %7 = call i32 @puts(ptr noundef @.str.4) %8 = call i32 @puts(ptr noundef @.str.5) %9 = call i32 @puts(ptr noundef @.str.6) %10 = call i32 @puts(ptr noundef @.str.7) %11 = call i32 @puts(ptr noundef @.str.8) %12 = call i32 @puts(ptr noundef @.str.9) %13 = call i32 @puts(ptr noundef @.str.10) %14 = call i32 @puts(ptr noundef @.str.11) %15 = call i32 @puts(ptr noundef @.str.12) %16 = call i32 @puts(ptr noundef @.str.13) %17 = call i32 @puts(ptr noundef @.str.14) %18 = call i32 @puts(ptr noundef @.str.15) %19 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @putchar(i8 noundef signext) #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/tmp55xky7ww.c' source_filename = "/tmp/tmp55xky7ww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverseWords(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %1 br label %187 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = sub nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %14 br label %187 21: ; preds = %14 store i32 0, ptr %4, align 4 %22 = load i32, ptr %3, align 4 store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %37, %21 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %27, label %35 27: ; preds = %23 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 32 br label %35 35: ; preds = %27, %23 %36 = phi i1 [ false, %23 ], [ %34, %27 ] br i1 %36, label %37, label %40 37: ; preds = %35 %38 = load i32, ptr %4, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %4, align 4 br label %23, !llvm.loop !6 40: ; preds = %35 br label %41 41: ; preds = %55, %40 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp sgt i32 %42, %43 br i1 %44, label %45, label %53 45: ; preds = %41 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %5, 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 = icmp eq i32 %51, 32 br label %53 53: ; preds = %45, %41 %54 = phi i1 [ false, %41 ], [ %52, %45 ] br i1 %54, label %55, label %58 55: ; preds = %53 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %5, align 4 br label %41, !llvm.loop !8 58: ; preds = %53 %59 = load i32, ptr %4, align 4 store i32 %59, ptr %6, align 4 %60 = load i32, ptr %6, align 4 %61 = icmp sgt i32 %60, 0 br i1 %61, label %66, label %62 62: ; preds = %58 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %3, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %66, label %87 66: ; preds = %62, %58 br label %67 67: ; preds = %83, %66 %68 = load i32, ptr %4, align 4 %69 = load i32, ptr %5, align 4 %70 = icmp sle i32 %68, %69 br i1 %70, label %71, label %86 71: ; preds = %67 %72 = load ptr, ptr %2, align 8 %73 = load i32, ptr %4, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = load i8, ptr %75, align 1 %77 = load ptr, ptr %2, align 8 %78 = load i32, ptr %4, align 4 %79 = load i32, ptr %6, align 4 %80 = sub nsw i32 %78, %79 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %77, i64 %81 store i8 %76, ptr %82, align 1 br label %83 83: ; preds = %71 %84 = load i32, ptr %4, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %4, align 4 br label %67, !llvm.loop !9 86: ; preds = %67 br label %87 87: ; preds = %86, %62 %88 = load i32, ptr %5, align 4 %89 = load i32, ptr %6, align 4 %90 = sub nsw i32 %88, %89 %91 = add nsw i32 %90, 1 %92 = load i32, ptr %3, align 4 %93 = icmp sle i32 %91, %92 br i1 %93, label %94, label %102 94: ; preds = %87 %95 = load ptr, ptr %2, align 8 %96 = load i32, ptr %5, align 4 %97 = load i32, ptr %6, align 4 %98 = sub nsw i32 %96, %97 %99 = add nsw i32 %98, 1 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %95, i64 %100 store i8 0, ptr %101, align 1 br label %102 102: ; preds = %94, %87 %103 = load i32, ptr %5, align 4 %104 = load i32, ptr %6, align 4 %105 = sub nsw i32 %103, %104 store i32 %105, ptr %3, align 4 store i32 0, ptr %7, align 4 %106 = load ptr, ptr %2, align 8 %107 = load i32, ptr %3, align 4 %108 = call i32 @reverseStr(ptr noundef %106, i32 noundef 0, i32 noundef %107) store i32 0, ptr %4, align 4 br label %109 109: ; preds = %173, %102 %110 = load i32, ptr %4, align 4 %111 = load i32, ptr %3, align 4 %112 = icmp sle i32 %110, %111 br i1 %112, label %113, label %176 113: ; preds = %109 br label %114 114: ; preds = %128, %113 %115 = load i32, ptr %4, align 4 %116 = load i32, ptr %3, align 4 %117 = icmp sle i32 %115, %116 br i1 %117, label %118, label %126 118: ; preds = %114 %119 = load ptr, ptr %2, align 8 %120 = load i32, ptr %4, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i8, ptr %119, i64 %121 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = icmp eq i32 %124, 32 br label %126 126: ; preds = %118, %114 %127 = phi i1 [ false, %114 ], [ %125, %118 ] br i1 %127, label %128, label %133 128: ; preds = %126 %129 = load i32, ptr %4, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %4, align 4 %131 = load i32, ptr %7, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %7, align 4 br label %114, !llvm.loop !10 133: ; preds = %126 %134 = load i32, ptr %4, align 4 %135 = load i32, ptr %3, align 4 %136 = icmp sgt i32 %134, %135 br i1 %136, label %137, label %144 137: ; preds = %133 %138 = load ptr, ptr %2, align 8 %139 = load i32, ptr %4, align 4 %140 = load i32, ptr %7, align 4 %141 = sub nsw i32 %139, %140 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i8, ptr %138, i64 %142 store i8 0, ptr %143, align 1 br label %187 144: ; preds = %133 %145 = load ptr, ptr %2, align 8 %146 = load i32, ptr %4, align 4 %147 = call i32 @findWord(ptr noundef %145, i32 noundef %146, ptr noundef %8, ptr noundef %9) %148 = load i32, ptr %8, align 4 %149 = load i32, ptr %9, align 4 %150 = add nsw i32 %148, %149 %151 = sub nsw i32 %150, 1 store i32 %151, ptr %4, align 4 %152 = load ptr, ptr %2, align 8 %153 = load i32, ptr %8, align 4 %154 = load i32, ptr %4, align 4 %155 = call i32 @reverseStr(ptr noundef %152, i32 noundef %153, i32 noundef %154) %156 = load ptr, ptr %2, align 8 %157 = load i32, ptr %8, align 4 %158 = load i32, ptr %9, align 4 %159 = load i32, ptr %7, align 4 %160 = call i32 @moveStr(ptr noundef %156, i32 noundef %157, i32 noundef %158, i32 noundef %159) %161 = load i32, ptr %4, align 4 %162 = load i32, ptr %7, align 4 %163 = sub nsw i32 %161, %162 %164 = add nsw i32 %163, 1 store i32 %164, ptr %10, align 4 %165 = load i32, ptr %10, align 4 %166 = load i32, ptr %3, align 4 %167 = icmp slt i32 %165, %166 br i1 %167, label %168, label %173 168: ; preds = %144 %169 = load ptr, ptr %2, align 8 %170 = load i32, ptr %10, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i8, ptr %169, i64 %171 store i8 32, ptr %172, align 1 br label %173 173: ; preds = %168, %144 %174 = load i32, ptr %4, align 4 %175 = add nsw i32 %174, 2 store i32 %175, ptr %4, align 4 br label %109, !llvm.loop !11 176: ; preds = %109 %177 = load i32, ptr %7, align 4 %178 = icmp sgt i32 %177, 0 br i1 %178, label %179, label %187 179: ; preds = %176 %180 = load ptr, ptr %2, align 8 %181 = load i32, ptr %3, align 4 %182 = load i32, ptr %7, align 4 %183 = sub nsw i32 %181, %182 %184 = add nsw i32 %183, 1 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i8, ptr %180, i64 %185 store i8 0, ptr %186, align 1 br label %187 187: ; preds = %13, %20, %137, %179, %176 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @reverseStr(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @findWord(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @moveStr(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"} !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/tmp55xky7ww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverseWords(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %1 br label %191 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = sub nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %14 br label %191 21: ; preds = %14 store i32 0, ptr %4, align 4 %22 = load i32, ptr %3, align 4 store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %37, %21 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %27, label %35 27: ; preds = %23 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 32 br label %35 35: ; preds = %27, %23 %36 = phi i1 [ false, %23 ], [ %34, %27 ] br i1 %36, label %37, label %40 37: ; preds = %35 %38 = load i32, ptr %4, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %4, align 4 br label %23, !llvm.loop !6 40: ; preds = %35 br label %41 41: ; preds = %55, %40 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp sgt i32 %42, %43 br i1 %44, label %45, label %53 45: ; preds = %41 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %5, 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 = icmp eq i32 %51, 32 br label %53 53: ; preds = %45, %41 %54 = phi i1 [ false, %41 ], [ %52, %45 ] br i1 %54, label %55, label %58 55: ; preds = %53 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %5, align 4 br label %41, !llvm.loop !8 58: ; preds = %53 %59 = load i32, ptr %4, align 4 store i32 %59, ptr %6, align 4 %60 = load i32, ptr %6, align 4 %61 = icmp sgt i32 %60, 0 br i1 %61, label %66, label %62 62: ; preds = %58 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %3, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %66, label %89 66: ; preds = %62, %58 %67 = load i32, ptr %4, align 4 %68 = load i32, ptr %5, align 4 %69 = icmp sle i32 %67, %68 br i1 %69, label %.lr.ph, label %88 .lr.ph: ; preds = %66 br label %70 70: ; preds = %.lr.ph, %82 %71 = load ptr, ptr %2, align 8 %72 = load i32, ptr %4, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = load i8, ptr %74, align 1 %76 = load ptr, ptr %2, align 8 %77 = load i32, ptr %4, align 4 %78 = load i32, ptr %6, align 4 %79 = sub nsw i32 %77, %78 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %76, i64 %80 store i8 %75, ptr %81, align 1 br label %82 82: ; preds = %70 %83 = load i32, ptr %4, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %4, align 4 %85 = load i32, ptr %4, align 4 %86 = load i32, ptr %5, align 4 %87 = icmp sle i32 %85, %86 br i1 %87, label %70, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %82 br label %88 88: ; preds = %._crit_edge, %66 br label %89 89: ; preds = %88, %62 %90 = load i32, ptr %5, align 4 %91 = load i32, ptr %6, align 4 %92 = sub nsw i32 %90, %91 %93 = add nsw i32 %92, 1 %94 = load i32, ptr %3, align 4 %95 = icmp sle i32 %93, %94 br i1 %95, label %96, label %104 96: ; preds = %89 %97 = load ptr, ptr %2, align 8 %98 = load i32, ptr %5, align 4 %99 = load i32, ptr %6, align 4 %100 = sub nsw i32 %98, %99 %101 = add nsw i32 %100, 1 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i8, ptr %97, i64 %102 store i8 0, ptr %103, align 1 br label %104 104: ; preds = %96, %89 %105 = load i32, ptr %5, align 4 %106 = load i32, ptr %6, align 4 %107 = sub nsw i32 %105, %106 store i32 %107, ptr %3, align 4 store i32 0, ptr %7, align 4 %108 = load ptr, ptr %2, align 8 %109 = load i32, ptr %3, align 4 %110 = call i32 @reverseStr(ptr noundef %108, i32 noundef 0, i32 noundef %109) store i32 0, ptr %4, align 4 %111 = load i32, ptr %4, align 4 %112 = load i32, ptr %3, align 4 %113 = icmp sle i32 %111, %112 br i1 %113, label %.lr.ph2, label %180 .lr.ph2: ; preds = %104 br label %114 114: ; preds = %.lr.ph2, %174 br label %115 115: ; preds = %129, %114 %116 = load i32, ptr %4, align 4 %117 = load i32, ptr %3, align 4 %118 = icmp sle i32 %116, %117 br i1 %118, label %119, label %127 119: ; preds = %115 %120 = load ptr, ptr %2, align 8 %121 = load i32, ptr %4, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %120, i64 %122 %124 = load i8, ptr %123, align 1 %125 = sext i8 %124 to i32 %126 = icmp eq i32 %125, 32 br label %127 127: ; preds = %119, %115 %128 = phi i1 [ false, %115 ], [ %126, %119 ] br i1 %128, label %129, label %134 129: ; preds = %127 %130 = load i32, ptr %4, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %4, align 4 %132 = load i32, ptr %7, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %7, align 4 br label %115, !llvm.loop !10 134: ; preds = %127 %135 = load i32, ptr %4, align 4 %136 = load i32, ptr %3, align 4 %137 = icmp sgt i32 %135, %136 br i1 %137, label %138, label %145 138: ; preds = %134 %139 = load ptr, ptr %2, align 8 %140 = load i32, ptr %4, align 4 %141 = load i32, ptr %7, align 4 %142 = sub nsw i32 %140, %141 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i8, ptr %139, i64 %143 store i8 0, ptr %144, align 1 br label %191 145: ; preds = %134 %146 = load ptr, ptr %2, align 8 %147 = load i32, ptr %4, align 4 %148 = call i32 @findWord(ptr noundef %146, i32 noundef %147, ptr noundef %8, ptr noundef %9) %149 = load i32, ptr %8, align 4 %150 = load i32, ptr %9, align 4 %151 = add nsw i32 %149, %150 %152 = sub nsw i32 %151, 1 store i32 %152, ptr %4, align 4 %153 = load ptr, ptr %2, align 8 %154 = load i32, ptr %8, align 4 %155 = load i32, ptr %4, align 4 %156 = call i32 @reverseStr(ptr noundef %153, i32 noundef %154, i32 noundef %155) %157 = load ptr, ptr %2, align 8 %158 = load i32, ptr %8, align 4 %159 = load i32, ptr %9, align 4 %160 = load i32, ptr %7, align 4 %161 = call i32 @moveStr(ptr noundef %157, i32 noundef %158, i32 noundef %159, i32 noundef %160) %162 = load i32, ptr %4, align 4 %163 = load i32, ptr %7, align 4 %164 = sub nsw i32 %162, %163 %165 = add nsw i32 %164, 1 store i32 %165, ptr %10, align 4 %166 = load i32, ptr %10, align 4 %167 = load i32, ptr %3, align 4 %168 = icmp slt i32 %166, %167 br i1 %168, label %169, label %174 169: ; preds = %145 %170 = load ptr, ptr %2, align 8 %171 = load i32, ptr %10, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds i8, ptr %170, i64 %172 store i8 32, ptr %173, align 1 br label %174 174: ; preds = %169, %145 %175 = load i32, ptr %4, align 4 %176 = add nsw i32 %175, 2 store i32 %176, ptr %4, align 4 %177 = load i32, ptr %4, align 4 %178 = load i32, ptr %3, align 4 %179 = icmp sle i32 %177, %178 br i1 %179, label %114, label %._crit_edge3, !llvm.loop !11 ._crit_edge3: ; preds = %174 br label %180 180: ; preds = %._crit_edge3, %104 %181 = load i32, ptr %7, align 4 %182 = icmp sgt i32 %181, 0 br i1 %182, label %183, label %191 183: ; preds = %180 %184 = load ptr, ptr %2, align 8 %185 = load i32, ptr %3, align 4 %186 = load i32, ptr %7, align 4 %187 = sub nsw i32 %185, %186 %188 = add nsw i32 %187, 1 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds i8, ptr %184, i64 %189 store i8 0, ptr %190, align 1 br label %191 191: ; preds = %183, %180, %138, %20, %13 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @reverseStr(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @findWord(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @moveStr(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"} !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/tmp0oyecld4.c' source_filename = "/tmp/tmp0oyecld4.c" target datalayout = "e-m:e-p270: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/tmp0oyecld4.c" target datalayout = "e-m:e-p270: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/tmps2imjjb9.c' source_filename = "/tmp/tmps2imjjb9.c" target datalayout = "e-m:e-p270: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 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @link(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOSYS, align 4 store i32 %5, ptr @errno, align 4 ret 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps2imjjb9.c" target datalayout = "e-m:e-p270: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 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @link(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOSYS, align 4 store i32 %5, ptr @errno, align 4 ret 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpntvw4ors.c' source_filename = "/tmp/tmpntvw4ors.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mactrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @macro(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @trim(ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @macro(ptr noundef) #1 declare i32 @trim(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpntvw4ors.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mactrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @macro(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @trim(ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @macro(ptr noundef) #1 declare i32 @trim(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzev97bo0.c' source_filename = "/tmp/tmpzev97bo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %7, align 8 store i64 0, ptr %8, align 8 %12 = load ptr, ptr %4, align 8 %13 = ptrtoint ptr %12 to i32 %14 = sext i32 %13 to i64 %15 = and i64 %14, 7 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %44 17: ; preds = %3 store i32 0, ptr %10, align 4 br label %18 18: ; preds = %30, %17 %19 = load i32, ptr %10, align 4 %20 = sext i32 %19 to i64 %21 = icmp ult i64 %20, 8 br i1 %21, label %22, label %33 22: ; preds = %18 %23 = load i64, ptr %8, align 8 %24 = shl i64 %23, 8 store i64 %24, ptr %8, align 8 %25 = load i32, ptr %5, align 4 %26 = and i32 %25, 255 %27 = sext i32 %26 to i64 %28 = load i64, ptr %8, align 8 %29 = or i64 %28, %27 store i64 %29, ptr %8, align 8 br label %30 30: ; preds = %22 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %10, align 4 br label %18, !llvm.loop !6 33: ; preds = %18 br label %34 34: ; preds = %37, %33 %35 = load i64, ptr %6, align 8 %36 = icmp uge i64 %35, 8 br i1 %36, label %37, label %43 37: ; preds = %34 %38 = load i64, ptr %8, align 8 %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds i64, ptr %39, i32 1 store ptr %40, ptr %7, align 8 store i64 %38, ptr %39, align 8 %41 = load i64, ptr %6, align 8 %42 = sub i64 %41, 8 store i64 %42, ptr %6, align 8 br label %34, !llvm.loop !8 43: ; preds = %34 br label %44 44: ; preds = %43, %3 %45 = load ptr, ptr %7, align 8 store ptr %45, ptr %9, align 8 br label %46 46: ; preds = %50, %44 %47 = load i64, ptr %6, align 8 %48 = add i64 %47, -1 store i64 %48, ptr %6, align 8 %49 = icmp ne i64 %47, 0 br i1 %49, label %50, label %55 50: ; preds = %46 %51 = load i32, ptr %5, align 4 %52 = trunc i32 %51 to i8 %53 = load ptr, ptr %9, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %9, align 8 store i8 %52, ptr %53, align 1 br label %46, !llvm.loop !9 55: ; preds = %46 %56 = load ptr, ptr %4, align 8 ret ptr %56 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzev97bo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %7, align 8 store i64 0, ptr %8, align 8 %12 = load ptr, ptr %4, align 8 %13 = ptrtoint ptr %12 to i32 %14 = sext i32 %13 to i64 %15 = and i64 %14, 7 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %47 17: ; preds = %3 store i32 0, ptr %10, align 4 %18 = load i32, ptr %10, align 4 %19 = sext i32 %18 to i64 %20 = icmp ult i64 %19, 8 br i1 %20, label %.lr.ph, label %35 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %29 %22 = load i64, ptr %8, align 8 %23 = shl i64 %22, 8 store i64 %23, ptr %8, align 8 %24 = load i32, ptr %5, align 4 %25 = and i32 %24, 255 %26 = sext i32 %25 to i64 %27 = load i64, ptr %8, align 8 %28 = or i64 %27, %26 store i64 %28, ptr %8, align 8 br label %29 29: ; preds = %21 %30 = load i32, ptr %10, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = sext i32 %32 to i64 %34 = icmp ult i64 %33, 8 br i1 %34, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %17 %36 = load i64, ptr %6, align 8 %37 = icmp uge i64 %36, 8 br i1 %37, label %.lr.ph2, label %46 .lr.ph2: ; preds = %35 br label %38 38: ; preds = %.lr.ph2, %38 %39 = load i64, ptr %8, align 8 %40 = load ptr, ptr %7, align 8 %41 = getelementptr inbounds i64, ptr %40, i32 1 store ptr %41, ptr %7, align 8 store i64 %39, ptr %40, align 8 %42 = load i64, ptr %6, align 8 %43 = sub i64 %42, 8 store i64 %43, ptr %6, align 8 %44 = load i64, ptr %6, align 8 %45 = icmp uge i64 %44, 8 br i1 %45, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %46 46: ; preds = %._crit_edge3, %35 br label %47 47: ; preds = %46, %3 %48 = load ptr, ptr %7, align 8 store ptr %48, ptr %9, align 8 %49 = load i64, ptr %6, align 8 %50 = add i64 %49, -1 store i64 %50, ptr %6, align 8 %51 = icmp ne i64 %49, 0 br i1 %51, label %.lr.ph5, label %60 .lr.ph5: ; preds = %47 br label %52 52: ; preds = %.lr.ph5, %52 %53 = load i32, ptr %5, align 4 %54 = trunc i32 %53 to i8 %55 = load ptr, ptr %9, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %9, align 8 store i8 %54, ptr %55, align 1 %57 = load i64, ptr %6, align 8 %58 = add i64 %57, -1 store i64 %58, ptr %6, align 8 %59 = icmp ne i64 %57, 0 br i1 %59, label %52, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %52 br label %60 60: ; preds = %._crit_edge6, %47 %61 = load ptr, ptr %4, align 8 ret ptr %61 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfqfm2c87.c' source_filename = "/tmp/tmpfqfm2c87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"enter numbers!(enter 0 to leave loop)\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @add_nodes_double_linked_list(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str) br label %5 5: ; preds = %11, %1 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = load ptr, ptr %2, align 8 ret ptr %10 11: ; preds = %5 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = call ptr @add_double_linked_list(ptr noundef %12, i32 noundef %13) store ptr %14, ptr %2, align 8 br label %5 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @add_double_linked_list(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfqfm2c87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"enter numbers!(enter 0 to leave loop)\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @add_nodes_double_linked_list(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %.lr.ph .lr.ph: ; preds = %1 br label %10 ._crit_edge: ; preds = %10 br label %8 8: ; preds = %._crit_edge, %1 %9 = load ptr, ptr %2, align 8 ret ptr %9 10: ; preds = %.lr.ph, %10 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = call ptr @add_double_linked_list(ptr noundef %11, i32 noundef %12) store ptr %13, ptr %2, align 8 %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %._crit_edge, label %10 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @add_double_linked_list(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplbbbkem6.c' source_filename = "/tmp/tmplbbbkem6.c" target datalayout = "e-m:e-p270: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/tmplbbbkem6.c" target datalayout = "e-m:e-p270: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/tmp6opyh3a_.c' source_filename = "/tmp/tmp6opyh3a_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64, i32 } %struct.dirent = type { ptr } @PATH_MAX = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"/..\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getcwd(ptr noundef %0, i64 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 i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca %struct.stat, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %16 = load i32, ptr @PATH_MAX, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %13, align 8 %19 = alloca i8, i64 %17, align 16 store i64 %17, ptr %14, align 8 %20 = load i64, ptr %5, align 8 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %2 %23 = load i32, ptr @EINVAL, align 4 store i32 %23, ptr @errno, align 4 store ptr null, ptr %3, align 8 store i32 1, ptr %15, align 4 br label %93 24: ; preds = %2 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 store i8 0, ptr %26, align 1 %27 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str) %28 = call i64 @stat(ptr noundef @.str.1, ptr noundef %11) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %24 br label %92 31: ; preds = %24 %32 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 1 %33 = load i32, ptr %32, align 8 store i32 %33, ptr %8, align 4 %34 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %35 = load i64, ptr %34, align 8 store i64 %35, ptr %9, align 8 br label %36 36: ; preds = %71, %31 br label %37 37: ; preds = %36 %38 = call i64 @stat(ptr noundef %19, ptr noundef %11) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %37 br label %92 41: ; preds = %37 %42 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 1 %43 = load i32, ptr %42, align 8 store i32 %43, ptr %6, align 4 %44 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %45 = load i64, ptr %44, align 8 store i64 %45, ptr %7, align 8 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp eq i32 %46, %47 br i1 %48, label %49, label %54 49: ; preds = %41 %50 = load i64, ptr %7, align 8 %51 = load i64, ptr %9, align 8 %52 = icmp eq i64 %50, %51 br i1 %52, label %53, label %54 53: ; preds = %49 br label %74 54: ; preds = %49, %41 %55 = call i32 @strcat(ptr noundef %19, ptr noundef @.str.2) %56 = call ptr @opendir(ptr noundef %19) store ptr %56, ptr %10, align 8 %57 = icmp eq ptr %56, null br i1 %57, label %58, label %59 58: ; preds = %54 br label %92 59: ; preds = %54 %60 = load ptr, ptr %10, align 8 %61 = load i32, ptr %6, align 4 %62 = call ptr @getdirent(ptr noundef %60, i32 noundef %61) store ptr %62, ptr %12, align 8 %63 = load ptr, ptr %4, align 8 %64 = load ptr, ptr %12, align 8 %65 = getelementptr inbounds %struct.dirent, ptr %64, i32 0, i32 0 %66 = load ptr, ptr %65, align 8 %67 = load i64, ptr %5, align 8 %68 = call i64 @prepend(ptr noundef %63, ptr noundef %66, i64 noundef %67) %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %59 br label %89 71: ; preds = %59 %72 = load ptr, ptr %10, align 8 %73 = call i32 @closedir(ptr noundef %72) br label %36 74: ; preds = %53 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 0 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 0 br i1 %79, label %80, label %87 80: ; preds = %74 %81 = load ptr, ptr %4, align 8 %82 = load i64, ptr %5, align 8 %83 = call i64 @prepend(ptr noundef %81, ptr noundef @.str.3, i64 noundef %82) %84 = icmp ne i64 %83, 0 br i1 %84, label %85, label %86 85: ; preds = %80 br label %92 86: ; preds = %80 br label %87 87: ; preds = %86, %74 %88 = load ptr, ptr %4, align 8 store ptr %88, ptr %3, align 8 store i32 1, ptr %15, align 4 br label %93 89: ; preds = %70 %90 = load ptr, ptr %10, align 8 %91 = call i32 @closedir(ptr noundef %90) br label %92 92: ; preds = %89, %85, %58, %40, %30 store ptr null, ptr %3, align 8 store i32 1, ptr %15, align 4 br label %93 93: ; preds = %92, %87, %22 %94 = load ptr, ptr %13, align 8 call void @llvm.stackrestore(ptr %94) %95 = load ptr, ptr %3, align 8 ret ptr %95 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i64 @stat(ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare ptr @opendir(ptr noundef) #2 declare ptr @getdirent(ptr noundef, i32 noundef) #2 declare i64 @prepend(ptr noundef, ptr noundef, i64 noundef) #2 declare i32 @closedir(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6opyh3a_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64, i32 } %struct.dirent = type { ptr } @PATH_MAX = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"/..\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getcwd(ptr noundef %0, i64 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 i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca %struct.stat, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %16 = load i32, ptr @PATH_MAX, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %13, align 8 %19 = alloca i8, i64 %17, align 16 store i64 %17, ptr %14, align 8 %20 = load i64, ptr %5, align 8 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %2 %23 = load i32, ptr @EINVAL, align 4 store i32 %23, ptr @errno, align 4 store ptr null, ptr %3, align 8 store i32 1, ptr %15, align 4 br label %93 24: ; preds = %2 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 store i8 0, ptr %26, align 1 %27 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str) %28 = call i64 @stat(ptr noundef @.str.1, ptr noundef %11) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %24 br label %92 31: ; preds = %24 %32 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 1 %33 = load i32, ptr %32, align 8 store i32 %33, ptr %8, align 4 %34 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %35 = load i64, ptr %34, align 8 store i64 %35, ptr %9, align 8 br label %36 36: ; preds = %71, %31 br label %37 37: ; preds = %36 %38 = call i64 @stat(ptr noundef %19, ptr noundef %11) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %37 br label %92 41: ; preds = %37 %42 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 1 %43 = load i32, ptr %42, align 8 store i32 %43, ptr %6, align 4 %44 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 0 %45 = load i64, ptr %44, align 8 store i64 %45, ptr %7, align 8 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp eq i32 %46, %47 br i1 %48, label %49, label %54 49: ; preds = %41 %50 = load i64, ptr %7, align 8 %51 = load i64, ptr %9, align 8 %52 = icmp eq i64 %50, %51 br i1 %52, label %53, label %54 53: ; preds = %49 br label %74 54: ; preds = %49, %41 %55 = call i32 @strcat(ptr noundef %19, ptr noundef @.str.2) %56 = call ptr @opendir(ptr noundef %19) store ptr %56, ptr %10, align 8 %57 = icmp eq ptr %56, null br i1 %57, label %58, label %59 58: ; preds = %54 br label %92 59: ; preds = %54 %60 = load ptr, ptr %10, align 8 %61 = load i32, ptr %6, align 4 %62 = call ptr @getdirent(ptr noundef %60, i32 noundef %61) store ptr %62, ptr %12, align 8 %63 = load ptr, ptr %4, align 8 %64 = load ptr, ptr %12, align 8 %65 = getelementptr inbounds %struct.dirent, ptr %64, i32 0, i32 0 %66 = load ptr, ptr %65, align 8 %67 = load i64, ptr %5, align 8 %68 = call i64 @prepend(ptr noundef %63, ptr noundef %66, i64 noundef %67) %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %59 br label %89 71: ; preds = %59 %72 = load ptr, ptr %10, align 8 %73 = call i32 @closedir(ptr noundef %72) br label %36 74: ; preds = %53 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 0 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 0 br i1 %79, label %80, label %87 80: ; preds = %74 %81 = load ptr, ptr %4, align 8 %82 = load i64, ptr %5, align 8 %83 = call i64 @prepend(ptr noundef %81, ptr noundef @.str.3, i64 noundef %82) %84 = icmp ne i64 %83, 0 br i1 %84, label %85, label %86 85: ; preds = %80 br label %92 86: ; preds = %80 br label %87 87: ; preds = %86, %74 %88 = load ptr, ptr %4, align 8 store ptr %88, ptr %3, align 8 store i32 1, ptr %15, align 4 br label %93 89: ; preds = %70 %90 = load ptr, ptr %10, align 8 %91 = call i32 @closedir(ptr noundef %90) br label %92 92: ; preds = %89, %85, %58, %40, %30 store ptr null, ptr %3, align 8 store i32 1, ptr %15, align 4 br label %93 93: ; preds = %92, %87, %22 %94 = load ptr, ptr %13, align 8 call void @llvm.stackrestore(ptr %94) %95 = load ptr, ptr %3, align 8 ret ptr %95 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i64 @stat(ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare ptr @opendir(ptr noundef) #2 declare ptr @getdirent(ptr noundef, i32 noundef) #2 declare i64 @prepend(ptr noundef, ptr noundef, i64 noundef) #2 declare i32 @closedir(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxyzclg2c.c' source_filename = "/tmp/tmpxyzclg2c.c" target datalayout = "e-m:e-p270: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/tmpxyzclg2c.c" target datalayout = "e-m:e-p270: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/tmpb7anxesp.c' source_filename = "/tmp/tmpb7anxesp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Expected %s to be in %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seatest_assert_string_contains(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [100000 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12) %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i64 @strstr(ptr noundef %14, ptr noundef %15) %17 = icmp ne i64 %16, 0 %18 = zext i1 %17 to i32 %19 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = call i32 @seatest_simple_test_result(i32 noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef %21) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @seatest_simple_test_result(i32 noundef, ptr noundef, ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb7anxesp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Expected %s to be in %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seatest_assert_string_contains(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [100000 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12) %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i64 @strstr(ptr noundef %14, ptr noundef %15) %17 = icmp ne i64 %16, 0 %18 = zext i1 %17 to i32 %19 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = call i32 @seatest_simple_test_result(i32 noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef %21) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @seatest_simple_test_result(i32 noundef, ptr noundef, ptr noundef, 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"}
; ModuleID = '/tmp/tmp1v5g87_w.c' source_filename = "/tmp/tmp1v5g87_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @board_nodemcu_rb() #0 { %1 = call i32 @serialport_set_rts(i32 noundef 1) %2 = call i32 @serialport_set_dtr(i32 noundef 0) %3 = call i32 @espcomm_delay_ms(i32 noundef 5) %4 = call i32 @serialport_set_rts(i32 noundef 0) %5 = call i32 @serialport_set_dtr(i32 noundef 1) %6 = call i32 @espcomm_delay_ms(i32 noundef 50) %7 = call i32 @serialport_set_dtr(i32 noundef 0) ret void } declare i32 @serialport_set_rts(i32 noundef) #1 declare i32 @serialport_set_dtr(i32 noundef) #1 declare i32 @espcomm_delay_ms(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/tmp1v5g87_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @board_nodemcu_rb() #0 { %1 = call i32 @serialport_set_rts(i32 noundef 1) %2 = call i32 @serialport_set_dtr(i32 noundef 0) %3 = call i32 @espcomm_delay_ms(i32 noundef 5) %4 = call i32 @serialport_set_rts(i32 noundef 0) %5 = call i32 @serialport_set_dtr(i32 noundef 1) %6 = call i32 @espcomm_delay_ms(i32 noundef 50) %7 = call i32 @serialport_set_dtr(i32 noundef 0) ret void } declare i32 @serialport_set_rts(i32 noundef) #1 declare i32 @serialport_set_dtr(i32 noundef) #1 declare i32 @espcomm_delay_ms(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/tmprbsegaz6.c' source_filename = "/tmp/tmprbsegaz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Util_is_zero(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @Util_equal(double noundef %3, double noundef 0.000000e+00) ret i32 %4 } declare i32 @Util_equal(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprbsegaz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Util_is_zero(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @Util_equal(double noundef %3, double noundef 0.000000e+00) ret i32 %4 } declare i32 @Util_equal(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnrqjsiwq.c' source_filename = "/tmp/tmpnrqjsiwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 br label %4 4: ; preds = %11, %1 %5 = load ptr, ptr %2, align 8 %6 = load i64, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %5, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %4 %12 = load i64, ptr %3, align 8 %13 = add i64 %12, 1 store i64 %13, ptr %3, align 8 br label %4, !llvm.loop !6 14: ; preds = %4 %15 = load i64, ptr %3, align 8 ret i64 %15 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpnrqjsiwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i64, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %4, i64 %5 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i64, ptr %3, align 8 %12 = add i64 %11, 1 store i64 %12, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = load i64, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %19 19: ; preds = %._crit_edge, %1 %20 = load i64, ptr %3, align 8 ret i64 %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo7zaj1vk.c' source_filename = "/tmp/tmpo7zaj1vk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"First, I'll choose a no between %d and %d: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [50 x i8] c"\0A\0A\09\09That would mean your chosen number is %d !!!\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"\09\09****************************************\0A\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"\09\09\09****Damn, I'm good %c****\0A\00", align 1 @.str.5 = private unnamed_addr constant [61 x i8] c"\0A\0ANow you guess, what number did i choose between %d and %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [66 x i8] c"\0A\09\09I say, in my absolute knowledge, the number you chose is.. %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [75 x i8] c"\09\09Am I close?\0A\09\09Enter \22H\22 if your chosen number is higher, or L if ... %c \00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"Naughty !\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 i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 100, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = call i64 @time(ptr noundef null) %8 = trunc i64 %7 to i32 %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 100) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = load i32, ptr @stdin, align 4 %13 = call i32 @fflush(i32 noundef %12) br label %14 14: ; preds = %65, %0 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %24 18: ; preds = %14 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 1) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %67 24: ; preds = %14 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %3, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %25, i32 noundef %26) %28 = call i32 (...) @rand() %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %2, align 4 %31 = sub nsw i32 %29, %30 %32 = srem i32 %28, %31 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, %33 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %36) %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %45 41: ; preds = %24 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 1) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %66 45: ; preds = %24 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef 16) %47 = call signext i8 (...) @getchar() store i8 %47, ptr %6, align 1 br label %48 48: ; preds = %52, %45 %49 = call signext i8 (...) @getchar() %50 = sext i8 %49 to i32 %51 = icmp ne i32 %50, 10 br i1 %51, label %52, label %53 52: ; preds = %48 br label %48, !llvm.loop !6 53: ; preds = %48 %54 = load i8, ptr %6, align 1 %55 = sext i8 %54 to i32 switch i32 %55, label %62 [ i32 72, label %56 i32 104, label %56 i32 76, label %59 i32 108, label %59 ] 56: ; preds = %53, %53 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %2, align 4 br label %64 59: ; preds = %53, %53 %60 = load i32, ptr %5, align 4 %61 = sub nsw i32 %60, 1 store i32 %61, ptr %3, align 4 br label %64 62: ; preds = %53 %63 = call i32 @puts(ptr noundef @.str.8) br label %64 64: ; preds = %62, %59, %56 br label %65 65: ; preds = %64 br i1 true, label %14, label %66 66: ; preds = %65, %41 br label %67 67: ; preds = %66, %18 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @rand(...) #1 declare signext i8 @getchar(...) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo7zaj1vk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"First, I'll choose a no between %d and %d: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [50 x i8] c"\0A\0A\09\09That would mean your chosen number is %d !!!\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"\09\09****************************************\0A\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"\09\09\09****Damn, I'm good %c****\0A\00", align 1 @.str.5 = private unnamed_addr constant [61 x i8] c"\0A\0ANow you guess, what number did i choose between %d and %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [66 x i8] c"\0A\09\09I say, in my absolute knowledge, the number you chose is.. %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [75 x i8] c"\09\09Am I close?\0A\09\09Enter \22H\22 if your chosen number is higher, or L if ... %c \00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"Naughty !\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 i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 100, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = call i64 @time(ptr noundef null) %8 = trunc i64 %7 to i32 %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 100) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = load i32, ptr @stdin, align 4 %13 = call i32 @fflush(i32 noundef %12) br label %14 14: ; preds = %64, %0 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %24 18: ; preds = %14 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 1) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %66 24: ; preds = %14 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %3, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %25, i32 noundef %26) %28 = call i32 (...) @rand() %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %2, align 4 %31 = sub nsw i32 %29, %30 %32 = srem i32 %28, %31 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, %33 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %36) %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %45 41: ; preds = %24 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 1) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %65 45: ; preds = %24 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef 16) %47 = call signext i8 (...) @getchar() store i8 %47, ptr %6, align 1 br label %48 48: ; preds = %48, %45 %49 = call signext i8 (...) @getchar() %50 = sext i8 %49 to i32 %51 = icmp ne i32 %50, 10 br i1 %51, label %48, label %52, !llvm.loop !6 52: ; preds = %48 %53 = load i8, ptr %6, align 1 %54 = sext i8 %53 to i32 switch i32 %54, label %61 [ i32 72, label %55 i32 104, label %55 i32 76, label %58 i32 108, label %58 ] 55: ; preds = %52, %52 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %2, align 4 br label %63 58: ; preds = %52, %52 %59 = load i32, ptr %5, align 4 %60 = sub nsw i32 %59, 1 store i32 %60, ptr %3, align 4 br label %63 61: ; preds = %52 %62 = call i32 @puts(ptr noundef @.str.8) br label %63 63: ; preds = %61, %58, %55 br label %64 64: ; preds = %63 br i1 true, label %14, label %.loopexit .loopexit: ; preds = %64 br label %65 65: ; preds = %.loopexit, %41 br label %66 66: ; preds = %65, %18 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @rand(...) #1 declare signext i8 @getchar(...) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpojctcxcq.c' source_filename = "/tmp/tmpojctcxcq.c" target datalayout = "e-m:e-p270: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/tmpojctcxcq.c" target datalayout = "e-m:e-p270: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/tmp1e2r1ey3.c' source_filename = "/tmp/tmp1e2r1ey3.c" target datalayout = "e-m:e-p270: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.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bcm2835_delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = udiv i32 %4, 1000 %6 = zext i32 %5 to i64 %7 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 %6, ptr %7, align 8 %8 = load i32, ptr %2, align 4 %9 = urem i32 %8, 1000 %10 = zext i32 %9 to i64 %11 = mul nsw i64 %10, 1000000 %12 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i64 %11, ptr %12, align 8 %13 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) ret void } declare i32 @nanosleep(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/tmp1e2r1ey3.c" target datalayout = "e-m:e-p270: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.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bcm2835_delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = udiv i32 %4, 1000 %6 = zext i32 %5 to i64 %7 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 %6, ptr %7, align 8 %8 = load i32, ptr %2, align 4 %9 = urem i32 %8, 1000 %10 = zext i32 %9 to i64 %11 = mul nsw i64 %10, 1000000 %12 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i64 %11, ptr %12, align 8 %13 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) ret void } declare i32 @nanosleep(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/tmp1f0h340b.c' source_filename = "/tmp/tmp1f0h340b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGINT = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @COLS = dso_local global i64 0, align 8 @LINES = dso_local global i64 0, align 8 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bye() #0 { %1 = load i32, ptr @SIGINT, align 4 %2 = load i32, ptr @SIG_IGN, align 4 %3 = call i32 @signal(i32 noundef %1, i32 noundef %2) %4 = load i64, ptr @COLS, align 8 %5 = sub nsw i64 %4, 1 %6 = load i64, ptr @LINES, align 8 %7 = sub nsw i64 %6, 1 %8 = call i32 @mvcur(i32 noundef 0, i64 noundef %5, i64 noundef %7, i32 noundef 0) %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fflush(i32 noundef %9) %11 = call i32 (...) @endwin() %12 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @signal(i32 noundef, i32 noundef) #1 declare i32 @mvcur(i32 noundef, i64 noundef, i64 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @endwin(...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1f0h340b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGINT = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @COLS = dso_local global i64 0, align 8 @LINES = dso_local global i64 0, align 8 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bye() #0 { %1 = load i32, ptr @SIGINT, align 4 %2 = load i32, ptr @SIG_IGN, align 4 %3 = call i32 @signal(i32 noundef %1, i32 noundef %2) %4 = load i64, ptr @COLS, align 8 %5 = sub nsw i64 %4, 1 %6 = load i64, ptr @LINES, align 8 %7 = sub nsw i64 %6, 1 %8 = call i32 @mvcur(i32 noundef 0, i64 noundef %5, i64 noundef %7, i32 noundef 0) %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fflush(i32 noundef %9) %11 = call i32 (...) @endwin() %12 = call i32 @putchar(i8 noundef signext 10) ret void } declare i32 @signal(i32 noundef, i32 noundef) #1 declare i32 @mvcur(i32 noundef, i64 noundef, i64 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @endwin(...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpriwfy6aq.c' source_filename = "/tmp/tmpriwfy6aq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Distrotech/gpm/refs/heads/distrotech-gpm/src/synaptics.c\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Reseting Synaptic Serial Touchpad.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @syn_serial_reset(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @gpm_report(i32 noundef 3158, ptr noundef @.str, i32 noundef 3, ptr noundef @.str.1) %4 = load i32, ptr %2, align 4 %5 = call i32 @syn_serial_set_mode(i32 noundef %4, i32 noundef 72) ret void } declare i32 @gpm_report(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @syn_serial_set_mode(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/tmpriwfy6aq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Distrotech/gpm/refs/heads/distrotech-gpm/src/synaptics.c\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Reseting Synaptic Serial Touchpad.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @syn_serial_reset(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @gpm_report(i32 noundef 3158, ptr noundef @.str, i32 noundef 3, ptr noundef @.str.1) %4 = load i32, ptr %2, align 4 %5 = call i32 @syn_serial_set_mode(i32 noundef %4, i32 noundef 72) ret void } declare i32 @gpm_report(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @syn_serial_set_mode(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/tmpj85giyb5.c' source_filename = "/tmp/tmpj85giyb5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"VERSION\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_version() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj85giyb5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"VERSION\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_version() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuo7u5u_r.c' source_filename = "/tmp/tmpuo7u5u_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @round_up_2power(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = sub i64 %3, 1 %5 = call i32 @log_2(i64 noundef %4) %6 = add nsw i32 %5, 1 %7 = shl i32 1, %6 %8 = sext i32 %7 to i64 ret i64 %8 } declare i32 @log_2(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/tmpuo7u5u_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @round_up_2power(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = sub i64 %3, 1 %5 = call i32 @log_2(i64 noundef %4) %6 = add nsw i32 %5, 1 %7 = shl i32 1, %6 %8 = sext i32 %7 to i64 ret i64 %8 } declare i32 @log_2(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/tmp51y2akgl.c' source_filename = "/tmp/tmp51y2akgl.c" target datalayout = "e-m:e-p270: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/tmp51y2akgl.c" target datalayout = "e-m:e-p270: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/tmpb8sxp_pn.c' source_filename = "/tmp/tmpb8sxp_pn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ltrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %8, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = call i64 @isspace(i8 noundef signext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %2, align 8 br label %3, !llvm.loop !6 11: ; preds = %3 %12 = load ptr, ptr %2, align 8 ret ptr %12 } declare i64 @isspace(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/tmpb8sxp_pn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ltrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = call i64 @isspace(i8 noundef signext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %.lr.ph, label %14 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = call i64 @isspace(i8 noundef signext %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %14 14: ; preds = %._crit_edge, %1 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare i64 @isspace(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/tmpxbiemf60.c' source_filename = "/tmp/tmpxbiemf60.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getNumLines(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %3, align 8 store i32 -1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %28, %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fgetc(ptr noundef %10) store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 10 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 br label %17 17: ; preds = %14, %9 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 10 br i1 %19, label %20, label %27 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %26 26: ; preds = %23, %20 store i32 0, ptr %6, align 4 br label %27 27: ; preds = %26, %17 br label %28 28: ; preds = %27 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr @EOF, align 4 %31 = icmp ne i32 %29, %30 br i1 %31, label %9, label %32, !llvm.loop !6 32: ; preds = %28 %33 = load i32, ptr %4, align 4 %34 = icmp ne i32 %33, 10 br i1 %34, label %35, label %41 35: ; preds = %32 %36 = load i32, ptr %5, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 br label %41 41: ; preds = %38, %35, %32 %42 = load ptr, ptr %3, align 8 %43 = call i32 @fclose(ptr noundef %42) %44 = load i32, ptr %5, align 4 ret i32 %44 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxbiemf60.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getNumLines(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %3, align 8 store i32 -1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %28, %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fgetc(ptr noundef %10) store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 10 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 br label %17 17: ; preds = %14, %9 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 10 br i1 %19, label %20, label %27 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %26 26: ; preds = %23, %20 store i32 0, ptr %6, align 4 br label %27 27: ; preds = %26, %17 br label %28 28: ; preds = %27 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr @EOF, align 4 %31 = icmp ne i32 %29, %30 br i1 %31, label %9, label %32, !llvm.loop !6 32: ; preds = %28 %33 = load i32, ptr %4, align 4 %34 = icmp ne i32 %33, 10 br i1 %34, label %35, label %41 35: ; preds = %32 %36 = load i32, ptr %5, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 br label %41 41: ; preds = %38, %35, %32 %42 = load ptr, ptr %3, align 8 %43 = call i32 @fclose(ptr noundef %42) %44 = load i32, ptr %5, align 4 ret i32 %44 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5wwh9znv.c' source_filename = "/tmp/tmp5wwh9znv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"one half is %e\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"one half is %f\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"one third is %e\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"one third is %f\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%.500e\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_fp() #0 { %1 = alloca double, align 8 %2 = call i32 @printf(ptr noundef @.str, double noundef 5.000000e-01) %3 = call i32 @printf(ptr noundef @.str.1, double noundef 5.000000e-01) %4 = call i32 @printf(ptr noundef @.str.2, double noundef 0x3FD5555555555555) %5 = call i32 @printf(ptr noundef @.str.3, double noundef 0x3FD5555555555555) %6 = call i32 @test_fp_val(double noundef 0.000000e+00) %7 = call i32 @test_fp_fmt(ptr noundef @.str.4, double noundef 1.000000e+00) store double 0x4206FEDFCB800000, ptr %1, align 8 %8 = load double, ptr %1, align 8 %9 = call i32 @test_fp_val(double noundef %8) %10 = load double, ptr %1, align 8 %11 = fneg double %10 %12 = call i32 @test_fp_val(double noundef %11) store double 0x7FE5F9DC950686AA, ptr %1, align 8 %13 = load double, ptr %1, align 8 %14 = call i32 @test_fp_val(double noundef %13) %15 = load double, ptr %1, align 8 %16 = fneg double %15 %17 = call i32 @test_fp_val(double noundef %16) store double 0x3631980A5FBDFC, ptr %1, align 8 %18 = load double, ptr %1, align 8 %19 = call i32 @test_fp_val(double noundef %18) %20 = load double, ptr %1, align 8 %21 = fneg double %20 %22 = call i32 @test_fp_val(double noundef %21) store double 0x16B9F3C0E51D, ptr %1, align 8 %23 = load double, ptr %1, align 8 %24 = call i32 @test_fp_val(double noundef %23) %25 = load double, ptr %1, align 8 %26 = fneg double %25 %27 = call i32 @test_fp_val(double noundef %26) ret void } declare i32 @printf(ptr noundef, double noundef) #1 declare i32 @test_fp_val(double noundef) #1 declare i32 @test_fp_fmt(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5wwh9znv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"one half is %e\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"one half is %f\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"one third is %e\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"one third is %f\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%.500e\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_fp() #0 { %1 = alloca double, align 8 %2 = call i32 @printf(ptr noundef @.str, double noundef 5.000000e-01) %3 = call i32 @printf(ptr noundef @.str.1, double noundef 5.000000e-01) %4 = call i32 @printf(ptr noundef @.str.2, double noundef 0x3FD5555555555555) %5 = call i32 @printf(ptr noundef @.str.3, double noundef 0x3FD5555555555555) %6 = call i32 @test_fp_val(double noundef 0.000000e+00) %7 = call i32 @test_fp_fmt(ptr noundef @.str.4, double noundef 1.000000e+00) store double 0x4206FEDFCB800000, ptr %1, align 8 %8 = load double, ptr %1, align 8 %9 = call i32 @test_fp_val(double noundef %8) %10 = load double, ptr %1, align 8 %11 = fneg double %10 %12 = call i32 @test_fp_val(double noundef %11) store double 0x7FE5F9DC950686AA, ptr %1, align 8 %13 = load double, ptr %1, align 8 %14 = call i32 @test_fp_val(double noundef %13) %15 = load double, ptr %1, align 8 %16 = fneg double %15 %17 = call i32 @test_fp_val(double noundef %16) store double 0x3631980A5FBDFC, ptr %1, align 8 %18 = load double, ptr %1, align 8 %19 = call i32 @test_fp_val(double noundef %18) %20 = load double, ptr %1, align 8 %21 = fneg double %20 %22 = call i32 @test_fp_val(double noundef %21) store double 0x16B9F3C0E51D, ptr %1, align 8 %23 = load double, ptr %1, align 8 %24 = call i32 @test_fp_val(double noundef %23) %25 = load double, ptr %1, align 8 %26 = fneg double %25 %27 = call i32 @test_fp_val(double noundef %26) ret void } declare i32 @printf(ptr noundef, double noundef) #1 declare i32 @test_fp_val(double noundef) #1 declare i32 @test_fp_fmt(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8cr3nltu.c' source_filename = "/tmp/tmp8cr3nltu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @acsTest.acs_names = internal global [25 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24], align 16 @.str = private unnamed_addr constant [13 x i8] c"ACS_ULCORNER\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"ACS_URCORNER\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"ACS_LLCORNER\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"ACS_LRCORNER\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"ACS_LTEE\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"ACS_RTEE\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"ACS_TTEE\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"ACS_BTEE\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"ACS_HLINE\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"ACS_VLINE\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"ACS_PLUS\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"ACS_S1\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"ACS_S9\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"ACS_DIAMOND\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"ACS_CKBOARD\00", align 1 @.str.15 = private unnamed_addr constant [11 x i8] c"ACS_DEGREE\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c"ACS_PLMINUS\00", align 1 @.str.17 = private unnamed_addr constant [11 x i8] c"ACS_BULLET\00", align 1 @.str.18 = private unnamed_addr constant [11 x i8] c"ACS_LARROW\00", align 1 @.str.19 = private unnamed_addr constant [11 x i8] c"ACS_RARROW\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"ACS_UARROW\00", align 1 @.str.21 = private unnamed_addr constant [11 x i8] c"ACS_DARROW\00", align 1 @.str.22 = private unnamed_addr constant [10 x i8] c"ACS_BOARD\00", align 1 @.str.23 = private unnamed_addr constant [12 x i8] c"ACS_LANTERN\00", align 1 @.str.24 = private unnamed_addr constant [10 x i8] c"ACS_BLOCK\00", align 1 @LINES = dso_local global i32 0, align 4 @A_BOLD = dso_local global i32 0, align 4 @COLS = dso_local global i32 0, align 4 @.str.25 = private unnamed_addr constant [24 x i8] c"Alternate Character Set\00", align 1 @A_NORMAL = dso_local global i32 0, align 4 @ACS_ULCORNER = dso_local global i32 0, align 4 @ACS_URCORNER = dso_local global i32 0, align 4 @ACS_LLCORNER = dso_local global i32 0, align 4 @ACS_LRCORNER = dso_local global i32 0, align 4 @ACS_LTEE = dso_local global i32 0, align 4 @ACS_RTEE = dso_local global i32 0, align 4 @ACS_TTEE = dso_local global i32 0, align 4 @ACS_BTEE = dso_local global i32 0, align 4 @ACS_HLINE = dso_local global i32 0, align 4 @ACS_VLINE = dso_local global i32 0, align 4 @ACS_PLUS = dso_local global i32 0, align 4 @ACS_S1 = dso_local global i32 0, align 4 @ACS_S9 = dso_local global i32 0, align 4 @ACS_DIAMOND = dso_local global i32 0, align 4 @ACS_CKBOARD = dso_local global i32 0, align 4 @ACS_DEGREE = dso_local global i32 0, align 4 @ACS_PLMINUS = dso_local global i32 0, align 4 @ACS_BULLET = dso_local global i32 0, align 4 @ACS_LARROW = dso_local global i32 0, align 4 @ACS_RARROW = dso_local global i32 0, align 4 @ACS_UARROW = dso_local global i32 0, align 4 @ACS_DARROW = dso_local global i32 0, align 4 @ACS_BOARD = dso_local global i32 0, align 4 @ACS_LANTERN = dso_local global i32 0, align 4 @ACS_BLOCK = dso_local global i32 0, align 4 @.str.26 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.27 = private unnamed_addr constant [26 x i8] c"Press any key to continue\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @acsTest(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [25 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load i32, ptr @LINES, align 4 %7 = sub nsw i32 %6, 22 %8 = sdiv i32 %7, 2 store i32 %8, ptr %5, align 4 %9 = load i32, ptr @A_BOLD, align 4 %10 = call i32 @attrset(i32 noundef %9) %11 = load i32, ptr %5, align 4 %12 = load i32, ptr @COLS, align 4 %13 = sub nsw i32 %12, 23 %14 = sdiv i32 %13, 2 %15 = call i32 @mvaddstr(i32 noundef %11, i32 noundef %14, ptr noundef @.str.25) %16 = load i32, ptr @A_NORMAL, align 4 %17 = call i32 @attrset(i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 3 store i32 %19, ptr %5, align 4 %20 = load i32, ptr @ACS_ULCORNER, align 4 %21 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 0 store i32 %20, ptr %21, align 16 %22 = load i32, ptr @ACS_URCORNER, align 4 %23 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 1 store i32 %22, ptr %23, align 4 %24 = load i32, ptr @ACS_LLCORNER, align 4 %25 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 2 store i32 %24, ptr %25, align 8 %26 = load i32, ptr @ACS_LRCORNER, align 4 %27 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 3 store i32 %26, ptr %27, align 4 %28 = load i32, ptr @ACS_LTEE, align 4 %29 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 4 store i32 %28, ptr %29, align 16 %30 = load i32, ptr @ACS_RTEE, align 4 %31 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 5 store i32 %30, ptr %31, align 4 %32 = load i32, ptr @ACS_TTEE, align 4 %33 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 6 store i32 %32, ptr %33, align 8 %34 = load i32, ptr @ACS_BTEE, align 4 %35 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 7 store i32 %34, ptr %35, align 4 %36 = load i32, ptr @ACS_HLINE, align 4 %37 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 8 store i32 %36, ptr %37, align 16 %38 = load i32, ptr @ACS_VLINE, align 4 %39 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 9 store i32 %38, ptr %39, align 4 %40 = load i32, ptr @ACS_PLUS, align 4 %41 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 10 store i32 %40, ptr %41, align 8 %42 = load i32, ptr @ACS_S1, align 4 %43 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 11 store i32 %42, ptr %43, align 4 %44 = load i32, ptr @ACS_S9, align 4 %45 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 12 store i32 %44, ptr %45, align 16 %46 = load i32, ptr @ACS_DIAMOND, align 4 %47 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 13 store i32 %46, ptr %47, align 4 %48 = load i32, ptr @ACS_CKBOARD, align 4 %49 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 14 store i32 %48, ptr %49, align 8 %50 = load i32, ptr @ACS_DEGREE, align 4 %51 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 15 store i32 %50, ptr %51, align 4 %52 = load i32, ptr @ACS_PLMINUS, align 4 %53 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 16 store i32 %52, ptr %53, align 16 %54 = load i32, ptr @ACS_BULLET, align 4 %55 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 17 store i32 %54, ptr %55, align 4 %56 = load i32, ptr @ACS_LARROW, align 4 %57 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 18 store i32 %56, ptr %57, align 8 %58 = load i32, ptr @ACS_RARROW, align 4 %59 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 19 store i32 %58, ptr %59, align 4 %60 = load i32, ptr @ACS_UARROW, align 4 %61 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 20 store i32 %60, ptr %61, align 16 %62 = load i32, ptr @ACS_DARROW, align 4 %63 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 21 store i32 %62, ptr %63, align 4 %64 = load i32, ptr @ACS_BOARD, align 4 %65 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 22 store i32 %64, ptr %65, align 8 %66 = load i32, ptr @ACS_LANTERN, align 4 %67 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 23 store i32 %66, ptr %67, align 4 %68 = load i32, ptr @ACS_BLOCK, align 4 %69 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 24 store i32 %68, ptr %69, align 16 store i32 0, ptr %4, align 4 br label %70 70: ; preds = %99, %1 %71 = load i32, ptr %4, align 4 %72 = icmp slt i32 %71, 25 br i1 %72, label %73, label %102 73: ; preds = %70 %74 = load i32, ptr %4, align 4 %75 = srem i32 %74, 8 %76 = mul nsw i32 %75, 2 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %76, %77 %79 = load i32, ptr %4, align 4 %80 = sdiv i32 %79, 8 %81 = load i32, ptr @COLS, align 4 %82 = sdiv i32 %81, 4 %83 = mul nsw i32 %80, %82 %84 = load i32, ptr @COLS, align 4 %85 = sdiv i32 %84, 8 %86 = sub nsw i32 %85, 7 %87 = add nsw i32 %83, %86 %88 = call i32 @move(i32 noundef %78, i32 noundef %87) %89 = load i32, ptr %4, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 %90 %92 = load i32, ptr %91, align 4 %93 = call i32 @addch(i32 noundef %92) %94 = load i32, ptr %4, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [25 x ptr], ptr @acsTest.acs_names, i64 0, i64 %95 %97 = load ptr, ptr %96, align 8 %98 = call i32 @printw(ptr noundef @.str.26, ptr noundef %97) br label %99 99: ; preds = %73 %100 = load i32, ptr %4, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %4, align 4 br label %70, !llvm.loop !6 102: ; preds = %70 %103 = load i32, ptr %5, align 4 %104 = add nsw i32 %103, 18 %105 = call i32 @mvaddstr(i32 noundef %104, i32 noundef 3, ptr noundef @.str.27) %106 = call i32 (...) @getch() ret void } declare i32 @attrset(i32 noundef) #1 declare i32 @mvaddstr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @addch(i32 noundef) #1 declare i32 @printw(ptr noundef, ptr noundef) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8cr3nltu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @acsTest.acs_names = internal global [25 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24], align 16 @.str = private unnamed_addr constant [13 x i8] c"ACS_ULCORNER\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"ACS_URCORNER\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"ACS_LLCORNER\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"ACS_LRCORNER\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"ACS_LTEE\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"ACS_RTEE\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"ACS_TTEE\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"ACS_BTEE\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"ACS_HLINE\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"ACS_VLINE\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"ACS_PLUS\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"ACS_S1\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"ACS_S9\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"ACS_DIAMOND\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"ACS_CKBOARD\00", align 1 @.str.15 = private unnamed_addr constant [11 x i8] c"ACS_DEGREE\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c"ACS_PLMINUS\00", align 1 @.str.17 = private unnamed_addr constant [11 x i8] c"ACS_BULLET\00", align 1 @.str.18 = private unnamed_addr constant [11 x i8] c"ACS_LARROW\00", align 1 @.str.19 = private unnamed_addr constant [11 x i8] c"ACS_RARROW\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"ACS_UARROW\00", align 1 @.str.21 = private unnamed_addr constant [11 x i8] c"ACS_DARROW\00", align 1 @.str.22 = private unnamed_addr constant [10 x i8] c"ACS_BOARD\00", align 1 @.str.23 = private unnamed_addr constant [12 x i8] c"ACS_LANTERN\00", align 1 @.str.24 = private unnamed_addr constant [10 x i8] c"ACS_BLOCK\00", align 1 @LINES = dso_local global i32 0, align 4 @A_BOLD = dso_local global i32 0, align 4 @COLS = dso_local global i32 0, align 4 @.str.25 = private unnamed_addr constant [24 x i8] c"Alternate Character Set\00", align 1 @A_NORMAL = dso_local global i32 0, align 4 @ACS_ULCORNER = dso_local global i32 0, align 4 @ACS_URCORNER = dso_local global i32 0, align 4 @ACS_LLCORNER = dso_local global i32 0, align 4 @ACS_LRCORNER = dso_local global i32 0, align 4 @ACS_LTEE = dso_local global i32 0, align 4 @ACS_RTEE = dso_local global i32 0, align 4 @ACS_TTEE = dso_local global i32 0, align 4 @ACS_BTEE = dso_local global i32 0, align 4 @ACS_HLINE = dso_local global i32 0, align 4 @ACS_VLINE = dso_local global i32 0, align 4 @ACS_PLUS = dso_local global i32 0, align 4 @ACS_S1 = dso_local global i32 0, align 4 @ACS_S9 = dso_local global i32 0, align 4 @ACS_DIAMOND = dso_local global i32 0, align 4 @ACS_CKBOARD = dso_local global i32 0, align 4 @ACS_DEGREE = dso_local global i32 0, align 4 @ACS_PLMINUS = dso_local global i32 0, align 4 @ACS_BULLET = dso_local global i32 0, align 4 @ACS_LARROW = dso_local global i32 0, align 4 @ACS_RARROW = dso_local global i32 0, align 4 @ACS_UARROW = dso_local global i32 0, align 4 @ACS_DARROW = dso_local global i32 0, align 4 @ACS_BOARD = dso_local global i32 0, align 4 @ACS_LANTERN = dso_local global i32 0, align 4 @ACS_BLOCK = dso_local global i32 0, align 4 @.str.26 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.27 = private unnamed_addr constant [26 x i8] c"Press any key to continue\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @acsTest(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [25 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load i32, ptr @LINES, align 4 %7 = sub nsw i32 %6, 22 %8 = sdiv i32 %7, 2 store i32 %8, ptr %5, align 4 %9 = load i32, ptr @A_BOLD, align 4 %10 = call i32 @attrset(i32 noundef %9) %11 = load i32, ptr %5, align 4 %12 = load i32, ptr @COLS, align 4 %13 = sub nsw i32 %12, 23 %14 = sdiv i32 %13, 2 %15 = call i32 @mvaddstr(i32 noundef %11, i32 noundef %14, ptr noundef @.str.25) %16 = load i32, ptr @A_NORMAL, align 4 %17 = call i32 @attrset(i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 3 store i32 %19, ptr %5, align 4 %20 = load i32, ptr @ACS_ULCORNER, align 4 %21 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 0 store i32 %20, ptr %21, align 16 %22 = load i32, ptr @ACS_URCORNER, align 4 %23 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 1 store i32 %22, ptr %23, align 4 %24 = load i32, ptr @ACS_LLCORNER, align 4 %25 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 2 store i32 %24, ptr %25, align 8 %26 = load i32, ptr @ACS_LRCORNER, align 4 %27 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 3 store i32 %26, ptr %27, align 4 %28 = load i32, ptr @ACS_LTEE, align 4 %29 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 4 store i32 %28, ptr %29, align 16 %30 = load i32, ptr @ACS_RTEE, align 4 %31 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 5 store i32 %30, ptr %31, align 4 %32 = load i32, ptr @ACS_TTEE, align 4 %33 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 6 store i32 %32, ptr %33, align 8 %34 = load i32, ptr @ACS_BTEE, align 4 %35 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 7 store i32 %34, ptr %35, align 4 %36 = load i32, ptr @ACS_HLINE, align 4 %37 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 8 store i32 %36, ptr %37, align 16 %38 = load i32, ptr @ACS_VLINE, align 4 %39 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 9 store i32 %38, ptr %39, align 4 %40 = load i32, ptr @ACS_PLUS, align 4 %41 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 10 store i32 %40, ptr %41, align 8 %42 = load i32, ptr @ACS_S1, align 4 %43 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 11 store i32 %42, ptr %43, align 4 %44 = load i32, ptr @ACS_S9, align 4 %45 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 12 store i32 %44, ptr %45, align 16 %46 = load i32, ptr @ACS_DIAMOND, align 4 %47 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 13 store i32 %46, ptr %47, align 4 %48 = load i32, ptr @ACS_CKBOARD, align 4 %49 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 14 store i32 %48, ptr %49, align 8 %50 = load i32, ptr @ACS_DEGREE, align 4 %51 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 15 store i32 %50, ptr %51, align 4 %52 = load i32, ptr @ACS_PLMINUS, align 4 %53 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 16 store i32 %52, ptr %53, align 16 %54 = load i32, ptr @ACS_BULLET, align 4 %55 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 17 store i32 %54, ptr %55, align 4 %56 = load i32, ptr @ACS_LARROW, align 4 %57 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 18 store i32 %56, ptr %57, align 8 %58 = load i32, ptr @ACS_RARROW, align 4 %59 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 19 store i32 %58, ptr %59, align 4 %60 = load i32, ptr @ACS_UARROW, align 4 %61 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 20 store i32 %60, ptr %61, align 16 %62 = load i32, ptr @ACS_DARROW, align 4 %63 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 21 store i32 %62, ptr %63, align 4 %64 = load i32, ptr @ACS_BOARD, align 4 %65 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 22 store i32 %64, ptr %65, align 8 %66 = load i32, ptr @ACS_LANTERN, align 4 %67 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 23 store i32 %66, ptr %67, align 4 %68 = load i32, ptr @ACS_BLOCK, align 4 %69 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 24 store i32 %68, ptr %69, align 16 store i32 0, ptr %4, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp slt i32 %70, 25 br i1 %71, label %.lr.ph, label %103 .lr.ph: ; preds = %1 br label %72 72: ; preds = %.lr.ph, %98 %73 = load i32, ptr %4, align 4 %74 = srem i32 %73, 8 %75 = mul nsw i32 %74, 2 %76 = load i32, ptr %5, align 4 %77 = add nsw i32 %75, %76 %78 = load i32, ptr %4, align 4 %79 = sdiv i32 %78, 8 %80 = load i32, ptr @COLS, align 4 %81 = sdiv i32 %80, 4 %82 = mul nsw i32 %79, %81 %83 = load i32, ptr @COLS, align 4 %84 = sdiv i32 %83, 8 %85 = sub nsw i32 %84, 7 %86 = add nsw i32 %82, %85 %87 = call i32 @move(i32 noundef %77, i32 noundef %86) %88 = load i32, ptr %4, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 %89 %91 = load i32, ptr %90, align 4 %92 = call i32 @addch(i32 noundef %91) %93 = load i32, ptr %4, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [25 x ptr], ptr @acsTest.acs_names, i64 0, i64 %94 %96 = load ptr, ptr %95, align 8 %97 = call i32 @printw(ptr noundef @.str.26, ptr noundef %96) br label %98 98: ; preds = %72 %99 = load i32, ptr %4, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %4, align 4 %101 = load i32, ptr %4, align 4 %102 = icmp slt i32 %101, 25 br i1 %102, label %72, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %98 br label %103 103: ; preds = %._crit_edge, %1 %104 = load i32, ptr %5, align 4 %105 = add nsw i32 %104, 18 %106 = call i32 @mvaddstr(i32 noundef %105, i32 noundef 3, ptr noundef @.str.27) %107 = call i32 (...) @getch() ret void } declare i32 @attrset(i32 noundef) #1 declare i32 @mvaddstr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @addch(i32 noundef) #1 declare i32 @printw(ptr noundef, ptr noundef) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpcqv5csdj.c' source_filename = "/tmp/tmpcqv5csdj.c" target datalayout = "e-m:e-p270: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 [9 x i8] c"STOP %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_gfortran_caf_stop_numeric(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %4) %6 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcqv5csdj.c" target datalayout = "e-m:e-p270: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 [9 x i8] c"STOP %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_gfortran_caf_stop_numeric(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %4) %6 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkiurmdra.c' source_filename = "/tmp/tmpkiurmdra.c" target datalayout = "e-m:e-p270: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/tmpkiurmdra.c" target datalayout = "e-m:e-p270: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/tmp10q86cju.c' source_filename = "/tmp/tmp10q86cju.c" target datalayout = "e-m:e-p270: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 { i32, i32 } @.str = private unnamed_addr constant [49 x i8] c"usage: %s <pattern> [ <input> <input> <input> ]\0A\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"if <input> not specified, input is read from stdin.\0A\00", align 1 @REG_EXTENDED = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [18 x i8] c"invalid pattern.\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"%s: no matches.\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"%s: match[%d]:%d-%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [100 x %struct.TYPE_3__], align 16 %8 = alloca [100 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = 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 2, ptr %10, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 2 br i1 %13, label %14, label %21 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = load i32, ptr @REG_EXTENDED, align 4 %26 = call i64 @regcomp(ptr noundef %6, ptr noundef %24, i32 noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %21 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %30 = call i32 @exit(i32 noundef -1) #3 unreachable 31: ; preds = %21 br label %32 32: ; preds = %31, %57, %89 %33 = load i32, ptr %4, align 4 %34 = icmp sgt i32 %33, 2 br i1 %34, label %35, label %48 35: ; preds = %32 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %46 39: ; preds = %35 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %10, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds ptr, ptr %40, i64 %43 %45 = load ptr, ptr %44, align 8 store ptr %45, ptr %9, align 8 br label %47 46: ; preds = %35 br label %90 47: ; preds = %39 br label %52 48: ; preds = %32 %49 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %50 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %49) %51 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 store ptr %51, ptr %9, align 8 br label %52 52: ; preds = %48, %47 %53 = load ptr, ptr %9, align 8 %54 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %7, i64 0, i64 0 %55 = call i64 @regexec(ptr noundef %6, ptr noundef %53, i32 noundef 100, ptr noundef %54, i32 noundef 0) %56 = icmp ne i64 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = load ptr, ptr %9, align 8 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %58) br label %32 60: ; preds = %52 store i32 0, ptr %11, align 4 br label %61 61: ; preds = %86, %60 %62 = load i32, ptr %11, align 4 %63 = icmp slt i32 %62, 100 br i1 %63, label %64, label %89 64: ; preds = %61 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %7, i64 0, i64 %66 %68 = getelementptr inbounds %struct.TYPE_3__, ptr %67, i32 0, i32 0 %69 = load i32, ptr %68, align 8 %70 = icmp ne i32 %69, -1 br i1 %70, label %71, label %85 71: ; preds = %64 %72 = load ptr, ptr %9, align 8 %73 = load i32, ptr %11, align 4 %74 = load i32, ptr %11, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %7, i64 0, i64 %75 %77 = getelementptr inbounds %struct.TYPE_3__, ptr %76, i32 0, i32 0 %78 = load i32, ptr %77, align 8 %79 = load i32, ptr %11, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %7, i64 0, i64 %80 %82 = getelementptr inbounds %struct.TYPE_3__, ptr %81, i32 0, i32 1 %83 = load i32, ptr %82, align 4 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %72, i32 noundef %73, i32 noundef %78, i32 noundef %83) br label %85 85: ; preds = %71, %64 br label %86 86: ; preds = %85 %87 = load i32, ptr %11, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %11, align 4 br label %61, !llvm.loop !6 89: ; preds = %61 br label %32 90: ; preds = %46 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @regexec(ptr noundef, 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" } 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/tmp10q86cju.c" target datalayout = "e-m:e-p270: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 { i32, i32 } @.str = private unnamed_addr constant [49 x i8] c"usage: %s <pattern> [ <input> <input> <input> ]\0A\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"if <input> not specified, input is read from stdin.\0A\00", align 1 @REG_EXTENDED = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [18 x i8] c"invalid pattern.\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"%s: no matches.\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"%s: match[%d]:%d-%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [100 x %struct.TYPE_3__], align 16 %8 = alloca [100 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = 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 2, ptr %10, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 2 br i1 %13, label %14, label %21 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = load i32, ptr @REG_EXTENDED, align 4 %26 = call i64 @regcomp(ptr noundef %6, ptr noundef %24, i32 noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %21 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %30 = call i32 @exit(i32 noundef -1) #3 unreachable 31: ; preds = %21 br label %32 32: ; preds = %.backedge, %31 %33 = load i32, ptr %4, align 4 %34 = icmp sgt i32 %33, 2 br i1 %34, label %35, label %48 35: ; preds = %32 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %46 39: ; preds = %35 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %10, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds ptr, ptr %40, i64 %43 %45 = load ptr, ptr %44, align 8 store ptr %45, ptr %9, align 8 br label %47 46: ; preds = %35 br label %91 47: ; preds = %39 br label %52 48: ; preds = %32 %49 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %50 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %49) %51 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 store ptr %51, ptr %9, align 8 br label %52 52: ; preds = %48, %47 %53 = load ptr, ptr %9, align 8 %54 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %7, i64 0, i64 0 %55 = call i64 @regexec(ptr noundef %6, ptr noundef %53, i32 noundef 100, ptr noundef %54, i32 noundef 0) %56 = icmp ne i64 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = load ptr, ptr %9, align 8 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %58) br label %.backedge .backedge: ; preds = %57, %90 br label %32 60: ; preds = %52 store i32 0, ptr %11, align 4 %61 = load i32, ptr %11, align 4 %62 = icmp slt i32 %61, 100 br i1 %62, label %.lr.ph, label %90 .lr.ph: ; preds = %60 br label %63 63: ; preds = %.lr.ph, %85 %64 = load i32, ptr %11, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %7, i64 0, i64 %65 %67 = getelementptr inbounds %struct.TYPE_3__, ptr %66, i32 0, i32 0 %68 = load i32, ptr %67, align 8 %69 = icmp ne i32 %68, -1 br i1 %69, label %70, label %84 70: ; preds = %63 %71 = load ptr, ptr %9, align 8 %72 = load i32, ptr %11, align 4 %73 = load i32, ptr %11, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %7, i64 0, i64 %74 %76 = getelementptr inbounds %struct.TYPE_3__, ptr %75, i32 0, i32 0 %77 = load i32, ptr %76, align 8 %78 = load i32, ptr %11, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [100 x %struct.TYPE_3__], ptr %7, i64 0, i64 %79 %81 = getelementptr inbounds %struct.TYPE_3__, ptr %80, i32 0, i32 1 %82 = load i32, ptr %81, align 4 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %71, i32 noundef %72, i32 noundef %77, i32 noundef %82) br label %84 84: ; preds = %70, %63 br label %85 85: ; preds = %84 %86 = load i32, ptr %11, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %11, align 4 %88 = load i32, ptr %11, align 4 %89 = icmp slt i32 %88, 100 br i1 %89, label %63, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %85 br label %90 90: ; preds = %._crit_edge, %60 br label %.backedge 91: ; preds = %46 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @regexec(ptr noundef, 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" } 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/tmpvu9y0d7n.c' source_filename = "/tmp/tmpvu9y0d7n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"NOT IMPLEMENTED:pa_pstream_send_packet\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_pstream_send_packet() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpvu9y0d7n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"NOT IMPLEMENTED:pa_pstream_send_packet\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_pstream_send_packet() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpv7aoz8av.c' source_filename = "/tmp/tmpv7aoz8av.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_2d(i32 noundef %0, i32 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 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %13, %14 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 4 %18 = trunc i64 %17 to i32 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 store ptr %20, ptr %22, align 8 store i32 1, ptr %6, align 4 br label %23 23: ; preds = %40, %2 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %43 27: ; preds = %23 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 0 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %4, align 4 %33 = mul nsw i32 %31, %32 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds float, ptr %30, i64 %34 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 store ptr %35, ptr %39, align 8 br label %40 40: ; preds = %27 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %23, !llvm.loop !6 43: ; preds = %23 %44 = load ptr, ptr %5, align 8 ret ptr %44 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv7aoz8av.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_2d(i32 noundef %0, i32 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 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %13, %14 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 4 %18 = trunc i64 %17 to i32 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 store ptr %20, ptr %22, align 8 store i32 1, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %45 .lr.ph: ; preds = %2 br label %26 26: ; preds = %.lr.ph, %39 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 0 %29 = load ptr, ptr %28, align 8 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %4, align 4 %32 = mul nsw i32 %30, %31 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds float, ptr %29, i64 %33 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %35, i64 %37 store ptr %34, ptr %38, align 8 br label %39 39: ; preds = %26 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %3, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %2 %46 = load ptr, ptr %5, align 8 ret ptr %46 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpczn_vc8i.c' source_filename = "/tmp/tmpczn_vc8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @fun(i32 noundef 23, double noundef 3.140000e+00, i8 noundef signext 97) %2 = call i32 @fun(i32 noundef 20024, double noundef 2.022780e+03, i8 noundef signext 98) %3 = call i32 @fun(i32 noundef -556908544, double noundef 1.414000e+00, i8 noundef signext 99) ret i32 0 } declare i32 @fun(i32 noundef, double 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/tmpczn_vc8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 @fun(i32 noundef 23, double noundef 3.140000e+00, i8 noundef signext 97) %2 = call i32 @fun(i32 noundef 20024, double noundef 2.022780e+03, i8 noundef signext 98) %3 = call i32 @fun(i32 noundef -556908544, double noundef 1.414000e+00, i8 noundef signext 99) ret i32 0 } declare i32 @fun(i32 noundef, double 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/tmp76otb20y.c' source_filename = "/tmp/tmp76otb20y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cipherserver\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c" ps -e | grep nginx\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"error\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"/proc/self/exe\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"nginx\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 [256 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 256, i1 false) store ptr null, ptr %4, align 8 store ptr @.str, ptr %5, align 8 %7 = call ptr @popen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %7, ptr %6, align 8 %8 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 4) %10 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %11 = load ptr, ptr %6, align 8 %12 = call i32 @fgets(ptr noundef %10, i32 noundef 256, ptr noundef %11) %13 = load ptr, ptr %6, align 8 %14 = call i32 @pclose(ptr noundef %13) %15 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @printf(ptr noundef @.str.3, ptr noundef %15) %17 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %18 = load i8, ptr %17, align 16 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %0 %22 = call i32 @perror(ptr noundef @.str.4) store i32 -1, ptr %1, align 4 br label %43 23: ; preds = %0 %24 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %25 = call i32 @readlink(ptr noundef @.str.5, ptr noundef %24, i32 noundef 256) store i32 %25, ptr %2, align 4 %26 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %27 = call ptr @strstr(ptr noundef %26, ptr noundef @.str.6) store ptr %27, ptr %4, align 8 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %31 = ptrtoint ptr %29 to i64 %32 = ptrtoint ptr %30 to i64 %33 = sub i64 %31, %32 %34 = sub nsw i64 256, %33 %35 = sub nsw i64 %34, 1 %36 = trunc i64 %35 to i32 %37 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %36) %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %5, align 8 %40 = call i32 @strcpy(ptr noundef %38, ptr noundef %39) %41 = load ptr, ptr %4, align 8 %42 = call i32 @printf(ptr noundef @.str.3, ptr noundef %41) br label %43 43: ; preds = %23, %21 %44 = load i32, ptr %1, align 4 ret i32 %44 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @popen(ptr noundef, ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @pclose(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #2 declare ptr @strstr(ptr noundef, ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp76otb20y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cipherserver\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c" ps -e | grep nginx\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"error\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"/proc/self/exe\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"nginx\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 [256 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 256, i1 false) store ptr null, ptr %4, align 8 store ptr @.str, ptr %5, align 8 %7 = call ptr @popen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %7, ptr %6, align 8 %8 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 4) %10 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %11 = load ptr, ptr %6, align 8 %12 = call i32 @fgets(ptr noundef %10, i32 noundef 256, ptr noundef %11) %13 = load ptr, ptr %6, align 8 %14 = call i32 @pclose(ptr noundef %13) %15 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @printf(ptr noundef @.str.3, ptr noundef %15) %17 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %18 = load i8, ptr %17, align 16 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %0 %22 = call i32 @perror(ptr noundef @.str.4) store i32 -1, ptr %1, align 4 br label %43 23: ; preds = %0 %24 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %25 = call i32 @readlink(ptr noundef @.str.5, ptr noundef %24, i32 noundef 256) store i32 %25, ptr %2, align 4 %26 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %27 = call ptr @strstr(ptr noundef %26, ptr noundef @.str.6) store ptr %27, ptr %4, align 8 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %31 = ptrtoint ptr %29 to i64 %32 = ptrtoint ptr %30 to i64 %33 = sub i64 %31, %32 %34 = sub nsw i64 256, %33 %35 = sub nsw i64 %34, 1 %36 = trunc i64 %35 to i32 %37 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %36) %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %5, align 8 %40 = call i32 @strcpy(ptr noundef %38, ptr noundef %39) %41 = load ptr, ptr %4, align 8 %42 = call i32 @printf(ptr noundef @.str.3, ptr noundef %41) br label %43 43: ; preds = %23, %21 %44 = load i32, ptr %1, align 4 ret i32 %44 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @popen(ptr noundef, ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @pclose(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #2 declare ptr @strstr(ptr noundef, ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfgx09j8j.c' source_filename = "/tmp/tmpfgx09j8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @client(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [64 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca [40 x i8], align 16 %15 = alloca [65536 x i8], align 16 %16 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %17 = call i32 @net_usleep(i32 noundef 20000) %18 = call i64 @net_connect(ptr noundef %9, ptr noundef null, i32 noundef 121212) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %4 %21 = call i32 (...) @abort() #3 unreachable 22: ; preds = %4 %23 = load i32, ptr %9, align 4 %24 = call i64 @net_set_block(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (...) @abort() #3 unreachable 28: ; preds = %22 store i32 105, ptr %11, align 4 %29 = load i32, ptr %11, align 4 %30 = call ptr @malloc(i32 noundef %29) store ptr %30, ptr %12, align 8 %31 = load ptr, ptr %12, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %28 %34 = call i32 (...) @abort() #3 unreachable 35: ; preds = %28 %36 = load ptr, ptr %12, align 8 store i8 48, ptr %36, align 1 %37 = load ptr, ptr %12, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 %39 = load ptr, ptr %7, align 8 %40 = call i32 @memcpy(ptr noundef %38, ptr noundef %39, i32 noundef 40) %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %6, align 4 %43 = load ptr, ptr %12, align 8 %44 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %45 = call i32 @sha512_hmac(ptr noundef %41, i32 noundef %42, ptr noundef %43, i32 noundef 41, ptr noundef %44, i32 noundef 0) %46 = load ptr, ptr %12, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 40 %48 = getelementptr inbounds i8, ptr %47, i64 1 %49 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %50 = call i32 @memcpy(ptr noundef %48, ptr noundef %49, i32 noundef 64) %51 = load ptr, ptr %12, align 8 %52 = load i32, ptr %11, align 4 %53 = call i32 @net_send(ptr noundef %9, ptr noundef %51, i32 noundef %52) %54 = load ptr, ptr %12, align 8 %55 = call i32 @free(ptr noundef %54) %56 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %57 = call i32 @net_recv(ptr noundef %9, ptr noundef %56, i32 noundef 65536) store i32 %57, ptr %13, align 4 store i32 145, ptr %16, align 4 %58 = load i32, ptr %13, align 4 %59 = load i32, ptr %16, align 4 %60 = icmp ne i32 %58, %59 br i1 %60, label %61, label %63 61: ; preds = %35 %62 = call i32 (...) @abort() #3 unreachable 63: ; preds = %35 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %6, align 4 %66 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %67 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %68 = call i32 @sha512_hmac(ptr noundef %64, i32 noundef %65, ptr noundef %66, i32 noundef 81, ptr noundef %67, i32 noundef 0) %69 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %70 = getelementptr i8, ptr %69, i64 1 %71 = getelementptr i8, ptr %70, i64 80 %72 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %73 = call i64 @memcmp(ptr noundef %71, ptr noundef %72, i32 noundef 64) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %77 75: ; preds = %63 %76 = call i32 (...) @abort() #3 unreachable 77: ; preds = %63 %78 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %79 = load i8, ptr %78, align 16 %80 = sext i8 %79 to i32 %81 = icmp ne i32 %80, 49 br i1 %81, label %82, label %84 82: ; preds = %77 %83 = call i32 (...) @abort() #3 unreachable 84: ; preds = %77 %85 = load ptr, ptr %7, align 8 %86 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %87 = getelementptr i8, ptr %86, i64 1 %88 = call i64 @memcmp(ptr noundef %85, ptr noundef %87, i32 noundef 40) %89 = icmp ne i64 %88, 0 br i1 %89, label %90, label %92 90: ; preds = %84 %91 = call i32 (...) @abort() #3 unreachable 92: ; preds = %84 %93 = load ptr, ptr %8, align 8 %94 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %95 = getelementptr i8, ptr %94, i64 1 %96 = getelementptr i8, ptr %95, i64 40 %97 = call i32 @memcpy(ptr noundef %93, ptr noundef %96, i32 noundef 40) %98 = load i32, ptr %9, align 4 %99 = call i32 @net_close(i32 noundef %98) ret void } declare i32 @net_usleep(i32 noundef) #1 declare i64 @net_connect(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i64 @net_set_block(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sha512_hmac(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @net_send(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @net_recv(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @net_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfgx09j8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @client(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [64 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca [40 x i8], align 16 %15 = alloca [65536 x i8], align 16 %16 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %17 = call i32 @net_usleep(i32 noundef 20000) %18 = call i64 @net_connect(ptr noundef %9, ptr noundef null, i32 noundef 121212) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %4 %21 = call i32 (...) @abort() #3 unreachable 22: ; preds = %4 %23 = load i32, ptr %9, align 4 %24 = call i64 @net_set_block(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (...) @abort() #3 unreachable 28: ; preds = %22 store i32 105, ptr %11, align 4 %29 = load i32, ptr %11, align 4 %30 = call ptr @malloc(i32 noundef %29) store ptr %30, ptr %12, align 8 %31 = load ptr, ptr %12, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %28 %34 = call i32 (...) @abort() #3 unreachable 35: ; preds = %28 %36 = load ptr, ptr %12, align 8 store i8 48, ptr %36, align 1 %37 = load ptr, ptr %12, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 %39 = load ptr, ptr %7, align 8 %40 = call i32 @memcpy(ptr noundef %38, ptr noundef %39, i32 noundef 40) %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %6, align 4 %43 = load ptr, ptr %12, align 8 %44 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %45 = call i32 @sha512_hmac(ptr noundef %41, i32 noundef %42, ptr noundef %43, i32 noundef 41, ptr noundef %44, i32 noundef 0) %46 = load ptr, ptr %12, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 40 %48 = getelementptr inbounds i8, ptr %47, i64 1 %49 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %50 = call i32 @memcpy(ptr noundef %48, ptr noundef %49, i32 noundef 64) %51 = load ptr, ptr %12, align 8 %52 = load i32, ptr %11, align 4 %53 = call i32 @net_send(ptr noundef %9, ptr noundef %51, i32 noundef %52) %54 = load ptr, ptr %12, align 8 %55 = call i32 @free(ptr noundef %54) %56 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %57 = call i32 @net_recv(ptr noundef %9, ptr noundef %56, i32 noundef 65536) store i32 %57, ptr %13, align 4 store i32 145, ptr %16, align 4 %58 = load i32, ptr %13, align 4 %59 = load i32, ptr %16, align 4 %60 = icmp ne i32 %58, %59 br i1 %60, label %61, label %63 61: ; preds = %35 %62 = call i32 (...) @abort() #3 unreachable 63: ; preds = %35 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %6, align 4 %66 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %67 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %68 = call i32 @sha512_hmac(ptr noundef %64, i32 noundef %65, ptr noundef %66, i32 noundef 81, ptr noundef %67, i32 noundef 0) %69 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %70 = getelementptr i8, ptr %69, i64 1 %71 = getelementptr i8, ptr %70, i64 80 %72 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %73 = call i64 @memcmp(ptr noundef %71, ptr noundef %72, i32 noundef 64) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %77 75: ; preds = %63 %76 = call i32 (...) @abort() #3 unreachable 77: ; preds = %63 %78 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %79 = load i8, ptr %78, align 16 %80 = sext i8 %79 to i32 %81 = icmp ne i32 %80, 49 br i1 %81, label %82, label %84 82: ; preds = %77 %83 = call i32 (...) @abort() #3 unreachable 84: ; preds = %77 %85 = load ptr, ptr %7, align 8 %86 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %87 = getelementptr i8, ptr %86, i64 1 %88 = call i64 @memcmp(ptr noundef %85, ptr noundef %87, i32 noundef 40) %89 = icmp ne i64 %88, 0 br i1 %89, label %90, label %92 90: ; preds = %84 %91 = call i32 (...) @abort() #3 unreachable 92: ; preds = %84 %93 = load ptr, ptr %8, align 8 %94 = getelementptr inbounds [65536 x i8], ptr %15, i64 0, i64 0 %95 = getelementptr i8, ptr %94, i64 1 %96 = getelementptr i8, ptr %95, i64 40 %97 = call i32 @memcpy(ptr noundef %93, ptr noundef %96, i32 noundef 40) %98 = load i32, ptr %9, align 4 %99 = call i32 @net_close(i32 noundef %98) ret void } declare i32 @net_usleep(i32 noundef) #1 declare i64 @net_connect(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i64 @net_set_block(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sha512_hmac(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @net_send(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @net_recv(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @net_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt8cwp6cj.c' source_filename = "/tmp/tmpt8cwp6cj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_mvdelch(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %2 br label %35 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %5) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = call i32 @report_count(i32 noundef 1) %19 = call i32 @report_error(ptr noundef @.str.1) br label %35 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %6) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = call i32 @report_count(i32 noundef 1) %28 = call i32 @report_error(ptr noundef @.str.1) br label %35 29: ; preds = %20 %30 = call i32 @report_count(i32 noundef 1) %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = call i32 @mvdelch(i32 noundef %31, i32 noundef %32) %34 = call i32 @report_return(i32 noundef %33) br label %35 35: ; preds = %29, %26, %17, %10 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @mvdelch(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/tmpt8cwp6cj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_mvdelch(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %2 br label %35 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %5) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = call i32 @report_count(i32 noundef 1) %19 = call i32 @report_error(ptr noundef @.str.1) br label %35 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %6) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = call i32 @report_count(i32 noundef 1) %28 = call i32 @report_error(ptr noundef @.str.1) br label %35 29: ; preds = %20 %30 = call i32 @report_count(i32 noundef 1) %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = call i32 @mvdelch(i32 noundef %31, i32 noundef %32) %34 = call i32 @report_return(i32 noundef %33) br label %35 35: ; preds = %29, %26, %17, %10 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @mvdelch(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/tmplpif3ysd.c' source_filename = "/tmp/tmplpif3ysd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @get_XFontStruct_min_bounds_rbearing(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i16 ret i16 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplpif3ysd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @get_XFontStruct_min_bounds_rbearing(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i16 ret i16 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq_ic9vdj.c' source_filename = "/tmp/tmpq_ic9vdj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"12345\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%s:%d:%d:%ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"6789a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str) %5 = load ptr, ptr %1, align 8 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @strlen(ptr noundef @.str) %9 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) %10 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.2) %11 = load ptr, ptr %1, align 8 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @strlen(ptr noundef @.str.2) %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14) %16 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %17 = load ptr, ptr %1, align 8 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = call i32 @strlen(ptr noundef @.str.3) %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20) %22 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %23 = load ptr, ptr %1, align 8 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = call i32 @strlen(ptr noundef @.str.3) %27 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) %28 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %29 = load ptr, ptr %1, align 8 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = call i32 @strlen(ptr noundef @.str.3) %33 = call i32 @printf(ptr noundef @.str.1, ptr noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32) %34 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %35 = load ptr, ptr %1, align 8 %36 = load i32, ptr %2, align 4 %37 = load i32, ptr %3, align 4 %38 = call i32 @strlen(ptr noundef @.str.3) %39 = call i32 @printf(ptr noundef @.str.1, ptr noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38) %40 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %41 = load ptr, ptr %1, align 8 %42 = load i32, ptr %2, align 4 %43 = load i32, ptr %3, align 4 %44 = call i32 @strlen(ptr noundef @.str.3) %45 = call i32 @printf(ptr noundef @.str.1, ptr noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44) %46 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %47 = load ptr, ptr %1, align 8 %48 = load i32, ptr %2, align 4 %49 = load i32, ptr %3, align 4 %50 = call i32 @strlen(ptr noundef @.str.3) %51 = call i32 @printf(ptr noundef @.str.1, ptr noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50) %52 = load ptr, ptr %1, align 8 %53 = call i32 @free(ptr noundef %52) ret void } declare i32 @sprintfcat(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_ic9vdj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"12345\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%s:%d:%d:%ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"6789a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str) %5 = load ptr, ptr %1, align 8 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @strlen(ptr noundef @.str) %9 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) %10 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.2) %11 = load ptr, ptr %1, align 8 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @strlen(ptr noundef @.str.2) %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14) %16 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %17 = load ptr, ptr %1, align 8 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = call i32 @strlen(ptr noundef @.str.3) %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20) %22 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %23 = load ptr, ptr %1, align 8 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = call i32 @strlen(ptr noundef @.str.3) %27 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) %28 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %29 = load ptr, ptr %1, align 8 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = call i32 @strlen(ptr noundef @.str.3) %33 = call i32 @printf(ptr noundef @.str.1, ptr noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32) %34 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %35 = load ptr, ptr %1, align 8 %36 = load i32, ptr %2, align 4 %37 = load i32, ptr %3, align 4 %38 = call i32 @strlen(ptr noundef @.str.3) %39 = call i32 @printf(ptr noundef @.str.1, ptr noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38) %40 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %41 = load ptr, ptr %1, align 8 %42 = load i32, ptr %2, align 4 %43 = load i32, ptr %3, align 4 %44 = call i32 @strlen(ptr noundef @.str.3) %45 = call i32 @printf(ptr noundef @.str.1, ptr noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44) %46 = call i32 @sprintfcat(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef @.str.3) %47 = load ptr, ptr %1, align 8 %48 = load i32, ptr %2, align 4 %49 = load i32, ptr %3, align 4 %50 = call i32 @strlen(ptr noundef @.str.3) %51 = call i32 @printf(ptr noundef @.str.1, ptr noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50) %52 = load ptr, ptr %1, align 8 %53 = call i32 @free(ptr noundef %52) ret void } declare i32 @sprintfcat(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgdsnxa18.c' source_filename = "/tmp/tmpgdsnxa18.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcalloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load ptr, ptr %5, align 8 ret ptr %13 } ; Function Attrs: allocsize(0,1) declare ptr @calloc(i64 noundef, i64 noundef) #1 declare i32 @assert(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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0,1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgdsnxa18.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcalloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load ptr, ptr %5, align 8 ret ptr %13 } ; Function Attrs: allocsize(0,1) declare ptr @calloc(i64 noundef, i64 noundef) #1 declare i32 @assert(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 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0,1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqyrkcqh0.c' source_filename = "/tmp/tmpqyrkcqh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 1 for y\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x79() #0 { %1 = call i32 @islower(i32 noundef 121) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 610, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @islower(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqyrkcqh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 1 for y\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x79() #0 { %1 = call i32 @islower(i32 noundef 121) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 610, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @islower(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2c_75uc5.c' source_filename = "/tmp/tmp2c_75uc5.c" target datalayout = "e-m:e-p270: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/tmp2c_75uc5.c" target datalayout = "e-m:e-p270: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/tmp2o2nb_1x.c' source_filename = "/tmp/tmp2o2nb_1x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) %5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @reverse(ptr noundef %5) %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @reverse(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2o2nb_1x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) %5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @reverse(ptr noundef %5) %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @reverse(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmkoz0ecu.c' source_filename = "/tmp/tmpmkoz0ecu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local i32 @abs(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = sub nsw i32 0, %6 br label %10 8: ; preds = %1 %9 = load i32, ptr %2, align 4 br label %10 10: ; preds = %8, %5 %11 = phi i32 [ %7, %5 ], [ %9, %8 ] ret i32 %11 } attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmkoz0ecu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local i32 @abs(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = sub nsw i32 0, %6 br label %10 8: ; preds = %1 %9 = load i32, ptr %2, align 4 br label %10 10: ; preds = %8, %5 %11 = phi i32 [ %7, %5 ], [ %9, %8 ] ret i32 %11 } attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4_krudz6.c' source_filename = "/tmp/tmp4_krudz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Grade Report for: Hudson McAshan\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Assignment 01\09Test 01\09Quiz 01\09Worksheet 01\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"%d/%d\09\09%d/%d\09%d/%d\09%d/%d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Total Points:\09%d/%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Average:\09%.2f\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"Letter Grade:\09%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 5, i32 noundef 5, i32 noundef 10, i32 noundef 10, i32 noundef 4, i32 noundef 5, i32 noundef 10, i32 noundef 10) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 29, i32 noundef 30) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef 9.667000e+01) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 65) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4_krudz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Grade Report for: Hudson McAshan\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Assignment 01\09Test 01\09Quiz 01\09Worksheet 01\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"%d/%d\09\09%d/%d\09%d/%d\09%d/%d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Total Points:\09%d/%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Average:\09%.2f\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"Letter Grade:\09%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 5, i32 noundef 5, i32 noundef 10, i32 noundef 10, i32 noundef 4, i32 noundef 5, i32 noundef 10, i32 noundef 10) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 29, i32 noundef 30) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef 9.667000e+01) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 65) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp14bhx3o9.c' source_filename = "/tmp/tmp14bhx3o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @time_get_random_str.str = internal global [1000 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @time_get_random_str(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %32, %1 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %2, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %10, label %37 10: ; preds = %6 %11 = call signext i8 @time_random_between(i32 noundef 0, i32 noundef 25) %12 = sext i8 %11 to i32 %13 = srem i32 %12, 10 %14 = add nsw i32 %13, 2 store i32 %14, ptr %5, align 4 store i32 0, ptr %3, align 4 br label %15 15: ; preds = %27, %10 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %32 19: ; preds = %15 %20 = call signext i8 @time_random_between(i32 noundef 0, i32 noundef 25) %21 = sext i8 %20 to i32 %22 = add nsw i32 97, %21 %23 = trunc i32 %22 to i8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [1000 x i8], ptr @time_get_random_str.str, i64 0, i64 %25 store i8 %23, ptr %26, align 1 br label %27 27: ; preds = %19 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 br label %15, !llvm.loop !6 32: ; preds = %15 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds [1000 x i8], ptr @time_get_random_str.str, i64 0, i64 %35 store i8 32, ptr %36, align 1 br label %6, !llvm.loop !8 37: ; preds = %6 %38 = load i32, ptr %4, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1000 x i8], ptr @time_get_random_str.str, i64 0, i64 %40 store i8 0, ptr %41, align 1 ret ptr @time_get_random_str.str } declare signext i8 @time_random_between(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp14bhx3o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @time_get_random_str.str = internal global [1000 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @time_get_random_str(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %2, align 4 %8 = icmp sge i32 %7, 0 br i1 %8, label %.lr.ph2, label %41 .lr.ph2: ; preds = %1 br label %9 9: ; preds = %.lr.ph2, %33 %10 = call signext i8 @time_random_between(i32 noundef 0, i32 noundef 25) %11 = sext i8 %10 to i32 %12 = srem i32 %11, 10 %13 = add nsw i32 %12, 2 store i32 %13, ptr %5, align 4 store i32 0, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %33 .lr.ph: ; preds = %9 br label %17 17: ; preds = %.lr.ph, %25 %18 = call signext i8 @time_random_between(i32 noundef 0, i32 noundef 25) %19 = sext i8 %18 to i32 %20 = add nsw i32 97, %19 %21 = trunc i32 %20 to i8 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [1000 x i8], ptr @time_get_random_str.str, i64 0, i64 %23 store i8 %21, ptr %24, align 1 br label %25 25: ; preds = %17 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %33 33: ; preds = %._crit_edge, %9 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %4, align 4 %36 = sext i32 %34 to i64 %37 = getelementptr inbounds [1000 x i8], ptr @time_get_random_str.str, i64 0, i64 %36 store i8 32, ptr %37, align 1 %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %2, align 4 %40 = icmp sge i32 %39, 0 br i1 %40, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %41 41: ; preds = %._crit_edge3, %1 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [1000 x i8], ptr @time_get_random_str.str, i64 0, i64 %44 store i8 0, ptr %45, align 1 ret ptr @time_get_random_str.str } declare signext i8 @time_random_between(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp__5td9pt.c' source_filename = "/tmp/tmp__5td9pt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_pop(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = zext i32 %7 to i64 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %35, %2 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 100 br i1 %11, label %12, label %38 12: ; preds = %9 store i32 0, ptr %6, align 4 br label %13 13: ; preds = %31, %12 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %34 17: ; preds = %13 %18 = call i32 (...) @rand() %19 = call i64 @pow(i32 noundef 2, i32 noundef 16) %20 = trunc i64 %19 to i32 %21 = srem i32 %18, %20 %22 = trunc i32 %21 to i16 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = mul nsw i64 %25, %8 %27 = getelementptr inbounds i16, ptr %23, i64 %26 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i16, ptr %27, i64 %29 store i16 %22, ptr %30, align 2 br label %31 31: ; preds = %17 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 br label %13, !llvm.loop !6 34: ; preds = %13 br label %35 35: ; preds = %34 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 br label %9, !llvm.loop !8 38: ; preds = %9 ret void } declare i32 @rand(...) #1 declare i64 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp__5td9pt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_pop(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = zext i32 %7 to i64 store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 100 br i1 %10, label %.lr.ph2, label %41 .lr.ph2: ; preds = %2 br label %11 11: ; preds = %.lr.ph2, %36 store i32 0, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %35 .lr.ph: ; preds = %11 br label %15 15: ; preds = %.lr.ph, %29 %16 = call i32 (...) @rand() %17 = call i64 @pow(i32 noundef 2, i32 noundef 16) %18 = trunc i64 %17 to i32 %19 = srem i32 %16, %18 %20 = trunc i32 %19 to i16 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = mul nsw i64 %23, %8 %25 = getelementptr inbounds i16, ptr %21, i64 %24 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i16, ptr %25, i64 %27 store i16 %20, ptr %28, align 2 br label %29 29: ; preds = %15 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %11 br label %36 36: ; preds = %35 %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, 100 br i1 %40, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %41 41: ; preds = %._crit_edge3, %2 ret void } declare i32 @rand(...) #1 declare i64 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpj60_c3hv.c' source_filename = "/tmp/tmpj60_c3hv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"usage: coremake [<options>] <platform>\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c" -h : help\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c" -v : verbose\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [45 x i8] c" -r : root folder (default is current dir)\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [59 x i8] c" -f <file> : specify project file (default is root.proj)\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c" -d : dump project\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c" -p : dump project at the end\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj60_c3hv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"usage: coremake [<options>] <platform>\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c" -h : help\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c" -v : verbose\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [45 x i8] c" -r : root folder (default is current dir)\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [59 x i8] c" -f <file> : specify project file (default is root.proj)\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c" -d : dump project\0D\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c" -p : dump project at the end\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_t5ffqyp.c' source_filename = "/tmp/tmp_t5ffqyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedValue2DMirrWarp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, double noundef %4, double noundef %5, double noundef %6, ptr noundef %7, double noundef %8, double noundef %9, double noundef %10, ptr noundef %11, i64 noundef %12) #0 { %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca ptr, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca ptr, align 8 %26 = alloca i64, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca i64, align 8 %30 = alloca i64, align 8 %31 = alloca i64, align 8 store ptr %0, ptr %14, align 8 store ptr %1, ptr %15, align 8 store i64 %2, ptr %16, align 8 store i64 %3, ptr %17, align 8 store double %4, ptr %18, align 8 store double %5, ptr %19, align 8 store double %6, ptr %20, align 8 store ptr %7, ptr %21, align 8 store double %8, ptr %22, align 8 store double %9, ptr %23, align 8 store double %10, ptr %24, align 8 store ptr %11, ptr %25, align 8 store i64 %12, ptr %26, align 8 store i64 0, ptr %29, align 8 store i64 0, ptr %31, align 8 br label %32 32: ; preds = %83, %13 %33 = load i64, ptr %31, align 8 %34 = sitofp i64 %33 to double %35 = load double, ptr %22, align 8 %36 = fcmp olt double %34, %35 br i1 %36, label %37, label %86 37: ; preds = %32 store i64 0, ptr %30, align 8 br label %38 38: ; preds = %79, %37 %39 = load i64, ptr %30, align 8 %40 = sitofp i64 %39 to double %41 = load double, ptr %18, align 8 %42 = fcmp olt double %40, %41 br i1 %42, label %43, label %82 43: ; preds = %38 %44 = load i64, ptr %30, align 8 %45 = sitofp i64 %44 to float %46 = load ptr, ptr %21, align 8 %47 = load i64, ptr %29, align 8 %48 = getelementptr inbounds float, ptr %46, i64 %47 %49 = load float, ptr %48, align 4 %50 = fadd float %45, %49 %51 = fpext float %50 to double %52 = load double, ptr %19, align 8 %53 = fsub double %51, %52 %54 = load double, ptr %20, align 8 %55 = fdiv double %53, %54 store double %55, ptr %27, align 8 %56 = load i64, ptr %31, align 8 %57 = sitofp i64 %56 to float %58 = load ptr, ptr %25, align 8 %59 = load i64, ptr %29, align 8 %60 = getelementptr inbounds float, ptr %58, i64 %59 %61 = load float, ptr %60, align 4 %62 = fadd float %57, %61 %63 = fpext float %62 to double %64 = load double, ptr %23, align 8 %65 = fsub double %63, %64 %66 = load double, ptr %24, align 8 %67 = fdiv double %65, %66 store double %67, ptr %28, align 8 %68 = load ptr, ptr %15, align 8 %69 = load i64, ptr %16, align 8 %70 = load i64, ptr %17, align 8 %71 = load double, ptr %27, align 8 %72 = load double, ptr %28, align 8 %73 = load i64, ptr %26, align 8 %74 = call float @InterpolatedValueMirr(ptr noundef %68, i64 noundef %69, i64 noundef %70, double noundef %71, double noundef %72, i64 noundef %73) %75 = load ptr, ptr %14, align 8 %76 = load i64, ptr %29, align 8 %77 = add nsw i64 %76, 1 store i64 %77, ptr %29, align 8 %78 = getelementptr inbounds float, ptr %75, i64 %76 store float %74, ptr %78, align 4 br label %79 79: ; preds = %43 %80 = load i64, ptr %30, align 8 %81 = add nsw i64 %80, 1 store i64 %81, ptr %30, align 8 br label %38, !llvm.loop !6 82: ; preds = %38 br label %83 83: ; preds = %82 %84 = load i64, ptr %31, align 8 %85 = add nsw i64 %84, 1 store i64 %85, ptr %31, align 8 br label %32, !llvm.loop !8 86: ; preds = %32 ret void } declare float @InterpolatedValueMirr(ptr noundef, i64 noundef, i64 noundef, double noundef, double 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_t5ffqyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedValue2DMirrWarp(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, double noundef %4, double noundef %5, double noundef %6, ptr noundef %7, double noundef %8, double noundef %9, double noundef %10, ptr noundef %11, i64 noundef %12) #0 { %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca ptr, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca ptr, align 8 %26 = alloca i64, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca i64, align 8 %30 = alloca i64, align 8 %31 = alloca i64, align 8 store ptr %0, ptr %14, align 8 store ptr %1, ptr %15, align 8 store i64 %2, ptr %16, align 8 store i64 %3, ptr %17, align 8 store double %4, ptr %18, align 8 store double %5, ptr %19, align 8 store double %6, ptr %20, align 8 store ptr %7, ptr %21, align 8 store double %8, ptr %22, align 8 store double %9, ptr %23, align 8 store double %10, ptr %24, align 8 store ptr %11, ptr %25, align 8 store i64 %12, ptr %26, align 8 store i64 0, ptr %29, align 8 store i64 0, ptr %31, align 8 %32 = load i64, ptr %31, align 8 %33 = sitofp i64 %32 to double %34 = load double, ptr %22, align 8 %35 = fcmp olt double %33, %34 br i1 %35, label %.lr.ph2, label %92 .lr.ph2: ; preds = %13 br label %36 36: ; preds = %.lr.ph2, %85 store i64 0, ptr %30, align 8 %37 = load i64, ptr %30, align 8 %38 = sitofp i64 %37 to double %39 = load double, ptr %18, align 8 %40 = fcmp olt double %38, %39 br i1 %40, label %.lr.ph, label %84 .lr.ph: ; preds = %36 br label %41 41: ; preds = %.lr.ph, %77 %42 = load i64, ptr %30, align 8 %43 = sitofp i64 %42 to float %44 = load ptr, ptr %21, align 8 %45 = load i64, ptr %29, align 8 %46 = getelementptr inbounds float, ptr %44, i64 %45 %47 = load float, ptr %46, align 4 %48 = fadd float %43, %47 %49 = fpext float %48 to double %50 = load double, ptr %19, align 8 %51 = fsub double %49, %50 %52 = load double, ptr %20, align 8 %53 = fdiv double %51, %52 store double %53, ptr %27, align 8 %54 = load i64, ptr %31, align 8 %55 = sitofp i64 %54 to float %56 = load ptr, ptr %25, align 8 %57 = load i64, ptr %29, align 8 %58 = getelementptr inbounds float, ptr %56, i64 %57 %59 = load float, ptr %58, align 4 %60 = fadd float %55, %59 %61 = fpext float %60 to double %62 = load double, ptr %23, align 8 %63 = fsub double %61, %62 %64 = load double, ptr %24, align 8 %65 = fdiv double %63, %64 store double %65, ptr %28, align 8 %66 = load ptr, ptr %15, align 8 %67 = load i64, ptr %16, align 8 %68 = load i64, ptr %17, align 8 %69 = load double, ptr %27, align 8 %70 = load double, ptr %28, align 8 %71 = load i64, ptr %26, align 8 %72 = call float @InterpolatedValueMirr(ptr noundef %66, i64 noundef %67, i64 noundef %68, double noundef %69, double noundef %70, i64 noundef %71) %73 = load ptr, ptr %14, align 8 %74 = load i64, ptr %29, align 8 %75 = add nsw i64 %74, 1 store i64 %75, ptr %29, align 8 %76 = getelementptr inbounds float, ptr %73, i64 %74 store float %72, ptr %76, align 4 br label %77 77: ; preds = %41 %78 = load i64, ptr %30, align 8 %79 = add nsw i64 %78, 1 store i64 %79, ptr %30, align 8 %80 = load i64, ptr %30, align 8 %81 = sitofp i64 %80 to double %82 = load double, ptr %18, align 8 %83 = fcmp olt double %81, %82 br i1 %83, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %84 84: ; preds = %._crit_edge, %36 br label %85 85: ; preds = %84 %86 = load i64, ptr %31, align 8 %87 = add nsw i64 %86, 1 store i64 %87, ptr %31, align 8 %88 = load i64, ptr %31, align 8 %89 = sitofp i64 %88 to double %90 = load double, ptr %22, align 8 %91 = fcmp olt double %89, %90 br i1 %91, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %85 br label %92 92: ; preds = %._crit_edge3, %13 ret void } declare float @InterpolatedValueMirr(ptr noundef, i64 noundef, i64 noundef, double noundef, double 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpzt8as794.c' source_filename = "/tmp/tmpzt8as794.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Ingrese un numero entre el 1 y el 9: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"El numero ingresado no entra dentro del rango\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 1 br i1 %9, label %13, label %10 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = icmp sgt i32 %11, 9 br i1 %12, label %13, label %15 13: ; preds = %10, %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %54 15: ; preds = %10 store i32 1, ptr %5, align 4 br label %16 16: ; preds = %50, %15 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %20, label %53 20: ; preds = %16 %21 = load i32, ptr %5, align 4 %22 = srem i32 %21, 2 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %36 24: ; preds = %20 store i32 1, ptr %3, align 4 br label %25 25: ; preds = %32, %24 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %29, label %35 29: ; preds = %25 %30 = load i32, ptr %3, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30) br label %32 32: ; preds = %29 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 br label %25, !llvm.loop !6 35: ; preds = %25 br label %48 36: ; preds = %20 %37 = load i32, ptr %2, align 4 store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %44, %36 %39 = load i32, ptr %3, align 4 %40 = icmp sge i32 %39, 1 br i1 %40, label %41, label %47 41: ; preds = %38 %42 = load i32, ptr %3, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %42) br label %44 44: ; preds = %41 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, -1 store i32 %46, ptr %3, align 4 br label %38, !llvm.loop !8 47: ; preds = %38 br label %48 48: ; preds = %47, %35 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %50 50: ; preds = %48 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %16, !llvm.loop !9 53: ; preds = %16 store i32 0, ptr %1, align 4 br label %54 54: ; preds = %53, %13 %55 = load i32, ptr %1, align 4 ret i32 %55 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzt8as794.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Ingrese un numero entre el 1 y el 9: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"El numero ingresado no entra dentro del rango\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 1 br i1 %9, label %13, label %10 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = icmp sgt i32 %11, 9 br i1 %12, label %13, label %15 13: ; preds = %10, %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %59 15: ; preds = %10 store i32 1, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %.lr.ph5, label %58 .lr.ph5: ; preds = %15 br label %19 19: ; preds = %.lr.ph5, %52 %20 = load i32, ptr %5, align 4 %21 = srem i32 %20, 2 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %37 23: ; preds = %19 store i32 1, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %.lr.ph2, label %36 .lr.ph2: ; preds = %23 br label %27 27: ; preds = %.lr.ph2, %30 %28 = load i32, ptr %3, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28) br label %30 30: ; preds = %27 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp sle i32 %33, %34 br i1 %35, label %27, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %30 br label %36 36: ; preds = %._crit_edge3, %23 br label %50 37: ; preds = %19 %38 = load i32, ptr %2, align 4 store i32 %38, ptr %3, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp sge i32 %39, 1 br i1 %40, label %.lr.ph, label %49 .lr.ph: ; preds = %37 br label %41 41: ; preds = %.lr.ph, %44 %42 = load i32, ptr %3, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %42) br label %44 44: ; preds = %41 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, -1 store i32 %46, ptr %3, align 4 %47 = load i32, ptr %3, align 4 %48 = icmp sge i32 %47, 1 br i1 %48, label %41, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %44 br label %49 49: ; preds = %._crit_edge, %37 br label %50 50: ; preds = %49, %36 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %52 52: ; preds = %50 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %5, align 4 %55 = load i32, ptr %5, align 4 %56 = load i32, ptr %2, align 4 %57 = icmp sle i32 %55, %56 br i1 %57, label %19, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %52 br label %58 58: ; preds = %._crit_edge6, %15 store i32 0, ptr %1, align 4 br label %59 59: ; preds = %58, %13 %60 = load i32, ptr %1, align 4 ret i32 %60 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp09n8f1oj.c' source_filename = "/tmp/tmp09n8f1oj.c" target datalayout = "e-m:e-p270: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/tmp09n8f1oj.c" target datalayout = "e-m:e-p270: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/tmp61pzcmts.c' source_filename = "/tmp/tmp61pzcmts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A%f\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 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %9 = call i64 (...) @clock() store i64 %9, ptr %5, align 8 %10 = call i64 @sum_sieves(i32 noundef 2000000) store i64 %10, ptr %8, align 8 %11 = load i64, ptr %8, align 8 %12 = sitofp i64 %11 to double %13 = call i32 @printf(ptr noundef @.str, double noundef %12) %14 = call i64 (...) @clock() store i64 %14, ptr %6, align 8 %15 = load i64, ptr %6, align 8 %16 = load i64, ptr %5, align 8 %17 = sub nsw i64 %15, %16 %18 = sitofp i64 %17 to double %19 = load double, ptr @CLOCKS_PER_SEC, align 8 %20 = fdiv double %18, %19 store double %20, ptr %7, align 8 %21 = load double, ptr %7, align 8 %22 = call i32 @printf(ptr noundef @.str.1, double noundef %21) ret i32 0 } declare i64 @clock(...) #1 declare i64 @sum_sieves(i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp61pzcmts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"\0A%f\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 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %9 = call i64 (...) @clock() store i64 %9, ptr %5, align 8 %10 = call i64 @sum_sieves(i32 noundef 2000000) store i64 %10, ptr %8, align 8 %11 = load i64, ptr %8, align 8 %12 = sitofp i64 %11 to double %13 = call i32 @printf(ptr noundef @.str, double noundef %12) %14 = call i64 (...) @clock() store i64 %14, ptr %6, align 8 %15 = load i64, ptr %6, align 8 %16 = load i64, ptr %5, align 8 %17 = sub nsw i64 %15, %16 %18 = sitofp i64 %17 to double %19 = load double, ptr @CLOCKS_PER_SEC, align 8 %20 = fdiv double %18, %19 store double %20, ptr %7, align 8 %21 = load double, ptr %7, align 8 %22 = call i32 @printf(ptr noundef @.str.1, double noundef %21) ret i32 0 } declare i64 @clock(...) #1 declare i64 @sum_sieves(i32 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"}
; ModuleID = '/tmp/tmpxnuc2mtq.c' source_filename = "/tmp/tmpxnuc2mtq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @func6() %7 = icmp eq i32 %6, 2 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 0, i32 1 ret i32 %9 } declare i32 @func6(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxnuc2mtq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @func6() %7 = icmp eq i32 %6, 2 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 0, i32 1 ret i32 %9 } declare i32 @func6(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}