llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpro2a9jcx.c' source_filename = "/tmp/tmpro2a9jcx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I could have %d open file descriptors.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @open_max() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @open_max(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpro2a9jcx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I could have %d open file descriptors.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @open_max() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @open_max(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5r9wxqmy.c' source_filename = "/tmp/tmp5r9wxqmy.c" target datalayout = "e-m:e-p270: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/tmp5r9wxqmy.c" target datalayout = "e-m:e-p270: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/tmppm2ev48k.c' source_filename = "/tmp/tmppm2ev48k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_arglist(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 ptr, ptr %3, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp eq i32 %6, 40 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %9, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %9, align 8 br label %12 12: ; preds = %8, %1 br label %13 13: ; preds = %80, %12 %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %14, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %13 %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr %20, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 41 br label %25 25: ; preds = %19, %13 %26 = phi i1 [ false, %13 ], [ %24, %19 ] br i1 %26, label %27, label %81 27: ; preds = %25 %28 = load ptr, ptr %2, align 8 %29 = load ptr, ptr %28, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 37 br i1 %32, label %33, label %47 33: ; preds = %27 %34 = load ptr, ptr %2, align 8 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %34, align 8 %37 = load ptr, ptr %2, align 8 %38 = load ptr, ptr %37, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %33 br label %81 43: ; preds = %33 %44 = load ptr, ptr %2, align 8 %45 = load ptr, ptr %44, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %44, align 8 br label %80 47: ; preds = %27 %48 = load ptr, ptr %2, align 8 %49 = load ptr, ptr %48, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 40 br i1 %52, label %53, label %55 53: ; preds = %47 %54 = load ptr, ptr %2, align 8 call void @skip_arglist(ptr noundef %54) br label %79 55: ; preds = %47 %56 = load ptr, ptr %2, align 8 %57 = load ptr, ptr %56, align 8 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 60 br i1 %60, label %61, label %64 61: ; preds = %55 %62 = load ptr, ptr %2, align 8 %63 = call i32 @skip_enumlist(ptr noundef %62) br label %78 64: ; preds = %55 %65 = load ptr, ptr %2, align 8 %66 = load ptr, ptr %65, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 35 br i1 %69, label %70, label %73 70: ; preds = %64 %71 = load ptr, ptr %2, align 8 %72 = call i32 @skip_comment(ptr noundef %71) br label %77 73: ; preds = %64 %74 = load ptr, ptr %2, align 8 %75 = load ptr, ptr %74, align 8 %76 = getelementptr inbounds i8, ptr %75, i32 1 store ptr %76, ptr %74, align 8 br label %77 77: ; preds = %73, %70 br label %78 78: ; preds = %77, %61 br label %79 79: ; preds = %78, %53 br label %80 80: ; preds = %79, %43 br label %13, !llvm.loop !6 81: ; preds = %42, %25 %82 = load ptr, ptr %2, align 8 %83 = load ptr, ptr %82, align 8 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 41 br i1 %86, label %87, label %91 87: ; preds = %81 %88 = load ptr, ptr %2, align 8 %89 = load ptr, ptr %88, align 8 %90 = getelementptr inbounds i8, ptr %89, i32 1 store ptr %90, ptr %88, align 8 br label %91 91: ; preds = %87, %81 ret void } declare i32 @skip_enumlist(ptr noundef) #1 declare i32 @skip_comment(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppm2ev48k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_arglist(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 ptr, ptr %3, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp eq i32 %6, 40 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %9, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %9, align 8 br label %12 12: ; preds = %8, %1 br label %13 13: ; preds = %80, %12 %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %14, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %13 %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr %20, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 41 br label %25 25: ; preds = %19, %13 %26 = phi i1 [ false, %13 ], [ %24, %19 ] br i1 %26, label %27, label %.loopexit 27: ; preds = %25 %28 = load ptr, ptr %2, align 8 %29 = load ptr, ptr %28, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 37 br i1 %32, label %33, label %47 33: ; preds = %27 %34 = load ptr, ptr %2, align 8 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %34, align 8 %37 = load ptr, ptr %2, align 8 %38 = load ptr, ptr %37, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %33 br label %81 43: ; preds = %33 %44 = load ptr, ptr %2, align 8 %45 = load ptr, ptr %44, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %44, align 8 br label %80 47: ; preds = %27 %48 = load ptr, ptr %2, align 8 %49 = load ptr, ptr %48, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 40 br i1 %52, label %53, label %55 53: ; preds = %47 %54 = load ptr, ptr %2, align 8 call void @skip_arglist(ptr noundef %54) br label %79 55: ; preds = %47 %56 = load ptr, ptr %2, align 8 %57 = load ptr, ptr %56, align 8 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 60 br i1 %60, label %61, label %64 61: ; preds = %55 %62 = load ptr, ptr %2, align 8 %63 = call i32 @skip_enumlist(ptr noundef %62) br label %78 64: ; preds = %55 %65 = load ptr, ptr %2, align 8 %66 = load ptr, ptr %65, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 35 br i1 %69, label %70, label %73 70: ; preds = %64 %71 = load ptr, ptr %2, align 8 %72 = call i32 @skip_comment(ptr noundef %71) br label %77 73: ; preds = %64 %74 = load ptr, ptr %2, align 8 %75 = load ptr, ptr %74, align 8 %76 = getelementptr inbounds i8, ptr %75, i32 1 store ptr %76, ptr %74, align 8 br label %77 77: ; preds = %73, %70 br label %78 78: ; preds = %77, %61 br label %79 79: ; preds = %78, %53 br label %80 80: ; preds = %79, %43 br label %13, !llvm.loop !6 .loopexit: ; preds = %25 br label %81 81: ; preds = %.loopexit, %42 %82 = load ptr, ptr %2, align 8 %83 = load ptr, ptr %82, align 8 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 41 br i1 %86, label %87, label %91 87: ; preds = %81 %88 = load ptr, ptr %2, align 8 %89 = load ptr, ptr %88, align 8 %90 = getelementptr inbounds i8, ptr %89, i32 1 store ptr %90, ptr %88, align 8 br label %91 91: ; preds = %87, %81 ret void } declare i32 @skip_enumlist(ptr noundef) #1 declare i32 @skip_comment(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpunygo_wy.c' source_filename = "/tmp/tmpunygo_wy.c" target datalayout = "e-m:e-p270: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/tmpunygo_wy.c" target datalayout = "e-m:e-p270: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/tmpqrwfx24w.c' source_filename = "/tmp/tmpqrwfx24w.c" target datalayout = "e-m:e-p270: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/tmpqrwfx24w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5_iqhzkz.c' source_filename = "/tmp/tmp5_iqhzkz.c" target datalayout = "e-m:e-p270: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/tmp5_iqhzkz.c" target datalayout = "e-m:e-p270: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/tmpn_2cah5o.c' source_filename = "/tmp/tmpn_2cah5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @kinematicsDegToRad(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = load float, ptr @M_PI, align 4 %5 = fmul float %3, %4 %6 = fpext float %5 to double %7 = fdiv double %6, 1.800000e+02 %8 = fptrunc double %7 to float ret float %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn_2cah5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @kinematicsDegToRad(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = load float, ptr @M_PI, align 4 %5 = fmul float %3, %4 %6 = fpext float %5 to double %7 = fdiv double %6, 1.800000e+02 %8 = fptrunc double %7 to float ret float %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcow75wtf.c' source_filename = "/tmp/tmpcow75wtf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcow75wtf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuddqpg1g.c' source_filename = "/tmp/tmpuddqpg1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter %d words beginning with q:\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"%s doesn't begin with q!\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Here are the words accepted:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x [7 x i8]], align 16 %3 = alloca [40 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 5) br label %6 6: ; preds = %36, %0 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 5 br i1 %8, label %9, label %13 9: ; preds = %6 %10 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %11 = call i64 @s_gets(ptr noundef %10, i32 noundef 40) %12 = icmp ne i64 %11, 0 br label %13 13: ; preds = %9, %6 %14 = phi i1 [ false, %6 ], [ %12, %9 ] br i1 %14, label %15, label %37 15: ; preds = %13 %16 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %17 = load i8, ptr %16, align 16 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 113 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21) br label %36 23: ; preds = %15 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [5 x [7 x i8]], ptr %2, i64 0, i64 %25 %27 = getelementptr inbounds [7 x i8], ptr %26, i64 0, i64 0 %28 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %29 = call i32 @strncpy(ptr noundef %27, ptr noundef %28, i32 noundef 6) %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [5 x [7 x i8]], ptr %2, i64 0, i64 %31 %33 = getelementptr inbounds [7 x i8], ptr %32, i64 0, i64 6 store i8 0, ptr %33, align 1 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %4, align 4 br label %36 36: ; preds = %23, %20 br label %6, !llvm.loop !6 37: ; preds = %13 %38 = call i32 @puts(ptr noundef @.str.2) store i32 0, ptr %4, align 4 br label %39 39: ; preds = %48, %37 %40 = load i32, ptr %4, align 4 %41 = icmp slt i32 %40, 5 br i1 %41, label %42, label %51 42: ; preds = %39 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [5 x [7 x i8]], ptr %2, i64 0, i64 %44 %46 = getelementptr inbounds [7 x i8], ptr %45, i64 0, i64 0 %47 = call i32 @puts(ptr noundef %46) br label %48 48: ; preds = %42 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 br label %39, !llvm.loop !8 51: ; preds = %39 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @s_gets(ptr noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuddqpg1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter %d words beginning with q:\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"%s doesn't begin with q!\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Here are the words accepted:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x [7 x i8]], align 16 %3 = alloca [40 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 5) br label %6 6: ; preds = %36, %0 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 5 br i1 %8, label %9, label %13 9: ; preds = %6 %10 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %11 = call i64 @s_gets(ptr noundef %10, i32 noundef 40) %12 = icmp ne i64 %11, 0 br label %13 13: ; preds = %9, %6 %14 = phi i1 [ false, %6 ], [ %12, %9 ] br i1 %14, label %15, label %37 15: ; preds = %13 %16 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %17 = load i8, ptr %16, align 16 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 113 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21) br label %36 23: ; preds = %15 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [5 x [7 x i8]], ptr %2, i64 0, i64 %25 %27 = getelementptr inbounds [7 x i8], ptr %26, i64 0, i64 0 %28 = getelementptr inbounds [40 x i8], ptr %3, i64 0, i64 0 %29 = call i32 @strncpy(ptr noundef %27, ptr noundef %28, i32 noundef 6) %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [5 x [7 x i8]], ptr %2, i64 0, i64 %31 %33 = getelementptr inbounds [7 x i8], ptr %32, i64 0, i64 6 store i8 0, ptr %33, align 1 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %4, align 4 br label %36 36: ; preds = %23, %20 br label %6, !llvm.loop !6 37: ; preds = %13 %38 = call i32 @puts(ptr noundef @.str.2) store i32 0, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %39, 5 br i1 %40, label %.lr.ph, label %52 .lr.ph: ; preds = %37 br label %41 41: ; preds = %.lr.ph, %47 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [5 x [7 x i8]], ptr %2, i64 0, i64 %43 %45 = getelementptr inbounds [7 x i8], ptr %44, i64 0, i64 0 %46 = call i32 @puts(ptr noundef %45) br label %47 47: ; preds = %41 %48 = load i32, ptr %4, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %4, align 4 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %50, 5 br i1 %51, label %41, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %47 br label %52 52: ; preds = %._crit_edge, %37 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @s_gets(ptr noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpqw12r3n6.c' source_filename = "/tmp/tmpqw12r3n6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @TIMER0_GetValue() store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %6, %1 br label %6 6: ; preds = %5 %7 = load i32, ptr %3, align 4 %8 = call i32 @TIMER0_Elapse(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = icmp ult i32 %8, %9 br i1 %10, label %5, label %11, !llvm.loop !6 11: ; preds = %6 ret void } declare i32 @TIMER0_GetValue(...) #1 declare i32 @TIMER0_Elapse(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/tmpqw12r3n6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @TIMER0_GetValue() store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %6, %1 br label %6 6: ; preds = %5 %7 = load i32, ptr %3, align 4 %8 = call i32 @TIMER0_Elapse(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = icmp ult i32 %8, %9 br i1 %10, label %5, label %11, !llvm.loop !6 11: ; preds = %6 ret void } declare i32 @TIMER0_GetValue(...) #1 declare i32 @TIMER0_Elapse(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/tmp3qq6fc9m.c' source_filename = "/tmp/tmp3qq6fc9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"div\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"mod\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"sin\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"cos\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"atan2\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"sqrt\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"abs\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"int\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"float\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @remove_built_in_rhs_math_functions() #0 { %1 = call i32 @make_sym_constant(ptr noundef @.str) %2 = call i32 @remove_rhs_function(i32 noundef %1) %3 = call i32 @make_sym_constant(ptr noundef @.str.1) %4 = call i32 @remove_rhs_function(i32 noundef %3) %5 = call i32 @make_sym_constant(ptr noundef @.str.2) %6 = call i32 @remove_rhs_function(i32 noundef %5) %7 = call i32 @make_sym_constant(ptr noundef @.str.3) %8 = call i32 @remove_rhs_function(i32 noundef %7) %9 = call i32 @make_sym_constant(ptr noundef @.str.4) %10 = call i32 @remove_rhs_function(i32 noundef %9) %11 = call i32 @make_sym_constant(ptr noundef @.str.5) %12 = call i32 @remove_rhs_function(i32 noundef %11) %13 = call i32 @make_sym_constant(ptr noundef @.str.6) %14 = call i32 @remove_rhs_function(i32 noundef %13) %15 = call i32 @make_sym_constant(ptr noundef @.str.7) %16 = call i32 @remove_rhs_function(i32 noundef %15) %17 = call i32 @make_sym_constant(ptr noundef @.str.8) %18 = call i32 @remove_rhs_function(i32 noundef %17) %19 = call i32 @make_sym_constant(ptr noundef @.str.9) %20 = call i32 @remove_rhs_function(i32 noundef %19) %21 = call i32 @make_sym_constant(ptr noundef @.str.10) %22 = call i32 @remove_rhs_function(i32 noundef %21) %23 = call i32 @make_sym_constant(ptr noundef @.str.11) %24 = call i32 @remove_rhs_function(i32 noundef %23) %25 = call i32 @make_sym_constant(ptr noundef @.str.12) %26 = call i32 @remove_rhs_function(i32 noundef %25) ret void } declare i32 @remove_rhs_function(i32 noundef) #1 declare i32 @make_sym_constant(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3qq6fc9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"div\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"mod\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"sin\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"cos\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"atan2\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"sqrt\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"abs\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"int\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"float\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @remove_built_in_rhs_math_functions() #0 { %1 = call i32 @make_sym_constant(ptr noundef @.str) %2 = call i32 @remove_rhs_function(i32 noundef %1) %3 = call i32 @make_sym_constant(ptr noundef @.str.1) %4 = call i32 @remove_rhs_function(i32 noundef %3) %5 = call i32 @make_sym_constant(ptr noundef @.str.2) %6 = call i32 @remove_rhs_function(i32 noundef %5) %7 = call i32 @make_sym_constant(ptr noundef @.str.3) %8 = call i32 @remove_rhs_function(i32 noundef %7) %9 = call i32 @make_sym_constant(ptr noundef @.str.4) %10 = call i32 @remove_rhs_function(i32 noundef %9) %11 = call i32 @make_sym_constant(ptr noundef @.str.5) %12 = call i32 @remove_rhs_function(i32 noundef %11) %13 = call i32 @make_sym_constant(ptr noundef @.str.6) %14 = call i32 @remove_rhs_function(i32 noundef %13) %15 = call i32 @make_sym_constant(ptr noundef @.str.7) %16 = call i32 @remove_rhs_function(i32 noundef %15) %17 = call i32 @make_sym_constant(ptr noundef @.str.8) %18 = call i32 @remove_rhs_function(i32 noundef %17) %19 = call i32 @make_sym_constant(ptr noundef @.str.9) %20 = call i32 @remove_rhs_function(i32 noundef %19) %21 = call i32 @make_sym_constant(ptr noundef @.str.10) %22 = call i32 @remove_rhs_function(i32 noundef %21) %23 = call i32 @make_sym_constant(ptr noundef @.str.11) %24 = call i32 @remove_rhs_function(i32 noundef %23) %25 = call i32 @make_sym_constant(ptr noundef @.str.12) %26 = call i32 @remove_rhs_function(i32 noundef %25) ret void } declare i32 @remove_rhs_function(i32 noundef) #1 declare i32 @make_sym_constant(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpczjouywd.c' source_filename = "/tmp/tmpczjouywd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AddrTools_printMac(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [12 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0 %7 = load ptr, ptr %4, align 8 %8 = call i32 @Hex_encode(ptr noundef %6, i32 noundef 12, ptr noundef %7, i32 noundef 6) %9 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0 %10 = load i8, ptr %9, align 1 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 store i8 %10, ptr %12, align 1 %13 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 1 %14 = load i8, ptr %13, align 1 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 1 store i8 %14, ptr %16, align 1 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 2 store i8 58, ptr %18, align 1 %19 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 2 %20 = load i8, ptr %19, align 1 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 3 store i8 %20, ptr %22, align 1 %23 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 3 %24 = load i8, ptr %23, align 1 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 4 store i8 %24, ptr %26, align 1 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 5 store i8 58, ptr %28, align 1 %29 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 4 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 6 store i8 %30, ptr %32, align 1 %33 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 5 %34 = load i8, ptr %33, align 1 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 7 store i8 %34, ptr %36, align 1 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 8 store i8 58, ptr %38, align 1 %39 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 6 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 9 store i8 %40, ptr %42, align 1 %43 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 7 %44 = load i8, ptr %43, align 1 %45 = load ptr, ptr %3, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 10 store i8 %44, ptr %46, align 1 %47 = load ptr, ptr %3, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 11 store i8 58, ptr %48, align 1 %49 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 8 %50 = load i8, ptr %49, align 1 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 12 store i8 %50, ptr %52, align 1 %53 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 9 %54 = load i8, ptr %53, align 1 %55 = load ptr, ptr %3, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 13 store i8 %54, ptr %56, align 1 %57 = load ptr, ptr %3, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 14 store i8 58, ptr %58, align 1 %59 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 10 %60 = load i8, ptr %59, align 1 %61 = load ptr, ptr %3, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 15 store i8 %60, ptr %62, align 1 %63 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 11 %64 = load i8, ptr %63, align 1 %65 = load ptr, ptr %3, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 16 store i8 %64, ptr %66, align 1 %67 = load ptr, ptr %3, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 17 store i8 0, ptr %68, align 1 ret void } declare i32 @Hex_encode(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpczjouywd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AddrTools_printMac(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [12 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0 %7 = load ptr, ptr %4, align 8 %8 = call i32 @Hex_encode(ptr noundef %6, i32 noundef 12, ptr noundef %7, i32 noundef 6) %9 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 0 %10 = load i8, ptr %9, align 1 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 store i8 %10, ptr %12, align 1 %13 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 1 %14 = load i8, ptr %13, align 1 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 1 store i8 %14, ptr %16, align 1 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 2 store i8 58, ptr %18, align 1 %19 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 2 %20 = load i8, ptr %19, align 1 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 3 store i8 %20, ptr %22, align 1 %23 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 3 %24 = load i8, ptr %23, align 1 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 4 store i8 %24, ptr %26, align 1 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 5 store i8 58, ptr %28, align 1 %29 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 4 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 6 store i8 %30, ptr %32, align 1 %33 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 5 %34 = load i8, ptr %33, align 1 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 7 store i8 %34, ptr %36, align 1 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 8 store i8 58, ptr %38, align 1 %39 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 6 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 9 store i8 %40, ptr %42, align 1 %43 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 7 %44 = load i8, ptr %43, align 1 %45 = load ptr, ptr %3, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 10 store i8 %44, ptr %46, align 1 %47 = load ptr, ptr %3, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 11 store i8 58, ptr %48, align 1 %49 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 8 %50 = load i8, ptr %49, align 1 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 12 store i8 %50, ptr %52, align 1 %53 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 9 %54 = load i8, ptr %53, align 1 %55 = load ptr, ptr %3, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 13 store i8 %54, ptr %56, align 1 %57 = load ptr, ptr %3, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 14 store i8 58, ptr %58, align 1 %59 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 10 %60 = load i8, ptr %59, align 1 %61 = load ptr, ptr %3, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 15 store i8 %60, ptr %62, align 1 %63 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 11 %64 = load i8, ptr %63, align 1 %65 = load ptr, ptr %3, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 16 store i8 %64, ptr %66, align 1 %67 = load ptr, ptr %3, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 17 store i8 0, ptr %68, align 1 ret void } declare i32 @Hex_encode(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqw6_aasa.c' source_filename = "/tmp/tmpqw6_aasa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"http server running on port %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @startup() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_in, align 4 store i32 -1, ptr %1, align 4 store i32 9001, ptr %2, align 4 %4 = load i32, ptr @AF_INET, align 4 %5 = load i32, ptr @SOCK_STREAM, align 4 %6 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef 0) store i32 %6, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %0 %13 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 12) %14 = load i32, ptr @AF_INET, align 4 %15 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %14, ptr %15, align 4 %16 = call i32 @htons(i32 noundef 9001) %17 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 store i32 %16, ptr %17, align 4 %18 = load i32, ptr @INADDR_ANY, align 4 %19 = call i32 @htonl(i32 noundef %18) %20 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 store i32 %19, ptr %21, align 4 %22 = load i32, ptr %1, align 4 %23 = call i64 @bind(i32 noundef %22, ptr noundef %3, i32 noundef 12) %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %12 %26 = call i32 @perror(ptr noundef @.str.1) %27 = call i32 @exit(i32 noundef -1) #3 unreachable 28: ; preds = %12 %29 = load i32, ptr %1, align 4 %30 = call i64 @listen(i32 noundef %29, i32 noundef 5) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = call i32 @perror(ptr noundef @.str.2) %34 = call i32 @exit(i32 noundef -1) #3 unreachable 35: ; preds = %28 %36 = load i32, ptr %2, align 4 %37 = call i32 @printf(ptr noundef @.str.3, i32 noundef %36) %38 = load i32, ptr %1, align 4 ret i32 %38 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 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" } 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/tmpqw6_aasa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"http server running on port %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @startup() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_in, align 4 store i32 -1, ptr %1, align 4 store i32 9001, ptr %2, align 4 %4 = load i32, ptr @AF_INET, align 4 %5 = load i32, ptr @SOCK_STREAM, align 4 %6 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef 0) store i32 %6, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %0 %13 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 12) %14 = load i32, ptr @AF_INET, align 4 %15 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %14, ptr %15, align 4 %16 = call i32 @htons(i32 noundef 9001) %17 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 store i32 %16, ptr %17, align 4 %18 = load i32, ptr @INADDR_ANY, align 4 %19 = call i32 @htonl(i32 noundef %18) %20 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 store i32 %19, ptr %21, align 4 %22 = load i32, ptr %1, align 4 %23 = call i64 @bind(i32 noundef %22, ptr noundef %3, i32 noundef 12) %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %12 %26 = call i32 @perror(ptr noundef @.str.1) %27 = call i32 @exit(i32 noundef -1) #3 unreachable 28: ; preds = %12 %29 = load i32, ptr %1, align 4 %30 = call i64 @listen(i32 noundef %29, i32 noundef 5) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = call i32 @perror(ptr noundef @.str.2) %34 = call i32 @exit(i32 noundef -1) #3 unreachable 35: ; preds = %28 %36 = load i32, ptr %2, align 4 %37 = call i32 @printf(ptr noundef @.str.3, i32 noundef %36) %38 = load i32, ptr %1, align 4 ret i32 %38 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 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" } 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/tmpi5q4yj4x.c' source_filename = "/tmp/tmpi5q4yj4x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Number of decks ? : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Error #decks\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Number of cards : %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 1 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 @puts(ptr noundef @.str.2) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = mul nsw i32 %11, 52 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12) br label %14 14: ; preds = %10 %15 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi5q4yj4x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Number of decks ? : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Error #decks\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Number of cards : %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 1 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = call i32 @puts(ptr noundef @.str.2) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = mul nsw i32 %11, 52 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12) br label %14 14: ; preds = %10 %15 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiynxa17m.c' source_filename = "/tmp/tmpiynxa17m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_reg(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @set_ioctl(i32 noundef %7, ptr noundef %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %13 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i32 @set_ioctl(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/tmpiynxa17m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_reg(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @set_ioctl(i32 noundef %7, ptr noundef %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %13 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i32 @set_ioctl(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/tmpvqru7fzp.c' source_filename = "/tmp/tmpvqru7fzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1025 x i8] c"Usage:\0A par c(heck) [options] <par file> : Check parity archive\0A par r(ecover) [options] <par file> : Restore missing volumes\0A par a(dd) [options] <par file> [files] : Add files to parity archive\0A Advanced:\0A par m(ix) [options] : Try to restore from all parity files at once\0A par i(nteractive) [<par files>] : Interactive mode (very bare-bones)\0A\0AOptions: (Can be turned off with '+')\0A -m : Move existing files out of the way\0A -f : Fix faulty filenames\0A -p<n>: Number of files per parity volume\0A or -n<n>: Number of parity volumes to create\0A -d : Search for duplicate files\0A -k : Keep broken files\0A -s : Be smart if filenames are consistently different.\0A +i : Do not add following files to parity volumes\0A +c : Do not create parity volumes\0A +C : Ignore case in filename comparisons\0A +H : Do not check control hashes\0A -v,+v: Increase or decrease verbosity\0A -h,-?: Display this help\0A -- : Always treat following arguments as files\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @usage() #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/tmpvqru7fzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1025 x i8] c"Usage:\0A par c(heck) [options] <par file> : Check parity archive\0A par r(ecover) [options] <par file> : Restore missing volumes\0A par a(dd) [options] <par file> [files] : Add files to parity archive\0A Advanced:\0A par m(ix) [options] : Try to restore from all parity files at once\0A par i(nteractive) [<par files>] : Interactive mode (very bare-bones)\0A\0AOptions: (Can be turned off with '+')\0A -m : Move existing files out of the way\0A -f : Fix faulty filenames\0A -p<n>: Number of files per parity volume\0A or -n<n>: Number of parity volumes to create\0A -d : Search for duplicate files\0A -k : Keep broken files\0A -s : Be smart if filenames are consistently different.\0A +i : Do not add following files to parity volumes\0A +c : Do not create parity volumes\0A +C : Ignore case in filename comparisons\0A +H : Do not check control hashes\0A -v,+v: Increase or decrease verbosity\0A -h,-?: Display this help\0A -- : Always treat following arguments as files\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @usage() #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/tmpudu5v927.c' source_filename = "/tmp/tmpudu5v927.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"PROGRAM DIRECTORY HERE :DD\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"opened\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @EOF = dso_local global i64 0, align 8 @main.mem = internal global [30000 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [500000 x i8], align 16 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %5, align 4 br label %9 9: ; preds = %24, %0 %10 = load ptr, ptr %2, align 8 %11 = call i64 @fscanf(ptr noundef %10, ptr noundef @.str.3, ptr noundef %4) %12 = load i64, ptr @EOF, align 8 %13 = icmp ne i64 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %9 %15 = load i8, ptr %4, align 1 %16 = sext i8 %15 to i32 switch i32 %16, label %24 [ i32 62, label %17 i32 60, label %17 i32 46, label %17 i32 44, label %17 i32 43, label %17 i32 45, label %17 i32 91, label %17 i32 93, label %17 ] 17: ; preds = %14, %14, %14, %14, %14, %14, %14, %14 %18 = load i8, ptr %4, align 1 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 %20 store i8 %18, ptr %21, align 1 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %24 24: ; preds = %14, %17 br label %9, !llvm.loop !6 25: ; preds = %9 %26 = load ptr, ptr %2, align 8 %27 = call i32 @fclose(ptr noundef %26) %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 %29 store i8 0, ptr %30, align 1 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %31 31: ; preds = %105, %25 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %108 38: ; preds = %31 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 switch i32 %43, label %104 [ i32 62, label %44 i32 60, label %47 i32 46, label %50 i32 44, label %57 i32 43, label %62 i32 45, label %68 i32 91, label %74 i32 93, label %89 ] 44: ; preds = %38 %45 = load i32, ptr %6, align 4 %46 = add i32 %45, 1 store i32 %46, ptr %6, align 4 br label %104 47: ; preds = %38 %48 = load i32, ptr %6, align 4 %49 = add i32 %48, -1 store i32 %49, ptr %6, align 4 br label %104 50: ; preds = %38 %51 = load i32, ptr %6, align 4 %52 = zext i32 %51 to i64 %53 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %55) br label %104 57: ; preds = %38 %58 = load i32, ptr %6, align 4 %59 = zext i32 %58 to i64 %60 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %59 %61 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %60) br label %104 62: ; preds = %38 %63 = load i32, ptr %6, align 4 %64 = zext i32 %63 to i64 %65 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %64 %66 = load i8, ptr %65, align 1 %67 = add i8 %66, 1 store i8 %67, ptr %65, align 1 br label %104 68: ; preds = %38 %69 = load i32, ptr %6, align 4 %70 = zext i32 %69 to i64 %71 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %70 %72 = load i8, ptr %71, align 1 %73 = add i8 %72, -1 store i8 %73, ptr %71, align 1 br label %104 74: ; preds = %38 %75 = load i32, ptr %6, align 4 %76 = zext i32 %75 to i64 %77 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %76 %78 = load i8, ptr %77, align 1 %79 = zext i8 %78 to i32 %80 = icmp eq i32 %79, 0 br i1 %80, label %81, label %88 81: ; preds = %74 %82 = load i32, ptr %5, align 4 %83 = add nsw i32 %82, 1 %84 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 0 %85 = call i32 @forwardTrack(i32 noundef %83, i32 noundef 0, ptr noundef %84) %86 = load i32, ptr %5, align 4 %87 = add nsw i32 %86, %85 store i32 %87, ptr %5, align 4 br label %88 88: ; preds = %81, %74 br label %104 89: ; preds = %38 %90 = load i32, ptr %6, align 4 %91 = zext i32 %90 to i64 %92 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %91 %93 = load i8, ptr %92, align 1 %94 = zext i8 %93 to i32 %95 = icmp ne i32 %94, 0 br i1 %95, label %96, label %103 96: ; preds = %89 %97 = load i32, ptr %5, align 4 %98 = sub nsw i32 %97, 1 %99 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 0 %100 = call i32 @backTrack(i32 noundef %98, i32 noundef 0, ptr noundef %99) %101 = load i32, ptr %5, align 4 %102 = sub nsw i32 %101, %100 store i32 %102, ptr %5, align 4 br label %103 103: ; preds = %96, %89 br label %104 104: ; preds = %38, %103, %88, %68, %62, %57, %50, %47, %44 br label %105 105: ; preds = %104 %106 = load i32, ptr %5, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %5, align 4 br label %31, !llvm.loop !8 108: ; preds = %31 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @forwardTrack(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @backTrack(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpudu5v927.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"PROGRAM DIRECTORY HERE :DD\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"opened\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @EOF = dso_local global i64 0, align 8 @main.mem = internal global [30000 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [500000 x i8], align 16 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %5, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i64 @fscanf(ptr noundef %9, ptr noundef @.str.3, ptr noundef %4) %11 = load i64, ptr @EOF, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %23 %14 = load i8, ptr %4, align 1 %15 = sext i8 %14 to i32 switch i32 %15, label %23 [ i32 62, label %16 i32 60, label %16 i32 46, label %16 i32 44, label %16 i32 43, label %16 i32 45, label %16 i32 91, label %16 i32 93, label %16 ] 16: ; preds = %13, %13, %13, %13, %13, %13, %13, %13 %17 = load i8, ptr %4, align 1 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 %19 store i8 %17, ptr %20, align 1 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %16, %13 %24 = load ptr, ptr %2, align 8 %25 = call i64 @fscanf(ptr noundef %24, ptr noundef @.str.3, ptr noundef %4) %26 = load i64, ptr @EOF, align 8 %27 = icmp ne i64 %25, %26 br i1 %27, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %0 %29 = load ptr, ptr %2, align 8 %30 = call i32 @fclose(ptr noundef %29) %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 %32 store i8 0, ptr %33, align 1 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = icmp ne i32 %38, 0 br i1 %39, label %.lr.ph2, label %116 .lr.ph2: ; preds = %28 br label %40 40: ; preds = %.lr.ph2, %107 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 %42 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i32 switch i32 %45, label %106 [ i32 62, label %46 i32 60, label %49 i32 46, label %52 i32 44, label %59 i32 43, label %64 i32 45, label %70 i32 91, label %76 i32 93, label %91 ] 46: ; preds = %40 %47 = load i32, ptr %6, align 4 %48 = add i32 %47, 1 store i32 %48, ptr %6, align 4 br label %106 49: ; preds = %40 %50 = load i32, ptr %6, align 4 %51 = add i32 %50, -1 store i32 %51, ptr %6, align 4 br label %106 52: ; preds = %40 %53 = load i32, ptr %6, align 4 %54 = zext i32 %53 to i64 %55 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %57) br label %106 59: ; preds = %40 %60 = load i32, ptr %6, align 4 %61 = zext i32 %60 to i64 %62 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %61 %63 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %62) br label %106 64: ; preds = %40 %65 = load i32, ptr %6, align 4 %66 = zext i32 %65 to i64 %67 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = add i8 %68, 1 store i8 %69, ptr %67, align 1 br label %106 70: ; preds = %40 %71 = load i32, ptr %6, align 4 %72 = zext i32 %71 to i64 %73 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %72 %74 = load i8, ptr %73, align 1 %75 = add i8 %74, -1 store i8 %75, ptr %73, align 1 br label %106 76: ; preds = %40 %77 = load i32, ptr %6, align 4 %78 = zext i32 %77 to i64 %79 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %78 %80 = load i8, ptr %79, align 1 %81 = zext i8 %80 to i32 %82 = icmp eq i32 %81, 0 br i1 %82, label %83, label %90 83: ; preds = %76 %84 = load i32, ptr %5, align 4 %85 = add nsw i32 %84, 1 %86 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 0 %87 = call i32 @forwardTrack(i32 noundef %85, i32 noundef 0, ptr noundef %86) %88 = load i32, ptr %5, align 4 %89 = add nsw i32 %88, %87 store i32 %89, ptr %5, align 4 br label %90 90: ; preds = %83, %76 br label %106 91: ; preds = %40 %92 = load i32, ptr %6, align 4 %93 = zext i32 %92 to i64 %94 = getelementptr inbounds [30000 x i8], ptr @main.mem, i64 0, i64 %93 %95 = load i8, ptr %94, align 1 %96 = zext i8 %95 to i32 %97 = icmp ne i32 %96, 0 br i1 %97, label %98, label %105 98: ; preds = %91 %99 = load i32, ptr %5, align 4 %100 = sub nsw i32 %99, 1 %101 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 0 %102 = call i32 @backTrack(i32 noundef %100, i32 noundef 0, ptr noundef %101) %103 = load i32, ptr %5, align 4 %104 = sub nsw i32 %103, %102 store i32 %104, ptr %5, align 4 br label %105 105: ; preds = %98, %91 br label %106 106: ; preds = %105, %90, %70, %64, %59, %52, %49, %46, %40 br label %107 107: ; preds = %106 %108 = load i32, ptr %5, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %5, align 4 %110 = load i32, ptr %5, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [500000 x i8], ptr %3, i64 0, i64 %111 %113 = load i8, ptr %112, align 1 %114 = zext i8 %113 to i32 %115 = icmp ne i32 %114, 0 br i1 %115, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %107 br label %116 116: ; preds = %._crit_edge3, %28 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @forwardTrack(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @backTrack(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_nkgi02a.c' source_filename = "/tmp/tmp_nkgi02a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @halt() #0 { %1 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmp_nkgi02a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @halt() #0 { %1 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpy9m9zimq.c' source_filename = "/tmp/tmpy9m9zimq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [30 x i8], ptr %11, i64 %13 %15 = getelementptr inbounds [30 x i8], ptr %14, i64 0, i64 0 %16 = call i32 @printf(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpy9m9zimq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [30 x i8], ptr %10, i64 %12 %14 = getelementptr inbounds [30 x i8], ptr %13, i64 0, i64 0 %15 = call i32 @printf(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpk9z_b02z.c' source_filename = "/tmp/tmpk9z_b02z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 { %1 = alloca i32, align 4 store i32 400, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) store i32 -884901888, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk9z_b02z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main() #0 { %1 = alloca i32, align 4 store i32 400, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) store i32 -884901888, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz9gsu0u2.c' source_filename = "/tmp/tmpz9gsu0u2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"{ \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_arr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %7 7: ; preds = %18, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %21 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz9gsu0u2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"{ \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_arr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %17 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo29zlbiv.c' source_filename = "/tmp/tmpo29zlbiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Certo.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = 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/tmpo29zlbiv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Certo.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = 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/tmpvu3m4bwn.c' source_filename = "/tmp/tmpvu3m4bwn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prefix_strcasecmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %40, %2 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %23 15: ; preds = %7 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br label %23 23: ; preds = %15, %7 %24 = phi i1 [ false, %7 ], [ %22, %15 ] br i1 %24, label %25, label %43 25: ; preds = %23 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = call i64 @toupper(i8 noundef signext %30) %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = call i64 @toupper(i8 noundef signext %36) %38 = icmp ne i64 %31, %37 br i1 %38, label %39, label %40 39: ; preds = %25 store i32 1, ptr %3, align 4 br label %44 40: ; preds = %25 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %7, !llvm.loop !6 43: ; preds = %23 store i32 0, ptr %3, align 4 br label %44 44: ; preds = %43, %39 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i64 @toupper(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/tmpvu3m4bwn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prefix_strcasecmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %40, %2 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %23 15: ; preds = %7 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br label %23 23: ; preds = %15, %7 %24 = phi i1 [ false, %7 ], [ %22, %15 ] br i1 %24, label %25, label %43 25: ; preds = %23 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = call i64 @toupper(i8 noundef signext %30) %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = call i64 @toupper(i8 noundef signext %36) %38 = icmp ne i64 %31, %37 br i1 %38, label %39, label %40 39: ; preds = %25 store i32 1, ptr %3, align 4 br label %44 40: ; preds = %25 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %7, !llvm.loop !6 43: ; preds = %23 store i32 0, ptr %3, align 4 br label %44 44: ; preds = %43, %39 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i64 @toupper(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/tmp_gorwkda.c' source_filename = "/tmp/tmp_gorwkda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Este es un fichero de prueba para git.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) 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/tmp_gorwkda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Este es un fichero de prueba para git.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) 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/tmpa8m25h5p.c' source_filename = "/tmp/tmpa8m25h5p.c" target datalayout = "e-m:e-p270: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/tmpa8m25h5p.c" target datalayout = "e-m:e-p270: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/tmpp0pz5nt3.c' source_filename = "/tmp/tmpp0pz5nt3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Usage: tkrun [-options] script\0A\00", align 1 @.str.1 = private unnamed_addr constant [65 x i8] c" Extracts simple widgets from \22script\22, writes a tcl/tk script\0A\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c" and runs this script to execute \22script\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Command line flags:\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c" -h this help\0A\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c" -r runpath run path\0A\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c" -w wishpath wish path\0A\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c" -t tkpath tcl/tk path\0A\00", align 1 @.str.8 = private unnamed_addr constant [30 x i8] c" -x don't run it\0A\00", align 1 @.str.9 = private unnamed_addr constant [31 x i8] c" -e show example \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9) %21 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp0pz5nt3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Usage: tkrun [-options] script\0A\00", align 1 @.str.1 = private unnamed_addr constant [65 x i8] c" Extracts simple widgets from \22script\22, writes a tcl/tk script\0A\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c" and runs this script to execute \22script\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Command line flags:\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c" -h this help\0A\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c" -r runpath run path\0A\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c" -w wishpath wish path\0A\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c" -t tkpath tcl/tk path\0A\00", align 1 @.str.8 = private unnamed_addr constant [30 x i8] c" -x don't run it\0A\00", align 1 @.str.9 = private unnamed_addr constant [31 x i8] c" -e show example \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9) %21 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplitoawx4.c' source_filename = "/tmp/tmplitoawx4.c" target datalayout = "e-m:e-p270: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/tmplitoawx4.c" target datalayout = "e-m:e-p270: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/tmpemf7v3nm.c' source_filename = "/tmp/tmpemf7v3nm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logi2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %7, %1 %5 = load i32, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = ashr i32 %8, 1 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 br label %4, !llvm.loop !6 12: ; preds = %4 %13 = load i32, ptr %3, align 4 ret i32 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpemf7v3nm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logi2(i32 noundef %0) #0 { %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 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %.lr.ph, label %13 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %2, align 4 %8 = ashr i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %13 13: ; preds = %._crit_edge, %1 %14 = load i32, ptr %3, align 4 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppt8cvt1g.c' source_filename = "/tmp/tmppt8cvt1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppt8cvt1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplr53a5uu.c' source_filename = "/tmp/tmplr53a5uu.c" target datalayout = "e-m:e-p270: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/tmplr53a5uu.c" target datalayout = "e-m:e-p270: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/tmpvm06xvju.c' source_filename = "/tmp/tmpvm06xvju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_emit_() #0 { %1 = call i32 (...) @seL4_Signal() ret void } declare i32 @seL4_Signal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvm06xvju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_emit_() #0 { %1 = call i32 (...) @seL4_Signal() ret void } declare i32 @seL4_Signal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfgormpga.c' source_filename = "/tmp/tmpfgormpga.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [82 x i8] c"Testing to see if all internal error numbers have corresponding error messages :\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%6d : %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"This is a bug in libsndfile.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @sf_error_number(i32 noundef 0) store ptr %5, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %4, align 4 br label %7 7: ; preds = %26, %0 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 1000 br i1 %9, label %10, label %29 10: ; preds = %7 %11 = load i32, ptr %4, align 4 %12 = call ptr @sf_error_number(i32 noundef %11) store ptr %12, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13, ptr noundef %14) %16 = load ptr, ptr %3, align 8 %17 = load ptr, ptr %2, align 8 %18 = icmp eq ptr %16, %17 br i1 %18, label %19, label %20 19: ; preds = %10 br label %29 20: ; preds = %10 %21 = load ptr, ptr %3, align 8 %22 = call i64 @strstr(ptr noundef %21, ptr noundef @.str.2) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 1, ptr %1, align 4 br label %30 25: ; preds = %20 br label %26 26: ; preds = %25 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 br label %7, !llvm.loop !6 29: ; preds = %19, %7 store i32 0, ptr %1, align 4 br label %30 30: ; preds = %29, %24 %31 = load i32, ptr %1, align 4 ret i32 %31 } declare ptr @sf_error_number(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfgormpga.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [82 x i8] c"Testing to see if all internal error numbers have corresponding error messages :\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%6d : %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"This is a bug in libsndfile.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @sf_error_number(i32 noundef 0) store ptr %5, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 1000 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %25 %10 = load i32, ptr %4, align 4 %11 = call ptr @sf_error_number(i32 noundef %10) store ptr %11, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %3, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12, ptr noundef %13) %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = icmp eq ptr %15, %16 br i1 %17, label %18, label %19 18: ; preds = %9 br label %30 19: ; preds = %9 %20 = load ptr, ptr %3, align 8 %21 = call i64 @strstr(ptr noundef %20, ptr noundef @.str.2) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %19 store i32 1, ptr %1, align 4 br label %31 24: ; preds = %19 br label %25 25: ; preds = %24 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %28, 1000 br i1 %29, label %9, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %25 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %30 30: ; preds = %.loopexit, %18 store i32 0, ptr %1, align 4 br label %31 31: ; preds = %30, %23 %32 = load i32, ptr %1, align 4 ret i32 %32 } declare ptr @sf_error_number(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1p2fa1g6.c' source_filename = "/tmp/tmp1p2fa1g6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy_23(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 23) ret void } 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/tmp1p2fa1g6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy_23(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 23) ret void } 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/tmp2k6w21kr.c' source_filename = "/tmp/tmp2k6w21kr.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"error processing directory '%s'\00", align 1 @DT_REG = dso_local global i64 0, align 8 @DT_DIR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @process_directory(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call ptr @opendir(ptr noundef %9) store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %19, label %13 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %3, align 8 %16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %15) %17 = call i32 @perror(ptr noundef null) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %2 br label %20 20: ; preds = %63, %32, %19 %21 = load ptr, ptr %5, align 8 %22 = call ptr @readdir(ptr noundef %21) store ptr %22, ptr %6, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %68 24: ; preds = %20 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds %struct.dirent, ptr %25, i32 0, i32 0 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 0 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 46 br i1 %31, label %32, label %33 32: ; preds = %24 br label %20, !llvm.loop !6 33: ; preds = %24 %34 = load ptr, ptr %3, align 8 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds %struct.dirent, ptr %35, i32 0, i32 0 %37 = load ptr, ptr %36, align 8 %38 = call ptr @join_path(ptr noundef %34, ptr noundef %37) store ptr %38, ptr %7, align 8 %39 = load ptr, ptr %4, align 8 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds %struct.dirent, ptr %40, i32 0, i32 0 %42 = load ptr, ptr %41, align 8 %43 = call ptr @join_path(ptr noundef %39, ptr noundef %42) store ptr %43, ptr %8, align 8 %44 = load ptr, ptr %6, align 8 %45 = getelementptr inbounds %struct.dirent, ptr %44, i32 0, i32 1 %46 = load i64, ptr %45, align 8 %47 = load i64, ptr @DT_REG, align 8 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %53 49: ; preds = %33 %50 = load ptr, ptr %7, align 8 %51 = load ptr, ptr %8, align 8 %52 = call i32 @process_file(ptr noundef %50, ptr noundef %51) br label %63 53: ; preds = %33 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds %struct.dirent, ptr %54, i32 0, i32 1 %56 = load i64, ptr %55, align 8 %57 = load i64, ptr @DT_DIR, align 8 %58 = icmp eq i64 %56, %57 br i1 %58, label %59, label %62 59: ; preds = %53 %60 = load ptr, ptr %7, align 8 %61 = load ptr, ptr %8, align 8 call void @process_directory(ptr noundef %60, ptr noundef %61) br label %62 62: ; preds = %59, %53 br label %63 63: ; preds = %62, %49 %64 = load ptr, ptr %8, align 8 %65 = call i32 @free(ptr noundef %64) %66 = load ptr, ptr %7, align 8 %67 = call i32 @free(ptr noundef %66) br label %20, !llvm.loop !6 68: ; preds = %20 %69 = load ptr, ptr %5, align 8 %70 = call i32 @closedir(ptr noundef %69) ret void } declare ptr @opendir(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @readdir(ptr noundef) #1 declare ptr @join_path(ptr noundef, ptr noundef) #1 declare i32 @process_file(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp2k6w21kr.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"error processing directory '%s'\00", align 1 @DT_REG = dso_local global i64 0, align 8 @DT_DIR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @process_directory(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call ptr @opendir(ptr noundef %9) store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %19, label %13 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %3, align 8 %16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %15) %17 = call i32 @perror(ptr noundef null) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = call ptr @readdir(ptr noundef %20) store ptr %21, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %.lr.ph, label %70 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %.backedge %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds %struct.dirent, ptr %24, i32 0, i32 0 %26 = load ptr, ptr %25, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 46 br i1 %30, label %31, label %35 31: ; preds = %23 br label %.backedge .backedge: ; preds = %31, %65 %32 = load ptr, ptr %5, align 8 %33 = call ptr @readdir(ptr noundef %32) store ptr %33, ptr %6, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %23, label %._crit_edge, !llvm.loop !6 35: ; preds = %23 %36 = load ptr, ptr %3, align 8 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds %struct.dirent, ptr %37, i32 0, i32 0 %39 = load ptr, ptr %38, align 8 %40 = call ptr @join_path(ptr noundef %36, ptr noundef %39) store ptr %40, ptr %7, align 8 %41 = load ptr, ptr %4, align 8 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds %struct.dirent, ptr %42, i32 0, i32 0 %44 = load ptr, ptr %43, align 8 %45 = call ptr @join_path(ptr noundef %41, ptr noundef %44) store ptr %45, ptr %8, align 8 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds %struct.dirent, ptr %46, i32 0, i32 1 %48 = load i64, ptr %47, align 8 %49 = load i64, ptr @DT_REG, align 8 %50 = icmp eq i64 %48, %49 br i1 %50, label %51, label %55 51: ; preds = %35 %52 = load ptr, ptr %7, align 8 %53 = load ptr, ptr %8, align 8 %54 = call i32 @process_file(ptr noundef %52, ptr noundef %53) br label %65 55: ; preds = %35 %56 = load ptr, ptr %6, align 8 %57 = getelementptr inbounds %struct.dirent, ptr %56, i32 0, i32 1 %58 = load i64, ptr %57, align 8 %59 = load i64, ptr @DT_DIR, align 8 %60 = icmp eq i64 %58, %59 br i1 %60, label %61, label %64 61: ; preds = %55 %62 = load ptr, ptr %7, align 8 %63 = load ptr, ptr %8, align 8 call void @process_directory(ptr noundef %62, ptr noundef %63) br label %64 64: ; preds = %61, %55 br label %65 65: ; preds = %64, %51 %66 = load ptr, ptr %8, align 8 %67 = call i32 @free(ptr noundef %66) %68 = load ptr, ptr %7, align 8 %69 = call i32 @free(ptr noundef %68) br label %.backedge ._crit_edge: ; preds = %.backedge br label %70 70: ; preds = %._crit_edge, %19 %71 = load ptr, ptr %5, align 8 %72 = call i32 @closedir(ptr noundef %71) ret void } declare ptr @opendir(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @readdir(ptr noundef) #1 declare ptr @join_path(ptr noundef, ptr noundef) #1 declare i32 @process_file(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpbp17iys8.c' source_filename = "/tmp/tmpbp17iys8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_lzpt_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %18 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = call i32 @lzpt_read_toc(ptr noundef %11, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %12, ptr %5, align 4 %13 = load ptr, ptr %4, align 8 %14 = call i32 @fclose(ptr noundef %13) %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 store i32 %17, ptr %2, align 4 br label %18 18: ; preds = %10, %9 %19 = load i32, ptr %2, align 4 ret i32 %19 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @lzpt_read_toc(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbp17iys8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_lzpt_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %18 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = call i32 @lzpt_read_toc(ptr noundef %11, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %12, ptr %5, align 4 %13 = load ptr, ptr %4, align 8 %14 = call i32 @fclose(ptr noundef %13) %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 store i32 %17, ptr %2, align 4 br label %18 18: ; preds = %10, %9 %19 = load i32, ptr %2, align 4 ret i32 %19 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @lzpt_read_toc(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjoj0jq39.c' source_filename = "/tmp/tmpjoj0jq39.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%%%d.%df\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dtostrf(double noundef %0, i8 noundef signext %1, i8 noundef zeroext %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca [20 x i8], align 16 store double %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 store ptr %3, ptr %8, align 8 call void asm sideeffect ".global _printf_float", "~{dirflag},~{fpsr},~{flags}"() #2, !srcloc !6 %10 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %11 = load i8, ptr %6, align 1 %12 = sitofp i8 %11 to double %13 = load i8, ptr %7, align 1 %14 = zext i8 %13 to i32 %15 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %10, ptr noundef @.str, double noundef %12, i32 noundef %14) %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %18 = load double, ptr %5, align 8 %19 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %16, ptr noundef %17, double noundef %18) %20 = load ptr, ptr %8, align 8 ret ptr %20 } declare i32 @sprintf(ptr noundef, 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" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 537}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjoj0jq39.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%%%d.%df\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dtostrf(double noundef %0, i8 noundef signext %1, i8 noundef zeroext %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca [20 x i8], align 16 store double %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 store ptr %3, ptr %8, align 8 call void asm sideeffect ".global _printf_float", "~{dirflag},~{fpsr},~{flags}"() #2, !srcloc !6 %10 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %11 = load i8, ptr %6, align 1 %12 = sitofp i8 %11 to double %13 = load i8, ptr %7, align 1 %14 = zext i8 %13 to i32 %15 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %10, ptr noundef @.str, double noundef %12, i32 noundef %14) %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %18 = load double, ptr %5, align 8 %19 = call i32 (ptr, ptr, double, ...) @sprintf(ptr noundef %16, ptr noundef %17, double noundef %18) %20 = load ptr, ptr %8, align 8 ret ptr %20 } declare i32 @sprintf(ptr noundef, 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" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 537}
; ModuleID = '/tmp/tmpsatutu36.c' source_filename = "/tmp/tmpsatutu36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @die(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 ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @write(i32 noundef 2, ptr noundef %3, i32 noundef %5) %7 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmpsatutu36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @die(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 ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @write(i32 noundef 2, ptr noundef %3, i32 noundef %5) %7 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmpqlu7p3vb.c' source_filename = "/tmp/tmpqlu7p3vb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"hello world,hello %s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"c\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [32 x i8], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 32, i1 false) %8 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %9 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, ptr noundef @.str.1) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10) %12 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12) %14 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %15 = call i32 @strlen(ptr noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 32) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @strlen(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/tmpqlu7p3vb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"hello world,hello %s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"c\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [32 x i8], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 32, i1 false) %8 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %9 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, ptr noundef @.str.1) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10) %12 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12) %14 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %15 = call i32 @strlen(ptr noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 32) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @strlen(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/tmphpgo1qms.c' source_filename = "/tmp/tmphpgo1qms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphpgo1qms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo4iojvzk.c' source_filename = "/tmp/tmpo4iojvzk.c" target datalayout = "e-m:e-p270: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/tmpo4iojvzk.c" target datalayout = "e-m:e-p270: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/tmpgb5c4bvy.c' source_filename = "/tmp/tmpgb5c4bvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @config_read_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %19 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %17 12: ; preds = %7 %13 = load ptr, ptr %4, align 8 %14 = call i32 @config_read(ptr noundef %13) store i32 %14, ptr %3, align 4 %15 = load ptr, ptr %4, align 8 %16 = call i32 @fclose(ptr noundef %15) br label %18 17: ; preds = %7 store i32 -1, ptr %3, align 4 br label %18 18: ; preds = %17, %12 br label %20 19: ; preds = %1 store i32 -1, ptr %3, align 4 br label %20 20: ; preds = %19, %18 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @config_read(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgb5c4bvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @config_read_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %19 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %17 12: ; preds = %7 %13 = load ptr, ptr %4, align 8 %14 = call i32 @config_read(ptr noundef %13) store i32 %14, ptr %3, align 4 %15 = load ptr, ptr %4, align 8 %16 = call i32 @fclose(ptr noundef %15) br label %18 17: ; preds = %7 store i32 -1, ptr %3, align 4 br label %18 18: ; preds = %17, %12 br label %20 19: ; preds = %1 store i32 -1, ptr %3, align 4 br label %20 20: ; preds = %19, %18 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @config_read(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1tx9wyiy.c' source_filename = "/tmp/tmp1tx9wyiy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__globinit_cfg_test() #0 { %1 = call i32 (...) @__CrestInit() ret void } declare i32 @__CrestInit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1tx9wyiy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__globinit_cfg_test() #0 { %1 = call i32 (...) @__CrestInit() ret void } declare i32 @__CrestInit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5dwyi9o9.c' source_filename = "/tmp/tmp5dwyi9o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @builtin_add() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @pop_int() store i32 %3, ptr %1, align 4 %4 = call i32 (...) @pop_int() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = add nsw i32 %5, %6 %8 = call i32 @new_int(i32 noundef %7) %9 = call i32 @push(i32 noundef %8) ret void } declare i32 @pop_int(...) #1 declare i32 @push(i32 noundef) #1 declare i32 @new_int(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/tmp5dwyi9o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @builtin_add() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @pop_int() store i32 %3, ptr %1, align 4 %4 = call i32 (...) @pop_int() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = add nsw i32 %5, %6 %8 = call i32 @new_int(i32 noundef %7) %9 = call i32 @push(i32 noundef %8) ret void } declare i32 @pop_int(...) #1 declare i32 @push(i32 noundef) #1 declare i32 @new_int(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/tmpwl_vgxi2.c' source_filename = "/tmp/tmpwl_vgxi2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readlong(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x i8], align 1 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 4, ptr noundef %5) %7 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %8 = load i8, ptr %7, align 1 %9 = zext i8 %8 to i32 %10 = shl i32 %9, 24 %11 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1 %12 = load i8, ptr %11, align 1 %13 = zext i8 %12 to i32 %14 = shl i32 %13, 16 %15 = or i32 %10, %14 %16 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = shl i32 %18, 8 %20 = or i32 %15, %19 %21 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = or i32 %20, %23 %25 = sext i32 %24 to i64 ret i64 %25 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwl_vgxi2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readlong(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x i8], align 1 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 4, ptr noundef %5) %7 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %8 = load i8, ptr %7, align 1 %9 = zext i8 %8 to i32 %10 = shl i32 %9, 24 %11 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1 %12 = load i8, ptr %11, align 1 %13 = zext i8 %12 to i32 %14 = shl i32 %13, 16 %15 = or i32 %10, %14 %16 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = shl i32 %18, 8 %20 = or i32 %15, %19 %21 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = or i32 %20, %23 %25 = sext i32 %24 to i64 ret i64 %25 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbdbu3oov.c' source_filename = "/tmp/tmpbdbu3oov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printInt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbdbu3oov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printInt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp86nb50co.c' source_filename = "/tmp/tmp86nb50co.c" target datalayout = "e-m:e-p270: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 [11 x i8] c"Error: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fatal_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp86nb50co.c" target datalayout = "e-m:e-p270: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 [11 x i8] c"Error: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fatal_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2qsnl987.c' source_filename = "/tmp/tmp2qsnl987.c" target datalayout = "e-m:e-p270: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/tmp2qsnl987.c" target datalayout = "e-m:e-p270: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/tmp5r2fc4if.c' source_filename = "/tmp/tmp5r2fc4if.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [94 x i8] c"int main(void){char* a=%c%s%c;char c='%c%c';char b='%c%c';printf(a,b,a,b,c,c,c,b);return(0);}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store i8 92, ptr %3, align 1 store i8 34, ptr %4, align 1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %4, align 1 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %4, align 1 %9 = load i8, ptr %3, align 1 %10 = load i8, ptr %3, align 1 %11 = load i8, ptr %3, align 1 %12 = load i8, ptr %4, align 1 %13 = call i32 @printf(ptr noundef %5, i8 noundef signext %6, ptr noundef %7, i8 noundef signext %8, i8 noundef signext %9, i8 noundef signext %10, i8 noundef signext %11, i8 noundef signext %12) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef signext, ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, 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/tmp5r2fc4if.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [94 x i8] c"int main(void){char* a=%c%s%c;char c='%c%c';char b='%c%c';printf(a,b,a,b,c,c,c,b);return(0);}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store i8 92, ptr %3, align 1 store i8 34, ptr %4, align 1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %4, align 1 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %4, align 1 %9 = load i8, ptr %3, align 1 %10 = load i8, ptr %3, align 1 %11 = load i8, ptr %3, align 1 %12 = load i8, ptr %4, align 1 %13 = call i32 @printf(ptr noundef %5, i8 noundef signext %6, ptr noundef %7, i8 noundef signext %8, i8 noundef signext %9, i8 noundef signext %10, i8 noundef signext %11, i8 noundef signext %12) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef signext, ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, 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/tmp_2y46j6r.c' source_filename = "/tmp/tmp_2y46j6r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @gsw_sp_from_sstar(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 %12 = load double, ptr %7, align 8 %13 = load double, ptr %8, align 8 %14 = load double, ptr %9, align 8 %15 = call double @gsw_saar(double noundef %12, double noundef %13, double noundef %14) store double %15, ptr %10, align 8 %16 = load double, ptr %10, align 8 %17 = fcmp oeq double %16, 9.000000e+15 br i1 %17, label %18, label %20 18: ; preds = %4 %19 = load double, ptr %10, align 8 store double %19, ptr %5, align 8 br label %35 20: ; preds = %4 %21 = load double, ptr %6, align 8 %22 = load double, ptr %8, align 8 %23 = load double, ptr %9, align 8 %24 = call double @gsw_sp_from_sa_baltic(double noundef %21, double noundef %22, double noundef %23) store double %24, ptr %11, align 8 %25 = load double, ptr %11, align 8 %26 = fcmp olt double %25, 1.810000e+03 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = load double, ptr %11, align 8 store double %28, ptr %5, align 8 br label %35 29: ; preds = %20 %30 = load double, ptr %6, align 8 %31 = fmul double 0x3FEFD98D710110B2, %30 %32 = load double, ptr %10, align 8 %33 = call double @llvm.fmuladd.f64(double -3.500000e-01, double %32, double 1.000000e+00) %34 = fdiv double %31, %33 store double %34, ptr %5, align 8 br label %35 35: ; preds = %29, %27, %18 %36 = load double, ptr %5, align 8 ret double %36 } declare double @gsw_saar(double noundef, double noundef, double noundef) #1 declare double @gsw_sp_from_sa_baltic(double noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_2y46j6r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @gsw_sp_from_sstar(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 %12 = load double, ptr %7, align 8 %13 = load double, ptr %8, align 8 %14 = load double, ptr %9, align 8 %15 = call double @gsw_saar(double noundef %12, double noundef %13, double noundef %14) store double %15, ptr %10, align 8 %16 = load double, ptr %10, align 8 %17 = fcmp oeq double %16, 9.000000e+15 br i1 %17, label %18, label %20 18: ; preds = %4 %19 = load double, ptr %10, align 8 store double %19, ptr %5, align 8 br label %35 20: ; preds = %4 %21 = load double, ptr %6, align 8 %22 = load double, ptr %8, align 8 %23 = load double, ptr %9, align 8 %24 = call double @gsw_sp_from_sa_baltic(double noundef %21, double noundef %22, double noundef %23) store double %24, ptr %11, align 8 %25 = load double, ptr %11, align 8 %26 = fcmp olt double %25, 1.810000e+03 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = load double, ptr %11, align 8 store double %28, ptr %5, align 8 br label %35 29: ; preds = %20 %30 = load double, ptr %6, align 8 %31 = fmul double 0x3FEFD98D710110B2, %30 %32 = load double, ptr %10, align 8 %33 = call double @llvm.fmuladd.f64(double -3.500000e-01, double %32, double 1.000000e+00) %34 = fdiv double %31, %33 store double %34, ptr %5, align 8 br label %35 35: ; preds = %29, %27, %18 %36 = load double, ptr %5, align 8 ret double %36 } declare double @gsw_saar(double noundef, double noundef, double noundef) #1 declare double @gsw_sp_from_sa_baltic(double noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnt50roiw.c' source_filename = "/tmp/tmpnt50roiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_newell_normal(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %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 float, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds float, ptr %14, i64 2 store float 0.000000e+00, ptr %15, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds float, ptr %16, i64 1 store float 0.000000e+00, ptr %17, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds float, ptr %18, i64 0 store float 0.000000e+00, ptr %19, align 4 %20 = load i32, ptr %6, align 4 %21 = sub nsw i32 %20, 1 store i32 %21, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %22 22: ; preds = %91, %4 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %94 26: ; preds = %22 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %12, align 8 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 store ptr %36, ptr %13, align 8 %37 = load ptr, ptr %12, align 8 %38 = getelementptr inbounds float, ptr %37, i64 1 %39 = load float, ptr %38, align 4 %40 = load ptr, ptr %13, align 8 %41 = getelementptr inbounds float, ptr %40, i64 1 %42 = load float, ptr %41, align 4 %43 = fsub float %39, %42 %44 = load ptr, ptr %12, align 8 %45 = getelementptr inbounds float, ptr %44, i64 2 %46 = load float, ptr %45, align 4 %47 = load ptr, ptr %13, align 8 %48 = getelementptr inbounds float, ptr %47, i64 2 %49 = load float, ptr %48, align 4 %50 = fadd float %46, %49 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds float, ptr %51, i64 0 %53 = load float, ptr %52, align 4 %54 = call float @llvm.fmuladd.f32(float %43, float %50, float %53) store float %54, ptr %52, align 4 %55 = load ptr, ptr %12, align 8 %56 = getelementptr inbounds float, ptr %55, i64 2 %57 = load float, ptr %56, align 4 %58 = load ptr, ptr %13, align 8 %59 = getelementptr inbounds float, ptr %58, i64 2 %60 = load float, ptr %59, align 4 %61 = fsub float %57, %60 %62 = load ptr, ptr %12, align 8 %63 = getelementptr inbounds float, ptr %62, i64 0 %64 = load float, ptr %63, align 4 %65 = load ptr, ptr %13, align 8 %66 = getelementptr inbounds float, ptr %65, i64 0 %67 = load float, ptr %66, align 4 %68 = fadd float %64, %67 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds float, ptr %69, i64 1 %71 = load float, ptr %70, align 4 %72 = call float @llvm.fmuladd.f32(float %61, float %68, float %71) store float %72, ptr %70, align 4 %73 = load ptr, ptr %12, align 8 %74 = getelementptr inbounds float, ptr %73, i64 0 %75 = load float, ptr %74, align 4 %76 = load ptr, ptr %13, align 8 %77 = getelementptr inbounds float, ptr %76, i64 0 %78 = load float, ptr %77, align 4 %79 = fsub float %75, %78 %80 = load ptr, ptr %12, align 8 %81 = getelementptr inbounds float, ptr %80, i64 1 %82 = load float, ptr %81, align 4 %83 = load ptr, ptr %13, align 8 %84 = getelementptr inbounds float, ptr %83, i64 1 %85 = load float, ptr %84, align 4 %86 = fadd float %82, %85 %87 = load ptr, ptr %5, align 8 %88 = getelementptr inbounds float, ptr %87, i64 2 %89 = load float, ptr %88, align 4 %90 = call float @llvm.fmuladd.f32(float %79, float %86, float %89) store float %90, ptr %88, align 4 br label %91 91: ; preds = %26 %92 = load i32, ptr %10, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %10, align 4 store i32 %92, ptr %9, align 4 br label %22, !llvm.loop !6 94: ; preds = %22 %95 = load i32, ptr %8, align 4 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %138 97: ; preds = %94 %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds float, ptr %98, i64 0 %100 = load float, ptr %99, align 4 %101 = load ptr, ptr %5, align 8 %102 = getelementptr inbounds float, ptr %101, i64 0 %103 = load float, ptr %102, align 4 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds float, ptr %104, i64 1 %106 = load float, ptr %105, align 4 %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds float, ptr %107, i64 1 %109 = load float, ptr %108, align 4 %110 = fmul float %106, %109 %111 = call float @llvm.fmuladd.f32(float %100, float %103, float %110) %112 = load ptr, ptr %5, align 8 %113 = getelementptr inbounds float, ptr %112, i64 2 %114 = load float, ptr %113, align 4 %115 = load ptr, ptr %5, align 8 %116 = getelementptr inbounds float, ptr %115, i64 2 %117 = load float, ptr %116, align 4 %118 = call float @llvm.fmuladd.f32(float %114, float %117, float %111) store float %118, ptr %11, align 4 %119 = load float, ptr %11, align 4 %120 = call double @sqrt(float noundef %119) %121 = fdiv double 1.000000e+00, %120 %122 = fptrunc double %121 to float store float %122, ptr %11, align 4 %123 = load float, ptr %11, align 4 %124 = load ptr, ptr %5, align 8 %125 = getelementptr inbounds float, ptr %124, i64 0 %126 = load float, ptr %125, align 4 %127 = fmul float %126, %123 store float %127, ptr %125, align 4 %128 = load float, ptr %11, align 4 %129 = load ptr, ptr %5, align 8 %130 = getelementptr inbounds float, ptr %129, i64 1 %131 = load float, ptr %130, align 4 %132 = fmul float %131, %128 store float %132, ptr %130, align 4 %133 = load float, ptr %11, align 4 %134 = load ptr, ptr %5, align 8 %135 = getelementptr inbounds float, ptr %134, i64 2 %136 = load float, ptr %135, align 4 %137 = fmul float %136, %133 store float %137, ptr %135, align 4 br label %138 138: ; preds = %97, %94 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare double @sqrt(float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnt50roiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_newell_normal(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %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 float, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds float, ptr %14, i64 2 store float 0.000000e+00, ptr %15, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds float, ptr %16, i64 1 store float 0.000000e+00, ptr %17, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds float, ptr %18, i64 0 store float 0.000000e+00, ptr %19, align 4 %20 = load i32, ptr %6, align 4 %21 = sub nsw i32 %20, 1 store i32 %21, ptr %9, align 4 store i32 0, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %96 .lr.ph: ; preds = %4 br label %25 25: ; preds = %.lr.ph, %90 %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %12, align 8 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %10, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 store ptr %35, ptr %13, align 8 %36 = load ptr, ptr %12, align 8 %37 = getelementptr inbounds float, ptr %36, i64 1 %38 = load float, ptr %37, align 4 %39 = load ptr, ptr %13, align 8 %40 = getelementptr inbounds float, ptr %39, i64 1 %41 = load float, ptr %40, align 4 %42 = fsub float %38, %41 %43 = load ptr, ptr %12, align 8 %44 = getelementptr inbounds float, ptr %43, i64 2 %45 = load float, ptr %44, align 4 %46 = load ptr, ptr %13, align 8 %47 = getelementptr inbounds float, ptr %46, i64 2 %48 = load float, ptr %47, align 4 %49 = fadd float %45, %48 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds float, ptr %50, i64 0 %52 = load float, ptr %51, align 4 %53 = call float @llvm.fmuladd.f32(float %42, float %49, float %52) store float %53, ptr %51, align 4 %54 = load ptr, ptr %12, align 8 %55 = getelementptr inbounds float, ptr %54, i64 2 %56 = load float, ptr %55, align 4 %57 = load ptr, ptr %13, align 8 %58 = getelementptr inbounds float, ptr %57, i64 2 %59 = load float, ptr %58, align 4 %60 = fsub float %56, %59 %61 = load ptr, ptr %12, align 8 %62 = getelementptr inbounds float, ptr %61, i64 0 %63 = load float, ptr %62, align 4 %64 = load ptr, ptr %13, align 8 %65 = getelementptr inbounds float, ptr %64, i64 0 %66 = load float, ptr %65, align 4 %67 = fadd float %63, %66 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds float, ptr %68, i64 1 %70 = load float, ptr %69, align 4 %71 = call float @llvm.fmuladd.f32(float %60, float %67, float %70) store float %71, ptr %69, align 4 %72 = load ptr, ptr %12, align 8 %73 = getelementptr inbounds float, ptr %72, i64 0 %74 = load float, ptr %73, align 4 %75 = load ptr, ptr %13, align 8 %76 = getelementptr inbounds float, ptr %75, i64 0 %77 = load float, ptr %76, align 4 %78 = fsub float %74, %77 %79 = load ptr, ptr %12, align 8 %80 = getelementptr inbounds float, ptr %79, i64 1 %81 = load float, ptr %80, align 4 %82 = load ptr, ptr %13, align 8 %83 = getelementptr inbounds float, ptr %82, i64 1 %84 = load float, ptr %83, align 4 %85 = fadd float %81, %84 %86 = load ptr, ptr %5, align 8 %87 = getelementptr inbounds float, ptr %86, i64 2 %88 = load float, ptr %87, align 4 %89 = call float @llvm.fmuladd.f32(float %78, float %85, float %88) store float %89, ptr %87, align 4 br label %90 90: ; preds = %25 %91 = load i32, ptr %10, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %10, align 4 store i32 %91, ptr %9, align 4 %93 = load i32, ptr %10, align 4 %94 = load i32, ptr %6, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %90 br label %96 96: ; preds = %._crit_edge, %4 %97 = load i32, ptr %8, align 4 %98 = icmp ne i32 %97, 0 br i1 %98, label %99, label %140 99: ; preds = %96 %100 = load ptr, ptr %5, align 8 %101 = getelementptr inbounds float, ptr %100, i64 0 %102 = load float, ptr %101, align 4 %103 = load ptr, ptr %5, align 8 %104 = getelementptr inbounds float, ptr %103, i64 0 %105 = load float, ptr %104, align 4 %106 = load ptr, ptr %5, align 8 %107 = getelementptr inbounds float, ptr %106, i64 1 %108 = load float, ptr %107, align 4 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds float, ptr %109, i64 1 %111 = load float, ptr %110, align 4 %112 = fmul float %108, %111 %113 = call float @llvm.fmuladd.f32(float %102, float %105, float %112) %114 = load ptr, ptr %5, align 8 %115 = getelementptr inbounds float, ptr %114, i64 2 %116 = load float, ptr %115, align 4 %117 = load ptr, ptr %5, align 8 %118 = getelementptr inbounds float, ptr %117, i64 2 %119 = load float, ptr %118, align 4 %120 = call float @llvm.fmuladd.f32(float %116, float %119, float %113) store float %120, ptr %11, align 4 %121 = load float, ptr %11, align 4 %122 = call double @sqrt(float noundef %121) %123 = fdiv double 1.000000e+00, %122 %124 = fptrunc double %123 to float store float %124, ptr %11, align 4 %125 = load float, ptr %11, align 4 %126 = load ptr, ptr %5, align 8 %127 = getelementptr inbounds float, ptr %126, i64 0 %128 = load float, ptr %127, align 4 %129 = fmul float %128, %125 store float %129, ptr %127, align 4 %130 = load float, ptr %11, align 4 %131 = load ptr, ptr %5, align 8 %132 = getelementptr inbounds float, ptr %131, i64 1 %133 = load float, ptr %132, align 4 %134 = fmul float %133, %130 store float %134, ptr %132, align 4 %135 = load float, ptr %11, align 4 %136 = load ptr, ptr %5, align 8 %137 = getelementptr inbounds float, ptr %136, i64 2 %138 = load float, ptr %137, align 4 %139 = fmul float %138, %135 store float %139, ptr %137, align 4 br label %140 140: ; preds = %99, %96 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare double @sqrt(float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9qf10ih6.c' source_filename = "/tmp/tmp9qf10ih6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Digite o primeiro valor: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Digite o segundo valor: \00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"O resultado da soma \C3\A9: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %8, %9 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10) %12 = call i32 @system(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9qf10ih6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Digite o primeiro valor: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Digite o segundo valor: \00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"O resultado da soma \C3\A9: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %8, %9 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10) %12 = call i32 @system(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn70iunx2.c' source_filename = "/tmp/tmpn70iunx2.c" target datalayout = "e-m:e-p270: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/tmpn70iunx2.c" target datalayout = "e-m:e-p270: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/tmpznhpxux0.c' source_filename = "/tmp/tmpznhpxux0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"%g\0A%g\0A%g\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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %3, align 8 %13 = alloca i32, i64 %11, align 16 store i64 %11, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %14 14: ; preds = %23, %0 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %13, i64 %20 %22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21) br label %23 23: ; preds = %18 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 %27 = load i32, ptr %2, align 4 %28 = call i32 @summary(ptr noundef %13, i32 noundef %27, ptr noundef %6, ptr noundef %7, ptr noundef %8) %29 = load double, ptr %6, align 8 %30 = load double, ptr %7, align 8 %31 = load double, ptr %8, align 8 %32 = call i32 @printf(ptr noundef @.str.1, double noundef %29, double noundef %30, double noundef %31) store i32 0, ptr %1, align 4 %33 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %33) %34 = load i32, ptr %1, align 4 ret i32 %34 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @summary(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpznhpxux0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"%g\0A%g\0A%g\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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %3, align 8 %13 = alloca i32, i64 %11, align 16 store i64 %11, ptr %4, align 8 store i32 0, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %22 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %13, i64 %19 %21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 %29 = load i32, ptr %2, align 4 %30 = call i32 @summary(ptr noundef %13, i32 noundef %29, ptr noundef %6, ptr noundef %7, ptr noundef %8) %31 = load double, ptr %6, align 8 %32 = load double, ptr %7, align 8 %33 = load double, ptr %8, align 8 %34 = call i32 @printf(ptr noundef @.str.1, double noundef %31, double noundef %32, double noundef %33) store i32 0, ptr %1, align 4 %35 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %35) %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @summary(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1q1fq1b_.c' source_filename = "/tmp/tmp1q1fq1b_.c" target datalayout = "e-m:e-p270: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.first_name = private unnamed_addr constant [5 x i8] c"Arun\00", align 1 @__const.main.last_name = private unnamed_addr constant [6 x i8] c"Kumar\00", align 1 @.str = private unnamed_addr constant [24 x i8] c"You are %d miles away.\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"You have %f levels of power.\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"You have %f awesome levels of powers.\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"I have an initial %c.\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"I have a first name %s.\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"I have a last name %s.\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"My whole name is %s %c. %s.\0A\00", align 1 @.str.7 = private unnamed_addr constant [47 x i8] c"You have %d bugs at the imaginary rate of %f.\0A\00", align 1 @.str.8 = private unnamed_addr constant [35 x i8] c"The entire universe has %lu bugs.\0A\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c"You are expected to have %f bugs.\0A\00", align 1 @.str.10 = private unnamed_addr constant [44 x i8] c"That is only a %e portion of the universe.\0A\00", align 1 @.str.11 = private unnamed_addr constant [35 x i8] c"Which means you should care %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 float, align 4 %8 = alloca double, align 8 %9 = alloca i8, align 1 %10 = alloca [5 x i8], align 1 %11 = alloca [6 x i8], align 1 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca i64, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i8, align 1 %18 = 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 100, ptr %6, align 4 store float 0x4002C28F60000000, ptr %7, align 4 store double 0x40EBBAAE809D4952, ptr %8, align 8 store i8 83, ptr %9, align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.first_name, i64 5, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.last_name, i64 6, i1 false) %19 = load i32, ptr %6, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) %21 = load float, ptr %7, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %22) %24 = load double, ptr %8, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %24) %26 = load i8, ptr %9, align 1 %27 = sext i8 %26 to i32 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27) %29 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %29) %31 = getelementptr inbounds [6 x i8], ptr %11, i64 0, i64 0 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %31) %33 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %34 = load i8, ptr %9, align 1 %35 = sext i8 %34 to i32 %36 = getelementptr inbounds [6 x i8], ptr %11, i64 0, i64 0 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %33, i32 noundef %35, ptr noundef %36) store i32 100, ptr %12, align 4 store double 1.200000e+00, ptr %13, align 8 %38 = load i32, ptr %12, align 4 %39 = load double, ptr %13, align 8 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %38, double noundef %39) store i64 1073741824, ptr %14, align 8 %41 = load i64, ptr %14, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %41) %43 = load i32, ptr %12, align 4 %44 = sitofp i32 %43 to double %45 = load double, ptr %13, align 8 %46 = fmul double %44, %45 store double %46, ptr %15, align 8 %47 = load double, ptr %15, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %47) %49 = load double, ptr %15, align 8 %50 = load i64, ptr %14, align 8 %51 = uitofp i64 %50 to double %52 = fdiv double %49, %51 store double %52, ptr %16, align 8 %53 = load double, ptr %16, align 8 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %53) store i8 0, ptr %17, align 1 %55 = load i32, ptr %12, align 4 %56 = load i8, ptr %17, align 1 %57 = sext i8 %56 to i32 %58 = mul nsw i32 %55, %57 store i32 %58, ptr %18, align 4 %59 = load i32, ptr %18, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %59) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1q1fq1b_.c" target datalayout = "e-m:e-p270: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.first_name = private unnamed_addr constant [5 x i8] c"Arun\00", align 1 @__const.main.last_name = private unnamed_addr constant [6 x i8] c"Kumar\00", align 1 @.str = private unnamed_addr constant [24 x i8] c"You are %d miles away.\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"You have %f levels of power.\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"You have %f awesome levels of powers.\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"I have an initial %c.\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"I have a first name %s.\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"I have a last name %s.\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"My whole name is %s %c. %s.\0A\00", align 1 @.str.7 = private unnamed_addr constant [47 x i8] c"You have %d bugs at the imaginary rate of %f.\0A\00", align 1 @.str.8 = private unnamed_addr constant [35 x i8] c"The entire universe has %lu bugs.\0A\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c"You are expected to have %f bugs.\0A\00", align 1 @.str.10 = private unnamed_addr constant [44 x i8] c"That is only a %e portion of the universe.\0A\00", align 1 @.str.11 = private unnamed_addr constant [35 x i8] c"Which means you should care %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 float, align 4 %8 = alloca double, align 8 %9 = alloca i8, align 1 %10 = alloca [5 x i8], align 1 %11 = alloca [6 x i8], align 1 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca i64, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i8, align 1 %18 = 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 100, ptr %6, align 4 store float 0x4002C28F60000000, ptr %7, align 4 store double 0x40EBBAAE809D4952, ptr %8, align 8 store i8 83, ptr %9, align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.first_name, i64 5, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.last_name, i64 6, i1 false) %19 = load i32, ptr %6, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) %21 = load float, ptr %7, align 4 %22 = fpext float %21 to double %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %22) %24 = load double, ptr %8, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %24) %26 = load i8, ptr %9, align 1 %27 = sext i8 %26 to i32 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27) %29 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %29) %31 = getelementptr inbounds [6 x i8], ptr %11, i64 0, i64 0 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %31) %33 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %34 = load i8, ptr %9, align 1 %35 = sext i8 %34 to i32 %36 = getelementptr inbounds [6 x i8], ptr %11, i64 0, i64 0 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %33, i32 noundef %35, ptr noundef %36) store i32 100, ptr %12, align 4 store double 1.200000e+00, ptr %13, align 8 %38 = load i32, ptr %12, align 4 %39 = load double, ptr %13, align 8 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %38, double noundef %39) store i64 1073741824, ptr %14, align 8 %41 = load i64, ptr %14, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %41) %43 = load i32, ptr %12, align 4 %44 = sitofp i32 %43 to double %45 = load double, ptr %13, align 8 %46 = fmul double %44, %45 store double %46, ptr %15, align 8 %47 = load double, ptr %15, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %47) %49 = load double, ptr %15, align 8 %50 = load i64, ptr %14, align 8 %51 = uitofp i64 %50 to double %52 = fdiv double %49, %51 store double %52, ptr %16, align 8 %53 = load double, ptr %16, align 8 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %53) store i8 0, ptr %17, align 1 %55 = load i32, ptr %12, align 4 %56 = load i8, ptr %17, align 1 %57 = sext i8 %56 to i32 %58 = mul nsw i32 %55, %57 store i32 %58, ptr %18, align 4 %59 = load i32, ptr %18, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %59) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1qvtkwzg.c' source_filename = "/tmp/tmp1qvtkwzg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_hex(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %18, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %21 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1qvtkwzg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_hex(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %17 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = zext i8 %14 to i32 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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"}
; ModuleID = '/tmp/tmp78tobeeq.c' source_filename = "/tmp/tmp78tobeeq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn76\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fn76() #0 { %1 = alloca ptr, align 8 %2 = call i32 (...) @rand() %3 = srem i32 %2, 20 %4 = add nsw i32 20, %3 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = call i32 (...) @rand() %8 = srem i32 %7, 20 %9 = add nsw i32 30, %8 %10 = call ptr @realloc(ptr noundef %6, i32 noundef %9) store ptr %10, ptr %1, align 8 %11 = load ptr, ptr %1, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str) %13 = load ptr, ptr %1, align 8 ret ptr %13 } declare ptr @malloc(i32 noundef) #1 declare i32 @rand(...) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp78tobeeq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn76\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fn76() #0 { %1 = alloca ptr, align 8 %2 = call i32 (...) @rand() %3 = srem i32 %2, 20 %4 = add nsw i32 20, %3 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = call i32 (...) @rand() %8 = srem i32 %7, 20 %9 = add nsw i32 30, %8 %10 = call ptr @realloc(ptr noundef %6, i32 noundef %9) store ptr %10, ptr %1, align 8 %11 = load ptr, ptr %1, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str) %13 = load ptr, ptr %1, align 8 ret ptr %13 } declare ptr @malloc(i32 noundef) #1 declare i32 @rand(...) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpagigv94o.c' source_filename = "/tmp/tmpagigv94o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Too many steps in routine qsimp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @qsimp(ptr noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store float 0xC6293E5940000000, ptr %12, align 4 store float 0xC6293E5940000000, ptr %11, align 4 store i32 1, ptr %8, align 4 br label %13 13: ; preds = %43, %3 %14 = load i32, ptr %8, align 4 %15 = icmp sle i32 %14, 20 br i1 %15, label %16, label %46 16: ; preds = %13 %17 = load ptr, ptr %5, align 8 %18 = load float, ptr %6, align 4 %19 = load float, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = call float @trapzd(ptr noundef %17, float noundef %18, float noundef %19, i32 noundef %20) store float %21, ptr %10, align 4 %22 = load float, ptr %10, align 4 %23 = fpext float %22 to double %24 = load float, ptr %11, align 4 %25 = fpext float %24 to double %26 = fneg double %25 %27 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %23, double %26) %28 = fdiv double %27, 3.000000e+00 %29 = fptrunc double %28 to float store float %29, ptr %9, align 4 %30 = load float, ptr %9, align 4 %31 = load float, ptr %12, align 4 %32 = fsub float %30, %31 %33 = call double @fabs(float noundef %32) %34 = load float, ptr %12, align 4 %35 = call double @fabs(float noundef %34) %36 = fmul double 0x3EB0C6F7A0B5ED8D, %35 %37 = fcmp olt double %33, %36 br i1 %37, label %38, label %40 38: ; preds = %16 %39 = load float, ptr %9, align 4 store float %39, ptr %4, align 4 br label %47 40: ; preds = %16 %41 = load float, ptr %9, align 4 store float %41, ptr %12, align 4 %42 = load float, ptr %10, align 4 store float %42, ptr %11, align 4 br label %43 43: ; preds = %40 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %8, align 4 br label %13, !llvm.loop !6 46: ; preds = %13 call void @nrerror(ptr noundef @.str) store float 0.000000e+00, ptr %4, align 4 br label %47 47: ; preds = %46, %38 %48 = load float, ptr %4, align 4 ret float %48 } declare float @trapzd(ptr noundef, float noundef, float noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @fabs(float noundef) #1 declare void @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpagigv94o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Too many steps in routine qsimp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @qsimp(ptr noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store float 0xC6293E5940000000, ptr %12, align 4 store float 0xC6293E5940000000, ptr %11, align 4 store i32 1, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp sle i32 %13, 20 br i1 %14, label %.lr.ph, label %47 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %42 %16 = load ptr, ptr %5, align 8 %17 = load float, ptr %6, align 4 %18 = load float, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = call float @trapzd(ptr noundef %16, float noundef %17, float noundef %18, i32 noundef %19) store float %20, ptr %10, align 4 %21 = load float, ptr %10, align 4 %22 = fpext float %21 to double %23 = load float, ptr %11, align 4 %24 = fpext float %23 to double %25 = fneg double %24 %26 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %22, double %25) %27 = fdiv double %26, 3.000000e+00 %28 = fptrunc double %27 to float store float %28, ptr %9, align 4 %29 = load float, ptr %9, align 4 %30 = load float, ptr %12, align 4 %31 = fsub float %29, %30 %32 = call double @fabs(float noundef %31) %33 = load float, ptr %12, align 4 %34 = call double @fabs(float noundef %33) %35 = fmul double 0x3EB0C6F7A0B5ED8D, %34 %36 = fcmp olt double %32, %35 br i1 %36, label %37, label %39 37: ; preds = %15 %38 = load float, ptr %9, align 4 store float %38, ptr %4, align 4 br label %48 39: ; preds = %15 %40 = load float, ptr %9, align 4 store float %40, ptr %12, align 4 %41 = load float, ptr %10, align 4 store float %41, ptr %11, align 4 br label %42 42: ; preds = %39 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 %45 = load i32, ptr %8, align 4 %46 = icmp sle i32 %45, 20 br i1 %46, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %47 47: ; preds = %._crit_edge, %3 call void @nrerror(ptr noundef @.str) store float 0.000000e+00, ptr %4, align 4 br label %48 48: ; preds = %47, %37 %49 = load float, ptr %4, align 4 ret float %49 } declare float @trapzd(ptr noundef, float noundef, float noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @fabs(float noundef) #1 declare void @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7xa0ym1_.c' source_filename = "/tmp/tmp7xa0ym1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef 1) %2 = call i32 @bar(i32 noundef 2) br label %3 3: ; preds = %0 %4 = call i32 @foo(i32 noundef 3) br label %5 5: ; preds = %3 %6 = call i32 @bar(i32 noundef 4) br label %7 7: ; preds = %5 %8 = call i32 @xxx(i32 noundef 5) %9 = call i32 @foo(i32 noundef 6) %10 = call i32 @bar(i32 noundef 7) ret i32 0 } declare i32 @foo(i32 noundef) #1 declare i32 @bar(i32 noundef) #1 declare i32 @xxx(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/tmp7xa0ym1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef 1) %2 = call i32 @bar(i32 noundef 2) br label %3 3: ; preds = %0 %4 = call i32 @foo(i32 noundef 3) br label %5 5: ; preds = %3 %6 = call i32 @bar(i32 noundef 4) br label %7 7: ; preds = %5 %8 = call i32 @xxx(i32 noundef 5) %9 = call i32 @foo(i32 noundef 6) %10 = call i32 @bar(i32 noundef 7) ret i32 0 } declare i32 @foo(i32 noundef) #1 declare i32 @bar(i32 noundef) #1 declare i32 @xxx(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/tmp9zy0jyc1.c' source_filename = "/tmp/tmp9zy0jyc1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dvector(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = sub nsw i64 %7, %8 %10 = add nsw i64 %9, 1 %11 = add nsw i64 %10, 1 %12 = mul i64 %11, 8 %13 = call i64 @malloc(i64 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %15 15: ; preds = %27, %2 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = load i64, ptr %4, align 8 %19 = load i64, ptr %3, align 8 %20 = sub nsw i64 %18, %19 %21 = icmp slt i64 %17, %20 br i1 %21, label %22, label %30 22: ; preds = %15 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %23, i64 %25 store double 4.200000e+01, ptr %26, align 8 br label %27 27: ; preds = %22 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %15, !llvm.loop !6 30: ; preds = %15 %31 = load ptr, ptr %5, align 8 %32 = load i64, ptr %3, align 8 %33 = sub i64 0, %32 %34 = getelementptr inbounds double, ptr %31, i64 %33 %35 = getelementptr inbounds double, ptr %34, i64 1 ret ptr %35 } declare i64 @malloc(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9zy0jyc1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dvector(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = sub nsw i64 %7, %8 %10 = add nsw i64 %9, 1 %11 = add nsw i64 %10, 1 %12 = mul i64 %11, 8 %13 = call i64 @malloc(i64 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 store i32 0, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = load i64, ptr %4, align 8 %18 = load i64, ptr %3, align 8 %19 = sub nsw i64 %17, %18 %20 = icmp slt i64 %16, %19 br i1 %20, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %21 21: ; preds = %.lr.ph, %26 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %22, i64 %24 store double 4.200000e+01, ptr %25, align 8 br label %26 26: ; preds = %21 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = load i64, ptr %4, align 8 %32 = load i64, ptr %3, align 8 %33 = sub nsw i64 %31, %32 %34 = icmp slt i64 %30, %33 br i1 %34, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %35 35: ; preds = %._crit_edge, %2 %36 = load ptr, ptr %5, align 8 %37 = load i64, ptr %3, align 8 %38 = sub i64 0, %37 %39 = getelementptr inbounds double, ptr %36, i64 %38 %40 = getelementptr inbounds double, ptr %39, i64 1 ret ptr %40 } declare i64 @malloc(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"}
; ModuleID = '/tmp/tmpm9y_smb0.c' source_filename = "/tmp/tmpm9y_smb0.c" target datalayout = "e-m:e-p270: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/tmpm9y_smb0.c" target datalayout = "e-m:e-p270: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/tmp0nm45974.c' source_filename = "/tmp/tmp0nm45974.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xa5\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xa5() #0 { %1 = call i64 @isbdigit(i32 noundef 165) %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 830, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0nm45974.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xa5\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xa5() #0 { %1 = call i64 @isbdigit(i32 noundef 165) %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 830, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjknvpd6j.c' source_filename = "/tmp/tmpjknvpd6j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %5 = load ptr, ptr %3, align 8 %6 = call i32 @memcpy(ptr noundef %4, ptr noundef %5, i32 noundef 0) ret i32 0 } 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/tmpjknvpd6j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %5 = load ptr, ptr %3, align 8 %6 = call i32 @memcpy(ptr noundef %4, ptr noundef %5, i32 noundef 0) ret i32 0 } 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/tmp8h_h2ww5.c' source_filename = "/tmp/tmp8h_h2ww5.c" target datalayout = "e-m:e-p270: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/tmp8h_h2ww5.c" target datalayout = "e-m:e-p270: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/tmptgq5ls4v.c' source_filename = "/tmp/tmptgq5ls4v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @DoAsmCodeTest_C() %3 = icmp ne i32 %2, 16 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 ret i32 0 } declare i32 @DoAsmCodeTest_C(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmptgq5ls4v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @DoAsmCodeTest_C() %3 = icmp ne i32 %2, 16 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 ret i32 0 } declare i32 @DoAsmCodeTest_C(...) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmp8glq4i0e.c' source_filename = "/tmp/tmp8glq4i0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mips_ejtag_read_h(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 536870911 store i32 %4, ptr %2, align 4 %5 = ptrtoint ptr %2 to i32 %6 = call i32 @ejtag_switch(i32 noundef 8209, i32 noundef %5) ret i32 %6 } declare i32 @ejtag_switch(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/tmp8glq4i0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mips_ejtag_read_h(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 536870911 store i32 %4, ptr %2, align 4 %5 = ptrtoint ptr %2 to i32 %6 = call i32 @ejtag_switch(i32 noundef 8209, i32 noundef %5) ret i32 %6 } declare i32 @ejtag_switch(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/tmpcnvkrvnc.c' source_filename = "/tmp/tmpcnvkrvnc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hamdist(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = xor i32 %5, %6 %8 = call i32 @numbits(i32 noundef %7) ret i32 %8 } declare i32 @numbits(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/tmpcnvkrvnc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hamdist(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = xor i32 %5, %6 %8 = call i32 @numbits(i32 noundef %7) ret i32 %8 } declare i32 @numbits(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/tmpsn35c286.c' source_filename = "/tmp/tmpsn35c286.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"static void %s(void)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_function_name(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsn35c286.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"static void %s(void)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_function_name(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1u73cuc9.c' source_filename = "/tmp/tmp1u73cuc9.c" target datalayout = "e-m:e-p270: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/tmp1u73cuc9.c" target datalayout = "e-m:e-p270: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/tmpw8e9i42g.c' source_filename = "/tmp/tmpw8e9i42g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_timer() #0 { %1 = alloca double, align 8 %2 = call double (...) @get_seconds() store double %2, ptr %1, align 8 ret void } declare double @get_seconds(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw8e9i42g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_timer() #0 { %1 = alloca double, align 8 %2 = call double (...) @get_seconds() store double %2, ptr %1, align 8 ret void } declare double @get_seconds(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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__wfmoja.c' source_filename = "/tmp/tmp__wfmoja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" UTC\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"; COM %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_raw_comment(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = load i32, ptr %9, align 4 %16 = and i32 %15, 2 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %32 18: ; preds = %7 %19 = load ptr, ptr %11, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19) %21 = load ptr, ptr %10, align 8 %22 = call i64 @strlen(ptr noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %18 %25 = load i32, ptr %12, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %29 29: ; preds = %27, %24, %18 %30 = load ptr, ptr %13, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %30) br label %32 32: ; preds = %29, %7 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp__wfmoja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" UTC\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"; COM %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_raw_comment(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = load i32, ptr %9, align 4 %16 = and i32 %15, 2 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %32 18: ; preds = %7 %19 = load ptr, ptr %11, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19) %21 = load ptr, ptr %10, align 8 %22 = call i64 @strlen(ptr noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %18 %25 = load i32, ptr %12, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %29 29: ; preds = %27, %24, %18 %30 = load ptr, ptr %13, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %30) br label %32 32: ; preds = %29, %7 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3hr2ddqv.c' source_filename = "/tmp/tmp3hr2ddqv.c" target datalayout = "e-m:e-p270: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 [63 x i8] c"libtermkey major version mismatch; %d (wants) != %d (library)\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"libtermkey minor version mismatch; %d (wants) > %d (library)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @termkey_check_version(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %2 %8 = load i32, ptr @stderr, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef %9, i32 noundef 0) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = icmp sgt i32 %13, 17 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load i32, ptr @stderr, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1, i32 noundef %17, i32 noundef 17) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %12 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 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/tmp3hr2ddqv.c" target datalayout = "e-m:e-p270: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 [63 x i8] c"libtermkey major version mismatch; %d (wants) != %d (library)\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"libtermkey minor version mismatch; %d (wants) > %d (library)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @termkey_check_version(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %2 %8 = load i32, ptr @stderr, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef %9, i32 noundef 0) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = icmp sgt i32 %13, 17 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load i32, ptr @stderr, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1, i32 noundef %17, i32 noundef 17) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %12 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 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/tmppupzhdrk.c' source_filename = "/tmp/tmppupzhdrk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"talk to me baby\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"end of file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) br label %5 5: ; preds = %0, %20 %6 = call i32 @read(i32 noundef 0, ptr noundef %2, i32 noundef 1) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = call i32 @perror(ptr noundef @.str.1) br label %20 11: ; preds = %5 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = call i32 @printf(ptr noundef @.str.2) %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %11 %18 = call i32 @write(i32 noundef 1, ptr noundef %2, i32 noundef 1) br label %19 19: ; preds = %17 br label %20 20: ; preds = %19, %9 br label %5 } declare i32 @printf(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @write(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppupzhdrk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"talk to me baby\0A\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"end of file\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) br label %5 5: ; preds = %20, %0 %6 = call i32 @read(i32 noundef 0, ptr noundef %2, i32 noundef 1) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = call i32 @perror(ptr noundef @.str.1) br label %20 11: ; preds = %5 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = call i32 @printf(ptr noundef @.str.2) %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %11 %18 = call i32 @write(i32 noundef 1, ptr noundef %2, i32 noundef 1) br label %19 19: ; preds = %17 br label %20 20: ; preds = %19, %9 br label %5 } declare i32 @printf(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @write(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"}
; ModuleID = '/tmp/tmpwsiemgwl.c' source_filename = "/tmp/tmpwsiemgwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @io_get_interrupt_on_bus() #0 { %1 = call i32 @read_word_data(i32 noundef 32, i32 noundef 4) ret i32 %1 } declare i32 @read_word_data(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/tmpwsiemgwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @io_get_interrupt_on_bus() #0 { %1 = call i32 @read_word_data(i32 noundef 32, i32 noundef 4) ret i32 %1 } declare i32 @read_word_data(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/tmptf4cerky.c' source_filename = "/tmp/tmptf4cerky.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %7, %0 %3 = call i32 @wait(ptr noundef null) %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = call i32 @sleep(i32 noundef 1) br label %7 7: ; preds = %5, %2 br label %2 } declare i32 @wait(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptf4cerky.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %7, %0 %3 = call i32 @wait(ptr noundef null) %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = call i32 @sleep(i32 noundef 1) br label %7 7: ; preds = %5, %2 br label %2 } declare i32 @wait(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7tomvsxu.c' source_filename = "/tmp/tmp7tomvsxu.c" target datalayout = "e-m:e-p270: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/tmp7tomvsxu.c" target datalayout = "e-m:e-p270: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/tmpob3fthbn.c' source_filename = "/tmp/tmpob3fthbn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @deoxys_aead_decrypt(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i64 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca [16 x i32], align 16 %23 = alloca [48 x i32], align 16 %24 = alloca [16 x i32], align 16 %25 = alloca [16 x i32], align 16 %26 = alloca [16 x i32], align 16 %27 = alloca [16 x i32], align 16 %28 = alloca [16 x i32], align 16 %29 = alloca [16 x i32], align 16 %30 = alloca [16 x i32], align 16 %31 = alloca [16 x i32], align 16 %32 = alloca [16 x i32], align 16 store ptr %0, ptr %10, align 8 store i64 %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store i64 %7, ptr %17, align 8 %33 = getelementptr inbounds [16 x i32], ptr %30, i64 0, i64 0 %34 = load ptr, ptr %16, align 8 %35 = load i64, ptr %17, align 8 %36 = getelementptr inbounds i32, ptr %34, i64 %35 %37 = getelementptr inbounds i32, ptr %36, i64 -16 %38 = call i32 @memcpy(ptr noundef %33, ptr noundef %37, i64 noundef 16) %39 = load i64, ptr %17, align 8 %40 = sub i64 %39, 16 store i64 %40, ptr %17, align 8 %41 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %42 = call i32 @memset(ptr noundef %41, i32 noundef 0, i64 noundef 64) %43 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %44 = load ptr, ptr %14, align 8 %45 = call i32 @memcpy(ptr noundef %43, ptr noundef %44, i64 noundef 32) %46 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %47 = call i32 @memset(ptr noundef %46, i32 noundef 0, i64 noundef 16) %48 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %49 = getelementptr inbounds i32, ptr %48, i64 0 %50 = call i32 @set_block_number_in_tweak(ptr noundef %49, i32 noundef 0) %51 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %52 = getelementptr inbounds i32, ptr %51, i64 8 %53 = call i32 @set_block_number_in_tweak(ptr noundef %52, i32 noundef 0) %54 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %55 = call i32 @set_stage_in_tweak(ptr noundef %54, i32 noundef 48) %56 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %57 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %58 = call i32 @set_tweak_in_tweakey(ptr noundef %56, ptr noundef %57) %59 = load ptr, ptr %15, align 8 %60 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %61 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %62 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %59, ptr noundef %60, ptr noundef %61) %63 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %64 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %65 = call i32 @xor_values(ptr noundef %63, ptr noundef %64) %66 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %67 = call i32 @set_stage_in_tweak(ptr noundef %66, i32 noundef 112) %68 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %69 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %70 = call i32 @set_tweak_in_tweakey(ptr noundef %68, ptr noundef %69) %71 = load ptr, ptr %15, align 8 %72 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %73 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %74 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %71, ptr noundef %72, ptr noundef %73) %75 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %76 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %77 = call i32 @xor_values(ptr noundef %75, ptr noundef %76) %78 = load i64, ptr %11, align 8 %79 = icmp ne i64 %78, 0 br i1 %79, label %80, label %155 80: ; preds = %8 %81 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %82 = call i32 @set_stage_in_tweak(ptr noundef %81, i32 noundef 32) store i32 0, ptr %18, align 4 br label %83 83: ; preds = %90, %80 %84 = load i32, ptr %18, align 4 %85 = add nsw i32 %84, 1 %86 = mul nsw i32 16, %85 %87 = sext i32 %86 to i64 %88 = load i64, ptr %11, align 8 %89 = icmp ule i64 %87, %88 br i1 %89, label %90, label %111 90: ; preds = %83 %91 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %92 = getelementptr inbounds i32, ptr %91, i64 8 %93 = load i32, ptr %18, align 4 %94 = call i32 @set_block_number_in_tweak(ptr noundef %92, i32 noundef %93) %95 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %96 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %97 = call i32 @set_tweak_in_tweakey(ptr noundef %95, ptr noundef %96) %98 = load ptr, ptr %10, align 8 %99 = load i32, ptr %18, align 4 %100 = mul nsw i32 16, %99 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %98, i64 %101 %103 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %104 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %105 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %102, ptr noundef %103, ptr noundef %104) %106 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %107 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %108 = call i32 @xor_values(ptr noundef %106, ptr noundef %107) %109 = load i32, ptr %18, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %18, align 4 br label %83, !llvm.loop !6 111: ; preds = %83 %112 = load i64, ptr %11, align 8 %113 = load i32, ptr %18, align 4 %114 = mul nsw i32 16, %113 %115 = sext i32 %114 to i64 %116 = icmp ugt i64 %112, %115 br i1 %116, label %117, label %154 117: ; preds = %111 %118 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %119 = call i32 @memset(ptr noundef %118, i32 noundef 0, i64 noundef 16) %120 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %121 = load ptr, ptr %10, align 8 %122 = load i32, ptr %18, align 4 %123 = mul nsw i32 16, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %121, i64 %124 %126 = load i64, ptr %11, align 8 %127 = load i32, ptr %18, align 4 %128 = mul nsw i32 16, %127 %129 = sext i32 %128 to i64 %130 = sub i64 %126, %129 %131 = call i32 @memcpy(ptr noundef %120, ptr noundef %125, i64 noundef %130) %132 = load i64, ptr %11, align 8 %133 = load i32, ptr %18, align 4 %134 = mul nsw i32 16, %133 %135 = sext i32 %134 to i64 %136 = sub i64 %132, %135 %137 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 %136 store i32 128, ptr %137, align 4 %138 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %139 = call i32 @set_stage_in_tweak(ptr noundef %138, i32 noundef 96) %140 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %141 = getelementptr inbounds i32, ptr %140, i64 8 %142 = load i32, ptr %18, align 4 %143 = call i32 @set_block_number_in_tweak(ptr noundef %141, i32 noundef %142) %144 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %145 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %146 = call i32 @set_tweak_in_tweakey(ptr noundef %144, ptr noundef %145) %147 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %148 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %149 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %150 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %147, ptr noundef %148, ptr noundef %149) %151 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %152 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %153 = call i32 @xor_values(ptr noundef %151, ptr noundef %152) br label %154 154: ; preds = %117, %111 br label %155 155: ; preds = %154, %8 %156 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %157 = getelementptr inbounds [16 x i32], ptr %30, i64 0, i64 0 %158 = call i32 @memcpy(ptr noundef %156, ptr noundef %157, i64 noundef 16) %159 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %160 = load i32, ptr %159, align 16 %161 = and i32 %160, 127 %162 = xor i32 128, %161 %163 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 store i32 %162, ptr %163, align 16 store i32 0, ptr %18, align 4 %164 = getelementptr inbounds [16 x i32], ptr %30, i64 0, i64 0 %165 = getelementptr inbounds i32, ptr %164, i64 0 %166 = call i32 @get_block_number_from_tag(ptr noundef %165) store i32 %166, ptr %20, align 4 %167 = getelementptr inbounds [16 x i32], ptr %30, i64 0, i64 0 %168 = getelementptr inbounds i32, ptr %167, i64 8 %169 = call i32 @get_block_number_from_tag(ptr noundef %168) store i32 %169, ptr %21, align 4 br label %170 170: ; preds = %221, %155 %171 = load i32, ptr %18, align 4 %172 = add nsw i32 %171, 1 %173 = mul nsw i32 16, %172 %174 = sext i32 %173 to i64 %175 = load i64, ptr %17, align 8 %176 = icmp ule i64 %174, %175 br i1 %176, label %177, label %222 177: ; preds = %170 %178 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %179 = getelementptr inbounds i32, ptr %178, i64 8 %180 = load i32, ptr %21, align 4 %181 = call i32 @set_block_number_in_tweak(ptr noundef %179, i32 noundef %180) %182 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %183 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %184 = call i32 @set_tweak_in_tweakey(ptr noundef %182, ptr noundef %183) %185 = load ptr, ptr %15, align 8 %186 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %187 = load ptr, ptr %12, align 8 %188 = load i32, ptr %18, align 4 %189 = mul nsw i32 16, %188 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds i32, ptr %187, i64 %190 %192 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %185, ptr noundef %186, ptr noundef %191) %193 = load ptr, ptr %12, align 8 %194 = load i32, ptr %18, align 4 %195 = mul nsw i32 16, %194 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i32, ptr %193, i64 %196 %198 = load ptr, ptr %16, align 8 %199 = load i32, ptr %18, align 4 %200 = mul nsw i32 16, %199 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds i32, ptr %198, i64 %201 %203 = call i32 @xor_values(ptr noundef %197, ptr noundef %202) %204 = load i32, ptr %18, align 4 %205 = add nsw i32 %204, 1 store i32 %205, ptr %18, align 4 %206 = load i32, ptr %21, align 4 %207 = add nsw i32 %206, 1 store i32 %207, ptr %21, align 4 %208 = load i32, ptr %21, align 4 %209 = icmp eq i32 %208, 0 br i1 %209, label %210, label %221 210: ; preds = %177 %211 = load i32, ptr %20, align 4 %212 = add nsw i32 %211, 1 store i32 %212, ptr %20, align 4 %213 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %214 = load i32, ptr %20, align 4 %215 = call i32 @set_block_number_in_tweak(ptr noundef %213, i32 noundef %214) %216 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %217 = load i32, ptr %216, align 16 %218 = and i32 %217, 127 %219 = xor i32 128, %218 %220 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 store i32 %219, ptr %220, align 16 br label %221 221: ; preds = %210, %177 br label %170, !llvm.loop !8 222: ; preds = %170 %223 = load i64, ptr %17, align 8 %224 = load i32, ptr %18, align 4 %225 = mul nsw i32 16, %224 %226 = sext i32 %225 to i64 %227 = icmp ugt i64 %223, %226 br i1 %227, label %228, label %274 228: ; preds = %222 %229 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %230 = getelementptr inbounds i32, ptr %229, i64 8 %231 = load i32, ptr %21, align 4 %232 = call i32 @set_block_number_in_tweak(ptr noundef %230, i32 noundef %231) %233 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %234 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %235 = call i32 @set_tweak_in_tweakey(ptr noundef %233, ptr noundef %234) %236 = load ptr, ptr %15, align 8 %237 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %238 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %239 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %236, ptr noundef %237, ptr noundef %238) store i32 0, ptr %19, align 4 br label %240 240: ; preds = %270, %228 %241 = load i32, ptr %19, align 4 %242 = sext i32 %241 to i64 %243 = load i64, ptr %17, align 8 %244 = load i32, ptr %18, align 4 %245 = mul nsw i32 16, %244 %246 = sext i32 %245 to i64 %247 = sub i64 %243, %246 %248 = icmp ult i64 %242, %247 br i1 %248, label %249, label %273 249: ; preds = %240 %250 = load ptr, ptr %16, align 8 %251 = load i32, ptr %18, align 4 %252 = mul nsw i32 16, %251 %253 = load i32, ptr %19, align 4 %254 = add nsw i32 %252, %253 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds i32, ptr %250, i64 %255 %257 = load i32, ptr %256, align 4 %258 = load i32, ptr %19, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 %259 %261 = load i32, ptr %260, align 4 %262 = xor i32 %257, %261 %263 = load ptr, ptr %12, align 8 %264 = load i32, ptr %18, align 4 %265 = mul nsw i32 16, %264 %266 = load i32, ptr %19, align 4 %267 = add nsw i32 %265, %266 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds i32, ptr %263, i64 %268 store i32 %262, ptr %269, align 4 br label %270 270: ; preds = %249 %271 = load i32, ptr %19, align 4 %272 = add nsw i32 %271, 1 store i32 %272, ptr %19, align 4 br label %240, !llvm.loop !9 273: ; preds = %240 br label %274 274: ; preds = %273, %222 %275 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %276 = call i32 @memset(ptr noundef %275, i32 noundef 0, i64 noundef 64) %277 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %278 = call i32 @set_stage_in_tweak(ptr noundef %277, i32 noundef 0) store i32 0, ptr %18, align 4 br label %279 279: ; preds = %286, %274 %280 = load i32, ptr %18, align 4 %281 = add nsw i32 %280, 1 %282 = mul nsw i32 16, %281 %283 = sext i32 %282 to i64 %284 = load i64, ptr %17, align 8 %285 = icmp ule i64 %283, %284 br i1 %285, label %286, label %307 286: ; preds = %279 %287 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %288 = getelementptr inbounds i32, ptr %287, i64 8 %289 = load i32, ptr %18, align 4 %290 = call i32 @set_block_number_in_tweak(ptr noundef %288, i32 noundef %289) %291 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %292 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %293 = call i32 @set_tweak_in_tweakey(ptr noundef %291, ptr noundef %292) %294 = load ptr, ptr %12, align 8 %295 = load i32, ptr %18, align 4 %296 = mul nsw i32 16, %295 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds i32, ptr %294, i64 %297 %299 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %300 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %301 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %298, ptr noundef %299, ptr noundef %300) %302 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %303 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %304 = call i32 @xor_values(ptr noundef %302, ptr noundef %303) %305 = load i32, ptr %18, align 4 %306 = add nsw i32 %305, 1 store i32 %306, ptr %18, align 4 br label %279, !llvm.loop !10 307: ; preds = %279 %308 = load i64, ptr %17, align 8 %309 = load i32, ptr %18, align 4 %310 = mul nsw i32 16, %309 %311 = sext i32 %310 to i64 %312 = icmp ugt i64 %308, %311 br i1 %312, label %313, label %350 313: ; preds = %307 %314 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %315 = call i32 @memset(ptr noundef %314, i32 noundef 0, i64 noundef 16) %316 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %317 = load ptr, ptr %12, align 8 %318 = load i32, ptr %18, align 4 %319 = mul nsw i32 16, %318 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds i32, ptr %317, i64 %320 %322 = load i64, ptr %17, align 8 %323 = load i32, ptr %18, align 4 %324 = mul nsw i32 16, %323 %325 = sext i32 %324 to i64 %326 = sub i64 %322, %325 %327 = call i32 @memcpy(ptr noundef %316, ptr noundef %321, i64 noundef %326) %328 = load i64, ptr %17, align 8 %329 = load i32, ptr %18, align 4 %330 = mul nsw i32 16, %329 %331 = sext i32 %330 to i64 %332 = sub i64 %328, %331 %333 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 %332 store i32 128, ptr %333, align 4 %334 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %335 = call i32 @set_stage_in_tweak(ptr noundef %334, i32 noundef 64) %336 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %337 = getelementptr inbounds i32, ptr %336, i64 8 %338 = load i32, ptr %18, align 4 %339 = call i32 @set_block_number_in_tweak(ptr noundef %337, i32 noundef %338) %340 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %341 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %342 = call i32 @set_tweak_in_tweakey(ptr noundef %340, ptr noundef %341) %343 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %344 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %345 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %346 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %343, ptr noundef %344, ptr noundef %345) %347 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %348 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %349 = call i32 @xor_values(ptr noundef %347, ptr noundef %348) br label %350 350: ; preds = %313, %307 %351 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %352 = call i32 @set_stage_in_tweak(ptr noundef %351, i32 noundef 16) %353 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %354 = getelementptr inbounds i32, ptr %353, i64 8 %355 = call i32 @set_block_number_in_tweak(ptr noundef %354, i32 noundef 0) %356 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %357 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %358 = call i32 @set_tweak_in_tweakey(ptr noundef %356, ptr noundef %357) %359 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %360 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %361 = getelementptr inbounds [16 x i32], ptr %31, i64 0, i64 0 %362 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %359, ptr noundef %360, ptr noundef %361) %363 = getelementptr inbounds [16 x i32], ptr %30, i64 0, i64 0 %364 = getelementptr inbounds [16 x i32], ptr %31, i64 0, i64 0 %365 = call i64 @memcmp_const(ptr noundef %363, ptr noundef %364, i32 noundef 64) %366 = icmp ne i64 0, %365 br i1 %366, label %367, label %371 367: ; preds = %350 %368 = load ptr, ptr %12, align 8 %369 = load i64, ptr %17, align 8 %370 = call i32 @memset(ptr noundef %368, i32 noundef 0, i64 noundef %369) store i32 -1, ptr %9, align 4 br label %374 371: ; preds = %350 %372 = load i64, ptr %17, align 8 %373 = load ptr, ptr %13, align 8 store i64 %372, ptr %373, align 8 store i32 0, ptr %9, align 4 br label %374 374: ; preds = %371, %367 %375 = load i32, ptr %9, align 4 ret i32 %375 } declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @set_block_number_in_tweak(ptr noundef, i32 noundef) #1 declare i32 @set_stage_in_tweak(ptr noundef, i32 noundef) #1 declare i32 @set_tweak_in_tweakey(ptr noundef, ptr noundef) #1 declare i32 @aesTweakEncrypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @xor_values(ptr noundef, ptr noundef) #1 declare i32 @get_block_number_from_tag(ptr noundef) #1 declare i64 @memcmp_const(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpob3fthbn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @deoxys_aead_decrypt(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i64 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca [16 x i32], align 16 %23 = alloca [48 x i32], align 16 %24 = alloca [16 x i32], align 16 %25 = alloca [16 x i32], align 16 %26 = alloca [16 x i32], align 16 %27 = alloca [16 x i32], align 16 %28 = alloca [16 x i32], align 16 %29 = alloca [16 x i32], align 16 %30 = alloca [16 x i32], align 16 %31 = alloca [16 x i32], align 16 %32 = alloca [16 x i32], align 16 store ptr %0, ptr %10, align 8 store i64 %1, ptr %11, align 8 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store i64 %7, ptr %17, align 8 %33 = getelementptr inbounds [16 x i32], ptr %30, i64 0, i64 0 %34 = load ptr, ptr %16, align 8 %35 = load i64, ptr %17, align 8 %36 = getelementptr inbounds i32, ptr %34, i64 %35 %37 = getelementptr inbounds i32, ptr %36, i64 -16 %38 = call i32 @memcpy(ptr noundef %33, ptr noundef %37, i64 noundef 16) %39 = load i64, ptr %17, align 8 %40 = sub i64 %39, 16 store i64 %40, ptr %17, align 8 %41 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %42 = call i32 @memset(ptr noundef %41, i32 noundef 0, i64 noundef 64) %43 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %44 = load ptr, ptr %14, align 8 %45 = call i32 @memcpy(ptr noundef %43, ptr noundef %44, i64 noundef 32) %46 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %47 = call i32 @memset(ptr noundef %46, i32 noundef 0, i64 noundef 16) %48 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %49 = getelementptr inbounds i32, ptr %48, i64 0 %50 = call i32 @set_block_number_in_tweak(ptr noundef %49, i32 noundef 0) %51 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %52 = getelementptr inbounds i32, ptr %51, i64 8 %53 = call i32 @set_block_number_in_tweak(ptr noundef %52, i32 noundef 0) %54 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %55 = call i32 @set_stage_in_tweak(ptr noundef %54, i32 noundef 48) %56 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %57 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %58 = call i32 @set_tweak_in_tweakey(ptr noundef %56, ptr noundef %57) %59 = load ptr, ptr %15, align 8 %60 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %61 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %62 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %59, ptr noundef %60, ptr noundef %61) %63 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %64 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %65 = call i32 @xor_values(ptr noundef %63, ptr noundef %64) %66 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %67 = call i32 @set_stage_in_tweak(ptr noundef %66, i32 noundef 112) %68 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %69 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %70 = call i32 @set_tweak_in_tweakey(ptr noundef %68, ptr noundef %69) %71 = load ptr, ptr %15, align 8 %72 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %73 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %74 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %71, ptr noundef %72, ptr noundef %73) %75 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %76 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %77 = call i32 @xor_values(ptr noundef %75, ptr noundef %76) %78 = load i64, ptr %11, align 8 %79 = icmp ne i64 %78, 0 br i1 %79, label %80, label %160 80: ; preds = %8 %81 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %82 = call i32 @set_stage_in_tweak(ptr noundef %81, i32 noundef 32) store i32 0, ptr %18, align 4 %83 = load i32, ptr %18, align 4 %84 = add nsw i32 %83, 1 %85 = mul nsw i32 16, %84 %86 = sext i32 %85 to i64 %87 = load i64, ptr %11, align 8 %88 = icmp ule i64 %86, %87 br i1 %88, label %.lr.ph, label %116 .lr.ph: ; preds = %80 br label %89 89: ; preds = %.lr.ph, %89 %90 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %91 = getelementptr inbounds i32, ptr %90, i64 8 %92 = load i32, ptr %18, align 4 %93 = call i32 @set_block_number_in_tweak(ptr noundef %91, i32 noundef %92) %94 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %95 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %96 = call i32 @set_tweak_in_tweakey(ptr noundef %94, ptr noundef %95) %97 = load ptr, ptr %10, align 8 %98 = load i32, ptr %18, align 4 %99 = mul nsw i32 16, %98 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i32, ptr %97, i64 %100 %102 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %103 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %104 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %101, ptr noundef %102, ptr noundef %103) %105 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %106 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %107 = call i32 @xor_values(ptr noundef %105, ptr noundef %106) %108 = load i32, ptr %18, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %18, align 4 %110 = load i32, ptr %18, align 4 %111 = add nsw i32 %110, 1 %112 = mul nsw i32 16, %111 %113 = sext i32 %112 to i64 %114 = load i64, ptr %11, align 8 %115 = icmp ule i64 %113, %114 br i1 %115, label %89, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %89 br label %116 116: ; preds = %._crit_edge, %80 %117 = load i64, ptr %11, align 8 %118 = load i32, ptr %18, align 4 %119 = mul nsw i32 16, %118 %120 = sext i32 %119 to i64 %121 = icmp ugt i64 %117, %120 br i1 %121, label %122, label %159 122: ; preds = %116 %123 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %124 = call i32 @memset(ptr noundef %123, i32 noundef 0, i64 noundef 16) %125 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %126 = load ptr, ptr %10, align 8 %127 = load i32, ptr %18, align 4 %128 = mul nsw i32 16, %127 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %126, i64 %129 %131 = load i64, ptr %11, align 8 %132 = load i32, ptr %18, align 4 %133 = mul nsw i32 16, %132 %134 = sext i32 %133 to i64 %135 = sub i64 %131, %134 %136 = call i32 @memcpy(ptr noundef %125, ptr noundef %130, i64 noundef %135) %137 = load i64, ptr %11, align 8 %138 = load i32, ptr %18, align 4 %139 = mul nsw i32 16, %138 %140 = sext i32 %139 to i64 %141 = sub i64 %137, %140 %142 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 %141 store i32 128, ptr %142, align 4 %143 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %144 = call i32 @set_stage_in_tweak(ptr noundef %143, i32 noundef 96) %145 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %146 = getelementptr inbounds i32, ptr %145, i64 8 %147 = load i32, ptr %18, align 4 %148 = call i32 @set_block_number_in_tweak(ptr noundef %146, i32 noundef %147) %149 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %150 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %151 = call i32 @set_tweak_in_tweakey(ptr noundef %149, ptr noundef %150) %152 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %153 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %154 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %155 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %152, ptr noundef %153, ptr noundef %154) %156 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %157 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %158 = call i32 @xor_values(ptr noundef %156, ptr noundef %157) br label %159 159: ; preds = %122, %116 br label %160 160: ; preds = %159, %8 %161 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %162 = getelementptr inbounds [16 x i32], ptr %30, i64 0, i64 0 %163 = call i32 @memcpy(ptr noundef %161, ptr noundef %162, i64 noundef 16) %164 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %165 = load i32, ptr %164, align 16 %166 = and i32 %165, 127 %167 = xor i32 128, %166 %168 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 store i32 %167, ptr %168, align 16 store i32 0, ptr %18, align 4 %169 = getelementptr inbounds [16 x i32], ptr %30, i64 0, i64 0 %170 = getelementptr inbounds i32, ptr %169, i64 0 %171 = call i32 @get_block_number_from_tag(ptr noundef %170) store i32 %171, ptr %20, align 4 %172 = getelementptr inbounds [16 x i32], ptr %30, i64 0, i64 0 %173 = getelementptr inbounds i32, ptr %172, i64 8 %174 = call i32 @get_block_number_from_tag(ptr noundef %173) store i32 %174, ptr %21, align 4 %175 = load i32, ptr %18, align 4 %176 = add nsw i32 %175, 1 %177 = mul nsw i32 16, %176 %178 = sext i32 %177 to i64 %179 = load i64, ptr %17, align 8 %180 = icmp ule i64 %178, %179 br i1 %180, label %.lr.ph2, label %232 .lr.ph2: ; preds = %160 br label %181 181: ; preds = %.lr.ph2, %225 %182 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %183 = getelementptr inbounds i32, ptr %182, i64 8 %184 = load i32, ptr %21, align 4 %185 = call i32 @set_block_number_in_tweak(ptr noundef %183, i32 noundef %184) %186 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %187 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %188 = call i32 @set_tweak_in_tweakey(ptr noundef %186, ptr noundef %187) %189 = load ptr, ptr %15, align 8 %190 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %191 = load ptr, ptr %12, align 8 %192 = load i32, ptr %18, align 4 %193 = mul nsw i32 16, %192 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i32, ptr %191, i64 %194 %196 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %189, ptr noundef %190, ptr noundef %195) %197 = load ptr, ptr %12, align 8 %198 = load i32, ptr %18, align 4 %199 = mul nsw i32 16, %198 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds i32, ptr %197, i64 %200 %202 = load ptr, ptr %16, align 8 %203 = load i32, ptr %18, align 4 %204 = mul nsw i32 16, %203 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds i32, ptr %202, i64 %205 %207 = call i32 @xor_values(ptr noundef %201, ptr noundef %206) %208 = load i32, ptr %18, align 4 %209 = add nsw i32 %208, 1 store i32 %209, ptr %18, align 4 %210 = load i32, ptr %21, align 4 %211 = add nsw i32 %210, 1 store i32 %211, ptr %21, align 4 %212 = load i32, ptr %21, align 4 %213 = icmp eq i32 %212, 0 br i1 %213, label %214, label %225 214: ; preds = %181 %215 = load i32, ptr %20, align 4 %216 = add nsw i32 %215, 1 store i32 %216, ptr %20, align 4 %217 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %218 = load i32, ptr %20, align 4 %219 = call i32 @set_block_number_in_tweak(ptr noundef %217, i32 noundef %218) %220 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %221 = load i32, ptr %220, align 16 %222 = and i32 %221, 127 %223 = xor i32 128, %222 %224 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 store i32 %223, ptr %224, align 16 br label %225 225: ; preds = %214, %181 %226 = load i32, ptr %18, align 4 %227 = add nsw i32 %226, 1 %228 = mul nsw i32 16, %227 %229 = sext i32 %228 to i64 %230 = load i64, ptr %17, align 8 %231 = icmp ule i64 %229, %230 br i1 %231, label %181, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %225 br label %232 232: ; preds = %._crit_edge3, %160 %233 = load i64, ptr %17, align 8 %234 = load i32, ptr %18, align 4 %235 = mul nsw i32 16, %234 %236 = sext i32 %235 to i64 %237 = icmp ugt i64 %233, %236 br i1 %237, label %238, label %291 238: ; preds = %232 %239 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %240 = getelementptr inbounds i32, ptr %239, i64 8 %241 = load i32, ptr %21, align 4 %242 = call i32 @set_block_number_in_tweak(ptr noundef %240, i32 noundef %241) %243 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %244 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %245 = call i32 @set_tweak_in_tweakey(ptr noundef %243, ptr noundef %244) %246 = load ptr, ptr %15, align 8 %247 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %248 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %249 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %246, ptr noundef %247, ptr noundef %248) store i32 0, ptr %19, align 4 %250 = load i32, ptr %19, align 4 %251 = sext i32 %250 to i64 %252 = load i64, ptr %17, align 8 %253 = load i32, ptr %18, align 4 %254 = mul nsw i32 16, %253 %255 = sext i32 %254 to i64 %256 = sub i64 %252, %255 %257 = icmp ult i64 %251, %256 br i1 %257, label %.lr.ph5, label %290 .lr.ph5: ; preds = %238 br label %258 258: ; preds = %.lr.ph5, %279 %259 = load ptr, ptr %16, align 8 %260 = load i32, ptr %18, align 4 %261 = mul nsw i32 16, %260 %262 = load i32, ptr %19, align 4 %263 = add nsw i32 %261, %262 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds i32, ptr %259, i64 %264 %266 = load i32, ptr %265, align 4 %267 = load i32, ptr %19, align 4 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 %268 %270 = load i32, ptr %269, align 4 %271 = xor i32 %266, %270 %272 = load ptr, ptr %12, align 8 %273 = load i32, ptr %18, align 4 %274 = mul nsw i32 16, %273 %275 = load i32, ptr %19, align 4 %276 = add nsw i32 %274, %275 %277 = sext i32 %276 to i64 %278 = getelementptr inbounds i32, ptr %272, i64 %277 store i32 %271, ptr %278, align 4 br label %279 279: ; preds = %258 %280 = load i32, ptr %19, align 4 %281 = add nsw i32 %280, 1 store i32 %281, ptr %19, align 4 %282 = load i32, ptr %19, align 4 %283 = sext i32 %282 to i64 %284 = load i64, ptr %17, align 8 %285 = load i32, ptr %18, align 4 %286 = mul nsw i32 16, %285 %287 = sext i32 %286 to i64 %288 = sub i64 %284, %287 %289 = icmp ult i64 %283, %288 br i1 %289, label %258, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %279 br label %290 290: ; preds = %._crit_edge6, %238 br label %291 291: ; preds = %290, %232 %292 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %293 = call i32 @memset(ptr noundef %292, i32 noundef 0, i64 noundef 64) %294 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %295 = call i32 @set_stage_in_tweak(ptr noundef %294, i32 noundef 0) store i32 0, ptr %18, align 4 %296 = load i32, ptr %18, align 4 %297 = add nsw i32 %296, 1 %298 = mul nsw i32 16, %297 %299 = sext i32 %298 to i64 %300 = load i64, ptr %17, align 8 %301 = icmp ule i64 %299, %300 br i1 %301, label %.lr.ph8, label %329 .lr.ph8: ; preds = %291 br label %302 302: ; preds = %.lr.ph8, %302 %303 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %304 = getelementptr inbounds i32, ptr %303, i64 8 %305 = load i32, ptr %18, align 4 %306 = call i32 @set_block_number_in_tweak(ptr noundef %304, i32 noundef %305) %307 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %308 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %309 = call i32 @set_tweak_in_tweakey(ptr noundef %307, ptr noundef %308) %310 = load ptr, ptr %12, align 8 %311 = load i32, ptr %18, align 4 %312 = mul nsw i32 16, %311 %313 = sext i32 %312 to i64 %314 = getelementptr inbounds i32, ptr %310, i64 %313 %315 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %316 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %317 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %314, ptr noundef %315, ptr noundef %316) %318 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %319 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %320 = call i32 @xor_values(ptr noundef %318, ptr noundef %319) %321 = load i32, ptr %18, align 4 %322 = add nsw i32 %321, 1 store i32 %322, ptr %18, align 4 %323 = load i32, ptr %18, align 4 %324 = add nsw i32 %323, 1 %325 = mul nsw i32 16, %324 %326 = sext i32 %325 to i64 %327 = load i64, ptr %17, align 8 %328 = icmp ule i64 %326, %327 br i1 %328, label %302, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %302 br label %329 329: ; preds = %._crit_edge9, %291 %330 = load i64, ptr %17, align 8 %331 = load i32, ptr %18, align 4 %332 = mul nsw i32 16, %331 %333 = sext i32 %332 to i64 %334 = icmp ugt i64 %330, %333 br i1 %334, label %335, label %372 335: ; preds = %329 %336 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %337 = call i32 @memset(ptr noundef %336, i32 noundef 0, i64 noundef 16) %338 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %339 = load ptr, ptr %12, align 8 %340 = load i32, ptr %18, align 4 %341 = mul nsw i32 16, %340 %342 = sext i32 %341 to i64 %343 = getelementptr inbounds i32, ptr %339, i64 %342 %344 = load i64, ptr %17, align 8 %345 = load i32, ptr %18, align 4 %346 = mul nsw i32 16, %345 %347 = sext i32 %346 to i64 %348 = sub i64 %344, %347 %349 = call i32 @memcpy(ptr noundef %338, ptr noundef %343, i64 noundef %348) %350 = load i64, ptr %17, align 8 %351 = load i32, ptr %18, align 4 %352 = mul nsw i32 16, %351 %353 = sext i32 %352 to i64 %354 = sub i64 %350, %353 %355 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 %354 store i32 128, ptr %355, align 4 %356 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %357 = call i32 @set_stage_in_tweak(ptr noundef %356, i32 noundef 64) %358 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %359 = getelementptr inbounds i32, ptr %358, i64 8 %360 = load i32, ptr %18, align 4 %361 = call i32 @set_block_number_in_tweak(ptr noundef %359, i32 noundef %360) %362 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %363 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %364 = call i32 @set_tweak_in_tweakey(ptr noundef %362, ptr noundef %363) %365 = getelementptr inbounds [16 x i32], ptr %25, i64 0, i64 0 %366 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %367 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %368 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %365, ptr noundef %366, ptr noundef %367) %369 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %370 = getelementptr inbounds [16 x i32], ptr %32, i64 0, i64 0 %371 = call i32 @xor_values(ptr noundef %369, ptr noundef %370) br label %372 372: ; preds = %335, %329 %373 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %374 = call i32 @set_stage_in_tweak(ptr noundef %373, i32 noundef 16) %375 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %376 = getelementptr inbounds i32, ptr %375, i64 8 %377 = call i32 @set_block_number_in_tweak(ptr noundef %376, i32 noundef 0) %378 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %379 = getelementptr inbounds [16 x i32], ptr %22, i64 0, i64 0 %380 = call i32 @set_tweak_in_tweakey(ptr noundef %378, ptr noundef %379) %381 = getelementptr inbounds [16 x i32], ptr %24, i64 0, i64 0 %382 = getelementptr inbounds [48 x i32], ptr %23, i64 0, i64 0 %383 = getelementptr inbounds [16 x i32], ptr %31, i64 0, i64 0 %384 = call i32 @aesTweakEncrypt(i32 noundef 384, ptr noundef %381, ptr noundef %382, ptr noundef %383) %385 = getelementptr inbounds [16 x i32], ptr %30, i64 0, i64 0 %386 = getelementptr inbounds [16 x i32], ptr %31, i64 0, i64 0 %387 = call i64 @memcmp_const(ptr noundef %385, ptr noundef %386, i32 noundef 64) %388 = icmp ne i64 0, %387 br i1 %388, label %389, label %393 389: ; preds = %372 %390 = load ptr, ptr %12, align 8 %391 = load i64, ptr %17, align 8 %392 = call i32 @memset(ptr noundef %390, i32 noundef 0, i64 noundef %391) store i32 -1, ptr %9, align 4 br label %396 393: ; preds = %372 %394 = load i64, ptr %17, align 8 %395 = load ptr, ptr %13, align 8 store i64 %394, ptr %395, align 8 store i32 0, ptr %9, align 4 br label %396 396: ; preds = %393, %389 %397 = load i32, ptr %9, align 4 ret i32 %397 } declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @set_block_number_in_tweak(ptr noundef, i32 noundef) #1 declare i32 @set_stage_in_tweak(ptr noundef, i32 noundef) #1 declare i32 @set_tweak_in_tweakey(ptr noundef, ptr noundef) #1 declare i32 @aesTweakEncrypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @xor_values(ptr noundef, ptr noundef) #1 declare i32 @get_block_number_from_tag(ptr noundef) #1 declare i64 @memcmp_const(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpg1ikwnxr.c' source_filename = "/tmp/tmpg1ikwnxr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FLT_MIN = dso_local global float 0.000000e+00, 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/tmpg1ikwnxr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FLT_MIN = dso_local global float 0.000000e+00, 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/tmpa576zoan.c' source_filename = "/tmp/tmpa576zoan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_in(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %8, align 8 %12 = load i32, ptr %7, align 4 store i32 %12, ptr %9, align 4 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %9, align 4 %16 = call i32 @recv(i32 noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %10, align 4 br label %17 17: ; preds = %31, %3 %18 = load i32, ptr %10, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %29 20: ; preds = %17 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %10, align 4 %23 = sub nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 10 br label %29 29: ; preds = %20, %17 %30 = phi i1 [ false, %17 ], [ %28, %20 ] br i1 %30, label %31, label %43 31: ; preds = %29 %32 = load i32, ptr %10, align 4 %33 = load ptr, ptr %8, align 8 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds i8, ptr %33, i64 %34 store ptr %35, ptr %8, align 8 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %9, align 4 %38 = sub nsw i32 %37, %36 store i32 %38, ptr %9, align 4 %39 = load i32, ptr %5, align 4 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %9, align 4 %42 = call i32 @recv(i32 noundef %39, ptr noundef %40, i32 noundef %41, i32 noundef 0) store i32 %42, ptr %10, align 4 br label %17, !llvm.loop !6 43: ; preds = %29 %44 = load i32, ptr %10, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %48 46: ; preds = %43 %47 = load i32, ptr %10, align 4 store i32 %47, ptr %4, align 4 br label %65 48: ; preds = %43 %49 = load i32, ptr %10, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load ptr, ptr %6, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 0 store i8 0, ptr %53, align 1 br label %60 54: ; preds = %48 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %10, align 4 %57 = sub nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %55, i64 %58 store i8 0, ptr %59, align 1 br label %60 60: ; preds = %54, %51 br label %61 61: ; preds = %60 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %9, align 4 %64 = sub nsw i32 %62, %63 store i32 %64, ptr %4, align 4 br label %65 65: ; preds = %61, %46 %66 = load i32, ptr %4, align 4 ret i32 %66 } declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa576zoan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_in(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %8, align 8 %12 = load i32, ptr %7, align 4 store i32 %12, ptr %9, align 4 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %9, align 4 %16 = call i32 @recv(i32 noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %10, align 4 br label %17 17: ; preds = %31, %3 %18 = load i32, ptr %10, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %29 20: ; preds = %17 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %10, align 4 %23 = sub nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 10 br label %29 29: ; preds = %20, %17 %30 = phi i1 [ false, %17 ], [ %28, %20 ] br i1 %30, label %31, label %43 31: ; preds = %29 %32 = load i32, ptr %10, align 4 %33 = load ptr, ptr %8, align 8 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds i8, ptr %33, i64 %34 store ptr %35, ptr %8, align 8 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %9, align 4 %38 = sub nsw i32 %37, %36 store i32 %38, ptr %9, align 4 %39 = load i32, ptr %5, align 4 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %9, align 4 %42 = call i32 @recv(i32 noundef %39, ptr noundef %40, i32 noundef %41, i32 noundef 0) store i32 %42, ptr %10, align 4 br label %17, !llvm.loop !6 43: ; preds = %29 %44 = load i32, ptr %10, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %48 46: ; preds = %43 %47 = load i32, ptr %10, align 4 store i32 %47, ptr %4, align 4 br label %65 48: ; preds = %43 %49 = load i32, ptr %10, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load ptr, ptr %6, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 0 store i8 0, ptr %53, align 1 br label %60 54: ; preds = %48 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %10, align 4 %57 = sub nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %55, i64 %58 store i8 0, ptr %59, align 1 br label %60 60: ; preds = %54, %51 br label %61 61: ; preds = %60 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %9, align 4 %64 = sub nsw i32 %62, %63 store i32 %64, ptr %4, align 4 br label %65 65: ; preds = %61, %46 %66 = load i32, ptr %4, align 4 ret i32 %66 } declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnkh3pcdt.c' source_filename = "/tmp/tmpnkh3pcdt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 42, ptr %2, align 4 store ptr %2, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 42 %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 42 %13 = xor i1 %12, true %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnkh3pcdt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 42, ptr %2, align 4 store ptr %2, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 42 %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 42 %13 = xor i1 %12, true %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_4rdl2cm.c' source_filename = "/tmp/tmp_4rdl2cm.c" target datalayout = "e-m:e-p270: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 [88 x i8] c"Missing arguments.\0AUsage: generate_binary_testfile <start_byte_value> <end_byte_value>\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Illegal start (%d) or end (%d) values.\0A\00", align 1 @stdout = 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 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 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 3 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @atoi(ptr noundef %18) store i32 %19, ptr %6, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %33, label %26 26: ; preds = %15 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp sgt i32 %27, %28 br i1 %29, label %33, label %30 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %39 33: ; preds = %30, %26, %15 %34 = load i32, ptr @stderr, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %7, align 4 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.1, i32 noundef %35, i32 noundef %36) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %30 %40 = load i32, ptr %6, align 4 store i32 %40, ptr %8, align 4 br label %41 41: ; preds = %49, %39 %42 = load i32, ptr %8, align 4 %43 = load i32, ptr %7, align 4 %44 = icmp sle i32 %42, %43 br i1 %44, label %45, label %52 45: ; preds = %41 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr @stdout, align 4 %48 = call i32 @putc(i32 noundef %46, i32 noundef %47) br label %49 49: ; preds = %45 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %8, align 4 br label %41, !llvm.loop !6 52: ; preds = %41 ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @putc(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" } 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/tmp_4rdl2cm.c" target datalayout = "e-m:e-p270: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 [88 x i8] c"Missing arguments.\0AUsage: generate_binary_testfile <start_byte_value> <end_byte_value>\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Illegal start (%d) or end (%d) values.\0A\00", align 1 @stdout = 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 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 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 3 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @atoi(ptr noundef %18) store i32 %19, ptr %6, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %33, label %26 26: ; preds = %15 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp sgt i32 %27, %28 br i1 %29, label %33, label %30 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %39 33: ; preds = %30, %26, %15 %34 = load i32, ptr @stderr, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %7, align 4 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.1, i32 noundef %35, i32 noundef %36) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %30 %40 = load i32, ptr %6, align 4 store i32 %40, ptr %8, align 4 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %7, align 4 %43 = icmp sle i32 %41, %42 br i1 %43, label %.lr.ph, label %54 .lr.ph: ; preds = %39 br label %44 44: ; preds = %.lr.ph, %48 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr @stdout, align 4 %47 = call i32 @putc(i32 noundef %45, i32 noundef %46) br label %48 48: ; preds = %44 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp sle i32 %51, %52 br i1 %53, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %39 ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @putc(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" } 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/tmp6pzcahb4.c' source_filename = "/tmp/tmp6pzcahb4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Are you are ready for the real thing?\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @winner() #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/tmp6pzcahb4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Are you are ready for the real thing?\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @winner() #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/tmp41i51r2b.c' source_filename = "/tmp/tmp41i51r2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp41i51r2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb7wv41tj.c' source_filename = "/tmp/tmpb7wv41tj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @get_dA(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds double, ptr %12, i64 0 %14 = load double, ptr %13, align 8 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds double, ptr %15, i64 0 %17 = load double, ptr %16, align 8 %18 = fadd double %14, %17 %19 = fmul double 5.000000e-01, %18 store double %19, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds double, ptr %20, i64 0 %22 = load double, ptr %21, align 8 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds double, ptr %23, i64 0 %25 = load double, ptr %24, align 8 %26 = fsub double %22, %25 store double %26, ptr %9, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds double, ptr %27, i64 1 %29 = load double, ptr %28, align 8 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds double, ptr %30, i64 1 %32 = load double, ptr %31, align 8 %33 = call double @get_dp(double noundef %29, double noundef %32) store double %33, ptr %10, align 8 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds double, ptr %34, i64 2 %36 = load double, ptr %35, align 8 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds double, ptr %37, i64 2 %39 = load double, ptr %38, align 8 %40 = fsub double %36, %39 store double %40, ptr %11, align 8 %41 = load i32, ptr %7, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %3 %44 = load double, ptr %9, align 8 %45 = load double, ptr %11, align 8 %46 = fmul double %44, %45 store double %46, ptr %4, align 8 br label %62 47: ; preds = %3 %48 = load i32, ptr %7, align 4 %49 = icmp eq i32 %48, 1 br i1 %49, label %50, label %56 50: ; preds = %47 %51 = load double, ptr %8, align 8 %52 = load double, ptr %10, align 8 %53 = fmul double %51, %52 %54 = load double, ptr %11, align 8 %55 = fmul double %53, %54 store double %55, ptr %4, align 8 br label %62 56: ; preds = %47 %57 = load double, ptr %8, align 8 %58 = load double, ptr %9, align 8 %59 = fmul double %57, %58 %60 = load double, ptr %10, align 8 %61 = fmul double %59, %60 store double %61, ptr %4, align 8 br label %62 62: ; preds = %56, %50, %43 %63 = load double, ptr %4, align 8 ret double %63 } declare double @get_dp(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/tmpb7wv41tj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @get_dA(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds double, ptr %12, i64 0 %14 = load double, ptr %13, align 8 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds double, ptr %15, i64 0 %17 = load double, ptr %16, align 8 %18 = fadd double %14, %17 %19 = fmul double 5.000000e-01, %18 store double %19, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds double, ptr %20, i64 0 %22 = load double, ptr %21, align 8 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds double, ptr %23, i64 0 %25 = load double, ptr %24, align 8 %26 = fsub double %22, %25 store double %26, ptr %9, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds double, ptr %27, i64 1 %29 = load double, ptr %28, align 8 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds double, ptr %30, i64 1 %32 = load double, ptr %31, align 8 %33 = call double @get_dp(double noundef %29, double noundef %32) store double %33, ptr %10, align 8 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds double, ptr %34, i64 2 %36 = load double, ptr %35, align 8 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds double, ptr %37, i64 2 %39 = load double, ptr %38, align 8 %40 = fsub double %36, %39 store double %40, ptr %11, align 8 %41 = load i32, ptr %7, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %3 %44 = load double, ptr %9, align 8 %45 = load double, ptr %11, align 8 %46 = fmul double %44, %45 store double %46, ptr %4, align 8 br label %62 47: ; preds = %3 %48 = load i32, ptr %7, align 4 %49 = icmp eq i32 %48, 1 br i1 %49, label %50, label %56 50: ; preds = %47 %51 = load double, ptr %8, align 8 %52 = load double, ptr %10, align 8 %53 = fmul double %51, %52 %54 = load double, ptr %11, align 8 %55 = fmul double %53, %54 store double %55, ptr %4, align 8 br label %62 56: ; preds = %47 %57 = load double, ptr %8, align 8 %58 = load double, ptr %9, align 8 %59 = fmul double %57, %58 %60 = load double, ptr %10, align 8 %61 = fmul double %59, %60 store double %61, ptr %4, align 8 br label %62 62: ; preds = %56, %50, %43 %63 = load double, ptr %4, align 8 ret double %63 } declare double @get_dp(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/tmp91v65cqn.c' source_filename = "/tmp/tmp91v65cqn.c" target datalayout = "e-m:e-p270: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/tmp91v65cqn.c" target datalayout = "e-m:e-p270: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/tmp97j___qz.c' source_filename = "/tmp/tmp97j___qz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Usage: disktest\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c" [-f filename] filename to use (testfile)\0A\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c" [-s seconds] seconds to run for (15)\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c" [-m megabytes] megabytes to use (1)\0A\00", align 1 @.str.4 = private unnamed_addr constant [50 x i8] c" [-M megabytes] megabytes to skip (0)\0A\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c" [-b blocksize]\09 blocksize (4096)\0A\00", align 1 @.str.6 = private unnamed_addr constant [50 x i8] c" [-l linear tasks] linear access tasks (4)\0A\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c" [-r random tasks] random access tasks (4)\0A\00", align 1 @.str.8 = private unnamed_addr constant [51 x i8] c" [-v] verify pre-existing file\0A\00", align 1 @.str.9 = private unnamed_addr constant [45 x i8] c" [-i] only do init phase\0A\00", align 1 @.str.10 = private unnamed_addr constant [52 x i8] c" [-S] stop immediately on error\0A\00", align 1 @.str.11 = private unnamed_addr constant [56 x i8] c" [-L] do disk test in infinite loop\0A\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"\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) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) 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/tmp97j___qz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Usage: disktest\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c" [-f filename] filename to use (testfile)\0A\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c" [-s seconds] seconds to run for (15)\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c" [-m megabytes] megabytes to use (1)\0A\00", align 1 @.str.4 = private unnamed_addr constant [50 x i8] c" [-M megabytes] megabytes to skip (0)\0A\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c" [-b blocksize]\09 blocksize (4096)\0A\00", align 1 @.str.6 = private unnamed_addr constant [50 x i8] c" [-l linear tasks] linear access tasks (4)\0A\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c" [-r random tasks] random access tasks (4)\0A\00", align 1 @.str.8 = private unnamed_addr constant [51 x i8] c" [-v] verify pre-existing file\0A\00", align 1 @.str.9 = private unnamed_addr constant [45 x i8] c" [-i] only do init phase\0A\00", align 1 @.str.10 = private unnamed_addr constant [52 x i8] c" [-S] stop immediately on error\0A\00", align 1 @.str.11 = private unnamed_addr constant [56 x i8] c" [-L] do disk test in infinite loop\0A\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"\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) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) 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/tmp9gtqbi73.c' source_filename = "/tmp/tmp9gtqbi73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_pcbcdec(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca [16 x i8], align 16 %14 = alloca [16 x i8], align 16 %15 = alloca i64, align 8 %16 = alloca i16, align 2 %17 = alloca i16, align 2 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %18 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 0 %19 = load ptr, ptr %11, align 8 %20 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef 16) store i64 0, ptr %15, align 8 br label %21 21: ; preds = %99, %6 %22 = load i64, ptr %15, align 8 %23 = add i64 %22, 15 %24 = load i64, ptr %9, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %26, label %102 26: ; preds = %21 %27 = getelementptr inbounds [16 x i8], ptr %13, i64 0, i64 0 %28 = load ptr, ptr %8, align 8 %29 = load i64, ptr %15, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 %31 = call i32 @memcpy(ptr noundef %27, ptr noundef %30, i32 noundef 16) %32 = load i32, ptr %7, align 4 %33 = load ptr, ptr %8, align 8 %34 = load i64, ptr %15, align 8 %35 = getelementptr inbounds i8, ptr %33, i64 %34 %36 = load ptr, ptr %10, align 8 %37 = getelementptr inbounds [16 x i8], ptr %13, i64 0, i64 0 %38 = call i32 @aes_invcipher(i32 noundef %32, ptr noundef %35, ptr noundef %36, ptr noundef %37) store i16 0, ptr %16, align 2 br label %39 39: ; preds = %63, %26 %40 = load i16, ptr %16, align 2 %41 = sext i16 %40 to i32 %42 = icmp slt i32 %41, 16 br i1 %42, label %43, label %66 43: ; preds = %39 %44 = load i16, ptr %16, align 2 %45 = sext i16 %44 to i64 %46 = getelementptr inbounds [16 x i8], ptr %13, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = load i16, ptr %16, align 2 %50 = sext i16 %49 to i64 %51 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = xor i32 %48, %53 %55 = trunc i32 %54 to i8 %56 = load ptr, ptr %12, align 8 %57 = load i64, ptr %15, align 8 %58 = getelementptr inbounds i8, ptr %56, i64 %57 %59 = load i16, ptr %16, align 2 %60 = sext i16 %59 to i32 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %58, i64 %61 store i8 %55, ptr %62, align 1 br label %63 63: ; preds = %43 %64 = load i16, ptr %16, align 2 %65 = add i16 %64, 1 store i16 %65, ptr %16, align 2 br label %39, !llvm.loop !6 66: ; preds = %39 store i16 0, ptr %17, align 2 br label %67 67: ; preds = %95, %66 %68 = load i16, ptr %17, align 2 %69 = sext i16 %68 to i32 %70 = icmp slt i32 %69, 16 br i1 %70, label %71, label %98 71: ; preds = %67 %72 = load ptr, ptr %8, align 8 %73 = load i64, ptr %15, align 8 %74 = getelementptr inbounds i8, ptr %72, i64 %73 %75 = load i16, ptr %17, align 2 %76 = sext i16 %75 to i32 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %74, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = load ptr, ptr %12, align 8 %82 = load i64, ptr %15, align 8 %83 = getelementptr inbounds i8, ptr %81, i64 %82 %84 = load i16, ptr %17, align 2 %85 = sext i16 %84 to i32 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %83, i64 %86 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = xor i32 %80, %89 %91 = trunc i32 %90 to i8 %92 = load i16, ptr %17, align 2 %93 = sext i16 %92 to i64 %94 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 %93 store i8 %91, ptr %94, align 1 br label %95 95: ; preds = %71 %96 = load i16, ptr %17, align 2 %97 = add i16 %96, 1 store i16 %97, ptr %17, align 2 br label %67, !llvm.loop !8 98: ; preds = %67 br label %99 99: ; preds = %98 %100 = load i64, ptr %15, align 8 %101 = add i64 %100, 16 store i64 %101, ptr %15, align 8 br label %21, !llvm.loop !9 102: ; preds = %21 %103 = load ptr, ptr %12, align 8 %104 = load i64, ptr %9, align 8 %105 = call i64 @aes_calclength(ptr noundef %103, i64 noundef %104) ret i64 %105 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @aes_invcipher(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @aes_calclength(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9gtqbi73.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_pcbcdec(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca [16 x i8], align 16 %14 = alloca [16 x i8], align 16 %15 = alloca i64, align 8 %16 = alloca i16, align 2 %17 = alloca i16, align 2 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %18 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 0 %19 = load ptr, ptr %11, align 8 %20 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef 16) store i64 0, ptr %15, align 8 %21 = load i64, ptr %15, align 8 %22 = add i64 %21, 15 %23 = load i64, ptr %9, align 8 %24 = icmp ult i64 %22, %23 br i1 %24, label %.lr.ph5, label %109 .lr.ph5: ; preds = %6 br label %25 25: ; preds = %.lr.ph5, %102 %26 = getelementptr inbounds [16 x i8], ptr %13, i64 0, i64 0 %27 = load ptr, ptr %8, align 8 %28 = load i64, ptr %15, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 %30 = call i32 @memcpy(ptr noundef %26, ptr noundef %29, i32 noundef 16) %31 = load i32, ptr %7, align 4 %32 = load ptr, ptr %8, align 8 %33 = load i64, ptr %15, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 %35 = load ptr, ptr %10, align 8 %36 = getelementptr inbounds [16 x i8], ptr %13, i64 0, i64 0 %37 = call i32 @aes_invcipher(i32 noundef %31, ptr noundef %34, ptr noundef %35, ptr noundef %36) store i16 0, ptr %16, align 2 %38 = load i16, ptr %16, align 2 %39 = sext i16 %38 to i32 %40 = icmp slt i32 %39, 16 br i1 %40, label %.lr.ph, label %67 .lr.ph: ; preds = %25 br label %41 41: ; preds = %.lr.ph, %61 %42 = load i16, ptr %16, align 2 %43 = sext i16 %42 to i64 %44 = getelementptr inbounds [16 x i8], ptr %13, i64 0, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = load i16, ptr %16, align 2 %48 = sext i16 %47 to i64 %49 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = xor i32 %46, %51 %53 = trunc i32 %52 to i8 %54 = load ptr, ptr %12, align 8 %55 = load i64, ptr %15, align 8 %56 = getelementptr inbounds i8, ptr %54, i64 %55 %57 = load i16, ptr %16, align 2 %58 = sext i16 %57 to i32 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 store i8 %53, ptr %60, align 1 br label %61 61: ; preds = %41 %62 = load i16, ptr %16, align 2 %63 = add i16 %62, 1 store i16 %63, ptr %16, align 2 %64 = load i16, ptr %16, align 2 %65 = sext i16 %64 to i32 %66 = icmp slt i32 %65, 16 br i1 %66, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %67 67: ; preds = %._crit_edge, %25 store i16 0, ptr %17, align 2 %68 = load i16, ptr %17, align 2 %69 = sext i16 %68 to i32 %70 = icmp slt i32 %69, 16 br i1 %70, label %.lr.ph2, label %101 .lr.ph2: ; preds = %67 br label %71 71: ; preds = %.lr.ph2, %95 %72 = load ptr, ptr %8, align 8 %73 = load i64, ptr %15, align 8 %74 = getelementptr inbounds i8, ptr %72, i64 %73 %75 = load i16, ptr %17, align 2 %76 = sext i16 %75 to i32 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %74, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = load ptr, ptr %12, align 8 %82 = load i64, ptr %15, align 8 %83 = getelementptr inbounds i8, ptr %81, i64 %82 %84 = load i16, ptr %17, align 2 %85 = sext i16 %84 to i32 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %83, i64 %86 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = xor i32 %80, %89 %91 = trunc i32 %90 to i8 %92 = load i16, ptr %17, align 2 %93 = sext i16 %92 to i64 %94 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 %93 store i8 %91, ptr %94, align 1 br label %95 95: ; preds = %71 %96 = load i16, ptr %17, align 2 %97 = add i16 %96, 1 store i16 %97, ptr %17, align 2 %98 = load i16, ptr %17, align 2 %99 = sext i16 %98 to i32 %100 = icmp slt i32 %99, 16 br i1 %100, label %71, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %95 br label %101 101: ; preds = %._crit_edge3, %67 br label %102 102: ; preds = %101 %103 = load i64, ptr %15, align 8 %104 = add i64 %103, 16 store i64 %104, ptr %15, align 8 %105 = load i64, ptr %15, align 8 %106 = add i64 %105, 15 %107 = load i64, ptr %9, align 8 %108 = icmp ult i64 %106, %107 br i1 %108, label %25, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %102 br label %109 109: ; preds = %._crit_edge6, %6 %110 = load ptr, ptr %12, align 8 %111 = load i64, ptr %9, align 8 %112 = call i64 @aes_calclength(ptr noundef %110, i64 noundef %111) ret i64 %112 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @aes_invcipher(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @aes_calclength(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp167te924.c' source_filename = "/tmp/tmp167te924.c" target datalayout = "e-m:e-p270: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_max_bounds_width(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/tmp167te924.c" target datalayout = "e-m:e-p270: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_max_bounds_width(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/tmppabwy0kc.c' source_filename = "/tmp/tmppabwy0kc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"\ED\99\80\EC\88\98\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"\EC\A7\9D\EC\88\98\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %15, %0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %3 %8 = load i32, ptr %2, align 4 %9 = srem i32 %8, 2 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i64 %12 = select i1 %10, ptr @.str.1, ptr @.str.2 %13 = call i32 @printf(ptr noundef %12) br label %14 14: ; preds = %7, %3 br label %15 15: ; preds = %14 %16 = load i32, ptr %2, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %3, label %18, !llvm.loop !6 18: ; preds = %15 %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppabwy0kc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"\ED\99\80\EC\88\98\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"\EC\A7\9D\EC\88\98\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %15, %0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %3 %8 = load i32, ptr %2, align 4 %9 = srem i32 %8, 2 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i64 %12 = select i1 %10, ptr @.str.1, ptr @.str.2 %13 = call i32 @printf(ptr noundef %12) br label %14 14: ; preds = %7, %3 br label %15 15: ; preds = %14 %16 = load i32, ptr %2, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %3, label %18, !llvm.loop !6 18: ; preds = %15 %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp3on02yt5.c' source_filename = "/tmp/tmp3on02yt5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_referenceBP_array(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 i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i16, ptr %14, i64 0 %16 = load i16, ptr %15, align 2 %17 = sext i16 %16 to i32 store i32 %17, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = add i32 %18, 1 %20 = load i32, ptr %9, align 4 %21 = add i32 %20, 2 %22 = mul i32 %19, %21 %23 = udiv i32 %22, 2 store i32 %23, ptr %12, align 4 %24 = load i32, ptr %9, align 4 %25 = call ptr @get_iindx(i32 noundef %24) store ptr %25, ptr %10, align 8 %26 = load i32, ptr %12, align 4 %27 = zext i32 %26 to i64 %28 = mul i64 4, %27 %29 = trunc i64 %28 to i32 %30 = call i64 @space(i32 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %11, align 8 store i32 0, ptr %7, align 4 br label %32 32: ; preds = %62, %2 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp ule i32 %33, %34 br i1 %35, label %36, label %65 36: ; preds = %32 store i32 1, ptr %5, align 4 br label %37 37: ; preds = %58, %36 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr %7, align 4 %41 = sub i32 %39, %40 %42 = icmp ule i32 %38, %41 br i1 %42, label %43, label %61 43: ; preds = %37 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %7, align 4 %46 = add i32 %44, %45 store i32 %46, ptr %6, align 4 %47 = load ptr, ptr %10, align 8 %48 = load i32, ptr %5, align 4 %49 = zext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = load i32, ptr %50, align 4 %52 = load i32, ptr %6, align 4 %53 = sub i32 %51, %52 store i32 %53, ptr %8, align 4 %54 = load ptr, ptr %11, align 8 %55 = load i32, ptr %8, align 4 %56 = zext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 store i32 0, ptr %57, align 4 br label %58 58: ; preds = %43 %59 = load i32, ptr %5, align 4 %60 = add i32 %59, 1 store i32 %60, ptr %5, align 4 br label %37, !llvm.loop !6 61: ; preds = %37 br label %62 62: ; preds = %61 %63 = load i32, ptr %7, align 4 %64 = add i32 %63, 1 store i32 %64, ptr %7, align 4 br label %32, !llvm.loop !8 65: ; preds = %32 %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %4, align 4 %68 = sub i32 %66, %67 %69 = sub i32 %68, 1 store i32 %69, ptr %5, align 4 br label %70 70: ; preds = %126, %65 %71 = load i32, ptr %5, align 4 %72 = icmp uge i32 %71, 1 br i1 %72, label %73, label %129 73: ; preds = %70 %74 = load i32, ptr %5, align 4 %75 = load i32, ptr %4, align 4 %76 = add i32 %74, %75 %77 = add i32 %76, 1 store i32 %77, ptr %6, align 4 br label %78 78: ; preds = %122, %73 %79 = load i32, ptr %6, align 4 %80 = load i32, ptr %9, align 4 %81 = icmp ule i32 %79, %80 br i1 %81, label %82, label %125 82: ; preds = %78 %83 = load ptr, ptr %10, align 8 %84 = load i32, ptr %5, align 4 %85 = zext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = load i32, ptr %86, align 4 %88 = load i32, ptr %6, align 4 %89 = sub i32 %87, %88 store i32 %89, ptr %8, align 4 %90 = load ptr, ptr %11, align 8 %91 = load i32, ptr %8, align 4 %92 = add i32 %91, 1 %93 = zext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %90, i64 %93 %95 = load i32, ptr %94, align 4 store i32 %95, ptr %13, align 4 %96 = load i32, ptr %5, align 4 %97 = load ptr, ptr %3, align 8 %98 = load i32, ptr %6, align 4 %99 = zext i32 %98 to i64 %100 = getelementptr inbounds i16, ptr %97, i64 %99 %101 = load i16, ptr %100, align 2 %102 = sext i16 %101 to i32 %103 = icmp ule i32 %96, %102 br i1 %103, label %104, label %116 104: ; preds = %82 %105 = load ptr, ptr %3, align 8 %106 = load i32, ptr %6, align 4 %107 = zext i32 %106 to i64 %108 = getelementptr inbounds i16, ptr %105, i64 %107 %109 = load i16, ptr %108, align 2 %110 = sext i16 %109 to i32 %111 = load i32, ptr %6, align 4 %112 = icmp ult i32 %110, %111 br i1 %112, label %113, label %116 113: ; preds = %104 %114 = load i32, ptr %13, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %13, align 4 br label %116 116: ; preds = %113, %104, %82 %117 = load i32, ptr %13, align 4 %118 = load ptr, ptr %11, align 8 %119 = load i32, ptr %8, align 4 %120 = zext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %118, i64 %120 store i32 %117, ptr %121, align 4 br label %122 122: ; preds = %116 %123 = load i32, ptr %6, align 4 %124 = add i32 %123, 1 store i32 %124, ptr %6, align 4 br label %78, !llvm.loop !9 125: ; preds = %78 br label %126 126: ; preds = %125 %127 = load i32, ptr %5, align 4 %128 = add i32 %127, -1 store i32 %128, ptr %5, align 4 br label %70, !llvm.loop !10 129: ; preds = %70 %130 = load ptr, ptr %10, align 8 %131 = call i32 @free(ptr noundef %130) %132 = load ptr, ptr %11, align 8 ret ptr %132 } declare ptr @get_iindx(i32 noundef) #1 declare i64 @space(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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3on02yt5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_referenceBP_array(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 i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i16, ptr %14, i64 0 %16 = load i16, ptr %15, align 2 %17 = sext i16 %16 to i32 store i32 %17, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = add i32 %18, 1 %20 = load i32, ptr %9, align 4 %21 = add i32 %20, 2 %22 = mul i32 %19, %21 %23 = udiv i32 %22, 2 store i32 %23, ptr %12, align 4 %24 = load i32, ptr %9, align 4 %25 = call ptr @get_iindx(i32 noundef %24) store ptr %25, ptr %10, align 8 %26 = load i32, ptr %12, align 4 %27 = zext i32 %26 to i64 %28 = mul i64 4, %27 %29 = trunc i64 %28 to i32 %30 = call i64 @space(i32 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %11, align 8 store i32 0, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp ule i32 %32, %33 br i1 %34, label %.lr.ph2, label %71 .lr.ph2: ; preds = %2 br label %35 35: ; preds = %.lr.ph2, %65 store i32 1, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %7, align 4 %39 = sub i32 %37, %38 %40 = icmp ule i32 %36, %39 br i1 %40, label %.lr.ph, label %64 .lr.ph: ; preds = %35 br label %41 41: ; preds = %.lr.ph, %56 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %7, align 4 %44 = add i32 %42, %43 store i32 %44, ptr %6, align 4 %45 = load ptr, ptr %10, align 8 %46 = load i32, ptr %5, align 4 %47 = zext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = load i32, ptr %6, align 4 %51 = sub i32 %49, %50 store i32 %51, ptr %8, align 4 %52 = load ptr, ptr %11, align 8 %53 = load i32, ptr %8, align 4 %54 = zext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 store i32 0, ptr %55, align 4 br label %56 56: ; preds = %41 %57 = load i32, ptr %5, align 4 %58 = add i32 %57, 1 store i32 %58, ptr %5, align 4 %59 = load i32, ptr %5, align 4 %60 = load i32, ptr %9, align 4 %61 = load i32, ptr %7, align 4 %62 = sub i32 %60, %61 %63 = icmp ule i32 %59, %62 br i1 %63, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %64 64: ; preds = %._crit_edge, %35 br label %65 65: ; preds = %64 %66 = load i32, ptr %7, align 4 %67 = add i32 %66, 1 store i32 %67, ptr %7, align 4 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp ule i32 %68, %69 br i1 %70, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %2 %72 = load i32, ptr %9, align 4 %73 = load i32, ptr %4, align 4 %74 = sub i32 %72, %73 %75 = sub i32 %74, 1 store i32 %75, ptr %5, align 4 %76 = load i32, ptr %5, align 4 %77 = icmp uge i32 %76, 1 br i1 %77, label %.lr.ph8, label %138 .lr.ph8: ; preds = %71 br label %78 78: ; preds = %.lr.ph8, %133 %79 = load i32, ptr %5, align 4 %80 = load i32, ptr %4, align 4 %81 = add i32 %79, %80 %82 = add i32 %81, 1 store i32 %82, ptr %6, align 4 %83 = load i32, ptr %6, align 4 %84 = load i32, ptr %9, align 4 %85 = icmp ule i32 %83, %84 br i1 %85, label %.lr.ph5, label %132 .lr.ph5: ; preds = %78 br label %86 86: ; preds = %.lr.ph5, %126 %87 = load ptr, ptr %10, align 8 %88 = load i32, ptr %5, align 4 %89 = zext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 %91 = load i32, ptr %90, align 4 %92 = load i32, ptr %6, align 4 %93 = sub i32 %91, %92 store i32 %93, ptr %8, align 4 %94 = load ptr, ptr %11, align 8 %95 = load i32, ptr %8, align 4 %96 = add i32 %95, 1 %97 = zext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %94, i64 %97 %99 = load i32, ptr %98, align 4 store i32 %99, ptr %13, align 4 %100 = load i32, ptr %5, align 4 %101 = load ptr, ptr %3, align 8 %102 = load i32, ptr %6, align 4 %103 = zext i32 %102 to i64 %104 = getelementptr inbounds i16, ptr %101, i64 %103 %105 = load i16, ptr %104, align 2 %106 = sext i16 %105 to i32 %107 = icmp ule i32 %100, %106 br i1 %107, label %108, label %120 108: ; preds = %86 %109 = load ptr, ptr %3, align 8 %110 = load i32, ptr %6, align 4 %111 = zext i32 %110 to i64 %112 = getelementptr inbounds i16, ptr %109, i64 %111 %113 = load i16, ptr %112, align 2 %114 = sext i16 %113 to i32 %115 = load i32, ptr %6, align 4 %116 = icmp ult i32 %114, %115 br i1 %116, label %117, label %120 117: ; preds = %108 %118 = load i32, ptr %13, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %13, align 4 br label %120 120: ; preds = %117, %108, %86 %121 = load i32, ptr %13, align 4 %122 = load ptr, ptr %11, align 8 %123 = load i32, ptr %8, align 4 %124 = zext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %122, i64 %124 store i32 %121, ptr %125, align 4 br label %126 126: ; preds = %120 %127 = load i32, ptr %6, align 4 %128 = add i32 %127, 1 store i32 %128, ptr %6, align 4 %129 = load i32, ptr %6, align 4 %130 = load i32, ptr %9, align 4 %131 = icmp ule i32 %129, %130 br i1 %131, label %86, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %126 br label %132 132: ; preds = %._crit_edge6, %78 br label %133 133: ; preds = %132 %134 = load i32, ptr %5, align 4 %135 = add i32 %134, -1 store i32 %135, ptr %5, align 4 %136 = load i32, ptr %5, align 4 %137 = icmp uge i32 %136, 1 br i1 %137, label %78, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %133 br label %138 138: ; preds = %._crit_edge9, %71 %139 = load ptr, ptr %10, align 8 %140 = call i32 @free(ptr noundef %139) %141 = load ptr, ptr %11, align 8 ret ptr %141 } declare ptr @get_iindx(i32 noundef) #1 declare i64 @space(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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpoq96oecm.c' source_filename = "/tmp/tmpoq96oecm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rgph_u32x4_murmur32v_u16(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i64, ptr %5, align 8 %8 = load ptr, ptr %6, align 8 %9 = getelementptr inbounds i64, ptr %8, i64 3 store i64 %7, ptr %9, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds i64, ptr %10, i64 2 store i64 %7, ptr %11, align 8 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds i64, ptr %12, i64 1 store i64 %7, ptr %13, align 8 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i64, ptr %14, i64 0 store i64 %7, ptr %15, align 8 %16 = load i32, ptr %4, align 4 %17 = call i32 @htole16(i32 noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i32 @rgph_murmur32_mix0(i32 noundef %17, ptr noundef %18) %20 = load ptr, ptr %6, align 8 %21 = call i32 @rgph_murmur32_finalise(i32 noundef 4, ptr noundef %20) ret void } declare i32 @rgph_murmur32_mix0(i32 noundef, ptr noundef) #1 declare i32 @htole16(i32 noundef) #1 declare i32 @rgph_murmur32_finalise(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/tmpoq96oecm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rgph_u32x4_murmur32v_u16(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i64, ptr %5, align 8 %8 = load ptr, ptr %6, align 8 %9 = getelementptr inbounds i64, ptr %8, i64 3 store i64 %7, ptr %9, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds i64, ptr %10, i64 2 store i64 %7, ptr %11, align 8 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds i64, ptr %12, i64 1 store i64 %7, ptr %13, align 8 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i64, ptr %14, i64 0 store i64 %7, ptr %15, align 8 %16 = load i32, ptr %4, align 4 %17 = call i32 @htole16(i32 noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i32 @rgph_murmur32_mix0(i32 noundef %17, ptr noundef %18) %20 = load ptr, ptr %6, align 8 %21 = call i32 @rgph_murmur32_finalise(i32 noundef 4, ptr noundef %20) ret void } declare i32 @rgph_murmur32_mix0(i32 noundef, ptr noundef) #1 declare i32 @htole16(i32 noundef) #1 declare i32 @rgph_murmur32_finalise(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/tmpol9a0iyx.c' source_filename = "/tmp/tmpol9a0iyx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/%d/maps\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Error when open file\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getAddress(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca [1000 x i8], align 16 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1000, i1 false) store ptr null, ptr %5, align 8 store i64 0, ptr %6, align 8 store ptr null, ptr %7, align 8 %8 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %9 = call i32 (...) @getpid() %10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9) %11 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str.1) store ptr %12, ptr %7, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %17, label %14 14: ; preds = %1 %15 = call i32 @perror(ptr noundef @.str.2) %16 = load i64, ptr %6, align 8 store i64 %16, ptr %2, align 8 br label %36 17: ; preds = %1 br label %18 18: ; preds = %33, %17 %19 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %20 = load ptr, ptr %7, align 8 %21 = call i64 @fgets(ptr noundef %19, i32 noundef 1000, ptr noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %34 23: ; preds = %18 %24 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %25 = load ptr, ptr %3, align 8 %26 = call i64 @strstr(ptr noundef %24, ptr noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %23 %29 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %30 = call ptr @strtok(ptr noundef %29, ptr noundef @.str.3) store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %5, align 8 %32 = call i64 @strtol(ptr noundef %31, ptr noundef null, i32 noundef 16) store i64 %32, ptr %6, align 8 br label %34 33: ; preds = %23 br label %18, !llvm.loop !6 34: ; preds = %28, %18 %35 = load i64, ptr %6, align 8 store i64 %35, ptr %2, align 8 br label %36 36: ; preds = %34, %14 %37 = load i64, ptr %2, align 8 ret i64 %37 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @getpid(...) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i64 @strstr(ptr noundef, ptr noundef) #2 declare ptr @strtok(ptr noundef, ptr noundef) #2 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpol9a0iyx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/%d/maps\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Error when open file\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getAddress(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca [1000 x i8], align 16 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1000, i1 false) store ptr null, ptr %5, align 8 store i64 0, ptr %6, align 8 store ptr null, ptr %7, align 8 %8 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %9 = call i32 (...) @getpid() %10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9) %11 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str.1) store ptr %12, ptr %7, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %17, label %14 14: ; preds = %1 %15 = call i32 @perror(ptr noundef @.str.2) %16 = load i64, ptr %6, align 8 store i64 %16, ptr %2, align 8 br label %38 17: ; preds = %1 %18 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %19 = load ptr, ptr %7, align 8 %20 = call i64 @fgets(ptr noundef %18, i32 noundef 1000, ptr noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %17 br label %26 22: ; preds = %26 %23 = load ptr, ptr %7, align 8 %24 = call i64 @fgets(ptr noundef %18, i32 noundef 1000, ptr noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %..loopexit_crit_edge, !llvm.loop !6 26: ; preds = %.lr.ph, %22 %27 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %28 = load ptr, ptr %3, align 8 %29 = call i64 @strstr(ptr noundef %27, ptr noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %22 31: ; preds = %26 %32 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0 %33 = call ptr @strtok(ptr noundef %32, ptr noundef @.str.3) store ptr %33, ptr %5, align 8 %34 = load ptr, ptr %5, align 8 %35 = call i64 @strtol(ptr noundef %34, ptr noundef null, i32 noundef 16) store i64 %35, ptr %6, align 8 br label %36 ..loopexit_crit_edge: ; preds = %22 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %17 br label %36 36: ; preds = %.loopexit, %31 %37 = load i64, ptr %6, align 8 store i64 %37, ptr %2, align 8 br label %38 38: ; preds = %36, %14 %39 = load i64, ptr %2, align 8 ret i64 %39 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @getpid(...) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i64 @strstr(ptr noundef, ptr noundef) #2 declare ptr @strtok(ptr noundef, ptr noundef) #2 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk9q1axgo.c' source_filename = "/tmp/tmpk9q1axgo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @veuc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds double, ptr %5, i64 0 %7 = load double, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds double, ptr %8, i64 0 %10 = load double, ptr %9, align 8 %11 = fsub double %7, %10 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds double, ptr %12, i64 0 %14 = load double, ptr %13, align 8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds double, ptr %15, i64 0 %17 = load double, ptr %16, align 8 %18 = fsub double %14, %17 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %20, align 8 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds double, ptr %22, i64 1 %24 = load double, ptr %23, align 8 %25 = fsub double %21, %24 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds double, ptr %26, i64 1 %28 = load double, ptr %27, align 8 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds double, ptr %29, i64 1 %31 = load double, ptr %30, align 8 %32 = fsub double %28, %31 %33 = fmul double %25, %32 %34 = call double @llvm.fmuladd.f64(double %11, double %18, double %33) %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds double, ptr %35, i64 2 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds double, ptr %38, i64 2 %40 = load double, ptr %39, align 8 %41 = fsub double %37, %40 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds double, ptr %42, i64 2 %44 = load double, ptr %43, align 8 %45 = load ptr, ptr %3, align 8 %46 = getelementptr inbounds double, ptr %45, i64 2 %47 = load double, ptr %46, align 8 %48 = fsub double %44, %47 %49 = call double @llvm.fmuladd.f64(double %41, double %48, double %34) %50 = call double @sqrt(double noundef %49) #3 ret double %50 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk9q1axgo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @veuc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds double, ptr %5, i64 0 %7 = load double, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds double, ptr %8, i64 0 %10 = load double, ptr %9, align 8 %11 = fsub double %7, %10 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds double, ptr %12, i64 0 %14 = load double, ptr %13, align 8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds double, ptr %15, i64 0 %17 = load double, ptr %16, align 8 %18 = fsub double %14, %17 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %20, align 8 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds double, ptr %22, i64 1 %24 = load double, ptr %23, align 8 %25 = fsub double %21, %24 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds double, ptr %26, i64 1 %28 = load double, ptr %27, align 8 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds double, ptr %29, i64 1 %31 = load double, ptr %30, align 8 %32 = fsub double %28, %31 %33 = fmul double %25, %32 %34 = call double @llvm.fmuladd.f64(double %11, double %18, double %33) %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds double, ptr %35, i64 2 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds double, ptr %38, i64 2 %40 = load double, ptr %39, align 8 %41 = fsub double %37, %40 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds double, ptr %42, i64 2 %44 = load double, ptr %43, align 8 %45 = load ptr, ptr %3, align 8 %46 = getelementptr inbounds double, ptr %45, i64 2 %47 = load double, ptr %46, align 8 %48 = fsub double %44, %47 %49 = call double @llvm.fmuladd.f64(double %41, double %48, double %34) %50 = call double @sqrt(double noundef %49) #3 ret double %50 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoy5nymgz.c' source_filename = "/tmp/tmpoy5nymgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_req_int(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %11, label %27 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = call ptr @get_str(ptr noundef %12, i32 noundef %13) store ptr %14, ptr %8, align 8 %15 = load ptr, ptr %8, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %25 17: ; preds = %11 %18 = load ptr, ptr %8, align 8 %19 = call i64 @strlen(ptr noundef %18) %20 = icmp sgt i64 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %17 %22 = load ptr, ptr %7, align 8 store i32 1, ptr %22, align 4 %23 = load ptr, ptr %8, align 8 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %4, align 4 br label %29 25: ; preds = %17, %11 %26 = load ptr, ptr %7, align 8 store i32 0, ptr %26, align 4 store i32 0, ptr %4, align 4 br label %29 27: ; preds = %3 %28 = load ptr, ptr %7, align 8 store i32 0, ptr %28, align 4 store i32 0, ptr %4, align 4 br label %29 29: ; preds = %27, %25, %21 %30 = load i32, ptr %4, align 4 ret i32 %30 } declare ptr @get_str(ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoy5nymgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_req_int(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %11, label %27 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = call ptr @get_str(ptr noundef %12, i32 noundef %13) store ptr %14, ptr %8, align 8 %15 = load ptr, ptr %8, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %25 17: ; preds = %11 %18 = load ptr, ptr %8, align 8 %19 = call i64 @strlen(ptr noundef %18) %20 = icmp sgt i64 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %17 %22 = load ptr, ptr %7, align 8 store i32 1, ptr %22, align 4 %23 = load ptr, ptr %8, align 8 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %4, align 4 br label %29 25: ; preds = %17, %11 %26 = load ptr, ptr %7, align 8 store i32 0, ptr %26, align 4 store i32 0, ptr %4, align 4 br label %29 27: ; preds = %3 %28 = load ptr, ptr %7, align 8 store i32 0, ptr %28, align 4 store i32 0, ptr %4, align 4 br label %29 29: ; preds = %27, %25, %21 %30 = load i32, ptr %4, align 4 ret i32 %30 } declare ptr @get_str(ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf7odj8jb.c' source_filename = "/tmp/tmpf7odj8jb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcstoq(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca [200 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 0, ptr %8, align 8 br label %12 12: ; preds = %26, %3 %13 = load i64, ptr %8, align 8 %14 = load ptr, ptr %5, align 8 %15 = call i64 @wcslen(ptr noundef %14) %16 = icmp ule i64 %13, %15 br i1 %16, label %17, label %29 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %8, align 8 %20 = getelementptr inbounds i32, ptr %18, i64 %19 %21 = load i32, ptr %20, align 4 %22 = and i32 %21, 255 %23 = trunc i32 %22 to i8 %24 = load i64, ptr %8, align 8 %25 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 %24 store i8 %23, ptr %25, align 1 br label %26 26: ; preds = %17 %27 = load i64, ptr %8, align 8 %28 = add i64 %27, 1 store i64 %28, ptr %8, align 8 br label %12, !llvm.loop !6 29: ; preds = %12 %30 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 0 %31 = load i32, ptr %7, align 4 %32 = call i32 @strtoq(ptr noundef %30, ptr noundef %10, i32 noundef %31) store i32 %32, ptr %11, align 4 %33 = load ptr, ptr %6, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %37 35: ; preds = %29 %36 = load i32, ptr %11, align 4 store i32 %36, ptr %4, align 4 br label %48 37: ; preds = %29 %38 = load ptr, ptr %10, align 8 %39 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 0 %40 = ptrtoint ptr %38 to i64 %41 = ptrtoint ptr %39 to i64 %42 = sub i64 %40, %41 store i64 %42, ptr %8, align 8 %43 = load ptr, ptr %5, align 8 %44 = load i64, ptr %8, align 8 %45 = getelementptr inbounds i32, ptr %43, i64 %44 %46 = load ptr, ptr %6, align 8 store ptr %45, ptr %46, align 8 %47 = load i32, ptr %11, align 4 store i32 %47, ptr %4, align 4 br label %48 48: ; preds = %37, %35 %49 = load i32, ptr %4, align 4 ret i32 %49 } declare i64 @wcslen(ptr noundef) #1 declare i32 @strtoq(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/tmpf7odj8jb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcstoq(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca [200 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 0, ptr %8, align 8 %12 = load i64, ptr %8, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i64 @wcslen(ptr noundef %13) %15 = icmp ule i64 %12, %14 br i1 %15, label %.lr.ph, label %32 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %25 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %8, align 8 %19 = getelementptr inbounds i32, ptr %17, i64 %18 %20 = load i32, ptr %19, align 4 %21 = and i32 %20, 255 %22 = trunc i32 %21 to i8 %23 = load i64, ptr %8, align 8 %24 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 %23 store i8 %22, ptr %24, align 1 br label %25 25: ; preds = %16 %26 = load i64, ptr %8, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %8, align 8 %28 = load i64, ptr %8, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i64 @wcslen(ptr noundef %29) %31 = icmp ule i64 %28, %30 br i1 %31, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %32 32: ; preds = %._crit_edge, %3 %33 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 0 %34 = load i32, ptr %7, align 4 %35 = call i32 @strtoq(ptr noundef %33, ptr noundef %10, i32 noundef %34) store i32 %35, ptr %11, align 4 %36 = load ptr, ptr %6, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %32 %39 = load i32, ptr %11, align 4 store i32 %39, ptr %4, align 4 br label %51 40: ; preds = %32 %41 = load ptr, ptr %10, align 8 %42 = getelementptr inbounds [200 x i8], ptr %9, i64 0, i64 0 %43 = ptrtoint ptr %41 to i64 %44 = ptrtoint ptr %42 to i64 %45 = sub i64 %43, %44 store i64 %45, ptr %8, align 8 %46 = load ptr, ptr %5, align 8 %47 = load i64, ptr %8, align 8 %48 = getelementptr inbounds i32, ptr %46, i64 %47 %49 = load ptr, ptr %6, align 8 store ptr %48, ptr %49, align 8 %50 = load i32, ptr %11, align 4 store i32 %50, ptr %4, align 4 br label %51 51: ; preds = %40, %38 %52 = load i32, ptr %4, align 4 ret i32 %52 } declare i64 @wcslen(ptr noundef) #1 declare i32 @strtoq(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/tmpv0waum5c.c' source_filename = "/tmp/tmpv0waum5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"DCV1_0\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"DCV1_1\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"DCV1_2\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"DCV2_0\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"DCV2_1\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"DCV2_2\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"DCV3_0\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"DCV3_1\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"DCV3_2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_decompose_cartesian_vectors() #0 { %1 = alloca [3 x [3 x double]], align 16 %2 = alloca [3 x double], align 16 %3 = alloca [3 x double], align 16 %4 = alloca [3 x double], align 16 %5 = alloca double, align 8 %6 = alloca [3 x double], align 16 %7 = alloca [3 x double], align 16 %8 = alloca [3 x double], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 0 %12 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0 store double 1.000000e+00, ptr %12, align 16 %13 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 0 %14 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 1 store double 2.000000e+00, ptr %14, align 8 %15 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 0 %16 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2 store double 0.000000e+00, ptr %16, align 16 %17 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 1 %18 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0 store double 0.000000e+00, ptr %18, align 8 %19 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 1 %20 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 1 store double 1.000000e+00, ptr %20, align 8 %21 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 1 %22 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 2 store double 0.000000e+00, ptr %22, align 8 %23 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 2 %24 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0 store double 1.000000e+00, ptr %24, align 16 %25 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 2 %26 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 1 store double 1.000000e+00, ptr %26, align 8 %27 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 2 %28 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 2 store double 1.000000e+00, ptr %28, align 16 %29 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 0 %30 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 0 %31 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 0 %32 = getelementptr inbounds [3 x double], ptr %4, i64 0, i64 0 %33 = call i32 @decompose_cartesian_vectors(ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32) store double 0x3EB0C6F7A0B5ED8D, ptr %5, align 8 store i32 0, ptr %9, align 4 br label %34 34: ; preds = %103, %0 %35 = load i32, ptr %9, align 4 %36 = icmp slt i32 %35, 3 br i1 %36, label %37, label %106 37: ; preds = %34 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %39 store double 0.000000e+00, ptr %40, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 %42 store double 0.000000e+00, ptr %43, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 %45 store double 0.000000e+00, ptr %46, align 8 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %99, %37 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 3 br i1 %49, label %50, label %102 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 %52 %54 = load double, ptr %53, align 8 %55 = load i32, ptr %10, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 %56 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [3 x double], ptr %57, i64 0, i64 %59 %61 = load double, ptr %60, align 8 %62 = load i32, ptr %9, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 %63 %65 = load double, ptr %64, align 8 %66 = call double @llvm.fmuladd.f64(double %54, double %61, double %65) store double %66, ptr %64, align 8 %67 = load i32, ptr %10, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 %68 %70 = load double, ptr %69, align 8 %71 = load i32, ptr %10, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 %72 %74 = load i32, ptr %9, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [3 x double], ptr %73, i64 0, i64 %75 %77 = load double, ptr %76, align 8 %78 = load i32, ptr %9, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 %79 %81 = load double, ptr %80, align 8 %82 = call double @llvm.fmuladd.f64(double %70, double %77, double %81) store double %82, ptr %80, align 8 %83 = load i32, ptr %10, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [3 x double], ptr %4, i64 0, i64 %84 %86 = load double, ptr %85, align 8 %87 = load i32, ptr %10, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 %88 %90 = load i32, ptr %9, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [3 x double], ptr %89, i64 0, i64 %91 %93 = load double, ptr %92, align 8 %94 = load i32, ptr %9, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %95 %97 = load double, ptr %96, align 8 %98 = call double @llvm.fmuladd.f64(double %86, double %93, double %97) store double %98, ptr %96, align 8 br label %99 99: ; preds = %50 %100 = load i32, ptr %10, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %10, align 4 br label %47, !llvm.loop !6 102: ; preds = %47 br label %103 103: ; preds = %102 %104 = load i32, ptr %9, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %9, align 4 br label %34, !llvm.loop !8 106: ; preds = %34 %107 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 0 %108 = load double, ptr %107, align 16 %109 = call i32 @test_double(i32 noundef 1, double noundef %108, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str) %110 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 1 %111 = load double, ptr %110, align 8 %112 = call i32 @test_double(i32 noundef 0, double noundef %111, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.1) %113 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 2 %114 = load double, ptr %113, align 16 %115 = call i32 @test_double(i32 noundef 0, double noundef %114, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.2) %116 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0 %117 = load double, ptr %116, align 16 %118 = call i32 @test_double(i32 noundef 0, double noundef %117, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.3) %119 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 1 %120 = load double, ptr %119, align 8 %121 = call i32 @test_double(i32 noundef 1, double noundef %120, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.4) %122 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 2 %123 = load double, ptr %122, align 16 %124 = call i32 @test_double(i32 noundef 0, double noundef %123, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.5) %125 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0 %126 = load double, ptr %125, align 16 %127 = call i32 @test_double(i32 noundef 0, double noundef %126, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.6) %128 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 1 %129 = load double, ptr %128, align 8 %130 = call i32 @test_double(i32 noundef 0, double noundef %129, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.7) %131 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 2 %132 = load double, ptr %131, align 16 %133 = call i32 @test_double(i32 noundef 1, double noundef %132, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.8) ret void } declare i32 @decompose_cartesian_vectors(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @test_double(i32 noundef, double noundef, double noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv0waum5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"DCV1_0\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"DCV1_1\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"DCV1_2\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"DCV2_0\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"DCV2_1\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"DCV2_2\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"DCV3_0\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"DCV3_1\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"DCV3_2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_decompose_cartesian_vectors() #0 { %1 = alloca [3 x [3 x double]], align 16 %2 = alloca [3 x double], align 16 %3 = alloca [3 x double], align 16 %4 = alloca [3 x double], align 16 %5 = alloca double, align 8 %6 = alloca [3 x double], align 16 %7 = alloca [3 x double], align 16 %8 = alloca [3 x double], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 0 %12 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0 store double 1.000000e+00, ptr %12, align 16 %13 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 0 %14 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 1 store double 2.000000e+00, ptr %14, align 8 %15 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 0 %16 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 2 store double 0.000000e+00, ptr %16, align 16 %17 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 1 %18 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0 store double 0.000000e+00, ptr %18, align 8 %19 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 1 %20 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 1 store double 1.000000e+00, ptr %20, align 8 %21 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 1 %22 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 2 store double 0.000000e+00, ptr %22, align 8 %23 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 2 %24 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0 store double 1.000000e+00, ptr %24, align 16 %25 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 2 %26 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 1 store double 1.000000e+00, ptr %26, align 8 %27 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 2 %28 = getelementptr inbounds [3 x double], ptr %27, i64 0, i64 2 store double 1.000000e+00, ptr %28, align 16 %29 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 0 %30 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 0 %31 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 0 %32 = getelementptr inbounds [3 x double], ptr %4, i64 0, i64 0 %33 = call i32 @decompose_cartesian_vectors(ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32) store double 0x3EB0C6F7A0B5ED8D, ptr %5, align 8 store i32 0, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %34, 3 br i1 %35, label %.lr.ph2, label %108 .lr.ph2: ; preds = %0 br label %36 36: ; preds = %.lr.ph2, %103 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %38 store double 0.000000e+00, ptr %39, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 %41 store double 0.000000e+00, ptr %42, align 8 %43 = load i32, ptr %9, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 %44 store double 0.000000e+00, ptr %45, align 8 store i32 0, ptr %10, align 4 %46 = load i32, ptr %10, align 4 %47 = icmp slt i32 %46, 3 br i1 %47, label %.lr.ph, label %102 .lr.ph: ; preds = %36 br label %48 48: ; preds = %.lr.ph, %97 %49 = load i32, ptr %10, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 %50 %52 = load double, ptr %51, align 8 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 %54 %56 = load i32, ptr %9, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 %57 %59 = load double, ptr %58, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 %61 %63 = load double, ptr %62, align 8 %64 = call double @llvm.fmuladd.f64(double %52, double %59, double %63) store double %64, ptr %62, align 8 %65 = load i32, ptr %10, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [3 x double], ptr %3, i64 0, i64 %66 %68 = load double, ptr %67, align 8 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 %70 %72 = load i32, ptr %9, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [3 x double], ptr %71, i64 0, i64 %73 %75 = load double, ptr %74, align 8 %76 = load i32, ptr %9, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 %77 %79 = load double, ptr %78, align 8 %80 = call double @llvm.fmuladd.f64(double %68, double %75, double %79) store double %80, ptr %78, align 8 %81 = load i32, ptr %10, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [3 x double], ptr %4, i64 0, i64 %82 %84 = load double, ptr %83, align 8 %85 = load i32, ptr %10, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [3 x [3 x double]], ptr %1, i64 0, i64 %86 %88 = load i32, ptr %9, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [3 x double], ptr %87, i64 0, i64 %89 %91 = load double, ptr %90, align 8 %92 = load i32, ptr %9, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %93 %95 = load double, ptr %94, align 8 %96 = call double @llvm.fmuladd.f64(double %84, double %91, double %95) store double %96, ptr %94, align 8 br label %97 97: ; preds = %48 %98 = load i32, ptr %10, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %10, align 4 %100 = load i32, ptr %10, align 4 %101 = icmp slt i32 %100, 3 br i1 %101, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %97 br label %102 102: ; preds = %._crit_edge, %36 br label %103 103: ; preds = %102 %104 = load i32, ptr %9, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %9, align 4 %106 = load i32, ptr %9, align 4 %107 = icmp slt i32 %106, 3 br i1 %107, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %103 br label %108 108: ; preds = %._crit_edge3, %0 %109 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 0 %110 = load double, ptr %109, align 16 %111 = call i32 @test_double(i32 noundef 1, double noundef %110, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str) %112 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 1 %113 = load double, ptr %112, align 8 %114 = call i32 @test_double(i32 noundef 0, double noundef %113, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.1) %115 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 2 %116 = load double, ptr %115, align 16 %117 = call i32 @test_double(i32 noundef 0, double noundef %116, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.2) %118 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0 %119 = load double, ptr %118, align 16 %120 = call i32 @test_double(i32 noundef 0, double noundef %119, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.3) %121 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 1 %122 = load double, ptr %121, align 8 %123 = call i32 @test_double(i32 noundef 1, double noundef %122, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.4) %124 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 2 %125 = load double, ptr %124, align 16 %126 = call i32 @test_double(i32 noundef 0, double noundef %125, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.5) %127 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0 %128 = load double, ptr %127, align 16 %129 = call i32 @test_double(i32 noundef 0, double noundef %128, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.6) %130 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 1 %131 = load double, ptr %130, align 8 %132 = call i32 @test_double(i32 noundef 0, double noundef %131, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.7) %133 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 2 %134 = load double, ptr %133, align 16 %135 = call i32 @test_double(i32 noundef 1, double noundef %134, double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef @.str.8) ret void } declare i32 @decompose_cartesian_vectors(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @test_double(i32 noundef, double noundef, double noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree 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}
; ModuleID = '/tmp/tmpu75owca_.c' source_filename = "/tmp/tmpu75owca_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Descriptor_length = 0x%x\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"transport_stream_id = 0x%x\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"original_network_id = 0x%x\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"service_id = 0x%x\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"linkage_type = 0x%x\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"hand-over_type = 0x%x\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"origin_type = 0x%x\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"network_id = 0x%x\0A\00", align 1 @.str.8 = private unnamed_addr constant [27 x i8] c"initial_service_id = 0x%x\0A\00", align 1 @.str.9 = private unnamed_addr constant [24 x i8] c"target_event_id = 0x%x\0A\00", align 1 @.str.10 = private unnamed_addr constant [22 x i8] c"target_listed = 0x%x\0A\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"event_simulcast = 0x%x\0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"loop_length = 0x%x\0A\00", align 1 @.str.13 = private unnamed_addr constant [18 x i8] c"link_type = 0x%x\0A\00", align 1 @.str.14 = private unnamed_addr constant [23 x i8] c"target_id_type = 0x%x\0A\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"original_network_id_flag = 0x%x\0A\00", align 1 @.str.16 = private unnamed_addr constant [24 x i8] c"service_id_flag = 0x%x\0A\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c"user_defined_id = 0x%x\0A\00", align 1 @.str.18 = private unnamed_addr constant [35 x i8] c"target_transport_stream_id = 0x%x\0A\00", align 1 @.str.19 = private unnamed_addr constant [35 x i8] c"target_original_network_id = 0x%x\0A\00", align 1 @.str.20 = private unnamed_addr constant [26 x i8] c"target_service_id = 0x%x\0A\00", align 1 @.str.21 = private unnamed_addr constant [14 x i8] c"private_data:\00", align 1 @.str.22 = private unnamed_addr constant [8 x i8] c" 0x%02x\00", align 1 @.str.23 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @x4A_Tag_DescriptorParser(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i8, align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i8 0, ptr %8, align 1 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr null, %9 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %538 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = call i32 @Parser_DisplayTagInfo(i32 noundef %13, i8 noundef zeroext %16) %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 1 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %18, ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr %4, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 2 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = and i32 %28, 255 %30 = shl i32 %29, 8 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 3 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = and i32 %34, 255 %36 = or i32 %30, %35 %37 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %24, ptr noundef @.str.1, i32 noundef %36) %38 = load i32, ptr %4, align 4 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 4 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = and i32 %42, 255 %44 = shl i32 %43, 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 5 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = and i32 %48, 255 %50 = or i32 %44, %49 %51 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %38, ptr noundef @.str.2, i32 noundef %50) %52 = load i32, ptr %4, align 4 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 6 %55 = load i8, ptr %54, align 1 %56 = zext i8 %55 to i32 %57 = and i32 %56, 255 %58 = shl i32 %57, 8 %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 7 %61 = load i8, ptr %60, align 1 %62 = zext i8 %61 to i32 %63 = and i32 %62, 255 %64 = or i32 %58, %63 %65 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %52, ptr noundef @.str.3, i32 noundef %64) %66 = load i32, ptr %4, align 4 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 8 %69 = load i8, ptr %68, align 1 %70 = zext i8 %69 to i32 %71 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %66, ptr noundef @.str.4, i32 noundef %70) store i32 7, ptr %7, align 4 %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 8 %74 = load i8, ptr %73, align 1 %75 = zext i8 %74 to i32 %76 = icmp eq i32 8, %75 br i1 %76, label %77, label %166 77: ; preds = %12 %78 = load i32, ptr %4, align 4 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 9 %81 = load i8, ptr %80, align 1 %82 = zext i8 %81 to i32 %83 = and i32 %82, 240 %84 = ashr i32 %83, 4 %85 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %78, ptr noundef @.str.5, i32 noundef %84) %86 = load i32, ptr %4, align 4 %87 = load ptr, ptr %5, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 9 %89 = load i8, ptr %88, align 1 %90 = zext i8 %89 to i32 %91 = and i32 %90, 1 %92 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %86, ptr noundef @.str.6, i32 noundef %91) %93 = load i32, ptr %7, align 4 %94 = add i32 %93, 1 store i32 %94, ptr %7, align 4 %95 = load ptr, ptr %5, align 8 %96 = getelementptr inbounds i8, ptr %95, i64 9 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = and i32 %98, 240 %100 = icmp sle i32 %99, 48 br i1 %100, label %101, label %118 101: ; preds = %77 %102 = load i32, ptr %4, align 4 %103 = load ptr, ptr %5, align 8 %104 = getelementptr inbounds i8, ptr %103, i64 10 %105 = load i8, ptr %104, align 1 %106 = zext i8 %105 to i32 %107 = and i32 %106, 255 %108 = shl i32 %107, 8 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds i8, ptr %109, i64 11 %111 = load i8, ptr %110, align 1 %112 = zext i8 %111 to i32 %113 = and i32 %112, 255 %114 = or i32 %108, %113 %115 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %102, ptr noundef @.str.7, i32 noundef %114) %116 = load i32, ptr %7, align 4 %117 = add i32 %116, 2 store i32 %117, ptr %7, align 4 br label %118 118: ; preds = %101, %77 %119 = load ptr, ptr %5, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 9 %121 = load i8, ptr %120, align 1 %122 = zext i8 %121 to i32 %123 = and i32 %122, 1 %124 = icmp eq i32 0, %123 br i1 %124, label %125, label %165 125: ; preds = %118 %126 = load ptr, ptr %5, align 8 %127 = getelementptr inbounds i8, ptr %126, i64 9 %128 = load i8, ptr %127, align 1 %129 = zext i8 %128 to i32 %130 = and i32 %129, 240 %131 = icmp sle i32 %130, 48 br i1 %131, label %132, label %147 132: ; preds = %125 %133 = load i32, ptr %4, align 4 %134 = load ptr, ptr %5, align 8 %135 = getelementptr inbounds i8, ptr %134, i64 12 %136 = load i8, ptr %135, align 1 %137 = zext i8 %136 to i32 %138 = and i32 %137, 255 %139 = shl i32 %138, 8 %140 = load ptr, ptr %5, align 8 %141 = getelementptr inbounds i8, ptr %140, i64 13 %142 = load i8, ptr %141, align 1 %143 = zext i8 %142 to i32 %144 = and i32 %143, 255 %145 = or i32 %139, %144 %146 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %133, ptr noundef @.str.8, i32 noundef %145) br label %162 147: ; preds = %125 %148 = load i32, ptr %4, align 4 %149 = load ptr, ptr %5, align 8 %150 = getelementptr inbounds i8, ptr %149, i64 10 %151 = load i8, ptr %150, align 1 %152 = zext i8 %151 to i32 %153 = and i32 %152, 255 %154 = shl i32 %153, 8 %155 = load ptr, ptr %5, align 8 %156 = getelementptr inbounds i8, ptr %155, i64 11 %157 = load i8, ptr %156, align 1 %158 = zext i8 %157 to i32 %159 = and i32 %158, 255 %160 = or i32 %154, %159 %161 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %148, ptr noundef @.str.8, i32 noundef %160) br label %162 162: ; preds = %147, %132 %163 = load i32, ptr %7, align 4 %164 = add i32 %163, 2 store i32 %164, ptr %7, align 4 br label %165 165: ; preds = %162, %118 br label %493 166: ; preds = %12 %167 = load ptr, ptr %5, align 8 %168 = getelementptr inbounds i8, ptr %167, i64 8 %169 = load i8, ptr %168, align 1 %170 = zext i8 %169 to i32 %171 = icmp eq i32 13, %170 br i1 %171, label %172, label %205 172: ; preds = %166 %173 = load i32, ptr %4, align 4 %174 = load ptr, ptr %5, align 8 %175 = getelementptr inbounds i8, ptr %174, i64 9 %176 = load i8, ptr %175, align 1 %177 = zext i8 %176 to i32 %178 = and i32 %177, 255 %179 = shl i32 %178, 8 %180 = load ptr, ptr %5, align 8 %181 = getelementptr inbounds i8, ptr %180, i64 10 %182 = load i8, ptr %181, align 1 %183 = zext i8 %182 to i32 %184 = and i32 %183, 255 %185 = or i32 %179, %184 %186 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %173, ptr noundef @.str.9, i32 noundef %185) %187 = load i32, ptr %4, align 4 %188 = load ptr, ptr %5, align 8 %189 = getelementptr inbounds i8, ptr %188, i64 11 %190 = load i8, ptr %189, align 1 %191 = zext i8 %190 to i32 %192 = and i32 %191, 128 %193 = ashr i32 %192, 7 %194 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %187, ptr noundef @.str.10, i32 noundef %193) %195 = load i32, ptr %4, align 4 %196 = load ptr, ptr %5, align 8 %197 = getelementptr inbounds i8, ptr %196, i64 11 %198 = load i8, ptr %197, align 1 %199 = zext i8 %198 to i32 %200 = and i32 %199, 64 %201 = ashr i32 %200, 6 %202 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %195, ptr noundef @.str.11, i32 noundef %201) %203 = load i32, ptr %7, align 4 %204 = add i32 %203, 3 store i32 %204, ptr %7, align 4 br label %492 205: ; preds = %166 %206 = load ptr, ptr %5, align 8 %207 = getelementptr inbounds i8, ptr %206, i64 8 %208 = load i8, ptr %207, align 1 %209 = zext i8 %208 to i32 %210 = icmp sge i32 %209, 14 br i1 %210, label %211, label %491 211: ; preds = %205 %212 = load ptr, ptr %5, align 8 %213 = getelementptr inbounds i8, ptr %212, i64 8 %214 = load i8, ptr %213, align 1 %215 = zext i8 %214 to i32 %216 = icmp sle i32 %215, 31 br i1 %216, label %217, label %491 217: ; preds = %211 %218 = load i32, ptr %4, align 4 %219 = load ptr, ptr %5, align 8 %220 = getelementptr inbounds i8, ptr %219, i64 9 %221 = load i8, ptr %220, align 1 %222 = zext i8 %221 to i32 %223 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %218, ptr noundef @.str.12, i32 noundef %222) %224 = load i32, ptr %7, align 4 %225 = add i32 %224, 1 store i32 %225, ptr %7, align 4 %226 = load ptr, ptr %5, align 8 %227 = getelementptr inbounds i8, ptr %226, i64 9 %228 = load i8, ptr %227, align 1 %229 = zext i8 %228 to i32 %230 = icmp ne i32 0, %229 br i1 %230, label %231, label %490 231: ; preds = %217 store i32 0, ptr %6, align 4 br label %232 232: ; preds = %484, %231 %233 = load i32, ptr %6, align 4 %234 = load ptr, ptr %5, align 8 %235 = getelementptr inbounds i8, ptr %234, i64 9 %236 = load i8, ptr %235, align 1 %237 = zext i8 %236 to i32 %238 = icmp ult i32 %233, %237 br i1 %238, label %239, label %489 239: ; preds = %232 %240 = load i32, ptr %4, align 4 %241 = load ptr, ptr %5, align 8 %242 = load i32, ptr %6, align 4 %243 = add i32 %242, 10 %244 = zext i32 %243 to i64 %245 = getelementptr inbounds i8, ptr %241, i64 %244 %246 = load i8, ptr %245, align 1 %247 = zext i8 %246 to i32 %248 = and i32 %247, 255 %249 = shl i32 %248, 8 %250 = load ptr, ptr %5, align 8 %251 = load i32, ptr %6, align 4 %252 = add i32 %251, 11 %253 = zext i32 %252 to i64 %254 = getelementptr inbounds i8, ptr %250, i64 %253 %255 = load i8, ptr %254, align 1 %256 = zext i8 %255 to i32 %257 = and i32 %256, 255 %258 = or i32 %249, %257 %259 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %240, ptr noundef @.str.9, i32 noundef %258) %260 = load i32, ptr %4, align 4 %261 = load ptr, ptr %5, align 8 %262 = load i32, ptr %6, align 4 %263 = add i32 %262, 12 %264 = zext i32 %263 to i64 %265 = getelementptr inbounds i8, ptr %261, i64 %264 %266 = load i8, ptr %265, align 1 %267 = zext i8 %266 to i32 %268 = and i32 %267, 128 %269 = ashr i32 %268, 7 %270 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %260, ptr noundef @.str.10, i32 noundef %269) %271 = load i32, ptr %4, align 4 %272 = load ptr, ptr %5, align 8 %273 = load i32, ptr %6, align 4 %274 = add i32 %273, 12 %275 = zext i32 %274 to i64 %276 = getelementptr inbounds i8, ptr %272, i64 %275 %277 = load i8, ptr %276, align 1 %278 = zext i8 %277 to i32 %279 = and i32 %278, 64 %280 = ashr i32 %279, 6 %281 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %271, ptr noundef @.str.11, i32 noundef %280) %282 = load i32, ptr %4, align 4 %283 = load ptr, ptr %5, align 8 %284 = load i32, ptr %6, align 4 %285 = add i32 %284, 12 %286 = zext i32 %285 to i64 %287 = getelementptr inbounds i8, ptr %283, i64 %286 %288 = load i8, ptr %287, align 1 %289 = zext i8 %288 to i32 %290 = and i32 %289, 48 %291 = ashr i32 %290, 4 %292 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %282, ptr noundef @.str.13, i32 noundef %291) %293 = load i32, ptr %4, align 4 %294 = load ptr, ptr %5, align 8 %295 = load i32, ptr %6, align 4 %296 = add i32 %295, 12 %297 = zext i32 %296 to i64 %298 = getelementptr inbounds i8, ptr %294, i64 %297 %299 = load i8, ptr %298, align 1 %300 = zext i8 %299 to i32 %301 = and i32 %300, 12 %302 = ashr i32 %301, 2 %303 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %293, ptr noundef @.str.14, i32 noundef %302) %304 = load i32, ptr %4, align 4 %305 = load ptr, ptr %5, align 8 %306 = load i32, ptr %6, align 4 %307 = add i32 %306, 12 %308 = zext i32 %307 to i64 %309 = getelementptr inbounds i8, ptr %305, i64 %308 %310 = load i8, ptr %309, align 1 %311 = zext i8 %310 to i32 %312 = and i32 %311, 2 %313 = ashr i32 %312, 1 %314 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %304, ptr noundef @.str.15, i32 noundef %313) %315 = load i32, ptr %4, align 4 %316 = load ptr, ptr %5, align 8 %317 = load i32, ptr %6, align 4 %318 = add i32 %317, 12 %319 = zext i32 %318 to i64 %320 = getelementptr inbounds i8, ptr %316, i64 %319 %321 = load i8, ptr %320, align 1 %322 = zext i8 %321 to i32 %323 = and i32 %322, 1 %324 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %315, ptr noundef @.str.16, i32 noundef %323) %325 = load ptr, ptr %5, align 8 %326 = load i32, ptr %6, align 4 %327 = add i32 %326, 12 %328 = zext i32 %327 to i64 %329 = getelementptr inbounds i8, ptr %325, i64 %328 %330 = load i8, ptr %329, align 1 %331 = zext i8 %330 to i32 %332 = and i32 %331, 12 %333 = icmp eq i32 12, %332 br i1 %333, label %334, label %357 334: ; preds = %239 %335 = load i32, ptr %4, align 4 %336 = load ptr, ptr %5, align 8 %337 = load i32, ptr %6, align 4 %338 = add i32 %337, 13 %339 = zext i32 %338 to i64 %340 = getelementptr inbounds i8, ptr %336, i64 %339 %341 = load i8, ptr %340, align 1 %342 = zext i8 %341 to i32 %343 = and i32 %342, 255 %344 = shl i32 %343, 8 %345 = load ptr, ptr %5, align 8 %346 = load i32, ptr %6, align 4 %347 = add i32 %346, 14 %348 = zext i32 %347 to i64 %349 = getelementptr inbounds i8, ptr %345, i64 %348 %350 = load i8, ptr %349, align 1 %351 = zext i8 %350 to i32 %352 = and i32 %351, 255 %353 = or i32 %344, %352 %354 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %335, ptr noundef @.str.17, i32 noundef %353) store i8 5, ptr %8, align 1 %355 = load i32, ptr %7, align 4 %356 = add i32 %355, 5 store i32 %356, ptr %7, align 4 br label %483 357: ; preds = %239 store i8 3, ptr %8, align 1 %358 = load i32, ptr %7, align 4 %359 = add i32 %358, 3 store i32 %359, ptr %7, align 4 %360 = load ptr, ptr %5, align 8 %361 = load i32, ptr %6, align 4 %362 = add i32 %361, 12 %363 = zext i32 %362 to i64 %364 = getelementptr inbounds i8, ptr %360, i64 %363 %365 = load i8, ptr %364, align 1 %366 = zext i8 %365 to i32 %367 = and i32 %366, 12 %368 = icmp eq i32 4, %367 br i1 %368, label %369, label %396 369: ; preds = %357 %370 = load i32, ptr %4, align 4 %371 = load ptr, ptr %5, align 8 %372 = load i32, ptr %6, align 4 %373 = add i32 %372, 13 %374 = zext i32 %373 to i64 %375 = getelementptr inbounds i8, ptr %371, i64 %374 %376 = load i8, ptr %375, align 1 %377 = zext i8 %376 to i32 %378 = and i32 %377, 255 %379 = shl i32 %378, 8 %380 = load ptr, ptr %5, align 8 %381 = load i32, ptr %6, align 4 %382 = add i32 %381, 14 %383 = zext i32 %382 to i64 %384 = getelementptr inbounds i8, ptr %380, i64 %383 %385 = load i8, ptr %384, align 1 %386 = zext i8 %385 to i32 %387 = and i32 %386, 255 %388 = or i32 %379, %387 %389 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %370, ptr noundef @.str.18, i32 noundef %388) %390 = load i8, ptr %8, align 1 %391 = zext i8 %390 to i32 %392 = add nsw i32 %391, 2 %393 = trunc i32 %392 to i8 store i8 %393, ptr %8, align 1 %394 = load i32, ptr %7, align 4 %395 = add i32 %394, 2 store i32 %395, ptr %7, align 4 br label %396 396: ; preds = %369, %357 %397 = load ptr, ptr %5, align 8 %398 = load i32, ptr %6, align 4 %399 = add i32 %398, 12 %400 = zext i32 %399 to i64 %401 = getelementptr inbounds i8, ptr %397, i64 %400 %402 = load i8, ptr %401, align 1 %403 = zext i8 %402 to i32 %404 = and i32 %403, 2 %405 = icmp eq i32 2, %404 br i1 %405, label %406, label %439 406: ; preds = %396 %407 = load i32, ptr %4, align 4 %408 = load ptr, ptr %5, align 8 %409 = load i32, ptr %6, align 4 %410 = load i8, ptr %8, align 1 %411 = zext i8 %410 to i32 %412 = add i32 %409, %411 %413 = add i32 %412, 10 %414 = zext i32 %413 to i64 %415 = getelementptr inbounds i8, ptr %408, i64 %414 %416 = load i8, ptr %415, align 1 %417 = zext i8 %416 to i32 %418 = and i32 %417, 255 %419 = shl i32 %418, 8 %420 = load ptr, ptr %5, align 8 %421 = load i32, ptr %6, align 4 %422 = load i8, ptr %8, align 1 %423 = zext i8 %422 to i32 %424 = add i32 %421, %423 %425 = add i32 %424, 11 %426 = zext i32 %425 to i64 %427 = getelementptr inbounds i8, ptr %420, i64 %426 %428 = load i8, ptr %427, align 1 %429 = zext i8 %428 to i32 %430 = and i32 %429, 255 %431 = or i32 %419, %430 %432 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %407, ptr noundef @.str.19, i32 noundef %431) %433 = load i8, ptr %8, align 1 %434 = zext i8 %433 to i32 %435 = add nsw i32 %434, 2 %436 = trunc i32 %435 to i8 store i8 %436, ptr %8, align 1 %437 = load i32, ptr %7, align 4 %438 = add i32 %437, 2 store i32 %438, ptr %7, align 4 br label %439 439: ; preds = %406, %396 %440 = load ptr, ptr %5, align 8 %441 = load i32, ptr %6, align 4 %442 = add i32 %441, 12 %443 = zext i32 %442 to i64 %444 = getelementptr inbounds i8, ptr %440, i64 %443 %445 = load i8, ptr %444, align 1 %446 = zext i8 %445 to i32 %447 = and i32 %446, 1 %448 = icmp eq i32 1, %447 br i1 %448, label %449, label %482 449: ; preds = %439 %450 = load i32, ptr %4, align 4 %451 = load ptr, ptr %5, align 8 %452 = load i32, ptr %6, align 4 %453 = load i8, ptr %8, align 1 %454 = zext i8 %453 to i32 %455 = add i32 %452, %454 %456 = add i32 %455, 10 %457 = zext i32 %456 to i64 %458 = getelementptr inbounds i8, ptr %451, i64 %457 %459 = load i8, ptr %458, align 1 %460 = zext i8 %459 to i32 %461 = and i32 %460, 255 %462 = shl i32 %461, 8 %463 = load ptr, ptr %5, align 8 %464 = load i32, ptr %6, align 4 %465 = load i8, ptr %8, align 1 %466 = zext i8 %465 to i32 %467 = add i32 %464, %466 %468 = add i32 %467, 11 %469 = zext i32 %468 to i64 %470 = getelementptr inbounds i8, ptr %463, i64 %469 %471 = load i8, ptr %470, align 1 %472 = zext i8 %471 to i32 %473 = and i32 %472, 255 %474 = or i32 %462, %473 %475 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %450, ptr noundef @.str.20, i32 noundef %474) %476 = load i8, ptr %8, align 1 %477 = zext i8 %476 to i32 %478 = add nsw i32 %477, 2 %479 = trunc i32 %478 to i8 store i8 %479, ptr %8, align 1 %480 = load i32, ptr %7, align 4 %481 = add i32 %480, 2 store i32 %481, ptr %7, align 4 br label %482 482: ; preds = %449, %439 br label %483 483: ; preds = %482, %334 br label %484 484: ; preds = %483 %485 = load i8, ptr %8, align 1 %486 = zext i8 %485 to i32 %487 = load i32, ptr %6, align 4 %488 = add i32 %487, %486 store i32 %488, ptr %6, align 4 br label %232, !llvm.loop !6 489: ; preds = %232 br label %490 490: ; preds = %489, %217 br label %491 491: ; preds = %490, %211, %205 br label %492 492: ; preds = %491, %172 br label %493 493: ; preds = %492, %165 %494 = load i32, ptr %7, align 4 %495 = load ptr, ptr %5, align 8 %496 = getelementptr inbounds i8, ptr %495, i64 1 %497 = load i8, ptr %496, align 1 %498 = zext i8 %497 to i32 %499 = icmp ult i32 %494, %498 br i1 %499, label %500, label %533 500: ; preds = %493 %501 = load ptr, ptr %5, align 8 %502 = getelementptr inbounds i8, ptr %501, i64 1 %503 = load i8, ptr %502, align 1 %504 = zext i8 %503 to i32 %505 = load i32, ptr %7, align 4 %506 = sub i32 %504, %505 %507 = trunc i32 %506 to i8 store i8 %507, ptr %8, align 1 %508 = load i32, ptr %4, align 4 %509 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %508, ptr noundef @.str.21) store i32 0, ptr %6, align 4 br label %510 510: ; preds = %527, %500 %511 = load i32, ptr %6, align 4 %512 = load i8, ptr %8, align 1 %513 = zext i8 %512 to i32 %514 = icmp ult i32 %511, %513 br i1 %514, label %515, label %530 515: ; preds = %510 %516 = load i32, ptr %4, align 4 %517 = load ptr, ptr %5, align 8 %518 = load i32, ptr %6, align 4 %519 = load i32, ptr %7, align 4 %520 = add i32 %518, %519 %521 = add i32 %520, 2 %522 = zext i32 %521 to i64 %523 = getelementptr inbounds i8, ptr %517, i64 %522 %524 = load i8, ptr %523, align 1 %525 = zext i8 %524 to i32 %526 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %516, ptr noundef @.str.22, i32 noundef %525) br label %527 527: ; preds = %515 %528 = load i32, ptr %6, align 4 %529 = add i32 %528, 1 store i32 %529, ptr %6, align 4 br label %510, !llvm.loop !8 530: ; preds = %510 %531 = load i32, ptr %4, align 4 %532 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %531, ptr noundef @.str.23) br label %533 533: ; preds = %530, %493 %534 = load ptr, ptr %5, align 8 %535 = getelementptr inbounds i8, ptr %534, i64 1 %536 = load i8, ptr %535, align 1 %537 = zext i8 %536 to i32 store i32 %537, ptr %3, align 4 br label %538 538: ; preds = %533, %11 %539 = load i32, ptr %3, align 4 ret i32 %539 } declare i32 @Parser_DisplayTagInfo(i32 noundef, i8 noundef zeroext) #1 declare i32 @Parser_TsPacketLog(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu75owca_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Descriptor_length = 0x%x\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"transport_stream_id = 0x%x\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"original_network_id = 0x%x\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"service_id = 0x%x\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"linkage_type = 0x%x\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"hand-over_type = 0x%x\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"origin_type = 0x%x\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"network_id = 0x%x\0A\00", align 1 @.str.8 = private unnamed_addr constant [27 x i8] c"initial_service_id = 0x%x\0A\00", align 1 @.str.9 = private unnamed_addr constant [24 x i8] c"target_event_id = 0x%x\0A\00", align 1 @.str.10 = private unnamed_addr constant [22 x i8] c"target_listed = 0x%x\0A\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"event_simulcast = 0x%x\0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"loop_length = 0x%x\0A\00", align 1 @.str.13 = private unnamed_addr constant [18 x i8] c"link_type = 0x%x\0A\00", align 1 @.str.14 = private unnamed_addr constant [23 x i8] c"target_id_type = 0x%x\0A\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"original_network_id_flag = 0x%x\0A\00", align 1 @.str.16 = private unnamed_addr constant [24 x i8] c"service_id_flag = 0x%x\0A\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c"user_defined_id = 0x%x\0A\00", align 1 @.str.18 = private unnamed_addr constant [35 x i8] c"target_transport_stream_id = 0x%x\0A\00", align 1 @.str.19 = private unnamed_addr constant [35 x i8] c"target_original_network_id = 0x%x\0A\00", align 1 @.str.20 = private unnamed_addr constant [26 x i8] c"target_service_id = 0x%x\0A\00", align 1 @.str.21 = private unnamed_addr constant [14 x i8] c"private_data:\00", align 1 @.str.22 = private unnamed_addr constant [8 x i8] c" 0x%02x\00", align 1 @.str.23 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @x4A_Tag_DescriptorParser(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i8, align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i8 0, ptr %8, align 1 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr null, %9 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %546 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = call i32 @Parser_DisplayTagInfo(i32 noundef %13, i8 noundef zeroext %16) %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 1 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %18, ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr %4, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 2 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = and i32 %28, 255 %30 = shl i32 %29, 8 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 3 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = and i32 %34, 255 %36 = or i32 %30, %35 %37 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %24, ptr noundef @.str.1, i32 noundef %36) %38 = load i32, ptr %4, align 4 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 4 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = and i32 %42, 255 %44 = shl i32 %43, 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 5 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = and i32 %48, 255 %50 = or i32 %44, %49 %51 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %38, ptr noundef @.str.2, i32 noundef %50) %52 = load i32, ptr %4, align 4 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 6 %55 = load i8, ptr %54, align 1 %56 = zext i8 %55 to i32 %57 = and i32 %56, 255 %58 = shl i32 %57, 8 %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 7 %61 = load i8, ptr %60, align 1 %62 = zext i8 %61 to i32 %63 = and i32 %62, 255 %64 = or i32 %58, %63 %65 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %52, ptr noundef @.str.3, i32 noundef %64) %66 = load i32, ptr %4, align 4 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 8 %69 = load i8, ptr %68, align 1 %70 = zext i8 %69 to i32 %71 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %66, ptr noundef @.str.4, i32 noundef %70) store i32 7, ptr %7, align 4 %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 8 %74 = load i8, ptr %73, align 1 %75 = zext i8 %74 to i32 %76 = icmp eq i32 8, %75 br i1 %76, label %77, label %166 77: ; preds = %12 %78 = load i32, ptr %4, align 4 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 9 %81 = load i8, ptr %80, align 1 %82 = zext i8 %81 to i32 %83 = and i32 %82, 240 %84 = ashr i32 %83, 4 %85 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %78, ptr noundef @.str.5, i32 noundef %84) %86 = load i32, ptr %4, align 4 %87 = load ptr, ptr %5, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 9 %89 = load i8, ptr %88, align 1 %90 = zext i8 %89 to i32 %91 = and i32 %90, 1 %92 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %86, ptr noundef @.str.6, i32 noundef %91) %93 = load i32, ptr %7, align 4 %94 = add i32 %93, 1 store i32 %94, ptr %7, align 4 %95 = load ptr, ptr %5, align 8 %96 = getelementptr inbounds i8, ptr %95, i64 9 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = and i32 %98, 240 %100 = icmp sle i32 %99, 48 br i1 %100, label %101, label %118 101: ; preds = %77 %102 = load i32, ptr %4, align 4 %103 = load ptr, ptr %5, align 8 %104 = getelementptr inbounds i8, ptr %103, i64 10 %105 = load i8, ptr %104, align 1 %106 = zext i8 %105 to i32 %107 = and i32 %106, 255 %108 = shl i32 %107, 8 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds i8, ptr %109, i64 11 %111 = load i8, ptr %110, align 1 %112 = zext i8 %111 to i32 %113 = and i32 %112, 255 %114 = or i32 %108, %113 %115 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %102, ptr noundef @.str.7, i32 noundef %114) %116 = load i32, ptr %7, align 4 %117 = add i32 %116, 2 store i32 %117, ptr %7, align 4 br label %118 118: ; preds = %101, %77 %119 = load ptr, ptr %5, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 9 %121 = load i8, ptr %120, align 1 %122 = zext i8 %121 to i32 %123 = and i32 %122, 1 %124 = icmp eq i32 0, %123 br i1 %124, label %125, label %165 125: ; preds = %118 %126 = load ptr, ptr %5, align 8 %127 = getelementptr inbounds i8, ptr %126, i64 9 %128 = load i8, ptr %127, align 1 %129 = zext i8 %128 to i32 %130 = and i32 %129, 240 %131 = icmp sle i32 %130, 48 br i1 %131, label %132, label %147 132: ; preds = %125 %133 = load i32, ptr %4, align 4 %134 = load ptr, ptr %5, align 8 %135 = getelementptr inbounds i8, ptr %134, i64 12 %136 = load i8, ptr %135, align 1 %137 = zext i8 %136 to i32 %138 = and i32 %137, 255 %139 = shl i32 %138, 8 %140 = load ptr, ptr %5, align 8 %141 = getelementptr inbounds i8, ptr %140, i64 13 %142 = load i8, ptr %141, align 1 %143 = zext i8 %142 to i32 %144 = and i32 %143, 255 %145 = or i32 %139, %144 %146 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %133, ptr noundef @.str.8, i32 noundef %145) br label %162 147: ; preds = %125 %148 = load i32, ptr %4, align 4 %149 = load ptr, ptr %5, align 8 %150 = getelementptr inbounds i8, ptr %149, i64 10 %151 = load i8, ptr %150, align 1 %152 = zext i8 %151 to i32 %153 = and i32 %152, 255 %154 = shl i32 %153, 8 %155 = load ptr, ptr %5, align 8 %156 = getelementptr inbounds i8, ptr %155, i64 11 %157 = load i8, ptr %156, align 1 %158 = zext i8 %157 to i32 %159 = and i32 %158, 255 %160 = or i32 %154, %159 %161 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %148, ptr noundef @.str.8, i32 noundef %160) br label %162 162: ; preds = %147, %132 %163 = load i32, ptr %7, align 4 %164 = add i32 %163, 2 store i32 %164, ptr %7, align 4 br label %165 165: ; preds = %162, %118 br label %498 166: ; preds = %12 %167 = load ptr, ptr %5, align 8 %168 = getelementptr inbounds i8, ptr %167, i64 8 %169 = load i8, ptr %168, align 1 %170 = zext i8 %169 to i32 %171 = icmp eq i32 13, %170 br i1 %171, label %172, label %205 172: ; preds = %166 %173 = load i32, ptr %4, align 4 %174 = load ptr, ptr %5, align 8 %175 = getelementptr inbounds i8, ptr %174, i64 9 %176 = load i8, ptr %175, align 1 %177 = zext i8 %176 to i32 %178 = and i32 %177, 255 %179 = shl i32 %178, 8 %180 = load ptr, ptr %5, align 8 %181 = getelementptr inbounds i8, ptr %180, i64 10 %182 = load i8, ptr %181, align 1 %183 = zext i8 %182 to i32 %184 = and i32 %183, 255 %185 = or i32 %179, %184 %186 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %173, ptr noundef @.str.9, i32 noundef %185) %187 = load i32, ptr %4, align 4 %188 = load ptr, ptr %5, align 8 %189 = getelementptr inbounds i8, ptr %188, i64 11 %190 = load i8, ptr %189, align 1 %191 = zext i8 %190 to i32 %192 = and i32 %191, 128 %193 = ashr i32 %192, 7 %194 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %187, ptr noundef @.str.10, i32 noundef %193) %195 = load i32, ptr %4, align 4 %196 = load ptr, ptr %5, align 8 %197 = getelementptr inbounds i8, ptr %196, i64 11 %198 = load i8, ptr %197, align 1 %199 = zext i8 %198 to i32 %200 = and i32 %199, 64 %201 = ashr i32 %200, 6 %202 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %195, ptr noundef @.str.11, i32 noundef %201) %203 = load i32, ptr %7, align 4 %204 = add i32 %203, 3 store i32 %204, ptr %7, align 4 br label %497 205: ; preds = %166 %206 = load ptr, ptr %5, align 8 %207 = getelementptr inbounds i8, ptr %206, i64 8 %208 = load i8, ptr %207, align 1 %209 = zext i8 %208 to i32 %210 = icmp sge i32 %209, 14 br i1 %210, label %211, label %496 211: ; preds = %205 %212 = load ptr, ptr %5, align 8 %213 = getelementptr inbounds i8, ptr %212, i64 8 %214 = load i8, ptr %213, align 1 %215 = zext i8 %214 to i32 %216 = icmp sle i32 %215, 31 br i1 %216, label %217, label %496 217: ; preds = %211 %218 = load i32, ptr %4, align 4 %219 = load ptr, ptr %5, align 8 %220 = getelementptr inbounds i8, ptr %219, i64 9 %221 = load i8, ptr %220, align 1 %222 = zext i8 %221 to i32 %223 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %218, ptr noundef @.str.12, i32 noundef %222) %224 = load i32, ptr %7, align 4 %225 = add i32 %224, 1 store i32 %225, ptr %7, align 4 %226 = load ptr, ptr %5, align 8 %227 = getelementptr inbounds i8, ptr %226, i64 9 %228 = load i8, ptr %227, align 1 %229 = zext i8 %228 to i32 %230 = icmp ne i32 0, %229 br i1 %230, label %231, label %495 231: ; preds = %217 store i32 0, ptr %6, align 4 %232 = load i32, ptr %6, align 4 %233 = load ptr, ptr %5, align 8 %234 = getelementptr inbounds i8, ptr %233, i64 9 %235 = load i8, ptr %234, align 1 %236 = zext i8 %235 to i32 %237 = icmp ult i32 %232, %236 br i1 %237, label %.lr.ph, label %494 .lr.ph: ; preds = %231 br label %238 238: ; preds = %.lr.ph, %483 %239 = load i32, ptr %4, align 4 %240 = load ptr, ptr %5, align 8 %241 = load i32, ptr %6, align 4 %242 = add i32 %241, 10 %243 = zext i32 %242 to i64 %244 = getelementptr inbounds i8, ptr %240, i64 %243 %245 = load i8, ptr %244, align 1 %246 = zext i8 %245 to i32 %247 = and i32 %246, 255 %248 = shl i32 %247, 8 %249 = load ptr, ptr %5, align 8 %250 = load i32, ptr %6, align 4 %251 = add i32 %250, 11 %252 = zext i32 %251 to i64 %253 = getelementptr inbounds i8, ptr %249, i64 %252 %254 = load i8, ptr %253, align 1 %255 = zext i8 %254 to i32 %256 = and i32 %255, 255 %257 = or i32 %248, %256 %258 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %239, ptr noundef @.str.9, i32 noundef %257) %259 = load i32, ptr %4, align 4 %260 = load ptr, ptr %5, align 8 %261 = load i32, ptr %6, align 4 %262 = add i32 %261, 12 %263 = zext i32 %262 to i64 %264 = getelementptr inbounds i8, ptr %260, i64 %263 %265 = load i8, ptr %264, align 1 %266 = zext i8 %265 to i32 %267 = and i32 %266, 128 %268 = ashr i32 %267, 7 %269 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %259, ptr noundef @.str.10, i32 noundef %268) %270 = load i32, ptr %4, align 4 %271 = load ptr, ptr %5, align 8 %272 = load i32, ptr %6, align 4 %273 = add i32 %272, 12 %274 = zext i32 %273 to i64 %275 = getelementptr inbounds i8, ptr %271, i64 %274 %276 = load i8, ptr %275, align 1 %277 = zext i8 %276 to i32 %278 = and i32 %277, 64 %279 = ashr i32 %278, 6 %280 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %270, ptr noundef @.str.11, i32 noundef %279) %281 = load i32, ptr %4, align 4 %282 = load ptr, ptr %5, align 8 %283 = load i32, ptr %6, align 4 %284 = add i32 %283, 12 %285 = zext i32 %284 to i64 %286 = getelementptr inbounds i8, ptr %282, i64 %285 %287 = load i8, ptr %286, align 1 %288 = zext i8 %287 to i32 %289 = and i32 %288, 48 %290 = ashr i32 %289, 4 %291 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %281, ptr noundef @.str.13, i32 noundef %290) %292 = load i32, ptr %4, align 4 %293 = load ptr, ptr %5, align 8 %294 = load i32, ptr %6, align 4 %295 = add i32 %294, 12 %296 = zext i32 %295 to i64 %297 = getelementptr inbounds i8, ptr %293, i64 %296 %298 = load i8, ptr %297, align 1 %299 = zext i8 %298 to i32 %300 = and i32 %299, 12 %301 = ashr i32 %300, 2 %302 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %292, ptr noundef @.str.14, i32 noundef %301) %303 = load i32, ptr %4, align 4 %304 = load ptr, ptr %5, align 8 %305 = load i32, ptr %6, align 4 %306 = add i32 %305, 12 %307 = zext i32 %306 to i64 %308 = getelementptr inbounds i8, ptr %304, i64 %307 %309 = load i8, ptr %308, align 1 %310 = zext i8 %309 to i32 %311 = and i32 %310, 2 %312 = ashr i32 %311, 1 %313 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %303, ptr noundef @.str.15, i32 noundef %312) %314 = load i32, ptr %4, align 4 %315 = load ptr, ptr %5, align 8 %316 = load i32, ptr %6, align 4 %317 = add i32 %316, 12 %318 = zext i32 %317 to i64 %319 = getelementptr inbounds i8, ptr %315, i64 %318 %320 = load i8, ptr %319, align 1 %321 = zext i8 %320 to i32 %322 = and i32 %321, 1 %323 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %314, ptr noundef @.str.16, i32 noundef %322) %324 = load ptr, ptr %5, align 8 %325 = load i32, ptr %6, align 4 %326 = add i32 %325, 12 %327 = zext i32 %326 to i64 %328 = getelementptr inbounds i8, ptr %324, i64 %327 %329 = load i8, ptr %328, align 1 %330 = zext i8 %329 to i32 %331 = and i32 %330, 12 %332 = icmp eq i32 12, %331 br i1 %332, label %333, label %356 333: ; preds = %238 %334 = load i32, ptr %4, align 4 %335 = load ptr, ptr %5, align 8 %336 = load i32, ptr %6, align 4 %337 = add i32 %336, 13 %338 = zext i32 %337 to i64 %339 = getelementptr inbounds i8, ptr %335, i64 %338 %340 = load i8, ptr %339, align 1 %341 = zext i8 %340 to i32 %342 = and i32 %341, 255 %343 = shl i32 %342, 8 %344 = load ptr, ptr %5, align 8 %345 = load i32, ptr %6, align 4 %346 = add i32 %345, 14 %347 = zext i32 %346 to i64 %348 = getelementptr inbounds i8, ptr %344, i64 %347 %349 = load i8, ptr %348, align 1 %350 = zext i8 %349 to i32 %351 = and i32 %350, 255 %352 = or i32 %343, %351 %353 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %334, ptr noundef @.str.17, i32 noundef %352) store i8 5, ptr %8, align 1 %354 = load i32, ptr %7, align 4 %355 = add i32 %354, 5 store i32 %355, ptr %7, align 4 br label %482 356: ; preds = %238 store i8 3, ptr %8, align 1 %357 = load i32, ptr %7, align 4 %358 = add i32 %357, 3 store i32 %358, ptr %7, align 4 %359 = load ptr, ptr %5, align 8 %360 = load i32, ptr %6, align 4 %361 = add i32 %360, 12 %362 = zext i32 %361 to i64 %363 = getelementptr inbounds i8, ptr %359, i64 %362 %364 = load i8, ptr %363, align 1 %365 = zext i8 %364 to i32 %366 = and i32 %365, 12 %367 = icmp eq i32 4, %366 br i1 %367, label %368, label %395 368: ; preds = %356 %369 = load i32, ptr %4, align 4 %370 = load ptr, ptr %5, align 8 %371 = load i32, ptr %6, align 4 %372 = add i32 %371, 13 %373 = zext i32 %372 to i64 %374 = getelementptr inbounds i8, ptr %370, i64 %373 %375 = load i8, ptr %374, align 1 %376 = zext i8 %375 to i32 %377 = and i32 %376, 255 %378 = shl i32 %377, 8 %379 = load ptr, ptr %5, align 8 %380 = load i32, ptr %6, align 4 %381 = add i32 %380, 14 %382 = zext i32 %381 to i64 %383 = getelementptr inbounds i8, ptr %379, i64 %382 %384 = load i8, ptr %383, align 1 %385 = zext i8 %384 to i32 %386 = and i32 %385, 255 %387 = or i32 %378, %386 %388 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %369, ptr noundef @.str.18, i32 noundef %387) %389 = load i8, ptr %8, align 1 %390 = zext i8 %389 to i32 %391 = add nsw i32 %390, 2 %392 = trunc i32 %391 to i8 store i8 %392, ptr %8, align 1 %393 = load i32, ptr %7, align 4 %394 = add i32 %393, 2 store i32 %394, ptr %7, align 4 br label %395 395: ; preds = %368, %356 %396 = load ptr, ptr %5, align 8 %397 = load i32, ptr %6, align 4 %398 = add i32 %397, 12 %399 = zext i32 %398 to i64 %400 = getelementptr inbounds i8, ptr %396, i64 %399 %401 = load i8, ptr %400, align 1 %402 = zext i8 %401 to i32 %403 = and i32 %402, 2 %404 = icmp eq i32 2, %403 br i1 %404, label %405, label %438 405: ; preds = %395 %406 = load i32, ptr %4, align 4 %407 = load ptr, ptr %5, align 8 %408 = load i32, ptr %6, align 4 %409 = load i8, ptr %8, align 1 %410 = zext i8 %409 to i32 %411 = add i32 %408, %410 %412 = add i32 %411, 10 %413 = zext i32 %412 to i64 %414 = getelementptr inbounds i8, ptr %407, i64 %413 %415 = load i8, ptr %414, align 1 %416 = zext i8 %415 to i32 %417 = and i32 %416, 255 %418 = shl i32 %417, 8 %419 = load ptr, ptr %5, align 8 %420 = load i32, ptr %6, align 4 %421 = load i8, ptr %8, align 1 %422 = zext i8 %421 to i32 %423 = add i32 %420, %422 %424 = add i32 %423, 11 %425 = zext i32 %424 to i64 %426 = getelementptr inbounds i8, ptr %419, i64 %425 %427 = load i8, ptr %426, align 1 %428 = zext i8 %427 to i32 %429 = and i32 %428, 255 %430 = or i32 %418, %429 %431 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %406, ptr noundef @.str.19, i32 noundef %430) %432 = load i8, ptr %8, align 1 %433 = zext i8 %432 to i32 %434 = add nsw i32 %433, 2 %435 = trunc i32 %434 to i8 store i8 %435, ptr %8, align 1 %436 = load i32, ptr %7, align 4 %437 = add i32 %436, 2 store i32 %437, ptr %7, align 4 br label %438 438: ; preds = %405, %395 %439 = load ptr, ptr %5, align 8 %440 = load i32, ptr %6, align 4 %441 = add i32 %440, 12 %442 = zext i32 %441 to i64 %443 = getelementptr inbounds i8, ptr %439, i64 %442 %444 = load i8, ptr %443, align 1 %445 = zext i8 %444 to i32 %446 = and i32 %445, 1 %447 = icmp eq i32 1, %446 br i1 %447, label %448, label %481 448: ; preds = %438 %449 = load i32, ptr %4, align 4 %450 = load ptr, ptr %5, align 8 %451 = load i32, ptr %6, align 4 %452 = load i8, ptr %8, align 1 %453 = zext i8 %452 to i32 %454 = add i32 %451, %453 %455 = add i32 %454, 10 %456 = zext i32 %455 to i64 %457 = getelementptr inbounds i8, ptr %450, i64 %456 %458 = load i8, ptr %457, align 1 %459 = zext i8 %458 to i32 %460 = and i32 %459, 255 %461 = shl i32 %460, 8 %462 = load ptr, ptr %5, align 8 %463 = load i32, ptr %6, align 4 %464 = load i8, ptr %8, align 1 %465 = zext i8 %464 to i32 %466 = add i32 %463, %465 %467 = add i32 %466, 11 %468 = zext i32 %467 to i64 %469 = getelementptr inbounds i8, ptr %462, i64 %468 %470 = load i8, ptr %469, align 1 %471 = zext i8 %470 to i32 %472 = and i32 %471, 255 %473 = or i32 %461, %472 %474 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %449, ptr noundef @.str.20, i32 noundef %473) %475 = load i8, ptr %8, align 1 %476 = zext i8 %475 to i32 %477 = add nsw i32 %476, 2 %478 = trunc i32 %477 to i8 store i8 %478, ptr %8, align 1 %479 = load i32, ptr %7, align 4 %480 = add i32 %479, 2 store i32 %480, ptr %7, align 4 br label %481 481: ; preds = %448, %438 br label %482 482: ; preds = %481, %333 br label %483 483: ; preds = %482 %484 = load i8, ptr %8, align 1 %485 = zext i8 %484 to i32 %486 = load i32, ptr %6, align 4 %487 = add i32 %486, %485 store i32 %487, ptr %6, align 4 %488 = load i32, ptr %6, align 4 %489 = load ptr, ptr %5, align 8 %490 = getelementptr inbounds i8, ptr %489, i64 9 %491 = load i8, ptr %490, align 1 %492 = zext i8 %491 to i32 %493 = icmp ult i32 %488, %492 br i1 %493, label %238, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %483 br label %494 494: ; preds = %._crit_edge, %231 br label %495 495: ; preds = %494, %217 br label %496 496: ; preds = %495, %211, %205 br label %497 497: ; preds = %496, %172 br label %498 498: ; preds = %497, %165 %499 = load i32, ptr %7, align 4 %500 = load ptr, ptr %5, align 8 %501 = getelementptr inbounds i8, ptr %500, i64 1 %502 = load i8, ptr %501, align 1 %503 = zext i8 %502 to i32 %504 = icmp ult i32 %499, %503 br i1 %504, label %505, label %541 505: ; preds = %498 %506 = load ptr, ptr %5, align 8 %507 = getelementptr inbounds i8, ptr %506, i64 1 %508 = load i8, ptr %507, align 1 %509 = zext i8 %508 to i32 %510 = load i32, ptr %7, align 4 %511 = sub i32 %509, %510 %512 = trunc i32 %511 to i8 store i8 %512, ptr %8, align 1 %513 = load i32, ptr %4, align 4 %514 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %513, ptr noundef @.str.21) store i32 0, ptr %6, align 4 %515 = load i32, ptr %6, align 4 %516 = load i8, ptr %8, align 1 %517 = zext i8 %516 to i32 %518 = icmp ult i32 %515, %517 br i1 %518, label %.lr.ph2, label %538 .lr.ph2: ; preds = %505 br label %519 519: ; preds = %.lr.ph2, %531 %520 = load i32, ptr %4, align 4 %521 = load ptr, ptr %5, align 8 %522 = load i32, ptr %6, align 4 %523 = load i32, ptr %7, align 4 %524 = add i32 %522, %523 %525 = add i32 %524, 2 %526 = zext i32 %525 to i64 %527 = getelementptr inbounds i8, ptr %521, i64 %526 %528 = load i8, ptr %527, align 1 %529 = zext i8 %528 to i32 %530 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %520, ptr noundef @.str.22, i32 noundef %529) br label %531 531: ; preds = %519 %532 = load i32, ptr %6, align 4 %533 = add i32 %532, 1 store i32 %533, ptr %6, align 4 %534 = load i32, ptr %6, align 4 %535 = load i8, ptr %8, align 1 %536 = zext i8 %535 to i32 %537 = icmp ult i32 %534, %536 br i1 %537, label %519, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %531 br label %538 538: ; preds = %._crit_edge3, %505 %539 = load i32, ptr %4, align 4 %540 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %539, ptr noundef @.str.23) br label %541 541: ; preds = %538, %498 %542 = load ptr, ptr %5, align 8 %543 = getelementptr inbounds i8, ptr %542, i64 1 %544 = load i8, ptr %543, align 1 %545 = zext i8 %544 to i32 store i32 %545, ptr %3, align 4 br label %546 546: ; preds = %541, %11 %547 = load i32, ptr %3, align 4 ret i32 %547 } declare i32 @Parser_DisplayTagInfo(i32 noundef, i8 noundef zeroext) #1 declare i32 @Parser_TsPacketLog(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbjpwimgn.c' source_filename = "/tmp/tmpbjpwimgn.c" target datalayout = "e-m:e-p270: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.bmp_to_buffer_800x480_24bits.path = private unnamed_addr constant [256 x i8] c"/mnt/sdcard\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [10 x i8] c"%s/%d.bmp\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"/mnt/sdcard\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bmp_to_buffer_800x480_24bits(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [256 x i8], align 16 store i32 %0, ptr %2, align 4 store ptr null, ptr %3, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.bmp_to_buffer_800x480_24bits.path, i64 256, i1 false) %5 = load i32, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load i32, ptr %2, align 4 br label %12 9: ; preds = %1 %10 = load i32, ptr %2, align 4 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %7 %13 = phi i32 [ %8, %7 ], [ %11, %9 ] store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = srem i32 %14, 30 store i32 %15, ptr %2, align 4 %16 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 %19 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %18) %20 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %21 = call ptr @bmp_to_buffer(ptr noundef %20, i32 noundef 800, i32 noundef 480, i32 noundef 24) store ptr %21, ptr %3, align 8 %22 = load ptr, ptr %3, align 8 ret ptr %22 } ; 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 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare ptr @bmp_to_buffer(ptr noundef, i32 noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbjpwimgn.c" target datalayout = "e-m:e-p270: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.bmp_to_buffer_800x480_24bits.path = private unnamed_addr constant [256 x i8] c"/mnt/sdcard\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [10 x i8] c"%s/%d.bmp\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"/mnt/sdcard\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bmp_to_buffer_800x480_24bits(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [256 x i8], align 16 store i32 %0, ptr %2, align 4 store ptr null, ptr %3, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.bmp_to_buffer_800x480_24bits.path, i64 256, i1 false) %5 = load i32, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load i32, ptr %2, align 4 br label %12 9: ; preds = %1 %10 = load i32, ptr %2, align 4 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %7 %13 = phi i32 [ %8, %7 ], [ %11, %9 ] store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = srem i32 %14, 30 store i32 %15, ptr %2, align 4 %16 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 %19 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %18) %20 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %21 = call ptr @bmp_to_buffer(ptr noundef %20, i32 noundef 800, i32 noundef 480, i32 noundef 24) store ptr %21, ptr %3, align 8 %22 = load ptr, ptr %3, align 8 ret ptr %22 } ; 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 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare ptr @bmp_to_buffer(ptr noundef, i32 noundef, i32 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"}
; ModuleID = '/tmp/tmpyeez2dsj.c' source_filename = "/tmp/tmpyeez2dsj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getCountFromJSONArray(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %22, %1 %8 = load ptr, ptr %2, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = call ptr @getNextFromJSONArray(ptr noundef %8, ptr noundef %12, ptr noundef %5) store ptr %13, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %23 15: ; preds = %7 %16 = load i32, ptr %5, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %22 21: ; preds = %15 br label %23 22: ; preds = %18 br label %7, !llvm.loop !6 23: ; preds = %21, %7 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare ptr @getNextFromJSONArray(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyeez2dsj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getCountFromJSONArray(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = call ptr @getNextFromJSONArray(ptr noundef %7, ptr noundef %11, ptr noundef %5) store ptr %12, ptr %4, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %21 %15 = load i32, ptr %5, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %21 20: ; preds = %14 br label %29 21: ; preds = %17 %22 = load ptr, ptr %2, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = call ptr @getNextFromJSONArray(ptr noundef %22, ptr noundef %26, ptr noundef %5) store ptr %27, ptr %4, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %21 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %29 29: ; preds = %.loopexit, %20 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare ptr @getNextFromJSONArray(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpscjiw3o6.c' source_filename = "/tmp/tmpscjiw3o6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psfdrv_entry() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr inttoptr (i64 2148528128 to ptr), ptr %1, align 8 store ptr inttoptr (i64 2148530176 to ptr), ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %8, %0 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp ult ptr %5, %6 br i1 %7, label %8, label %14 8: ; preds = %4 %9 = load ptr, ptr %1, align 8 %10 = getelementptr inbounds i32, ptr %9, i32 1 store ptr %10, ptr %1, align 8 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %3, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 %15 = load i32, ptr %3, align 4 %16 = call i32 (...) @psfdrv() %17 = add nsw i32 %15, %16 ret i32 %17 } declare i32 @psfdrv(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpscjiw3o6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psfdrv_entry() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr inttoptr (i64 2148528128 to ptr), ptr %1, align 8 store ptr inttoptr (i64 2148530176 to ptr), ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %1, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ult ptr %4, %5 br i1 %6, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %7 %8 = load ptr, ptr %1, align 8 %9 = getelementptr inbounds i32, ptr %8, i32 1 store ptr %9, ptr %1, align 8 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, %10 store i32 %12, ptr %3, align 4 %13 = load ptr, ptr %1, align 8 %14 = load ptr, ptr %2, align 8 %15 = icmp ult ptr %13, %14 br i1 %15, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %16 16: ; preds = %._crit_edge, %0 %17 = load i32, ptr %3, align 4 %18 = call i32 (...) @psfdrv() %19 = add nsw i32 %17, %18 ret i32 %19 } declare i32 @psfdrv(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbsba5p0y.c' source_filename = "/tmp/tmpbsba5p0y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @time(ptr noundef null) %7 = call i32 @srand(i32 noundef %6) %8 = call i32 (...) @mainMenu() %9 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %9 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @mainMenu(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbsba5p0y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @time(ptr noundef null) %7 = call i32 @srand(i32 noundef %6) %8 = call i32 (...) @mainMenu() %9 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %9 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @mainMenu(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}