llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpti9ok2yn.c' source_filename = "/tmp/tmpti9ok2yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [130 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/loadingvx/clib/refs/heads/master/trie.c\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"NotImplementedError\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add_trie(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = call i32 @logger_impl(i32 noundef 8, ptr noundef @.str, i32 noundef 35, ptr noundef @.str.1) ret i32 0 } declare i32 @logger_impl(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpti9ok2yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [130 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/loadingvx/clib/refs/heads/master/trie.c\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"NotImplementedError\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add_trie(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = call i32 @logger_impl(i32 noundef 8, ptr noundef @.str, i32 noundef 35, ptr noundef @.str.1) ret i32 0 } declare i32 @logger_impl(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2hthn298.c' source_filename = "/tmp/tmp2hthn298.c" target datalayout = "e-m:e-p270: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.string = private unnamed_addr constant [30 x i8] c"Le petit\09chat gris\0Aest beau!\00\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"New string : %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [30 x i8], align 16 %2 = alloca [30 x i8], align 16 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.string, i64 30, i1 false) store i32 30, ptr %3, align 4 %4 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) %6 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0 %7 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @escape(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @escape(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2hthn298.c" target datalayout = "e-m:e-p270: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.string = private unnamed_addr constant [30 x i8] c"Le petit\09chat gris\0Aest beau!\00\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"New string : %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [30 x i8], align 16 %2 = alloca [30 x i8], align 16 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.string, i64 30, i1 false) store i32 30, ptr %3, align 4 %4 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) %6 = getelementptr inbounds [30 x i8], ptr %1, i64 0, i64 0 %7 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @escape(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @escape(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk8m2ovy9.c' source_filename = "/tmp/tmpk8m2ovy9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aap_full_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @write(i32 noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk8m2ovy9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aap_full_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @write(i32 noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsxkfrie2.c' source_filename = "/tmp/tmpsxkfrie2.c" target datalayout = "e-m:e-p270: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/tmpsxkfrie2.c" target datalayout = "e-m:e-p270: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/tmp56rnau3t.c' source_filename = "/tmp/tmp56rnau3t.c" target datalayout = "e-m:e-p270: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/tmp56rnau3t.c" target datalayout = "e-m:e-p270: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/tmpha0mi3_u.c' source_filename = "/tmp/tmpha0mi3_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10001 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca [26 x i32], align 16 %7 = alloca [26 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %12 12: ; preds = %107, %0 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %2, align 4 %15 = icmp ne i32 %13, 0 br i1 %15, label %16, label %108 16: ; preds = %12 store i32 0, ptr %5, align 4 %17 = getelementptr inbounds [10001 x i8], ptr %4, i64 0, i64 0 %18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %17) %19 = getelementptr inbounds [10001 x i8], ptr %4, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = srem i32 %21, 2 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %16 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %107 26: ; preds = %16 %27 = load i32, ptr %3, align 4 %28 = sdiv i32 %27, 2 store i32 %28, ptr %8, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 br label %29 29: ; preds = %39, %26 %30 = load i32, ptr %9, align 4 %31 = icmp slt i32 %30, 26 br i1 %31, label %32, label %42 32: ; preds = %29 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %34 store i32 0, ptr %35, align 4 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [26 x i32], ptr %6, i64 0, i64 %37 store i32 0, ptr %38, align 4 br label %39 39: ; preds = %32 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 br label %29, !llvm.loop !6 42: ; preds = %29 store i32 0, ptr %9, align 4 br label %43 43: ; preds = %58, %42 %44 = load i32, ptr %9, align 4 %45 = load i32, ptr %8, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %61 47: ; preds = %43 %48 = load i32, ptr %9, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [10001 x i8], ptr %4, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = sub nsw i32 %52, 97 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [26 x i32], ptr %6, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %55, align 4 br label %58 58: ; preds = %47 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %9, align 4 br label %43, !llvm.loop !8 61: ; preds = %43 %62 = load i32, ptr %8, align 4 store i32 %62, ptr %9, align 4 br label %63 63: ; preds = %78, %61 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %3, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %81 67: ; preds = %63 %68 = load i32, ptr %9, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [10001 x i8], ptr %4, i64 0, i64 %69 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = sub nsw i32 %72, 97 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %74 %76 = load i32, ptr %75, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %75, align 4 br label %78 78: ; preds = %67 %79 = load i32, ptr %9, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %9, align 4 br label %63, !llvm.loop !9 81: ; preds = %63 store i32 0, ptr %9, align 4 br label %82 82: ; preds = %100, %81 %83 = load i32, ptr %9, align 4 %84 = icmp slt i32 %83, 26 br i1 %84, label %85, label %103 85: ; preds = %82 %86 = load i32, ptr %9, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %87 %89 = load i32, ptr %88, align 4 %90 = load i32, ptr %9, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [26 x i32], ptr %6, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = sub nsw i32 %89, %93 %95 = call i64 @abs(i32 noundef %94) %96 = load i32, ptr %10, align 4 %97 = sext i32 %96 to i64 %98 = add nsw i64 %97, %95 %99 = trunc i64 %98 to i32 store i32 %99, ptr %10, align 4 br label %100 100: ; preds = %85 %101 = load i32, ptr %9, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %9, align 4 br label %82, !llvm.loop !10 103: ; preds = %82 %104 = load i32, ptr %10, align 4 %105 = sdiv i32 %104, 2 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %105) br label %107 107: ; preds = %103, %24 br label %12, !llvm.loop !11 108: ; preds = %12 %109 = load i32, ptr %1, align 4 ret i32 %109 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @abs(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpha0mi3_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10001 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca [26 x i32], align 16 %7 = alloca [26 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %2, align 4 %14 = icmp ne i32 %12, 0 br i1 %14, label %.lr.ph11, label %116 .lr.ph11: ; preds = %0 br label %15 15: ; preds = %.lr.ph11, %112 store i32 0, ptr %5, align 4 %16 = getelementptr inbounds [10001 x i8], ptr %4, i64 0, i64 0 %17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %16) %18 = getelementptr inbounds [10001 x i8], ptr %4, i64 0, i64 0 %19 = call i32 @strlen(ptr noundef %18) store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = srem i32 %20, 2 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %15 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %112 25: ; preds = %15 %26 = load i32, ptr %3, align 4 %27 = sdiv i32 %26, 2 store i32 %27, ptr %8, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp slt i32 %28, 26 br i1 %29, label %.lr.ph, label %42 .lr.ph: ; preds = %25 br label %30 30: ; preds = %.lr.ph, %37 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %32 store i32 0, ptr %33, align 4 %34 = load i32, ptr %9, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [26 x i32], ptr %6, i64 0, i64 %35 store i32 0, ptr %36, align 4 br label %37 37: ; preds = %30 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 %40 = load i32, ptr %9, align 4 %41 = icmp slt i32 %40, 26 br i1 %41, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %42 42: ; preds = %._crit_edge, %25 store i32 0, ptr %9, align 4 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %8, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %.lr.ph2, label %63 .lr.ph2: ; preds = %42 br label %46 46: ; preds = %.lr.ph2, %57 %47 = load i32, ptr %9, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [10001 x i8], ptr %4, i64 0, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = sub nsw i32 %51, 97 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [26 x i32], ptr %6, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %54, align 4 br label %57 57: ; preds = %46 %58 = load i32, ptr %9, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %9, align 4 %60 = load i32, ptr %9, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %46, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %63 63: ; preds = %._crit_edge3, %42 %64 = load i32, ptr %8, align 4 store i32 %64, ptr %9, align 4 %65 = load i32, ptr %9, align 4 %66 = load i32, ptr %3, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %.lr.ph5, label %85 .lr.ph5: ; preds = %63 br label %68 68: ; preds = %.lr.ph5, %79 %69 = load i32, ptr %9, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [10001 x i8], ptr %4, i64 0, i64 %70 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = sub nsw i32 %73, 97 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %75 %77 = load i32, ptr %76, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %76, align 4 br label %79 79: ; preds = %68 %80 = load i32, ptr %9, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %9, align 4 %82 = load i32, ptr %9, align 4 %83 = load i32, ptr %3, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %68, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %79 br label %85 85: ; preds = %._crit_edge6, %63 store i32 0, ptr %9, align 4 %86 = load i32, ptr %9, align 4 %87 = icmp slt i32 %86, 26 br i1 %87, label %.lr.ph8, label %108 .lr.ph8: ; preds = %85 br label %88 88: ; preds = %.lr.ph8, %103 %89 = load i32, ptr %9, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %90 %92 = load i32, ptr %91, align 4 %93 = load i32, ptr %9, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [26 x i32], ptr %6, i64 0, i64 %94 %96 = load i32, ptr %95, align 4 %97 = sub nsw i32 %92, %96 %98 = call i64 @abs(i32 noundef %97) %99 = load i32, ptr %10, align 4 %100 = sext i32 %99 to i64 %101 = add nsw i64 %100, %98 %102 = trunc i64 %101 to i32 store i32 %102, ptr %10, align 4 br label %103 103: ; preds = %88 %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, 26 br i1 %107, label %88, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %103 br label %108 108: ; preds = %._crit_edge9, %85 %109 = load i32, ptr %10, align 4 %110 = sdiv i32 %109, 2 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %110) br label %112 112: ; preds = %108, %23 %113 = load i32, ptr %2, align 4 %114 = add nsw i32 %113, -1 store i32 %114, ptr %2, align 4 %115 = icmp ne i32 %113, 0 br i1 %115, label %15, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %112 br label %116 116: ; preds = %._crit_edge12, %0 %117 = load i32, ptr %1, align 4 ret i32 %117 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @abs(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpzxg4w_km.c' source_filename = "/tmp/tmpzxg4w_km.c" target datalayout = "e-m:e-p270: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/tmpzxg4w_km.c" target datalayout = "e-m:e-p270: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/tmp1cwwrgcf.c' source_filename = "/tmp/tmp1cwwrgcf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"The address of x is %p\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"The value of x is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %2) %4 = call i32 @fooA(ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fooA(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1cwwrgcf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"The address of x is %p\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"The value of x is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %2) %4 = call i32 @fooA(ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fooA(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgvt5xjj8.c' source_filename = "/tmp/tmpgvt5xjj8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split(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 ptr @strtok(ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @strtok(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgvt5xjj8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split(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 ptr @strtok(ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @strtok(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbep3l8_b.c' source_filename = "/tmp/tmpbep3l8_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"x=%d,y=%d.\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"After swap...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 10, ptr %1, align 4 store i32 20, ptr %2, align 4 %4 = load i32, ptr %1, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5) %7 = call i32 @exch(ptr noundef %1, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = call i32 @exch2(ptr noundef %1, ptr noundef %2) %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14) %16 = call i32 @exch3(ptr noundef %1, ptr noundef %2) %17 = load i32, ptr %1, align 4 %18 = load i32, ptr %2, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18) %20 = call i32 @exch4(ptr noundef %1, ptr noundef %2) %21 = load i32, ptr %1, align 4 %22 = load i32, ptr %2, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22) %24 = call i32 @exch5(ptr noundef %1, ptr noundef %2) %25 = load i32, ptr %1, align 4 %26 = load i32, ptr %2, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25, i32 noundef %26) %28 = load i32, ptr %1, align 4 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %2, align 4 store i32 %29, ptr %1, align 4 %30 = load i32, ptr %3, align 4 store i32 %30, ptr %2, align 4 %31 = load i32, ptr %1, align 4 %32 = load i32, ptr %2, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31, i32 noundef %32) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @exch(ptr noundef, ptr noundef) #1 declare i32 @exch2(ptr noundef, ptr noundef) #1 declare i32 @exch3(ptr noundef, ptr noundef) #1 declare i32 @exch4(ptr noundef, ptr noundef) #1 declare i32 @exch5(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/tmpbep3l8_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"x=%d,y=%d.\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"After swap...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 10, ptr %1, align 4 store i32 20, ptr %2, align 4 %4 = load i32, ptr %1, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5) %7 = call i32 @exch(ptr noundef %1, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = call i32 @exch2(ptr noundef %1, ptr noundef %2) %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14) %16 = call i32 @exch3(ptr noundef %1, ptr noundef %2) %17 = load i32, ptr %1, align 4 %18 = load i32, ptr %2, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18) %20 = call i32 @exch4(ptr noundef %1, ptr noundef %2) %21 = load i32, ptr %1, align 4 %22 = load i32, ptr %2, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22) %24 = call i32 @exch5(ptr noundef %1, ptr noundef %2) %25 = load i32, ptr %1, align 4 %26 = load i32, ptr %2, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25, i32 noundef %26) %28 = load i32, ptr %1, align 4 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %2, align 4 store i32 %29, ptr %1, align 4 %30 = load i32, ptr %3, align 4 store i32 %30, ptr %2, align 4 %31 = load i32, ptr %1, align 4 %32 = load i32, ptr %2, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31, i32 noundef %32) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @exch(ptr noundef, ptr noundef) #1 declare i32 @exch2(ptr noundef, ptr noundef) #1 declare i32 @exch3(ptr noundef, ptr noundef) #1 declare i32 @exch4(ptr noundef, ptr noundef) #1 declare i32 @exch5(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/tmptllhowy1.c' source_filename = "/tmp/tmptllhowy1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FALSE = 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/tmptllhowy1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FALSE = 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/tmpfwg3n8co.c' source_filename = "/tmp/tmpfwg3n8co.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Case %d: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %6, align 4 br label %9 9: ; preds = %38, %0 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %41 13: ; preds = %9 store i32 0, ptr %7, align 4 %14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4) %15 = load i32, ptr %3, align 4 %16 = and i32 %15, 1 %17 = icmp ne i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %13 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %21 21: ; preds = %18, %13 %22 = load i32, ptr %3, align 4 store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %31, %21 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %27, label %34 27: ; preds = %23 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, %28 store i32 %30, ptr %7, align 4 br label %31 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 2 store i32 %33, ptr %5, align 4 br label %23, !llvm.loop !6 34: ; preds = %23 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %7, align 4 %37 = call i32 @printf(ptr noundef @.str.2, i32 noundef %35, i32 noundef %36) br label %38 38: ; preds = %34 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %6, align 4 br label %9, !llvm.loop !8 41: ; preds = %9 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfwg3n8co.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Case %d: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %.lr.ph2, label %45 .lr.ph2: ; preds = %0 br label %12 12: ; preds = %.lr.ph2, %39 store i32 0, ptr %7, align 4 %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4) %14 = load i32, ptr %3, align 4 %15 = and i32 %14, 1 %16 = icmp ne i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %12 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %17, %12 %21 = load i32, ptr %3, align 4 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %.lr.ph, label %35 .lr.ph: ; preds = %20 br label %25 25: ; preds = %.lr.ph, %29 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, %26 store i32 %28, ptr %7, align 4 br label %29 29: ; preds = %25 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 2 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %20 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %7, align 4 %38 = call i32 @printf(ptr noundef @.str.2, i32 noundef %36, i32 noundef %37) br label %39 39: ; preds = %35 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp sle i32 %42, %43 br i1 %44, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %45 45: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpp4m8_b5d.c' source_filename = "/tmp/tmpp4m8_b5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"helloc, world\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/tmpp4m8_b5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"helloc, world\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/tmphx3ltjcp.c' source_filename = "/tmp/tmphx3ltjcp.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"ERROR: %s requires at least two args\0A\00", align 1 @.str.1 = private unnamed_addr constant [78 x i8] c"WARNING:input file %s is not multiple of %d bytes, padding with garbage byte\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr %9, align 8 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %4, align 4 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i32 1 store ptr %23, ptr %5, align 8 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 2 br i1 %25, label %26, label %30 26: ; preds = %2 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %9, align 8 %29 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str, ptr noundef %28) store i32 1, ptr %3, align 4 br label %232 30: ; preds = %2 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 0 %33 = load ptr, ptr %32, align 8 store ptr %33, ptr %10, align 8 %34 = load i32, ptr %6, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %30 %37 = load ptr, ptr %10, align 8 %38 = call i32 @creat(ptr noundef %37, i32 noundef 420) store i32 %38, ptr %11, align 4 br label %42 39: ; preds = %30 %40 = load ptr, ptr %10, align 8 %41 = call i32 @open(ptr noundef %40, i32 noundef 0) store i32 %41, ptr %11, align 4 br label %42 42: ; preds = %39, %36 %43 = load i32, ptr %11, align 4 %44 = icmp eq i32 %43, -1 br i1 %44, label %45, label %50 45: ; preds = %42 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 0 %48 = load ptr, ptr %47, align 8 %49 = call i32 @perror(ptr noundef %48) store i32 1, ptr %3, align 4 br label %232 50: ; preds = %42 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i32 1 store ptr %52, ptr %5, align 8 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, -1 store i32 %54, ptr %4, align 4 %55 = load i32, ptr %4, align 4 %56 = zext i32 %55 to i64 %57 = call ptr @llvm.stacksave() store ptr %57, ptr %12, align 8 %58 = alloca i32, i64 %56, align 16 store i64 %56, ptr %13, align 8 store i32 0, ptr %8, align 4 br label %59 59: ; preds = %100, %50 %60 = load i32, ptr %8, align 4 %61 = load i32, ptr %4, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %63, label %103 63: ; preds = %59 %64 = load i32, ptr %6, align 4 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %76 66: ; preds = %63 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %8, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 %71 = load ptr, ptr %70, align 8 %72 = call i32 @open(ptr noundef %71, i32 noundef 0) %73 = load i32, ptr %8, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %58, i64 %74 store i32 %72, ptr %75, align 4 br label %86 76: ; preds = %63 %77 = load ptr, ptr %5, align 8 %78 = load i32, ptr %8, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %77, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = call i32 @creat(ptr noundef %81, i32 noundef 420) %83 = load i32, ptr %8, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %58, i64 %84 store i32 %82, ptr %85, align 4 br label %86 86: ; preds = %76, %66 %87 = load i32, ptr %8, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %58, i64 %88 %90 = load i32, ptr %89, align 4 %91 = icmp eq i32 %90, -1 br i1 %91, label %92, label %99 92: ; preds = %86 %93 = load ptr, ptr %5, align 8 %94 = load i32, ptr %8, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds ptr, ptr %93, i64 %95 %97 = load ptr, ptr %96, align 8 %98 = call i32 @perror(ptr noundef %97) store i32 1, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %230 99: ; preds = %86 br label %100 100: ; preds = %99 %101 = load i32, ptr %8, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %8, align 4 br label %59, !llvm.loop !6 103: ; preds = %59 br label %104 104: ; preds = %212, %103 br label %105 105: ; preds = %104 %106 = load i32, ptr %4, align 4 %107 = zext i32 %106 to i64 %108 = call ptr @llvm.stacksave() store ptr %108, ptr %15, align 8 %109 = alloca i32, i64 %107, align 16 store i64 %107, ptr %16, align 8 store i32 0, ptr %8, align 4 br label %110 110: ; preds = %159, %105 %111 = load i32, ptr %8, align 4 %112 = load i32, ptr %4, align 4 %113 = icmp slt i32 %111, %112 br i1 %113, label %114, label %162 114: ; preds = %110 %115 = load i32, ptr %6, align 4 %116 = icmp ne i32 %115, 0 br i1 %116, label %119, label %117 117: ; preds = %114 %118 = load i32, ptr %11, align 4 br label %124 119: ; preds = %114 %120 = load i32, ptr %8, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %58, i64 %121 %123 = load i32, ptr %122, align 4 br label %124 124: ; preds = %119, %117 %125 = phi i32 [ %118, %117 ], [ %123, %119 ] %126 = load i32, ptr %8, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i32, ptr %109, i64 %127 %129 = call i32 @read(i32 noundef %125, ptr noundef %128, i32 noundef 1) switch i32 %129, label %158 [ i32 0, label %130 i32 -1, label %144 ] 130: ; preds = %124 %131 = load i32, ptr %8, align 4 %132 = icmp eq i32 %131, 0 br i1 %132, label %133, label %134 133: ; preds = %130 store i32 11, ptr %14, align 4 br label %209 134: ; preds = %130 %135 = load i32, ptr %6, align 4 %136 = icmp ne i32 %135, 0 br i1 %136, label %142, label %137 137: ; preds = %134 %138 = load i32, ptr @stderr, align 4 %139 = load ptr, ptr %10, align 8 %140 = load i32, ptr %4, align 4 %141 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %138, ptr noundef @.str.1, ptr noundef %139, i32 noundef %140) br label %142 142: ; preds = %137, %134 br label %143 143: ; preds = %142 br label %158 144: ; preds = %124 %145 = load i32, ptr %6, align 4 %146 = icmp ne i32 %145, 0 br i1 %146, label %147, label %153 147: ; preds = %144 %148 = load ptr, ptr %5, align 8 %149 = load i32, ptr %8, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds ptr, ptr %148, i64 %150 %152 = load ptr, ptr %151, align 8 br label %155 153: ; preds = %144 %154 = load ptr, ptr %10, align 8 br label %155 155: ; preds = %153, %147 %156 = phi ptr [ %152, %147 ], [ %154, %153 ] %157 = call i32 @perror(ptr noundef %156) store i32 1, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %209 158: ; preds = %124, %143 br label %159 159: ; preds = %158 %160 = load i32, ptr %8, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %8, align 4 br label %110, !llvm.loop !8 162: ; preds = %110 %163 = load i32, ptr %4, align 4 %164 = load i32, ptr %6, align 4 %165 = load i32, ptr %7, align 4 %166 = call i32 @stripe8(ptr noundef %109, i32 noundef %163, i32 noundef %164, i32 noundef %165) store i32 0, ptr %8, align 4 br label %167 167: ; preds = %205, %162 %168 = load i32, ptr %8, align 4 %169 = load i32, ptr %4, align 4 %170 = icmp slt i32 %168, %169 br i1 %170, label %171, label %208 171: ; preds = %167 %172 = load i32, ptr %6, align 4 %173 = icmp ne i32 %172, 0 br i1 %173, label %174, label %176 174: ; preds = %171 %175 = load i32, ptr %11, align 4 br label %181 176: ; preds = %171 %177 = load i32, ptr %8, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds i32, ptr %58, i64 %178 %180 = load i32, ptr %179, align 4 br label %181 181: ; preds = %176, %174 %182 = phi i32 [ %175, %174 ], [ %180, %176 ] %183 = load i32, ptr %8, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds i32, ptr %109, i64 %184 %186 = call i32 @write(i32 noundef %182, ptr noundef %185, i32 noundef 1) switch i32 %186, label %204 [ i32 -1, label %187 i32 0, label %201 ] 187: ; preds = %181 %188 = load i32, ptr %6, align 4 %189 = icmp ne i32 %188, 0 br i1 %189, label %190, label %192 190: ; preds = %187 %191 = load ptr, ptr %10, align 8 br label %198 192: ; preds = %187 %193 = load ptr, ptr %5, align 8 %194 = load i32, ptr %8, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds ptr, ptr %193, i64 %195 %197 = load ptr, ptr %196, align 8 br label %198 198: ; preds = %192, %190 %199 = phi ptr [ %191, %190 ], [ %197, %192 ] %200 = call i32 @perror(ptr noundef %199) store i32 1, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %209 201: ; preds = %181 %202 = load i32, ptr %8, align 4 %203 = add nsw i32 %202, -1 store i32 %203, ptr %8, align 4 br label %204 204: ; preds = %201, %181 br label %205 205: ; preds = %204 %206 = load i32, ptr %8, align 4 %207 = add nsw i32 %206, 1 store i32 %207, ptr %8, align 4 br label %167, !llvm.loop !9 208: ; preds = %167 store i32 0, ptr %14, align 4 br label %209 209: ; preds = %133, %208, %198, %155 %210 = load ptr, ptr %15, align 8 call void @llvm.stackrestore(ptr %210) %211 = load i32, ptr %14, align 4 switch i32 %211, label %230 [ i32 0, label %212 i32 11, label %213 ] 212: ; preds = %209 br label %104 213: ; preds = %209 %214 = load i32, ptr %11, align 4 %215 = call i32 @close(i32 noundef %214) store i32 0, ptr %8, align 4 br label %216 216: ; preds = %226, %213 %217 = load i32, ptr %8, align 4 %218 = load i32, ptr %4, align 4 %219 = icmp slt i32 %217, %218 br i1 %219, label %220, label %229 220: ; preds = %216 %221 = load i32, ptr %4, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds i32, ptr %58, i64 %222 %224 = load i32, ptr %223, align 4 %225 = call i32 @close(i32 noundef %224) br label %226 226: ; preds = %220 %227 = load i32, ptr %8, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %8, align 4 br label %216, !llvm.loop !10 229: ; preds = %216 store i32 0, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %230 230: ; preds = %229, %209, %92 %231 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %231) br label %232 232: ; preds = %230, %45, %26 %233 = load i32, ptr %3, align 4 ret i32 %233 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @stripe8(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphx3ltjcp.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"ERROR: %s requires at least two args\0A\00", align 1 @.str.1 = private unnamed_addr constant [78 x i8] c"WARNING:input file %s is not multiple of %d bytes, padding with garbage byte\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr %9, align 8 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %4, align 4 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i32 1 store ptr %23, ptr %5, align 8 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 2 br i1 %25, label %26, label %30 26: ; preds = %2 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %9, align 8 %29 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str, ptr noundef %28) store i32 1, ptr %3, align 4 br label %240 30: ; preds = %2 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 0 %33 = load ptr, ptr %32, align 8 store ptr %33, ptr %10, align 8 %34 = load i32, ptr %6, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %30 %37 = load ptr, ptr %10, align 8 %38 = call i32 @creat(ptr noundef %37, i32 noundef 420) store i32 %38, ptr %11, align 4 br label %42 39: ; preds = %30 %40 = load ptr, ptr %10, align 8 %41 = call i32 @open(ptr noundef %40, i32 noundef 0) store i32 %41, ptr %11, align 4 br label %42 42: ; preds = %39, %36 %43 = load i32, ptr %11, align 4 %44 = icmp eq i32 %43, -1 br i1 %44, label %45, label %50 45: ; preds = %42 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 0 %48 = load ptr, ptr %47, align 8 %49 = call i32 @perror(ptr noundef %48) store i32 1, ptr %3, align 4 br label %240 50: ; preds = %42 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i32 1 store ptr %52, ptr %5, align 8 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, -1 store i32 %54, ptr %4, align 4 %55 = load i32, ptr %4, align 4 %56 = zext i32 %55 to i64 %57 = call ptr @llvm.stacksave() store ptr %57, ptr %12, align 8 %58 = alloca i32, i64 %56, align 16 store i64 %56, ptr %13, align 8 store i32 0, ptr %8, align 4 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %4, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %.lr.ph, label %105 .lr.ph: ; preds = %50 br label %62 62: ; preds = %.lr.ph, %99 %63 = load i32, ptr %6, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %75 65: ; preds = %62 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %8, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = call i32 @open(ptr noundef %70, i32 noundef 0) %72 = load i32, ptr %8, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %58, i64 %73 store i32 %71, ptr %74, align 4 br label %85 75: ; preds = %62 %76 = load ptr, ptr %5, align 8 %77 = load i32, ptr %8, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %76, i64 %78 %80 = load ptr, ptr %79, align 8 %81 = call i32 @creat(ptr noundef %80, i32 noundef 420) %82 = load i32, ptr %8, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %58, i64 %83 store i32 %81, ptr %84, align 4 br label %85 85: ; preds = %75, %65 %86 = load i32, ptr %8, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %58, i64 %87 %89 = load i32, ptr %88, align 4 %90 = icmp eq i32 %89, -1 br i1 %90, label %91, label %98 91: ; preds = %85 %92 = load ptr, ptr %5, align 8 %93 = load i32, ptr %8, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds ptr, ptr %92, i64 %94 %96 = load ptr, ptr %95, align 8 %97 = call i32 @perror(ptr noundef %96) store i32 1, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %238 98: ; preds = %85 br label %99 99: ; preds = %98 %100 = load i32, ptr %8, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %8, align 4 %102 = load i32, ptr %8, align 4 %103 = load i32, ptr %4, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %62, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %99 br label %105 105: ; preds = %._crit_edge, %50 br label %106 106: ; preds = %218, %105 br label %107 107: ; preds = %106 %108 = load i32, ptr %4, align 4 %109 = zext i32 %108 to i64 %110 = call ptr @llvm.stacksave() store ptr %110, ptr %15, align 8 %111 = alloca i32, i64 %109, align 16 store i64 %109, ptr %16, align 8 store i32 0, ptr %8, align 4 %112 = load i32, ptr %8, align 4 %113 = load i32, ptr %4, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %.lr.ph2, label %166 .lr.ph2: ; preds = %107 br label %115 115: ; preds = %.lr.ph2, %160 %116 = load i32, ptr %6, align 4 %117 = icmp ne i32 %116, 0 br i1 %117, label %120, label %118 118: ; preds = %115 %119 = load i32, ptr %11, align 4 br label %125 120: ; preds = %115 %121 = load i32, ptr %8, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i32, ptr %58, i64 %122 %124 = load i32, ptr %123, align 4 br label %125 125: ; preds = %120, %118 %126 = phi i32 [ %119, %118 ], [ %124, %120 ] %127 = load i32, ptr %8, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i32, ptr %111, i64 %128 %130 = call i32 @read(i32 noundef %126, ptr noundef %129, i32 noundef 1) switch i32 %130, label %159 [ i32 0, label %131 i32 -1, label %145 ] 131: ; preds = %125 %132 = load i32, ptr %8, align 4 %133 = icmp eq i32 %132, 0 br i1 %133, label %134, label %135 134: ; preds = %131 store i32 11, ptr %14, align 4 br label %215 135: ; preds = %131 %136 = load i32, ptr %6, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %143, label %138 138: ; preds = %135 %139 = load i32, ptr @stderr, align 4 %140 = load ptr, ptr %10, align 8 %141 = load i32, ptr %4, align 4 %142 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %139, ptr noundef @.str.1, ptr noundef %140, i32 noundef %141) br label %143 143: ; preds = %138, %135 br label %144 144: ; preds = %143 br label %159 145: ; preds = %125 %146 = load i32, ptr %6, align 4 %147 = icmp ne i32 %146, 0 br i1 %147, label %148, label %154 148: ; preds = %145 %149 = load ptr, ptr %5, align 8 %150 = load i32, ptr %8, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds ptr, ptr %149, i64 %151 %153 = load ptr, ptr %152, align 8 br label %156 154: ; preds = %145 %155 = load ptr, ptr %10, align 8 br label %156 156: ; preds = %154, %148 %157 = phi ptr [ %153, %148 ], [ %155, %154 ] %158 = call i32 @perror(ptr noundef %157) store i32 1, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %215 159: ; preds = %144, %125 br label %160 160: ; preds = %159 %161 = load i32, ptr %8, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %8, align 4 %163 = load i32, ptr %8, align 4 %164 = load i32, ptr %4, align 4 %165 = icmp slt i32 %163, %164 br i1 %165, label %115, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %160 br label %166 166: ; preds = %._crit_edge3, %107 %167 = load i32, ptr %4, align 4 %168 = load i32, ptr %6, align 4 %169 = load i32, ptr %7, align 4 %170 = call i32 @stripe8(ptr noundef %111, i32 noundef %167, i32 noundef %168, i32 noundef %169) store i32 0, ptr %8, align 4 %171 = load i32, ptr %8, align 4 %172 = load i32, ptr %4, align 4 %173 = icmp slt i32 %171, %172 br i1 %173, label %.lr.ph5, label %214 .lr.ph5: ; preds = %166 br label %174 174: ; preds = %.lr.ph5, %208 %175 = load i32, ptr %6, align 4 %176 = icmp ne i32 %175, 0 br i1 %176, label %177, label %179 177: ; preds = %174 %178 = load i32, ptr %11, align 4 br label %184 179: ; preds = %174 %180 = load i32, ptr %8, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i32, ptr %58, i64 %181 %183 = load i32, ptr %182, align 4 br label %184 184: ; preds = %179, %177 %185 = phi i32 [ %178, %177 ], [ %183, %179 ] %186 = load i32, ptr %8, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i32, ptr %111, i64 %187 %189 = call i32 @write(i32 noundef %185, ptr noundef %188, i32 noundef 1) switch i32 %189, label %207 [ i32 -1, label %190 i32 0, label %204 ] 190: ; preds = %184 %191 = load i32, ptr %6, align 4 %192 = icmp ne i32 %191, 0 br i1 %192, label %193, label %195 193: ; preds = %190 %194 = load ptr, ptr %10, align 8 br label %201 195: ; preds = %190 %196 = load ptr, ptr %5, align 8 %197 = load i32, ptr %8, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds ptr, ptr %196, i64 %198 %200 = load ptr, ptr %199, align 8 br label %201 201: ; preds = %195, %193 %202 = phi ptr [ %194, %193 ], [ %200, %195 ] %203 = call i32 @perror(ptr noundef %202) store i32 1, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %215 204: ; preds = %184 %205 = load i32, ptr %8, align 4 %206 = add nsw i32 %205, -1 store i32 %206, ptr %8, align 4 br label %207 207: ; preds = %204, %184 br label %208 208: ; preds = %207 %209 = load i32, ptr %8, align 4 %210 = add nsw i32 %209, 1 store i32 %210, ptr %8, align 4 %211 = load i32, ptr %8, align 4 %212 = load i32, ptr %4, align 4 %213 = icmp slt i32 %211, %212 br i1 %213, label %174, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %208 br label %214 214: ; preds = %._crit_edge6, %166 store i32 0, ptr %14, align 4 br label %215 215: ; preds = %214, %201, %156, %134 %216 = load ptr, ptr %15, align 8 call void @llvm.stackrestore(ptr %216) %217 = load i32, ptr %14, align 4 switch i32 %217, label %.loopexit [ i32 0, label %218 i32 11, label %219 ] 218: ; preds = %215 br label %106 219: ; preds = %215 %220 = load i32, ptr %11, align 4 %221 = call i32 @close(i32 noundef %220) store i32 0, ptr %8, align 4 %222 = load i32, ptr %8, align 4 %223 = load i32, ptr %4, align 4 %224 = icmp slt i32 %222, %223 br i1 %224, label %.lr.ph8, label %237 .lr.ph8: ; preds = %219 br label %225 225: ; preds = %.lr.ph8, %231 %226 = load i32, ptr %4, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds i32, ptr %58, i64 %227 %229 = load i32, ptr %228, align 4 %230 = call i32 @close(i32 noundef %229) br label %231 231: ; preds = %225 %232 = load i32, ptr %8, align 4 %233 = add nsw i32 %232, 1 store i32 %233, ptr %8, align 4 %234 = load i32, ptr %8, align 4 %235 = load i32, ptr %4, align 4 %236 = icmp slt i32 %234, %235 br i1 %236, label %225, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %231 br label %237 237: ; preds = %._crit_edge9, %219 store i32 0, ptr %3, align 4 store i32 1, ptr %14, align 4 br label %238 .loopexit: ; preds = %215 br label %238 238: ; preds = %.loopexit, %237, %91 %239 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %239) br label %240 240: ; preds = %238, %45, %26 %241 = load i32, ptr %3, align 4 ret i32 %241 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @stripe8(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmptrrljnew.c' source_filename = "/tmp/tmptrrljnew.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i64, i64, i64 } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"C\00", align 1 @__const.main.locales = private unnamed_addr constant [3 x ptr] [ptr null, ptr @.str, ptr @.str.1], align 16 @.str.2 = private unnamed_addr constant [14 x i8] c"Local is: %s\0A\00", align 1 @LC_ALL = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"Illegal time.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x ptr], align 16 %3 = alloca i64, align 8 %4 = alloca %struct.tm, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.locales, i64 24, i1 false) store i64 0, ptr %3, align 8 %6 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 6 store i64 0, ptr %6, align 8 %7 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5 store i64 0, ptr %7, align 8 %8 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4 store i64 0, ptr %8, align 8 %9 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0 store i32 1, ptr %9, align 8 %10 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1 store i32 0, ptr %10, align 4 %11 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2 store i32 70, ptr %11, align 8 %12 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3 store i32 -1, ptr %12, align 4 store i64 0, ptr %3, align 8 br label %13 13: ; preds = %29, %0 %14 = load i64, ptr %3, align 8 %15 = icmp ult i64 %14, 3 br i1 %15, label %16, label %32 16: ; preds = %13 %17 = load i32, ptr @LC_ALL, align 4 %18 = load i64, ptr %3, align 8 %19 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call ptr @setlocale(i32 noundef %17, ptr noundef %20) %22 = call i32 @printf(ptr noundef @.str.2, ptr noundef %21) %23 = call i32 @mktime(ptr noundef %4) store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %28 26: ; preds = %16 %27 = call i32 @puts(ptr noundef @.str.3) br label %28 28: ; preds = %26, %16 br label %29 29: ; preds = %28 %30 = load i64, ptr %3, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %3, align 8 br label %13, !llvm.loop !6 32: ; preds = %13 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @setlocale(i32 noundef, ptr noundef) #2 declare i32 @mktime(ptr noundef) #2 declare i32 @puts(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptrrljnew.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i64, i64, i64 } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"C\00", align 1 @__const.main.locales = private unnamed_addr constant [3 x ptr] [ptr null, ptr @.str, ptr @.str.1], align 16 @.str.2 = private unnamed_addr constant [14 x i8] c"Local is: %s\0A\00", align 1 @LC_ALL = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"Illegal time.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x ptr], align 16 %3 = alloca i64, align 8 %4 = alloca %struct.tm, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.locales, i64 24, i1 false) store i64 0, ptr %3, align 8 %6 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 6 store i64 0, ptr %6, align 8 %7 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5 store i64 0, ptr %7, align 8 %8 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4 store i64 0, ptr %8, align 8 %9 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0 store i32 1, ptr %9, align 8 %10 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1 store i32 0, ptr %10, align 4 %11 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2 store i32 70, ptr %11, align 8 %12 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3 store i32 -1, ptr %12, align 4 store i64 0, ptr %3, align 8 %13 = load i64, ptr %3, align 8 %14 = icmp ult i64 %13, 3 br i1 %14, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %28 %16 = load i32, ptr @LC_ALL, align 4 %17 = load i64, ptr %3, align 8 %18 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call ptr @setlocale(i32 noundef %16, ptr noundef %19) %21 = call i32 @printf(ptr noundef @.str.2, ptr noundef %20) %22 = call i32 @mktime(ptr noundef %4) store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %27 25: ; preds = %15 %26 = call i32 @puts(ptr noundef @.str.3) br label %27 27: ; preds = %25, %15 br label %28 28: ; preds = %27 %29 = load i64, ptr %3, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %3, align 8 %31 = load i64, ptr %3, align 8 %32 = icmp ult i64 %31, 3 br i1 %32, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @setlocale(i32 noundef, ptr noundef) #2 declare i32 @mktime(ptr noundef) #2 declare i32 @puts(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps72vgjtu.c' source_filename = "/tmp/tmps72vgjtu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @servoHighHold() #0 { %1 = call i32 @servoSetHigh(i32 noundef 233) ret void } declare i32 @servoSetHigh(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/tmps72vgjtu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @servoHighHold() #0 { %1 = call i32 @servoSetHigh(i32 noundef 233) ret void } declare i32 @servoSetHigh(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/tmpkiplfcp0.c' source_filename = "/tmp/tmpkiplfcp0.c" target datalayout = "e-m:e-p270: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/tmpkiplfcp0.c" target datalayout = "e-m:e-p270: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/tmpr6n8idfk.c' source_filename = "/tmp/tmpr6n8idfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_words.str = internal global [4096 x i8] zeroinitializer, align 16 @get_words.str_copy = internal global [4096 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [153 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cgogn/CGoGN_2/refs/heads/develop-schmitte/thirdparty/ply/ply.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_words(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 10, ptr %9, align 4 store i32 0, ptr %10, align 4 %14 = load i32, ptr %9, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 8, %15 %17 = trunc i64 %16 to i32 %18 = call i64 @my_alloc(i32 noundef %17, i32 noundef 1726, ptr noundef @.str) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 %21 = call ptr @fgets(ptr noundef @get_words.str, i32 noundef 4096, ptr noundef %20) store ptr %21, ptr %13, align 8 %22 = load ptr, ptr %13, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %27 24: ; preds = %3 %25 = load ptr, ptr %6, align 8 store i32 0, ptr %25, align 4 %26 = load ptr, ptr %7, align 8 store ptr null, ptr %26, align 8 store ptr null, ptr %4, align 8 br label %156 27: ; preds = %3 store i8 32, ptr getelementptr inbounds ([4096 x i8], ptr @get_words.str, i64 0, i64 4094), align 2 store i8 0, ptr getelementptr inbounds ([4096 x i8], ptr @get_words.str, i64 0, i64 4095), align 1 store ptr @get_words.str, ptr %11, align 8 store ptr @get_words.str_copy, ptr %12, align 8 br label %28 28: ; preds = %54, %27 %29 = load ptr, ptr %11, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %59 33: ; preds = %28 %34 = load ptr, ptr %11, align 8 %35 = load i8, ptr %34, align 1 %36 = load ptr, ptr %12, align 8 store i8 %35, ptr %36, align 1 %37 = load ptr, ptr %11, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 9 br i1 %40, label %41, label %44 41: ; preds = %33 %42 = load ptr, ptr %11, align 8 store i8 32, ptr %42, align 1 %43 = load ptr, ptr %12, align 8 store i8 32, ptr %43, align 1 br label %53 44: ; preds = %33 %45 = load ptr, ptr %11, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 10 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = load ptr, ptr %11, align 8 store i8 32, ptr %50, align 1 %51 = load ptr, ptr %12, align 8 store i8 0, ptr %51, align 1 br label %59 52: ; preds = %44 br label %53 53: ; preds = %52, %41 br label %54 54: ; preds = %53 %55 = load ptr, ptr %11, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %11, align 8 %57 = load ptr, ptr %12, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %12, align 8 br label %28, !llvm.loop !6 59: ; preds = %49, %28 store ptr @get_words.str, ptr %11, align 8 br label %60 60: ; preds = %150, %59 %61 = load ptr, ptr %11, align 8 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %151 65: ; preds = %60 br label %66 66: ; preds = %71, %65 %67 = load ptr, ptr %11, align 8 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 32 br i1 %70, label %71, label %74 71: ; preds = %66 %72 = load ptr, ptr %11, align 8 %73 = getelementptr inbounds i8, ptr %72, i32 1 store ptr %73, ptr %11, align 8 br label %66, !llvm.loop !8 74: ; preds = %66 %75 = load ptr, ptr %11, align 8 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 0 br i1 %78, label %79, label %80 79: ; preds = %74 br label %151 80: ; preds = %74 %81 = load i32, ptr %10, align 4 %82 = load i32, ptr %9, align 4 %83 = icmp sge i32 %81, %82 br i1 %83, label %84, label %94 84: ; preds = %80 %85 = load i32, ptr %9, align 4 %86 = add nsw i32 %85, 10 store i32 %86, ptr %9, align 4 %87 = load ptr, ptr %8, align 8 %88 = load i32, ptr %9, align 4 %89 = sext i32 %88 to i64 %90 = mul i64 8, %89 %91 = trunc i64 %90 to i32 %92 = call i64 @realloc(ptr noundef %87, i32 noundef %91) %93 = inttoptr i64 %92 to ptr store ptr %93, ptr %8, align 8 br label %94 94: ; preds = %84, %80 %95 = load ptr, ptr %11, align 8 %96 = load i8, ptr %95, align 1 %97 = sext i8 %96 to i32 %98 = icmp eq i32 %97, 34 br i1 %98, label %99, label %132 99: ; preds = %94 %100 = load ptr, ptr %11, align 8 %101 = getelementptr inbounds i8, ptr %100, i32 1 store ptr %101, ptr %11, align 8 %102 = load ptr, ptr %11, align 8 %103 = load ptr, ptr %8, align 8 %104 = load i32, ptr %10, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %10, align 4 %106 = sext i32 %104 to i64 %107 = getelementptr inbounds ptr, ptr %103, i64 %106 store ptr %102, ptr %107, align 8 br label %108 108: ; preds = %120, %99 %109 = load ptr, ptr %11, align 8 %110 = load i8, ptr %109, align 1 %111 = sext i8 %110 to i32 %112 = icmp ne i32 %111, 34 br i1 %112, label %113, label %118 113: ; preds = %108 %114 = load ptr, ptr %11, align 8 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp ne i32 %116, 0 br label %118 118: ; preds = %113, %108 %119 = phi i1 [ false, %108 ], [ %117, %113 ] br i1 %119, label %120, label %123 120: ; preds = %118 %121 = load ptr, ptr %11, align 8 %122 = getelementptr inbounds i8, ptr %121, i32 1 store ptr %122, ptr %11, align 8 br label %108, !llvm.loop !9 123: ; preds = %118 %124 = load ptr, ptr %11, align 8 %125 = load i8, ptr %124, align 1 %126 = sext i8 %125 to i32 %127 = icmp ne i32 %126, 0 br i1 %127, label %128, label %131 128: ; preds = %123 %129 = load ptr, ptr %11, align 8 %130 = getelementptr inbounds i8, ptr %129, i32 1 store ptr %130, ptr %11, align 8 store i8 0, ptr %129, align 1 br label %131 131: ; preds = %128, %123 br label %150 132: ; preds = %94 %133 = load ptr, ptr %11, align 8 %134 = load ptr, ptr %8, align 8 %135 = load i32, ptr %10, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %10, align 4 %137 = sext i32 %135 to i64 %138 = getelementptr inbounds ptr, ptr %134, i64 %137 store ptr %133, ptr %138, align 8 br label %139 139: ; preds = %144, %132 %140 = load ptr, ptr %11, align 8 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp ne i32 %142, 32 br i1 %143, label %144, label %147 144: ; preds = %139 %145 = load ptr, ptr %11, align 8 %146 = getelementptr inbounds i8, ptr %145, i32 1 store ptr %146, ptr %11, align 8 br label %139, !llvm.loop !10 147: ; preds = %139 %148 = load ptr, ptr %11, align 8 %149 = getelementptr inbounds i8, ptr %148, i32 1 store ptr %149, ptr %11, align 8 store i8 0, ptr %148, align 1 br label %150 150: ; preds = %147, %131 br label %60, !llvm.loop !11 151: ; preds = %79, %60 %152 = load i32, ptr %10, align 4 %153 = load ptr, ptr %6, align 8 store i32 %152, ptr %153, align 4 %154 = load ptr, ptr %7, align 8 store ptr @get_words.str_copy, ptr %154, align 8 %155 = load ptr, ptr %8, align 8 store ptr %155, ptr %4, align 8 br label %156 156: ; preds = %151, %24 %157 = load ptr, ptr %4, align 8 ret ptr %157 } declare i64 @my_alloc(i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr6n8idfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_words.str = internal global [4096 x i8] zeroinitializer, align 16 @get_words.str_copy = internal global [4096 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [153 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/cgogn/CGoGN_2/refs/heads/develop-schmitte/thirdparty/ply/ply.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_words(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 10, ptr %9, align 4 store i32 0, ptr %10, align 4 %14 = load i32, ptr %9, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 8, %15 %17 = trunc i64 %16 to i32 %18 = call i64 @my_alloc(i32 noundef %17, i32 noundef 1726, ptr noundef @.str) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 %21 = call ptr @fgets(ptr noundef @get_words.str, i32 noundef 4096, ptr noundef %20) store ptr %21, ptr %13, align 8 %22 = load ptr, ptr %13, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %27 24: ; preds = %3 %25 = load ptr, ptr %6, align 8 store i32 0, ptr %25, align 4 %26 = load ptr, ptr %7, align 8 store ptr null, ptr %26, align 8 store ptr null, ptr %4, align 8 br label %168 27: ; preds = %3 store i8 32, ptr getelementptr inbounds ([4096 x i8], ptr @get_words.str, i64 0, i64 4094), align 2 store i8 0, ptr getelementptr inbounds ([4096 x i8], ptr @get_words.str, i64 0, i64 4095), align 1 store ptr @get_words.str, ptr %11, align 8 store ptr @get_words.str_copy, ptr %12, align 8 %28 = load ptr, ptr %11, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %27 br label %32 32: ; preds = %.lr.ph, %53 %33 = load ptr, ptr %11, align 8 %34 = load i8, ptr %33, align 1 %35 = load ptr, ptr %12, align 8 store i8 %34, ptr %35, align 1 %36 = load ptr, ptr %11, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 9 br i1 %39, label %40, label %43 40: ; preds = %32 %41 = load ptr, ptr %11, align 8 store i8 32, ptr %41, align 1 %42 = load ptr, ptr %12, align 8 store i8 32, ptr %42, align 1 br label %52 43: ; preds = %32 %44 = load ptr, ptr %11, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 10 br i1 %47, label %48, label %51 48: ; preds = %43 %49 = load ptr, ptr %11, align 8 store i8 32, ptr %49, align 1 %50 = load ptr, ptr %12, align 8 store i8 0, ptr %50, align 1 br label %62 51: ; preds = %43 br label %52 52: ; preds = %51, %40 br label %53 53: ; preds = %52 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %11, align 8 %56 = load ptr, ptr %12, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %12, align 8 %58 = load ptr, ptr %11, align 8 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp ne i32 %60, 0 br i1 %61, label %32, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %53 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %27 br label %62 62: ; preds = %.loopexit1, %48 store ptr @get_words.str, ptr %11, align 8 %63 = load ptr, ptr %11, align 8 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 0 br i1 %66, label %.lr.ph7, label %.loopexit .lr.ph7: ; preds = %62 br label %67 67: ; preds = %.lr.ph7, %158 %68 = load ptr, ptr %11, align 8 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 32 br i1 %71, label %.lr.ph2, label %79 .lr.ph2: ; preds = %67 br label %72 72: ; preds = %.lr.ph2, %72 %73 = load ptr, ptr %11, align 8 %74 = getelementptr inbounds i8, ptr %73, i32 1 store ptr %74, ptr %11, align 8 %75 = load ptr, ptr %11, align 8 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 32 br i1 %78, label %72, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %72 br label %79 79: ; preds = %._crit_edge, %67 %80 = load ptr, ptr %11, align 8 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp eq i32 %82, 0 br i1 %83, label %84, label %85 84: ; preds = %79 br label %163 85: ; preds = %79 %86 = load i32, ptr %10, align 4 %87 = load i32, ptr %9, align 4 %88 = icmp sge i32 %86, %87 br i1 %88, label %89, label %99 89: ; preds = %85 %90 = load i32, ptr %9, align 4 %91 = add nsw i32 %90, 10 store i32 %91, ptr %9, align 4 %92 = load ptr, ptr %8, align 8 %93 = load i32, ptr %9, align 4 %94 = sext i32 %93 to i64 %95 = mul i64 8, %94 %96 = trunc i64 %95 to i32 %97 = call i64 @realloc(ptr noundef %92, i32 noundef %96) %98 = inttoptr i64 %97 to ptr store ptr %98, ptr %8, align 8 br label %99 99: ; preds = %89, %85 %100 = load ptr, ptr %11, align 8 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 34 br i1 %103, label %104, label %137 104: ; preds = %99 %105 = load ptr, ptr %11, align 8 %106 = getelementptr inbounds i8, ptr %105, i32 1 store ptr %106, ptr %11, align 8 %107 = load ptr, ptr %11, align 8 %108 = load ptr, ptr %8, align 8 %109 = load i32, ptr %10, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %10, align 4 %111 = sext i32 %109 to i64 %112 = getelementptr inbounds ptr, ptr %108, i64 %111 store ptr %107, ptr %112, align 8 br label %113 113: ; preds = %125, %104 %114 = load ptr, ptr %11, align 8 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp ne i32 %116, 34 br i1 %117, label %118, label %123 118: ; preds = %113 %119 = load ptr, ptr %11, align 8 %120 = load i8, ptr %119, align 1 %121 = sext i8 %120 to i32 %122 = icmp ne i32 %121, 0 br label %123 123: ; preds = %118, %113 %124 = phi i1 [ false, %113 ], [ %122, %118 ] br i1 %124, label %125, label %128 125: ; preds = %123 %126 = load ptr, ptr %11, align 8 %127 = getelementptr inbounds i8, ptr %126, i32 1 store ptr %127, ptr %11, align 8 br label %113, !llvm.loop !9 128: ; preds = %123 %129 = load ptr, ptr %11, align 8 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %136 133: ; preds = %128 %134 = load ptr, ptr %11, align 8 %135 = getelementptr inbounds i8, ptr %134, i32 1 store ptr %135, ptr %11, align 8 store i8 0, ptr %134, align 1 br label %136 136: ; preds = %133, %128 br label %158 137: ; preds = %99 %138 = load ptr, ptr %11, align 8 %139 = load ptr, ptr %8, align 8 %140 = load i32, ptr %10, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %10, align 4 %142 = sext i32 %140 to i64 %143 = getelementptr inbounds ptr, ptr %139, i64 %142 store ptr %138, ptr %143, align 8 %144 = load ptr, ptr %11, align 8 %145 = load i8, ptr %144, align 1 %146 = sext i8 %145 to i32 %147 = icmp ne i32 %146, 32 br i1 %147, label %.lr.ph4, label %155 .lr.ph4: ; preds = %137 br label %148 148: ; preds = %.lr.ph4, %148 %149 = load ptr, ptr %11, align 8 %150 = getelementptr inbounds i8, ptr %149, i32 1 store ptr %150, ptr %11, align 8 %151 = load ptr, ptr %11, align 8 %152 = load i8, ptr %151, align 1 %153 = sext i8 %152 to i32 %154 = icmp ne i32 %153, 32 br i1 %154, label %148, label %._crit_edge5, !llvm.loop !10 ._crit_edge5: ; preds = %148 br label %155 155: ; preds = %._crit_edge5, %137 %156 = load ptr, ptr %11, align 8 %157 = getelementptr inbounds i8, ptr %156, i32 1 store ptr %157, ptr %11, align 8 store i8 0, ptr %156, align 1 br label %158 158: ; preds = %155, %136 %159 = load ptr, ptr %11, align 8 %160 = load i8, ptr %159, align 1 %161 = sext i8 %160 to i32 %162 = icmp ne i32 %161, 0 br i1 %162, label %67, label %..loopexit_crit_edge, !llvm.loop !11 ..loopexit_crit_edge: ; preds = %158 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %62 br label %163 163: ; preds = %.loopexit, %84 %164 = load i32, ptr %10, align 4 %165 = load ptr, ptr %6, align 8 store i32 %164, ptr %165, align 4 %166 = load ptr, ptr %7, align 8 store ptr @get_words.str_copy, ptr %166, align 8 %167 = load ptr, ptr %8, align 8 store ptr %167, ptr %4, align 8 br label %168 168: ; preds = %163, %24 %169 = load ptr, ptr %4, align 8 ret ptr %169 } declare i64 @my_alloc(i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp7btzx30k.c' source_filename = "/tmp/tmp7btzx30k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @testLong() %2 = call i32 (...) @testInt() %3 = call i32 (...) @testShort() %4 = call i32 (...) @testByte() %5 = call i32 (...) @testPointer() ret i32 0 } declare i32 @testLong(...) #1 declare i32 @testInt(...) #1 declare i32 @testShort(...) #1 declare i32 @testByte(...) #1 declare i32 @testPointer(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7btzx30k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @testLong() %2 = call i32 (...) @testInt() %3 = call i32 (...) @testShort() %4 = call i32 (...) @testByte() %5 = call i32 (...) @testPointer() ret i32 0 } declare i32 @testLong(...) #1 declare i32 @testInt(...) #1 declare i32 @testShort(...) #1 declare i32 @testByte(...) #1 declare i32 @testPointer(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpawr1am86.c' source_filename = "/tmp/tmpawr1am86.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fffi2int(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i16 noundef signext %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca i16, align 2 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i64, align 8 %24 = alloca double, align 8 store ptr %0, ptr %12, align 8 store i64 %1, ptr %13, align 8 store double %2, ptr %14, align 8 store double %3, ptr %15, align 8 store i32 %4, ptr %16, align 4 store i16 %5, ptr %17, align 2 store i32 %6, ptr %18, align 4 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %25 = load i32, ptr %16, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %96 27: ; preds = %11 %28 = load double, ptr %14, align 8 %29 = fcmp oeq double %28, 1.000000e+00 br i1 %29, label %30, label %51 30: ; preds = %27 %31 = load double, ptr %15, align 8 %32 = fcmp oeq double %31, 0.000000e+00 br i1 %32, label %33, label %51 33: ; preds = %30 store i64 0, ptr %23, align 8 br label %34 34: ; preds = %47, %33 %35 = load i64, ptr %23, align 8 %36 = load i64, ptr %13, align 8 %37 = icmp slt i64 %35, %36 br i1 %37, label %38, label %50 38: ; preds = %34 %39 = load ptr, ptr %12, align 8 %40 = load i64, ptr %23, align 8 %41 = getelementptr inbounds i16, ptr %39, i64 %40 %42 = load i16, ptr %41, align 2 %43 = sext i16 %42 to i32 %44 = load ptr, ptr %21, align 8 %45 = load i64, ptr %23, align 8 %46 = getelementptr inbounds i32, ptr %44, i64 %45 store i32 %43, ptr %46, align 4 br label %47 47: ; preds = %38 %48 = load i64, ptr %23, align 8 %49 = add nsw i64 %48, 1 store i64 %49, ptr %23, align 8 br label %34, !llvm.loop !6 50: ; preds = %34 br label %95 51: ; preds = %30, %27 store i64 0, ptr %23, align 8 br label %52 52: ; preds = %91, %51 %53 = load i64, ptr %23, align 8 %54 = load i64, ptr %13, align 8 %55 = icmp slt i64 %53, %54 br i1 %55, label %56, label %94 56: ; preds = %52 %57 = load ptr, ptr %12, align 8 %58 = load i64, ptr %23, align 8 %59 = getelementptr inbounds i16, ptr %57, i64 %58 %60 = load i16, ptr %59, align 2 %61 = sext i16 %60 to i32 %62 = sitofp i32 %61 to double %63 = load double, ptr %14, align 8 %64 = load double, ptr %15, align 8 %65 = call double @llvm.fmuladd.f64(double %62, double %63, double %64) store double %65, ptr %24, align 8 %66 = load double, ptr %24, align 8 %67 = fcmp olt double %66, 0xC1E00000000FAE14 br i1 %67, label %68, label %74 68: ; preds = %56 %69 = load ptr, ptr %22, align 8 store i32 -11, ptr %69, align 4 %70 = load i32, ptr @INT_MIN, align 4 %71 = load ptr, ptr %21, align 8 %72 = load i64, ptr %23, align 8 %73 = getelementptr inbounds i32, ptr %71, i64 %72 store i32 %70, ptr %73, align 4 br label %90 74: ; preds = %56 %75 = load double, ptr %24, align 8 %76 = fcmp ogt double %75, 0x41DFFFFFFFDF5C29 br i1 %76, label %77, label %83 77: ; preds = %74 %78 = load ptr, ptr %22, align 8 store i32 -11, ptr %78, align 4 %79 = load i32, ptr @INT_MAX, align 4 %80 = load ptr, ptr %21, align 8 %81 = load i64, ptr %23, align 8 %82 = getelementptr inbounds i32, ptr %80, i64 %81 store i32 %79, ptr %82, align 4 br label %89 83: ; preds = %74 %84 = load double, ptr %24, align 8 %85 = fptosi double %84 to i32 %86 = load ptr, ptr %21, align 8 %87 = load i64, ptr %23, align 8 %88 = getelementptr inbounds i32, ptr %86, i64 %87 store i32 %85, ptr %88, align 4 br label %89 89: ; preds = %83, %77 br label %90 90: ; preds = %89, %68 br label %91 91: ; preds = %90 %92 = load i64, ptr %23, align 8 %93 = add nsw i64 %92, 1 store i64 %93, ptr %23, align 8 br label %52, !llvm.loop !8 94: ; preds = %52 br label %95 95: ; preds = %94, %50 br label %213 96: ; preds = %11 %97 = load double, ptr %14, align 8 %98 = fcmp oeq double %97, 1.000000e+00 br i1 %98, label %99, label %144 99: ; preds = %96 %100 = load double, ptr %15, align 8 %101 = fcmp oeq double %100, 0.000000e+00 br i1 %101, label %102, label %144 102: ; preds = %99 store i64 0, ptr %23, align 8 br label %103 103: ; preds = %140, %102 %104 = load i64, ptr %23, align 8 %105 = load i64, ptr %13, align 8 %106 = icmp slt i64 %104, %105 br i1 %106, label %107, label %143 107: ; preds = %103 %108 = load ptr, ptr %12, align 8 %109 = load i64, ptr %23, align 8 %110 = getelementptr inbounds i16, ptr %108, i64 %109 %111 = load i16, ptr %110, align 2 %112 = sext i16 %111 to i32 %113 = load i16, ptr %17, align 2 %114 = sext i16 %113 to i32 %115 = icmp eq i32 %112, %114 br i1 %115, label %116, label %130 116: ; preds = %107 %117 = load ptr, ptr %20, align 8 store i32 1, ptr %117, align 4 %118 = load i32, ptr %16, align 4 %119 = icmp eq i32 %118, 1 br i1 %119, label %120, label %125 120: ; preds = %116 %121 = load i32, ptr %18, align 4 %122 = load ptr, ptr %21, align 8 %123 = load i64, ptr %23, align 8 %124 = getelementptr inbounds i32, ptr %122, i64 %123 store i32 %121, ptr %124, align 4 br label %129 125: ; preds = %116 %126 = load ptr, ptr %19, align 8 %127 = load i64, ptr %23, align 8 %128 = getelementptr inbounds i8, ptr %126, i64 %127 store i8 1, ptr %128, align 1 br label %129 129: ; preds = %125, %120 br label %139 130: ; preds = %107 %131 = load ptr, ptr %12, align 8 %132 = load i64, ptr %23, align 8 %133 = getelementptr inbounds i16, ptr %131, i64 %132 %134 = load i16, ptr %133, align 2 %135 = sext i16 %134 to i32 %136 = load ptr, ptr %21, align 8 %137 = load i64, ptr %23, align 8 %138 = getelementptr inbounds i32, ptr %136, i64 %137 store i32 %135, ptr %138, align 4 br label %139 139: ; preds = %130, %129 br label %140 140: ; preds = %139 %141 = load i64, ptr %23, align 8 %142 = add nsw i64 %141, 1 store i64 %142, ptr %23, align 8 br label %103, !llvm.loop !9 143: ; preds = %103 br label %212 144: ; preds = %99, %96 store i64 0, ptr %23, align 8 br label %145 145: ; preds = %208, %144 %146 = load i64, ptr %23, align 8 %147 = load i64, ptr %13, align 8 %148 = icmp slt i64 %146, %147 br i1 %148, label %149, label %211 149: ; preds = %145 %150 = load ptr, ptr %12, align 8 %151 = load i64, ptr %23, align 8 %152 = getelementptr inbounds i16, ptr %150, i64 %151 %153 = load i16, ptr %152, align 2 %154 = sext i16 %153 to i32 %155 = load i16, ptr %17, align 2 %156 = sext i16 %155 to i32 %157 = icmp eq i32 %154, %156 br i1 %157, label %158, label %172 158: ; preds = %149 %159 = load ptr, ptr %20, align 8 store i32 1, ptr %159, align 4 %160 = load i32, ptr %16, align 4 %161 = icmp eq i32 %160, 1 br i1 %161, label %162, label %167 162: ; preds = %158 %163 = load i32, ptr %18, align 4 %164 = load ptr, ptr %21, align 8 %165 = load i64, ptr %23, align 8 %166 = getelementptr inbounds i32, ptr %164, i64 %165 store i32 %163, ptr %166, align 4 br label %171 167: ; preds = %158 %168 = load ptr, ptr %19, align 8 %169 = load i64, ptr %23, align 8 %170 = getelementptr inbounds i8, ptr %168, i64 %169 store i8 1, ptr %170, align 1 br label %171 171: ; preds = %167, %162 br label %207 172: ; preds = %149 %173 = load ptr, ptr %12, align 8 %174 = load i64, ptr %23, align 8 %175 = getelementptr inbounds i16, ptr %173, i64 %174 %176 = load i16, ptr %175, align 2 %177 = sext i16 %176 to i32 %178 = sitofp i32 %177 to double %179 = load double, ptr %14, align 8 %180 = load double, ptr %15, align 8 %181 = call double @llvm.fmuladd.f64(double %178, double %179, double %180) store double %181, ptr %24, align 8 %182 = load double, ptr %24, align 8 %183 = fcmp olt double %182, 0xC1E00000000FAE14 br i1 %183, label %184, label %190 184: ; preds = %172 %185 = load ptr, ptr %22, align 8 store i32 -11, ptr %185, align 4 %186 = load i32, ptr @INT_MIN, align 4 %187 = load ptr, ptr %21, align 8 %188 = load i64, ptr %23, align 8 %189 = getelementptr inbounds i32, ptr %187, i64 %188 store i32 %186, ptr %189, align 4 br label %206 190: ; preds = %172 %191 = load double, ptr %24, align 8 %192 = fcmp ogt double %191, 0x41DFFFFFFFDF5C29 br i1 %192, label %193, label %199 193: ; preds = %190 %194 = load ptr, ptr %22, align 8 store i32 -11, ptr %194, align 4 %195 = load i32, ptr @INT_MAX, align 4 %196 = load ptr, ptr %21, align 8 %197 = load i64, ptr %23, align 8 %198 = getelementptr inbounds i32, ptr %196, i64 %197 store i32 %195, ptr %198, align 4 br label %205 199: ; preds = %190 %200 = load double, ptr %24, align 8 %201 = fptosi double %200 to i32 %202 = load ptr, ptr %21, align 8 %203 = load i64, ptr %23, align 8 %204 = getelementptr inbounds i32, ptr %202, i64 %203 store i32 %201, ptr %204, align 4 br label %205 205: ; preds = %199, %193 br label %206 206: ; preds = %205, %184 br label %207 207: ; preds = %206, %171 br label %208 208: ; preds = %207 %209 = load i64, ptr %23, align 8 %210 = add nsw i64 %209, 1 store i64 %210, ptr %23, align 8 br label %145, !llvm.loop !10 211: ; preds = %145 br label %212 212: ; preds = %211, %143 br label %213 213: ; preds = %212, %95 %214 = load ptr, ptr %22, align 8 %215 = load i32, ptr %214, align 4 ret i32 %215 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpawr1am86.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fffi2int(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i16 noundef signext %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca i16, align 2 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i64, align 8 %24 = alloca double, align 8 store ptr %0, ptr %12, align 8 store i64 %1, ptr %13, align 8 store double %2, ptr %14, align 8 store double %3, ptr %15, align 8 store i32 %4, ptr %16, align 4 store i16 %5, ptr %17, align 2 store i32 %6, ptr %18, align 4 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %25 = load i32, ptr %16, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %100 27: ; preds = %11 %28 = load double, ptr %14, align 8 %29 = fcmp oeq double %28, 1.000000e+00 br i1 %29, label %30, label %53 30: ; preds = %27 %31 = load double, ptr %15, align 8 %32 = fcmp oeq double %31, 0.000000e+00 br i1 %32, label %33, label %53 33: ; preds = %30 store i64 0, ptr %23, align 8 %34 = load i64, ptr %23, align 8 %35 = load i64, ptr %13, align 8 %36 = icmp slt i64 %34, %35 br i1 %36, label %.lr.ph8, label %52 .lr.ph8: ; preds = %33 br label %37 37: ; preds = %.lr.ph8, %46 %38 = load ptr, ptr %12, align 8 %39 = load i64, ptr %23, align 8 %40 = getelementptr inbounds i16, ptr %38, i64 %39 %41 = load i16, ptr %40, align 2 %42 = sext i16 %41 to i32 %43 = load ptr, ptr %21, align 8 %44 = load i64, ptr %23, align 8 %45 = getelementptr inbounds i32, ptr %43, i64 %44 store i32 %42, ptr %45, align 4 br label %46 46: ; preds = %37 %47 = load i64, ptr %23, align 8 %48 = add nsw i64 %47, 1 store i64 %48, ptr %23, align 8 %49 = load i64, ptr %23, align 8 %50 = load i64, ptr %13, align 8 %51 = icmp slt i64 %49, %50 br i1 %51, label %37, label %._crit_edge9, !llvm.loop !6 ._crit_edge9: ; preds = %46 br label %52 52: ; preds = %._crit_edge9, %33 br label %99 53: ; preds = %30, %27 store i64 0, ptr %23, align 8 %54 = load i64, ptr %23, align 8 %55 = load i64, ptr %13, align 8 %56 = icmp slt i64 %54, %55 br i1 %56, label %.lr.ph5, label %98 .lr.ph5: ; preds = %53 br label %57 57: ; preds = %.lr.ph5, %92 %58 = load ptr, ptr %12, align 8 %59 = load i64, ptr %23, align 8 %60 = getelementptr inbounds i16, ptr %58, i64 %59 %61 = load i16, ptr %60, align 2 %62 = sext i16 %61 to i32 %63 = sitofp i32 %62 to double %64 = load double, ptr %14, align 8 %65 = load double, ptr %15, align 8 %66 = call double @llvm.fmuladd.f64(double %63, double %64, double %65) store double %66, ptr %24, align 8 %67 = load double, ptr %24, align 8 %68 = fcmp olt double %67, 0xC1E00000000FAE14 br i1 %68, label %69, label %75 69: ; preds = %57 %70 = load ptr, ptr %22, align 8 store i32 -11, ptr %70, align 4 %71 = load i32, ptr @INT_MIN, align 4 %72 = load ptr, ptr %21, align 8 %73 = load i64, ptr %23, align 8 %74 = getelementptr inbounds i32, ptr %72, i64 %73 store i32 %71, ptr %74, align 4 br label %91 75: ; preds = %57 %76 = load double, ptr %24, align 8 %77 = fcmp ogt double %76, 0x41DFFFFFFFDF5C29 br i1 %77, label %78, label %84 78: ; preds = %75 %79 = load ptr, ptr %22, align 8 store i32 -11, ptr %79, align 4 %80 = load i32, ptr @INT_MAX, align 4 %81 = load ptr, ptr %21, align 8 %82 = load i64, ptr %23, align 8 %83 = getelementptr inbounds i32, ptr %81, i64 %82 store i32 %80, ptr %83, align 4 br label %90 84: ; preds = %75 %85 = load double, ptr %24, align 8 %86 = fptosi double %85 to i32 %87 = load ptr, ptr %21, align 8 %88 = load i64, ptr %23, align 8 %89 = getelementptr inbounds i32, ptr %87, i64 %88 store i32 %86, ptr %89, align 4 br label %90 90: ; preds = %84, %78 br label %91 91: ; preds = %90, %69 br label %92 92: ; preds = %91 %93 = load i64, ptr %23, align 8 %94 = add nsw i64 %93, 1 store i64 %94, ptr %23, align 8 %95 = load i64, ptr %23, align 8 %96 = load i64, ptr %13, align 8 %97 = icmp slt i64 %95, %96 br i1 %97, label %57, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %92 br label %98 98: ; preds = %._crit_edge6, %53 br label %99 99: ; preds = %98, %52 br label %221 100: ; preds = %11 %101 = load double, ptr %14, align 8 %102 = fcmp oeq double %101, 1.000000e+00 br i1 %102, label %103, label %150 103: ; preds = %100 %104 = load double, ptr %15, align 8 %105 = fcmp oeq double %104, 0.000000e+00 br i1 %105, label %106, label %150 106: ; preds = %103 store i64 0, ptr %23, align 8 %107 = load i64, ptr %23, align 8 %108 = load i64, ptr %13, align 8 %109 = icmp slt i64 %107, %108 br i1 %109, label %.lr.ph2, label %149 .lr.ph2: ; preds = %106 br label %110 110: ; preds = %.lr.ph2, %143 %111 = load ptr, ptr %12, align 8 %112 = load i64, ptr %23, align 8 %113 = getelementptr inbounds i16, ptr %111, i64 %112 %114 = load i16, ptr %113, align 2 %115 = sext i16 %114 to i32 %116 = load i16, ptr %17, align 2 %117 = sext i16 %116 to i32 %118 = icmp eq i32 %115, %117 br i1 %118, label %119, label %133 119: ; preds = %110 %120 = load ptr, ptr %20, align 8 store i32 1, ptr %120, align 4 %121 = load i32, ptr %16, align 4 %122 = icmp eq i32 %121, 1 br i1 %122, label %123, label %128 123: ; preds = %119 %124 = load i32, ptr %18, align 4 %125 = load ptr, ptr %21, align 8 %126 = load i64, ptr %23, align 8 %127 = getelementptr inbounds i32, ptr %125, i64 %126 store i32 %124, ptr %127, align 4 br label %132 128: ; preds = %119 %129 = load ptr, ptr %19, align 8 %130 = load i64, ptr %23, align 8 %131 = getelementptr inbounds i8, ptr %129, i64 %130 store i8 1, ptr %131, align 1 br label %132 132: ; preds = %128, %123 br label %142 133: ; preds = %110 %134 = load ptr, ptr %12, align 8 %135 = load i64, ptr %23, align 8 %136 = getelementptr inbounds i16, ptr %134, i64 %135 %137 = load i16, ptr %136, align 2 %138 = sext i16 %137 to i32 %139 = load ptr, ptr %21, align 8 %140 = load i64, ptr %23, align 8 %141 = getelementptr inbounds i32, ptr %139, i64 %140 store i32 %138, ptr %141, align 4 br label %142 142: ; preds = %133, %132 br label %143 143: ; preds = %142 %144 = load i64, ptr %23, align 8 %145 = add nsw i64 %144, 1 store i64 %145, ptr %23, align 8 %146 = load i64, ptr %23, align 8 %147 = load i64, ptr %13, align 8 %148 = icmp slt i64 %146, %147 br i1 %148, label %110, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %143 br label %149 149: ; preds = %._crit_edge3, %106 br label %220 150: ; preds = %103, %100 store i64 0, ptr %23, align 8 %151 = load i64, ptr %23, align 8 %152 = load i64, ptr %13, align 8 %153 = icmp slt i64 %151, %152 br i1 %153, label %.lr.ph, label %219 .lr.ph: ; preds = %150 br label %154 154: ; preds = %.lr.ph, %213 %155 = load ptr, ptr %12, align 8 %156 = load i64, ptr %23, align 8 %157 = getelementptr inbounds i16, ptr %155, i64 %156 %158 = load i16, ptr %157, align 2 %159 = sext i16 %158 to i32 %160 = load i16, ptr %17, align 2 %161 = sext i16 %160 to i32 %162 = icmp eq i32 %159, %161 br i1 %162, label %163, label %177 163: ; preds = %154 %164 = load ptr, ptr %20, align 8 store i32 1, ptr %164, align 4 %165 = load i32, ptr %16, align 4 %166 = icmp eq i32 %165, 1 br i1 %166, label %167, label %172 167: ; preds = %163 %168 = load i32, ptr %18, align 4 %169 = load ptr, ptr %21, align 8 %170 = load i64, ptr %23, align 8 %171 = getelementptr inbounds i32, ptr %169, i64 %170 store i32 %168, ptr %171, align 4 br label %176 172: ; preds = %163 %173 = load ptr, ptr %19, align 8 %174 = load i64, ptr %23, align 8 %175 = getelementptr inbounds i8, ptr %173, i64 %174 store i8 1, ptr %175, align 1 br label %176 176: ; preds = %172, %167 br label %212 177: ; preds = %154 %178 = load ptr, ptr %12, align 8 %179 = load i64, ptr %23, align 8 %180 = getelementptr inbounds i16, ptr %178, i64 %179 %181 = load i16, ptr %180, align 2 %182 = sext i16 %181 to i32 %183 = sitofp i32 %182 to double %184 = load double, ptr %14, align 8 %185 = load double, ptr %15, align 8 %186 = call double @llvm.fmuladd.f64(double %183, double %184, double %185) store double %186, ptr %24, align 8 %187 = load double, ptr %24, align 8 %188 = fcmp olt double %187, 0xC1E00000000FAE14 br i1 %188, label %189, label %195 189: ; preds = %177 %190 = load ptr, ptr %22, align 8 store i32 -11, ptr %190, align 4 %191 = load i32, ptr @INT_MIN, align 4 %192 = load ptr, ptr %21, align 8 %193 = load i64, ptr %23, align 8 %194 = getelementptr inbounds i32, ptr %192, i64 %193 store i32 %191, ptr %194, align 4 br label %211 195: ; preds = %177 %196 = load double, ptr %24, align 8 %197 = fcmp ogt double %196, 0x41DFFFFFFFDF5C29 br i1 %197, label %198, label %204 198: ; preds = %195 %199 = load ptr, ptr %22, align 8 store i32 -11, ptr %199, align 4 %200 = load i32, ptr @INT_MAX, align 4 %201 = load ptr, ptr %21, align 8 %202 = load i64, ptr %23, align 8 %203 = getelementptr inbounds i32, ptr %201, i64 %202 store i32 %200, ptr %203, align 4 br label %210 204: ; preds = %195 %205 = load double, ptr %24, align 8 %206 = fptosi double %205 to i32 %207 = load ptr, ptr %21, align 8 %208 = load i64, ptr %23, align 8 %209 = getelementptr inbounds i32, ptr %207, i64 %208 store i32 %206, ptr %209, align 4 br label %210 210: ; preds = %204, %198 br label %211 211: ; preds = %210, %189 br label %212 212: ; preds = %211, %176 br label %213 213: ; preds = %212 %214 = load i64, ptr %23, align 8 %215 = add nsw i64 %214, 1 store i64 %215, ptr %23, align 8 %216 = load i64, ptr %23, align 8 %217 = load i64, ptr %13, align 8 %218 = icmp slt i64 %216, %217 br i1 %218, label %154, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %213 br label %219 219: ; preds = %._crit_edge, %150 br label %220 220: ; preds = %219, %149 br label %221 221: ; preds = %220, %99 %222 = load ptr, ptr %22, align 8 %223 = load i32, ptr %222, align 4 ret i32 %223 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmprtqdtdhu.c' source_filename = "/tmp/tmprtqdtdhu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @cpu_monitor_start() ret i32 0 } declare i32 @cpu_monitor_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprtqdtdhu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @cpu_monitor_start() ret i32 0 } declare i32 @cpu_monitor_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx0zi60vc.c' source_filename = "/tmp/tmpx0zi60vc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0xca\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0xca() #0 { %1 = call i64 @isalpha(i32 noundef 202) %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 1015, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(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/tmpx0zi60vc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0xca\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0xca() #0 { %1 = call i64 @isalpha(i32 noundef 202) %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 1015, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(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/tmpt7om5lqw.c' source_filename = "/tmp/tmpt7om5lqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Enter the student's grade: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [52 x i8] c"Invalid grade entered. Expected 0 <= grade <= 100\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Letter grade is: A\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Letter grade is: B\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"Letter grade is: C\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Letter grade is: D\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"Letter grade is: F\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp sgt i32 %5, 100 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) br label %45 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @printf(ptr noundef @.str.2) br label %44 14: ; preds = %9 %15 = load i32, ptr %2, align 4 %16 = icmp sge i32 %15, 90 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = call i32 @printf(ptr noundef @.str.3) br label %43 19: ; preds = %14 %20 = load i32, ptr %2, align 4 %21 = icmp sge i32 %20, 80 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @printf(ptr noundef @.str.4) br label %42 24: ; preds = %19 %25 = load i32, ptr %2, align 4 %26 = icmp sge i32 %25, 70 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 @printf(ptr noundef @.str.5) br label %41 29: ; preds = %24 %30 = load i32, ptr %2, align 4 %31 = icmp sge i32 %30, 60 br i1 %31, label %32, label %34 32: ; preds = %29 %33 = call i32 @printf(ptr noundef @.str.6) br label %40 34: ; preds = %29 %35 = load i32, ptr %2, align 4 %36 = icmp sge i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %34 %38 = call i32 @printf(ptr noundef @.str.7) br label %39 39: ; preds = %37, %34 br label %40 40: ; preds = %39, %32 br label %41 41: ; preds = %40, %27 br label %42 42: ; preds = %41, %22 br label %43 43: ; preds = %42, %17 br label %44 44: ; preds = %43, %12 br label %45 45: ; preds = %44, %7 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt7om5lqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Enter the student's grade: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [52 x i8] c"Invalid grade entered. Expected 0 <= grade <= 100\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Letter grade is: A\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Letter grade is: B\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"Letter grade is: C\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Letter grade is: D\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"Letter grade is: F\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp sgt i32 %5, 100 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) br label %45 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @printf(ptr noundef @.str.2) br label %44 14: ; preds = %9 %15 = load i32, ptr %2, align 4 %16 = icmp sge i32 %15, 90 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = call i32 @printf(ptr noundef @.str.3) br label %43 19: ; preds = %14 %20 = load i32, ptr %2, align 4 %21 = icmp sge i32 %20, 80 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @printf(ptr noundef @.str.4) br label %42 24: ; preds = %19 %25 = load i32, ptr %2, align 4 %26 = icmp sge i32 %25, 70 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 @printf(ptr noundef @.str.5) br label %41 29: ; preds = %24 %30 = load i32, ptr %2, align 4 %31 = icmp sge i32 %30, 60 br i1 %31, label %32, label %34 32: ; preds = %29 %33 = call i32 @printf(ptr noundef @.str.6) br label %40 34: ; preds = %29 %35 = load i32, ptr %2, align 4 %36 = icmp sge i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %34 %38 = call i32 @printf(ptr noundef @.str.7) br label %39 39: ; preds = %37, %34 br label %40 40: ; preds = %39, %32 br label %41 41: ; preds = %40, %27 br label %42 42: ; preds = %41, %22 br label %43 43: ; preds = %42, %17 br label %44 44: ; preds = %43, %12 br label %45 45: ; preds = %44, %7 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbu8mvz_t.c' source_filename = "/tmp/tmpbu8mvz_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @pnorm(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @pnorm5(double noundef %3, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 1, i32 noundef 0) ret double %4 } declare double @pnorm5(double noundef, double noundef, double noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbu8mvz_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @pnorm(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @pnorm5(double noundef %3, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 1, i32 noundef 0) ret double %4 } declare double @pnorm5(double noundef, double noundef, double noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeas0u06f.c' source_filename = "/tmp/tmpeas0u06f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_LINES = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pravac() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 store double 2.400000e+01, ptr %2, align 8 store double -1.600000e+01, ptr %3, align 8 %4 = load i32, ptr @GL_LINES, align 4 %5 = call i32 @glBegin(i32 noundef %4) %6 = load double, ptr %2, align 8 %7 = call i32 @glVertex2d(double noundef -1.000000e+01, double noundef %6) %8 = load double, ptr %3, align 8 %9 = call i32 @glVertex2d(double noundef 1.000000e+01, double noundef %8) %10 = call i32 (...) @glEnd() ret void } declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex2d(double noundef, double noundef) #1 declare i32 @glEnd(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeas0u06f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_LINES = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pravac() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 store double 2.400000e+01, ptr %2, align 8 store double -1.600000e+01, ptr %3, align 8 %4 = load i32, ptr @GL_LINES, align 4 %5 = call i32 @glBegin(i32 noundef %4) %6 = load double, ptr %2, align 8 %7 = call i32 @glVertex2d(double noundef -1.000000e+01, double noundef %6) %8 = load double, ptr %3, align 8 %9 = call i32 @glVertex2d(double noundef 1.000000e+01, double noundef %8) %10 = call i32 (...) @glEnd() ret void } declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex2d(double noundef, double noundef) #1 declare i32 @glEnd(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf79ve366.c' source_filename = "/tmp/tmpf79ve366.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @taskset(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 @CPU_ZERO(ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @CPU_SET(i32 noundef %5, ptr noundef %3) %7 = call i32 @sched_setaffinity(i32 noundef 0, i32 noundef 4, ptr noundef %3) ret i32 %7 } declare i32 @CPU_ZERO(ptr noundef) #1 declare i32 @CPU_SET(i32 noundef, ptr noundef) #1 declare i32 @sched_setaffinity(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/tmpf79ve366.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @taskset(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 @CPU_ZERO(ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = call i32 @CPU_SET(i32 noundef %5, ptr noundef %3) %7 = call i32 @sched_setaffinity(i32 noundef 0, i32 noundef 4, ptr noundef %3) ret i32 %7 } declare i32 @CPU_ZERO(ptr noundef) #1 declare i32 @CPU_SET(i32 noundef, ptr noundef) #1 declare i32 @sched_setaffinity(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/tmpod898myo.c' source_filename = "/tmp/tmpod898myo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"poweroff\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Error al apagar la tarjeta\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @apagar_tarjeta() #0 { %1 = alloca i32, align 4 %2 = call i64 @system(ptr noundef @.str) %3 = icmp slt i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 @logMessage(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %7 6: ; preds = %0 store i32 0, ptr %1, align 4 br label %7 7: ; preds = %6, %4 %8 = load i32, ptr %1, align 4 ret i32 %8 } declare i64 @system(ptr noundef) #1 declare i32 @logMessage(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpod898myo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"poweroff\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Error al apagar la tarjeta\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @apagar_tarjeta() #0 { %1 = alloca i32, align 4 %2 = call i64 @system(ptr noundef @.str) %3 = icmp slt i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 @logMessage(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %7 6: ; preds = %0 store i32 0, ptr %1, align 4 br label %7 7: ; preds = %6, %4 %8 = load i32, ptr %1, align 4 ret i32 %8 } declare i64 @system(ptr noundef) #1 declare i32 @logMessage(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw60kx0v_.c' source_filename = "/tmp/tmpw60kx0v_.c" target datalayout = "e-m:e-p270: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 [28 x i8] c"Syntaxe : %s fichier_cl\C3\A9 \0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ftok\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"semget/shmget\00", align 1 @IPC_RMID = 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, 2 br i1 %10, label %11, label %18 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @ftok(ptr noundef %21, i32 noundef 0) store i32 %22, ptr %6, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %27 24: ; preds = %18 %25 = call i32 @perror(ptr noundef @.str.1) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %18 %28 = load i32, ptr %6, align 4 %29 = call i32 @semget(i32 noundef %28, i32 noundef 1, i32 noundef 0) store i32 %29, ptr %7, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %35, label %31 31: ; preds = %27 %32 = load i32, ptr %6, align 4 %33 = call i32 @shmget(i32 noundef %32, i32 noundef 256, i32 noundef 0) store i32 %33, ptr %8, align 4 %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %38 35: ; preds = %31, %27 %36 = call i32 @perror(ptr noundef @.str.2) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %31 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr @IPC_RMID, align 4 %41 = call i32 @shmctl(i32 noundef %39, i32 noundef %40, ptr noundef null) %42 = load i32, ptr %7, align 4 %43 = load i32, ptr @IPC_RMID, align 4 %44 = call i32 @semctl(i32 noundef %42, i32 noundef %43, i32 noundef 0) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @ftok(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @semget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @semctl(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpw60kx0v_.c" target datalayout = "e-m:e-p270: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 [28 x i8] c"Syntaxe : %s fichier_cl\C3\A9 \0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ftok\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"semget/shmget\00", align 1 @IPC_RMID = 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, 2 br i1 %10, label %11, label %18 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @ftok(ptr noundef %21, i32 noundef 0) store i32 %22, ptr %6, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %27 24: ; preds = %18 %25 = call i32 @perror(ptr noundef @.str.1) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %18 %28 = load i32, ptr %6, align 4 %29 = call i32 @semget(i32 noundef %28, i32 noundef 1, i32 noundef 0) store i32 %29, ptr %7, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %35, label %31 31: ; preds = %27 %32 = load i32, ptr %6, align 4 %33 = call i32 @shmget(i32 noundef %32, i32 noundef 256, i32 noundef 0) store i32 %33, ptr %8, align 4 %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %38 35: ; preds = %31, %27 %36 = call i32 @perror(ptr noundef @.str.2) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %31 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr @IPC_RMID, align 4 %41 = call i32 @shmctl(i32 noundef %39, i32 noundef %40, ptr noundef null) %42 = load i32, ptr %7, align 4 %43 = load i32, ptr @IPC_RMID, align 4 %44 = call i32 @semctl(i32 noundef %42, i32 noundef %43, i32 noundef 0) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @ftok(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @semget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @semctl(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp9rveo5su.c' source_filename = "/tmp/tmp9rveo5su.c" target datalayout = "e-m:e-p270: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.group = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @group2gid(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %33 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strtol(ptr noundef %11, ptr noundef %6, i32 noundef 10) %13 = load ptr, ptr %4, align 8 store i32 %12, ptr %13, align 4 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %21, label %16 16: ; preds = %10 %17 = load ptr, ptr %6, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %32 21: ; preds = %16, %10 %22 = load ptr, ptr %5, align 8 %23 = call ptr @getgrnam(ptr noundef %22) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %27 26: ; preds = %21 br label %34 27: ; preds = %21 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds %struct.group, ptr %28, i32 0, i32 0 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %4, align 8 store i32 %30, ptr %31, align 4 br label %32 32: ; preds = %27, %16 store i32 0, ptr %3, align 4 br label %35 33: ; preds = %2 br label %34 34: ; preds = %33, %26 store i32 -1, ptr %3, align 4 br label %35 35: ; preds = %34, %32 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @getgrnam(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9rveo5su.c" target datalayout = "e-m:e-p270: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.group = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @group2gid(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %33 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strtol(ptr noundef %11, ptr noundef %6, i32 noundef 10) %13 = load ptr, ptr %4, align 8 store i32 %12, ptr %13, align 4 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %21, label %16 16: ; preds = %10 %17 = load ptr, ptr %6, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %32 21: ; preds = %16, %10 %22 = load ptr, ptr %5, align 8 %23 = call ptr @getgrnam(ptr noundef %22) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %27 26: ; preds = %21 br label %34 27: ; preds = %21 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds %struct.group, ptr %28, i32 0, i32 0 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %4, align 8 store i32 %30, ptr %31, align 4 br label %32 32: ; preds = %27, %16 store i32 0, ptr %3, align 4 br label %35 33: ; preds = %2 br label %34 34: ; preds = %33, %26 store i32 -1, ptr %3, align 4 br label %35 35: ; preds = %34, %32 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @getgrnam(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplydazk7r.c' source_filename = "/tmp/tmplydazk7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"first\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @first(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @second(ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @second(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplydazk7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"first\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @first(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @second(ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @second(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppy2aoaao.c' source_filename = "/tmp/tmppy2aoaao.c" target datalayout = "e-m:e-p270: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/tmppy2aoaao.c" target datalayout = "e-m:e-p270: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/tmpuv2290v0.c' source_filename = "/tmp/tmpuv2290v0.c" target datalayout = "e-m:e-p270: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/tmpuv2290v0.c" target datalayout = "e-m:e-p270: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/tmpty2upm8x.c' source_filename = "/tmp/tmpty2upm8x.c" target datalayout = "e-m:e-p270: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/tmpty2upm8x.c" target datalayout = "e-m:e-p270: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/tmp2xfno__o.c' source_filename = "/tmp/tmp2xfno__o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [1 x double], align 8 %3 = alloca [1 x double], align 8 %4 = alloca [1 x double], align 8 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [1 x double], ptr %4, i64 0, i64 0 %6 = getelementptr inbounds [1 x double], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [1 x double], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds [1 x double], ptr %4, i64 0, i64 0 %9 = call i32 @bug(ptr noundef %5, i8 noundef signext 66, i32 noundef 1, i32 noundef 2, i32 noundef 3, double noundef 4.000000e+00, ptr noundef %6, i32 noundef 5, ptr noundef %7, i32 noundef 6, double noundef 7.000000e+00, ptr noundef %8, i32 noundef 8) ret i32 0 } declare i32 @bug(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, double noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, double 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/tmp2xfno__o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [1 x double], align 8 %3 = alloca [1 x double], align 8 %4 = alloca [1 x double], align 8 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [1 x double], ptr %4, i64 0, i64 0 %6 = getelementptr inbounds [1 x double], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [1 x double], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds [1 x double], ptr %4, i64 0, i64 0 %9 = call i32 @bug(ptr noundef %5, i8 noundef signext 66, i32 noundef 1, i32 noundef 2, i32 noundef 3, double noundef 4.000000e+00, ptr noundef %6, i32 noundef 5, ptr noundef %7, i32 noundef 6, double noundef 7.000000e+00, ptr noundef %8, i32 noundef 8) ret i32 0 } declare i32 @bug(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, double noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, double 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/tmpv3tdjniw.c' source_filename = "/tmp/tmpv3tdjniw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [69 x i8] c"Invoke: UpnpMediaRenderer_AVTransport_SetAVTransportURI(%u,%s,%s);\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UpnpMediaRenderer_AVTransport_SetAVTransportURI(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %6, align 4 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %8, align 8 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %9, ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = call i32 @UpnpResponse_MediaRenderer_AVTransport_SetAVTransportURI(ptr noundef %13) ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @UpnpResponse_MediaRenderer_AVTransport_SetAVTransportURI(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv3tdjniw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [69 x i8] c"Invoke: UpnpMediaRenderer_AVTransport_SetAVTransportURI(%u,%s,%s);\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UpnpMediaRenderer_AVTransport_SetAVTransportURI(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %6, align 4 %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %8, align 8 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %9, ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = call i32 @UpnpResponse_MediaRenderer_AVTransport_SetAVTransportURI(ptr noundef %13) ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @UpnpResponse_MediaRenderer_AVTransport_SetAVTransportURI(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpijam6ktg.c' source_filename = "/tmp/tmpijam6ktg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mmc_writesector(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @mmc_datatrans(i32 noundef 1, ptr noundef %5, i64 noundef %6, i32 noundef 1) ret i32 %7 } declare i32 @mmc_datatrans(i32 noundef, ptr noundef, i64 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/tmpijam6ktg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mmc_writesector(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @mmc_datatrans(i32 noundef 1, ptr noundef %5, i64 noundef %6, i32 noundef 1) ret i32 %7 } declare i32 @mmc_datatrans(i32 noundef, ptr noundef, i64 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/tmpiwc1czy6.c' source_filename = "/tmp/tmpiwc1czy6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ncurses_COLOR_PAIR(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @COLOR_PAIR(i32 noundef %3) ret i32 %4 } declare i32 @COLOR_PAIR(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/tmpiwc1czy6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ncurses_COLOR_PAIR(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @COLOR_PAIR(i32 noundef %3) ret i32 %4 } declare i32 @COLOR_PAIR(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/tmpkqs5k5jk.c' source_filename = "/tmp/tmpkqs5k5jk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookupB64(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %5 [ i32 65, label %6 i32 66, label %7 i32 67, label %8 i32 68, label %9 i32 69, label %10 i32 70, label %11 i32 71, label %12 i32 72, label %13 i32 73, label %14 i32 74, label %15 i32 75, label %16 i32 76, label %17 i32 77, label %18 i32 78, label %19 i32 79, label %20 i32 80, label %21 i32 81, label %22 i32 82, label %23 i32 83, label %24 i32 84, label %25 i32 85, label %26 i32 86, label %27 i32 87, label %28 i32 88, label %29 i32 89, label %30 i32 90, label %31 i32 97, label %32 i32 98, label %33 i32 99, label %34 i32 100, label %35 i32 101, label %36 i32 102, label %37 i32 103, label %38 i32 104, label %39 i32 105, label %40 i32 106, label %41 i32 107, label %42 i32 108, label %43 i32 109, label %44 i32 110, label %45 i32 111, label %46 i32 112, label %47 i32 113, label %48 i32 114, label %49 i32 115, label %50 i32 116, label %51 i32 117, label %52 i32 118, label %53 i32 119, label %54 i32 120, label %55 i32 121, label %56 i32 122, label %57 i32 48, label %58 i32 49, label %59 i32 50, label %60 i32 51, label %61 i32 52, label %62 i32 53, label %63 i32 54, label %64 i32 55, label %65 i32 56, label %66 i32 57, label %67 i32 43, label %68 i32 47, label %69 ] 5: ; preds = %1 br label %6 6: ; preds = %1, %5 store i32 0, ptr %2, align 4 br label %70 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %70 8: ; preds = %1 store i32 2, ptr %2, align 4 br label %70 9: ; preds = %1 store i32 3, ptr %2, align 4 br label %70 10: ; preds = %1 store i32 4, ptr %2, align 4 br label %70 11: ; preds = %1 store i32 5, ptr %2, align 4 br label %70 12: ; preds = %1 store i32 6, ptr %2, align 4 br label %70 13: ; preds = %1 store i32 7, ptr %2, align 4 br label %70 14: ; preds = %1 store i32 8, ptr %2, align 4 br label %70 15: ; preds = %1 store i32 9, ptr %2, align 4 br label %70 16: ; preds = %1 store i32 10, ptr %2, align 4 br label %70 17: ; preds = %1 store i32 11, ptr %2, align 4 br label %70 18: ; preds = %1 store i32 12, ptr %2, align 4 br label %70 19: ; preds = %1 store i32 13, ptr %2, align 4 br label %70 20: ; preds = %1 store i32 14, ptr %2, align 4 br label %70 21: ; preds = %1 store i32 15, ptr %2, align 4 br label %70 22: ; preds = %1 store i32 16, ptr %2, align 4 br label %70 23: ; preds = %1 store i32 17, ptr %2, align 4 br label %70 24: ; preds = %1 store i32 18, ptr %2, align 4 br label %70 25: ; preds = %1 store i32 19, ptr %2, align 4 br label %70 26: ; preds = %1 store i32 20, ptr %2, align 4 br label %70 27: ; preds = %1 store i32 21, ptr %2, align 4 br label %70 28: ; preds = %1 store i32 22, ptr %2, align 4 br label %70 29: ; preds = %1 store i32 23, ptr %2, align 4 br label %70 30: ; preds = %1 store i32 24, ptr %2, align 4 br label %70 31: ; preds = %1 store i32 25, ptr %2, align 4 br label %70 32: ; preds = %1 store i32 26, ptr %2, align 4 br label %70 33: ; preds = %1 store i32 27, ptr %2, align 4 br label %70 34: ; preds = %1 store i32 28, ptr %2, align 4 br label %70 35: ; preds = %1 store i32 29, ptr %2, align 4 br label %70 36: ; preds = %1 store i32 30, ptr %2, align 4 br label %70 37: ; preds = %1 store i32 31, ptr %2, align 4 br label %70 38: ; preds = %1 store i32 32, ptr %2, align 4 br label %70 39: ; preds = %1 store i32 33, ptr %2, align 4 br label %70 40: ; preds = %1 store i32 34, ptr %2, align 4 br label %70 41: ; preds = %1 store i32 35, ptr %2, align 4 br label %70 42: ; preds = %1 store i32 36, ptr %2, align 4 br label %70 43: ; preds = %1 store i32 37, ptr %2, align 4 br label %70 44: ; preds = %1 store i32 38, ptr %2, align 4 br label %70 45: ; preds = %1 store i32 39, ptr %2, align 4 br label %70 46: ; preds = %1 store i32 40, ptr %2, align 4 br label %70 47: ; preds = %1 store i32 41, ptr %2, align 4 br label %70 48: ; preds = %1 store i32 42, ptr %2, align 4 br label %70 49: ; preds = %1 store i32 43, ptr %2, align 4 br label %70 50: ; preds = %1 store i32 44, ptr %2, align 4 br label %70 51: ; preds = %1 store i32 45, ptr %2, align 4 br label %70 52: ; preds = %1 store i32 46, ptr %2, align 4 br label %70 53: ; preds = %1 store i32 47, ptr %2, align 4 br label %70 54: ; preds = %1 store i32 48, ptr %2, align 4 br label %70 55: ; preds = %1 store i32 49, ptr %2, align 4 br label %70 56: ; preds = %1 store i32 50, ptr %2, align 4 br label %70 57: ; preds = %1 store i32 51, ptr %2, align 4 br label %70 58: ; preds = %1 store i32 52, ptr %2, align 4 br label %70 59: ; preds = %1 store i32 53, ptr %2, align 4 br label %70 60: ; preds = %1 store i32 54, ptr %2, align 4 br label %70 61: ; preds = %1 store i32 55, ptr %2, align 4 br label %70 62: ; preds = %1 store i32 56, ptr %2, align 4 br label %70 63: ; preds = %1 store i32 57, ptr %2, align 4 br label %70 64: ; preds = %1 store i32 58, ptr %2, align 4 br label %70 65: ; preds = %1 store i32 59, ptr %2, align 4 br label %70 66: ; preds = %1 store i32 60, ptr %2, align 4 br label %70 67: ; preds = %1 store i32 61, ptr %2, align 4 br label %70 68: ; preds = %1 store i32 62, ptr %2, align 4 br label %70 69: ; preds = %1 store i32 63, ptr %2, align 4 br label %70 70: ; preds = %69, %68, %67, %66, %65, %64, %63, %62, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6 %71 = load i32, ptr %2, align 4 ret i32 %71 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkqs5k5jk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookupB64(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %5 [ i32 65, label %6 i32 66, label %7 i32 67, label %8 i32 68, label %9 i32 69, label %10 i32 70, label %11 i32 71, label %12 i32 72, label %13 i32 73, label %14 i32 74, label %15 i32 75, label %16 i32 76, label %17 i32 77, label %18 i32 78, label %19 i32 79, label %20 i32 80, label %21 i32 81, label %22 i32 82, label %23 i32 83, label %24 i32 84, label %25 i32 85, label %26 i32 86, label %27 i32 87, label %28 i32 88, label %29 i32 89, label %30 i32 90, label %31 i32 97, label %32 i32 98, label %33 i32 99, label %34 i32 100, label %35 i32 101, label %36 i32 102, label %37 i32 103, label %38 i32 104, label %39 i32 105, label %40 i32 106, label %41 i32 107, label %42 i32 108, label %43 i32 109, label %44 i32 110, label %45 i32 111, label %46 i32 112, label %47 i32 113, label %48 i32 114, label %49 i32 115, label %50 i32 116, label %51 i32 117, label %52 i32 118, label %53 i32 119, label %54 i32 120, label %55 i32 121, label %56 i32 122, label %57 i32 48, label %58 i32 49, label %59 i32 50, label %60 i32 51, label %61 i32 52, label %62 i32 53, label %63 i32 54, label %64 i32 55, label %65 i32 56, label %66 i32 57, label %67 i32 43, label %68 i32 47, label %69 ] 5: ; preds = %1 br label %6 6: ; preds = %5, %1 store i32 0, ptr %2, align 4 br label %70 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %70 8: ; preds = %1 store i32 2, ptr %2, align 4 br label %70 9: ; preds = %1 store i32 3, ptr %2, align 4 br label %70 10: ; preds = %1 store i32 4, ptr %2, align 4 br label %70 11: ; preds = %1 store i32 5, ptr %2, align 4 br label %70 12: ; preds = %1 store i32 6, ptr %2, align 4 br label %70 13: ; preds = %1 store i32 7, ptr %2, align 4 br label %70 14: ; preds = %1 store i32 8, ptr %2, align 4 br label %70 15: ; preds = %1 store i32 9, ptr %2, align 4 br label %70 16: ; preds = %1 store i32 10, ptr %2, align 4 br label %70 17: ; preds = %1 store i32 11, ptr %2, align 4 br label %70 18: ; preds = %1 store i32 12, ptr %2, align 4 br label %70 19: ; preds = %1 store i32 13, ptr %2, align 4 br label %70 20: ; preds = %1 store i32 14, ptr %2, align 4 br label %70 21: ; preds = %1 store i32 15, ptr %2, align 4 br label %70 22: ; preds = %1 store i32 16, ptr %2, align 4 br label %70 23: ; preds = %1 store i32 17, ptr %2, align 4 br label %70 24: ; preds = %1 store i32 18, ptr %2, align 4 br label %70 25: ; preds = %1 store i32 19, ptr %2, align 4 br label %70 26: ; preds = %1 store i32 20, ptr %2, align 4 br label %70 27: ; preds = %1 store i32 21, ptr %2, align 4 br label %70 28: ; preds = %1 store i32 22, ptr %2, align 4 br label %70 29: ; preds = %1 store i32 23, ptr %2, align 4 br label %70 30: ; preds = %1 store i32 24, ptr %2, align 4 br label %70 31: ; preds = %1 store i32 25, ptr %2, align 4 br label %70 32: ; preds = %1 store i32 26, ptr %2, align 4 br label %70 33: ; preds = %1 store i32 27, ptr %2, align 4 br label %70 34: ; preds = %1 store i32 28, ptr %2, align 4 br label %70 35: ; preds = %1 store i32 29, ptr %2, align 4 br label %70 36: ; preds = %1 store i32 30, ptr %2, align 4 br label %70 37: ; preds = %1 store i32 31, ptr %2, align 4 br label %70 38: ; preds = %1 store i32 32, ptr %2, align 4 br label %70 39: ; preds = %1 store i32 33, ptr %2, align 4 br label %70 40: ; preds = %1 store i32 34, ptr %2, align 4 br label %70 41: ; preds = %1 store i32 35, ptr %2, align 4 br label %70 42: ; preds = %1 store i32 36, ptr %2, align 4 br label %70 43: ; preds = %1 store i32 37, ptr %2, align 4 br label %70 44: ; preds = %1 store i32 38, ptr %2, align 4 br label %70 45: ; preds = %1 store i32 39, ptr %2, align 4 br label %70 46: ; preds = %1 store i32 40, ptr %2, align 4 br label %70 47: ; preds = %1 store i32 41, ptr %2, align 4 br label %70 48: ; preds = %1 store i32 42, ptr %2, align 4 br label %70 49: ; preds = %1 store i32 43, ptr %2, align 4 br label %70 50: ; preds = %1 store i32 44, ptr %2, align 4 br label %70 51: ; preds = %1 store i32 45, ptr %2, align 4 br label %70 52: ; preds = %1 store i32 46, ptr %2, align 4 br label %70 53: ; preds = %1 store i32 47, ptr %2, align 4 br label %70 54: ; preds = %1 store i32 48, ptr %2, align 4 br label %70 55: ; preds = %1 store i32 49, ptr %2, align 4 br label %70 56: ; preds = %1 store i32 50, ptr %2, align 4 br label %70 57: ; preds = %1 store i32 51, ptr %2, align 4 br label %70 58: ; preds = %1 store i32 52, ptr %2, align 4 br label %70 59: ; preds = %1 store i32 53, ptr %2, align 4 br label %70 60: ; preds = %1 store i32 54, ptr %2, align 4 br label %70 61: ; preds = %1 store i32 55, ptr %2, align 4 br label %70 62: ; preds = %1 store i32 56, ptr %2, align 4 br label %70 63: ; preds = %1 store i32 57, ptr %2, align 4 br label %70 64: ; preds = %1 store i32 58, ptr %2, align 4 br label %70 65: ; preds = %1 store i32 59, ptr %2, align 4 br label %70 66: ; preds = %1 store i32 60, ptr %2, align 4 br label %70 67: ; preds = %1 store i32 61, ptr %2, align 4 br label %70 68: ; preds = %1 store i32 62, ptr %2, align 4 br label %70 69: ; preds = %1 store i32 63, ptr %2, align 4 br label %70 70: ; preds = %69, %68, %67, %66, %65, %64, %63, %62, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6 %71 = load i32, ptr %2, align 4 ret i32 %71 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp96m2gf0p.c' source_filename = "/tmp/tmp96m2gf0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DEBUG_COVER = external global i32, align 4 @.str = private unnamed_addr constant [62 x i8] c"-> Entering wbpcover, nleft = %d, nright = %d, 2*nedges = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c" Corresponds to unweighted, nleft = %d, nright = %d, 2*nedges = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wbpcover(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, 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 ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %29 = load i32, ptr @DEBUG_COVER, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %157 31: ; preds = %8 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %10, align 4 %34 = load ptr, ptr %11, align 8 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %10, align 4 %37 = add nsw i32 %35, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %34, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load ptr, ptr %11, align 8 %42 = getelementptr inbounds i32, ptr %41, i64 0 %43 = load i32, ptr %42, align 4 %44 = sub nsw i32 %40, %43 %45 = call i32 @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %33, i32 noundef %44) store i32 0, ptr %27, align 4 store i32 0, ptr %26, align 4 store i32 0, ptr %28, align 4 store i32 0, ptr %24, align 4 br label %46 46: ; preds = %94, %31 %47 = load i32, ptr %24, align 4 %48 = load i32, ptr %9, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %97 50: ; preds = %46 %51 = load ptr, ptr %13, align 8 %52 = load i32, ptr %24, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr %26, align 4 %57 = add nsw i32 %56, %55 store i32 %57, ptr %26, align 4 %58 = load ptr, ptr %11, align 8 %59 = load i32, ptr %24, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 store i32 %62, ptr %25, align 4 br label %63 63: ; preds = %90, %50 %64 = load i32, ptr %25, align 4 %65 = load ptr, ptr %11, align 8 %66 = load i32, ptr %24, align 4 %67 = add nsw i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %65, i64 %68 %70 = load i32, ptr %69, align 4 %71 = icmp slt i32 %64, %70 br i1 %71, label %72, label %93 72: ; preds = %63 %73 = load ptr, ptr %13, align 8 %74 = load i32, ptr %24, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 %77 = load i32, ptr %76, align 4 %78 = load ptr, ptr %13, align 8 %79 = load ptr, ptr %12, align 8 %80 = load i32, ptr %25, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %78, i64 %84 %86 = load i32, ptr %85, align 4 %87 = mul nsw i32 %77, %86 %88 = load i32, ptr %28, align 4 %89 = add nsw i32 %88, %87 store i32 %89, ptr %28, align 4 br label %90 90: ; preds = %72 %91 = load i32, ptr %25, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %25, align 4 br label %63, !llvm.loop !6 93: ; preds = %63 br label %94 94: ; preds = %93 %95 = load i32, ptr %24, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %24, align 4 br label %46, !llvm.loop !8 97: ; preds = %46 %98 = load i32, ptr %9, align 4 store i32 %98, ptr %24, align 4 br label %99 99: ; preds = %149, %97 %100 = load i32, ptr %24, align 4 %101 = load i32, ptr %9, align 4 %102 = load i32, ptr %10, align 4 %103 = add nsw i32 %101, %102 %104 = icmp slt i32 %100, %103 br i1 %104, label %105, label %152 105: ; preds = %99 %106 = load ptr, ptr %13, align 8 %107 = load i32, ptr %24, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %106, i64 %108 %110 = load i32, ptr %109, align 4 %111 = load i32, ptr %27, align 4 %112 = add nsw i32 %111, %110 store i32 %112, ptr %27, align 4 %113 = load ptr, ptr %11, align 8 %114 = load i32, ptr %24, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %113, i64 %115 %117 = load i32, ptr %116, align 4 store i32 %117, ptr %25, align 4 br label %118 118: ; preds = %145, %105 %119 = load i32, ptr %25, align 4 %120 = load ptr, ptr %11, align 8 %121 = load i32, ptr %24, align 4 %122 = add nsw i32 %121, 1 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %120, i64 %123 %125 = load i32, ptr %124, align 4 %126 = icmp slt i32 %119, %125 br i1 %126, label %127, label %148 127: ; preds = %118 %128 = load ptr, ptr %13, align 8 %129 = load i32, ptr %24, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i32, ptr %128, i64 %130 %132 = load i32, ptr %131, align 4 %133 = load ptr, ptr %13, align 8 %134 = load ptr, ptr %12, align 8 %135 = load i32, ptr %25, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i32, ptr %134, i64 %136 %138 = load i32, ptr %137, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i32, ptr %133, i64 %139 %141 = load i32, ptr %140, align 4 %142 = mul nsw i32 %132, %141 %143 = load i32, ptr %28, align 4 %144 = add nsw i32 %143, %142 store i32 %144, ptr %28, align 4 br label %145 145: ; preds = %127 %146 = load i32, ptr %25, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %25, align 4 br label %118, !llvm.loop !9 148: ; preds = %118 br label %149 149: ; preds = %148 %150 = load i32, ptr %24, align 4 %151 = add nsw i32 %150, 1 store i32 %151, ptr %24, align 4 br label %99, !llvm.loop !10 152: ; preds = %99 %153 = load i32, ptr %26, align 4 %154 = load i32, ptr %27, align 4 %155 = load i32, ptr %28, align 4 %156 = call i32 @printf(ptr noundef @.str.1, i32 noundef %153, i32 noundef %154, i32 noundef %155) br label %157 157: ; preds = %152, %8 %158 = load ptr, ptr %11, align 8 %159 = load i32, ptr %9, align 4 %160 = load i32, ptr %10, align 4 %161 = add nsw i32 %159, %160 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i32, ptr %158, i64 %162 %164 = load i32, ptr %163, align 4 %165 = load ptr, ptr %11, align 8 %166 = getelementptr inbounds i32, ptr %165, i64 0 %167 = load i32, ptr %166, align 4 %168 = sub nsw i32 %164, %167 store i32 %168, ptr %23, align 4 %169 = load i32, ptr %9, align 4 %170 = load i32, ptr %10, align 4 %171 = add nsw i32 %169, %170 %172 = sext i32 %171 to i64 %173 = mul i64 %172, 4 %174 = trunc i64 %173 to i32 %175 = call ptr @smalloc(i32 noundef %174) store ptr %175, ptr %18, align 8 %176 = load i32, ptr %9, align 4 %177 = load i32, ptr %10, align 4 %178 = add nsw i32 %176, %177 %179 = sext i32 %178 to i64 %180 = mul i64 %179, 4 %181 = trunc i64 %180 to i32 %182 = call ptr @smalloc(i32 noundef %181) store ptr %182, ptr %17, align 8 %183 = load i32, ptr %23, align 4 %184 = add nsw i32 %183, 1 %185 = sext i32 %184 to i64 %186 = mul i64 %185, 4 %187 = trunc i64 %186 to i32 %188 = call ptr @smalloc(i32 noundef %187) store ptr %188, ptr %19, align 8 %189 = load i32, ptr %9, align 4 %190 = load i32, ptr %10, align 4 %191 = load ptr, ptr %11, align 8 %192 = load ptr, ptr %12, align 8 %193 = load ptr, ptr %13, align 8 %194 = load ptr, ptr %18, align 8 %195 = load ptr, ptr %19, align 8 %196 = load ptr, ptr %17, align 8 %197 = call i32 @bpflow(i32 noundef %189, i32 noundef %190, ptr noundef %191, ptr noundef %192, ptr noundef %193, ptr noundef %194, ptr noundef %195, ptr noundef %196) %198 = load i32, ptr %9, align 4 %199 = load i32, ptr %10, align 4 %200 = load ptr, ptr %11, align 8 %201 = load ptr, ptr %12, align 8 %202 = load ptr, ptr %18, align 8 %203 = load ptr, ptr %19, align 8 %204 = load ptr, ptr %17, align 8 %205 = call i32 @reachability(i32 noundef %198, i32 noundef %199, ptr noundef %200, ptr noundef %201, ptr noundef %202, ptr noundef %203, ptr noundef %204) store i32 0, ptr %21, align 4 store i32 0, ptr %24, align 4 br label %206 206: ; preds = %221, %157 %207 = load i32, ptr %24, align 4 %208 = load i32, ptr %9, align 4 %209 = icmp slt i32 %207, %208 br i1 %209, label %210, label %224 210: ; preds = %206 %211 = load ptr, ptr %17, align 8 %212 = load i32, ptr %24, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds i32, ptr %211, i64 %213 %215 = load i32, ptr %214, align 4 %216 = icmp ne i32 %215, 0 br i1 %216, label %220, label %217 217: ; preds = %210 %218 = load i32, ptr %21, align 4 %219 = add nsw i32 %218, 1 store i32 %219, ptr %21, align 4 br label %220 220: ; preds = %217, %210 br label %221 221: ; preds = %220 %222 = load i32, ptr %24, align 4 %223 = add nsw i32 %222, 1 store i32 %223, ptr %24, align 4 br label %206, !llvm.loop !11 224: ; preds = %206 %225 = load i32, ptr %9, align 4 store i32 %225, ptr %24, align 4 br label %226 226: ; preds = %243, %224 %227 = load i32, ptr %24, align 4 %228 = load i32, ptr %9, align 4 %229 = load i32, ptr %10, align 4 %230 = add nsw i32 %228, %229 %231 = icmp slt i32 %227, %230 br i1 %231, label %232, label %246 232: ; preds = %226 %233 = load ptr, ptr %17, align 8 %234 = load i32, ptr %24, align 4 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds i32, ptr %233, i64 %235 %237 = load i32, ptr %236, align 4 %238 = icmp ne i32 %237, 0 br i1 %238, label %239, label %242 239: ; preds = %232 %240 = load i32, ptr %21, align 4 %241 = add nsw i32 %240, 1 store i32 %241, ptr %21, align 4 br label %242 242: ; preds = %239, %232 br label %243 243: ; preds = %242 %244 = load i32, ptr %24, align 4 %245 = add nsw i32 %244, 1 store i32 %245, ptr %24, align 4 br label %226, !llvm.loop !12 246: ; preds = %226 %247 = load i32, ptr %21, align 4 %248 = add nsw i32 %247, 1 %249 = sext i32 %248 to i64 %250 = mul i64 %249, 4 %251 = trunc i64 %250 to i32 %252 = call ptr @smalloc(i32 noundef %251) store ptr %252, ptr %20, align 8 store i32 0, ptr %22, align 4 store i32 0, ptr %21, align 4 store i32 0, ptr %24, align 4 br label %253 253: ; preds = %279, %246 %254 = load i32, ptr %24, align 4 %255 = load i32, ptr %9, align 4 %256 = icmp slt i32 %254, %255 br i1 %256, label %257, label %282 257: ; preds = %253 %258 = load ptr, ptr %17, align 8 %259 = load i32, ptr %24, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds i32, ptr %258, i64 %260 %262 = load i32, ptr %261, align 4 %263 = icmp ne i32 %262, 0 br i1 %263, label %278, label %264 264: ; preds = %257 %265 = load i32, ptr %24, align 4 %266 = load ptr, ptr %20, align 8 %267 = load i32, ptr %21, align 4 %268 = add nsw i32 %267, 1 store i32 %268, ptr %21, align 4 %269 = sext i32 %267 to i64 %270 = getelementptr inbounds i32, ptr %266, i64 %269 store i32 %265, ptr %270, align 4 %271 = load ptr, ptr %13, align 8 %272 = load i32, ptr %24, align 4 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds i32, ptr %271, i64 %273 %275 = load i32, ptr %274, align 4 %276 = load i32, ptr %22, align 4 %277 = add nsw i32 %276, %275 store i32 %277, ptr %22, align 4 br label %278 278: ; preds = %264, %257 br label %279 279: ; preds = %278 %280 = load i32, ptr %24, align 4 %281 = add nsw i32 %280, 1 store i32 %281, ptr %24, align 4 br label %253, !llvm.loop !13 282: ; preds = %253 %283 = load i32, ptr %9, align 4 store i32 %283, ptr %24, align 4 br label %284 284: ; preds = %312, %282 %285 = load i32, ptr %24, align 4 %286 = load i32, ptr %9, align 4 %287 = load i32, ptr %10, align 4 %288 = add nsw i32 %286, %287 %289 = icmp slt i32 %285, %288 br i1 %289, label %290, label %315 290: ; preds = %284 %291 = load ptr, ptr %17, align 8 %292 = load i32, ptr %24, align 4 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds i32, ptr %291, i64 %293 %295 = load i32, ptr %294, align 4 %296 = icmp ne i32 %295, 0 br i1 %296, label %297, label %311 297: ; preds = %290 %298 = load i32, ptr %24, align 4 %299 = load ptr, ptr %20, align 8 %300 = load i32, ptr %21, align 4 %301 = add nsw i32 %300, 1 store i32 %301, ptr %21, align 4 %302 = sext i32 %300 to i64 %303 = getelementptr inbounds i32, ptr %299, i64 %302 store i32 %298, ptr %303, align 4 %304 = load ptr, ptr %13, align 8 %305 = load i32, ptr %24, align 4 %306 = sext i32 %305 to i64 %307 = getelementptr inbounds i32, ptr %304, i64 %306 %308 = load i32, ptr %307, align 4 %309 = load i32, ptr %22, align 4 %310 = add nsw i32 %309, %308 store i32 %310, ptr %22, align 4 br label %311 311: ; preds = %297, %290 br label %312 312: ; preds = %311 %313 = load i32, ptr %24, align 4 %314 = add nsw i32 %313, 1 store i32 %314, ptr %24, align 4 br label %284, !llvm.loop !14 315: ; preds = %284 %316 = load ptr, ptr %20, align 8 %317 = load i32, ptr %21, align 4 %318 = sext i32 %317 to i64 %319 = getelementptr inbounds i32, ptr %316, i64 %318 store i32 0, ptr %319, align 4 %320 = load i32, ptr %21, align 4 %321 = load ptr, ptr %14, align 8 store i32 %320, ptr %321, align 4 %322 = load i32, ptr %22, align 4 %323 = load ptr, ptr %15, align 8 store i32 %322, ptr %323, align 4 %324 = load ptr, ptr %20, align 8 %325 = load ptr, ptr %16, align 8 store ptr %324, ptr %325, align 8 %326 = load i32, ptr @DEBUG_COVER, align 4 %327 = icmp ne i32 %326, 0 br i1 %327, label %328, label %338 328: ; preds = %315 %329 = load i32, ptr %9, align 4 %330 = load i32, ptr %10, align 4 %331 = load ptr, ptr %11, align 8 %332 = load ptr, ptr %12, align 8 %333 = load ptr, ptr %19, align 8 %334 = load ptr, ptr %13, align 8 %335 = load ptr, ptr %18, align 8 %336 = load i32, ptr %21, align 4 %337 = load ptr, ptr %20, align 8 call void (i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ...) @confirm_cover(i32 noundef %329, i32 noundef %330, ptr noundef %331, ptr noundef %332, ptr noundef %333, ptr noundef %334, ptr noundef %335, i32 noundef %336, ptr noundef %337) br label %338 338: ; preds = %328, %315 %339 = load ptr, ptr %19, align 8 %340 = call i32 @sfree(ptr noundef %339) %341 = load ptr, ptr %17, align 8 %342 = call i32 @sfree(ptr noundef %341) %343 = load ptr, ptr %18, align 8 %344 = call i32 @sfree(ptr noundef %343) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @smalloc(i32 noundef) #1 declare i32 @bpflow(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @reachability(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare void @confirm_cover(...) #1 declare i32 @sfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp96m2gf0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DEBUG_COVER = external global i32, align 4 @.str = private unnamed_addr constant [62 x i8] c"-> Entering wbpcover, nleft = %d, nright = %d, 2*nedges = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c" Corresponds to unweighted, nleft = %d, nright = %d, 2*nedges = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wbpcover(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, 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 ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %29 = load i32, ptr @DEBUG_COVER, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %177 31: ; preds = %8 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %10, align 4 %34 = load ptr, ptr %11, align 8 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %10, align 4 %37 = add nsw i32 %35, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %34, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load ptr, ptr %11, align 8 %42 = getelementptr inbounds i32, ptr %41, i64 0 %43 = load i32, ptr %42, align 4 %44 = sub nsw i32 %40, %43 %45 = call i32 @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %33, i32 noundef %44) store i32 0, ptr %27, align 4 store i32 0, ptr %26, align 4 store i32 0, ptr %28, align 4 store i32 0, ptr %24, align 4 %46 = load i32, ptr %24, align 4 %47 = load i32, ptr %9, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %.lr.ph2, label %106 .lr.ph2: ; preds = %31 br label %49 49: ; preds = %.lr.ph2, %100 %50 = load ptr, ptr %13, align 8 %51 = load i32, ptr %24, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load i32, ptr %26, align 4 %56 = add nsw i32 %55, %54 store i32 %56, ptr %26, align 4 %57 = load ptr, ptr %11, align 8 %58 = load i32, ptr %24, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = load i32, ptr %60, align 4 store i32 %61, ptr %25, align 4 %62 = load i32, ptr %25, align 4 %63 = load ptr, ptr %11, align 8 %64 = load i32, ptr %24, align 4 %65 = add nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %63, i64 %66 %68 = load i32, ptr %67, align 4 %69 = icmp slt i32 %62, %68 br i1 %69, label %.lr.ph, label %99 .lr.ph: ; preds = %49 br label %70 70: ; preds = %.lr.ph, %88 %71 = load ptr, ptr %13, align 8 %72 = load i32, ptr %24, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %71, i64 %73 %75 = load i32, ptr %74, align 4 %76 = load ptr, ptr %13, align 8 %77 = load ptr, ptr %12, align 8 %78 = load i32, ptr %25, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %76, i64 %82 %84 = load i32, ptr %83, align 4 %85 = mul nsw i32 %75, %84 %86 = load i32, ptr %28, align 4 %87 = add nsw i32 %86, %85 store i32 %87, ptr %28, align 4 br label %88 88: ; preds = %70 %89 = load i32, ptr %25, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %25, align 4 %91 = load i32, ptr %25, align 4 %92 = load ptr, ptr %11, align 8 %93 = load i32, ptr %24, align 4 %94 = add nsw i32 %93, 1 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %92, i64 %95 %97 = load i32, ptr %96, align 4 %98 = icmp slt i32 %91, %97 br i1 %98, label %70, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %88 br label %99 99: ; preds = %._crit_edge, %49 br label %100 100: ; preds = %99 %101 = load i32, ptr %24, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %24, align 4 %103 = load i32, ptr %24, align 4 %104 = load i32, ptr %9, align 4 %105 = icmp slt i32 %103, %104 br i1 %105, label %49, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %100 br label %106 106: ; preds = %._crit_edge3, %31 %107 = load i32, ptr %9, align 4 store i32 %107, ptr %24, align 4 %108 = load i32, ptr %24, align 4 %109 = load i32, ptr %9, align 4 %110 = load i32, ptr %10, align 4 %111 = add nsw i32 %109, %110 %112 = icmp slt i32 %108, %111 br i1 %112, label %.lr.ph8, label %172 .lr.ph8: ; preds = %106 br label %113 113: ; preds = %.lr.ph8, %164 %114 = load ptr, ptr %13, align 8 %115 = load i32, ptr %24, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i32, ptr %114, i64 %116 %118 = load i32, ptr %117, align 4 %119 = load i32, ptr %27, align 4 %120 = add nsw i32 %119, %118 store i32 %120, ptr %27, align 4 %121 = load ptr, ptr %11, align 8 %122 = load i32, ptr %24, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %121, i64 %123 %125 = load i32, ptr %124, align 4 store i32 %125, ptr %25, align 4 %126 = load i32, ptr %25, align 4 %127 = load ptr, ptr %11, align 8 %128 = load i32, ptr %24, align 4 %129 = add nsw i32 %128, 1 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i32, ptr %127, i64 %130 %132 = load i32, ptr %131, align 4 %133 = icmp slt i32 %126, %132 br i1 %133, label %.lr.ph5, label %163 .lr.ph5: ; preds = %113 br label %134 134: ; preds = %.lr.ph5, %152 %135 = load ptr, ptr %13, align 8 %136 = load i32, ptr %24, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i32, ptr %135, i64 %137 %139 = load i32, ptr %138, align 4 %140 = load ptr, ptr %13, align 8 %141 = load ptr, ptr %12, align 8 %142 = load i32, ptr %25, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i32, ptr %141, i64 %143 %145 = load i32, ptr %144, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i32, ptr %140, i64 %146 %148 = load i32, ptr %147, align 4 %149 = mul nsw i32 %139, %148 %150 = load i32, ptr %28, align 4 %151 = add nsw i32 %150, %149 store i32 %151, ptr %28, align 4 br label %152 152: ; preds = %134 %153 = load i32, ptr %25, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %25, align 4 %155 = load i32, ptr %25, align 4 %156 = load ptr, ptr %11, align 8 %157 = load i32, ptr %24, align 4 %158 = add nsw i32 %157, 1 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i32, ptr %156, i64 %159 %161 = load i32, ptr %160, align 4 %162 = icmp slt i32 %155, %161 br i1 %162, label %134, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %152 br label %163 163: ; preds = %._crit_edge6, %113 br label %164 164: ; preds = %163 %165 = load i32, ptr %24, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %24, align 4 %167 = load i32, ptr %24, align 4 %168 = load i32, ptr %9, align 4 %169 = load i32, ptr %10, align 4 %170 = add nsw i32 %168, %169 %171 = icmp slt i32 %167, %170 br i1 %171, label %113, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %164 br label %172 172: ; preds = %._crit_edge9, %106 %173 = load i32, ptr %26, align 4 %174 = load i32, ptr %27, align 4 %175 = load i32, ptr %28, align 4 %176 = call i32 @printf(ptr noundef @.str.1, i32 noundef %173, i32 noundef %174, i32 noundef %175) br label %177 177: ; preds = %172, %8 %178 = load ptr, ptr %11, align 8 %179 = load i32, ptr %9, align 4 %180 = load i32, ptr %10, align 4 %181 = add nsw i32 %179, %180 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i32, ptr %178, i64 %182 %184 = load i32, ptr %183, align 4 %185 = load ptr, ptr %11, align 8 %186 = getelementptr inbounds i32, ptr %185, i64 0 %187 = load i32, ptr %186, align 4 %188 = sub nsw i32 %184, %187 store i32 %188, ptr %23, align 4 %189 = load i32, ptr %9, align 4 %190 = load i32, ptr %10, align 4 %191 = add nsw i32 %189, %190 %192 = sext i32 %191 to i64 %193 = mul i64 %192, 4 %194 = trunc i64 %193 to i32 %195 = call ptr @smalloc(i32 noundef %194) store ptr %195, ptr %18, align 8 %196 = load i32, ptr %9, align 4 %197 = load i32, ptr %10, align 4 %198 = add nsw i32 %196, %197 %199 = sext i32 %198 to i64 %200 = mul i64 %199, 4 %201 = trunc i64 %200 to i32 %202 = call ptr @smalloc(i32 noundef %201) store ptr %202, ptr %17, align 8 %203 = load i32, ptr %23, align 4 %204 = add nsw i32 %203, 1 %205 = sext i32 %204 to i64 %206 = mul i64 %205, 4 %207 = trunc i64 %206 to i32 %208 = call ptr @smalloc(i32 noundef %207) store ptr %208, ptr %19, align 8 %209 = load i32, ptr %9, align 4 %210 = load i32, ptr %10, align 4 %211 = load ptr, ptr %11, align 8 %212 = load ptr, ptr %12, align 8 %213 = load ptr, ptr %13, align 8 %214 = load ptr, ptr %18, align 8 %215 = load ptr, ptr %19, align 8 %216 = load ptr, ptr %17, align 8 %217 = call i32 @bpflow(i32 noundef %209, i32 noundef %210, ptr noundef %211, ptr noundef %212, ptr noundef %213, ptr noundef %214, ptr noundef %215, ptr noundef %216) %218 = load i32, ptr %9, align 4 %219 = load i32, ptr %10, align 4 %220 = load ptr, ptr %11, align 8 %221 = load ptr, ptr %12, align 8 %222 = load ptr, ptr %18, align 8 %223 = load ptr, ptr %19, align 8 %224 = load ptr, ptr %17, align 8 %225 = call i32 @reachability(i32 noundef %218, i32 noundef %219, ptr noundef %220, ptr noundef %221, ptr noundef %222, ptr noundef %223, ptr noundef %224) store i32 0, ptr %21, align 4 store i32 0, ptr %24, align 4 %226 = load i32, ptr %24, align 4 %227 = load i32, ptr %9, align 4 %228 = icmp slt i32 %226, %227 br i1 %228, label %.lr.ph11, label %246 .lr.ph11: ; preds = %177 br label %229 229: ; preds = %.lr.ph11, %240 %230 = load ptr, ptr %17, align 8 %231 = load i32, ptr %24, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds i32, ptr %230, i64 %232 %234 = load i32, ptr %233, align 4 %235 = icmp ne i32 %234, 0 br i1 %235, label %239, label %236 236: ; preds = %229 %237 = load i32, ptr %21, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %21, align 4 br label %239 239: ; preds = %236, %229 br label %240 240: ; preds = %239 %241 = load i32, ptr %24, align 4 %242 = add nsw i32 %241, 1 store i32 %242, ptr %24, align 4 %243 = load i32, ptr %24, align 4 %244 = load i32, ptr %9, align 4 %245 = icmp slt i32 %243, %244 br i1 %245, label %229, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %240 br label %246 246: ; preds = %._crit_edge12, %177 %247 = load i32, ptr %9, align 4 store i32 %247, ptr %24, align 4 %248 = load i32, ptr %24, align 4 %249 = load i32, ptr %9, align 4 %250 = load i32, ptr %10, align 4 %251 = add nsw i32 %249, %250 %252 = icmp slt i32 %248, %251 br i1 %252, label %.lr.ph14, label %272 .lr.ph14: ; preds = %246 br label %253 253: ; preds = %.lr.ph14, %264 %254 = load ptr, ptr %17, align 8 %255 = load i32, ptr %24, align 4 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds i32, ptr %254, i64 %256 %258 = load i32, ptr %257, align 4 %259 = icmp ne i32 %258, 0 br i1 %259, label %260, label %263 260: ; preds = %253 %261 = load i32, ptr %21, align 4 %262 = add nsw i32 %261, 1 store i32 %262, ptr %21, align 4 br label %263 263: ; preds = %260, %253 br label %264 264: ; preds = %263 %265 = load i32, ptr %24, align 4 %266 = add nsw i32 %265, 1 store i32 %266, ptr %24, align 4 %267 = load i32, ptr %24, align 4 %268 = load i32, ptr %9, align 4 %269 = load i32, ptr %10, align 4 %270 = add nsw i32 %268, %269 %271 = icmp slt i32 %267, %270 br i1 %271, label %253, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %264 br label %272 272: ; preds = %._crit_edge15, %246 %273 = load i32, ptr %21, align 4 %274 = add nsw i32 %273, 1 %275 = sext i32 %274 to i64 %276 = mul i64 %275, 4 %277 = trunc i64 %276 to i32 %278 = call ptr @smalloc(i32 noundef %277) store ptr %278, ptr %20, align 8 store i32 0, ptr %22, align 4 store i32 0, ptr %21, align 4 store i32 0, ptr %24, align 4 %279 = load i32, ptr %24, align 4 %280 = load i32, ptr %9, align 4 %281 = icmp slt i32 %279, %280 br i1 %281, label %.lr.ph17, label %310 .lr.ph17: ; preds = %272 br label %282 282: ; preds = %.lr.ph17, %304 %283 = load ptr, ptr %17, align 8 %284 = load i32, ptr %24, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds i32, ptr %283, i64 %285 %287 = load i32, ptr %286, align 4 %288 = icmp ne i32 %287, 0 br i1 %288, label %303, label %289 289: ; preds = %282 %290 = load i32, ptr %24, align 4 %291 = load ptr, ptr %20, align 8 %292 = load i32, ptr %21, align 4 %293 = add nsw i32 %292, 1 store i32 %293, ptr %21, align 4 %294 = sext i32 %292 to i64 %295 = getelementptr inbounds i32, ptr %291, i64 %294 store i32 %290, ptr %295, align 4 %296 = load ptr, ptr %13, align 8 %297 = load i32, ptr %24, align 4 %298 = sext i32 %297 to i64 %299 = getelementptr inbounds i32, ptr %296, i64 %298 %300 = load i32, ptr %299, align 4 %301 = load i32, ptr %22, align 4 %302 = add nsw i32 %301, %300 store i32 %302, ptr %22, align 4 br label %303 303: ; preds = %289, %282 br label %304 304: ; preds = %303 %305 = load i32, ptr %24, align 4 %306 = add nsw i32 %305, 1 store i32 %306, ptr %24, align 4 %307 = load i32, ptr %24, align 4 %308 = load i32, ptr %9, align 4 %309 = icmp slt i32 %307, %308 br i1 %309, label %282, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %304 br label %310 310: ; preds = %._crit_edge18, %272 %311 = load i32, ptr %9, align 4 store i32 %311, ptr %24, align 4 %312 = load i32, ptr %24, align 4 %313 = load i32, ptr %9, align 4 %314 = load i32, ptr %10, align 4 %315 = add nsw i32 %313, %314 %316 = icmp slt i32 %312, %315 br i1 %316, label %.lr.ph20, label %347 .lr.ph20: ; preds = %310 br label %317 317: ; preds = %.lr.ph20, %339 %318 = load ptr, ptr %17, align 8 %319 = load i32, ptr %24, align 4 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds i32, ptr %318, i64 %320 %322 = load i32, ptr %321, align 4 %323 = icmp ne i32 %322, 0 br i1 %323, label %324, label %338 324: ; preds = %317 %325 = load i32, ptr %24, align 4 %326 = load ptr, ptr %20, align 8 %327 = load i32, ptr %21, align 4 %328 = add nsw i32 %327, 1 store i32 %328, ptr %21, align 4 %329 = sext i32 %327 to i64 %330 = getelementptr inbounds i32, ptr %326, i64 %329 store i32 %325, ptr %330, align 4 %331 = load ptr, ptr %13, align 8 %332 = load i32, ptr %24, align 4 %333 = sext i32 %332 to i64 %334 = getelementptr inbounds i32, ptr %331, i64 %333 %335 = load i32, ptr %334, align 4 %336 = load i32, ptr %22, align 4 %337 = add nsw i32 %336, %335 store i32 %337, ptr %22, align 4 br label %338 338: ; preds = %324, %317 br label %339 339: ; preds = %338 %340 = load i32, ptr %24, align 4 %341 = add nsw i32 %340, 1 store i32 %341, ptr %24, align 4 %342 = load i32, ptr %24, align 4 %343 = load i32, ptr %9, align 4 %344 = load i32, ptr %10, align 4 %345 = add nsw i32 %343, %344 %346 = icmp slt i32 %342, %345 br i1 %346, label %317, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %339 br label %347 347: ; preds = %._crit_edge21, %310 %348 = load ptr, ptr %20, align 8 %349 = load i32, ptr %21, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds i32, ptr %348, i64 %350 store i32 0, ptr %351, align 4 %352 = load i32, ptr %21, align 4 %353 = load ptr, ptr %14, align 8 store i32 %352, ptr %353, align 4 %354 = load i32, ptr %22, align 4 %355 = load ptr, ptr %15, align 8 store i32 %354, ptr %355, align 4 %356 = load ptr, ptr %20, align 8 %357 = load ptr, ptr %16, align 8 store ptr %356, ptr %357, align 8 %358 = load i32, ptr @DEBUG_COVER, align 4 %359 = icmp ne i32 %358, 0 br i1 %359, label %360, label %370 360: ; preds = %347 %361 = load i32, ptr %9, align 4 %362 = load i32, ptr %10, align 4 %363 = load ptr, ptr %11, align 8 %364 = load ptr, ptr %12, align 8 %365 = load ptr, ptr %19, align 8 %366 = load ptr, ptr %13, align 8 %367 = load ptr, ptr %18, align 8 %368 = load i32, ptr %21, align 4 %369 = load ptr, ptr %20, align 8 call void (i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ...) @confirm_cover(i32 noundef %361, i32 noundef %362, ptr noundef %363, ptr noundef %364, ptr noundef %365, ptr noundef %366, ptr noundef %367, i32 noundef %368, ptr noundef %369) br label %370 370: ; preds = %360, %347 %371 = load ptr, ptr %19, align 8 %372 = call i32 @sfree(ptr noundef %371) %373 = load ptr, ptr %17, align 8 %374 = call i32 @sfree(ptr noundef %373) %375 = load ptr, ptr %18, align 8 %376 = call i32 @sfree(ptr noundef %375) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @smalloc(i32 noundef) #1 declare i32 @bpflow(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @reachability(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare void @confirm_cover(...) #1 declare i32 @sfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpvvxr3jzg.c' source_filename = "/tmp/tmpvvxr3jzg.c" target datalayout = "e-m:e-p270: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.rusage = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i32, i32 } %struct.TYPE_3__ = type { i32, i32 } @.str = private unnamed_addr constant [41 x i8] c"Time spent executing user instructions: \00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"time: %d seconds, %d milliseconds\0A\00", align 1 @.str.2 = private unnamed_addr constant [61 x i8] c"Time spent in operating system code on behalf of processes: \00", align 1 @.str.3 = private unnamed_addr constant [150 x i8] c"The maximum resident set size used, in kilobytes, this is the maximum number of kilobytes of physical memory that processes used simultaneously, %ld\0A\00", align 1 @.str.4 = private unnamed_addr constant [160 x i8] c"An integral value expressed in kilobytes times ticks of execution, which indicates the amount of memory used by text that was shared with other processes, %ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [102 x i8] c"An integeral value expressed the same way, which is the amount of unshared memory used for data, %ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [108 x i8] c"An integeral value expressed the same way, which is the amount of unshared memory used for stack space, %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [78 x i8] c"The number of page faults which were serviced without requiring any I/O, %ld\0A\00", align 1 @.str.8 = private unnamed_addr constant [65 x i8] c"The number of page faults which were serviced by doing I/O, %ld\0A\00", align 1 @.str.9 = private unnamed_addr constant [75 x i8] c"The number of times processes was swaped entirely out of main memory, %ld\0A\00", align 1 @.str.10 = private unnamed_addr constant [91 x i8] c"The number of times the file system had to read from the disk on behalf of processes, %ld\0A\00", align 1 @.str.11 = private unnamed_addr constant [90 x i8] c"The number of times the file system had to write to the disk on behalf of processes, %ld\0A\00", align 1 @.str.12 = private unnamed_addr constant [34 x i8] c"Number of IPC messages sent, %ld\0A\00", align 1 @.str.13 = private unnamed_addr constant [38 x i8] c"Number of IPC messages received, %ld\0A\00", align 1 @.str.14 = private unnamed_addr constant [33 x i8] c"Number of signals received, %ld\0A\00", align 1 @.str.15 = private unnamed_addr constant [107 x i8] c"The number of times processes voluntarily invoked a context switch(usually to wait for some service), %ld\0A\00", align 1 @.str.16 = private unnamed_addr constant [151 x i8] c"The number of times an involuntary context switch took place (because a time slice expired, or another process of higher priority was scheduled), %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @show_rusage(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %5 5: ; preds = %1 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 15 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds %struct.rusage, ptr %10, i32 0, i32 15 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 1 %13 = load i32, ptr %12, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9, i32 noundef %13) br label %15 15: ; preds = %5 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %17 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds %struct.rusage, ptr %18, i32 0, i32 14 %20 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds %struct.rusage, ptr %22, i32 0, i32 14 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i32 0, i32 1 %25 = load i32, ptr %24, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %25) br label %27 27: ; preds = %17 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds %struct.rusage, ptr %28, i32 0, i32 0 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %30) %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds %struct.rusage, ptr %32, i32 0, i32 1 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %34) %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds %struct.rusage, ptr %36, i32 0, i32 2 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %38) %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds %struct.rusage, ptr %40, i32 0, i32 3 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %42) %44 = load ptr, ptr %3, align 8 %45 = getelementptr inbounds %struct.rusage, ptr %44, i32 0, i32 4 %46 = load i32, ptr %45, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %46) %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds %struct.rusage, ptr %48, i32 0, i32 5 %50 = load i32, ptr %49, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %50) %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds %struct.rusage, ptr %52, i32 0, i32 6 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %54) %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds %struct.rusage, ptr %56, i32 0, i32 7 %58 = load i32, ptr %57, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %58) %60 = load ptr, ptr %3, align 8 %61 = getelementptr inbounds %struct.rusage, ptr %60, i32 0, i32 8 %62 = load i32, ptr %61, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %62) %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds %struct.rusage, ptr %64, i32 0, i32 9 %66 = load i32, ptr %65, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %66) %68 = load ptr, ptr %3, align 8 %69 = getelementptr inbounds %struct.rusage, ptr %68, i32 0, i32 10 %70 = load i32, ptr %69, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %70) %72 = load ptr, ptr %3, align 8 %73 = getelementptr inbounds %struct.rusage, ptr %72, i32 0, i32 11 %74 = load i32, ptr %73, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %74) %76 = load ptr, ptr %3, align 8 %77 = getelementptr inbounds %struct.rusage, ptr %76, i32 0, i32 12 %78 = load i32, ptr %77, align 4 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %78) %80 = load ptr, ptr %3, align 8 %81 = getelementptr inbounds %struct.rusage, ptr %80, i32 0, i32 13 %82 = load i32, ptr %81, align 4 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %82) %84 = load i32, ptr %2, align 4 ret i32 %84 } 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/tmpvvxr3jzg.c" target datalayout = "e-m:e-p270: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.rusage = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i32, i32 } %struct.TYPE_3__ = type { i32, i32 } @.str = private unnamed_addr constant [41 x i8] c"Time spent executing user instructions: \00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"time: %d seconds, %d milliseconds\0A\00", align 1 @.str.2 = private unnamed_addr constant [61 x i8] c"Time spent in operating system code on behalf of processes: \00", align 1 @.str.3 = private unnamed_addr constant [150 x i8] c"The maximum resident set size used, in kilobytes, this is the maximum number of kilobytes of physical memory that processes used simultaneously, %ld\0A\00", align 1 @.str.4 = private unnamed_addr constant [160 x i8] c"An integral value expressed in kilobytes times ticks of execution, which indicates the amount of memory used by text that was shared with other processes, %ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [102 x i8] c"An integeral value expressed the same way, which is the amount of unshared memory used for data, %ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [108 x i8] c"An integeral value expressed the same way, which is the amount of unshared memory used for stack space, %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [78 x i8] c"The number of page faults which were serviced without requiring any I/O, %ld\0A\00", align 1 @.str.8 = private unnamed_addr constant [65 x i8] c"The number of page faults which were serviced by doing I/O, %ld\0A\00", align 1 @.str.9 = private unnamed_addr constant [75 x i8] c"The number of times processes was swaped entirely out of main memory, %ld\0A\00", align 1 @.str.10 = private unnamed_addr constant [91 x i8] c"The number of times the file system had to read from the disk on behalf of processes, %ld\0A\00", align 1 @.str.11 = private unnamed_addr constant [90 x i8] c"The number of times the file system had to write to the disk on behalf of processes, %ld\0A\00", align 1 @.str.12 = private unnamed_addr constant [34 x i8] c"Number of IPC messages sent, %ld\0A\00", align 1 @.str.13 = private unnamed_addr constant [38 x i8] c"Number of IPC messages received, %ld\0A\00", align 1 @.str.14 = private unnamed_addr constant [33 x i8] c"Number of signals received, %ld\0A\00", align 1 @.str.15 = private unnamed_addr constant [107 x i8] c"The number of times processes voluntarily invoked a context switch(usually to wait for some service), %ld\0A\00", align 1 @.str.16 = private unnamed_addr constant [151 x i8] c"The number of times an involuntary context switch took place (because a time slice expired, or another process of higher priority was scheduled), %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @show_rusage(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %5 5: ; preds = %1 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.rusage, ptr %6, i32 0, i32 15 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds %struct.rusage, ptr %10, i32 0, i32 15 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 1 %13 = load i32, ptr %12, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9, i32 noundef %13) br label %15 15: ; preds = %5 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %17 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds %struct.rusage, ptr %18, i32 0, i32 14 %20 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds %struct.rusage, ptr %22, i32 0, i32 14 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i32 0, i32 1 %25 = load i32, ptr %24, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %25) br label %27 27: ; preds = %17 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds %struct.rusage, ptr %28, i32 0, i32 0 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %30) %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds %struct.rusage, ptr %32, i32 0, i32 1 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %34) %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds %struct.rusage, ptr %36, i32 0, i32 2 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %38) %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds %struct.rusage, ptr %40, i32 0, i32 3 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %42) %44 = load ptr, ptr %3, align 8 %45 = getelementptr inbounds %struct.rusage, ptr %44, i32 0, i32 4 %46 = load i32, ptr %45, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %46) %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds %struct.rusage, ptr %48, i32 0, i32 5 %50 = load i32, ptr %49, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %50) %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds %struct.rusage, ptr %52, i32 0, i32 6 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %54) %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds %struct.rusage, ptr %56, i32 0, i32 7 %58 = load i32, ptr %57, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %58) %60 = load ptr, ptr %3, align 8 %61 = getelementptr inbounds %struct.rusage, ptr %60, i32 0, i32 8 %62 = load i32, ptr %61, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %62) %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds %struct.rusage, ptr %64, i32 0, i32 9 %66 = load i32, ptr %65, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %66) %68 = load ptr, ptr %3, align 8 %69 = getelementptr inbounds %struct.rusage, ptr %68, i32 0, i32 10 %70 = load i32, ptr %69, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %70) %72 = load ptr, ptr %3, align 8 %73 = getelementptr inbounds %struct.rusage, ptr %72, i32 0, i32 11 %74 = load i32, ptr %73, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %74) %76 = load ptr, ptr %3, align 8 %77 = getelementptr inbounds %struct.rusage, ptr %76, i32 0, i32 12 %78 = load i32, ptr %77, align 4 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %78) %80 = load ptr, ptr %3, align 8 %81 = getelementptr inbounds %struct.rusage, ptr %80, i32 0, i32 13 %82 = load i32, ptr %81, align 4 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %82) %84 = load i32, ptr %2, align 4 ret i32 %84 } 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/tmp5eh3rjka.c' source_filename = "/tmp/tmp5eh3rjka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [80 x i8] c" size IN: hit tot mc no_rt bcast madst masrc OUT: hit tot mc\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_hdr_line() #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/tmp5eh3rjka.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [80 x i8] c" size IN: hit tot mc no_rt bcast madst masrc OUT: hit tot mc\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_hdr_line() #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/tmp7shi_psr.c' source_filename = "/tmp/tmp7shi_psr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_putstr_fd(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 = %13, %2 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %6 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %5, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 %17 = load i32, ptr %4, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = call i32 @write(i32 noundef %17, ptr noundef %18, i32 noundef %19) ret void } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp7shi_psr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_putstr_fd(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 ptr, ptr %3, align 8 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %5, align 4 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = icmp ne i8 %19, 0 br i1 %20, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %21 21: ; preds = %._crit_edge, %2 %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = call i32 @write(i32 noundef %22, ptr noundef %23, i32 noundef %24) ret void } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0cl88s38.c' source_filename = "/tmp/tmp0cl88s38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"234\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"123\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strncmp_1() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 %3 = load ptr, ptr %1, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strncmp(ptr noundef %3, ptr noundef %4, i32 noundef 3) %6 = icmp eq i32 %5, 1 %7 = zext i1 %6 to i32 %8 = call i32 @clang_analyzer_eval(i32 noundef %7) ret void } declare i32 @clang_analyzer_eval(i32 noundef) #1 declare i32 @strncmp(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/tmp0cl88s38.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"234\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"123\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strncmp_1() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 %3 = load ptr, ptr %1, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strncmp(ptr noundef %3, ptr noundef %4, i32 noundef 3) %6 = icmp eq i32 %5, 1 %7 = zext i1 %6 to i32 %8 = call i32 @clang_analyzer_eval(i32 noundef %7) ret void } declare i32 @clang_analyzer_eval(i32 noundef) #1 declare i32 @strncmp(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/tmpitrk7ky7.c' source_filename = "/tmp/tmpitrk7ky7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc /dev /root /sys /dev/pts /dev/shm\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"tmpfs\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"shm\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"/dev/shm\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"proc\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"/proc\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"sysfs\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"/sys\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"/dev/tty\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"/dev/frandom\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"/dev/erandom\00", align 1 @.str.13 = private unnamed_addr constant [10 x i8] c"/dev/ptmx\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"/dev/loop0\00", align 1 @.str.15 = private unnamed_addr constant [11 x i8] c"/dev/grsec\00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"666\00", align 1 @.str.17 = private unnamed_addr constant [7 x i8] c"devpts\00", align 1 @.str.18 = private unnamed_addr constant [9 x i8] c"/dev/pts\00", align 1 @.str.19 = private unnamed_addr constant [19 x i8] c"/app/os/var/dhcpcd\00", align 1 @.str.20 = private unnamed_addr constant [16 x i8] c"/app/os/var/run\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ramfs_init() #0 { %1 = alloca [255 x i8], align 16 %2 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str) %4 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @abms_mkdir(ptr noundef %4, i32 noundef 1) %6 = call i32 @abms_mount(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3) %7 = call i32 @abms_mount(ptr noundef @.str.4, ptr noundef @.str.4, ptr noundef @.str.5) %8 = call i32 @abms_mount(ptr noundef @.str.6, ptr noundef @.str.6, ptr noundef @.str.7) %9 = call i32 @abms_mknod(ptr noundef @.str.8, i32 noundef 12, i32 noundef 5, i32 noundef 0) %10 = call i32 @abms_mknod(ptr noundef @.str.9, i32 noundef 12, i32 noundef 1, i32 noundef 8) %11 = call i32 @abms_mknod(ptr noundef @.str.10, i32 noundef 12, i32 noundef 1, i32 noundef 9) %12 = call i32 @abms_mknod(ptr noundef @.str.11, i32 noundef 12, i32 noundef 235, i32 noundef 11) %13 = call i32 @abms_mknod(ptr noundef @.str.12, i32 noundef 12, i32 noundef 235, i32 noundef 12) %14 = call i32 @abms_mknod(ptr noundef @.str.13, i32 noundef 12, i32 noundef 5, i32 noundef 2) %15 = call i32 @abms_mknod(ptr noundef @.str.14, i32 noundef 11, i32 noundef 7, i32 noundef 0) %16 = call i32 @abms_mknod(ptr noundef @.str.15, i32 noundef 12, i32 noundef 1, i32 noundef 13) %17 = call i32 @abms_chmod(ptr noundef @.str.16, ptr noundef @.str.13) %18 = call i32 @abms_chmod(ptr noundef @.str.16, ptr noundef @.str.8) %19 = call i32 @abms_mount(ptr noundef @.str.17, ptr noundef @.str.17, ptr noundef @.str.18) %20 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %21 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.19) %22 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %23 = call i32 @abms_mkdir(ptr noundef %22, i32 noundef 1) %24 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %25 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str.20) %26 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %27 = call i32 @abms_mkdir(ptr noundef %26, i32 noundef 1) ret void } declare i32 @sprintf(ptr noundef, ptr noundef) #1 declare i32 @abms_mkdir(ptr noundef, i32 noundef) #1 declare i32 @abms_mount(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @abms_mknod(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @abms_chmod(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/tmpitrk7ky7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc /dev /root /sys /dev/pts /dev/shm\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"tmpfs\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"shm\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"/dev/shm\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"proc\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"/proc\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"sysfs\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"/sys\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"/dev/tty\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"/dev/frandom\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"/dev/erandom\00", align 1 @.str.13 = private unnamed_addr constant [10 x i8] c"/dev/ptmx\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"/dev/loop0\00", align 1 @.str.15 = private unnamed_addr constant [11 x i8] c"/dev/grsec\00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"666\00", align 1 @.str.17 = private unnamed_addr constant [7 x i8] c"devpts\00", align 1 @.str.18 = private unnamed_addr constant [9 x i8] c"/dev/pts\00", align 1 @.str.19 = private unnamed_addr constant [19 x i8] c"/app/os/var/dhcpcd\00", align 1 @.str.20 = private unnamed_addr constant [16 x i8] c"/app/os/var/run\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ramfs_init() #0 { %1 = alloca [255 x i8], align 16 %2 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str) %4 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @abms_mkdir(ptr noundef %4, i32 noundef 1) %6 = call i32 @abms_mount(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3) %7 = call i32 @abms_mount(ptr noundef @.str.4, ptr noundef @.str.4, ptr noundef @.str.5) %8 = call i32 @abms_mount(ptr noundef @.str.6, ptr noundef @.str.6, ptr noundef @.str.7) %9 = call i32 @abms_mknod(ptr noundef @.str.8, i32 noundef 12, i32 noundef 5, i32 noundef 0) %10 = call i32 @abms_mknod(ptr noundef @.str.9, i32 noundef 12, i32 noundef 1, i32 noundef 8) %11 = call i32 @abms_mknod(ptr noundef @.str.10, i32 noundef 12, i32 noundef 1, i32 noundef 9) %12 = call i32 @abms_mknod(ptr noundef @.str.11, i32 noundef 12, i32 noundef 235, i32 noundef 11) %13 = call i32 @abms_mknod(ptr noundef @.str.12, i32 noundef 12, i32 noundef 235, i32 noundef 12) %14 = call i32 @abms_mknod(ptr noundef @.str.13, i32 noundef 12, i32 noundef 5, i32 noundef 2) %15 = call i32 @abms_mknod(ptr noundef @.str.14, i32 noundef 11, i32 noundef 7, i32 noundef 0) %16 = call i32 @abms_mknod(ptr noundef @.str.15, i32 noundef 12, i32 noundef 1, i32 noundef 13) %17 = call i32 @abms_chmod(ptr noundef @.str.16, ptr noundef @.str.13) %18 = call i32 @abms_chmod(ptr noundef @.str.16, ptr noundef @.str.8) %19 = call i32 @abms_mount(ptr noundef @.str.17, ptr noundef @.str.17, ptr noundef @.str.18) %20 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %21 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.19) %22 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %23 = call i32 @abms_mkdir(ptr noundef %22, i32 noundef 1) %24 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %25 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str.20) %26 = getelementptr inbounds [255 x i8], ptr %1, i64 0, i64 0 %27 = call i32 @abms_mkdir(ptr noundef %26, i32 noundef 1) ret void } declare i32 @sprintf(ptr noundef, ptr noundef) #1 declare i32 @abms_mkdir(ptr noundef, i32 noundef) #1 declare i32 @abms_mount(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @abms_mknod(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @abms_chmod(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/tmpcn7l3oym.c' source_filename = "/tmp/tmpcn7l3oym.c" target datalayout = "e-m:e-p270: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/tmpcn7l3oym.c" target datalayout = "e-m:e-p270: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/tmpussdzz0w.c' source_filename = "/tmp/tmpussdzz0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" #terms in polynomial %d : %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Total number of terms : %d = %d\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c" + %d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @number_of_standard_terms(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %7, align 8 store i32 0, ptr %12, align 4 store i32 1, ptr %10, align 4 br label %13 13: ; preds = %38, %4 %14 = load i32, ptr %10, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %17, label %41 17: ; preds = %13 %18 = load i32, ptr %10, align 4 %19 = call i32 @syscon_number_of_standard_terms(i32 noundef %18, ptr noundef %11) store i32 %19, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %17 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %11, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23, i32 noundef %24) br label %26 26: ; preds = %22, %17 %27 = load i32, ptr %11, align 4 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %10, align 4 %30 = sub nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %28, i64 %31 store i32 %27, ptr %32, align 4 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %33, align 4 %35 = load i32, ptr %11, align 4 %36 = add nsw i32 %34, %35 %37 = load ptr, ptr %7, align 8 store i32 %36, ptr %37, align 4 br label %38 38: ; preds = %26 %39 = load i32, ptr %10, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %10, align 4 br label %13, !llvm.loop !6 41: ; preds = %13 %42 = load i32, ptr %8, align 4 %43 = icmp sgt i32 %42, 0 br i1 %43, label %44, label %67 44: ; preds = %41 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %6, align 8 %48 = getelementptr inbounds i32, ptr %47, i64 0 %49 = load i32, ptr %48, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %46, i32 noundef %49) store i32 1, ptr %10, align 4 br label %51 51: ; preds = %62, %44 %52 = load i32, ptr %10, align 4 %53 = load i32, ptr %5, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %65 55: ; preds = %51 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %10, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %60) br label %62 62: ; preds = %55 %63 = load i32, ptr %10, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %10, align 4 br label %51, !llvm.loop !8 65: ; preds = %51 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %67 67: ; preds = %65, %41 %68 = load i32, ptr %9, align 4 ret i32 %68 } declare i32 @syscon_number_of_standard_terms(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpussdzz0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" #terms in polynomial %d : %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Total number of terms : %d = %d\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c" + %d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @number_of_standard_terms(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %7, align 8 store i32 0, ptr %12, align 4 store i32 1, ptr %10, align 4 %13 = load i32, ptr %10, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph, label %43 .lr.ph: ; preds = %4 br label %16 16: ; preds = %.lr.ph, %37 %17 = load i32, ptr %10, align 4 %18 = call i32 @syscon_number_of_standard_terms(i32 noundef %17, ptr noundef %11) store i32 %18, ptr %9, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %11, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23) br label %25 25: ; preds = %21, %16 %26 = load i32, ptr %11, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %10, align 4 %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %27, i64 %30 store i32 %26, ptr %31, align 4 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %32, align 4 %34 = load i32, ptr %11, align 4 %35 = add nsw i32 %33, %34 %36 = load ptr, ptr %7, align 8 store i32 %35, ptr %36, align 4 br label %37 37: ; preds = %25 %38 = load i32, ptr %10, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp sle i32 %40, %41 br i1 %42, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %4 %44 = load i32, ptr %8, align 4 %45 = icmp sgt i32 %44, 0 br i1 %45, label %46, label %71 46: ; preds = %43 %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %47, align 4 %49 = load ptr, ptr %6, align 8 %50 = getelementptr inbounds i32, ptr %49, i64 0 %51 = load i32, ptr %50, align 4 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %48, i32 noundef %51) store i32 1, ptr %10, align 4 %53 = load i32, ptr %10, align 4 %54 = load i32, ptr %5, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %.lr.ph2, label %69 .lr.ph2: ; preds = %46 br label %56 56: ; preds = %.lr.ph2, %63 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %10, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = load i32, ptr %60, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %61) br label %63 63: ; preds = %56 %64 = load i32, ptr %10, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %10, align 4 %66 = load i32, ptr %10, align 4 %67 = load i32, ptr %5, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %56, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %63 br label %69 69: ; preds = %._crit_edge3, %46 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %71 71: ; preds = %69, %43 %72 = load i32, ptr %9, align 4 ret i32 %72 } declare i32 @syscon_number_of_standard_terms(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpa27_mz_r.c' source_filename = "/tmp/tmpa27_mz_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"input.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [25000 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %17, %0 %6 = getelementptr inbounds [25000 x i8], ptr %2, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fgets(ptr noundef %6, i32 noundef 25000, ptr noundef %7) %9 = icmp ne ptr %8, null br i1 %9, label %10, label %18 10: ; preds = %5 %11 = getelementptr inbounds [25000 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strlen(ptr noundef %11) %13 = icmp sge i32 %12, 50 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = getelementptr inbounds [25000 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @printf(ptr noundef @.str.2, ptr noundef %15) br label %17 17: ; preds = %14, %10 br label %5, !llvm.loop !6 18: ; preds = %5 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa27_mz_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"input.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [25000 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 %5 = getelementptr inbounds [25000 x i8], ptr %2, i64 0, i64 0 %6 = load ptr, ptr %3, align 8 %7 = call ptr @fgets(ptr noundef %5, i32 noundef 25000, ptr noundef %6) %8 = icmp ne ptr %7, null br i1 %8, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %16 %10 = getelementptr inbounds [25000 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) %12 = icmp sge i32 %11, 50 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = getelementptr inbounds [25000 x i8], ptr %2, i64 0, i64 0 %15 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14) br label %16 16: ; preds = %13, %9 %17 = load ptr, ptr %3, align 8 %18 = call ptr @fgets(ptr noundef %5, i32 noundef 25000, ptr noundef %17) %19 = icmp ne ptr %18, null br i1 %19, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %20 20: ; preds = %._crit_edge, %0 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxij4pxlb.c' source_filename = "/tmp/tmpxij4pxlb.c" target datalayout = "e-m:e-p270: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/tmpxij4pxlb.c" target datalayout = "e-m:e-p270: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/tmp3t2nsy44.c' source_filename = "/tmp/tmp3t2nsy44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSort(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 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = sdiv i32 %8, 2 %10 = call i32 @partition(ptr noundef %6, i32 noundef %7, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 call void @quickSort(ptr noundef %14, i32 noundef %15) br label %16 16: ; preds = %13, %2 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %31 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = getelementptr inbounds i32, ptr %25, i64 1 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = sub nsw i32 %27, %28 %30 = sub nsw i32 %29, 1 call void @quickSort(ptr noundef %26, i32 noundef %30) br label %31 31: ; preds = %21, %16 ret void } declare i32 @partition(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3t2nsy44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quickSort(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 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = sdiv i32 %8, 2 %10 = call i32 @partition(ptr noundef %6, i32 noundef %7, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 call void @quickSort(ptr noundef %14, i32 noundef %15) br label %16 16: ; preds = %13, %2 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %31 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = getelementptr inbounds i32, ptr %25, i64 1 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = sub nsw i32 %27, %28 %30 = sub nsw i32 %29, 1 call void @quickSort(ptr noundef %26, i32 noundef %30) br label %31 31: ; preds = %21, %16 ret void } declare i32 @partition(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt1ioubhd.c' source_filename = "/tmp/tmpt1ioubhd.c" target datalayout = "e-m:e-p270: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_un = type { ptr, i32 } @AF_UNIX = dso_local global i32 0, align 4 @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"/var/local/gridhost/raygan/local\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"socket failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"connect failed.\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"bitch!\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"incoming msg: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_un, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 store i32 0, ptr %1, align 4 %6 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 16) %7 = load i32, ptr @AF_UNIX, align 4 %8 = getelementptr inbounds %struct.sockaddr_un, ptr %2, i32 0, i32 1 store i32 %7, ptr %8, align 8 %9 = getelementptr inbounds %struct.sockaddr_un, ptr %2, i32 0, i32 0 %10 = load ptr, ptr %9, align 8 %11 = load i32, ptr @PATH_MAX, align 4 %12 = call i32 @snprintf(ptr noundef %10, i32 noundef %11, ptr noundef @.str) %13 = load i32, ptr @AF_UNIX, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %20 18: ; preds = %0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %43 20: ; preds = %0 %21 = load i32, ptr %3, align 4 %22 = call i64 @connect(i32 noundef %21, ptr noundef %2, i32 noundef 16) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %43 26: ; preds = %20 %27 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %28 = call i32 @snprintf(ptr noundef %27, i32 noundef 256, ptr noundef @.str.3) store i32 %28, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %31 = load i32, ptr %4, align 4 %32 = call i32 @write(i32 noundef %29, ptr noundef %30, i32 noundef %31) %33 = load i32, ptr %3, align 4 %34 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %35 = call i32 @read(i32 noundef %33, ptr noundef %34, i32 noundef 256) store i32 %35, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 %37 store i8 0, ptr %38, align 1 %39 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %39) %41 = load i32, ptr %3, align 4 %42 = call i32 @close(i32 noundef %41) store i32 0, ptr %1, align 4 br label %43 43: ; preds = %26, %24, %18 %44 = load i32, ptr %1, align 4 ret i32 %44 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt1ioubhd.c" target datalayout = "e-m:e-p270: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_un = type { ptr, i32 } @AF_UNIX = dso_local global i32 0, align 4 @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"/var/local/gridhost/raygan/local\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"socket failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"connect failed.\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"bitch!\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"incoming msg: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_un, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 store i32 0, ptr %1, align 4 %6 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 16) %7 = load i32, ptr @AF_UNIX, align 4 %8 = getelementptr inbounds %struct.sockaddr_un, ptr %2, i32 0, i32 1 store i32 %7, ptr %8, align 8 %9 = getelementptr inbounds %struct.sockaddr_un, ptr %2, i32 0, i32 0 %10 = load ptr, ptr %9, align 8 %11 = load i32, ptr @PATH_MAX, align 4 %12 = call i32 @snprintf(ptr noundef %10, i32 noundef %11, ptr noundef @.str) %13 = load i32, ptr @AF_UNIX, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %20 18: ; preds = %0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %43 20: ; preds = %0 %21 = load i32, ptr %3, align 4 %22 = call i64 @connect(i32 noundef %21, ptr noundef %2, i32 noundef 16) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %43 26: ; preds = %20 %27 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %28 = call i32 @snprintf(ptr noundef %27, i32 noundef 256, ptr noundef @.str.3) store i32 %28, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %31 = load i32, ptr %4, align 4 %32 = call i32 @write(i32 noundef %29, ptr noundef %30, i32 noundef %31) %33 = load i32, ptr %3, align 4 %34 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %35 = call i32 @read(i32 noundef %33, ptr noundef %34, i32 noundef 256) store i32 %35, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 %37 store i8 0, ptr %38, align 1 %39 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %39) %41 = load i32, ptr %3, align 4 %42 = call i32 @close(i32 noundef %41) store i32 0, ptr %1, align 4 br label %43 43: ; preds = %26, %24, %18 %44 = load i32, ptr %1, align 4 ret i32 %44 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp980f_yt9.c' source_filename = "/tmp/tmp980f_yt9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KIONIX_ACCEL_motion_unmask_x() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 store i8 0, ptr %1, align 1 store i32 0, ptr %2, align 4 %3 = call i64 @KIONIX_ACCEL_read_bytes(i32 noundef 31, ptr noundef %1, i32 noundef 1) %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %12 5: ; preds = %0 %6 = load i8, ptr %1, align 1 %7 = sext i8 %6 to i32 %8 = and i32 %7, -129 %9 = trunc i32 %8 to i8 store i8 %9, ptr %1, align 1 %10 = load i8, ptr %1, align 1 %11 = call i32 @KIONIX_ACCEL_write_byte(i32 noundef 31, i8 noundef signext %10) br label %13 12: ; preds = %0 store i32 1, ptr %2, align 4 br label %13 13: ; preds = %12, %5 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @KIONIX_ACCEL_read_bytes(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @KIONIX_ACCEL_write_byte(i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp980f_yt9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KIONIX_ACCEL_motion_unmask_x() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 store i8 0, ptr %1, align 1 store i32 0, ptr %2, align 4 %3 = call i64 @KIONIX_ACCEL_read_bytes(i32 noundef 31, ptr noundef %1, i32 noundef 1) %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %12 5: ; preds = %0 %6 = load i8, ptr %1, align 1 %7 = sext i8 %6 to i32 %8 = and i32 %7, -129 %9 = trunc i32 %8 to i8 store i8 %9, ptr %1, align 1 %10 = load i8, ptr %1, align 1 %11 = call i32 @KIONIX_ACCEL_write_byte(i32 noundef 31, i8 noundef signext %10) br label %13 12: ; preds = %0 store i32 1, ptr %2, align 4 br label %13 13: ; preds = %12, %5 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i64 @KIONIX_ACCEL_read_bytes(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @KIONIX_ACCEL_write_byte(i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp28ckg9qq.c' source_filename = "/tmp/tmp28ckg9qq.c" target datalayout = "e-m:e-p270: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_FAILURE = 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/tmp28ckg9qq.c" target datalayout = "e-m:e-p270: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_FAILURE = 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/tmpgdlav9_a.c' source_filename = "/tmp/tmpgdlav9_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Usage: ewfcat [ -hvV ] ewf_files\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\09-h: shows this help\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"\09-v: verbose output to stderr\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\09-V: print version\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; 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 @EXIT_FAILURE, align 4 %10 = call i32 @exit(i32 noundef %9) #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/tmpgdlav9_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Usage: ewfcat [ -hvV ] ewf_files\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\09-h: shows this help\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"\09-v: verbose output to stderr\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\09-V: print version\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; 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 @EXIT_FAILURE, align 4 %10 = call i32 @exit(i32 noundef %9) #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/tmpifkd4n61.c' source_filename = "/tmp/tmpifkd4n61.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_DtHelpCeStrNCaseCmpLatin1(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @_DtCvStrNCaseCmpLatin1(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @_DtCvStrNCaseCmpLatin1(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpifkd4n61.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_DtHelpCeStrNCaseCmpLatin1(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @_DtCvStrNCaseCmpLatin1(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @_DtCvStrNCaseCmpLatin1(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe8oifb3k.c' source_filename = "/tmp/tmpe8oifb3k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0xf9\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0xf9() #0 { %1 = call i64 @isodigit(i32 noundef 249) %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 1250, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmpe8oifb3k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0xf9\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0xf9() #0 { %1 = call i64 @isodigit(i32 noundef 249) %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 1250, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmplhxklnog.c' source_filename = "/tmp/tmplhxklnog.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [73 x i8] c"Proto Recv-Q Send-Q Local Address Foreign Address State\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"/proc/net/tcp\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"/proc/net/udp\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"udp\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"/proc/net/tcp6\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"tcp6\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"/proc/net/udp6\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"udp6\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @netstat_main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @ipv4(ptr noundef @.str.1, ptr noundef @.str.2) %7 = call i32 @ipv4(ptr noundef @.str.3, ptr noundef @.str.4) %8 = call i32 @ipv6(ptr noundef @.str.5, ptr noundef @.str.6) %9 = call i32 @ipv6(ptr noundef @.str.7, ptr noundef @.str.8) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @ipv4(ptr noundef, ptr noundef) #1 declare i32 @ipv6(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/tmplhxklnog.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [73 x i8] c"Proto Recv-Q Send-Q Local Address Foreign Address State\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"/proc/net/tcp\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"/proc/net/udp\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"udp\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"/proc/net/tcp6\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"tcp6\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"/proc/net/udp6\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"udp6\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @netstat_main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @ipv4(ptr noundef @.str.1, ptr noundef @.str.2) %7 = call i32 @ipv4(ptr noundef @.str.3, ptr noundef @.str.4) %8 = call i32 @ipv6(ptr noundef @.str.5, ptr noundef @.str.6) %9 = call i32 @ipv6(ptr noundef @.str.7, ptr noundef @.str.8) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @ipv4(ptr noundef, ptr noundef) #1 declare i32 @ipv6(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/tmpc9wzp5cd.c' source_filename = "/tmp/tmpc9wzp5cd.c" target datalayout = "e-m:e-p270: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/tmpc9wzp5cd.c" target datalayout = "e-m:e-p270: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/tmplks4dlsi.c' source_filename = "/tmp/tmplks4dlsi.c" target datalayout = "e-m:e-p270: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/tmplks4dlsi.c" target datalayout = "e-m:e-p270: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/tmpp71ty2pn.c' source_filename = "/tmp/tmpp71ty2pn.c" target datalayout = "e-m:e-p270: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/tmpp71ty2pn.c" target datalayout = "e-m:e-p270: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/tmp0qp_aly1.c' source_filename = "/tmp/tmp0qp_aly1.c" target datalayout = "e-m:e-p270: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/tmp0qp_aly1.c" target datalayout = "e-m:e-p270: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/tmph3_a06zs.c' source_filename = "/tmp/tmph3_a06zs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @acos(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp olt double %4, -1.000000e+00 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load double, ptr %3, align 8 %8 = fcmp ogt double %7, 1.000000e+00 br i1 %8, label %9, label %10 9: ; preds = %6, %1 store double -1.024000e+03, ptr %2, align 8 br label %44 10: ; preds = %6 %11 = load double, ptr %3, align 8 %12 = fcmp oeq double %11, -1.000000e+00 br i1 %12, label %13, label %14 13: ; preds = %10 store double 0x400921FB53C8D4F1, ptr %2, align 8 br label %44 14: ; preds = %10 %15 = load double, ptr %3, align 8 %16 = fcmp oeq double %15, 1.000000e+00 br i1 %16, label %17, label %18 17: ; preds = %14 store double 0.000000e+00, ptr %2, align 8 br label %44 18: ; preds = %14 %19 = load double, ptr %3, align 8 %20 = fcmp ogt double %19, 8.160000e-01 br i1 %20, label %21, label %33 21: ; preds = %18 %22 = load double, ptr %3, align 8 %23 = load double, ptr %3, align 8 %24 = fadd double 1.000000e+00, %23 %25 = load double, ptr %3, align 8 %26 = fsub double 1.000000e+00, %25 %27 = fmul double %24, %26 %28 = fptosi double %27 to i32 %29 = call double @sqrt(i32 noundef %28) %30 = fdiv double %22, %29 %31 = call double @atan(double noundef %30) #4 %32 = fsub double 0x3FF921FB4D12D84A, %31 store double %32, ptr %2, align 8 br label %44 33: ; preds = %18 %34 = load double, ptr %3, align 8 %35 = load double, ptr %3, align 8 %36 = load double, ptr %3, align 8 %37 = fneg double %35 %38 = call double @llvm.fmuladd.f64(double %37, double %36, double 1.000000e+00) %39 = fptosi double %38 to i32 %40 = call double @sqrt(i32 noundef %39) %41 = fdiv double %34, %40 %42 = call double @atan(double noundef %41) #4 %43 = fsub double 0x3FF921FB4D12D84A, %42 store double %43, ptr %2, align 8 br label %44 44: ; preds = %33, %21, %17, %13, %9 %45 = load double, ptr %2, align 8 ret double %45 } ; Function Attrs: nounwind declare double @atan(double noundef) #1 declare double @sqrt(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmph3_a06zs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @acos(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp olt double %4, -1.000000e+00 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load double, ptr %3, align 8 %8 = fcmp ogt double %7, 1.000000e+00 br i1 %8, label %9, label %10 9: ; preds = %6, %1 store double -1.024000e+03, ptr %2, align 8 br label %44 10: ; preds = %6 %11 = load double, ptr %3, align 8 %12 = fcmp oeq double %11, -1.000000e+00 br i1 %12, label %13, label %14 13: ; preds = %10 store double 0x400921FB53C8D4F1, ptr %2, align 8 br label %44 14: ; preds = %10 %15 = load double, ptr %3, align 8 %16 = fcmp oeq double %15, 1.000000e+00 br i1 %16, label %17, label %18 17: ; preds = %14 store double 0.000000e+00, ptr %2, align 8 br label %44 18: ; preds = %14 %19 = load double, ptr %3, align 8 %20 = fcmp ogt double %19, 8.160000e-01 br i1 %20, label %21, label %33 21: ; preds = %18 %22 = load double, ptr %3, align 8 %23 = load double, ptr %3, align 8 %24 = fadd double 1.000000e+00, %23 %25 = load double, ptr %3, align 8 %26 = fsub double 1.000000e+00, %25 %27 = fmul double %24, %26 %28 = fptosi double %27 to i32 %29 = call double @sqrt(i32 noundef %28) %30 = fdiv double %22, %29 %31 = call double @atan(double noundef %30) #4 %32 = fsub double 0x3FF921FB4D12D84A, %31 store double %32, ptr %2, align 8 br label %44 33: ; preds = %18 %34 = load double, ptr %3, align 8 %35 = load double, ptr %3, align 8 %36 = load double, ptr %3, align 8 %37 = fneg double %35 %38 = call double @llvm.fmuladd.f64(double %37, double %36, double 1.000000e+00) %39 = fptosi double %38 to i32 %40 = call double @sqrt(i32 noundef %39) %41 = fdiv double %34, %40 %42 = call double @atan(double noundef %41) #4 %43 = fsub double 0x3FF921FB4D12D84A, %42 store double %43, ptr %2, align 8 br label %44 44: ; preds = %33, %21, %17, %13, %9 %45 = load double, ptr %2, align 8 ret double %45 } ; Function Attrs: nounwind declare double @atan(double noundef) #1 declare double @sqrt(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmp84f9umg8.c' source_filename = "/tmp/tmp84f9umg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"[DEBUG] [%d]: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_int_array(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 i32, ptr %5, align 4 %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 @printf(ptr noundef @.str, i32 noundef %11, 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 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp84f9umg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"[DEBUG] [%d]: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_int_array(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 i32, ptr %5, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %10, 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 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps4dstjrq.c' source_filename = "/tmp/tmps4dstjrq.c" target datalayout = "e-m:e-p270: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_un = type { i32, i32 } @.str = private unnamed_addr constant [7 x i8] c"--help\00", align 1 @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"qtwine-terminal-helper: socket() failed\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"qtwine-terminal-helper: connect() failed\00", align 1 @BUFSIZ = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [40 x i8] c"qtwine-terminal-helper: select() failed\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"qtwine-terminal-helper: write()\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"qtwine-terminal-helper: recv()\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"qtwine-terminal-helper: send()\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"qtwine-terminal-helper: read()\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 %struct.sockaddr_un, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (...) @usage() store i32 1, ptr %3, align 4 br label %178 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %18 %25 = call i32 (...) @usage() store i32 0, ptr %3, align 4 br label %178 26: ; preds = %18 br label %27 27: ; preds = %26 br label %28 28: ; preds = %27 br label %29 29: ; preds = %28 %30 = load i32, ptr @AF_UNIX, align 4 %31 = load i32, ptr @SOCK_STREAM, align 4 %32 = call i32 @socket(i32 noundef %30, i32 noundef %31, i32 noundef 0) store i32 %32, ptr %6, align 4 %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %41 34: ; preds = %29 br label %35 35: ; preds = %34 %36 = call i32 @perror(ptr noundef @.str.1) %37 = call i32 @sleep(i32 noundef 3) %38 = load i32, ptr @EXIT_FAILURE, align 4 %39 = call i32 @exit(i32 noundef %38) #4 unreachable 40: ; No predecessors! br label %41 41: ; preds = %40, %29 %42 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 8) %43 = load i32, ptr @AF_UNIX, align 4 %44 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 1 store i32 %43, ptr %44, align 4 %45 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 1 %49 = load ptr, ptr %48, align 8 %50 = call i32 @strcpy(i32 noundef %46, ptr noundef %49) %51 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 0 %52 = load i32, ptr %51, align 4 %53 = call i32 @strlen(i32 noundef %52) %54 = sext i32 %53 to i64 %55 = add i64 %54, 4 %56 = trunc i64 %55 to i32 store i32 %56, ptr %8, align 4 %57 = load i32, ptr %6, align 4 %58 = load i32, ptr %8, align 4 %59 = call i32 @connect(i32 noundef %57, ptr noundef %7, i32 noundef %58) %60 = icmp eq i32 %59, -1 br i1 %60, label %61, label %68 61: ; preds = %41 br label %62 62: ; preds = %61 %63 = call i32 @perror(ptr noundef @.str.2) %64 = call i32 @sleep(i32 noundef 3) %65 = load i32, ptr @EXIT_FAILURE, align 4 %66 = call i32 @exit(i32 noundef %65) #4 unreachable 67: ; No predecessors! br label %68 68: ; preds = %67, %41 br label %69 69: ; preds = %68 br label %70 70: ; preds = %69 %71 = load i32, ptr @BUFSIZ, align 4 %72 = zext i32 %71 to i64 %73 = call ptr @llvm.stacksave() store ptr %73, ptr %12, align 8 %74 = alloca i8, i64 %72, align 16 store i64 %72, ptr %13, align 8 br label %75 75: ; preds = %70 br label %76 76: ; preds = %75 br label %77 77: ; preds = %76 br label %78 78: ; preds = %177, %77 br label %79 79: ; preds = %78 %80 = call i32 @FD_ZERO(ptr noundef %9) %81 = load i32, ptr %6, align 4 %82 = call i32 @FD_SET(i32 noundef %81, ptr noundef %9) %83 = call i32 @FD_SET(i32 noundef 0, ptr noundef %9) %84 = load i32, ptr %6, align 4 %85 = add nsw i32 %84, 1 %86 = call i32 @select(i32 noundef %85, ptr noundef %9, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %86, ptr %10, align 4 %87 = load i32, ptr %10, align 4 %88 = icmp eq i32 %87, -1 br i1 %88, label %89, label %97 89: ; preds = %79 br label %90 90: ; preds = %89 %91 = call i32 @perror(ptr noundef @.str.3) %92 = call i32 @sleep(i32 noundef 3) %93 = load i32, ptr @EXIT_FAILURE, align 4 %94 = call i32 @exit(i32 noundef %93) #4 unreachable 95: ; No predecessors! br label %96 96: ; preds = %95 br label %177 97: ; preds = %79 %98 = load i32, ptr %10, align 4 %99 = icmp sgt i32 %98, 0 br i1 %99, label %100, label %176 100: ; preds = %97 %101 = load i32, ptr %6, align 4 %102 = call i64 @FD_ISSET(i32 noundef %101, ptr noundef %9) %103 = icmp ne i64 %102, 0 br i1 %103, label %104, label %138 104: ; preds = %100 br label %105 105: ; preds = %104 br label %106 106: ; preds = %105 br label %107 107: ; preds = %106 %108 = load i32, ptr %6, align 4 %109 = load i32, ptr @BUFSIZ, align 4 %110 = call i32 @recv(i32 noundef %108, ptr noundef %74, i32 noundef %109, i32 noundef 0) store i32 %110, ptr %11, align 4 %111 = load i32, ptr %11, align 4 %112 = icmp sgt i32 %111, 0 br i1 %112, label %113, label %125 113: ; preds = %107 %114 = load i32, ptr %11, align 4 %115 = call i32 @write(i32 noundef 1, ptr noundef %74, i32 noundef %114) %116 = icmp eq i32 %115, -1 br i1 %116, label %117, label %125 117: ; preds = %113 br label %118 118: ; preds = %117 %119 = call i32 @perror(ptr noundef @.str.4) %120 = call i32 @sleep(i32 noundef 3) %121 = load i32, ptr @EXIT_FAILURE, align 4 %122 = call i32 @exit(i32 noundef %121) #4 unreachable 123: ; No predecessors! br label %124 124: ; preds = %123 br label %137 125: ; preds = %113, %107 %126 = load i32, ptr %11, align 4 %127 = icmp eq i32 %126, -1 br i1 %127, label %128, label %136 128: ; preds = %125 br label %129 129: ; preds = %128 %130 = call i32 @perror(ptr noundef @.str.5) %131 = call i32 @sleep(i32 noundef 3) %132 = load i32, ptr @EXIT_FAILURE, align 4 %133 = call i32 @exit(i32 noundef %132) #4 unreachable 134: ; No predecessors! br label %135 135: ; preds = %134 br label %136 136: ; preds = %135, %125 br label %137 137: ; preds = %136, %124 br label %138 138: ; preds = %137, %100 %139 = call i64 @FD_ISSET(i32 noundef 0, ptr noundef %9) %140 = icmp ne i64 %139, 0 br i1 %140, label %141, label %175 141: ; preds = %138 br label %142 142: ; preds = %141 br label %143 143: ; preds = %142 br label %144 144: ; preds = %143 %145 = load i32, ptr @BUFSIZ, align 4 %146 = call i32 @read(i32 noundef 0, ptr noundef %74, i32 noundef %145) store i32 %146, ptr %11, align 4 %147 = load i32, ptr %11, align 4 %148 = icmp sgt i32 %147, 0 br i1 %148, label %149, label %162 149: ; preds = %144 %150 = load i32, ptr %6, align 4 %151 = load i32, ptr %11, align 4 %152 = call i32 @send(i32 noundef %150, ptr noundef %74, i32 noundef %151, i32 noundef 0) %153 = icmp eq i32 %152, -1 br i1 %153, label %154, label %162 154: ; preds = %149 br label %155 155: ; preds = %154 %156 = call i32 @perror(ptr noundef @.str.6) %157 = call i32 @sleep(i32 noundef 3) %158 = load i32, ptr @EXIT_FAILURE, align 4 %159 = call i32 @exit(i32 noundef %158) #4 unreachable 160: ; No predecessors! br label %161 161: ; preds = %160 br label %174 162: ; preds = %149, %144 %163 = load i32, ptr %11, align 4 %164 = icmp eq i32 %163, -1 br i1 %164, label %165, label %173 165: ; preds = %162 br label %166 166: ; preds = %165 %167 = call i32 @perror(ptr noundef @.str.7) %168 = call i32 @sleep(i32 noundef 3) %169 = load i32, ptr @EXIT_FAILURE, align 4 %170 = call i32 @exit(i32 noundef %169) #4 unreachable 171: ; No predecessors! br label %172 172: ; preds = %171 br label %173 173: ; preds = %172, %162 br label %174 174: ; preds = %173, %161 br label %175 175: ; preds = %174, %138 br label %176 176: ; preds = %175, %97 br label %177 177: ; preds = %176, %96 br label %78 178: ; preds = %24, %16 %179 = load i32, ptr %3, align 4 ret i32 %179 } declare i32 @usage(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @strlen(i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @send(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind willreturn } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps4dstjrq.c" target datalayout = "e-m:e-p270: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_un = type { i32, i32 } @.str = private unnamed_addr constant [7 x i8] c"--help\00", align 1 @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"qtwine-terminal-helper: socket() failed\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"qtwine-terminal-helper: connect() failed\00", align 1 @BUFSIZ = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [40 x i8] c"qtwine-terminal-helper: select() failed\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"qtwine-terminal-helper: write()\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"qtwine-terminal-helper: recv()\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"qtwine-terminal-helper: send()\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"qtwine-terminal-helper: read()\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 %struct.sockaddr_un, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (...) @usage() store i32 1, ptr %3, align 4 br label %178 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %18 %25 = call i32 (...) @usage() store i32 0, ptr %3, align 4 br label %178 26: ; preds = %18 br label %27 27: ; preds = %26 br label %28 28: ; preds = %27 br label %29 29: ; preds = %28 %30 = load i32, ptr @AF_UNIX, align 4 %31 = load i32, ptr @SOCK_STREAM, align 4 %32 = call i32 @socket(i32 noundef %30, i32 noundef %31, i32 noundef 0) store i32 %32, ptr %6, align 4 %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %41 34: ; preds = %29 br label %35 35: ; preds = %34 %36 = call i32 @perror(ptr noundef @.str.1) %37 = call i32 @sleep(i32 noundef 3) %38 = load i32, ptr @EXIT_FAILURE, align 4 %39 = call i32 @exit(i32 noundef %38) #4 unreachable 40: ; No predecessors! br label %41 41: ; preds = %40, %29 %42 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 8) %43 = load i32, ptr @AF_UNIX, align 4 %44 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 1 store i32 %43, ptr %44, align 4 %45 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 1 %49 = load ptr, ptr %48, align 8 %50 = call i32 @strcpy(i32 noundef %46, ptr noundef %49) %51 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 0 %52 = load i32, ptr %51, align 4 %53 = call i32 @strlen(i32 noundef %52) %54 = sext i32 %53 to i64 %55 = add i64 %54, 4 %56 = trunc i64 %55 to i32 store i32 %56, ptr %8, align 4 %57 = load i32, ptr %6, align 4 %58 = load i32, ptr %8, align 4 %59 = call i32 @connect(i32 noundef %57, ptr noundef %7, i32 noundef %58) %60 = icmp eq i32 %59, -1 br i1 %60, label %61, label %68 61: ; preds = %41 br label %62 62: ; preds = %61 %63 = call i32 @perror(ptr noundef @.str.2) %64 = call i32 @sleep(i32 noundef 3) %65 = load i32, ptr @EXIT_FAILURE, align 4 %66 = call i32 @exit(i32 noundef %65) #4 unreachable 67: ; No predecessors! br label %68 68: ; preds = %67, %41 br label %69 69: ; preds = %68 br label %70 70: ; preds = %69 %71 = load i32, ptr @BUFSIZ, align 4 %72 = zext i32 %71 to i64 %73 = call ptr @llvm.stacksave() store ptr %73, ptr %12, align 8 %74 = alloca i8, i64 %72, align 16 store i64 %72, ptr %13, align 8 br label %75 75: ; preds = %70 br label %76 76: ; preds = %75 br label %77 77: ; preds = %76 br label %78 78: ; preds = %177, %77 br label %79 79: ; preds = %78 %80 = call i32 @FD_ZERO(ptr noundef %9) %81 = load i32, ptr %6, align 4 %82 = call i32 @FD_SET(i32 noundef %81, ptr noundef %9) %83 = call i32 @FD_SET(i32 noundef 0, ptr noundef %9) %84 = load i32, ptr %6, align 4 %85 = add nsw i32 %84, 1 %86 = call i32 @select(i32 noundef %85, ptr noundef %9, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %86, ptr %10, align 4 %87 = load i32, ptr %10, align 4 %88 = icmp eq i32 %87, -1 br i1 %88, label %89, label %97 89: ; preds = %79 br label %90 90: ; preds = %89 %91 = call i32 @perror(ptr noundef @.str.3) %92 = call i32 @sleep(i32 noundef 3) %93 = load i32, ptr @EXIT_FAILURE, align 4 %94 = call i32 @exit(i32 noundef %93) #4 unreachable 95: ; No predecessors! br label %96 96: ; preds = %95 unreachable 97: ; preds = %79 %98 = load i32, ptr %10, align 4 %99 = icmp sgt i32 %98, 0 br i1 %99, label %100, label %176 100: ; preds = %97 %101 = load i32, ptr %6, align 4 %102 = call i64 @FD_ISSET(i32 noundef %101, ptr noundef %9) %103 = icmp ne i64 %102, 0 br i1 %103, label %104, label %138 104: ; preds = %100 br label %105 105: ; preds = %104 br label %106 106: ; preds = %105 br label %107 107: ; preds = %106 %108 = load i32, ptr %6, align 4 %109 = load i32, ptr @BUFSIZ, align 4 %110 = call i32 @recv(i32 noundef %108, ptr noundef %74, i32 noundef %109, i32 noundef 0) store i32 %110, ptr %11, align 4 %111 = load i32, ptr %11, align 4 %112 = icmp sgt i32 %111, 0 br i1 %112, label %113, label %125 113: ; preds = %107 %114 = load i32, ptr %11, align 4 %115 = call i32 @write(i32 noundef 1, ptr noundef %74, i32 noundef %114) %116 = icmp eq i32 %115, -1 br i1 %116, label %117, label %125 117: ; preds = %113 br label %118 118: ; preds = %117 %119 = call i32 @perror(ptr noundef @.str.4) %120 = call i32 @sleep(i32 noundef 3) %121 = load i32, ptr @EXIT_FAILURE, align 4 %122 = call i32 @exit(i32 noundef %121) #4 unreachable 123: ; No predecessors! br label %124 124: ; preds = %123 unreachable 125: ; preds = %113, %107 %126 = load i32, ptr %11, align 4 %127 = icmp eq i32 %126, -1 br i1 %127, label %128, label %136 128: ; preds = %125 br label %129 129: ; preds = %128 %130 = call i32 @perror(ptr noundef @.str.5) %131 = call i32 @sleep(i32 noundef 3) %132 = load i32, ptr @EXIT_FAILURE, align 4 %133 = call i32 @exit(i32 noundef %132) #4 unreachable 134: ; No predecessors! br label %135 135: ; preds = %134 unreachable 136: ; preds = %125 br label %137 137: ; preds = %136 br label %138 138: ; preds = %137, %100 %139 = call i64 @FD_ISSET(i32 noundef 0, ptr noundef %9) %140 = icmp ne i64 %139, 0 br i1 %140, label %141, label %175 141: ; preds = %138 br label %142 142: ; preds = %141 br label %143 143: ; preds = %142 br label %144 144: ; preds = %143 %145 = load i32, ptr @BUFSIZ, align 4 %146 = call i32 @read(i32 noundef 0, ptr noundef %74, i32 noundef %145) store i32 %146, ptr %11, align 4 %147 = load i32, ptr %11, align 4 %148 = icmp sgt i32 %147, 0 br i1 %148, label %149, label %162 149: ; preds = %144 %150 = load i32, ptr %6, align 4 %151 = load i32, ptr %11, align 4 %152 = call i32 @send(i32 noundef %150, ptr noundef %74, i32 noundef %151, i32 noundef 0) %153 = icmp eq i32 %152, -1 br i1 %153, label %154, label %162 154: ; preds = %149 br label %155 155: ; preds = %154 %156 = call i32 @perror(ptr noundef @.str.6) %157 = call i32 @sleep(i32 noundef 3) %158 = load i32, ptr @EXIT_FAILURE, align 4 %159 = call i32 @exit(i32 noundef %158) #4 unreachable 160: ; No predecessors! br label %161 161: ; preds = %160 unreachable 162: ; preds = %149, %144 %163 = load i32, ptr %11, align 4 %164 = icmp eq i32 %163, -1 br i1 %164, label %165, label %173 165: ; preds = %162 br label %166 166: ; preds = %165 %167 = call i32 @perror(ptr noundef @.str.7) %168 = call i32 @sleep(i32 noundef 3) %169 = load i32, ptr @EXIT_FAILURE, align 4 %170 = call i32 @exit(i32 noundef %169) #4 unreachable 171: ; No predecessors! br label %172 172: ; preds = %171 unreachable 173: ; preds = %162 br label %174 174: ; preds = %173 br label %175 175: ; preds = %174, %138 br label %176 176: ; preds = %175, %97 br label %177 177: ; preds = %176 br label %78 178: ; preds = %24, %16 %179 = load i32, ptr %3, align 4 ret i32 %179 } declare i32 @usage(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @strlen(i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @send(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind willreturn } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu_k7ncap.c' source_filename = "/tmp/tmpu_k7ncap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INTMAX_MAX = dso_local global i32 0, align 4 @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @INTMAX_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strtoimax(ptr noalias noundef %0, ptr noalias 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 i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 br label %15 15: ; preds = %20, %3 %16 = load ptr, ptr %5, align 8 %17 = load i8, ptr %16, align 1 %18 = call i64 @isspace(i8 noundef signext %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %5, align 8 br label %15, !llvm.loop !6 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 45 br i1 %27, label %28, label %31 28: ; preds = %23 store i32 1, ptr %8, align 4 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %5, align 8 br label %41 31: ; preds = %23 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 43 br i1 %35, label %36, label %39 36: ; preds = %31 store i32 0, ptr %8, align 4 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %5, align 8 br label %40 39: ; preds = %31 store i32 0, ptr %8, align 4 br label %40 40: ; preds = %39, %36 br label %41 41: ; preds = %40, %28 %42 = load i32, ptr %7, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %67, label %44 44: ; preds = %41 %45 = load ptr, ptr %5, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 48 br i1 %48, label %49, label %65 49: ; preds = %44 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 1 store ptr %51, ptr %5, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 88 br i1 %54, label %60, label %55 55: ; preds = %49 %56 = load ptr, ptr %5, align 8 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 120 br i1 %59, label %60, label %63 60: ; preds = %55, %49 store i32 16, ptr %7, align 4 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %5, align 8 br label %64 63: ; preds = %55 store i32 8, ptr %7, align 4 br label %64 64: ; preds = %63, %60 br label %66 65: ; preds = %44 store i32 10, ptr %7, align 4 br label %66 66: ; preds = %65, %64 br label %93 67: ; preds = %41 %68 = load i32, ptr %7, align 4 %69 = icmp eq i32 %68, 16 br i1 %69, label %70, label %92 70: ; preds = %67 %71 = load ptr, ptr %5, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 0 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %74, 48 br i1 %75, label %76, label %91 76: ; preds = %70 %77 = load ptr, ptr %5, align 8 %78 = getelementptr inbounds i8, ptr %77, i64 1 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %80, 88 br i1 %81, label %88, label %82 82: ; preds = %76 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 1 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 120 br i1 %87, label %88, label %91 88: ; preds = %82, %76 %89 = load ptr, ptr %5, align 8 %90 = getelementptr inbounds i8, ptr %89, i64 2 store ptr %90, ptr %5, align 8 br label %91 91: ; preds = %88, %82, %70 br label %92 92: ; preds = %91, %67 br label %93 93: ; preds = %92, %66 store i32 0, ptr %9, align 4 %94 = load i32, ptr %7, align 4 store i32 %94, ptr %10, align 4 %95 = load i32, ptr @INTMAX_MAX, align 4 %96 = load i32, ptr %10, align 4 %97 = sdiv i32 %95, %96 store i32 %97, ptr %11, align 4 %98 = load i32, ptr @INTMAX_MAX, align 4 %99 = load i32, ptr %10, align 4 %100 = srem i32 %98, %99 store i32 %100, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %101 101: ; preds = %126, %93 %102 = load ptr, ptr %5, align 8 %103 = load i8, ptr %102, align 1 %104 = call i32 @CharToInt(i8 noundef signext %103) store i32 %104, ptr %14, align 4 %105 = load i32, ptr %7, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %107, label %129 107: ; preds = %101 %108 = load i32, ptr %9, align 4 %109 = load i32, ptr %11, align 4 %110 = icmp sgt i32 %108, %109 br i1 %110, label %119, label %111 111: ; preds = %107 %112 = load i32, ptr %9, align 4 %113 = load i32, ptr %11, align 4 %114 = icmp eq i32 %112, %113 br i1 %114, label %115, label %120 115: ; preds = %111 %116 = load i32, ptr %14, align 4 %117 = load i32, ptr %12, align 4 %118 = icmp sgt i32 %116, %117 br i1 %118, label %119, label %120 119: ; preds = %115, %107 store i32 1, ptr %13, align 4 br label %120 120: ; preds = %119, %115, %111 %121 = load i32, ptr %9, align 4 %122 = load i32, ptr %10, align 4 %123 = mul nsw i32 %121, %122 %124 = load i32, ptr %14, align 4 %125 = add nsw i32 %123, %124 store i32 %125, ptr %9, align 4 br label %126 126: ; preds = %120 %127 = load ptr, ptr %5, align 8 %128 = getelementptr inbounds i8, ptr %127, i32 1 store ptr %128, ptr %5, align 8 br label %101, !llvm.loop !8 129: ; preds = %101 %130 = load ptr, ptr %6, align 8 %131 = icmp ne ptr %130, null br i1 %131, label %132, label %135 132: ; preds = %129 %133 = load ptr, ptr %5, align 8 %134 = load ptr, ptr %6, align 8 store ptr %133, ptr %134, align 8 br label %135 135: ; preds = %132, %129 %136 = load i32, ptr %13, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %138, label %148 138: ; preds = %135 %139 = load i32, ptr @ERANGE, align 4 store i32 %139, ptr @errno, align 4 %140 = load i32, ptr %8, align 4 %141 = icmp ne i32 %140, 0 br i1 %141, label %142, label %144 142: ; preds = %138 %143 = load i32, ptr @INTMAX_MIN, align 4 br label %146 144: ; preds = %138 %145 = load i32, ptr @INTMAX_MAX, align 4 br label %146 146: ; preds = %144, %142 %147 = phi i32 [ %143, %142 ], [ %145, %144 ] store i32 %147, ptr %4, align 4 br label %158 148: ; preds = %135 %149 = load i32, ptr %8, align 4 %150 = icmp ne i32 %149, 0 br i1 %150, label %151, label %154 151: ; preds = %148 %152 = load i32, ptr %9, align 4 %153 = sub nsw i32 0, %152 br label %156 154: ; preds = %148 %155 = load i32, ptr %9, align 4 br label %156 156: ; preds = %154, %151 %157 = phi i32 [ %153, %151 ], [ %155, %154 ] store i32 %157, ptr %4, align 4 br label %158 158: ; preds = %156, %146 %159 = load i32, ptr %4, align 4 ret i32 %159 } declare i64 @isspace(i8 noundef signext) #1 declare i32 @CharToInt(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu_k7ncap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INTMAX_MAX = dso_local global i32 0, align 4 @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @INTMAX_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strtoimax(ptr noalias noundef %0, ptr noalias 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 i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %15, align 1 %17 = call i64 @isspace(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %.lr.ph, label %26 .lr.ph: ; preds = %3 br label %19 19: ; preds = %.lr.ph, %19 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %5, align 8 %22 = load ptr, ptr %5, align 8 %23 = load i8, ptr %22, align 1 %24 = call i64 @isspace(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %3 %27 = load ptr, ptr %5, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 45 br i1 %30, label %31, label %34 31: ; preds = %26 store i32 1, ptr %8, align 4 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %5, align 8 br label %44 34: ; preds = %26 %35 = load ptr, ptr %5, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 43 br i1 %38, label %39, label %42 39: ; preds = %34 store i32 0, ptr %8, align 4 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %5, align 8 br label %43 42: ; preds = %34 store i32 0, ptr %8, align 4 br label %43 43: ; preds = %42, %39 br label %44 44: ; preds = %43, %31 %45 = load i32, ptr %7, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %70, label %47 47: ; preds = %44 %48 = load ptr, ptr %5, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 48 br i1 %51, label %52, label %68 52: ; preds = %47 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %5, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 88 br i1 %57, label %63, label %58 58: ; preds = %52 %59 = load ptr, ptr %5, align 8 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 120 br i1 %62, label %63, label %66 63: ; preds = %58, %52 store i32 16, ptr %7, align 4 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds i8, ptr %64, i32 1 store ptr %65, ptr %5, align 8 br label %67 66: ; preds = %58 store i32 8, ptr %7, align 4 br label %67 67: ; preds = %66, %63 br label %69 68: ; preds = %47 store i32 10, ptr %7, align 4 br label %69 69: ; preds = %68, %67 br label %96 70: ; preds = %44 %71 = load i32, ptr %7, align 4 %72 = icmp eq i32 %71, 16 br i1 %72, label %73, label %95 73: ; preds = %70 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 0 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 48 br i1 %78, label %79, label %94 79: ; preds = %73 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds i8, ptr %80, i64 1 %82 = load i8, ptr %81, align 1 %83 = sext i8 %82 to i32 %84 = icmp eq i32 %83, 88 br i1 %84, label %91, label %85 85: ; preds = %79 %86 = load ptr, ptr %5, align 8 %87 = getelementptr inbounds i8, ptr %86, i64 1 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp eq i32 %89, 120 br i1 %90, label %91, label %94 91: ; preds = %85, %79 %92 = load ptr, ptr %5, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 2 store ptr %93, ptr %5, align 8 br label %94 94: ; preds = %91, %85, %73 br label %95 95: ; preds = %94, %70 br label %96 96: ; preds = %95, %69 store i32 0, ptr %9, align 4 %97 = load i32, ptr %7, align 4 store i32 %97, ptr %10, align 4 %98 = load i32, ptr @INTMAX_MAX, align 4 %99 = load i32, ptr %10, align 4 %100 = sdiv i32 %98, %99 store i32 %100, ptr %11, align 4 %101 = load i32, ptr @INTMAX_MAX, align 4 %102 = load i32, ptr %10, align 4 %103 = srem i32 %101, %102 store i32 %103, ptr %12, align 4 store i32 0, ptr %13, align 4 %104 = load ptr, ptr %5, align 8 %105 = load i8, ptr %104, align 1 %106 = call i32 @CharToInt(i8 noundef signext %105) store i32 %106, ptr %14, align 4 %107 = load i32, ptr %7, align 4 %108 = icmp slt i32 %106, %107 br i1 %108, label %.lr.ph2, label %136 .lr.ph2: ; preds = %96 br label %109 109: ; preds = %.lr.ph2, %128 %110 = load i32, ptr %9, align 4 %111 = load i32, ptr %11, align 4 %112 = icmp sgt i32 %110, %111 br i1 %112, label %121, label %113 113: ; preds = %109 %114 = load i32, ptr %9, align 4 %115 = load i32, ptr %11, align 4 %116 = icmp eq i32 %114, %115 br i1 %116, label %117, label %122 117: ; preds = %113 %118 = load i32, ptr %14, align 4 %119 = load i32, ptr %12, align 4 %120 = icmp sgt i32 %118, %119 br i1 %120, label %121, label %122 121: ; preds = %117, %109 store i32 1, ptr %13, align 4 br label %122 122: ; preds = %121, %117, %113 %123 = load i32, ptr %9, align 4 %124 = load i32, ptr %10, align 4 %125 = mul nsw i32 %123, %124 %126 = load i32, ptr %14, align 4 %127 = add nsw i32 %125, %126 store i32 %127, ptr %9, align 4 br label %128 128: ; preds = %122 %129 = load ptr, ptr %5, align 8 %130 = getelementptr inbounds i8, ptr %129, i32 1 store ptr %130, ptr %5, align 8 %131 = load ptr, ptr %5, align 8 %132 = load i8, ptr %131, align 1 %133 = call i32 @CharToInt(i8 noundef signext %132) store i32 %133, ptr %14, align 4 %134 = load i32, ptr %7, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %109, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %128 br label %136 136: ; preds = %._crit_edge3, %96 %137 = load ptr, ptr %6, align 8 %138 = icmp ne ptr %137, null br i1 %138, label %139, label %142 139: ; preds = %136 %140 = load ptr, ptr %5, align 8 %141 = load ptr, ptr %6, align 8 store ptr %140, ptr %141, align 8 br label %142 142: ; preds = %139, %136 %143 = load i32, ptr %13, align 4 %144 = icmp ne i32 %143, 0 br i1 %144, label %145, label %155 145: ; preds = %142 %146 = load i32, ptr @ERANGE, align 4 store i32 %146, ptr @errno, align 4 %147 = load i32, ptr %8, align 4 %148 = icmp ne i32 %147, 0 br i1 %148, label %149, label %151 149: ; preds = %145 %150 = load i32, ptr @INTMAX_MIN, align 4 br label %153 151: ; preds = %145 %152 = load i32, ptr @INTMAX_MAX, align 4 br label %153 153: ; preds = %151, %149 %154 = phi i32 [ %150, %149 ], [ %152, %151 ] store i32 %154, ptr %4, align 4 br label %165 155: ; preds = %142 %156 = load i32, ptr %8, align 4 %157 = icmp ne i32 %156, 0 br i1 %157, label %158, label %161 158: ; preds = %155 %159 = load i32, ptr %9, align 4 %160 = sub nsw i32 0, %159 br label %163 161: ; preds = %155 %162 = load i32, ptr %9, align 4 br label %163 163: ; preds = %161, %158 %164 = phi i32 [ %160, %158 ], [ %162, %161 ] store i32 %164, ptr %4, align 4 br label %165 165: ; preds = %163, %153 %166 = load i32, ptr %4, align 4 ret i32 %166 } declare i64 @isspace(i8 noundef signext) #1 declare i32 @CharToInt(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkv8rekqw.c' source_filename = "/tmp/tmpkv8rekqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Sum of Totients between [%ld..%ld] is %ld \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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @sscanf(ptr noundef %12, ptr noundef @.str, ptr noundef %6) %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %7) store i64 0, ptr %9, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp eq i64 %18, 1 br i1 %19, label %20, label %21 20: ; preds = %2 store i64 1, ptr %9, align 8 store i64 2, ptr %6, align 8 br label %21 21: ; preds = %20, %2 %22 = load i64, ptr %6, align 8 %23 = trunc i64 %22 to i32 store i32 %23, ptr %8, align 4 br label %24 24: ; preds = %34, %21 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = load i64, ptr %7, align 8 %28 = icmp sle i64 %26, %27 br i1 %28, label %29, label %37 29: ; preds = %24 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = call i64 @getTotient(i32 noundef %31) %33 = add nsw i64 %30, %32 store i64 %33, ptr %9, align 8 br label %34 34: ; preds = %29 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %24, !llvm.loop !6 37: ; preds = %24 %38 = load i64, ptr %6, align 8 %39 = load i64, ptr %7, align 8 %40 = load i64, ptr %9, align 8 %41 = call i32 @printf(ptr noundef @.str.1, i64 noundef %38, i64 noundef %39, i64 noundef %40) ret i32 0 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @getTotient(i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkv8rekqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Sum of Totients between [%ld..%ld] is %ld \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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @sscanf(ptr noundef %12, ptr noundef @.str, ptr noundef %6) %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %7) store i64 0, ptr %9, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp eq i64 %18, 1 br i1 %19, label %20, label %21 20: ; preds = %2 store i64 1, ptr %9, align 8 store i64 2, ptr %6, align 8 br label %21 21: ; preds = %20, %2 %22 = load i64, ptr %6, align 8 %23 = trunc i64 %22 to i32 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = load i64, ptr %7, align 8 %27 = icmp sle i64 %25, %26 br i1 %27, label %.lr.ph, label %40 .lr.ph: ; preds = %21 br label %28 28: ; preds = %.lr.ph, %33 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = call i64 @getTotient(i32 noundef %30) %32 = add nsw i64 %29, %31 store i64 %32, ptr %9, align 8 br label %33 33: ; preds = %28 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = load i64, ptr %7, align 8 %39 = icmp sle i64 %37, %38 br i1 %39, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %40 40: ; preds = %._crit_edge, %21 %41 = load i64, ptr %6, align 8 %42 = load i64, ptr %7, align 8 %43 = load i64, ptr %9, align 8 %44 = call i32 @printf(ptr noundef @.str.1, i64 noundef %41, i64 noundef %42, i64 noundef %43) ret i32 0 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @getTotient(i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsl40egzv.c' source_filename = "/tmp/tmpsl40egzv.c" target datalayout = "e-m:e-p270: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/tmpsl40egzv.c" target datalayout = "e-m:e-p270: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/tmpp8ko5c1l.c' source_filename = "/tmp/tmpp8ko5c1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"dup2\0A\00", align 1 @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dup2(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 = call i32 @printf(ptr noundef @.str) %6 = load i32, ptr @ENOSYS, align 4 store i32 %6, ptr @errno, align 4 ret i32 -1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp8ko5c1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"dup2\0A\00", align 1 @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dup2(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 = call i32 @printf(ptr noundef @.str) %6 = load i32, ptr @ENOSYS, align 4 store i32 %6, ptr @errno, align 4 ret i32 -1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf1pbx9wg.c' source_filename = "/tmp/tmpf1pbx9wg.c" target datalayout = "e-m:e-p270: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/tmpf1pbx9wg.c" target datalayout = "e-m:e-p270: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/tmprpmxnlvz.c' source_filename = "/tmp/tmprpmxnlvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yaffs_unlink(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @yaffs_unlink_reldir(i32 noundef 0, ptr noundef %3) ret i32 %4 } declare i32 @yaffs_unlink_reldir(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/tmprpmxnlvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yaffs_unlink(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @yaffs_unlink_reldir(i32 noundef 0, ptr noundef %3) ret i32 %4 } declare i32 @yaffs_unlink_reldir(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/tmp2x1j4n54.c' source_filename = "/tmp/tmp2x1j4n54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @semi_exit() #0 { %1 = call i32 @semi_reportexc(i32 noundef 131110) br label %2 2: ; preds = %0, %2 br label %2 } declare i32 @semi_reportexc(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/tmp2x1j4n54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @semi_exit() #0 { %1 = call i32 @semi_reportexc(i32 noundef 131110) br label %2 2: ; preds = %2, %0 br label %2 } declare i32 @semi_reportexc(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/tmp1q7jseis.c' source_filename = "/tmp/tmp1q7jseis.c" target datalayout = "e-m:e-p270: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/tmp1q7jseis.c" target datalayout = "e-m:e-p270: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/tmpedamcbpo.c' source_filename = "/tmp/tmpedamcbpo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XLeaveWindowEvent_serial(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpedamcbpo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XLeaveWindowEvent_serial(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjei9rtxw.c' source_filename = "/tmp/tmpjei9rtxw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"repeats\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"msg\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"hello, world\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @getenv(ptr noundef @.str) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %0 %10 = load ptr, ptr %2, align 8 %11 = call i32 @atoi(ptr noundef %10) br label %13 12: ; preds = %0 br label %13 13: ; preds = %12, %9 %14 = phi i32 [ %11, %9 ], [ 1, %12 ] store i32 %14, ptr %3, align 4 %15 = call ptr @getenv(ptr noundef @.str.1) store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %13 store ptr @.str.2, ptr %4, align 8 br label %19 19: ; preds = %18, %13 store i32 0, ptr %5, align 4 br label %20 20: ; preds = %27, %19 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %30 24: ; preds = %20 %25 = load ptr, ptr %4, align 8 %26 = call i32 @printf(ptr noundef @.str.3, ptr noundef %25) br label %27 27: ; preds = %24 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %20, !llvm.loop !6 30: ; preds = %20 %31 = load i32, ptr %1, align 4 ret i32 %31 } declare ptr @getenv(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjei9rtxw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"repeats\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"msg\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"hello, world\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @getenv(ptr noundef @.str) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %0 %10 = load ptr, ptr %2, align 8 %11 = call i32 @atoi(ptr noundef %10) br label %13 12: ; preds = %0 br label %13 13: ; preds = %12, %9 %14 = phi i32 [ %11, %9 ], [ 1, %12 ] store i32 %14, ptr %3, align 4 %15 = call ptr @getenv(ptr noundef @.str.1) store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %13 store ptr @.str.2, ptr %4, align 8 br label %19 19: ; preds = %18, %13 store i32 0, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %32 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %26 %24 = load ptr, ptr %4, align 8 %25 = call i32 @printf(ptr noundef @.str.3, ptr noundef %24) br label %26 26: ; preds = %23 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %19 %33 = load i32, ptr %1, align 4 ret i32 %33 } declare ptr @getenv(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp47per558.c' source_filename = "/tmp/tmp47per558.c" target datalayout = "e-m:e-p270: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/tmp47per558.c" target datalayout = "e-m:e-p270: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/tmp0my443cl.c' source_filename = "/tmp/tmp0my443cl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"support methods:\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c" %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @methods() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call ptr (...) @event_get_supported_methods() store ptr %3, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %5 5: ; preds = %19, %0 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %1, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds ptr, ptr %6, i64 %8 %10 = load ptr, ptr %9, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %22 12: ; preds = %5 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %1, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17) br label %19 19: ; preds = %12 %20 = load i32, ptr %1, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %1, align 4 br label %5, !llvm.loop !6 22: ; preds = %5 ret void } declare ptr @event_get_supported_methods(...) #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/tmp0my443cl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"support methods:\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c" %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @methods() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call ptr (...) @event_get_supported_methods() store ptr %3, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %1, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds ptr, ptr %5, i64 %7 %9 = load ptr, ptr %8, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %18 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %1, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %1, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %1, align 4 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %1, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %27 27: ; preds = %._crit_edge, %0 ret void } declare ptr @event_get_supported_methods(...) #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/tmp9bl9xeak.c' source_filename = "/tmp/tmp9bl9xeak.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"clockdiff: setuid\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drop_rights() #0 { %1 = call i32 (...) @getuid() %2 = call i64 @setuid(i32 noundef %1) %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %0 %5 = call i32 @perror(ptr noundef @.str) %6 = call i32 @exit(i32 noundef -1) #3 unreachable 7: ; preds = %0 ret void } declare i64 @setuid(i32 noundef) #1 declare i32 @getuid(...) #1 declare i32 @perror(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/tmp9bl9xeak.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"clockdiff: setuid\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drop_rights() #0 { %1 = call i32 (...) @getuid() %2 = call i64 @setuid(i32 noundef %1) %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %0 %5 = call i32 @perror(ptr noundef @.str) %6 = call i32 @exit(i32 noundef -1) #3 unreachable 7: ; preds = %0 ret void } declare i64 @setuid(i32 noundef) #1 declare i32 @getuid(...) #1 declare i32 @perror(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/tmpmjrz3cd3.c' source_filename = "/tmp/tmpmjrz3cd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initColor() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @has_colors() %3 = icmp ne i32 %2, 0 br i1 %3, label %5, label %4 4: ; preds = %0 store i32 1, ptr %1, align 4 br label %21 5: ; preds = %0 %6 = call i32 (...) @start_color() %7 = call i32 @init_pair(i32 noundef 0, i32 noundef 1, i32 noundef 0) %8 = call i32 @init_pair(i32 noundef 1, i32 noundef 2, i32 noundef 0) %9 = call i32 @init_pair(i32 noundef 2, i32 noundef 3, i32 noundef 0) %10 = call i32 @init_pair(i32 noundef 3, i32 noundef 4, i32 noundef 0) %11 = call i32 @init_pair(i32 noundef 4, i32 noundef 5, i32 noundef 0) %12 = call i32 @init_pair(i32 noundef 5, i32 noundef 6, i32 noundef 0) %13 = call i32 @init_pair(i32 noundef 6, i32 noundef 7, i32 noundef 0) %14 = call i32 @init_pair(i32 noundef 7, i32 noundef 1, i32 noundef 0) %15 = call i32 @init_pair(i32 noundef 8, i32 noundef 2, i32 noundef 0) %16 = call i32 @init_pair(i32 noundef 9, i32 noundef 3, i32 noundef 0) %17 = call i32 @init_pair(i32 noundef 10, i32 noundef 4, i32 noundef 0) %18 = call i32 @init_pair(i32 noundef 11, i32 noundef 5, i32 noundef 0) %19 = call i32 @init_pair(i32 noundef 12, i32 noundef 1, i32 noundef 2) br label %20 20: ; preds = %5 store i32 0, ptr %1, align 4 br label %21 21: ; preds = %20, %4 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare i32 @has_colors(...) #1 declare i32 @start_color(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmjrz3cd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initColor() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @has_colors() %3 = icmp ne i32 %2, 0 br i1 %3, label %5, label %4 4: ; preds = %0 store i32 1, ptr %1, align 4 br label %21 5: ; preds = %0 %6 = call i32 (...) @start_color() %7 = call i32 @init_pair(i32 noundef 0, i32 noundef 1, i32 noundef 0) %8 = call i32 @init_pair(i32 noundef 1, i32 noundef 2, i32 noundef 0) %9 = call i32 @init_pair(i32 noundef 2, i32 noundef 3, i32 noundef 0) %10 = call i32 @init_pair(i32 noundef 3, i32 noundef 4, i32 noundef 0) %11 = call i32 @init_pair(i32 noundef 4, i32 noundef 5, i32 noundef 0) %12 = call i32 @init_pair(i32 noundef 5, i32 noundef 6, i32 noundef 0) %13 = call i32 @init_pair(i32 noundef 6, i32 noundef 7, i32 noundef 0) %14 = call i32 @init_pair(i32 noundef 7, i32 noundef 1, i32 noundef 0) %15 = call i32 @init_pair(i32 noundef 8, i32 noundef 2, i32 noundef 0) %16 = call i32 @init_pair(i32 noundef 9, i32 noundef 3, i32 noundef 0) %17 = call i32 @init_pair(i32 noundef 10, i32 noundef 4, i32 noundef 0) %18 = call i32 @init_pair(i32 noundef 11, i32 noundef 5, i32 noundef 0) %19 = call i32 @init_pair(i32 noundef 12, i32 noundef 1, i32 noundef 2) br label %20 20: ; preds = %5 store i32 0, ptr %1, align 4 br label %21 21: ; preds = %20, %4 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare i32 @has_colors(...) #1 declare i32 @start_color(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4exbgvly.c' source_filename = "/tmp/tmp4exbgvly.c" target datalayout = "e-m:e-p270: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/tmp4exbgvly.c" target datalayout = "e-m:e-p270: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/tmpt3hjg7zi.c' source_filename = "/tmp/tmpt3hjg7zi.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [11 x i8] c"IJKLMNOPQR\00", align 1 @.str = private unnamed_addr constant [11 x i8] c"IJKL\00NOPQR\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"IJKLMNOP\00R\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [11 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.x, i64 11, i1 false) %3 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @foo(ptr noundef %3) %5 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %6 = call i64 @memcmp(ptr noundef %5, ptr noundef @.str, i32 noundef 11) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (...) @abort() #4 unreachable 10: ; preds = %0 %11 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 4 store i8 77, ptr %11, align 1 %12 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @bar(ptr noundef %12) %14 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %15 = call i64 @memcmp(ptr noundef %14, ptr noundef @.str.1, i32 noundef 11) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %10 %18 = call i32 (...) @abort() #4 unreachable 19: ; preds = %10 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 @foo(ptr noundef) #2 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #3 declare i32 @bar(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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt3hjg7zi.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [11 x i8] c"IJKLMNOPQR\00", align 1 @.str = private unnamed_addr constant [11 x i8] c"IJKL\00NOPQR\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"IJKLMNOP\00R\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [11 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.x, i64 11, i1 false) %3 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @foo(ptr noundef %3) %5 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %6 = call i64 @memcmp(ptr noundef %5, ptr noundef @.str, i32 noundef 11) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (...) @abort() #4 unreachable 10: ; preds = %0 %11 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 4 store i8 77, ptr %11, align 1 %12 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @bar(ptr noundef %12) %14 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %15 = call i64 @memcmp(ptr noundef %14, ptr noundef @.str.1, i32 noundef 11) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %10 %18 = call i32 (...) @abort() #4 unreachable 19: ; preds = %10 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 @foo(ptr noundef) #2 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @abort(...) #3 declare i32 @bar(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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu4k09z4e.c' source_filename = "/tmp/tmpu4k09z4e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @FancyDisplay_resetColor() #0 { %1 = call i32 @strlen(ptr noundef @.str) %2 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef %1) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu4k09z4e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @FancyDisplay_resetColor() #0 { %1 = call i32 @strlen(ptr noundef @.str) %2 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef %1) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcqewr5kj.c' source_filename = "/tmp/tmpcqewr5kj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_default_location() #0 { %1 = alloca [4096 x i8], align 16 %2 = getelementptr inbounds [4096 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @td_getcwd(ptr noundef %2, i32 noundef 4096) %4 = getelementptr inbounds [4096 x i8], ptr %1, i64 0, i64 0 %5 = call ptr @strdup(ptr noundef %4) ret ptr %5 } declare i32 @td_getcwd(ptr noundef, i32 noundef) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcqewr5kj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_default_location() #0 { %1 = alloca [4096 x i8], align 16 %2 = getelementptr inbounds [4096 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @td_getcwd(ptr noundef %2, i32 noundef 4096) %4 = getelementptr inbounds [4096 x i8], ptr %1, i64 0, i64 0 %5 = call ptr @strdup(ptr noundef %4) ret ptr %5 } declare i32 @td_getcwd(ptr noundef, i32 noundef) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfdfg0hsh.c' source_filename = "/tmp/tmpfdfg0hsh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rq_pricing_extreme_spread(i32 noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9) #0 { %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca double, align 8 %28 = alloca double, align 8 store i32 %0, ptr %11, align 4 store i32 %1, ptr %12, align 4 store double %2, ptr %13, align 8 store double %3, ptr %14, align 8 store double %4, ptr %15, align 8 store double %5, ptr %16, align 8 store double %6, ptr %17, align 8 store double %7, ptr %18, align 8 store double %8, ptr %19, align 8 store double %9, ptr %20, align 8 store double 0.000000e+00, ptr %27, align 8 %29 = load double, ptr %18, align 8 %30 = load double, ptr %19, align 8 %31 = fsub double %29, %30 store double %31, ptr %28, align 8 %32 = load i32, ptr %11, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %10 store i32 1, ptr %26, align 4 br label %36 35: ; preds = %10 store i32 -1, ptr %26, align 4 br label %36 36: ; preds = %35, %34 %37 = load i32, ptr %12, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %36 store i32 1, ptr %25, align 4 br label %41 40: ; preds = %36 store i32 -1, ptr %25, align 4 br label %41 41: ; preds = %40, %39 %42 = load i32, ptr %25, align 4 %43 = load i32, ptr %26, align 4 %44 = mul nsw i32 %42, %43 %45 = icmp eq i32 %44, 1 br i1 %45, label %46, label %48 46: ; preds = %41 %47 = load double, ptr %15, align 8 store double %47, ptr %22, align 8 br label %56 48: ; preds = %41 %49 = load i32, ptr %25, align 4 %50 = load i32, ptr %26, align 4 %51 = mul nsw i32 %49, %50 %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %55 53: ; preds = %48 %54 = load double, ptr %14, align 8 store double %54, ptr %22, align 8 br label %55 55: ; preds = %53, %48 br label %56 56: ; preds = %55, %46 %57 = load double, ptr %28, align 8 %58 = load double, ptr %20, align 8 %59 = load double, ptr %20, align 8 %60 = fmul double %58, %59 %61 = fdiv double %60, 2.000000e+00 %62 = fsub double %57, %61 store double %62, ptr %23, align 8 %63 = load double, ptr %23, align 8 %64 = load double, ptr %20, align 8 %65 = load double, ptr %20, align 8 %66 = call double @llvm.fmuladd.f64(double %64, double %65, double %63) store double %66, ptr %24, align 8 %67 = load double, ptr %22, align 8 %68 = load double, ptr %13, align 8 %69 = fdiv double %67, %68 %70 = call double @log(double noundef %69) #4 store double %70, ptr %21, align 8 %71 = load i32, ptr %25, align 4 %72 = icmp eq i32 %71, 1 br i1 %72, label %73, label %280 73: ; preds = %56 %74 = load i32, ptr %26, align 4 %75 = sitofp i32 %74 to double %76 = load double, ptr %13, align 8 %77 = load double, ptr %28, align 8 %78 = load double, ptr %18, align 8 %79 = fsub double %77, %78 %80 = load double, ptr %17, align 8 %81 = fmul double %79, %80 %82 = call double @exp(double noundef %81) #4 %83 = fmul double %76, %82 %84 = load double, ptr %20, align 8 %85 = load double, ptr %20, align 8 %86 = fmul double %84, %85 %87 = load double, ptr %28, align 8 %88 = fmul double 2.000000e+00, %87 %89 = fdiv double %86, %88 %90 = fadd double 1.000000e+00, %89 %91 = fmul double %83, %90 %92 = load i32, ptr %26, align 4 %93 = sitofp i32 %92 to double %94 = load double, ptr %21, align 8 %95 = fneg double %94 %96 = load double, ptr %24, align 8 %97 = load double, ptr %17, align 8 %98 = call double @llvm.fmuladd.f64(double %96, double %97, double %95) %99 = fmul double %93, %98 %100 = load double, ptr %20, align 8 %101 = load double, ptr %17, align 8 %102 = call double @sqrt(double noundef %101) #4 %103 = fmul double %100, %102 %104 = fdiv double %99, %103 %105 = fptosi double %104 to i32 %106 = call double @rq_pricing_cumul_norm_dist(i32 noundef %105) %107 = load double, ptr %18, align 8 %108 = fneg double %107 %109 = load double, ptr %17, align 8 %110 = load double, ptr %16, align 8 %111 = fsub double %109, %110 %112 = fmul double %108, %111 %113 = call double @exp(double noundef %112) #4 %114 = load double, ptr %13, align 8 %115 = fmul double %113, %114 %116 = load double, ptr %28, align 8 %117 = load double, ptr %18, align 8 %118 = fsub double %116, %117 %119 = load double, ptr %17, align 8 %120 = fmul double %118, %119 %121 = call double @exp(double noundef %120) #4 %122 = fmul double %115, %121 %123 = load double, ptr %20, align 8 %124 = load double, ptr %20, align 8 %125 = fmul double %123, %124 %126 = load double, ptr %28, align 8 %127 = fmul double 2.000000e+00, %126 %128 = fdiv double %125, %127 %129 = fadd double 1.000000e+00, %128 %130 = fmul double %122, %129 %131 = load i32, ptr %26, align 4 %132 = sitofp i32 %131 to double %133 = load double, ptr %21, align 8 %134 = fneg double %133 %135 = load double, ptr %24, align 8 %136 = load double, ptr %16, align 8 %137 = call double @llvm.fmuladd.f64(double %135, double %136, double %134) %138 = fmul double %132, %137 %139 = load double, ptr %20, align 8 %140 = load double, ptr %16, align 8 %141 = call double @sqrt(double noundef %140) #4 %142 = fmul double %139, %141 %143 = fdiv double %138, %142 %144 = fptosi double %143 to i32 %145 = call double @rq_pricing_cumul_norm_dist(i32 noundef %144) %146 = fmul double %130, %145 %147 = fneg double %146 %148 = call double @llvm.fmuladd.f64(double %91, double %106, double %147) %149 = load double, ptr %18, align 8 %150 = fneg double %149 %151 = load double, ptr %17, align 8 %152 = fmul double %150, %151 %153 = call double @exp(double noundef %152) #4 %154 = load double, ptr %22, align 8 %155 = fmul double %153, %154 %156 = load i32, ptr %26, align 4 %157 = sitofp i32 %156 to double %158 = load double, ptr %21, align 8 %159 = load double, ptr %23, align 8 %160 = load double, ptr %17, align 8 %161 = fneg double %159 %162 = call double @llvm.fmuladd.f64(double %161, double %160, double %158) %163 = fmul double %157, %162 %164 = load double, ptr %20, align 8 %165 = load double, ptr %17, align 8 %166 = call double @sqrt(double noundef %165) #4 %167 = fmul double %164, %166 %168 = fdiv double %163, %167 %169 = fptosi double %168 to i32 %170 = call double @rq_pricing_cumul_norm_dist(i32 noundef %169) %171 = call double @llvm.fmuladd.f64(double %155, double %170, double %148) %172 = load double, ptr %18, align 8 %173 = fneg double %172 %174 = load double, ptr %17, align 8 %175 = fmul double %173, %174 %176 = call double @exp(double noundef %175) #4 %177 = load double, ptr %22, align 8 %178 = fmul double %176, %177 %179 = load double, ptr %20, align 8 %180 = load double, ptr %20, align 8 %181 = fmul double %179, %180 %182 = fmul double %178, %181 %183 = load double, ptr %28, align 8 %184 = fmul double 2.000000e+00, %183 %185 = fdiv double %182, %184 %186 = load double, ptr %23, align 8 %187 = fmul double 2.000000e+00, %186 %188 = load double, ptr %21, align 8 %189 = fmul double %187, %188 %190 = load double, ptr %20, align 8 %191 = load double, ptr %20, align 8 %192 = fmul double %190, %191 %193 = fdiv double %189, %192 %194 = call double @exp(double noundef %193) #4 %195 = fmul double %185, %194 %196 = load i32, ptr %26, align 4 %197 = sitofp i32 %196 to double %198 = load double, ptr %21, align 8 %199 = fneg double %198 %200 = load double, ptr %23, align 8 %201 = load double, ptr %17, align 8 %202 = fneg double %200 %203 = call double @llvm.fmuladd.f64(double %202, double %201, double %199) %204 = fmul double %197, %203 %205 = load double, ptr %20, align 8 %206 = load double, ptr %17, align 8 %207 = call double @sqrt(double noundef %206) #4 %208 = fmul double %205, %207 %209 = fdiv double %204, %208 %210 = fptosi double %209 to i32 %211 = call double @rq_pricing_cumul_norm_dist(i32 noundef %210) %212 = fneg double %195 %213 = call double @llvm.fmuladd.f64(double %212, double %211, double %171) %214 = load double, ptr %18, align 8 %215 = fneg double %214 %216 = load double, ptr %17, align 8 %217 = fmul double %215, %216 %218 = call double @exp(double noundef %217) #4 %219 = load double, ptr %22, align 8 %220 = fmul double %218, %219 %221 = load i32, ptr %26, align 4 %222 = sitofp i32 %221 to double %223 = load double, ptr %21, align 8 %224 = load double, ptr %23, align 8 %225 = load double, ptr %16, align 8 %226 = fneg double %224 %227 = call double @llvm.fmuladd.f64(double %226, double %225, double %223) %228 = fmul double %222, %227 %229 = load double, ptr %20, align 8 %230 = load double, ptr %16, align 8 %231 = call double @sqrt(double noundef %230) #4 %232 = fmul double %229, %231 %233 = fdiv double %228, %232 %234 = fptosi double %233 to i32 %235 = call double @rq_pricing_cumul_norm_dist(i32 noundef %234) %236 = fneg double %220 %237 = call double @llvm.fmuladd.f64(double %236, double %235, double %213) %238 = load double, ptr %18, align 8 %239 = fneg double %238 %240 = load double, ptr %17, align 8 %241 = fmul double %239, %240 %242 = call double @exp(double noundef %241) #4 %243 = load double, ptr %22, align 8 %244 = fmul double %242, %243 %245 = load double, ptr %20, align 8 %246 = load double, ptr %20, align 8 %247 = fmul double %245, %246 %248 = fmul double %244, %247 %249 = load double, ptr %28, align 8 %250 = fmul double 2.000000e+00, %249 %251 = fdiv double %248, %250 %252 = load double, ptr %23, align 8 %253 = fmul double 2.000000e+00, %252 %254 = load double, ptr %21, align 8 %255 = fmul double %253, %254 %256 = load double, ptr %20, align 8 %257 = load double, ptr %20, align 8 %258 = fmul double %256, %257 %259 = fdiv double %255, %258 %260 = call double @exp(double noundef %259) #4 %261 = fmul double %251, %260 %262 = load i32, ptr %26, align 4 %263 = sitofp i32 %262 to double %264 = load double, ptr %21, align 8 %265 = fneg double %264 %266 = load double, ptr %23, align 8 %267 = load double, ptr %16, align 8 %268 = fneg double %266 %269 = call double @llvm.fmuladd.f64(double %268, double %267, double %265) %270 = fmul double %263, %269 %271 = load double, ptr %20, align 8 %272 = load double, ptr %16, align 8 %273 = call double @sqrt(double noundef %272) #4 %274 = fmul double %271, %273 %275 = fdiv double %270, %274 %276 = fptosi double %275 to i32 %277 = call double @rq_pricing_cumul_norm_dist(i32 noundef %276) %278 = call double @llvm.fmuladd.f64(double %261, double %277, double %237) %279 = fmul double %75, %278 store double %279, ptr %27, align 8 br label %463 280: ; preds = %56 %281 = load i32, ptr %25, align 4 %282 = icmp eq i32 %281, -1 br i1 %282, label %283, label %462 283: ; preds = %280 %284 = load i32, ptr %26, align 4 %285 = sub nsw i32 0, %284 %286 = sitofp i32 %285 to double %287 = load double, ptr %13, align 8 %288 = load double, ptr %28, align 8 %289 = load double, ptr %18, align 8 %290 = fsub double %288, %289 %291 = load double, ptr %17, align 8 %292 = fmul double %290, %291 %293 = call double @exp(double noundef %292) #4 %294 = fmul double %287, %293 %295 = load double, ptr %20, align 8 %296 = load double, ptr %20, align 8 %297 = fmul double %295, %296 %298 = load double, ptr %28, align 8 %299 = fmul double 2.000000e+00, %298 %300 = fdiv double %297, %299 %301 = fadd double 1.000000e+00, %300 %302 = fmul double %294, %301 %303 = load i32, ptr %26, align 4 %304 = sitofp i32 %303 to double %305 = load double, ptr %21, align 8 %306 = load double, ptr %24, align 8 %307 = load double, ptr %17, align 8 %308 = fneg double %306 %309 = call double @llvm.fmuladd.f64(double %308, double %307, double %305) %310 = fmul double %304, %309 %311 = load double, ptr %20, align 8 %312 = load double, ptr %17, align 8 %313 = call double @sqrt(double noundef %312) #4 %314 = fmul double %311, %313 %315 = fdiv double %310, %314 %316 = fptosi double %315 to i32 %317 = call double @rq_pricing_cumul_norm_dist(i32 noundef %316) %318 = load double, ptr %18, align 8 %319 = fneg double %318 %320 = load double, ptr %17, align 8 %321 = fmul double %319, %320 %322 = call double @exp(double noundef %321) #4 %323 = load double, ptr %22, align 8 %324 = fmul double %322, %323 %325 = load i32, ptr %26, align 4 %326 = sitofp i32 %325 to double %327 = load double, ptr %21, align 8 %328 = fneg double %327 %329 = load double, ptr %23, align 8 %330 = load double, ptr %17, align 8 %331 = call double @llvm.fmuladd.f64(double %329, double %330, double %328) %332 = fmul double %326, %331 %333 = load double, ptr %20, align 8 %334 = load double, ptr %17, align 8 %335 = call double @sqrt(double noundef %334) #4 %336 = fmul double %333, %335 %337 = fdiv double %332, %336 %338 = fptosi double %337 to i32 %339 = call double @rq_pricing_cumul_norm_dist(i32 noundef %338) %340 = fmul double %324, %339 %341 = call double @llvm.fmuladd.f64(double %302, double %317, double %340) %342 = load double, ptr %18, align 8 %343 = fneg double %342 %344 = load double, ptr %17, align 8 %345 = fmul double %343, %344 %346 = call double @exp(double noundef %345) #4 %347 = load double, ptr %22, align 8 %348 = fmul double %346, %347 %349 = load double, ptr %20, align 8 %350 = load double, ptr %20, align 8 %351 = fmul double %349, %350 %352 = fmul double %348, %351 %353 = load double, ptr %28, align 8 %354 = fmul double 2.000000e+00, %353 %355 = fdiv double %352, %354 %356 = load double, ptr %23, align 8 %357 = fmul double 2.000000e+00, %356 %358 = load double, ptr %21, align 8 %359 = fmul double %357, %358 %360 = load double, ptr %20, align 8 %361 = load double, ptr %20, align 8 %362 = fmul double %360, %361 %363 = fdiv double %359, %362 %364 = call double @exp(double noundef %363) #4 %365 = fmul double %355, %364 %366 = load i32, ptr %26, align 4 %367 = sitofp i32 %366 to double %368 = load double, ptr %21, align 8 %369 = load double, ptr %23, align 8 %370 = load double, ptr %17, align 8 %371 = call double @llvm.fmuladd.f64(double %369, double %370, double %368) %372 = fmul double %367, %371 %373 = load double, ptr %20, align 8 %374 = load double, ptr %17, align 8 %375 = call double @sqrt(double noundef %374) #4 %376 = fmul double %373, %375 %377 = fdiv double %372, %376 %378 = fptosi double %377 to i32 %379 = call double @rq_pricing_cumul_norm_dist(i32 noundef %378) %380 = fneg double %365 %381 = call double @llvm.fmuladd.f64(double %380, double %379, double %341) %382 = load double, ptr %13, align 8 %383 = load double, ptr %28, align 8 %384 = load double, ptr %18, align 8 %385 = fsub double %383, %384 %386 = load double, ptr %17, align 8 %387 = fmul double %385, %386 %388 = call double @exp(double noundef %387) #4 %389 = fmul double %382, %388 %390 = load double, ptr %20, align 8 %391 = load double, ptr %20, align 8 %392 = fmul double %390, %391 %393 = load double, ptr %28, align 8 %394 = fmul double 2.000000e+00, %393 %395 = fdiv double %392, %394 %396 = fadd double 1.000000e+00, %395 %397 = fmul double %389, %396 %398 = load i32, ptr %26, align 4 %399 = sitofp i32 %398 to double %400 = load double, ptr %24, align 8 %401 = fneg double %400 %402 = load double, ptr %17, align 8 %403 = load double, ptr %16, align 8 %404 = fsub double %402, %403 %405 = fmul double %401, %404 %406 = fmul double %399, %405 %407 = load double, ptr %20, align 8 %408 = load double, ptr %17, align 8 %409 = load double, ptr %16, align 8 %410 = fsub double %408, %409 %411 = call double @sqrt(double noundef %410) #4 %412 = fmul double %407, %411 %413 = fdiv double %406, %412 %414 = fptosi double %413 to i32 %415 = call double @rq_pricing_cumul_norm_dist(i32 noundef %414) %416 = fneg double %397 %417 = call double @llvm.fmuladd.f64(double %416, double %415, double %381) %418 = load double, ptr %18, align 8 %419 = fneg double %418 %420 = load double, ptr %17, align 8 %421 = load double, ptr %16, align 8 %422 = fsub double %420, %421 %423 = fmul double %419, %422 %424 = call double @exp(double noundef %423) #4 %425 = load double, ptr %13, align 8 %426 = fmul double %424, %425 %427 = load double, ptr %28, align 8 %428 = load double, ptr %18, align 8 %429 = fsub double %427, %428 %430 = load double, ptr %17, align 8 %431 = fmul double %429, %430 %432 = call double @exp(double noundef %431) #4 %433 = fmul double %426, %432 %434 = load double, ptr %20, align 8 %435 = load double, ptr %20, align 8 %436 = fmul double %434, %435 %437 = load double, ptr %28, align 8 %438 = fmul double 2.000000e+00, %437 %439 = fdiv double %436, %438 %440 = fsub double 1.000000e+00, %439 %441 = fmul double %433, %440 %442 = load i32, ptr %26, align 4 %443 = sitofp i32 %442 to double %444 = load double, ptr %23, align 8 %445 = load double, ptr %17, align 8 %446 = load double, ptr %16, align 8 %447 = fsub double %445, %446 %448 = fmul double %444, %447 %449 = fmul double %443, %448 %450 = load double, ptr %20, align 8 %451 = load double, ptr %17, align 8 %452 = load double, ptr %16, align 8 %453 = fsub double %451, %452 %454 = call double @sqrt(double noundef %453) #4 %455 = fmul double %450, %454 %456 = fdiv double %449, %455 %457 = fptosi double %456 to i32 %458 = call double @rq_pricing_cumul_norm_dist(i32 noundef %457) %459 = fneg double %441 %460 = call double @llvm.fmuladd.f64(double %459, double %458, double %417) %461 = fmul double %286, %460 store double %461, ptr %27, align 8 br label %462 462: ; preds = %283, %280 br label %463 463: ; preds = %462, %73 %464 = load double, ptr %27, align 8 ret double %464 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nounwind declare double @exp(double noundef) #2 declare double @rq_pricing_cumul_norm_dist(i32 noundef) #3 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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/tmpfdfg0hsh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rq_pricing_extreme_spread(i32 noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9) #0 { %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca double, align 8 %28 = alloca double, align 8 store i32 %0, ptr %11, align 4 store i32 %1, ptr %12, align 4 store double %2, ptr %13, align 8 store double %3, ptr %14, align 8 store double %4, ptr %15, align 8 store double %5, ptr %16, align 8 store double %6, ptr %17, align 8 store double %7, ptr %18, align 8 store double %8, ptr %19, align 8 store double %9, ptr %20, align 8 store double 0.000000e+00, ptr %27, align 8 %29 = load double, ptr %18, align 8 %30 = load double, ptr %19, align 8 %31 = fsub double %29, %30 store double %31, ptr %28, align 8 %32 = load i32, ptr %11, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %10 store i32 1, ptr %26, align 4 br label %36 35: ; preds = %10 store i32 -1, ptr %26, align 4 br label %36 36: ; preds = %35, %34 %37 = load i32, ptr %12, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %36 store i32 1, ptr %25, align 4 br label %41 40: ; preds = %36 store i32 -1, ptr %25, align 4 br label %41 41: ; preds = %40, %39 %42 = load i32, ptr %25, align 4 %43 = load i32, ptr %26, align 4 %44 = mul nsw i32 %42, %43 %45 = icmp eq i32 %44, 1 br i1 %45, label %46, label %48 46: ; preds = %41 %47 = load double, ptr %15, align 8 store double %47, ptr %22, align 8 br label %56 48: ; preds = %41 %49 = load i32, ptr %25, align 4 %50 = load i32, ptr %26, align 4 %51 = mul nsw i32 %49, %50 %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %55 53: ; preds = %48 %54 = load double, ptr %14, align 8 store double %54, ptr %22, align 8 br label %55 55: ; preds = %53, %48 br label %56 56: ; preds = %55, %46 %57 = load double, ptr %28, align 8 %58 = load double, ptr %20, align 8 %59 = load double, ptr %20, align 8 %60 = fmul double %58, %59 %61 = fdiv double %60, 2.000000e+00 %62 = fsub double %57, %61 store double %62, ptr %23, align 8 %63 = load double, ptr %23, align 8 %64 = load double, ptr %20, align 8 %65 = load double, ptr %20, align 8 %66 = call double @llvm.fmuladd.f64(double %64, double %65, double %63) store double %66, ptr %24, align 8 %67 = load double, ptr %22, align 8 %68 = load double, ptr %13, align 8 %69 = fdiv double %67, %68 %70 = call double @log(double noundef %69) #4 store double %70, ptr %21, align 8 %71 = load i32, ptr %25, align 4 %72 = icmp eq i32 %71, 1 br i1 %72, label %73, label %280 73: ; preds = %56 %74 = load i32, ptr %26, align 4 %75 = sitofp i32 %74 to double %76 = load double, ptr %13, align 8 %77 = load double, ptr %28, align 8 %78 = load double, ptr %18, align 8 %79 = fsub double %77, %78 %80 = load double, ptr %17, align 8 %81 = fmul double %79, %80 %82 = call double @exp(double noundef %81) #4 %83 = fmul double %76, %82 %84 = load double, ptr %20, align 8 %85 = load double, ptr %20, align 8 %86 = fmul double %84, %85 %87 = load double, ptr %28, align 8 %88 = fmul double 2.000000e+00, %87 %89 = fdiv double %86, %88 %90 = fadd double 1.000000e+00, %89 %91 = fmul double %83, %90 %92 = load i32, ptr %26, align 4 %93 = sitofp i32 %92 to double %94 = load double, ptr %21, align 8 %95 = fneg double %94 %96 = load double, ptr %24, align 8 %97 = load double, ptr %17, align 8 %98 = call double @llvm.fmuladd.f64(double %96, double %97, double %95) %99 = fmul double %93, %98 %100 = load double, ptr %20, align 8 %101 = load double, ptr %17, align 8 %102 = call double @sqrt(double noundef %101) #4 %103 = fmul double %100, %102 %104 = fdiv double %99, %103 %105 = fptosi double %104 to i32 %106 = call double @rq_pricing_cumul_norm_dist(i32 noundef %105) %107 = load double, ptr %18, align 8 %108 = fneg double %107 %109 = load double, ptr %17, align 8 %110 = load double, ptr %16, align 8 %111 = fsub double %109, %110 %112 = fmul double %108, %111 %113 = call double @exp(double noundef %112) #4 %114 = load double, ptr %13, align 8 %115 = fmul double %113, %114 %116 = load double, ptr %28, align 8 %117 = load double, ptr %18, align 8 %118 = fsub double %116, %117 %119 = load double, ptr %17, align 8 %120 = fmul double %118, %119 %121 = call double @exp(double noundef %120) #4 %122 = fmul double %115, %121 %123 = load double, ptr %20, align 8 %124 = load double, ptr %20, align 8 %125 = fmul double %123, %124 %126 = load double, ptr %28, align 8 %127 = fmul double 2.000000e+00, %126 %128 = fdiv double %125, %127 %129 = fadd double 1.000000e+00, %128 %130 = fmul double %122, %129 %131 = load i32, ptr %26, align 4 %132 = sitofp i32 %131 to double %133 = load double, ptr %21, align 8 %134 = fneg double %133 %135 = load double, ptr %24, align 8 %136 = load double, ptr %16, align 8 %137 = call double @llvm.fmuladd.f64(double %135, double %136, double %134) %138 = fmul double %132, %137 %139 = load double, ptr %20, align 8 %140 = load double, ptr %16, align 8 %141 = call double @sqrt(double noundef %140) #4 %142 = fmul double %139, %141 %143 = fdiv double %138, %142 %144 = fptosi double %143 to i32 %145 = call double @rq_pricing_cumul_norm_dist(i32 noundef %144) %146 = fmul double %130, %145 %147 = fneg double %146 %148 = call double @llvm.fmuladd.f64(double %91, double %106, double %147) %149 = load double, ptr %18, align 8 %150 = fneg double %149 %151 = load double, ptr %17, align 8 %152 = fmul double %150, %151 %153 = call double @exp(double noundef %152) #4 %154 = load double, ptr %22, align 8 %155 = fmul double %153, %154 %156 = load i32, ptr %26, align 4 %157 = sitofp i32 %156 to double %158 = load double, ptr %21, align 8 %159 = load double, ptr %23, align 8 %160 = load double, ptr %17, align 8 %161 = fneg double %159 %162 = call double @llvm.fmuladd.f64(double %161, double %160, double %158) %163 = fmul double %157, %162 %164 = load double, ptr %20, align 8 %165 = load double, ptr %17, align 8 %166 = call double @sqrt(double noundef %165) #4 %167 = fmul double %164, %166 %168 = fdiv double %163, %167 %169 = fptosi double %168 to i32 %170 = call double @rq_pricing_cumul_norm_dist(i32 noundef %169) %171 = call double @llvm.fmuladd.f64(double %155, double %170, double %148) %172 = load double, ptr %18, align 8 %173 = fneg double %172 %174 = load double, ptr %17, align 8 %175 = fmul double %173, %174 %176 = call double @exp(double noundef %175) #4 %177 = load double, ptr %22, align 8 %178 = fmul double %176, %177 %179 = load double, ptr %20, align 8 %180 = load double, ptr %20, align 8 %181 = fmul double %179, %180 %182 = fmul double %178, %181 %183 = load double, ptr %28, align 8 %184 = fmul double 2.000000e+00, %183 %185 = fdiv double %182, %184 %186 = load double, ptr %23, align 8 %187 = fmul double 2.000000e+00, %186 %188 = load double, ptr %21, align 8 %189 = fmul double %187, %188 %190 = load double, ptr %20, align 8 %191 = load double, ptr %20, align 8 %192 = fmul double %190, %191 %193 = fdiv double %189, %192 %194 = call double @exp(double noundef %193) #4 %195 = fmul double %185, %194 %196 = load i32, ptr %26, align 4 %197 = sitofp i32 %196 to double %198 = load double, ptr %21, align 8 %199 = fneg double %198 %200 = load double, ptr %23, align 8 %201 = load double, ptr %17, align 8 %202 = fneg double %200 %203 = call double @llvm.fmuladd.f64(double %202, double %201, double %199) %204 = fmul double %197, %203 %205 = load double, ptr %20, align 8 %206 = load double, ptr %17, align 8 %207 = call double @sqrt(double noundef %206) #4 %208 = fmul double %205, %207 %209 = fdiv double %204, %208 %210 = fptosi double %209 to i32 %211 = call double @rq_pricing_cumul_norm_dist(i32 noundef %210) %212 = fneg double %195 %213 = call double @llvm.fmuladd.f64(double %212, double %211, double %171) %214 = load double, ptr %18, align 8 %215 = fneg double %214 %216 = load double, ptr %17, align 8 %217 = fmul double %215, %216 %218 = call double @exp(double noundef %217) #4 %219 = load double, ptr %22, align 8 %220 = fmul double %218, %219 %221 = load i32, ptr %26, align 4 %222 = sitofp i32 %221 to double %223 = load double, ptr %21, align 8 %224 = load double, ptr %23, align 8 %225 = load double, ptr %16, align 8 %226 = fneg double %224 %227 = call double @llvm.fmuladd.f64(double %226, double %225, double %223) %228 = fmul double %222, %227 %229 = load double, ptr %20, align 8 %230 = load double, ptr %16, align 8 %231 = call double @sqrt(double noundef %230) #4 %232 = fmul double %229, %231 %233 = fdiv double %228, %232 %234 = fptosi double %233 to i32 %235 = call double @rq_pricing_cumul_norm_dist(i32 noundef %234) %236 = fneg double %220 %237 = call double @llvm.fmuladd.f64(double %236, double %235, double %213) %238 = load double, ptr %18, align 8 %239 = fneg double %238 %240 = load double, ptr %17, align 8 %241 = fmul double %239, %240 %242 = call double @exp(double noundef %241) #4 %243 = load double, ptr %22, align 8 %244 = fmul double %242, %243 %245 = load double, ptr %20, align 8 %246 = load double, ptr %20, align 8 %247 = fmul double %245, %246 %248 = fmul double %244, %247 %249 = load double, ptr %28, align 8 %250 = fmul double 2.000000e+00, %249 %251 = fdiv double %248, %250 %252 = load double, ptr %23, align 8 %253 = fmul double 2.000000e+00, %252 %254 = load double, ptr %21, align 8 %255 = fmul double %253, %254 %256 = load double, ptr %20, align 8 %257 = load double, ptr %20, align 8 %258 = fmul double %256, %257 %259 = fdiv double %255, %258 %260 = call double @exp(double noundef %259) #4 %261 = fmul double %251, %260 %262 = load i32, ptr %26, align 4 %263 = sitofp i32 %262 to double %264 = load double, ptr %21, align 8 %265 = fneg double %264 %266 = load double, ptr %23, align 8 %267 = load double, ptr %16, align 8 %268 = fneg double %266 %269 = call double @llvm.fmuladd.f64(double %268, double %267, double %265) %270 = fmul double %263, %269 %271 = load double, ptr %20, align 8 %272 = load double, ptr %16, align 8 %273 = call double @sqrt(double noundef %272) #4 %274 = fmul double %271, %273 %275 = fdiv double %270, %274 %276 = fptosi double %275 to i32 %277 = call double @rq_pricing_cumul_norm_dist(i32 noundef %276) %278 = call double @llvm.fmuladd.f64(double %261, double %277, double %237) %279 = fmul double %75, %278 store double %279, ptr %27, align 8 br label %463 280: ; preds = %56 %281 = load i32, ptr %25, align 4 %282 = icmp eq i32 %281, -1 br i1 %282, label %283, label %462 283: ; preds = %280 %284 = load i32, ptr %26, align 4 %285 = sub nsw i32 0, %284 %286 = sitofp i32 %285 to double %287 = load double, ptr %13, align 8 %288 = load double, ptr %28, align 8 %289 = load double, ptr %18, align 8 %290 = fsub double %288, %289 %291 = load double, ptr %17, align 8 %292 = fmul double %290, %291 %293 = call double @exp(double noundef %292) #4 %294 = fmul double %287, %293 %295 = load double, ptr %20, align 8 %296 = load double, ptr %20, align 8 %297 = fmul double %295, %296 %298 = load double, ptr %28, align 8 %299 = fmul double 2.000000e+00, %298 %300 = fdiv double %297, %299 %301 = fadd double 1.000000e+00, %300 %302 = fmul double %294, %301 %303 = load i32, ptr %26, align 4 %304 = sitofp i32 %303 to double %305 = load double, ptr %21, align 8 %306 = load double, ptr %24, align 8 %307 = load double, ptr %17, align 8 %308 = fneg double %306 %309 = call double @llvm.fmuladd.f64(double %308, double %307, double %305) %310 = fmul double %304, %309 %311 = load double, ptr %20, align 8 %312 = load double, ptr %17, align 8 %313 = call double @sqrt(double noundef %312) #4 %314 = fmul double %311, %313 %315 = fdiv double %310, %314 %316 = fptosi double %315 to i32 %317 = call double @rq_pricing_cumul_norm_dist(i32 noundef %316) %318 = load double, ptr %18, align 8 %319 = fneg double %318 %320 = load double, ptr %17, align 8 %321 = fmul double %319, %320 %322 = call double @exp(double noundef %321) #4 %323 = load double, ptr %22, align 8 %324 = fmul double %322, %323 %325 = load i32, ptr %26, align 4 %326 = sitofp i32 %325 to double %327 = load double, ptr %21, align 8 %328 = fneg double %327 %329 = load double, ptr %23, align 8 %330 = load double, ptr %17, align 8 %331 = call double @llvm.fmuladd.f64(double %329, double %330, double %328) %332 = fmul double %326, %331 %333 = load double, ptr %20, align 8 %334 = load double, ptr %17, align 8 %335 = call double @sqrt(double noundef %334) #4 %336 = fmul double %333, %335 %337 = fdiv double %332, %336 %338 = fptosi double %337 to i32 %339 = call double @rq_pricing_cumul_norm_dist(i32 noundef %338) %340 = fmul double %324, %339 %341 = call double @llvm.fmuladd.f64(double %302, double %317, double %340) %342 = load double, ptr %18, align 8 %343 = fneg double %342 %344 = load double, ptr %17, align 8 %345 = fmul double %343, %344 %346 = call double @exp(double noundef %345) #4 %347 = load double, ptr %22, align 8 %348 = fmul double %346, %347 %349 = load double, ptr %20, align 8 %350 = load double, ptr %20, align 8 %351 = fmul double %349, %350 %352 = fmul double %348, %351 %353 = load double, ptr %28, align 8 %354 = fmul double 2.000000e+00, %353 %355 = fdiv double %352, %354 %356 = load double, ptr %23, align 8 %357 = fmul double 2.000000e+00, %356 %358 = load double, ptr %21, align 8 %359 = fmul double %357, %358 %360 = load double, ptr %20, align 8 %361 = load double, ptr %20, align 8 %362 = fmul double %360, %361 %363 = fdiv double %359, %362 %364 = call double @exp(double noundef %363) #4 %365 = fmul double %355, %364 %366 = load i32, ptr %26, align 4 %367 = sitofp i32 %366 to double %368 = load double, ptr %21, align 8 %369 = load double, ptr %23, align 8 %370 = load double, ptr %17, align 8 %371 = call double @llvm.fmuladd.f64(double %369, double %370, double %368) %372 = fmul double %367, %371 %373 = load double, ptr %20, align 8 %374 = load double, ptr %17, align 8 %375 = call double @sqrt(double noundef %374) #4 %376 = fmul double %373, %375 %377 = fdiv double %372, %376 %378 = fptosi double %377 to i32 %379 = call double @rq_pricing_cumul_norm_dist(i32 noundef %378) %380 = fneg double %365 %381 = call double @llvm.fmuladd.f64(double %380, double %379, double %341) %382 = load double, ptr %13, align 8 %383 = load double, ptr %28, align 8 %384 = load double, ptr %18, align 8 %385 = fsub double %383, %384 %386 = load double, ptr %17, align 8 %387 = fmul double %385, %386 %388 = call double @exp(double noundef %387) #4 %389 = fmul double %382, %388 %390 = load double, ptr %20, align 8 %391 = load double, ptr %20, align 8 %392 = fmul double %390, %391 %393 = load double, ptr %28, align 8 %394 = fmul double 2.000000e+00, %393 %395 = fdiv double %392, %394 %396 = fadd double 1.000000e+00, %395 %397 = fmul double %389, %396 %398 = load i32, ptr %26, align 4 %399 = sitofp i32 %398 to double %400 = load double, ptr %24, align 8 %401 = fneg double %400 %402 = load double, ptr %17, align 8 %403 = load double, ptr %16, align 8 %404 = fsub double %402, %403 %405 = fmul double %401, %404 %406 = fmul double %399, %405 %407 = load double, ptr %20, align 8 %408 = load double, ptr %17, align 8 %409 = load double, ptr %16, align 8 %410 = fsub double %408, %409 %411 = call double @sqrt(double noundef %410) #4 %412 = fmul double %407, %411 %413 = fdiv double %406, %412 %414 = fptosi double %413 to i32 %415 = call double @rq_pricing_cumul_norm_dist(i32 noundef %414) %416 = fneg double %397 %417 = call double @llvm.fmuladd.f64(double %416, double %415, double %381) %418 = load double, ptr %18, align 8 %419 = fneg double %418 %420 = load double, ptr %17, align 8 %421 = load double, ptr %16, align 8 %422 = fsub double %420, %421 %423 = fmul double %419, %422 %424 = call double @exp(double noundef %423) #4 %425 = load double, ptr %13, align 8 %426 = fmul double %424, %425 %427 = load double, ptr %28, align 8 %428 = load double, ptr %18, align 8 %429 = fsub double %427, %428 %430 = load double, ptr %17, align 8 %431 = fmul double %429, %430 %432 = call double @exp(double noundef %431) #4 %433 = fmul double %426, %432 %434 = load double, ptr %20, align 8 %435 = load double, ptr %20, align 8 %436 = fmul double %434, %435 %437 = load double, ptr %28, align 8 %438 = fmul double 2.000000e+00, %437 %439 = fdiv double %436, %438 %440 = fsub double 1.000000e+00, %439 %441 = fmul double %433, %440 %442 = load i32, ptr %26, align 4 %443 = sitofp i32 %442 to double %444 = load double, ptr %23, align 8 %445 = load double, ptr %17, align 8 %446 = load double, ptr %16, align 8 %447 = fsub double %445, %446 %448 = fmul double %444, %447 %449 = fmul double %443, %448 %450 = load double, ptr %20, align 8 %451 = load double, ptr %17, align 8 %452 = load double, ptr %16, align 8 %453 = fsub double %451, %452 %454 = call double @sqrt(double noundef %453) #4 %455 = fmul double %450, %454 %456 = fdiv double %449, %455 %457 = fptosi double %456 to i32 %458 = call double @rq_pricing_cumul_norm_dist(i32 noundef %457) %459 = fneg double %441 %460 = call double @llvm.fmuladd.f64(double %459, double %458, double %417) %461 = fmul double %286, %460 store double %461, ptr %27, align 8 br label %462 462: ; preds = %283, %280 br label %463 463: ; preds = %462, %73 %464 = load double, ptr %27, align 8 ret double %464 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nounwind declare double @exp(double noundef) #2 declare double @rq_pricing_cumul_norm_dist(i32 noundef) #3 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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/tmp5lb28hsd.c' source_filename = "/tmp/tmp5lb28hsd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Program musi byt spusten rootem\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Neni pristup na port\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"state.rele\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"%+5.1f|%+5.1f|%+5.1f\0A\0D\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"state.temp\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [999 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca [20 x i8], align 16 store i32 0, ptr %1, align 4 %12 = call i64 @setuid(i32 noundef 0) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %115 16: ; preds = %0 %17 = call i64 @ioperm(i32 noundef 889, i32 noundef 3, i32 noundef 1) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %115 21: ; preds = %16 %22 = call i64 @ioperm(i32 noundef 890, i32 noundef 3, i32 noundef 1) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %115 26: ; preds = %21 %27 = call i64 @ioperm(i32 noundef 888, i32 noundef 3, i32 noundef 1) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %115 31: ; preds = %26 %32 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %32, ptr %3, align 8 %33 = load ptr, ptr %3, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %41 35: ; preds = %31 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %38 = call i32 @fscanf(ptr noundef %36, ptr noundef @.str.4, ptr noundef %37) store i32 %38, ptr %4, align 4 %39 = load ptr, ptr %3, align 8 %40 = call i32 @fclose(ptr noundef %39) br label %41 41: ; preds = %35, %31 %42 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %43 = load i8, ptr %42, align 16 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 49 %46 = zext i1 %45 to i64 %47 = select i1 %45, i32 1, i32 0 store i32 %47, ptr %5, align 4 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 240, %48 %50 = call i32 @outb(i32 noundef %49, i32 noundef 888) store double 1.000000e+00, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %6, align 4 br label %51 51: ; preds = %61, %41 %52 = load i32, ptr %6, align 4 %53 = sitofp i32 %52 to double %54 = load double, ptr %7, align 8 %55 = fcmp olt double %53, %54 br i1 %55, label %56, label %64 56: ; preds = %51 %57 = call i64 @ZmerTo(i32 noundef 889, i32 noundef 3, i32 noundef 0) %58 = sitofp i64 %57 to double %59 = load double, ptr %8, align 8 %60 = fadd double %59, %58 store double %60, ptr %8, align 8 br label %61 61: ; preds = %56 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %6, align 4 br label %51, !llvm.loop !6 64: ; preds = %51 store double 0.000000e+00, ptr %9, align 8 store i32 0, ptr %6, align 4 br label %65 65: ; preds = %75, %64 %66 = load i32, ptr %6, align 4 %67 = sitofp i32 %66 to double %68 = load double, ptr %7, align 8 %69 = fcmp olt double %67, %68 br i1 %69, label %70, label %78 70: ; preds = %65 %71 = call i64 @ZmerTo(i32 noundef 889, i32 noundef 6, i32 noundef 0) %72 = sitofp i64 %71 to double %73 = load double, ptr %9, align 8 %74 = fadd double %73, %72 store double %74, ptr %9, align 8 br label %75 75: ; preds = %70 %76 = load i32, ptr %6, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %6, align 4 br label %65, !llvm.loop !8 78: ; preds = %65 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %6, align 4 br label %79 79: ; preds = %89, %78 %80 = load i32, ptr %6, align 4 %81 = sitofp i32 %80 to double %82 = load double, ptr %7, align 8 %83 = fcmp olt double %81, %82 br i1 %83, label %84, label %92 84: ; preds = %79 %85 = call i64 @ZmerTo(i32 noundef 889, i32 noundef 5, i32 noundef 0) %86 = sitofp i64 %85 to double %87 = load double, ptr %10, align 8 %88 = fadd double %87, %86 store double %88, ptr %10, align 8 br label %89 89: ; preds = %84 %90 = load i32, ptr %6, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %6, align 4 br label %79, !llvm.loop !9 92: ; preds = %79 %93 = load i32, ptr %5, align 4 %94 = call i32 @outb(i32 noundef %93, i32 noundef 888) %95 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %96 = load double, ptr %8, align 8 %97 = load double, ptr %7, align 8 %98 = fdiv double %96, %97 %99 = load double, ptr %9, align 8 %100 = load double, ptr %7, align 8 %101 = fdiv double %99, %100 %102 = load double, ptr %10, align 8 %103 = load double, ptr %7, align 8 %104 = fdiv double %102, %103 %105 = call i32 @sprintf(ptr noundef %95, ptr noundef @.str.5, double noundef %98, double noundef %101, double noundef %104) store i32 %105, ptr %4, align 4 %106 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7) store ptr %106, ptr %3, align 8 %107 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %108 = load ptr, ptr %3, align 8 %109 = call i32 @fwrite(ptr noundef %107, i32 noundef 1, i32 noundef 20, ptr noundef %108) %110 = load ptr, ptr %3, align 8 %111 = call i32 @fclose(ptr noundef %110) %112 = call i64 @ioperm(i32 noundef 889, i32 noundef 3, i32 noundef 0) %113 = call i64 @ioperm(i32 noundef 890, i32 noundef 3, i32 noundef 0) %114 = call i64 @ioperm(i32 noundef 888, i32 noundef 3, i32 noundef 0) store i32 0, ptr %1, align 4 br label %115 115: ; preds = %92, %29, %24, %19, %14 %116 = load i32, ptr %1, align 4 ret i32 %116 } declare i64 @setuid(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @ioperm(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @outb(i32 noundef, i32 noundef) #1 declare i64 @ZmerTo(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #1 declare i32 @fwrite(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5lb28hsd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Program musi byt spusten rootem\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Neni pristup na port\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"state.rele\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"%+5.1f|%+5.1f|%+5.1f\0A\0D\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"state.temp\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [999 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca [20 x i8], align 16 store i32 0, ptr %1, align 4 %12 = call i64 @setuid(i32 noundef 0) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %124 16: ; preds = %0 %17 = call i64 @ioperm(i32 noundef 889, i32 noundef 3, i32 noundef 1) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %124 21: ; preds = %16 %22 = call i64 @ioperm(i32 noundef 890, i32 noundef 3, i32 noundef 1) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %124 26: ; preds = %21 %27 = call i64 @ioperm(i32 noundef 888, i32 noundef 3, i32 noundef 1) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %124 31: ; preds = %26 %32 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %32, ptr %3, align 8 %33 = load ptr, ptr %3, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %41 35: ; preds = %31 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %38 = call i32 @fscanf(ptr noundef %36, ptr noundef @.str.4, ptr noundef %37) store i32 %38, ptr %4, align 4 %39 = load ptr, ptr %3, align 8 %40 = call i32 @fclose(ptr noundef %39) br label %41 41: ; preds = %35, %31 %42 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %43 = load i8, ptr %42, align 16 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 49 %46 = zext i1 %45 to i64 %47 = select i1 %45, i32 1, i32 0 store i32 %47, ptr %5, align 4 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 240, %48 %50 = call i32 @outb(i32 noundef %49, i32 noundef 888) store double 1.000000e+00, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %6, align 4 %51 = load i32, ptr %6, align 4 %52 = sitofp i32 %51 to double %53 = load double, ptr %7, align 8 %54 = fcmp olt double %52, %53 br i1 %54, label %.lr.ph, label %67 .lr.ph: ; preds = %41 br label %55 55: ; preds = %.lr.ph, %60 %56 = call i64 @ZmerTo(i32 noundef 889, i32 noundef 3, i32 noundef 0) %57 = sitofp i64 %56 to double %58 = load double, ptr %8, align 8 %59 = fadd double %58, %57 store double %59, ptr %8, align 8 br label %60 60: ; preds = %55 %61 = load i32, ptr %6, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %6, align 4 %63 = load i32, ptr %6, align 4 %64 = sitofp i32 %63 to double %65 = load double, ptr %7, align 8 %66 = fcmp olt double %64, %65 br i1 %66, label %55, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %60 br label %67 67: ; preds = %._crit_edge, %41 store double 0.000000e+00, ptr %9, align 8 store i32 0, ptr %6, align 4 %68 = load i32, ptr %6, align 4 %69 = sitofp i32 %68 to double %70 = load double, ptr %7, align 8 %71 = fcmp olt double %69, %70 br i1 %71, label %.lr.ph2, label %84 .lr.ph2: ; preds = %67 br label %72 72: ; preds = %.lr.ph2, %77 %73 = call i64 @ZmerTo(i32 noundef 889, i32 noundef 6, i32 noundef 0) %74 = sitofp i64 %73 to double %75 = load double, ptr %9, align 8 %76 = fadd double %75, %74 store double %76, ptr %9, align 8 br label %77 77: ; preds = %72 %78 = load i32, ptr %6, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %6, align 4 %80 = load i32, ptr %6, align 4 %81 = sitofp i32 %80 to double %82 = load double, ptr %7, align 8 %83 = fcmp olt double %81, %82 br i1 %83, label %72, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %77 br label %84 84: ; preds = %._crit_edge3, %67 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %6, align 4 %85 = load i32, ptr %6, align 4 %86 = sitofp i32 %85 to double %87 = load double, ptr %7, align 8 %88 = fcmp olt double %86, %87 br i1 %88, label %.lr.ph5, label %101 .lr.ph5: ; preds = %84 br label %89 89: ; preds = %.lr.ph5, %94 %90 = call i64 @ZmerTo(i32 noundef 889, i32 noundef 5, i32 noundef 0) %91 = sitofp i64 %90 to double %92 = load double, ptr %10, align 8 %93 = fadd double %92, %91 store double %93, ptr %10, align 8 br label %94 94: ; preds = %89 %95 = load i32, ptr %6, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %6, align 4 %97 = load i32, ptr %6, align 4 %98 = sitofp i32 %97 to double %99 = load double, ptr %7, align 8 %100 = fcmp olt double %98, %99 br i1 %100, label %89, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %94 br label %101 101: ; preds = %._crit_edge6, %84 %102 = load i32, ptr %5, align 4 %103 = call i32 @outb(i32 noundef %102, i32 noundef 888) %104 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %105 = load double, ptr %8, align 8 %106 = load double, ptr %7, align 8 %107 = fdiv double %105, %106 %108 = load double, ptr %9, align 8 %109 = load double, ptr %7, align 8 %110 = fdiv double %108, %109 %111 = load double, ptr %10, align 8 %112 = load double, ptr %7, align 8 %113 = fdiv double %111, %112 %114 = call i32 @sprintf(ptr noundef %104, ptr noundef @.str.5, double noundef %107, double noundef %110, double noundef %113) store i32 %114, ptr %4, align 4 %115 = call ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7) store ptr %115, ptr %3, align 8 %116 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %117 = load ptr, ptr %3, align 8 %118 = call i32 @fwrite(ptr noundef %116, i32 noundef 1, i32 noundef 20, ptr noundef %117) %119 = load ptr, ptr %3, align 8 %120 = call i32 @fclose(ptr noundef %119) %121 = call i64 @ioperm(i32 noundef 889, i32 noundef 3, i32 noundef 0) %122 = call i64 @ioperm(i32 noundef 890, i32 noundef 3, i32 noundef 0) %123 = call i64 @ioperm(i32 noundef 888, i32 noundef 3, i32 noundef 0) store i32 0, ptr %1, align 4 br label %124 124: ; preds = %101, %29, %24, %19, %14 %125 = load i32, ptr %1, align 4 ret i32 %125 } declare i64 @setuid(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @ioperm(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @outb(i32 noundef, i32 noundef) #1 declare i64 @ZmerTo(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #1 declare i32 @fwrite(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpiinowk8g.c' source_filename = "/tmp/tmpiinowk8g.c" target datalayout = "e-m:e-p270: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/tmpiinowk8g.c" target datalayout = "e-m:e-p270: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/tmpr05tvmry.c' source_filename = "/tmp/tmpr05tvmry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"\0A Entre com n\C3\BAmeros entre 1 e 0 : [%d][%d] - \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"\0A Entre com a linha:\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"\0A Entre com a coluna:\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"voc\C3\AA acertou !!\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"voc\C3\AA errou !!\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"\0A Deseja continuar(s/n)?\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"continuar = %c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x [5 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %92, %0 store i32 0, ptr %3, align 4 br label %7 7: ; preds = %31, %6 %8 = load i32, ptr %3, align 4 %9 = icmp sle i32 %8, 4 br i1 %9, label %10, label %34 10: ; preds = %7 store i32 0, ptr %4, align 4 br label %11 11: ; preds = %27, %10 %12 = load i32, ptr %4, align 4 %13 = icmp sle i32 %12, 4 br i1 %13, label %14, label %30 14: ; preds = %11 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16, i32 noundef %18) %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [5 x [5 x i32]], ptr %2, i64 0, i64 %21 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [5 x i32], ptr %22, i64 0, i64 %24 %26 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %25) br label %27 27: ; preds = %14 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %11, !llvm.loop !6 30: ; preds = %11 br label %31 31: ; preds = %30 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 br label %7, !llvm.loop !8 34: ; preds = %7 store i32 0, ptr %3, align 4 br label %35 35: ; preds = %56, %34 %36 = load i32, ptr %3, align 4 %37 = icmp sle i32 %36, 4 br i1 %37, label %38, label %59 38: ; preds = %35 store i32 0, ptr %4, align 4 br label %39 39: ; preds = %51, %38 %40 = load i32, ptr %4, align 4 %41 = icmp sle i32 %40, 4 br i1 %41, label %42, label %54 42: ; preds = %39 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [5 x [5 x i32]], ptr %2, i64 0, i64 %44 %46 = load i32, ptr %4, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [5 x i32], ptr %45, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %49) br label %51 51: ; preds = %42 %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %4, align 4 br label %39, !llvm.loop !9 54: ; preds = %39 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %56 56: ; preds = %54 %57 = load i32, ptr %3, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %3, align 4 br label %35, !llvm.loop !10 59: ; preds = %35 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %61 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %63 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %64 = load i32, ptr %3, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [5 x [5 x i32]], ptr %2, i64 0, i64 %65 %67 = load i32, ptr %4, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [5 x i32], ptr %66, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = icmp eq i32 %70, 1 br i1 %71, label %72, label %74 72: ; preds = %59 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %86 74: ; preds = %59 %75 = load i32, ptr %3, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [5 x [5 x i32]], ptr %2, i64 0, i64 %76 %78 = load i32, ptr %4, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [5 x i32], ptr %77, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 %82 = icmp eq i32 %81, 0 br i1 %82, label %83, label %85 83: ; preds = %74 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %85 85: ; preds = %83, %74 br label %86 86: ; preds = %85, %72 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %88 = call i32 (ptr, ...) @scanf(ptr noundef @.str.9, ptr noundef %5) %89 = load i8, ptr %5, align 1 %90 = sext i8 %89 to i32 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %90) br label %92 92: ; preds = %86 %93 = load i8, ptr %5, align 1 %94 = sext i8 %93 to i32 %95 = icmp eq i32 %94, 115 br i1 %95, label %6, label %96, !llvm.loop !11 96: ; preds = %92 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr05tvmry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"\0A Entre com n\C3\BAmeros entre 1 e 0 : [%d][%d] - \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"\0A Entre com a linha:\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"\0A Entre com a coluna:\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"voc\C3\AA acertou !!\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"voc\C3\AA errou !!\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"\0A Deseja continuar(s/n)?\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c"continuar = %c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x [5 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %96, %0 store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sle i32 %7, 4 br i1 %8, label %.lr.ph2, label %36 .lr.ph2: ; preds = %6 br label %9 9: ; preds = %.lr.ph2, %31 store i32 0, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sle i32 %10, 4 br i1 %11, label %.lr.ph, label %30 .lr.ph: ; preds = %9 br label %12 12: ; preds = %.lr.ph, %25 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %16) %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [5 x [5 x i32]], ptr %2, i64 0, i64 %19 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [5 x i32], ptr %20, i64 0, i64 %22 %24 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %23) br label %25 25: ; preds = %12 %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 sle i32 %28, 4 br i1 %29, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %9 br label %31 31: ; preds = %30 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp sle i32 %34, 4 br i1 %35, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %36 36: ; preds = %._crit_edge3, %6 store i32 0, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp sle i32 %37, 4 br i1 %38, label %.lr.ph8, label %63 .lr.ph8: ; preds = %36 br label %39 39: ; preds = %.lr.ph8, %58 store i32 0, ptr %4, align 4 %40 = load i32, ptr %4, align 4 %41 = icmp sle i32 %40, 4 br i1 %41, label %.lr.ph5, label %56 .lr.ph5: ; preds = %39 br label %42 42: ; preds = %.lr.ph5, %51 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [5 x [5 x i32]], ptr %2, i64 0, i64 %44 %46 = load i32, ptr %4, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [5 x i32], ptr %45, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %49) br label %51 51: ; preds = %42 %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %4, align 4 %54 = load i32, ptr %4, align 4 %55 = icmp sle i32 %54, 4 br i1 %55, label %42, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %51 br label %56 56: ; preds = %._crit_edge6, %39 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %58 58: ; preds = %56 %59 = load i32, ptr %3, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %3, align 4 %61 = load i32, ptr %3, align 4 %62 = icmp sle i32 %61, 4 br i1 %62, label %39, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %58 br label %63 63: ; preds = %._crit_edge9, %36 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %65 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %67 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %68 = load i32, ptr %3, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [5 x [5 x i32]], ptr %2, i64 0, i64 %69 %71 = load i32, ptr %4, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [5 x i32], ptr %70, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = icmp eq i32 %74, 1 br i1 %75, label %76, label %78 76: ; preds = %63 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %90 78: ; preds = %63 %79 = load i32, ptr %3, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [5 x [5 x i32]], ptr %2, i64 0, i64 %80 %82 = load i32, ptr %4, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [5 x i32], ptr %81, i64 0, i64 %83 %85 = load i32, ptr %84, align 4 %86 = icmp eq i32 %85, 0 br i1 %86, label %87, label %89 87: ; preds = %78 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %89 89: ; preds = %87, %78 br label %90 90: ; preds = %89, %76 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %92 = call i32 (ptr, ...) @scanf(ptr noundef @.str.9, ptr noundef %5) %93 = load i8, ptr %5, align 1 %94 = sext i8 %93 to i32 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %94) br label %96 96: ; preds = %90 %97 = load i8, ptr %5, align 1 %98 = sext i8 %97 to i32 %99 = icmp eq i32 %98, 115 br i1 %99, label %6, label %100, !llvm.loop !11 100: ; preds = %96 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpvai0c1yt.c' source_filename = "/tmp/tmpvai0c1yt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"In exitTest . . .\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) %7 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvai0c1yt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"In exitTest . . .\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) %7 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp39aalc2c.c' source_filename = "/tmp/tmp39aalc2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isSquareSum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 0, ptr %6, align 8 br label %9 9: ; preds = %55, %2 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %6, align 8 %12 = getelementptr inbounds i64, ptr %10, i64 %11 %13 = load i64, ptr %12, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %58 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %6, align 8 %18 = getelementptr inbounds i64, ptr %16, i64 %17 %19 = load i64, ptr %18, align 8 %20 = load i64, ptr %5, align 8 %21 = icmp ugt i64 %19, %20 br i1 %21, label %22, label %23 22: ; preds = %15 store i64 0, ptr %3, align 8 br label %59 23: ; preds = %15 store i64 0, ptr %7, align 8 %24 = load i64, ptr %6, align 8 %25 = trunc i64 %24 to i32 store i32 %25, ptr %8, align 4 br label %26 26: ; preds = %51, %23 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i64, ptr %27, i64 %29 %31 = load i64, ptr %30, align 8 %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %54 33: ; preds = %26 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i64, ptr %34, i64 %36 %38 = load i64, ptr %37, align 8 %39 = load i64, ptr %7, align 8 %40 = add i64 %39, %38 store i64 %40, ptr %7, align 8 %41 = load i64, ptr %7, align 8 %42 = load i64, ptr %5, align 8 %43 = icmp ugt i64 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %33 br label %54 45: ; preds = %33 %46 = load i64, ptr %5, align 8 %47 = load i64, ptr %7, align 8 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %50 49: ; preds = %45 store i64 1, ptr %3, align 8 br label %59 50: ; preds = %45 br label %51 51: ; preds = %50 %52 = load i32, ptr %8, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %8, align 4 br label %26, !llvm.loop !6 54: ; preds = %44, %26 br label %55 55: ; preds = %54 %56 = load i64, ptr %6, align 8 %57 = add i64 %56, 1 store i64 %57, ptr %6, align 8 br label %9, !llvm.loop !8 58: ; preds = %9 store i64 0, ptr %3, align 8 br label %59 59: ; preds = %58, %49, %22 %60 = load i64, ptr %3, align 8 ret i64 %60 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp39aalc2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isSquareSum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 0, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i64, ptr %6, align 8 %11 = getelementptr inbounds i64, ptr %9, i64 %10 %12 = load i64, ptr %11, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %.lr.ph1, label %67 .lr.ph1: ; preds = %2 br label %14 14: ; preds = %.lr.ph1, %59 %15 = load ptr, ptr %4, align 8 %16 = load i64, ptr %6, align 8 %17 = getelementptr inbounds i64, ptr %15, i64 %16 %18 = load i64, ptr %17, align 8 %19 = load i64, ptr %5, align 8 %20 = icmp ugt i64 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %14 store i64 0, ptr %3, align 8 br label %68 22: ; preds = %14 store i64 0, ptr %7, align 8 %23 = load i64, ptr %6, align 8 %24 = trunc i64 %23 to i32 store i32 %24, ptr %8, align 4 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i64, ptr %25, i64 %27 %29 = load i64, ptr %28, align 8 %30 = icmp ne i64 %29, 0 br i1 %30, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %22 br label %31 31: ; preds = %.lr.ph, %49 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i64, ptr %32, i64 %34 %36 = load i64, ptr %35, align 8 %37 = load i64, ptr %7, align 8 %38 = add i64 %37, %36 store i64 %38, ptr %7, align 8 %39 = load i64, ptr %7, align 8 %40 = load i64, ptr %5, align 8 %41 = icmp ugt i64 %39, %40 br i1 %41, label %42, label %43 42: ; preds = %31 br label %58 43: ; preds = %31 %44 = load i64, ptr %5, align 8 %45 = load i64, ptr %7, align 8 %46 = icmp eq i64 %44, %45 br i1 %46, label %47, label %48 47: ; preds = %43 store i64 1, ptr %3, align 8 br label %68 48: ; preds = %43 br label %49 49: ; preds = %48 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %8, align 4 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %8, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i64, ptr %52, i64 %54 %56 = load i64, ptr %55, align 8 %57 = icmp ne i64 %56, 0 br i1 %57, label %31, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %49 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %22 br label %58 58: ; preds = %.loopexit, %42 br label %59 59: ; preds = %58 %60 = load i64, ptr %6, align 8 %61 = add i64 %60, 1 store i64 %61, ptr %6, align 8 %62 = load ptr, ptr %4, align 8 %63 = load i64, ptr %6, align 8 %64 = getelementptr inbounds i64, ptr %62, i64 %63 %65 = load i64, ptr %64, align 8 %66 = icmp ne i64 %65, 0 br i1 %66, label %14, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %59 br label %67 67: ; preds = %._crit_edge, %2 store i64 0, ptr %3, align 8 br label %68 68: ; preds = %67, %47, %21 %69 = load i64, ptr %3, align 8 ret i64 %69 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp416o4tl6.c' source_filename = "/tmp/tmp416o4tl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"X\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"XX\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"XXX\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"XL\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"L\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"LX\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"LXX\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"LXXX\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"XC\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printTens(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sdiv i32 %4, 10 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 switch i32 %6, label %25 [ i32 1, label %7 i32 2, label %9 i32 3, label %11 i32 4, label %13 i32 5, label %15 i32 6, label %17 i32 7, label %19 i32 8, label %21 i32 9, label %23 ] 7: ; preds = %1 %8 = call i32 @printf(ptr noundef @.str) br label %25 9: ; preds = %1 %10 = call i32 @printf(ptr noundef @.str.1) br label %25 11: ; preds = %1 %12 = call i32 @printf(ptr noundef @.str.2) br label %25 13: ; preds = %1 %14 = call i32 @printf(ptr noundef @.str.3) br label %25 15: ; preds = %1 %16 = call i32 @printf(ptr noundef @.str.4) br label %25 17: ; preds = %1 %18 = call i32 @printf(ptr noundef @.str.5) br label %25 19: ; preds = %1 %20 = call i32 @printf(ptr noundef @.str.6) br label %25 21: ; preds = %1 %22 = call i32 @printf(ptr noundef @.str.7) br label %25 23: ; preds = %1 %24 = call i32 @printf(ptr noundef @.str.8) br label %25 25: ; preds = %1, %23, %21, %19, %17, %15, %13, %11, %9, %7 %26 = load i32, ptr %2, align 4 %27 = srem i32 %26, 10 %28 = call i32 @printOnes(i32 noundef %27) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @printOnes(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/tmp416o4tl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"X\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"XX\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"XXX\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"XL\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"L\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"LX\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"LXX\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"LXXX\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"XC\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printTens(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sdiv i32 %4, 10 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 switch i32 %6, label %25 [ i32 1, label %7 i32 2, label %9 i32 3, label %11 i32 4, label %13 i32 5, label %15 i32 6, label %17 i32 7, label %19 i32 8, label %21 i32 9, label %23 ] 7: ; preds = %1 %8 = call i32 @printf(ptr noundef @.str) br label %25 9: ; preds = %1 %10 = call i32 @printf(ptr noundef @.str.1) br label %25 11: ; preds = %1 %12 = call i32 @printf(ptr noundef @.str.2) br label %25 13: ; preds = %1 %14 = call i32 @printf(ptr noundef @.str.3) br label %25 15: ; preds = %1 %16 = call i32 @printf(ptr noundef @.str.4) br label %25 17: ; preds = %1 %18 = call i32 @printf(ptr noundef @.str.5) br label %25 19: ; preds = %1 %20 = call i32 @printf(ptr noundef @.str.6) br label %25 21: ; preds = %1 %22 = call i32 @printf(ptr noundef @.str.7) br label %25 23: ; preds = %1 %24 = call i32 @printf(ptr noundef @.str.8) br label %25 25: ; preds = %23, %21, %19, %17, %15, %13, %11, %9, %7, %1 %26 = load i32, ptr %2, align 4 %27 = srem i32 %26, 10 %28 = call i32 @printOnes(i32 noundef %27) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @printOnes(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/tmpljijgtsc.c' source_filename = "/tmp/tmpljijgtsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yv12_to_i420(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = mul nsw i32 %11, %12 %14 = call i32 @memcpy(ptr noundef %9, ptr noundef %10, i32 noundef %13) %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = mul nsw i32 %16, %17 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %15, i64 %19 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %8, align 4 %24 = mul nsw i32 %22, %23 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %21, i64 %25 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = mul nsw i32 %27, %28 %30 = sdiv i32 %29, 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %26, i64 %31 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %8, align 4 %35 = mul nsw i32 %33, %34 %36 = sdiv i32 %35, 4 %37 = call i32 @memcpy(ptr noundef %20, ptr noundef %32, i32 noundef %36) %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %8, align 4 %41 = mul nsw i32 %39, %40 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %38, i64 %42 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %8, align 4 %46 = mul nsw i32 %44, %45 %47 = sdiv i32 %46, 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %43, i64 %48 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %8, align 4 %53 = mul nsw i32 %51, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %50, i64 %54 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %8, align 4 %58 = mul nsw i32 %56, %57 %59 = sdiv i32 %58, 4 %60 = call i32 @memcpy(ptr noundef %49, ptr noundef %55, i32 noundef %59) 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/tmpljijgtsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yv12_to_i420(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = mul nsw i32 %11, %12 %14 = call i32 @memcpy(ptr noundef %9, ptr noundef %10, i32 noundef %13) %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = mul nsw i32 %16, %17 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %15, i64 %19 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %8, align 4 %24 = mul nsw i32 %22, %23 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %21, i64 %25 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = mul nsw i32 %27, %28 %30 = sdiv i32 %29, 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %26, i64 %31 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %8, align 4 %35 = mul nsw i32 %33, %34 %36 = sdiv i32 %35, 4 %37 = call i32 @memcpy(ptr noundef %20, ptr noundef %32, i32 noundef %36) %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %8, align 4 %41 = mul nsw i32 %39, %40 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %38, i64 %42 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %8, align 4 %46 = mul nsw i32 %44, %45 %47 = sdiv i32 %46, 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %43, i64 %48 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %8, align 4 %53 = mul nsw i32 %51, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %50, i64 %54 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %8, align 4 %58 = mul nsw i32 %56, %57 %59 = sdiv i32 %58, 4 %60 = call i32 @memcpy(ptr noundef %49, ptr noundef %55, i32 noundef %59) 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/tmpzotuif6h.c' source_filename = "/tmp/tmpzotuif6h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @_cleanse(ptr noundef %5, i64 noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @free(ptr noundef %8) store ptr null, ptr %3, align 8 ret void } declare i32 @_cleanse(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzotuif6h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @_cleanse(ptr noundef %5, i64 noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @free(ptr noundef %8) store ptr null, ptr %3, align 8 ret void } declare i32 @_cleanse(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp200m32d7.c' source_filename = "/tmp/tmp200m32d7.c" target datalayout = "e-m:e-p270: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/tmp200m32d7.c" target datalayout = "e-m:e-p270: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/tmpmviq63er.c' source_filename = "/tmp/tmpmviq63er.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spng_dec_read_bitsR(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %17, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp ult i32 %8, %9 br i1 %10, label %11, label %20 11: ; preds = %7 %12 = load i32, ptr %5, align 4 %13 = shl i32 %12, 1 %14 = load ptr, ptr %3, align 8 %15 = call i32 @spng_dec_read_bit(ptr noundef %14) %16 = or i32 %13, %15 store i32 %16, ptr %5, align 4 br label %17 17: ; preds = %11 %18 = load i32, ptr %6, align 4 %19 = add i32 %18, 1 store i32 %19, ptr %6, align 4 br label %7, !llvm.loop !6 20: ; preds = %7 %21 = load i32, ptr %5, align 4 ret i32 %21 } declare i32 @spng_dec_read_bit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpmviq63er.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spng_dec_read_bitsR(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp ult i32 %7, %8 br i1 %9, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %16 %11 = load i32, ptr %5, align 4 %12 = shl i32 %11, 1 %13 = load ptr, ptr %3, align 8 %14 = call i32 @spng_dec_read_bit(ptr noundef %13) %15 = or i32 %12, %14 store i32 %15, ptr %5, align 4 br label %16 16: ; preds = %10 %17 = load i32, ptr %6, align 4 %18 = add i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp ult i32 %19, %20 br i1 %21, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = load i32, ptr %5, align 4 ret i32 %23 } declare i32 @spng_dec_read_bit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp72du380f.c' source_filename = "/tmp/tmp72du380f.c" target datalayout = "e-m:e-p270: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/tmp72du380f.c" target datalayout = "e-m:e-p270: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/tmpf6muesg0.c' source_filename = "/tmp/tmpf6muesg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"ERROR, invalid host: %s \0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"HOST IP %s\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Connection Initiated with %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @client_connect(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store ptr null, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = call ptr @gethostbyname(ptr noundef %11) store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %20 15: ; preds = %4 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %6, align 8 %18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %17) %19 = call i32 @exit(i32 noundef 0) #3 unreachable 20: ; preds = %4 %21 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12) %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %10, align 8 %25 = getelementptr inbounds %struct.hostent, ptr %24, i32 0, i32 1 %26 = load i64, ptr %25, align 8 %27 = inttoptr i64 %26 to ptr %28 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i32 0, i32 0 %30 = load ptr, ptr %10, align 8 %31 = getelementptr inbounds %struct.hostent, ptr %30, i32 0, i32 0 %32 = load i32, ptr %31, align 8 %33 = call i32 @bcopy(ptr noundef %27, ptr noundef %29, i32 noundef %32) %34 = load i32, ptr %8, align 4 %35 = call i32 @htons(i32 noundef %34) %36 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 store i32 %35, ptr %36, align 4 %37 = load i32, ptr %5, align 4 %38 = call i64 @connect(i32 noundef %37, ptr noundef %9, i32 noundef 12) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %20 %41 = load ptr, ptr %6, align 8 %42 = call i32 @printf(ptr noundef @.str.1, ptr noundef %41) %43 = call i32 @sockerror(ptr noundef @.str.2) br label %47 44: ; preds = %20 %45 = load ptr, ptr %7, align 8 %46 = call i32 @printf(ptr noundef @.str.3, ptr noundef %45) br label %47 47: ; preds = %44, %40 ret void } declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @sockerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpf6muesg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"ERROR, invalid host: %s \0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"HOST IP %s\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Connection Initiated with %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @client_connect(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca %struct.sockaddr_in, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store ptr null, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = call ptr @gethostbyname(ptr noundef %11) store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %20 15: ; preds = %4 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %6, align 8 %18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %17) %19 = call i32 @exit(i32 noundef 0) #3 unreachable 20: ; preds = %4 %21 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12) %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %10, align 8 %25 = getelementptr inbounds %struct.hostent, ptr %24, i32 0, i32 1 %26 = load i64, ptr %25, align 8 %27 = inttoptr i64 %26 to ptr %28 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i32 0, i32 0 %30 = load ptr, ptr %10, align 8 %31 = getelementptr inbounds %struct.hostent, ptr %30, i32 0, i32 0 %32 = load i32, ptr %31, align 8 %33 = call i32 @bcopy(ptr noundef %27, ptr noundef %29, i32 noundef %32) %34 = load i32, ptr %8, align 4 %35 = call i32 @htons(i32 noundef %34) %36 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 store i32 %35, ptr %36, align 4 %37 = load i32, ptr %5, align 4 %38 = call i64 @connect(i32 noundef %37, ptr noundef %9, i32 noundef 12) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %20 %41 = load ptr, ptr %6, align 8 %42 = call i32 @printf(ptr noundef @.str.1, ptr noundef %41) %43 = call i32 @sockerror(ptr noundef @.str.2) br label %47 44: ; preds = %20 %45 = load ptr, ptr %7, align 8 %46 = call i32 @printf(ptr noundef @.str.3, ptr noundef %45) br label %47 47: ; preds = %44, %40 ret void } declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @sockerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpm0w4si6e.c' source_filename = "/tmp/tmpm0w4si6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utest(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = lshr i32 %3, 0 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 (...) @link_error() br label %9 9: ; preds = %7, %1 %10 = load i32, ptr %2, align 4 %11 = shl i32 %10, 0 %12 = load i32, ptr %2, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = call i32 (...) @link_error() br label %16 16: ; preds = %14, %9 %17 = load i32, ptr %2, align 4 %18 = shl i32 0, %17 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 (...) @link_error() br label %22 22: ; preds = %20, %16 %23 = load i32, ptr %2, align 4 %24 = ashr i32 0, %23 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (...) @link_error() br label %28 28: ; preds = %26, %22 ret void } declare i32 @link_error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm0w4si6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utest(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = lshr i32 %3, 0 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 (...) @link_error() br label %9 9: ; preds = %7, %1 %10 = load i32, ptr %2, align 4 %11 = shl i32 %10, 0 %12 = load i32, ptr %2, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = call i32 (...) @link_error() br label %16 16: ; preds = %14, %9 %17 = load i32, ptr %2, align 4 %18 = shl i32 0, %17 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 (...) @link_error() br label %22 22: ; preds = %20, %16 %23 = load i32, ptr %2, align 4 %24 = ashr i32 0, %23 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (...) @link_error() br label %28 28: ; preds = %26, %22 ret void } declare i32 @link_error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpngk4m3_w.c' source_filename = "/tmp/tmpngk4m3_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpngk4m3_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd1x63vhb.c' source_filename = "/tmp/tmpd1x63vhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ml_print_vec4(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %15, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 4 br i1 %6, label %7, label %18 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds float, ptr %8, i64 %10 %12 = load float, ptr %11, align 4 %13 = fpext float %12 to double %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %13) br label %15 15: ; preds = %7 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %4, !llvm.loop !6 18: ; preds = %4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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/tmpd1x63vhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ml_print_vec4(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 4 br i1 %5, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %14 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds float, ptr %7, i64 %9 %11 = load float, ptr %10, align 4 %12 = fpext float %11 to double %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %12) br label %14 14: ; preds = %6 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 4 br i1 %18, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %1 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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/tmp0l5jc2i8.c' source_filename = "/tmp/tmp0l5jc2i8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @bitdump(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i8 %0, ptr %2, align 1 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %21, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 8 br i1 %6, label %7, label %24 7: ; preds = %4 %8 = load i8, ptr %2, align 1 %9 = zext i8 %8 to i32 %10 = and i32 %9, 128 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %7 %13 = call i32 @printf(ptr noundef @.str, i32 noundef 0) br label %16 14: ; preds = %7 %15 = call i32 @printf(ptr noundef @.str, i32 noundef 1) br label %16 16: ; preds = %14, %12 %17 = load i8, ptr %2, align 1 %18 = zext i8 %17 to i32 %19 = shl i32 %18, 1 %20 = trunc i32 %19 to i8 store i8 %20, ptr %2, align 1 br label %21 21: ; preds = %16 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 br label %4, !llvm.loop !6 24: ; preds = %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0l5jc2i8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @bitdump(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i8 %0, ptr %2, align 1 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 8 br i1 %5, label %.lr.ph, label %25 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %20 %7 = load i8, ptr %2, align 1 %8 = zext i8 %7 to i32 %9 = and i32 %8, 128 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %6 %12 = call i32 @printf(ptr noundef @.str, i32 noundef 0) br label %15 13: ; preds = %6 %14 = call i32 @printf(ptr noundef @.str, i32 noundef 1) br label %15 15: ; preds = %13, %11 %16 = load i8, ptr %2, align 1 %17 = zext i8 %16 to i32 %18 = shl i32 %17, 1 %19 = trunc i32 %18 to i8 store i8 %19, ptr %2, align 1 br label %20 20: ; preds = %15 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 8 br i1 %24, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %1 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2ixpqvhx.c' source_filename = "/tmp/tmp2ixpqvhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Enter number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Sum is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 1 br i1 %7, label %8, label %20 8: ; preds = %0 br label %9 9: ; preds = %12, %8 %10 = load i32, ptr %2, align 4 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %19 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = srem i32 %13, 10 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = sdiv i32 %17, 10 store i32 %18, ptr %2, align 4 br label %9, !llvm.loop !6 19: ; preds = %9 br label %21 20: ; preds = %0 store i32 1, ptr %3, align 4 br label %21 21: ; preds = %20, %19 %22 = load i32, ptr %3, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2ixpqvhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Enter number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Sum is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 1 br i1 %7, label %8, label %21 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %.lr.ph, label %20 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 10 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, %13 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = sdiv i32 %16, 10 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp sgt i32 %18, 1 br i1 %19, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %20 20: ; preds = %._crit_edge, %8 br label %22 21: ; preds = %0 store i32 1, ptr %3, align 4 br label %22 22: ; preds = %21, %20 %23 = load i32, ptr %3, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphfgbgiy0.c' source_filename = "/tmp/tmphfgbgiy0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"%s%d years %d days %d hours %d minutes %d seconds\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @sstrtotime(ptr noundef %14) store i32 %15, ptr %5, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @sstrtotime(ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = call i64 @malloc(i32 noundef 1024) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 1024) %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = sub nsw i32 %22, %23 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 0 %27 = zext i1 %26 to i64 %28 = select i1 %26, i32 1, i32 0 store i32 %28, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %2 %32 = load i32, ptr %7, align 4 %33 = mul nsw i32 -1, %32 store i32 %33, ptr %7, align 4 br label %34 34: ; preds = %31, %2 %35 = load i32, ptr %7, align 4 %36 = srem i32 %35, 60 store i32 %36, ptr %9, align 4 %37 = load i32, ptr %7, align 4 %38 = sdiv i32 %37, 60 store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = srem i32 %39, 60 store i32 %40, ptr %10, align 4 %41 = load i32, ptr %7, align 4 %42 = sdiv i32 %41, 60 store i32 %42, ptr %7, align 4 %43 = load i32, ptr %7, align 4 %44 = srem i32 %43, 24 store i32 %44, ptr %11, align 4 %45 = load i32, ptr %7, align 4 %46 = sdiv i32 %45, 24 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = srem i32 %47, 365 store i32 %48, ptr %12, align 4 %49 = load i32, ptr %7, align 4 %50 = sdiv i32 %49, 365 store i32 %50, ptr %7, align 4 %51 = load i32, ptr %7, align 4 store i32 %51, ptr %13, align 4 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %8, align 4 %54 = icmp ne i32 %53, 0 %55 = zext i1 %54 to i64 %56 = select i1 %54, ptr @.str.1, ptr @.str.2 %57 = load i32, ptr %13, align 4 %58 = load i32, ptr %12, align 4 %59 = load i32, ptr %11, align 4 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %9, align 4 %62 = call i32 @sprintf(ptr noundef %52, ptr noundef @.str, ptr noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef %60, i32 noundef %61) %63 = load ptr, ptr %3, align 8 ret ptr %63 } declare i32 @sstrtotime(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphfgbgiy0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"%s%d years %d days %d hours %d minutes %d seconds\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @sstrtotime(ptr noundef %14) store i32 %15, ptr %5, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @sstrtotime(ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = call i64 @malloc(i32 noundef 1024) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 1024) %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = sub nsw i32 %22, %23 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 0 %27 = zext i1 %26 to i64 %28 = select i1 %26, i32 1, i32 0 store i32 %28, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %2 %32 = load i32, ptr %7, align 4 %33 = mul nsw i32 -1, %32 store i32 %33, ptr %7, align 4 br label %34 34: ; preds = %31, %2 %35 = load i32, ptr %7, align 4 %36 = srem i32 %35, 60 store i32 %36, ptr %9, align 4 %37 = load i32, ptr %7, align 4 %38 = sdiv i32 %37, 60 store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = srem i32 %39, 60 store i32 %40, ptr %10, align 4 %41 = load i32, ptr %7, align 4 %42 = sdiv i32 %41, 60 store i32 %42, ptr %7, align 4 %43 = load i32, ptr %7, align 4 %44 = srem i32 %43, 24 store i32 %44, ptr %11, align 4 %45 = load i32, ptr %7, align 4 %46 = sdiv i32 %45, 24 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = srem i32 %47, 365 store i32 %48, ptr %12, align 4 %49 = load i32, ptr %7, align 4 %50 = sdiv i32 %49, 365 store i32 %50, ptr %7, align 4 %51 = load i32, ptr %7, align 4 store i32 %51, ptr %13, align 4 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %8, align 4 %54 = icmp ne i32 %53, 0 %55 = zext i1 %54 to i64 %56 = select i1 %54, ptr @.str.1, ptr @.str.2 %57 = load i32, ptr %13, align 4 %58 = load i32, ptr %12, align 4 %59 = load i32, ptr %11, align 4 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %9, align 4 %62 = call i32 @sprintf(ptr noundef %52, ptr noundef @.str, ptr noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef %60, i32 noundef %61) %63 = load ptr, ptr %3, align 8 ret ptr %63 } declare i32 @sstrtotime(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}