llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpy61mbyq6.c' source_filename = "/tmp/tmpy61mbyq6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llround(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 i64 @round(double noundef %3) ret i64 %4 } declare i64 @round(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy61mbyq6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llround(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 i64 @round(double noundef %3) ret i64 %4 } declare i64 @round(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5c7w0sj4.c' source_filename = "/tmp/tmp5c7w0sj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"AT*REF=%d,%d\0D\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"[%s:%d] Error: Buffer is null!\00", align 1 @.str.2 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/super7ramp/Leonard/refs/heads/master/src/com/at-commands.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @at_ref(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %3 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %11, i32 noundef %12) br label %17 14: ; preds = %3 %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 26) br label %17 17: ; preds = %14, %9 %18 = load ptr, ptr %4, align 8 ret ptr %18 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, 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/tmp5c7w0sj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"AT*REF=%d,%d\0D\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"[%s:%d] Error: Buffer is null!\00", align 1 @.str.2 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/super7ramp/Leonard/refs/heads/master/src/com/at-commands.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @at_ref(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %3 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %11, i32 noundef %12) br label %17 14: ; preds = %3 %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 26) br label %17 17: ; preds = %14, %9 %18 = load ptr, ptr %4, align 8 ret ptr %18 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, 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/tmp97o6k8y1.c' source_filename = "/tmp/tmp97o6k8y1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_equal(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp eq i64 %5, %6 %8 = zext i1 %7 to i32 ret i32 %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp97o6k8y1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_equal(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp eq i64 %5, %6 %8 = zext i1 %7 to i32 ret i32 %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7o809yzk.c' source_filename = "/tmp/tmp7o809yzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_imatrix3D(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %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 %8, align 8 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr %11, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %13, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = getelementptr inbounds i32, ptr %26, i64 -1 %28 = call i32 @free(ptr noundef %27) %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %11, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = getelementptr inbounds ptr, ptr %36, i64 -1 %38 = call i32 @free(ptr noundef %37) %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = getelementptr inbounds ptr, ptr %42, i64 -1 %44 = call i32 @free(ptr noundef %43) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7o809yzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_imatrix3D(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %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 %8, align 8 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr %11, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %13, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = getelementptr inbounds i32, ptr %26, i64 -1 %28 = call i32 @free(ptr noundef %27) %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %11, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = getelementptr inbounds ptr, ptr %36, i64 -1 %38 = call i32 @free(ptr noundef %37) %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = getelementptr inbounds ptr, ptr %42, i64 -1 %44 = call i32 @free(ptr noundef %43) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpofisebav.c' source_filename = "/tmp/tmpofisebav.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Fulano de_tal-cicrano\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 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printUpper(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @printUpperP(ptr noundef %5) ret i32 0 } declare i32 @printUpper(ptr noundef) #1 declare i32 @printUpperP(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpofisebav.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Fulano de_tal-cicrano\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 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printUpper(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @printUpperP(ptr noundef %5) ret i32 0 } declare i32 @printUpper(ptr noundef) #1 declare i32 @printUpperP(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0aaxxs13.c' source_filename = "/tmp/tmp0aaxxs13.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateZRotationMatrix4dRad(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %4, align 8 %6 = call double @cos(double noundef %5) #2 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 store double %6, ptr %8, align 8 %9 = load double, ptr %4, align 8 %10 = call double @sin(double noundef %9) #2 %11 = fneg double %10 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds double, ptr %12, i64 4 store double %11, ptr %13, align 8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds double, ptr %14, i64 8 store double 0.000000e+00, ptr %15, align 8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds double, ptr %16, i64 12 store double 0.000000e+00, ptr %17, align 8 %18 = load double, ptr %4, align 8 %19 = call double @sin(double noundef %18) #2 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds double, ptr %20, i64 1 store double %19, ptr %21, align 8 %22 = load double, ptr %4, align 8 %23 = call double @cos(double noundef %22) #2 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds double, ptr %24, i64 5 store double %23, ptr %25, align 8 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds double, ptr %26, i64 9 store double 0.000000e+00, ptr %27, align 8 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds double, ptr %28, i64 13 store double 0.000000e+00, ptr %29, align 8 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds double, ptr %30, i64 2 store double 0.000000e+00, ptr %31, align 8 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds double, ptr %32, i64 6 store double 0.000000e+00, ptr %33, align 8 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds double, ptr %34, i64 10 store double 1.000000e+00, ptr %35, align 8 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds double, ptr %36, i64 14 store double 0.000000e+00, ptr %37, align 8 %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds double, ptr %38, i64 3 store double 0.000000e+00, ptr %39, align 8 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds double, ptr %40, i64 7 store double 0.000000e+00, ptr %41, align 8 %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds double, ptr %42, i64 11 store double 0.000000e+00, ptr %43, align 8 %44 = load ptr, ptr %3, align 8 %45 = getelementptr inbounds double, ptr %44, i64 15 store double 1.000000e+00, ptr %45, align 8 ret void } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0aaxxs13.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateZRotationMatrix4dRad(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %4, align 8 %6 = call double @cos(double noundef %5) #2 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds double, ptr %7, i64 0 store double %6, ptr %8, align 8 %9 = load double, ptr %4, align 8 %10 = call double @sin(double noundef %9) #2 %11 = fneg double %10 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds double, ptr %12, i64 4 store double %11, ptr %13, align 8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds double, ptr %14, i64 8 store double 0.000000e+00, ptr %15, align 8 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds double, ptr %16, i64 12 store double 0.000000e+00, ptr %17, align 8 %18 = load double, ptr %4, align 8 %19 = call double @sin(double noundef %18) #2 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds double, ptr %20, i64 1 store double %19, ptr %21, align 8 %22 = load double, ptr %4, align 8 %23 = call double @cos(double noundef %22) #2 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds double, ptr %24, i64 5 store double %23, ptr %25, align 8 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds double, ptr %26, i64 9 store double 0.000000e+00, ptr %27, align 8 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds double, ptr %28, i64 13 store double 0.000000e+00, ptr %29, align 8 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds double, ptr %30, i64 2 store double 0.000000e+00, ptr %31, align 8 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds double, ptr %32, i64 6 store double 0.000000e+00, ptr %33, align 8 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds double, ptr %34, i64 10 store double 1.000000e+00, ptr %35, align 8 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds double, ptr %36, i64 14 store double 0.000000e+00, ptr %37, align 8 %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds double, ptr %38, i64 3 store double 0.000000e+00, ptr %39, align 8 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds double, ptr %40, i64 7 store double 0.000000e+00, ptr %41, align 8 %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds double, ptr %42, i64 11 store double 0.000000e+00, ptr %43, align 8 %44 = load ptr, ptr %3, align 8 %45 = getelementptr inbounds double, ptr %44, i64 15 store double 1.000000e+00, ptr %45, align 8 ret void } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6q8ytud8.c' source_filename = "/tmp/tmp6q8ytud8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__WORDSIZE = 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/tmp6q8ytud8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__WORDSIZE = 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/tmpmhbg_poz.c' source_filename = "/tmp/tmpmhbg_poz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trackball(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca [3 x double], align 16 %12 = alloca double, align 8 %13 = alloca [3 x double], align 16 %14 = alloca [3 x double], align 16 %15 = alloca [3 x double], align 16 %16 = alloca double, align 8 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %17 = load double, ptr %7, align 8 %18 = load double, ptr %9, align 8 %19 = fcmp oeq double %17, %18 br i1 %19, label %20, label %29 20: ; preds = %5 %21 = load double, ptr %8, align 8 %22 = load double, ptr %10, align 8 %23 = fcmp oeq double %21, %22 br i1 %23, label %24, label %29 24: ; preds = %20 %25 = load ptr, ptr %6, align 8 %26 = call i32 @vset(ptr noundef %25, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds double, ptr %27, i64 3 store double 1.000000e+00, ptr %28, align 8 br label %72 29: ; preds = %20, %5 %30 = load double, ptr %7, align 8 %31 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0 store double %30, ptr %31, align 16 %32 = load double, ptr %8, align 8 %33 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 1 store double %32, ptr %33, align 8 %34 = load double, ptr %7, align 8 %35 = load double, ptr %8, align 8 %36 = call double @tb_project_to_sphere(double noundef 1.000000e+00, double noundef %34, double noundef %35) %37 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 2 store double %36, ptr %37, align 16 %38 = load double, ptr %9, align 8 %39 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 store double %38, ptr %39, align 16 %40 = load double, ptr %10, align 8 %41 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1 store double %40, ptr %41, align 8 %42 = load double, ptr %9, align 8 %43 = load double, ptr %10, align 8 %44 = call double @tb_project_to_sphere(double noundef 1.000000e+00, double noundef %42, double noundef %43) %45 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2 store double %44, ptr %45, align 16 %46 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0 %47 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 %48 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0 %49 = call i32 @vcross(ptr noundef %46, ptr noundef %47, ptr noundef %48) %50 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0 %51 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0 %52 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 %53 = call i32 @vsub(ptr noundef %50, ptr noundef %51, ptr noundef %52) %54 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0 %55 = call double @vlength(ptr noundef %54) %56 = fdiv double %55, 2.000000e+00 store double %56, ptr %16, align 8 %57 = load double, ptr %16, align 8 %58 = fcmp ogt double %57, 1.000000e+00 br i1 %58, label %59, label %60 59: ; preds = %29 store double 1.000000e+00, ptr %16, align 8 br label %60 60: ; preds = %59, %29 %61 = load double, ptr %16, align 8 %62 = fcmp olt double %61, -1.000000e+00 br i1 %62, label %63, label %64 63: ; preds = %60 store double -1.000000e+00, ptr %16, align 8 br label %64 64: ; preds = %63, %60 %65 = load double, ptr %16, align 8 %66 = call double @asin(double noundef %65) #3 %67 = fmul double 2.000000e+00, %66 store double %67, ptr %12, align 8 %68 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0 %69 = load double, ptr %12, align 8 %70 = load ptr, ptr %6, align 8 %71 = call i32 @axis_to_quat(ptr noundef %68, double noundef %69, ptr noundef %70) br label %72 72: ; preds = %64, %24 ret void } declare i32 @vset(ptr noundef, double noundef, double noundef, double noundef) #1 declare double @tb_project_to_sphere(double noundef, double noundef, double noundef) #1 declare i32 @vcross(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @vsub(ptr noundef, ptr noundef, ptr noundef) #1 declare double @vlength(ptr noundef) #1 ; Function Attrs: nounwind declare double @asin(double noundef) #2 declare i32 @axis_to_quat(ptr noundef, double noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmhbg_poz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trackball(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca [3 x double], align 16 %12 = alloca double, align 8 %13 = alloca [3 x double], align 16 %14 = alloca [3 x double], align 16 %15 = alloca [3 x double], align 16 %16 = alloca double, align 8 store ptr %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %17 = load double, ptr %7, align 8 %18 = load double, ptr %9, align 8 %19 = fcmp oeq double %17, %18 br i1 %19, label %20, label %29 20: ; preds = %5 %21 = load double, ptr %8, align 8 %22 = load double, ptr %10, align 8 %23 = fcmp oeq double %21, %22 br i1 %23, label %24, label %29 24: ; preds = %20 %25 = load ptr, ptr %6, align 8 %26 = call i32 @vset(ptr noundef %25, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds double, ptr %27, i64 3 store double 1.000000e+00, ptr %28, align 8 br label %72 29: ; preds = %20, %5 %30 = load double, ptr %7, align 8 %31 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0 store double %30, ptr %31, align 16 %32 = load double, ptr %8, align 8 %33 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 1 store double %32, ptr %33, align 8 %34 = load double, ptr %7, align 8 %35 = load double, ptr %8, align 8 %36 = call double @tb_project_to_sphere(double noundef 1.000000e+00, double noundef %34, double noundef %35) %37 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 2 store double %36, ptr %37, align 16 %38 = load double, ptr %9, align 8 %39 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 store double %38, ptr %39, align 16 %40 = load double, ptr %10, align 8 %41 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 1 store double %40, ptr %41, align 8 %42 = load double, ptr %9, align 8 %43 = load double, ptr %10, align 8 %44 = call double @tb_project_to_sphere(double noundef 1.000000e+00, double noundef %42, double noundef %43) %45 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 2 store double %44, ptr %45, align 16 %46 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0 %47 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 %48 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0 %49 = call i32 @vcross(ptr noundef %46, ptr noundef %47, ptr noundef %48) %50 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0 %51 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0 %52 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0 %53 = call i32 @vsub(ptr noundef %50, ptr noundef %51, ptr noundef %52) %54 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 0 %55 = call double @vlength(ptr noundef %54) %56 = fdiv double %55, 2.000000e+00 store double %56, ptr %16, align 8 %57 = load double, ptr %16, align 8 %58 = fcmp ogt double %57, 1.000000e+00 br i1 %58, label %59, label %60 59: ; preds = %29 store double 1.000000e+00, ptr %16, align 8 br label %60 60: ; preds = %59, %29 %61 = load double, ptr %16, align 8 %62 = fcmp olt double %61, -1.000000e+00 br i1 %62, label %63, label %64 63: ; preds = %60 store double -1.000000e+00, ptr %16, align 8 br label %64 64: ; preds = %63, %60 %65 = load double, ptr %16, align 8 %66 = call double @asin(double noundef %65) #3 %67 = fmul double 2.000000e+00, %66 store double %67, ptr %12, align 8 %68 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 0 %69 = load double, ptr %12, align 8 %70 = load ptr, ptr %6, align 8 %71 = call i32 @axis_to_quat(ptr noundef %68, double noundef %69, ptr noundef %70) br label %72 72: ; preds = %64, %24 ret void } declare i32 @vset(ptr noundef, double noundef, double noundef, double noundef) #1 declare double @tb_project_to_sphere(double noundef, double noundef, double noundef) #1 declare i32 @vcross(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @vsub(ptr noundef, ptr noundef, ptr noundef) #1 declare double @vlength(ptr noundef) #1 ; Function Attrs: nounwind declare double @asin(double noundef) #2 declare i32 @axis_to_quat(ptr noundef, double noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuzu9ju9n.c' source_filename = "/tmp/tmpuzu9ju9n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_list(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %10, align 4 %11 = load i32, ptr %7, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %7, align 4 %13 = call i32 (...) @wait_keyup() br label %14 14: ; preds = %4, %116 %15 = call i32 (...) @get_key() store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 switch i32 %16, label %103 [ i32 28, label %17 i32 14, label %26 i32 11, label %37 i32 2, label %43 i32 3, label %49 i32 4, label %55 i32 5, label %61 i32 6, label %67 i32 7, label %73 i32 8, label %79 i32 9, label %85 i32 10, label %91 i32 51, label %97 ] 17: ; preds = %14 %18 = load i32, ptr %10, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 0, ptr %24, align 1 br label %117 25: ; preds = %17 br label %103 26: ; preds = %14 %27 = load i32, ptr %10, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %26 %30 = load i32, ptr %10, align 4 %31 = sub nsw i32 %30, 1 store i32 %31, ptr %10, align 4 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 32, ptr %35, align 1 br label %36 36: ; preds = %29, %26 br label %103 37: ; preds = %14 %38 = load ptr, ptr %8, align 8 %39 = load i32, ptr %10, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %10, align 4 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 store i8 48, ptr %42, align 1 br label %103 43: ; preds = %14 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds i8, ptr %44, i64 %47 store i8 49, ptr %48, align 1 br label %103 49: ; preds = %14 %50 = load ptr, ptr %8, align 8 %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %10, align 4 %53 = sext i32 %51 to i64 %54 = getelementptr inbounds i8, ptr %50, i64 %53 store i8 50, ptr %54, align 1 br label %103 55: ; preds = %14 %56 = load ptr, ptr %8, align 8 %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 store i8 51, ptr %60, align 1 br label %103 61: ; preds = %14 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %10, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %10, align 4 %65 = sext i32 %63 to i64 %66 = getelementptr inbounds i8, ptr %62, i64 %65 store i8 52, ptr %66, align 1 br label %103 67: ; preds = %14 %68 = load ptr, ptr %8, align 8 %69 = load i32, ptr %10, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %10, align 4 %71 = sext i32 %69 to i64 %72 = getelementptr inbounds i8, ptr %68, i64 %71 store i8 53, ptr %72, align 1 br label %103 73: ; preds = %14 %74 = load ptr, ptr %8, align 8 %75 = load i32, ptr %10, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %10, align 4 %77 = sext i32 %75 to i64 %78 = getelementptr inbounds i8, ptr %74, i64 %77 store i8 54, ptr %78, align 1 br label %103 79: ; preds = %14 %80 = load ptr, ptr %8, align 8 %81 = load i32, ptr %10, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %10, align 4 %83 = sext i32 %81 to i64 %84 = getelementptr inbounds i8, ptr %80, i64 %83 store i8 55, ptr %84, align 1 br label %103 85: ; preds = %14 %86 = load ptr, ptr %8, align 8 %87 = load i32, ptr %10, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %10, align 4 %89 = sext i32 %87 to i64 %90 = getelementptr inbounds i8, ptr %86, i64 %89 store i8 56, ptr %90, align 1 br label %103 91: ; preds = %14 %92 = load ptr, ptr %8, align 8 %93 = load i32, ptr %10, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %10, align 4 %95 = sext i32 %93 to i64 %96 = getelementptr inbounds i8, ptr %92, i64 %95 store i8 57, ptr %96, align 1 br label %103 97: ; preds = %14 %98 = load ptr, ptr %8, align 8 %99 = load i32, ptr %10, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %10, align 4 %101 = sext i32 %99 to i64 %102 = getelementptr inbounds i8, ptr %98, i64 %101 store i8 44, ptr %102, align 1 br label %103 103: ; preds = %14, %97, %91, %85, %79, %73, %67, %61, %55, %49, %43, %37, %36, %25 %104 = load i32, ptr %5, align 4 %105 = load i32, ptr %6, align 4 %106 = load ptr, ptr %8, align 8 %107 = call i32 @cprint(i32 noundef %104, i32 noundef %105, ptr noundef %106) %108 = load i32, ptr %10, align 4 %109 = load i32, ptr %7, align 4 %110 = icmp sge i32 %108, %109 br i1 %110, label %111, label %116 111: ; preds = %103 %112 = load ptr, ptr %8, align 8 %113 = load i32, ptr %10, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i8, ptr %112, i64 %114 store i8 0, ptr %115, align 1 br label %117 116: ; preds = %103 br label %14 117: ; preds = %111, %20 ret void } declare i32 @wait_keyup(...) #1 declare i32 @get_key(...) #1 declare i32 @cprint(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/tmpuzu9ju9n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_list(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %10, align 4 %11 = load i32, ptr %7, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %7, align 4 %13 = call i32 (...) @wait_keyup() br label %14 14: ; preds = %103, %4 %15 = call i32 (...) @get_key() store i32 %15, ptr %9, align 4 %16 = load i32, ptr %9, align 4 switch i32 %16, label %103 [ i32 28, label %17 i32 14, label %26 i32 11, label %37 i32 2, label %43 i32 3, label %49 i32 4, label %55 i32 5, label %61 i32 6, label %67 i32 7, label %73 i32 8, label %79 i32 9, label %85 i32 10, label %91 i32 51, label %97 ] 17: ; preds = %14 %18 = load i32, ptr %10, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 0, ptr %24, align 1 br label %116 25: ; preds = %17 br label %103 26: ; preds = %14 %27 = load i32, ptr %10, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %26 %30 = load i32, ptr %10, align 4 %31 = sub nsw i32 %30, 1 store i32 %31, ptr %10, align 4 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 32, ptr %35, align 1 br label %36 36: ; preds = %29, %26 br label %103 37: ; preds = %14 %38 = load ptr, ptr %8, align 8 %39 = load i32, ptr %10, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %10, align 4 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 store i8 48, ptr %42, align 1 br label %103 43: ; preds = %14 %44 = load ptr, ptr %8, align 8 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds i8, ptr %44, i64 %47 store i8 49, ptr %48, align 1 br label %103 49: ; preds = %14 %50 = load ptr, ptr %8, align 8 %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %10, align 4 %53 = sext i32 %51 to i64 %54 = getelementptr inbounds i8, ptr %50, i64 %53 store i8 50, ptr %54, align 1 br label %103 55: ; preds = %14 %56 = load ptr, ptr %8, align 8 %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 store i8 51, ptr %60, align 1 br label %103 61: ; preds = %14 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %10, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %10, align 4 %65 = sext i32 %63 to i64 %66 = getelementptr inbounds i8, ptr %62, i64 %65 store i8 52, ptr %66, align 1 br label %103 67: ; preds = %14 %68 = load ptr, ptr %8, align 8 %69 = load i32, ptr %10, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %10, align 4 %71 = sext i32 %69 to i64 %72 = getelementptr inbounds i8, ptr %68, i64 %71 store i8 53, ptr %72, align 1 br label %103 73: ; preds = %14 %74 = load ptr, ptr %8, align 8 %75 = load i32, ptr %10, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %10, align 4 %77 = sext i32 %75 to i64 %78 = getelementptr inbounds i8, ptr %74, i64 %77 store i8 54, ptr %78, align 1 br label %103 79: ; preds = %14 %80 = load ptr, ptr %8, align 8 %81 = load i32, ptr %10, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %10, align 4 %83 = sext i32 %81 to i64 %84 = getelementptr inbounds i8, ptr %80, i64 %83 store i8 55, ptr %84, align 1 br label %103 85: ; preds = %14 %86 = load ptr, ptr %8, align 8 %87 = load i32, ptr %10, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %10, align 4 %89 = sext i32 %87 to i64 %90 = getelementptr inbounds i8, ptr %86, i64 %89 store i8 56, ptr %90, align 1 br label %103 91: ; preds = %14 %92 = load ptr, ptr %8, align 8 %93 = load i32, ptr %10, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %10, align 4 %95 = sext i32 %93 to i64 %96 = getelementptr inbounds i8, ptr %92, i64 %95 store i8 57, ptr %96, align 1 br label %103 97: ; preds = %14 %98 = load ptr, ptr %8, align 8 %99 = load i32, ptr %10, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %10, align 4 %101 = sext i32 %99 to i64 %102 = getelementptr inbounds i8, ptr %98, i64 %101 store i8 44, ptr %102, align 1 br label %103 103: ; preds = %97, %91, %85, %79, %73, %67, %61, %55, %49, %43, %37, %36, %25, %14 %104 = load i32, ptr %5, align 4 %105 = load i32, ptr %6, align 4 %106 = load ptr, ptr %8, align 8 %107 = call i32 @cprint(i32 noundef %104, i32 noundef %105, ptr noundef %106) %108 = load i32, ptr %10, align 4 %109 = load i32, ptr %7, align 4 %110 = icmp sge i32 %108, %109 br i1 %110, label %111, label %14 111: ; preds = %103 %112 = load ptr, ptr %8, align 8 %113 = load i32, ptr %10, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i8, ptr %112, i64 %114 store i8 0, ptr %115, align 1 br label %116 116: ; preds = %111, %20 ret void } declare i32 @wait_keyup(...) #1 declare i32 @get_key(...) #1 declare i32 @cprint(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/tmpxsat5qfb.c' source_filename = "/tmp/tmpxsat5qfb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [272 x i8] c"Usage: (-d | -c) <file.cpk> [<-t> <desc.txt>] [<-o> <dir>]\0A\09-d decompress / unpack specified CPK file\0A\09-c compress / repack specified CPK file\0A\09-t CPK description file (if not specified, default filename is used\0A\09-o CPK files path (if not specified, default path is used\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintUsage() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxsat5qfb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [272 x i8] c"Usage: (-d | -c) <file.cpk> [<-t> <desc.txt>] [<-o> <dir>]\0A\09-d decompress / unpack specified CPK file\0A\09-c compress / repack specified CPK file\0A\09-t CPK description file (if not specified, default filename is used\0A\09-o CPK files path (if not specified, default path is used\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintUsage() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi84p97qk.c' source_filename = "/tmp/tmpi84p97qk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @COM_DefaultExtension(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 %11 = getelementptr inbounds i8, ptr %10, i64 -1 store ptr %11, ptr %5, align 8 br label %12 12: ; preds = %29, %2 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 47 br i1 %16, label %17, label %21 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp ne ptr %18, %19 br label %21 21: ; preds = %17, %12 %22 = phi i1 [ false, %12 ], [ %20, %17 ] br i1 %22, label %23, label %32 23: ; preds = %21 %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, 46 br i1 %27, label %28, label %29 28: ; preds = %23 br label %36 29: ; preds = %23 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 -1 store ptr %31, ptr %5, align 8 br label %12, !llvm.loop !6 32: ; preds = %21 %33 = load ptr, ptr %3, align 8 %34 = load ptr, ptr %4, align 8 %35 = call i32 @strcat(ptr noundef %33, ptr noundef %34) br label %36 36: ; preds = %32, %28 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(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/tmpi84p97qk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @COM_DefaultExtension(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 %11 = getelementptr inbounds i8, ptr %10, i64 -1 store ptr %11, ptr %5, align 8 br label %12 12: ; preds = %29, %2 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 47 br i1 %16, label %17, label %21 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp ne ptr %18, %19 br label %21 21: ; preds = %17, %12 %22 = phi i1 [ false, %12 ], [ %20, %17 ] br i1 %22, label %23, label %32 23: ; preds = %21 %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, 46 br i1 %27, label %28, label %29 28: ; preds = %23 br label %36 29: ; preds = %23 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 -1 store ptr %31, ptr %5, align 8 br label %12, !llvm.loop !6 32: ; preds = %21 %33 = load ptr, ptr %3, align 8 %34 = load ptr, ptr %4, align 8 %35 = call i32 @strcat(ptr noundef %33, ptr noundef %34) br label %36 36: ; preds = %32, %28 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(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/tmp2oks6gns.c' source_filename = "/tmp/tmp2oks6gns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"error writing socket: %s\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @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 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = call i32 @write(i32 noundef %8, ptr noundef %9, i64 noundef %10) store i32 %11, ptr %7, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %19 13: ; preds = %3 %14 = load i32, ptr @errno, align 4 %15 = call i32 @strerror(i32 noundef %14) %16 = call i32 @err_msg(ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %3 %20 = load i32, ptr %7, align 4 ret i32 %20 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @err_msg(ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2oks6gns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"error writing socket: %s\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @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 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = call i32 @write(i32 noundef %8, ptr noundef %9, i64 noundef %10) store i32 %11, ptr %7, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %19 13: ; preds = %3 %14 = load i32, ptr @errno, align 4 %15 = call i32 @strerror(i32 noundef %14) %16 = call i32 @err_msg(ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %3 %20 = load i32, ptr %7, align 4 ret i32 %20 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @err_msg(ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4maa2s0n.c' source_filename = "/tmp/tmp4maa2s0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [122 x i8] c"%%TEST_FAILED%% time=0 testname=testRetournerInformationConfigIndex (Test_gestioncommandes) message=error message sample\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testRetournerInformationConfigIndex() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = load ptr, ptr %1, align 8 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @RetournerInformationConfigIndex(ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @RetournerInformationConfigIndex(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4maa2s0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [122 x i8] c"%%TEST_FAILED%% time=0 testname=testRetournerInformationConfigIndex (Test_gestioncommandes) message=error message sample\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testRetournerInformationConfigIndex() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = load ptr, ptr %1, align 8 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @RetournerInformationConfigIndex(ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @RetournerInformationConfigIndex(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmnzmzgb_.c' source_filename = "/tmp/tmpmnzmzgb_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"\0AUsage: %s filepath\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"write\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 store i32 -1, ptr %7, align 4 store i32 131072, ptr %8, align 4 store i8 49, ptr %9, align 1 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %18 12: ; preds = %2 %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 @printf(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 = load i32, ptr @O_RDWR, align 4 %23 = load i32, ptr @O_CREAT, align 4 %24 = or i32 %22, %23 %25 = call i32 @open(ptr noundef %21, i32 noundef %24, i32 noundef 420) store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %18 %29 = call i32 @perror(ptr noundef @.str.1) %30 = load i32, ptr @errno, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %18 br label %33 33: ; preds = %43, %32 %34 = load i32, ptr %8, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %46 36: ; preds = %33 %37 = load i32, ptr %6, align 4 %38 = call i32 @write(i32 noundef %37, ptr noundef %9, i32 noundef 1) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp ne i32 %39, 1 br i1 %40, label %41, label %43 41: ; preds = %36 %42 = call i32 @perror(ptr noundef @.str.2) br label %46 43: ; preds = %36 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %8, align 4 br label %33, !llvm.loop !6 46: ; preds = %41, %33 br label %47 47: ; preds = %46, %47 br label %47 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmnzmzgb_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"\0AUsage: %s filepath\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"write\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 store i32 -1, ptr %7, align 4 store i32 131072, ptr %8, align 4 store i8 49, ptr %9, align 1 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %18 12: ; preds = %2 %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 @printf(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 = load i32, ptr @O_RDWR, align 4 %23 = load i32, ptr @O_CREAT, align 4 %24 = or i32 %22, %23 %25 = call i32 @open(ptr noundef %21, i32 noundef %24, i32 noundef 420) store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %18 %29 = call i32 @perror(ptr noundef @.str.1) %30 = load i32, ptr @errno, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %18 %33 = load i32, ptr %8, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %32 br label %35 35: ; preds = %.lr.ph, %42 %36 = load i32, ptr %6, align 4 %37 = call i32 @write(i32 noundef %36, ptr noundef %9, i32 noundef 1) store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp ne i32 %38, 1 br i1 %39, label %40, label %42 40: ; preds = %35 %41 = call i32 @perror(ptr noundef @.str.2) br label %47 42: ; preds = %35 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %8, align 4 %45 = load i32, ptr %8, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %35, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %42 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %32 br label %47 47: ; preds = %.loopexit, %40 br label %48 48: ; preds = %48, %47 br label %48 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpaviww_uy.c' source_filename = "/tmp/tmpaviww_uy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"%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 [1000 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 1000, i32 noundef %7) store i32 0, ptr %3, align 4 br label %9 9: ; preds = %54, %0 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %10 10: ; preds = %39, %9 %11 = load i32, ptr %4, align 4 %12 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %42 15: ; preds = %10 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 97, %21 %23 = icmp eq i32 %20, %22 br i1 %23, label %24, label %27 24: ; preds = %15 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %27 27: ; preds = %24, %15 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 65, %33 %35 = icmp eq i32 %32, %34 br i1 %35, label %36, label %39 36: ; preds = %27 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %36, %27 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %4, align 4 br label %10, !llvm.loop !6 42: ; preds = %10 %43 = load i32, ptr %5, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %51 45: ; preds = %42 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 97, %46 %48 = trunc i32 %47 to i8 %49 = load i32, ptr %5, align 4 %50 = call i32 @printf(ptr noundef @.str, i8 noundef signext %48, i32 noundef %49) br label %51 51: ; preds = %45, %42 %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %3, align 4 br label %54 54: ; preds = %51 %55 = load i32, ptr %3, align 4 %56 = icmp slt i32 %55, 26 br i1 %56, label %9, label %57, !llvm.loop !8 57: ; preds = %54 ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext, 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/tmpaviww_uy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"%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 [1000 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 1000, i32 noundef %7) store i32 0, ptr %3, align 4 br label %9 9: ; preds = %56, %0 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strlen(ptr noundef %11) %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph, label %44 .lr.ph: ; preds = %9 br label %14 14: ; preds = %.lr.ph, %38 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 97, %20 %22 = icmp eq i32 %19, %21 br i1 %22, label %23, label %26 23: ; preds = %14 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %26 26: ; preds = %23, %14 %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 65, %32 %34 = icmp eq i32 %31, %33 br i1 %34, label %35, label %38 35: ; preds = %26 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 br label %38 38: ; preds = %35, %26 %39 = load i32, ptr %4, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %4, align 4 %41 = load i32, ptr %4, align 4 %42 = call i32 @strlen(ptr noundef %11) %43 = icmp slt i32 %41, %42 br i1 %43, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %9 %45 = load i32, ptr %5, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %53 47: ; preds = %44 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 97, %48 %50 = trunc i32 %49 to i8 %51 = load i32, ptr %5, align 4 %52 = call i32 @printf(ptr noundef @.str, i8 noundef signext %50, i32 noundef %51) br label %53 53: ; preds = %47, %44 %54 = load i32, ptr %3, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %3, align 4 br label %56 56: ; preds = %53 %57 = load i32, ptr %3, align 4 %58 = icmp slt i32 %57, 26 br i1 %58, label %9, label %59, !llvm.loop !8 59: ; preds = %56 ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext, 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/tmpzb1vm6sd.c' source_filename = "/tmp/tmpzb1vm6sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"a = %d, &p = %p, p = %p, *p = %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 ptr, align 8 store i32 0, ptr %1, align 4 %4 = load i32, ptr %2, align 4 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %6, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %4, ptr noundef %3, ptr noundef %5, i32 noundef %7) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, 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/tmpzb1vm6sd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"a = %d, &p = %p, p = %p, *p = %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 ptr, align 8 store i32 0, ptr %1, align 4 %4 = load i32, ptr %2, align 4 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %6, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %4, ptr noundef %3, ptr noundef %5, i32 noundef %7) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, 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/tmp3j9kt_p7.c' source_filename = "/tmp/tmp3j9kt_p7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @termination_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @deconstructor() ret void } declare i32 @deconstructor(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3j9kt_p7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @termination_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @deconstructor() ret void } declare i32 @deconstructor(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpko9ah_cw.c' source_filename = "/tmp/tmpko9ah_cw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"v not in range\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"p not in range\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = load i32, ptr %3, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %40 13: ; preds = %8, %0 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = icmp sgt i32 %17, 7 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %40 21: ; preds = %16, %13 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %30 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = shl i32 %26, %27 %29 = or i32 %25, %28 store i32 %29, ptr %2, align 4 br label %37 30: ; preds = %21 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %4, align 4 %33 = shl i32 1, %32 %34 = xor i32 %33, -1 %35 = and i32 255, %34 %36 = and i32 %31, %35 store i32 %36, ptr %2, align 4 br label %37 37: ; preds = %30, %24 %38 = load i32, ptr %2, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %38) store i32 0, ptr %1, align 4 br label %40 40: ; preds = %37, %19, %11 %41 = load i32, ptr %1, align 4 ret i32 %41 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpko9ah_cw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"v not in range\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"p not in range\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = load i32, ptr %3, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %40 13: ; preds = %8, %0 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = icmp sgt i32 %17, 7 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %40 21: ; preds = %16, %13 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %30 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = shl i32 %26, %27 %29 = or i32 %25, %28 store i32 %29, ptr %2, align 4 br label %37 30: ; preds = %21 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %4, align 4 %33 = shl i32 1, %32 %34 = xor i32 %33, -1 %35 = and i32 255, %34 %36 = and i32 %31, %35 store i32 %36, ptr %2, align 4 br label %37 37: ; preds = %30, %24 %38 = load i32, ptr %2, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %38) store i32 0, ptr %1, align 4 br label %40 40: ; preds = %37, %19, %11 %41 = load i32, ptr %1, align 4 ret i32 %41 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplxjogk5s.c' source_filename = "/tmp/tmplxjogk5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Wrap_Up() #0 { %1 = call i32 @set_ticker(i32 noundef 0) %2 = call i32 (...) @getchar() %3 = call i32 (...) @endwin() %4 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @set_ticker(i32 noundef) #1 declare i32 @getchar(...) #1 declare i32 @endwin(...) #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/tmplxjogk5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Wrap_Up() #0 { %1 = call i32 @set_ticker(i32 noundef 0) %2 = call i32 (...) @getchar() %3 = call i32 (...) @endwin() %4 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @set_ticker(i32 noundef) #1 declare i32 @getchar(...) #1 declare i32 @endwin(...) #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/tmpzrid6beu.c' source_filename = "/tmp/tmpzrid6beu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Phoning friend!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @phoneFriend() #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/tmpzrid6beu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Phoning friend!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @phoneFriend() #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/tmpl5vlbybt.c' source_filename = "/tmp/tmpl5vlbybt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"git\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"branch\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"--list\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" \0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"(%s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @run_proc(ptr noundef %6, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 0) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 store ptr @.str.3, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %17 17: ; preds = %32, %16 %18 = load ptr, ptr %9, align 8 %19 = call ptr @strsep(ptr noundef %6, ptr noundef %18) store ptr %19, ptr %8, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %33 21: ; preds = %17 %22 = load ptr, ptr %8, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 42 br i1 %26, label %27, label %32 27: ; preds = %21 %28 = load ptr, ptr %9, align 8 %29 = call ptr @strsep(ptr noundef %6, ptr noundef %28) store ptr %29, ptr %8, align 8 %30 = load ptr, ptr %8, align 8 %31 = call i32 @printf(ptr noundef @.str.4, ptr noundef %30) br label %33 32: ; preds = %21 br label %17, !llvm.loop !6 33: ; preds = %27, %17 ret i32 0 } declare i32 @run_proc(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strsep(ptr noundef, 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl5vlbybt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"git\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"branch\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"--list\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" \0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"(%s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @run_proc(ptr noundef %6, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 0) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 store ptr @.str.3, ptr %9, align 8 store i32 0, ptr %10, align 4 %17 = load ptr, ptr %9, align 8 %18 = call ptr @strsep(ptr noundef %6, ptr noundef %17) store ptr %18, ptr %8, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %16 br label %24 20: ; preds = %24 %21 = load ptr, ptr %9, align 8 %22 = call ptr @strsep(ptr noundef %6, ptr noundef %21) store ptr %22, ptr %8, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %..loopexit_crit_edge, !llvm.loop !6 24: ; preds = %.lr.ph, %20 %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 42 br i1 %29, label %30, label %20 30: ; preds = %24 %31 = load ptr, ptr %9, align 8 %32 = call ptr @strsep(ptr noundef %6, ptr noundef %31) store ptr %32, ptr %8, align 8 %33 = load ptr, ptr %8, align 8 %34 = call i32 @printf(ptr noundef @.str.4, ptr noundef %33) br label %35 ..loopexit_crit_edge: ; preds = %20 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %16 br label %35 35: ; preds = %.loopexit, %30 ret i32 0 } declare i32 @run_proc(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strsep(ptr noundef, 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1zoqt47t.c' source_filename = "/tmp/tmp1zoqt47t.c" target datalayout = "e-m:e-p270: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/tmp1zoqt47t.c" target datalayout = "e-m:e-p270: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/tmplmmtdk_u.c' source_filename = "/tmp/tmplmmtdk_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" @SA_RESETHAND = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sysv_signal(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @SA_RESETHAND, align 4 %8 = call i32 @__signal(i32 noundef %5, i32 noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @__signal(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/tmplmmtdk_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" @SA_RESETHAND = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sysv_signal(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @SA_RESETHAND, align 4 %8 = call i32 @__signal(i32 noundef %5, i32 noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @__signal(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/tmpvdr8jrdo.c' source_filename = "/tmp/tmpvdr8jrdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel122nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77dkernel122nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77dkernel122nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvdr8jrdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel122nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77dkernel122nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77dkernel122nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2lozymyd.c' source_filename = "/tmp/tmp2lozymyd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2lozymyd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg92ou6x2.c' source_filename = "/tmp/tmpg92ou6x2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @saveterm() #0 { 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/tmpg92ou6x2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @saveterm() #0 { 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/tmp2lwlpgl6.c' source_filename = "/tmp/tmp2lwlpgl6.c" target datalayout = "e-m:e-p270: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/tmp2lwlpgl6.c" target datalayout = "e-m:e-p270: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/tmp00rg7inb.c' source_filename = "/tmp/tmp00rg7inb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 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 ptr, align 8 %7 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %6, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %7, align 8 store i32 0, ptr %3, align 4 br label %13 13: ; preds = %22, %0 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %25 17: ; preds = %13 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %12, i64 %19 %21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %13, !llvm.loop !6 25: ; preds = %13 %26 = getelementptr inbounds i32, ptr %12, i64 0 %27 = load i32, ptr %26, align 16 store i32 %27, ptr %4, align 4 store i32 %27, ptr %5, align 4 store i32 1, ptr %3, align 4 br label %28 28: ; preds = %47, %25 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %50 32: ; preds = %28 %33 = load i32, ptr %3, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %12, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %3, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %12, i64 %39 %41 = load i32, ptr %40, align 4 %42 = add nsw i32 %37, %41 %43 = call i32 @FindMax(i32 noundef %36, i32 noundef %42) store i32 %43, ptr %5, align 4 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr %5, align 4 %46 = call i32 @FindMax(i32 noundef %44, i32 noundef %45) store i32 %46, ptr %4, align 4 br label %47 47: ; preds = %32 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %3, align 4 br label %28, !llvm.loop !8 50: ; preds = %28 %51 = load i32, ptr %4, align 4 %52 = call i32 @printf(ptr noundef @.str, i32 noundef %51) store i32 0, ptr %1, align 4 %53 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %53) %54 = load i32, ptr %1, align 4 ret i32 %54 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @FindMax(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp00rg7inb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 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 ptr, align 8 %7 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %6, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %7, align 8 store i32 0, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %21 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %12, i64 %18 %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19) 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 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %0 %28 = getelementptr inbounds i32, ptr %12, i64 0 %29 = load i32, ptr %28, align 16 store i32 %29, ptr %4, align 4 store i32 %29, ptr %5, align 4 store i32 1, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph2, label %54 .lr.ph2: ; preds = %27 br label %33 33: ; preds = %.lr.ph2, %48 %34 = load i32, ptr %3, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %12, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %12, i64 %40 %42 = load i32, ptr %41, align 4 %43 = add nsw i32 %38, %42 %44 = call i32 @FindMax(i32 noundef %37, i32 noundef %43) store i32 %44, ptr %5, align 4 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %5, align 4 %47 = call i32 @FindMax(i32 noundef %45, i32 noundef %46) store i32 %47, ptr %4, align 4 br label %48 48: ; preds = %33 %49 = load i32, ptr %3, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %3, align 4 %51 = load i32, ptr %3, align 4 %52 = load i32, ptr %2, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %54 54: ; preds = %._crit_edge3, %27 %55 = load i32, ptr %4, align 4 %56 = call i32 @printf(ptr noundef @.str, i32 noundef %55) store i32 0, ptr %1, align 4 %57 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %57) %58 = load i32, ptr %1, align 4 ret i32 %58 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @FindMax(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd6y0g4aw.c' source_filename = "/tmp/tmpd6y0g4aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_readline(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %19 = load ptr, ptr %7, align 8 store ptr %19, ptr %11, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = getelementptr inbounds i8, ptr %23, i64 -1 store ptr %24, ptr %12, align 8 br label %25 25: ; preds = %4, %93 %26 = load i32, ptr %5, align 4 %27 = call i32 @read(i32 noundef %26, ptr noundef %10, i32 noundef 1) store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp sle i32 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %25 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %9, align 4 br label %94 33: ; preds = %25 %34 = load i8, ptr %10, align 1 %35 = zext i8 %34 to i32 switch i32 %35, label %73 [ i32 8, label %36 i32 13, label %65 ] 36: ; preds = %33 %37 = load ptr, ptr %11, align 8 %38 = load ptr, ptr %7, align 8 %39 = icmp ugt ptr %37, %38 br i1 %39, label %40, label %59 40: ; preds = %36 %41 = load ptr, ptr %11, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 -1 store ptr %42, ptr %11, align 8 br label %43 43: ; preds = %40 %44 = load i8, ptr %10, align 1 %45 = zext i8 %44 to i32 store i32 %45, ptr %13, align 4 %46 = load i32, ptr %6, align 4 %47 = call i32 @write(i32 noundef %46, ptr noundef %13, i32 noundef 1) br label %48 48: ; preds = %43 br label %49 49: ; preds = %48 store i32 32, ptr %14, align 4 %50 = load i32, ptr %6, align 4 %51 = call i32 @write(i32 noundef %50, ptr noundef %14, i32 noundef 1) br label %52 52: ; preds = %49 br label %53 53: ; preds = %52 %54 = load i8, ptr %10, align 1 %55 = zext i8 %54 to i32 store i32 %55, ptr %15, align 4 %56 = load i32, ptr %6, align 4 %57 = call i32 @write(i32 noundef %56, ptr noundef %15, i32 noundef 1) br label %58 58: ; preds = %53 br label %64 59: ; preds = %36 br label %60 60: ; preds = %59 store i32 7, ptr %16, align 4 %61 = load i32, ptr %6, align 4 %62 = call i32 @write(i32 noundef %61, ptr noundef %16, i32 noundef 1) br label %63 63: ; preds = %60 br label %64 64: ; preds = %63, %58 br label %93 65: ; preds = %33 %66 = load ptr, ptr %11, align 8 store i8 0, ptr %66, align 1 %67 = load ptr, ptr %11, align 8 %68 = load ptr, ptr %7, align 8 %69 = ptrtoint ptr %67 to i64 %70 = ptrtoint ptr %68 to i64 %71 = sub i64 %69, %70 %72 = trunc i64 %71 to i32 store i32 %72, ptr %9, align 4 br label %94 73: ; preds = %33 %74 = load ptr, ptr %11, align 8 %75 = load ptr, ptr %12, align 8 %76 = icmp ult ptr %74, %75 br i1 %76, label %77, label %87 77: ; preds = %73 %78 = load i8, ptr %10, align 1 %79 = load ptr, ptr %11, align 8 %80 = getelementptr inbounds i8, ptr %79, i32 1 store ptr %80, ptr %11, align 8 store i8 %78, ptr %79, align 1 br label %81 81: ; preds = %77 %82 = load i8, ptr %10, align 1 %83 = zext i8 %82 to i32 store i32 %83, ptr %17, align 4 %84 = load i32, ptr %6, align 4 %85 = call i32 @write(i32 noundef %84, ptr noundef %17, i32 noundef 1) br label %86 86: ; preds = %81 br label %92 87: ; preds = %73 br label %88 88: ; preds = %87 store i32 7, ptr %18, align 4 %89 = load i32, ptr %6, align 4 %90 = call i32 @write(i32 noundef %89, ptr noundef %18, i32 noundef 1) br label %91 91: ; preds = %88 br label %92 92: ; preds = %91, %86 br label %93 93: ; preds = %92, %64 br label %25 94: ; preds = %65, %30 %95 = load i32, ptr %9, align 4 ret i32 %95 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd6y0g4aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd_readline(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %19 = load ptr, ptr %7, align 8 store ptr %19, ptr %11, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = getelementptr inbounds i8, ptr %23, i64 -1 store ptr %24, ptr %12, align 8 %25 = load i32, ptr %5, align 4 %26 = call i32 @read(i32 noundef %25, ptr noundef %10, i32 noundef 1) store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp sle i32 %27, 0 br i1 %28, label %29, label %.lr.ph .lr.ph: ; preds = %4 br label %32 ._crit_edge: ; preds = %92 br label %29 29: ; preds = %._crit_edge, %4 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %9, align 4 br label %97 32: ; preds = %.lr.ph, %92 %33 = load i8, ptr %10, align 1 %34 = zext i8 %33 to i32 switch i32 %34, label %72 [ i32 8, label %35 i32 13, label %64 ] 35: ; preds = %32 %36 = load ptr, ptr %11, align 8 %37 = load ptr, ptr %7, align 8 %38 = icmp ugt ptr %36, %37 br i1 %38, label %39, label %58 39: ; preds = %35 %40 = load ptr, ptr %11, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 -1 store ptr %41, ptr %11, align 8 br label %42 42: ; preds = %39 %43 = load i8, ptr %10, align 1 %44 = zext i8 %43 to i32 store i32 %44, ptr %13, align 4 %45 = load i32, ptr %6, align 4 %46 = call i32 @write(i32 noundef %45, ptr noundef %13, i32 noundef 1) br label %47 47: ; preds = %42 br label %48 48: ; preds = %47 store i32 32, ptr %14, align 4 %49 = load i32, ptr %6, align 4 %50 = call i32 @write(i32 noundef %49, ptr noundef %14, i32 noundef 1) br label %51 51: ; preds = %48 br label %52 52: ; preds = %51 %53 = load i8, ptr %10, align 1 %54 = zext i8 %53 to i32 store i32 %54, ptr %15, align 4 %55 = load i32, ptr %6, align 4 %56 = call i32 @write(i32 noundef %55, ptr noundef %15, i32 noundef 1) br label %57 57: ; preds = %52 br label %63 58: ; preds = %35 br label %59 59: ; preds = %58 store i32 7, ptr %16, align 4 %60 = load i32, ptr %6, align 4 %61 = call i32 @write(i32 noundef %60, ptr noundef %16, i32 noundef 1) br label %62 62: ; preds = %59 br label %63 63: ; preds = %62, %57 br label %92 64: ; preds = %32 %65 = load ptr, ptr %11, align 8 store i8 0, ptr %65, align 1 %66 = load ptr, ptr %11, align 8 %67 = load ptr, ptr %7, align 8 %68 = ptrtoint ptr %66 to i64 %69 = ptrtoint ptr %67 to i64 %70 = sub i64 %68, %69 %71 = trunc i64 %70 to i32 store i32 %71, ptr %9, align 4 br label %97 72: ; preds = %32 %73 = load ptr, ptr %11, align 8 %74 = load ptr, ptr %12, align 8 %75 = icmp ult ptr %73, %74 br i1 %75, label %76, label %86 76: ; preds = %72 %77 = load i8, ptr %10, align 1 %78 = load ptr, ptr %11, align 8 %79 = getelementptr inbounds i8, ptr %78, i32 1 store ptr %79, ptr %11, align 8 store i8 %77, ptr %78, align 1 br label %80 80: ; preds = %76 %81 = load i8, ptr %10, align 1 %82 = zext i8 %81 to i32 store i32 %82, ptr %17, align 4 %83 = load i32, ptr %6, align 4 %84 = call i32 @write(i32 noundef %83, ptr noundef %17, i32 noundef 1) br label %85 85: ; preds = %80 br label %91 86: ; preds = %72 br label %87 87: ; preds = %86 store i32 7, ptr %18, align 4 %88 = load i32, ptr %6, align 4 %89 = call i32 @write(i32 noundef %88, ptr noundef %18, i32 noundef 1) br label %90 90: ; preds = %87 br label %91 91: ; preds = %90, %85 br label %92 92: ; preds = %91, %63 %93 = load i32, ptr %5, align 4 %94 = call i32 @read(i32 noundef %93, ptr noundef %10, i32 noundef 1) store i32 %94, ptr %9, align 4 %95 = load i32, ptr %9, align 4 %96 = icmp sle i32 %95, 0 br i1 %96, label %._crit_edge, label %32 97: ; preds = %64, %29 %98 = load i32, ptr %9, align 4 ret i32 %98 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 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"}
; ModuleID = '/tmp/tmpq90oxttw.c' source_filename = "/tmp/tmpq90oxttw.c" target datalayout = "e-m:e-p270: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/tmpq90oxttw.c" target datalayout = "e-m:e-p270: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/tmpg5wag66v.c' source_filename = "/tmp/tmpg5wag66v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage:command filename\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @main.BUFFSIZE = internal constant i32 255, align 4 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"command: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"sh\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"execl\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #4 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %4, align 4 %20 = sub nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %18, i64 %21 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %8, align 8 %24 = call ptr @llvm.stacksave() store ptr %24, ptr %9, align 8 %25 = alloca i8, i64 255, align 16 %26 = alloca i8, i64 255, align 16 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr @O_RDONLY, align 4 %29 = call i32 @open(ptr noundef %27, i32 noundef %28) store i32 %29, ptr %6, align 4 %30 = call i32 (...) @fork() store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %37 33: ; preds = %17 %34 = call i32 @perror(ptr noundef @.str.1) %35 = load i32, ptr @EXIT_FAILURE, align 4 %36 = call i32 @exit(i32 noundef %35) #4 unreachable 37: ; preds = %17 %38 = load i32, ptr %7, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %69 40: ; preds = %37 %41 = load i32, ptr %6, align 4 %42 = call i32 @read(i32 noundef %41, ptr noundef %25, i32 noundef 255) store i32 %42, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = icmp eq i32 %43, -1 br i1 %44, label %45, label %49 45: ; preds = %40 %46 = call i32 @perror(ptr noundef @.str.2) %47 = load i32, ptr @EXIT_FAILURE, align 4 %48 = call i32 @exit(i32 noundef %47) #4 unreachable 49: ; preds = %40 %50 = load i32, ptr %10, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %25, i64 %51 store i8 0, ptr %52, align 1 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 1 %55 = load ptr, ptr %54, align 8 %56 = call i32 @strcpy(ptr noundef %26, ptr noundef %55) %57 = call i32 @strcat(ptr noundef %26, ptr noundef @.str.3) %58 = call i32 @strcat(ptr noundef %26, ptr noundef %25) %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %26) %60 = call i32 @execlp(ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef %26, ptr noundef null) %61 = icmp eq i32 %60, -1 br i1 %61, label %62, label %66 62: ; preds = %49 %63 = call i32 @perror(ptr noundef @.str.8) %64 = load i32, ptr @EXIT_FAILURE, align 4 %65 = call i32 @exit(i32 noundef %64) #4 unreachable 66: ; preds = %49 %67 = load i32, ptr @EXIT_SUCCESS, align 4 %68 = call i32 @exit(i32 noundef %67) #4 unreachable 69: ; preds = %37 %70 = call i32 @wait(ptr noundef null) %71 = load i32, ptr %6, align 4 %72 = call i32 @close(i32 noundef %71) %73 = load i32, ptr @EXIT_SUCCESS, align 4 %74 = call i32 @exit(i32 noundef %73) #4 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmpg5wag66v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage:command filename\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @main.BUFFSIZE = internal constant i32 255, align 4 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"command: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"sh\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"execl\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #4 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %4, align 4 %20 = sub nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %18, i64 %21 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %8, align 8 %24 = call ptr @llvm.stacksave() store ptr %24, ptr %9, align 8 %25 = alloca i8, i64 255, align 16 %26 = alloca i8, i64 255, align 16 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr @O_RDONLY, align 4 %29 = call i32 @open(ptr noundef %27, i32 noundef %28) store i32 %29, ptr %6, align 4 %30 = call i32 (...) @fork() store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %37 33: ; preds = %17 %34 = call i32 @perror(ptr noundef @.str.1) %35 = load i32, ptr @EXIT_FAILURE, align 4 %36 = call i32 @exit(i32 noundef %35) #4 unreachable 37: ; preds = %17 %38 = load i32, ptr %7, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %69 40: ; preds = %37 %41 = load i32, ptr %6, align 4 %42 = call i32 @read(i32 noundef %41, ptr noundef %25, i32 noundef 255) store i32 %42, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = icmp eq i32 %43, -1 br i1 %44, label %45, label %49 45: ; preds = %40 %46 = call i32 @perror(ptr noundef @.str.2) %47 = load i32, ptr @EXIT_FAILURE, align 4 %48 = call i32 @exit(i32 noundef %47) #4 unreachable 49: ; preds = %40 %50 = load i32, ptr %10, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %25, i64 %51 store i8 0, ptr %52, align 1 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 1 %55 = load ptr, ptr %54, align 8 %56 = call i32 @strcpy(ptr noundef %26, ptr noundef %55) %57 = call i32 @strcat(ptr noundef %26, ptr noundef @.str.3) %58 = call i32 @strcat(ptr noundef %26, ptr noundef %25) %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %26) %60 = call i32 @execlp(ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef %26, ptr noundef null) %61 = icmp eq i32 %60, -1 br i1 %61, label %62, label %66 62: ; preds = %49 %63 = call i32 @perror(ptr noundef @.str.8) %64 = load i32, ptr @EXIT_FAILURE, align 4 %65 = call i32 @exit(i32 noundef %64) #4 unreachable 66: ; preds = %49 %67 = load i32, ptr @EXIT_SUCCESS, align 4 %68 = call i32 @exit(i32 noundef %67) #4 unreachable 69: ; preds = %37 %70 = call i32 @wait(ptr noundef null) %71 = load i32, ptr %6, align 4 %72 = call i32 @close(i32 noundef %71) %73 = load i32, ptr @EXIT_SUCCESS, align 4 %74 = call i32 @exit(i32 noundef %73) #4 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmptywpli3j.c' source_filename = "/tmp/tmptywpli3j.c" target datalayout = "e-m:e-p270: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/tmptywpli3j.c" target datalayout = "e-m:e-p270: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/tmpcm8q_ser.c' source_filename = "/tmp/tmpcm8q_ser.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHUT_RDWR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closeWithMsg(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @sendMsgToClient(i32 noundef %5, ptr noundef %6) %8 = load i32, ptr %4, align 4 %9 = load i32, ptr @SHUT_RDWR, align 4 %10 = call i32 @shutdown(i32 noundef %8, i32 noundef %9) ret void } declare i32 @sendMsgToClient(i32 noundef, ptr noundef) #1 declare i32 @shutdown(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/tmpcm8q_ser.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHUT_RDWR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closeWithMsg(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @sendMsgToClient(i32 noundef %5, ptr noundef %6) %8 = load i32, ptr %4, align 4 %9 = load i32, ptr @SHUT_RDWR, align 4 %10 = call i32 @shutdown(i32 noundef %8, i32 noundef %9) ret void } declare i32 @sendMsgToClient(i32 noundef, ptr noundef) #1 declare i32 @shutdown(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/tmpg155br05.c' source_filename = "/tmp/tmpg155br05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBHostEndpointDataToggle(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, 1074069504 %12 = zext i1 %11 to i32 %13 = call i32 @ASSERT(i32 noundef %12) %14 = load i32, ptr %6, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %37, label %16 16: ; preds = %4 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, 16 br i1 %18, label %37, label %19 19: ; preds = %16 %20 = load i32, ptr %6, align 4 %21 = icmp eq i32 %20, 32 br i1 %21, label %37, label %22 22: ; preds = %19 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, 48 br i1 %24, label %37, label %25 25: ; preds = %22 %26 = load i32, ptr %6, align 4 %27 = icmp eq i32 %26, 64 br i1 %27, label %37, label %28 28: ; preds = %25 %29 = load i32, ptr %6, align 4 %30 = icmp eq i32 %29, 80 br i1 %30, label %37, label %31 31: ; preds = %28 %32 = load i32, ptr %6, align 4 %33 = icmp eq i32 %32, 96 br i1 %33, label %37, label %34 34: ; preds = %31 %35 = load i32, ptr %6, align 4 %36 = icmp eq i32 %35, 112 br label %37 37: ; preds = %34, %31, %28, %25, %22, %19, %16, %4 %38 = phi i1 [ true, %31 ], [ true, %28 ], [ true, %25 ], [ true, %22 ], [ true, %19 ], [ true, %16 ], [ true, %4 ], [ %36, %34 ] %39 = zext i1 %38 to i32 %40 = call i32 @ASSERT(i32 noundef %39) store i32 0, ptr %9, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %54 43: ; preds = %37 %44 = load i32, ptr %6, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %43 store i32 2, ptr %9, align 4 br label %53 47: ; preds = %43 %48 = load i32, ptr %8, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %51 50: ; preds = %47 store i32 2, ptr %9, align 4 br label %52 51: ; preds = %47 store i32 1, ptr %9, align 4 br label %52 52: ; preds = %51, %50 br label %53 53: ; preds = %52, %46 br label %54 54: ; preds = %53, %37 %55 = load i32, ptr %6, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %71 57: ; preds = %54 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 259 %60 = sext i32 %59 to i64 %61 = inttoptr i64 %60 to ptr %62 = load volatile i32, ptr %61, align 4 %63 = and i32 %62, -7 %64 = load i32, ptr %9, align 4 %65 = or i32 %64, 4 %66 = or i32 %63, %65 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, 259 %69 = sext i32 %68 to i64 %70 = inttoptr i64 %69 to ptr store volatile i32 %66, ptr %70, align 4 br label %115 71: ; preds = %54 %72 = load i32, ptr %8, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %94 74: ; preds = %71 %75 = load i32, ptr %5, align 4 %76 = add nsw i32 %75, 279 %77 = load i32, ptr %6, align 4 %78 = sub nsw i32 %77, 16 %79 = add nsw i32 %76, %78 %80 = sext i32 %79 to i64 %81 = inttoptr i64 %80 to ptr %82 = load volatile i32, ptr %81, align 4 %83 = and i32 %82, -7 %84 = load i32, ptr %9, align 4 %85 = or i32 %84, 4 %86 = or i32 %83, %85 %87 = load i32, ptr %5, align 4 %88 = add nsw i32 %87, 279 %89 = load i32, ptr %6, align 4 %90 = sub nsw i32 %89, 16 %91 = add nsw i32 %88, %90 %92 = sext i32 %91 to i64 %93 = inttoptr i64 %92 to ptr store volatile i32 %86, ptr %93, align 4 br label %114 94: ; preds = %71 %95 = load i32, ptr %5, align 4 %96 = add nsw i32 %95, 275 %97 = load i32, ptr %6, align 4 %98 = sub nsw i32 %97, 16 %99 = add nsw i32 %96, %98 %100 = sext i32 %99 to i64 %101 = inttoptr i64 %100 to ptr %102 = load volatile i32, ptr %101, align 4 %103 = and i32 %102, -4 %104 = load i32, ptr %9, align 4 %105 = or i32 %104, 2 %106 = or i32 %103, %105 %107 = load i32, ptr %5, align 4 %108 = add nsw i32 %107, 275 %109 = load i32, ptr %6, align 4 %110 = sub nsw i32 %109, 16 %111 = add nsw i32 %108, %110 %112 = sext i32 %111 to i64 %113 = inttoptr i64 %112 to ptr store volatile i32 %106, ptr %113, align 4 br label %114 114: ; preds = %94, %74 br label %115 115: ; preds = %114, %57 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg155br05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBHostEndpointDataToggle(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, 1074069504 %12 = zext i1 %11 to i32 %13 = call i32 @ASSERT(i32 noundef %12) %14 = load i32, ptr %6, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %37, label %16 16: ; preds = %4 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, 16 br i1 %18, label %37, label %19 19: ; preds = %16 %20 = load i32, ptr %6, align 4 %21 = icmp eq i32 %20, 32 br i1 %21, label %37, label %22 22: ; preds = %19 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, 48 br i1 %24, label %37, label %25 25: ; preds = %22 %26 = load i32, ptr %6, align 4 %27 = icmp eq i32 %26, 64 br i1 %27, label %37, label %28 28: ; preds = %25 %29 = load i32, ptr %6, align 4 %30 = icmp eq i32 %29, 80 br i1 %30, label %37, label %31 31: ; preds = %28 %32 = load i32, ptr %6, align 4 %33 = icmp eq i32 %32, 96 br i1 %33, label %37, label %34 34: ; preds = %31 %35 = load i32, ptr %6, align 4 %36 = icmp eq i32 %35, 112 br label %37 37: ; preds = %34, %31, %28, %25, %22, %19, %16, %4 %38 = phi i1 [ true, %31 ], [ true, %28 ], [ true, %25 ], [ true, %22 ], [ true, %19 ], [ true, %16 ], [ true, %4 ], [ %36, %34 ] %39 = zext i1 %38 to i32 %40 = call i32 @ASSERT(i32 noundef %39) store i32 0, ptr %9, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %54 43: ; preds = %37 %44 = load i32, ptr %6, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %43 store i32 2, ptr %9, align 4 br label %53 47: ; preds = %43 %48 = load i32, ptr %8, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %51 50: ; preds = %47 store i32 2, ptr %9, align 4 br label %52 51: ; preds = %47 store i32 1, ptr %9, align 4 br label %52 52: ; preds = %51, %50 br label %53 53: ; preds = %52, %46 br label %54 54: ; preds = %53, %37 %55 = load i32, ptr %6, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %71 57: ; preds = %54 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 259 %60 = sext i32 %59 to i64 %61 = inttoptr i64 %60 to ptr %62 = load volatile i32, ptr %61, align 4 %63 = and i32 %62, -7 %64 = load i32, ptr %9, align 4 %65 = or i32 %64, 4 %66 = or i32 %63, %65 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, 259 %69 = sext i32 %68 to i64 %70 = inttoptr i64 %69 to ptr store volatile i32 %66, ptr %70, align 4 br label %115 71: ; preds = %54 %72 = load i32, ptr %8, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %94 74: ; preds = %71 %75 = load i32, ptr %5, align 4 %76 = add nsw i32 %75, 279 %77 = load i32, ptr %6, align 4 %78 = sub nsw i32 %77, 16 %79 = add nsw i32 %76, %78 %80 = sext i32 %79 to i64 %81 = inttoptr i64 %80 to ptr %82 = load volatile i32, ptr %81, align 4 %83 = and i32 %82, -7 %84 = load i32, ptr %9, align 4 %85 = or i32 %84, 4 %86 = or i32 %83, %85 %87 = load i32, ptr %5, align 4 %88 = add nsw i32 %87, 279 %89 = load i32, ptr %6, align 4 %90 = sub nsw i32 %89, 16 %91 = add nsw i32 %88, %90 %92 = sext i32 %91 to i64 %93 = inttoptr i64 %92 to ptr store volatile i32 %86, ptr %93, align 4 br label %114 94: ; preds = %71 %95 = load i32, ptr %5, align 4 %96 = add nsw i32 %95, 275 %97 = load i32, ptr %6, align 4 %98 = sub nsw i32 %97, 16 %99 = add nsw i32 %96, %98 %100 = sext i32 %99 to i64 %101 = inttoptr i64 %100 to ptr %102 = load volatile i32, ptr %101, align 4 %103 = and i32 %102, -4 %104 = load i32, ptr %9, align 4 %105 = or i32 %104, 2 %106 = or i32 %103, %105 %107 = load i32, ptr %5, align 4 %108 = add nsw i32 %107, 275 %109 = load i32, ptr %6, align 4 %110 = sub nsw i32 %109, 16 %111 = add nsw i32 %108, %110 %112 = sext i32 %111 to i64 %113 = inttoptr i64 %112 to ptr store volatile i32 %106, ptr %113, align 4 br label %114 114: ; preds = %94, %74 br label %115 115: ; preds = %114, %57 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoi_kpoi4.c' source_filename = "/tmp/tmpoi_kpoi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocate2D(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = mul nsw i32 %7, %8 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 1 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %4, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %1 %22 = load ptr, ptr %5, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %25, label %24 24: ; preds = %21, %1 store ptr null, ptr %2, align 8 br label %46 25: ; preds = %21 store i32 0, ptr %6, align 4 br label %26 26: ; preds = %41, %25 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %44 30: ; preds = %26 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %3, align 4 %34 = mul nsw i32 %32, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %31, i64 %35 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 store ptr %36, ptr %40, align 8 br label %41 41: ; preds = %30 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %26, !llvm.loop !6 44: ; preds = %26 %45 = load ptr, ptr %5, align 8 store ptr %45, ptr %2, align 8 br label %46 46: ; preds = %44, %24 %47 = load ptr, ptr %2, align 8 ret ptr %47 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoi_kpoi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocate2D(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = mul nsw i32 %7, %8 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 1 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %4, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %1 %22 = load ptr, ptr %5, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %25, label %24 24: ; preds = %21, %1 store ptr null, ptr %2, align 8 br label %48 25: ; preds = %21 store i32 0, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %46 .lr.ph: ; preds = %25 br label %29 29: ; preds = %.lr.ph, %40 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %3, align 4 %33 = mul nsw i32 %31, %32 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %30, i64 %34 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 store ptr %35, ptr %39, align 8 br label %40 40: ; preds = %29 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %3, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %25 %47 = load ptr, ptr %5, align 8 store ptr %47, ptr %2, align 8 br label %48 48: ; preds = %46, %24 %49 = load ptr, ptr %2, align 8 ret ptr %49 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkez9rnf3.c' source_filename = "/tmp/tmpkez9rnf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @init() %3 = call i32 (...) @test() %4 = call i32 (...) @fini() ret i32 0 } declare i32 @init(...) #1 declare i32 @test(...) #1 declare i32 @fini(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkez9rnf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @init() %3 = call i32 (...) @test() %4 = call i32 (...) @fini() ret i32 0 } declare i32 @init(...) #1 declare i32 @test(...) #1 declare i32 @fini(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpypfhxp19.c' source_filename = "/tmp/tmpypfhxp19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 br label %4 4: ; preds = %20, %0 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 5 br i1 %6, label %7, label %23 7: ; preds = %4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %15, %7 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %18 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %12 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %8, !llvm.loop !6 18: ; preds = %8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %20 20: ; preds = %18 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %4, !llvm.loop !8 23: ; preds = %4 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpypfhxp19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 5 br i1 %5, label %.lr.ph2, label %26 .lr.ph2: ; preds = %0 br label %6 6: ; preds = %.lr.ph2, %21 store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %6 br label %10 10: ; preds = %.lr.ph, %13 %11 = load i32, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %6 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %21 21: ; preds = %19 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp sle i32 %24, 5 br i1 %25, label %6, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %21 br label %26 26: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpp_i39305.c' source_filename = "/tmp/tmpp_i39305.c" target datalayout = "e-m:e-p270: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/tmpp_i39305.c" target datalayout = "e-m:e-p270: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/tmpntolhwjv.c' source_filename = "/tmp/tmpntolhwjv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @candle_engulfing_white(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i32 @labs(i32 noundef %4) %6 = sub nsw i32 0, %5 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = call i64 @priceOpen(i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = call i64 @priceClose(i32 noundef %9) %11 = icmp slt i64 %8, %10 br i1 %11, label %12, label %27 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = call i64 @priceOpen(i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %15, 1 %17 = call i64 @priceLow(i32 noundef %16) %18 = icmp slt i64 %14, %17 br i1 %18, label %19, label %27 19: ; preds = %12 %20 = load i32, ptr %3, align 4 %21 = call i64 @priceClose(i32 noundef %20) %22 = load i32, ptr %3, align 4 %23 = sub nsw i32 %22, 1 %24 = call i64 @priceHigh(i32 noundef %23) %25 = icmp sgt i64 %21, %24 br i1 %25, label %26, label %27 26: ; preds = %19 store i32 1, ptr %2, align 4 br label %28 27: ; preds = %19, %12, %1 store i32 0, ptr %2, align 4 br label %28 28: ; preds = %27, %26 %29 = load i32, ptr %2, align 4 ret i32 %29 } declare i32 @labs(i32 noundef) #1 declare i64 @priceOpen(i32 noundef) #1 declare i64 @priceClose(i32 noundef) #1 declare i64 @priceLow(i32 noundef) #1 declare i64 @priceHigh(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/tmpntolhwjv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @candle_engulfing_white(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i32 @labs(i32 noundef %4) %6 = sub nsw i32 0, %5 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = call i64 @priceOpen(i32 noundef %7) %9 = load i32, ptr %3, align 4 %10 = call i64 @priceClose(i32 noundef %9) %11 = icmp slt i64 %8, %10 br i1 %11, label %12, label %27 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = call i64 @priceOpen(i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %15, 1 %17 = call i64 @priceLow(i32 noundef %16) %18 = icmp slt i64 %14, %17 br i1 %18, label %19, label %27 19: ; preds = %12 %20 = load i32, ptr %3, align 4 %21 = call i64 @priceClose(i32 noundef %20) %22 = load i32, ptr %3, align 4 %23 = sub nsw i32 %22, 1 %24 = call i64 @priceHigh(i32 noundef %23) %25 = icmp sgt i64 %21, %24 br i1 %25, label %26, label %27 26: ; preds = %19 store i32 1, ptr %2, align 4 br label %28 27: ; preds = %19, %12, %1 store i32 0, ptr %2, align 4 br label %28 28: ; preds = %27, %26 %29 = load i32, ptr %2, align 4 ret i32 %29 } declare i32 @labs(i32 noundef) #1 declare i64 @priceOpen(i32 noundef) #1 declare i64 @priceClose(i32 noundef) #1 declare i64 @priceLow(i32 noundef) #1 declare i64 @priceHigh(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/tmpex0og25b.c' source_filename = "/tmp/tmpex0og25b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Case %d: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Case %d: -1\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 store i32 1, ptr %6, align 4 br label %8 8: ; preds = %61, %0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %64 11: ; preds = %8 store i32 0, ptr %5, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %11 br label %64 15: ; preds = %11 store i32 1, ptr %3, align 4 br label %16 16: ; preds = %48, %15 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %20, label %51 20: ; preds = %16 store i32 0, ptr %4, align 4 store i32 1, ptr %7, align 4 br label %21 21: ; preds = %38, %20 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %25, label %41 25: ; preds = %21 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %7, align 4 %28 = sdiv i32 %26, %27 %29 = load i32, ptr %7, align 4 %30 = mul nsw i32 %28, %29 %31 = load i32, ptr %3, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %37 33: ; preds = %25 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, %34 store i32 %36, ptr %4, align 4 br label %37 37: ; preds = %33, %25 br label %38 38: ; preds = %37 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 br label %21, !llvm.loop !6 41: ; preds = %21 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp eq i32 %42, %43 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = load i32, ptr %3, align 4 store i32 %46, ptr %5, align 4 br label %47 47: ; preds = %45, %41 br label %48 48: ; preds = %47 %49 = load i32, ptr %3, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %3, align 4 br label %16, !llvm.loop !8 51: ; preds = %16 %52 = load i32, ptr %5, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %58 54: ; preds = %51 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr %5, align 4 %57 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %55, i32 noundef %56) br label %61 58: ; preds = %51 %59 = load i32, ptr %6, align 4 %60 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %59) br label %61 61: ; preds = %58, %54 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %6, align 4 br label %8, !llvm.loop !9 64: ; preds = %14, %8 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpex0og25b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Case %d: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Case %d: -1\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 store i32 1, ptr %6, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = icmp eq i32 %8, 1 br i1 %9, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %0 br label %10 10: ; preds = %.lr.ph5, %64 store i32 0, ptr %5, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %10 br label %69 14: ; preds = %10 store i32 1, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph2, label %54 .lr.ph2: ; preds = %14 br label %18 18: ; preds = %.lr.ph2, %48 store i32 0, ptr %4, align 4 store i32 1, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %.lr.ph, label %41 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %35 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %7, align 4 %25 = sdiv i32 %23, %24 %26 = load i32, ptr %7, align 4 %27 = mul nsw i32 %25, %26 %28 = load i32, ptr %3, align 4 %29 = icmp eq i32 %27, %28 br i1 %29, label %30, label %34 30: ; preds = %22 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, %31 store i32 %33, ptr %4, align 4 br label %34 34: ; preds = %30, %22 br label %35 35: ; preds = %34 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp sle i32 %38, %39 br i1 %40, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %18 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp eq i32 %42, %43 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = load i32, ptr %3, align 4 store i32 %46, ptr %5, align 4 br label %47 47: ; preds = %45, %41 br label %48 48: ; preds = %47 %49 = load i32, ptr %3, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %3, align 4 %51 = load i32, ptr %3, align 4 %52 = load i32, ptr %2, align 4 %53 = icmp sle i32 %51, %52 br i1 %53, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %54 54: ; preds = %._crit_edge3, %14 %55 = load i32, ptr %5, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %61 57: ; preds = %54 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr %5, align 4 %60 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %58, i32 noundef %59) br label %64 61: ; preds = %54 %62 = load i32, ptr %6, align 4 %63 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %62) br label %64 64: ; preds = %61, %57 %65 = load i32, ptr %6, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %6, align 4 %67 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %68 = icmp eq i32 %67, 1 br i1 %68, label %10, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %64 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %69 69: ; preds = %.loopexit, %13 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp1xea9jlx.c' source_filename = "/tmp/tmp1xea9jlx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"from == NULL\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"to == NULL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strnzcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null %11 = zext i1 %10 to i32 %12 = call i32 @vassert(i32 noundef %11, ptr noundef @.str) %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = call i32 @vassert(i32 noundef %15, ptr noundef @.str.1) br label %17 17: ; preds = %27, %3 %18 = load ptr, ptr %5, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load i64, ptr %6, align 8 %24 = icmp ugt i64 %23, 1 br label %25 25: ; preds = %22, %17 %26 = phi i1 [ false, %17 ], [ %24, %22 ] br i1 %26, label %27, label %35 27: ; preds = %25 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %5, align 8 %30 = load i8, ptr %28, align 1 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %4, align 8 store i8 %30, ptr %31, align 1 %33 = load i64, ptr %6, align 8 %34 = add i64 %33, -1 store i64 %34, ptr %6, align 8 br label %17, !llvm.loop !6 35: ; preds = %25 %36 = load ptr, ptr %4, align 8 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %4, align 8 %38 = load ptr, ptr %7, align 8 %39 = ptrtoint ptr %37 to i64 %40 = ptrtoint ptr %38 to i64 %41 = sub i64 %39, %40 ret i64 %41 } declare i32 @vassert(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1xea9jlx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"from == NULL\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"to == NULL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strnzcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null %11 = zext i1 %10 to i32 %12 = call i32 @vassert(i32 noundef %11, ptr noundef @.str) %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = call i32 @vassert(i32 noundef %15, ptr noundef @.str.1) br label %17 17: ; preds = %27, %3 %18 = load ptr, ptr %5, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load i64, ptr %6, align 8 %24 = icmp ugt i64 %23, 1 br label %25 25: ; preds = %22, %17 %26 = phi i1 [ false, %17 ], [ %24, %22 ] br i1 %26, label %27, label %35 27: ; preds = %25 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %5, align 8 %30 = load i8, ptr %28, align 1 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %4, align 8 store i8 %30, ptr %31, align 1 %33 = load i64, ptr %6, align 8 %34 = add i64 %33, -1 store i64 %34, ptr %6, align 8 br label %17, !llvm.loop !6 35: ; preds = %25 %36 = load ptr, ptr %4, align 8 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %4, align 8 %38 = load ptr, ptr %7, align 8 %39 = ptrtoint ptr %37 to i64 %40 = ptrtoint ptr %38 to i64 %41 = sub i64 %39, %40 ret i64 %41 } declare i32 @vassert(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpikedmv6n.c' source_filename = "/tmp/tmpikedmv6n.c" target datalayout = "e-m:e-p270: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/tmpikedmv6n.c" target datalayout = "e-m:e-p270: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/tmpyfoa6l59.c' source_filename = "/tmp/tmpyfoa6l59.c" target datalayout = "e-m:e-p270: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/tmpyfoa6l59.c" target datalayout = "e-m:e-p270: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/tmpm6xm1_lu.c' source_filename = "/tmp/tmpm6xm1_lu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_and_print_symbols(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @file_to_str(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ycf_symbol_list_print(ptr noundef %6) ret void } declare ptr @file_to_str(ptr noundef) #1 declare i32 @ycf_symbol_list_print(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm6xm1_lu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_and_print_symbols(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @file_to_str(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ycf_symbol_list_print(ptr noundef %6) ret void } declare ptr @file_to_str(ptr noundef) #1 declare i32 @ycf_symbol_list_print(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyyzyyq12.c' source_filename = "/tmp/tmpyyzyyq12.c" target datalayout = "e-m:e-p270: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/tmpyyzyyq12.c" target datalayout = "e-m:e-p270: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/tmpj3pofnhw.c' source_filename = "/tmp/tmpj3pofnhw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s_%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pptcapi_temp_name() #0 { %1 = alloca ptr, align 8 %2 = alloca [50 x i8], align 16 %3 = alloca [50 x i8], align 16 %4 = alloca i32, align 4 %5 = call i64 @malloc(i32 noundef 256) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %22 9: ; preds = %0 %10 = call i32 (...) @getpid() %11 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @pptcapi_ltoa(i32 noundef %10, ptr noundef %11, i32 noundef 10) %13 = call i32 @time(ptr noundef null) %14 = sub nsw i32 %13, 1000000000 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %17 = call i32 @pptcapi_ltoa(i32 noundef %15, ptr noundef %16, i32 noundef 10) %18 = load ptr, ptr %1, align 8 %19 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %20 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %21 = call i32 @snprintf(ptr noundef %18, i32 noundef 256, ptr noundef @.str, ptr noundef %19, ptr noundef %20) br label %22 22: ; preds = %9, %0 %23 = load ptr, ptr %1, align 8 ret ptr %23 } declare i64 @malloc(i32 noundef) #1 declare i32 @pptcapi_ltoa(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @time(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj3pofnhw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s_%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pptcapi_temp_name() #0 { %1 = alloca ptr, align 8 %2 = alloca [50 x i8], align 16 %3 = alloca [50 x i8], align 16 %4 = alloca i32, align 4 %5 = call i64 @malloc(i32 noundef 256) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %22 9: ; preds = %0 %10 = call i32 (...) @getpid() %11 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @pptcapi_ltoa(i32 noundef %10, ptr noundef %11, i32 noundef 10) %13 = call i32 @time(ptr noundef null) %14 = sub nsw i32 %13, 1000000000 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %17 = call i32 @pptcapi_ltoa(i32 noundef %15, ptr noundef %16, i32 noundef 10) %18 = load ptr, ptr %1, align 8 %19 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %20 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %21 = call i32 @snprintf(ptr noundef %18, i32 noundef 256, ptr noundef @.str, ptr noundef %19, ptr noundef %20) br label %22 22: ; preds = %9, %0 %23 = load ptr, ptr %1, align 8 ret ptr %23 } declare i64 @malloc(i32 noundef) #1 declare i32 @pptcapi_ltoa(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @time(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdb0rl63j.c' source_filename = "/tmp/tmpdb0rl63j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdb0rl63j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8mmf746x.c' source_filename = "/tmp/tmp8mmf746x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sonuc = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"%d sorudan %d dogru cevabiniz %d yanlis cevabiniz var :) \0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Carpma islemine calisman lazim :)\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 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %10 10: ; preds = %44, %0 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 1 br i1 %12, label %13, label %45 13: ; preds = %10 %14 = call i32 (...) @soru_sor() store i32 %14, ptr %5, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %25 20: ; preds = %13 store i32 1, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = call i32 @cevap_karsiliklari(i32 noundef %21) %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %30 25: ; preds = %13 store i32 0, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = call i32 @cevap_karsiliklari(i32 noundef %26) %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %30 30: ; preds = %25, %20 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %31, %32 %34 = icmp eq i32 %33, 10 br i1 %34, label %35, label %44 35: ; preds = %30 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %4, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 10, i32 noundef %36, i32 noundef %37) %39 = load i32, ptr %4, align 4 %40 = icmp sge i32 %39, 3 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %43 43: ; preds = %41, %35 br label %45 44: ; preds = %30 br label %10, !llvm.loop !6 45: ; preds = %43, %10 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @soru_sor(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @cevap_karsiliklari(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/tmp8mmf746x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sonuc = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"%d sorudan %d dogru cevabiniz %d yanlis cevabiniz var :) \0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Carpma islemine calisman lazim :)\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 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 1 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %15 12: ; preds = %32 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 1 br i1 %14, label %15, label %..loopexit_crit_edge, !llvm.loop !6 15: ; preds = %.lr.ph, %12 %16 = call i32 (...) @soru_sor() store i32 %16, ptr %5, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %27 22: ; preds = %15 store i32 1, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = call i32 @cevap_karsiliklari(i32 noundef %23) %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %32 27: ; preds = %15 store i32 0, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = call i32 @cevap_karsiliklari(i32 noundef %28) %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 br label %32 32: ; preds = %27, %22 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %33, %34 %36 = icmp eq i32 %35, 10 br i1 %36, label %37, label %12 37: ; preds = %32 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 10, i32 noundef %38, i32 noundef %39) %41 = load i32, ptr %4, align 4 %42 = icmp sge i32 %41, 3 br i1 %42, label %43, label %45 43: ; preds = %37 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %45 45: ; preds = %43, %37 br label %46 ..loopexit_crit_edge: ; preds = %12 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %46 46: ; preds = %.loopexit, %45 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @soru_sor(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @cevap_karsiliklari(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/tmp_li920tm.c' source_filename = "/tmp/tmp_li920tm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printnames(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %4, align 8 %12 = alloca i8, i64 %10, align 16 store i64 %10, ptr %5, align 8 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = call i32 @printnames_util(ptr noundef %13, ptr noundef %12, i32 noundef %14, i32 noundef 0) %16 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %16) ret void } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printnames_util(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_li920tm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printnames(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %4, align 8 %12 = alloca i8, i64 %10, align 16 store i64 %10, ptr %5, align 8 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = call i32 @printnames_util(ptr noundef %13, ptr noundef %12, i32 noundef %14, i32 noundef 0) %16 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %16) ret void } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printnames_util(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy1w0r_3d.c' source_filename = "/tmp/tmpy1w0r_3d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_setnamedcolor(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @japi_setnamedcolor(i32 noundef %5, i32 noundef %6) ret void } declare i32 @japi_setnamedcolor(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/tmpy1w0r_3d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_setnamedcolor(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @japi_setnamedcolor(i32 noundef %5, i32 noundef %6) ret void } declare i32 @japi_setnamedcolor(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/tmpstt9yseu.c' source_filename = "/tmp/tmpstt9yseu.c" target datalayout = "e-m:e-p270: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/tmpstt9yseu.c" target datalayout = "e-m:e-p270: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/tmppventv5p.c' source_filename = "/tmp/tmppventv5p.c" target datalayout = "e-m:e-p270: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/tmppventv5p.c" target datalayout = "e-m:e-p270: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/tmpwc0r901d.c' source_filename = "/tmp/tmpwc0r901d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checked_malloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @malloc(i32 noundef) #1 declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwc0r901d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checked_malloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @malloc(i32 noundef) #1 declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy8hvb_df.c' source_filename = "/tmp/tmpy8hvb_df.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @last(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 = %13, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %4 br label %13 13: ; preds = %12 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %4, !llvm.loop !6 16: ; preds = %4 br label %17 17: ; preds = %26, %16 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 32 br i1 %24, label %25, label %29 25: ; preds = %17 br label %26 26: ; preds = %25 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %3, align 4 br label %17, !llvm.loop !8 29: ; preds = %17 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = call i32 @printf(ptr noundef @.str, ptr noundef %34) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy8hvb_df.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @last(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %12 br label %12 12: ; preds = %11 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %22 22: ; preds = %._crit_edge, %1 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 32 br i1 %29, label %.lr.ph2, label %41 .lr.ph2: ; preds = %22 br label %30 30: ; preds = %.lr.ph2, %31 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 ptr, ptr %2, align 8 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 32 br i1 %40, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %41 41: ; preds = %._crit_edge3, %22 %42 = load ptr, ptr %2, align 8 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = getelementptr inbounds i8, ptr %45, i64 1 %47 = call i32 @printf(ptr noundef @.str, ptr noundef %46) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp89ej09jy.c' source_filename = "/tmp/tmp89ej09jy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @ps() ret i32 0 } declare i32 @ps(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp89ej09jy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @ps() ret i32 0 } declare i32 @ps(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpugszll6k.c' source_filename = "/tmp/tmpugszll6k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"fun_stub_base_3_stub:a = %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fun_stub_base_3_stub(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @printf(ptr noundef @.str, i8 noundef signext %3) %5 = load i8, ptr %2, align 1 %6 = sext i8 %5 to i32 ret i32 %6 } declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpugszll6k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"fun_stub_base_3_stub:a = %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fun_stub_base_3_stub(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @printf(ptr noundef @.str, i8 noundef signext %3) %5 = load i8, ptr %2, align 1 %6 = sext i8 %5 to i32 ret i32 %6 } declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv_nkgz1u.c' source_filename = "/tmp/tmpv_nkgz1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @skip(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 6 %5 = call i32 @puts(ptr noundef %4) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv_nkgz1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @skip(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 6 %5 = call i32 @puts(ptr noundef %4) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpowksp84a.c' source_filename = "/tmp/tmpowksp84a.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"PE: Memory allocation fails!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @allocate_double_RT_3D(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 8 %13 = trunc i64 %12 to i32 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %3 %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %3 store i32 0, ptr %7, align 4 br label %23 23: ; preds = %68, %22 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %71 27: ; preds = %23 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = mul i64 %29, 8 %31 = trunc i64 %30 to i32 %32 = call i64 @malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr %34 = load ptr, ptr %9, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 store ptr %33, ptr %37, align 8 %38 = load ptr, ptr %9, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = icmp eq ptr %42, null br i1 %43, label %44, label %48 44: ; preds = %27 %45 = load i32, ptr @stderr, align 4 %46 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %27 store i32 0, ptr %8, align 4 br label %49 49: ; preds = %64, %48 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %5, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %67 53: ; preds = %49 %54 = load i32, ptr %6, align 4 %55 = call ptr @allocate_double_1D(i32 noundef %54) %56 = load ptr, ptr %9, align 8 %57 = load i32, ptr %7, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = load i32, ptr %8, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %60, i64 %62 store ptr %55, ptr %63, align 8 br label %64 64: ; preds = %53 %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %8, align 4 br label %49, !llvm.loop !6 67: ; preds = %49 br label %68 68: ; preds = %67 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %7, align 4 br label %23, !llvm.loop !8 71: ; preds = %23 %72 = load ptr, ptr %9, align 8 ret ptr %72 } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @allocate_double_1D(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpowksp84a.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"PE: Memory allocation fails!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @allocate_double_RT_3D(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 8 %13 = trunc i64 %12 to i32 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %3 %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %3 store i32 0, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph2, label %75 .lr.ph2: ; preds = %22 br label %26 26: ; preds = %.lr.ph2, %69 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = mul i64 %28, 8 %30 = trunc i64 %29 to i32 %31 = call i64 @malloc(i32 noundef %30) %32 = inttoptr i64 %31 to ptr %33 = load ptr, ptr %9, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 store ptr %32, ptr %36, align 8 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %47 43: ; preds = %26 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str) %46 = call i32 @exit(i32 noundef 1) #3 unreachable 47: ; preds = %26 store i32 0, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %.lr.ph, label %68 .lr.ph: ; preds = %47 br label %51 51: ; preds = %.lr.ph, %62 %52 = load i32, ptr %6, align 4 %53 = call ptr @allocate_double_1D(i32 noundef %52) %54 = load ptr, ptr %9, align 8 %55 = load i32, ptr %7, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds ptr, ptr %54, i64 %56 %58 = load ptr, ptr %57, align 8 %59 = load i32, ptr %8, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %58, i64 %60 store ptr %53, ptr %61, align 8 br label %62 62: ; preds = %51 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = load i32, ptr %5, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %51, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %68 68: ; preds = %._crit_edge, %47 br label %69 69: ; preds = %68 %70 = load i32, ptr %7, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %7, align 4 %72 = load i32, ptr %7, align 4 %73 = load i32, ptr %4, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %75 75: ; preds = %._crit_edge3, %22 %76 = load ptr, ptr %9, align 8 ret ptr %76 } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @allocate_double_1D(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9srdtlol.c' source_filename = "/tmp/tmp9srdtlol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"\0A Error: Wrong input data in Start vector mixture!!\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"\0ANumber of start vectors mixture = %d found = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_numbers_into_vector(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %10 10: ; preds = %33, %3 %11 = load ptr, ptr %7, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %34 15: ; preds = %10 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %7, align 8 %18 = load i8, ptr %16, align 1 %19 = sext i8 %18 to i32 switch i32 %19, label %32 [ i32 48, label %20 i32 49, label %26 ] 20: ; preds = %15 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %8, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %8, align 4 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds i32, ptr %21, i64 %24 store i32 0, ptr %25, align 4 br label %33 26: ; preds = %15 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 %30 = sext i32 %28 to i64 %31 = getelementptr inbounds i32, ptr %27, i64 %30 store i32 1, ptr %31, align 4 br label %33 32: ; preds = %15 br label %33 33: ; preds = %32, %26, %20 br label %10, !llvm.loop !6 34: ; preds = %10 %35 = load i32, ptr %8, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %38, label %44 38: ; preds = %34 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str) %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %8, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %40, i32 noundef %41) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %34 ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9srdtlol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"\0A Error: Wrong input data in Start vector mixture!!\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"\0ANumber of start vectors mixture = %d found = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_numbers_into_vector(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %7, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %.lr.ph, label %37 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %32 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %7, align 8 %17 = load i8, ptr %15, align 1 %18 = sext i8 %17 to i32 switch i32 %18, label %31 [ i32 48, label %19 i32 49, label %25 ] 19: ; preds = %14 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %8, align 4 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i32, ptr %20, i64 %23 store i32 0, ptr %24, align 4 br label %32 25: ; preds = %14 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %8, align 4 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds i32, ptr %26, i64 %29 store i32 1, ptr %30, align 4 br label %32 31: ; preds = %14 br label %32 32: ; preds = %31, %25, %19 %33 = load ptr, ptr %7, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %3 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp ne i32 %38, %39 br i1 %40, label %41, label %47 41: ; preds = %37 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str) %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %8, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43, i32 noundef %44) %46 = call i32 @exit(i32 noundef 1) #3 unreachable 47: ; preds = %37 ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpucz5p68i.c' source_filename = "/tmp/tmpucz5p68i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LT!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @le_different_allocs() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr @malloc(i32 noundef 4) store ptr %3, ptr %1, align 8 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %1, align 8 store volatile i32 12, ptr %5, align 4 %6 = load ptr, ptr %2, align 8 store volatile i32 32, ptr %6, align 4 %7 = load ptr, ptr %1, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i64 @test_lt(ptr noundef %7, ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @puts(ptr noundef @.str) br label %13 13: ; preds = %11, %0 ret i32 1 } declare ptr @malloc(i32 noundef) #1 declare i64 @test_lt(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpucz5p68i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LT!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @le_different_allocs() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr @malloc(i32 noundef 4) store ptr %3, ptr %1, align 8 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %1, align 8 store volatile i32 12, ptr %5, align 4 %6 = load ptr, ptr %2, align 8 store volatile i32 32, ptr %6, align 4 %7 = load ptr, ptr %1, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i64 @test_lt(ptr noundef %7, ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @puts(ptr noundef @.str) br label %13 13: ; preds = %11, %0 ret i32 1 } declare ptr @malloc(i32 noundef) #1 declare i64 @test_lt(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeql8liou.c' source_filename = "/tmp/tmpeql8liou.c" target datalayout = "e-m:e-p270: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/tmpeql8liou.c" target datalayout = "e-m:e-p270: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/tmp3lg_5ek7.c' source_filename = "/tmp/tmp3lg_5ek7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randUnif(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 %10 = sitofp i32 %9 to double store double %10, ptr %5, align 8 %11 = call double (...) @normalizedRand() %12 = load double, ptr %5, align 8 %13 = load i32, ptr %3, align 4 %14 = sitofp i32 %13 to double %15 = call double @llvm.fmuladd.f64(double %11, double %12, double %14) %16 = fptosi double %15 to i32 ret i32 %16 } declare double @normalizedRand(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3lg_5ek7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randUnif(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 %10 = sitofp i32 %9 to double store double %10, ptr %5, align 8 %11 = call double (...) @normalizedRand() %12 = load double, ptr %5, align 8 %13 = load i32, ptr %3, align 4 %14 = sitofp i32 %13 to double %15 = call double @llvm.fmuladd.f64(double %11, double %12, double %14) %16 = fptosi double %15 to i32 ret i32 %16 } declare double @normalizedRand(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppq9m78ti.c' source_filename = "/tmp/tmppq9m78ti.c" target datalayout = "e-m:e-p270: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/tmppq9m78ti.c" target datalayout = "e-m:e-p270: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/tmpob9hnur6.c' source_filename = "/tmp/tmpob9hnur6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @encode_url.buf = internal global [1024 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [35 x i8] c"~`!@#$%%^&*()-_=+[{]}\\|;:'\22,<.>/? \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @encode_url(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [4 x i8], align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %7 7: ; preds = %94, %1 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %14, label %97 14: ; preds = %7 %15 = load i32, ptr %5, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %25, label %17 17: ; preds = %14 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = call i64 @strchr(ptr noundef @.str, i8 noundef zeroext %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %45, label %25 25: ; preds = %17, %14 %26 = load ptr, ptr %2, align 8 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %69 34: ; preds = %25 %35 = load i32, ptr %5, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %69, label %37 37: ; preds = %34 %38 = load ptr, ptr %2, align 8 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp sge i32 %43, 128 br i1 %44, label %45, label %69 45: ; preds = %37, %17 %46 = load i32, ptr %4, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %4, align 4 %48 = sext i32 %46 to i64 %49 = getelementptr inbounds [1024 x i8], ptr @encode_url.buf, i64 0, i64 %48 store i8 37, ptr %49, align 1 %50 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %51 = load ptr, ptr %2, align 8 %52 = load i32, ptr %3, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = call i32 @sprintf(ptr noundef %50, ptr noundef @.str.1, i8 noundef zeroext %55) %57 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %58 = load i8, ptr %57, align 1 %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %4, align 4 %61 = sext i32 %59 to i64 %62 = getelementptr inbounds [1024 x i8], ptr @encode_url.buf, i64 0, i64 %61 store i8 %58, ptr %62, align 1 %63 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1 %64 = load i8, ptr %63, align 1 %65 = load i32, ptr %4, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %4, align 4 %67 = sext i32 %65 to i64 %68 = getelementptr inbounds [1024 x i8], ptr @encode_url.buf, i64 0, i64 %67 store i8 %64, ptr %68, align 1 br label %79 69: ; preds = %37, %34, %25 %70 = load ptr, ptr %2, align 8 %71 = load i32, ptr %3, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %70, i64 %72 %74 = load i8, ptr %73, align 1 %75 = load i32, ptr %4, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %4, align 4 %77 = sext i32 %75 to i64 %78 = getelementptr inbounds [1024 x i8], ptr @encode_url.buf, i64 0, i64 %77 store i8 %74, ptr %78, align 1 br label %79 79: ; preds = %69, %45 %80 = load i32, ptr %5, align 4 %81 = icmp ne i32 %80, 0 br i1 %81, label %82, label %83 82: ; preds = %79 store i32 0, ptr %5, align 4 br label %93 83: ; preds = %79 %84 = load ptr, ptr %2, align 8 %85 = load i32, ptr %3, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %84, i64 %86 %88 = load i8, ptr %87, align 1 %89 = zext i8 %88 to i32 %90 = icmp sge i32 %89, 128 br i1 %90, label %91, label %92 91: ; preds = %83 store i32 1, ptr %5, align 4 br label %92 92: ; preds = %91, %83 br label %93 93: ; preds = %92, %82 br label %94 94: ; preds = %93 %95 = load i32, ptr %3, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %3, align 4 br label %7, !llvm.loop !6 97: ; preds = %7 %98 = load i32, ptr %4, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [1024 x i8], ptr @encode_url.buf, i64 0, i64 %99 store i8 0, ptr %100, align 1 ret ptr @encode_url.buf } declare i64 @strchr(ptr noundef, i8 noundef zeroext) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpob9hnur6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @encode_url.buf = internal global [1024 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [35 x i8] c"~`!@#$%%^&*()-_=+[{]}\\|;:'\22,<.>/? \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @encode_url(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [4 x i8], align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, 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 %.lr.ph, label %102 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %93 %14 = load i32, ptr %5, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %24, label %16 16: ; preds = %13 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = call i64 @strchr(ptr noundef @.str, i8 noundef zeroext %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %44, label %24 24: ; preds = %16, %13 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %25, i64 %28 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %68 33: ; preds = %24 %34 = load i32, ptr %5, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %68, label %36 36: ; preds = %33 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %3, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = icmp sge i32 %42, 128 br i1 %43, label %44, label %68 44: ; preds = %36, %16 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %4, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds [1024 x i8], ptr @encode_url.buf, i64 0, i64 %47 store i8 37, ptr %48, align 1 %49 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %50 = load ptr, ptr %2, align 8 %51 = load i32, ptr %3, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = call i32 @sprintf(ptr noundef %49, ptr noundef @.str.1, i8 noundef zeroext %54) %56 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %57 = load i8, ptr %56, align 1 %58 = load i32, ptr %4, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %4, align 4 %60 = sext i32 %58 to i64 %61 = getelementptr inbounds [1024 x i8], ptr @encode_url.buf, i64 0, i64 %60 store i8 %57, ptr %61, align 1 %62 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 1 %63 = load i8, ptr %62, align 1 %64 = load i32, ptr %4, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %4, align 4 %66 = sext i32 %64 to i64 %67 = getelementptr inbounds [1024 x i8], ptr @encode_url.buf, i64 0, i64 %66 store i8 %63, ptr %67, align 1 br label %78 68: ; preds = %36, %33, %24 %69 = load ptr, ptr %2, align 8 %70 = load i32, ptr %3, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = load i32, ptr %4, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %4, align 4 %76 = sext i32 %74 to i64 %77 = getelementptr inbounds [1024 x i8], ptr @encode_url.buf, i64 0, i64 %76 store i8 %73, ptr %77, align 1 br label %78 78: ; preds = %68, %44 %79 = load i32, ptr %5, align 4 %80 = icmp ne i32 %79, 0 br i1 %80, label %81, label %82 81: ; preds = %78 store i32 0, ptr %5, align 4 br label %92 82: ; preds = %78 %83 = load ptr, ptr %2, align 8 %84 = load i32, ptr %3, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = zext i8 %87 to i32 %89 = icmp sge i32 %88, 128 br i1 %89, label %90, label %91 90: ; preds = %82 store i32 1, ptr %5, align 4 br label %91 91: ; preds = %90, %82 br label %92 92: ; preds = %91, %81 br label %93 93: ; preds = %92 %94 = load i32, ptr %3, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %3, align 4 %96 = load ptr, ptr %2, align 8 %97 = load i32, ptr %3, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i8, ptr %96, i64 %98 %100 = load i8, ptr %99, align 1 %101 = icmp ne i8 %100, 0 br i1 %101, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %93 br label %102 102: ; preds = %._crit_edge, %1 %103 = load i32, ptr %4, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [1024 x i8], ptr @encode_url.buf, i64 0, i64 %104 store i8 0, ptr %105, align 1 ret ptr @encode_url.buf } declare i64 @strchr(ptr noundef, i8 noundef zeroext) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpewdx8hll.c' source_filename = "/tmp/tmpewdx8hll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"dictionnaire.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"motCache.txt\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.4 = private unnamed_addr constant [63 x i8] c"=========================\0A\09LE PENDU\0A=========================\0A\00", align 1 @.str.5 = private unnamed_addr constant [136 x i8] c"\0A\0ABienvenu dans ce jeu du pendu jeune aventurier.\0AAvant de commencer je vais t'\C3\A9num\C3\A9rer les quelques r\C3\A8gles\0Aque tu devras respecter:\00", align 1 @.str.6 = private unnamed_addr constant [151 x i8] c"\0A\091.Tu devras trouver le mot myst\C3\A8re en moins de 10 coups sinon\0A\09un innocent mourra.\0A\092.Tu ne pourras proposer qu'une et une seule lettre par tours.\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"\0A\0APr\C3\AAt?....\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [35 x i8] c"\0A\0AIl vous reste %d coups \C3\A0 jouer\0A\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"Quel est le mot secret?: %s\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"\0APropose une lettre si tu l'oses: \00", align 1 @.str.11 = private unnamed_addr constant [31 x i8] c"Voici ce que tu as trouv\C3\A9: %c\00", align 1 @.str.12 = private unnamed_addr constant [48 x i8] c"Bravo!! Vous avez d\C3\A9couvert le mot myst\C3\A8re!\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [68 x i8] c"%d innocents sont morts par votre faute au cours de cette partie...\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 ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca [26 x i8], align 16 %8 = alloca [1 x i8], align 1 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 0, ptr %3, align 4 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 store i8 0, ptr %6, align 1 call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 1, i1 false) store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %11, align 8 %13 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %11, align 8 %15 = getelementptr inbounds [26 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @recuperationMotSecret(ptr noundef %14, ptr noundef %15) %17 = getelementptr inbounds [26 x i8], ptr %7, i64 0, i64 0 %18 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %19 = call i32 @masquageMotCahe(ptr noundef %17, ptr noundef %18) %20 = load ptr, ptr %10, align 8 %21 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %22 = call i32 @verificationOuvertureFichier(ptr noundef %20, ptr noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %27 27: ; preds = %60, %0 %28 = load i32, ptr %2, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %61 30: ; preds = %27 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %31) %33 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %33) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %36 = call signext i8 (...) @lirecaractere() store i8 %36, ptr %6, align 1 %37 = getelementptr inbounds [26 x i8], ptr %7, i64 0, i64 0 %38 = load i8, ptr %6, align 1 %39 = call ptr @strchr(ptr noundef %37, i8 noundef signext %38) store ptr %39, ptr %9, align 8 %40 = load ptr, ptr %9, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %47 42: ; preds = %30 %43 = load ptr, ptr %9, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %45) br label %47 47: ; preds = %42, %30 %48 = call i32 @incrementageCoups(ptr noundef %2, ptr noundef %3) %49 = getelementptr inbounds [26 x i8], ptr %7, i64 0, i64 0 %50 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %51 = call i64 @strcmp(ptr noundef %49, ptr noundef %50) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %60 53: ; preds = %47 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %55 = load i32, ptr %3, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %55) %57 = load i32, ptr %2, align 4 %58 = icmp eq i32 %57, 0 %59 = zext i1 %58 to i32 br label %60 60: ; preds = %53, %47 br label %27, !llvm.loop !6 61: ; preds = %27 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @recuperationMotSecret(ptr noundef, ptr noundef) #2 declare i32 @masquageMotCahe(ptr noundef, ptr noundef) #2 declare i32 @verificationOuvertureFichier(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare signext i8 @lirecaractere(...) #2 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i32 @incrementageCoups(ptr noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpewdx8hll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"dictionnaire.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"motCache.txt\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.4 = private unnamed_addr constant [63 x i8] c"=========================\0A\09LE PENDU\0A=========================\0A\00", align 1 @.str.5 = private unnamed_addr constant [136 x i8] c"\0A\0ABienvenu dans ce jeu du pendu jeune aventurier.\0AAvant de commencer je vais t'\C3\A9num\C3\A9rer les quelques r\C3\A8gles\0Aque tu devras respecter:\00", align 1 @.str.6 = private unnamed_addr constant [151 x i8] c"\0A\091.Tu devras trouver le mot myst\C3\A8re en moins de 10 coups sinon\0A\09un innocent mourra.\0A\092.Tu ne pourras proposer qu'une et une seule lettre par tours.\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"\0A\0APr\C3\AAt?....\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [35 x i8] c"\0A\0AIl vous reste %d coups \C3\A0 jouer\0A\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"Quel est le mot secret?: %s\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"\0APropose une lettre si tu l'oses: \00", align 1 @.str.11 = private unnamed_addr constant [31 x i8] c"Voici ce que tu as trouv\C3\A9: %c\00", align 1 @.str.12 = private unnamed_addr constant [48 x i8] c"Bravo!! Vous avez d\C3\A9couvert le mot myst\C3\A8re!\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [68 x i8] c"%d innocents sont morts par votre faute au cours de cette partie...\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 ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca [26 x i8], align 16 %8 = alloca [1 x i8], align 1 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 0, ptr %3, align 4 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 store i8 0, ptr %6, align 1 call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 1, i1 false) store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %11, align 8 %13 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %11, align 8 %15 = getelementptr inbounds [26 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @recuperationMotSecret(ptr noundef %14, ptr noundef %15) %17 = getelementptr inbounds [26 x i8], ptr %7, i64 0, i64 0 %18 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %19 = call i32 @masquageMotCahe(ptr noundef %17, ptr noundef %18) %20 = load ptr, ptr %10, align 8 %21 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %22 = call i32 @verificationOuvertureFichier(ptr noundef %20, ptr noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %27 = load i32, ptr %2, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %.lr.ph, label %62 .lr.ph: ; preds = %0 br label %29 29: ; preds = %.lr.ph, %59 %30 = load i32, ptr %2, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %30) %32 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %35 = call signext i8 (...) @lirecaractere() store i8 %35, ptr %6, align 1 %36 = getelementptr inbounds [26 x i8], ptr %7, i64 0, i64 0 %37 = load i8, ptr %6, align 1 %38 = call ptr @strchr(ptr noundef %36, i8 noundef signext %37) store ptr %38, ptr %9, align 8 %39 = load ptr, ptr %9, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %46 41: ; preds = %29 %42 = load ptr, ptr %9, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %44) br label %46 46: ; preds = %41, %29 %47 = call i32 @incrementageCoups(ptr noundef %2, ptr noundef %3) %48 = getelementptr inbounds [26 x i8], ptr %7, i64 0, i64 0 %49 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %50 = call i64 @strcmp(ptr noundef %48, ptr noundef %49) %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %59 52: ; preds = %46 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %54 = load i32, ptr %3, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %54) %56 = load i32, ptr %2, align 4 %57 = icmp eq i32 %56, 0 %58 = zext i1 %57 to i32 br label %59 59: ; preds = %52, %46 %60 = load i32, ptr %2, align 4 %61 = icmp sgt i32 %60, 0 br i1 %61, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %62 62: ; preds = %._crit_edge, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @recuperationMotSecret(ptr noundef, ptr noundef) #2 declare i32 @masquageMotCahe(ptr noundef, ptr noundef) #2 declare i32 @verificationOuvertureFichier(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare signext i8 @lirecaractere(...) #2 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i32 @incrementageCoups(ptr noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbh4yr7tp.c' source_filename = "/tmp/tmpbh4yr7tp.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"main returning %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 2 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @libcall(i32 noundef %10, i32 noundef %11) store i32 %12, ptr %6, align 4 br label %25 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atol(ptr noundef %16) %18 = call i32 @libcall(i32 noundef %17, i32 noundef 1) %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @atol(ptr noundef %21) %23 = call i32 @libcall(i32 noundef %22, i32 noundef 2) %24 = mul nsw i32 %18, %23 store i32 %24, ptr %6, align 4 br label %25 25: ; preds = %13, %9 %26 = load i32, ptr @stderr, align 4 %27 = load i32, ptr %6, align 4 %28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str, i32 noundef %27) %29 = load i32, ptr %6, align 4 ret i32 %29 } declare i32 @libcall(i32 noundef, i32 noundef) #1 declare i32 @atol(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbh4yr7tp.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"main returning %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 2 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @libcall(i32 noundef %10, i32 noundef %11) store i32 %12, ptr %6, align 4 br label %25 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atol(ptr noundef %16) %18 = call i32 @libcall(i32 noundef %17, i32 noundef 1) %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @atol(ptr noundef %21) %23 = call i32 @libcall(i32 noundef %22, i32 noundef 2) %24 = mul nsw i32 %18, %23 store i32 %24, ptr %6, align 4 br label %25 25: ; preds = %13, %9 %26 = load i32, ptr @stderr, align 4 %27 = load i32, ptr %6, align 4 %28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str, i32 noundef %27) %29 = load i32, ptr %6, align 4 ret i32 %29 } declare i32 @libcall(i32 noundef, i32 noundef) #1 declare i32 @atol(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4qq2mgqn.c' source_filename = "/tmp/tmp4qq2mgqn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asnReadIntegerL(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %5 = call i32 @asnReadLength(ptr noundef %4) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -1, ptr %2, align 4 br label %13 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %4, align 8 %11 = trunc i64 %10 to i32 %12 = call i32 @asnReadInteger(ptr noundef %9, i32 noundef %11) store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %8, %7 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @asnReadLength(ptr noundef) #1 declare i32 @asnReadInteger(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/tmp4qq2mgqn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asnReadIntegerL(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %5 = call i32 @asnReadLength(ptr noundef %4) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -1, ptr %2, align 4 br label %13 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %4, align 8 %11 = trunc i64 %10 to i32 %12 = call i32 @asnReadInteger(ptr noundef %9, i32 noundef %11) store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %8, %7 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @asnReadLength(ptr noundef) #1 declare i32 @asnReadInteger(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/tmp1jy6q743.c' source_filename = "/tmp/tmp1jy6q743.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A %i\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c" %i_%i_%i_%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sendDataAboutAttacks(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [1000 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [100 x i8], align 16 store ptr %0, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %3, align 4 store i32 0, ptr %4, align 4 %14 = call i32 (...) @rand() %15 = srem i32 %14, 10 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 %17 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %18 = load i32, ptr %6, align 4 %19 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %17, ptr noundef @.str, i32 noundef %18) store i32 0, ptr %4, align 4 br label %20 20: ; preds = %46, %1 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %49 24: ; preds = %20 %25 = call i32 (...) @rand() %26 = srem i32 %25, 10 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 %28 = call i32 (...) @rand() %29 = srem i32 %28, 100 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = call i32 (...) @rand() %32 = srem i32 %31, 10 %33 = add nsw i32 %32, 1 store i32 %33, ptr %9, align 4 %34 = call i32 (...) @rand() %35 = srem i32 %34, 100 %36 = add nsw i32 %35, 1 store i32 %36, ptr %10, align 4 %37 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %10, align 4 %42 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %37, ptr noundef @.str.1, i32 noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef %41) %43 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %44 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %45 = call i32 @strcat(ptr noundef %43, ptr noundef %44) br label %46 46: ; preds = %24 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %4, align 4 br label %20, !llvm.loop !6 49: ; preds = %20 %50 = load i32, ptr %3, align 4 %51 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %52 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %53 = call i32 @strlen(ptr noundef %52) %54 = call i32 @send(i32 noundef %50, ptr noundef %51, i32 noundef %53, i32 noundef 0) ret void } declare i32 @rand(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1jy6q743.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A %i\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c" %i_%i_%i_%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sendDataAboutAttacks(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [1000 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [100 x i8], align 16 store ptr %0, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %3, align 4 store i32 0, ptr %4, align 4 %14 = call i32 (...) @rand() %15 = srem i32 %14, 10 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 %17 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %18 = load i32, ptr %6, align 4 %19 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %17, ptr noundef @.str, i32 noundef %18) store i32 0, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %51 .lr.ph: ; preds = %1 br label %23 23: ; preds = %.lr.ph, %45 %24 = call i32 (...) @rand() %25 = srem i32 %24, 10 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = call i32 (...) @rand() %28 = srem i32 %27, 100 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 %30 = call i32 (...) @rand() %31 = srem i32 %30, 10 %32 = add nsw i32 %31, 1 store i32 %32, ptr %9, align 4 %33 = call i32 (...) @rand() %34 = srem i32 %33, 100 %35 = add nsw i32 %34, 1 store i32 %35, ptr %10, align 4 %36 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr %10, align 4 %41 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %36, ptr noundef @.str.1, i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40) %42 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %43 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %44 = call i32 @strcat(ptr noundef %42, ptr noundef %43) br label %45 45: ; preds = %23 %46 = load i32, ptr %4, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %4, align 4 %48 = load i32, ptr %4, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %1 %52 = load i32, ptr %3, align 4 %53 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %54 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %55 = call i32 @strlen(ptr noundef %54) %56 = call i32 @send(i32 noundef %52, ptr noundef %53, i32 noundef %55, i32 noundef 0) ret void } declare i32 @rand(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbpz9vbro.c' source_filename = "/tmp/tmpbpz9vbro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"/tmp/pts_fsync_4_1_%d\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"fsync/4-1.c Error at open(): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [33 x i8] c"fsync/4-1.cError at write(): %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"fsync/4-1.cError at fsync(): %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1024, ptr %4, align 4 %6 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %7 = call i32 (...) @getpid() %8 = call i32 @snprintf(ptr noundef %6, i32 noundef 256, ptr noundef @.str, i32 noundef %7) %9 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @unlink(ptr noundef %9) %11 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %12 = load i32, ptr @O_CREAT, align 4 %13 = load i32, ptr @O_RDWR, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @O_EXCL, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @S_IRUSR, align 4 %18 = load i32, ptr @S_IWUSR, align 4 %19 = or i32 %17, %18 %20 = call i32 @open(ptr noundef %11, i32 noundef %16, i32 noundef %19) store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %21, -1 br i1 %22, label %23, label %28 23: ; preds = %0 %24 = load i32, ptr @errno, align 4 %25 = call ptr @strerror(i32 noundef %24) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25) %27 = call i32 @exit(i32 noundef 2) #3 unreachable 28: ; preds = %0 %29 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %30 = call i32 @unlink(ptr noundef %29) %31 = load i32, ptr %4, align 4 %32 = call i64 @malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %3, align 8 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %4, align 4 %36 = call i32 @memset(ptr noundef %34, i8 noundef signext 97, i32 noundef %35) %37 = load i32, ptr %5, align 4 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %4, align 4 %40 = call i32 @write(i32 noundef %37, ptr noundef %38, i32 noundef %39) %41 = load i32, ptr %4, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %43, label %50 43: ; preds = %28 %44 = load i32, ptr @errno, align 4 %45 = call ptr @strerror(i32 noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %45) %47 = load ptr, ptr %3, align 8 %48 = call i32 @free(ptr noundef %47) %49 = call i32 @exit(i32 noundef 2) #3 unreachable 50: ; preds = %28 %51 = load ptr, ptr %3, align 8 %52 = call i32 @free(ptr noundef %51) %53 = load i32, ptr %5, align 4 %54 = call i32 @fsync(i32 noundef %53) %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %61 56: ; preds = %50 %57 = load i32, ptr @errno, align 4 %58 = call ptr @strerror(i32 noundef %57) %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %58) %60 = call i32 @exit(i32 noundef 1) #3 unreachable 61: ; preds = %50 %62 = load i32, ptr %5, align 4 %63 = call i32 @close(i32 noundef %62) %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fsync(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbpz9vbro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"/tmp/pts_fsync_4_1_%d\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"fsync/4-1.c Error at open(): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [33 x i8] c"fsync/4-1.cError at write(): %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"fsync/4-1.cError at fsync(): %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"Test PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1024, ptr %4, align 4 %6 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %7 = call i32 (...) @getpid() %8 = call i32 @snprintf(ptr noundef %6, i32 noundef 256, ptr noundef @.str, i32 noundef %7) %9 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @unlink(ptr noundef %9) %11 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %12 = load i32, ptr @O_CREAT, align 4 %13 = load i32, ptr @O_RDWR, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @O_EXCL, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @S_IRUSR, align 4 %18 = load i32, ptr @S_IWUSR, align 4 %19 = or i32 %17, %18 %20 = call i32 @open(ptr noundef %11, i32 noundef %16, i32 noundef %19) store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %21, -1 br i1 %22, label %23, label %28 23: ; preds = %0 %24 = load i32, ptr @errno, align 4 %25 = call ptr @strerror(i32 noundef %24) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25) %27 = call i32 @exit(i32 noundef 2) #3 unreachable 28: ; preds = %0 %29 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %30 = call i32 @unlink(ptr noundef %29) %31 = load i32, ptr %4, align 4 %32 = call i64 @malloc(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %3, align 8 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %4, align 4 %36 = call i32 @memset(ptr noundef %34, i8 noundef signext 97, i32 noundef %35) %37 = load i32, ptr %5, align 4 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %4, align 4 %40 = call i32 @write(i32 noundef %37, ptr noundef %38, i32 noundef %39) %41 = load i32, ptr %4, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %43, label %50 43: ; preds = %28 %44 = load i32, ptr @errno, align 4 %45 = call ptr @strerror(i32 noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %45) %47 = load ptr, ptr %3, align 8 %48 = call i32 @free(ptr noundef %47) %49 = call i32 @exit(i32 noundef 2) #3 unreachable 50: ; preds = %28 %51 = load ptr, ptr %3, align 8 %52 = call i32 @free(ptr noundef %51) %53 = load i32, ptr %5, align 4 %54 = call i32 @fsync(i32 noundef %53) %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %61 56: ; preds = %50 %57 = load i32, ptr @errno, align 4 %58 = call ptr @strerror(i32 noundef %57) %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %58) %60 = call i32 @exit(i32 noundef 1) #3 unreachable 61: ; preds = %50 %62 = load i32, ptr %5, align 4 %63 = call i32 @close(i32 noundef %62) %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fsync(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgf81dq4u.c' source_filename = "/tmp/tmpgf81dq4u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @opdi_str_to_uint16(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 i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 0, ptr @errno, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strtol(ptr noundef %8, ptr noundef %6, i32 noundef 10) store i64 %9, ptr %7, align 8 %10 = load i64, ptr @errno, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %21, label %12 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %12 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %4, align 8 %20 = icmp eq ptr %18, %19 br i1 %20, label %21, label %22 21: ; preds = %17, %12, %2 store i32 5, ptr %3, align 4 br label %25 22: ; preds = %17 %23 = load i64, ptr %7, align 8 %24 = load ptr, ptr %5, align 8 store i64 %23, ptr %24, align 8 store i32 0, ptr %3, align 4 br label %25 25: ; preds = %22, %21 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i64 @strtol(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/tmpgf81dq4u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @opdi_str_to_uint16(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 i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 0, ptr @errno, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strtol(ptr noundef %8, ptr noundef %6, i32 noundef 10) store i64 %9, ptr %7, align 8 %10 = load i64, ptr @errno, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %21, label %12 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %12 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %4, align 8 %20 = icmp eq ptr %18, %19 br i1 %20, label %21, label %22 21: ; preds = %17, %12, %2 store i32 5, ptr %3, align 4 br label %25 22: ; preds = %17 %23 = load i64, ptr %7, align 8 %24 = load ptr, ptr %5, align 8 store i64 %23, ptr %24, align 8 store i32 0, ptr %3, align 4 br label %25 25: ; preds = %22, %21 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i64 @strtol(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/tmpyms34dba.c' source_filename = "/tmp/tmpyms34dba.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyms34dba.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpny3j8o5c.c' source_filename = "/tmp/tmpny3j8o5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global 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/tmpny3j8o5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global 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/tmpqownz1wc.c' source_filename = "/tmp/tmpqownz1wc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.array = private unnamed_addr constant [5 x i32] [i32 10, i32 20, i32 32, i32 42, i32 16], align 16 @__const.main.name = private unnamed_addr constant [7 x i8] c"Gregory", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca [7 x i8], align 1 store i32 5, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.name, i64 7, i1 false) %4 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @str_arr(ptr noundef %4, i32 noundef 7) %6 = call i32 @printChar(i8 noundef signext 10) store i32 0, ptr %1, align 4 br label %7 7: ; preds = %17, %0 %8 = load i32, ptr %1, align 4 %9 = icmp slt i32 %8, 5 br i1 %9, label %10, label %20 10: ; preds = %7 %11 = load i32, ptr %1, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 @printInt(i32 noundef %14) %16 = call i32 @printChar(i8 noundef signext 32) br label %17 17: ; preds = %10 %18 = load i32, ptr %1, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %1, align 4 br label %7, !llvm.loop !6 20: ; preds = %7 %21 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %22 = call i32 @print_arr(ptr noundef %21, i32 noundef 5) %23 = call i32 @printChar(i8 noundef signext 10) 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 @str_arr(ptr noundef, i32 noundef) #2 declare i32 @printChar(i8 noundef signext) #2 declare i32 @printInt(i32 noundef) #2 declare i32 @print_arr(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqownz1wc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.array = private unnamed_addr constant [5 x i32] [i32 10, i32 20, i32 32, i32 42, i32 16], align 16 @__const.main.name = private unnamed_addr constant [7 x i8] c"Gregory", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca [7 x i8], align 1 store i32 5, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.name, i64 7, i1 false) %4 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @str_arr(ptr noundef %4, i32 noundef 7) %6 = call i32 @printChar(i8 noundef signext 10) store i32 0, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = icmp slt i32 %7, 5 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %16 %10 = load i32, ptr %1, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 @printInt(i32 noundef %13) %15 = call i32 @printChar(i8 noundef signext 32) br label %16 16: ; preds = %9 %17 = load i32, ptr %1, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %1, align 4 %19 = load i32, ptr %1, align 4 %20 = icmp slt i32 %19, 5 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %23 = call i32 @print_arr(ptr noundef %22, i32 noundef 5) %24 = call i32 @printChar(i8 noundef signext 10) 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 @str_arr(ptr noundef, i32 noundef) #2 declare i32 @printChar(i8 noundef signext) #2 declare i32 @printInt(i32 noundef) #2 declare i32 @print_arr(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpemhr454e.c' source_filename = "/tmp/tmpemhr454e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpemhr454e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfgdy_t2g.c' source_filename = "/tmp/tmpfgdy_t2g.c" target datalayout = "e-m:e-p270: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/tmpfgdy_t2g.c" target datalayout = "e-m:e-p270: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/tmpbu_8zy6e.c' source_filename = "/tmp/tmpbu_8zy6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_puterr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %6 5: ; preds = %1 br label %11 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @my_strlen(ptr noundef %8) %10 = call i32 @write(i32 noundef 2, ptr noundef %7, i32 noundef %9) br label %11 11: ; preds = %6, %5 ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @my_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/tmpbu_8zy6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_puterr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %6 5: ; preds = %1 br label %11 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @my_strlen(ptr noundef %8) %10 = call i32 @write(i32 noundef 2, ptr noundef %7, i32 noundef %9) br label %11 11: ; preds = %6, %5 ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @my_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/tmpb_fy451z.c' source_filename = "/tmp/tmpb_fy451z.c" target datalayout = "e-m:e-p270: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 [44 x i8] c"The command line is missing a non-negative \00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"integer at its end.\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%d%c\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"\22%s\22 (from item %d on the command line) \00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"is not a non-negative integer.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pl_Nn_Int(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i8 0, ptr %12, align 1 %13 = load i32, ptr %10, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp sge i32 %13, %14 br i1 %15, label %16, label %21 16: ; preds = %5 %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str) %19 = load i32, ptr @stderr, align 4 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %58 21: ; preds = %5 %22 = load ptr, ptr %9, align 8 %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %11, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load ptr, ptr %7, align 8 %31 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %30, ptr noundef %12) %32 = icmp ne i32 %31, 1 br i1 %32, label %41, label %33 33: ; preds = %21 %34 = load i8, ptr %12, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %41, label %37 37: ; preds = %33 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %38, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %55 41: ; preds = %37, %33, %21 %42 = load i32, ptr @stderr, align 4 %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %10, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %11, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i32, ptr %10, align 4 %52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.3, ptr noundef %50, i32 noundef %51) %53 = load i32, ptr @stderr, align 4 %54 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.4) store i32 0, ptr %6, align 4 br label %58 55: ; preds = %37 %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 br label %58 58: ; preds = %55, %41, %16 %59 = load i32, ptr %6, align 4 ret i32 %59 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb_fy451z.c" target datalayout = "e-m:e-p270: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 [44 x i8] c"The command line is missing a non-negative \00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"integer at its end.\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%d%c\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"\22%s\22 (from item %d on the command line) \00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"is not a non-negative integer.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pl_Nn_Int(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i8 0, ptr %12, align 1 %13 = load i32, ptr %10, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp sge i32 %13, %14 br i1 %15, label %16, label %21 16: ; preds = %5 %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str) %19 = load i32, ptr @stderr, align 4 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %58 21: ; preds = %5 %22 = load ptr, ptr %9, align 8 %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %11, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load ptr, ptr %7, align 8 %31 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %30, ptr noundef %12) %32 = icmp ne i32 %31, 1 br i1 %32, label %41, label %33 33: ; preds = %21 %34 = load i8, ptr %12, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %41, label %37 37: ; preds = %33 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %38, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %55 41: ; preds = %37, %33, %21 %42 = load i32, ptr @stderr, align 4 %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %10, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %11, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i32, ptr %10, align 4 %52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.3, ptr noundef %50, i32 noundef %51) %53 = load i32, ptr @stderr, align 4 %54 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.4) store i32 0, ptr %6, align 4 br label %58 55: ; preds = %37 %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 br label %58 58: ; preds = %55, %41, %16 %59 = load i32, ptr %6, align 4 ret i32 %59 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp12yilzlk.c' source_filename = "/tmp/tmp12yilzlk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp12yilzlk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuxt9i9yb.c' source_filename = "/tmp/tmpuxt9i9yb.c" target datalayout = "e-m:e-p270: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/tmpuxt9i9yb.c" target datalayout = "e-m:e-p270: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/tmp895_5ug_.c' source_filename = "/tmp/tmp895_5ug_.c" target datalayout = "e-m:e-p270: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 [51 x i8] c"There was not enough space on the heap. Aborting.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @smalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #5 unreachable 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 ret ptr %14 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp895_5ug_.c" target datalayout = "e-m:e-p270: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 [51 x i8] c"There was not enough space on the heap. Aborting.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @smalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #5 unreachable 13: ; preds = %1 %14 = load ptr, ptr %3, align 8 ret ptr %14 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdrndhfns.c' source_filename = "/tmp/tmpdrndhfns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llroundl(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = call i64 (...) @__infer_nondet_long_long_int() ret i64 %3 } declare i64 @__infer_nondet_long_long_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdrndhfns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llroundl(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = call i64 (...) @__infer_nondet_long_long_int() ret i64 %3 } declare i64 @__infer_nondet_long_long_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphsngnrv2.c' source_filename = "/tmp/tmphsngnrv2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validate_second(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i64 @validate_range(i32 noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %20 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 2 %12 = call i32 @adjust(i32 noundef %11) %13 = icmp ne i32 %9, %12 br i1 %13, label %14, label %20 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 2 %18 = call i32 @adjust(i32 noundef %17) %19 = icmp ne i32 %15, %18 br label %20 20: ; preds = %14, %8, %2 %21 = phi i1 [ false, %8 ], [ false, %2 ], [ %19, %14 ] %22 = zext i1 %21 to i32 ret i32 %22 } declare i64 @validate_range(i32 noundef) #1 declare i32 @adjust(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/tmphsngnrv2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validate_second(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i64 @validate_range(i32 noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %20 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 2 %12 = call i32 @adjust(i32 noundef %11) %13 = icmp ne i32 %9, %12 br i1 %13, label %14, label %20 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 2 %18 = call i32 @adjust(i32 noundef %17) %19 = icmp ne i32 %15, %18 br label %20 20: ; preds = %14, %8, %2 %21 = phi i1 [ false, %8 ], [ false, %2 ], [ %19, %14 ] %22 = zext i1 %21 to i32 ret i32 %22 } declare i64 @validate_range(i32 noundef) #1 declare i32 @adjust(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/tmpnpo_iaz0.c' source_filename = "/tmp/tmpnpo_iaz0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"c1.dat\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"open() error\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [32 x i8], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @O_WRONLY, align 4 %5 = call i32 @open(ptr noundef @.str, i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %0 br label %12 12: ; preds = %11, %12 %13 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @memset(ptr noundef %13, i32 noundef 32, i8 noundef signext 0) %15 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %15) %17 = load i32, ptr %3, align 4 %18 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %19 = call i32 @write(i32 noundef %17, ptr noundef %18, i32 noundef 32) br label %12 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i8 noundef signext) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnpo_iaz0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"c1.dat\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"open() error\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [32 x i8], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @O_WRONLY, align 4 %5 = call i32 @open(ptr noundef @.str, i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.1, ptr noundef @.str.2) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %0 br label %12 12: ; preds = %12, %11 %13 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @memset(ptr noundef %13, i32 noundef 32, i8 noundef signext 0) %15 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %15) %17 = load i32, ptr %3, align 4 %18 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %19 = call i32 @write(i32 noundef %17, ptr noundef %18, i32 noundef 32) br label %12 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i8 noundef signext) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppq_nt28m.c' source_filename = "/tmp/tmppq_nt28m.c" target datalayout = "e-m:e-p270: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/tmppq_nt28m.c" target datalayout = "e-m:e-p270: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/tmp7euyoa_8.c' source_filename = "/tmp/tmp7euyoa_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[0;31m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @red(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 @paint_it(ptr noundef %3, ptr noundef @.str) ret void } declare i32 @paint_it(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/tmp7euyoa_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[0;31m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @red(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 @paint_it(ptr noundef %3, ptr noundef @.str) ret void } declare i32 @paint_it(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/tmpjsmkagum.c' source_filename = "/tmp/tmpjsmkagum.c" target datalayout = "e-m:e-p270: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.get_estimated_filesize.fs_units = private unnamed_addr constant [6 x i8] c"BKMGTP", align 1 @.str = private unnamed_addr constant [7 x i8] c"%.1f%c\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"0B\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_estimated_filesize(ptr noalias noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca [6 x i8], align 1 %7 = alloca [6 x i64], align 16 %8 = alloca double, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.get_estimated_filesize.fs_units, i64 6, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 48, i1 false) %10 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 0 store i64 1, ptr %10, align 16 %11 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 1 store i64 1024, ptr %11, align 8 %12 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 2 store i64 1048576, ptr %12, align 16 %13 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 3 store i64 1073741824, ptr %13, align 8 %14 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 4 store i64 1099511627776, ptr %14, align 16 %15 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 5 store i64 1125899906842624, ptr %15, align 8 store i32 5, ptr %9, align 4 br label %16 16: ; preds = %39, %2 %17 = load i32, ptr %9, align 4 %18 = icmp sgt i32 %17, -1 br i1 %18, label %19, label %42 19: ; preds = %16 %20 = load double, ptr %5, align 8 %21 = load i32, ptr %9, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [6 x i64], ptr %7, i64 0, i64 %22 %24 = load i64, ptr %23, align 8 %25 = sitofp i64 %24 to double %26 = fdiv double %20, %25 store double %26, ptr %8, align 8 %27 = load double, ptr %8, align 8 %28 = fcmp ogt double %27, 1.000000e+00 br i1 %28, label %29, label %38 29: ; preds = %19 %30 = load ptr, ptr %4, align 8 %31 = load double, ptr %8, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [6 x i8], ptr %6, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = call i32 @snprintf(ptr noundef %30, i32 noundef 7, ptr noundef @.str, double noundef %31, i8 noundef signext %35) %37 = load ptr, ptr %4, align 8 store ptr %37, ptr %3, align 8 br label %43 38: ; preds = %19 br label %39 39: ; preds = %38 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, -1 store i32 %41, ptr %9, align 4 br label %16, !llvm.loop !6 42: ; preds = %16 store ptr @.str.1, ptr %3, align 8 br label %43 43: ; preds = %42, %29 %44 = load ptr, ptr %3, align 8 ret ptr %44 } ; 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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, double noundef, i8 noundef signext) #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpjsmkagum.c" target datalayout = "e-m:e-p270: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.get_estimated_filesize.fs_units = private unnamed_addr constant [6 x i8] c"BKMGTP", align 1 @.str = private unnamed_addr constant [7 x i8] c"%.1f%c\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"0B\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_estimated_filesize(ptr noalias noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca [6 x i8], align 1 %7 = alloca [6 x i64], align 16 %8 = alloca double, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.get_estimated_filesize.fs_units, i64 6, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 48, i1 false) %10 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 0 store i64 1, ptr %10, align 16 %11 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 1 store i64 1024, ptr %11, align 8 %12 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 2 store i64 1048576, ptr %12, align 16 %13 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 3 store i64 1073741824, ptr %13, align 8 %14 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 4 store i64 1099511627776, ptr %14, align 16 %15 = getelementptr inbounds [6 x i64], ptr %7, i32 0, i32 5 store i64 1125899906842624, ptr %15, align 8 store i32 5, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp sgt i32 %16, -1 br i1 %17, label %.lr.ph, label %43 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %38 %19 = load double, ptr %5, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [6 x i64], ptr %7, i64 0, i64 %21 %23 = load i64, ptr %22, align 8 %24 = sitofp i64 %23 to double %25 = fdiv double %19, %24 store double %25, ptr %8, align 8 %26 = load double, ptr %8, align 8 %27 = fcmp ogt double %26, 1.000000e+00 br i1 %27, label %28, label %37 28: ; preds = %18 %29 = load ptr, ptr %4, align 8 %30 = load double, ptr %8, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [6 x i8], ptr %6, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = call i32 @snprintf(ptr noundef %29, i32 noundef 7, ptr noundef @.str, double noundef %30, i8 noundef signext %34) %36 = load ptr, ptr %4, align 8 store ptr %36, ptr %3, align 8 br label %44 37: ; preds = %18 br label %38 38: ; preds = %37 %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %9, align 4 %41 = load i32, ptr %9, align 4 %42 = icmp sgt i32 %41, -1 br i1 %42, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %43 43: ; preds = %._crit_edge, %2 store ptr @.str.1, ptr %3, align 8 br label %44 44: ; preds = %43, %28 %45 = load ptr, ptr %3, align 8 ret ptr %45 } ; 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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, double noundef, i8 noundef signext) #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_veky50z.c' source_filename = "/tmp/tmp_veky50z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"Prego inserire un'intero senza segno.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inputScanf() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 br label %3 3: ; preds = %10, %0 %4 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 %4, ptr %1, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1) %8 = call i32 @puts(ptr noundef @.str.2) br label %9 9: ; preds = %6, %3 br label %10 10: ; preds = %9 %11 = load i32, ptr %1, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %3, label %13, !llvm.loop !6 13: ; preds = %10 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_veky50z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"Prego inserire un'intero senza segno.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inputScanf() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 br label %3 3: ; preds = %10, %0 %4 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 %4, ptr %1, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1) %8 = call i32 @puts(ptr noundef @.str.2) br label %9 9: ; preds = %6, %3 br label %10 10: ; preds = %9 %11 = load i32, ptr %1, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %3, label %13, !llvm.loop !6 13: ; preds = %10 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfqmuxsg0.c' source_filename = "/tmp/tmpfqmuxsg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @ENOBUFS = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @powercap_sysfs_zone_exists(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [4096 x i8], align 16 %9 = alloca %struct.stat, align 4 %10 = 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 %11 = load ptr, ptr %5, align 8 %12 = call i32 @is_valid_control_type(ptr noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %20 14: ; preds = %3 %15 = load i32, ptr %7, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %14 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %24, label %20 20: ; preds = %17, %3 %21 = load i32, ptr @EINVAL, align 4 store i32 %21, ptr @errno, align 4 %22 = load i32, ptr @errno, align 4 %23 = sub nsw i32 0, %22 store i32 %23, ptr %4, align 4 br label %56 24: ; preds = %17, %14 %25 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = call i32 @snprintf_base_path(ptr noundef %25, i32 noundef 4096, ptr noundef %26, ptr noundef %27, i32 noundef %28) store i32 %29, ptr %10, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %24 %32 = load i32, ptr @errno, align 4 %33 = call i32 @assert(i32 noundef %32) store i32 -1, ptr %4, align 4 br label %56 34: ; preds = %24 %35 = load i32, ptr %10, align 4 %36 = sext i32 %35 to i64 %37 = icmp uge i64 %36, 4096 br i1 %37, label %38, label %42 38: ; preds = %34 %39 = load i32, ptr @ENOBUFS, align 4 store i32 %39, ptr @errno, align 4 %40 = load i32, ptr @errno, align 4 %41 = sub nsw i32 0, %40 store i32 %41, ptr %4, align 4 br label %56 42: ; preds = %34 %43 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %44 = call i64 @stat(ptr noundef %43, ptr noundef %9) %45 = icmp ne i64 %44, 0 br i1 %45, label %51, label %46 46: ; preds = %42 %47 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %48 = load i32, ptr %47, align 4 %49 = call i32 @S_ISDIR(i32 noundef %48) %50 = icmp ne i32 %49, 0 br i1 %50, label %55, label %51 51: ; preds = %46, %42 %52 = load i32, ptr @ENOSYS, align 4 store i32 %52, ptr @errno, align 4 %53 = load i32, ptr @errno, align 4 %54 = sub nsw i32 0, %53 store i32 %54, ptr %4, align 4 br label %56 55: ; preds = %46 store i32 0, ptr %4, align 4 br label %56 56: ; preds = %55, %51, %38, %31, %20 %57 = load i32, ptr %4, align 4 ret i32 %57 } declare i32 @is_valid_control_type(ptr noundef) #1 declare i32 @snprintf_base_path(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @S_ISDIR(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/tmpfqmuxsg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @ENOBUFS = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @powercap_sysfs_zone_exists(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [4096 x i8], align 16 %9 = alloca %struct.stat, align 4 %10 = 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 %11 = load ptr, ptr %5, align 8 %12 = call i32 @is_valid_control_type(ptr noundef %11) %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %20 14: ; preds = %3 %15 = load i32, ptr %7, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %14 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %24, label %20 20: ; preds = %17, %3 %21 = load i32, ptr @EINVAL, align 4 store i32 %21, ptr @errno, align 4 %22 = load i32, ptr @errno, align 4 %23 = sub nsw i32 0, %22 store i32 %23, ptr %4, align 4 br label %56 24: ; preds = %17, %14 %25 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = call i32 @snprintf_base_path(ptr noundef %25, i32 noundef 4096, ptr noundef %26, ptr noundef %27, i32 noundef %28) store i32 %29, ptr %10, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %24 %32 = load i32, ptr @errno, align 4 %33 = call i32 @assert(i32 noundef %32) store i32 -1, ptr %4, align 4 br label %56 34: ; preds = %24 %35 = load i32, ptr %10, align 4 %36 = sext i32 %35 to i64 %37 = icmp uge i64 %36, 4096 br i1 %37, label %38, label %42 38: ; preds = %34 %39 = load i32, ptr @ENOBUFS, align 4 store i32 %39, ptr @errno, align 4 %40 = load i32, ptr @errno, align 4 %41 = sub nsw i32 0, %40 store i32 %41, ptr %4, align 4 br label %56 42: ; preds = %34 %43 = getelementptr inbounds [4096 x i8], ptr %8, i64 0, i64 0 %44 = call i64 @stat(ptr noundef %43, ptr noundef %9) %45 = icmp ne i64 %44, 0 br i1 %45, label %51, label %46 46: ; preds = %42 %47 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %48 = load i32, ptr %47, align 4 %49 = call i32 @S_ISDIR(i32 noundef %48) %50 = icmp ne i32 %49, 0 br i1 %50, label %55, label %51 51: ; preds = %46, %42 %52 = load i32, ptr @ENOSYS, align 4 store i32 %52, ptr @errno, align 4 %53 = load i32, ptr @errno, align 4 %54 = sub nsw i32 0, %53 store i32 %54, ptr %4, align 4 br label %56 55: ; preds = %46 store i32 0, ptr %4, align 4 br label %56 56: ; preds = %55, %51, %38, %31, %20 %57 = load i32, ptr %4, align 4 ret i32 %57 } declare i32 @is_valid_control_type(ptr noundef) #1 declare i32 @snprintf_base_path(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @S_ISDIR(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/tmpw0zl5zte.c' source_filename = "/tmp/tmpw0zl5zte.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"socket_serveur\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Can not set SO_REUSEADDR option\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"bind socket_serveur\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"listen socket_serveur\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @creer_serveur(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %6, ptr %7, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @htons(i32 noundef %8) %10 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 store i32 %9, ptr %10, align 4 %11 = load i32, ptr @INADDR_ANY, align 4 %12 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i32 0, i32 0 store i32 %11, ptr %13, align 4 store i32 1, ptr %4, align 4 %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %21 19: ; preds = %1 %20 = call i32 @perror(ptr noundef @.str) br label %21 21: ; preds = %19, %1 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr @SOL_SOCKET, align 4 %24 = load i32, ptr @SO_REUSEADDR, align 4 %25 = call i32 @setsockopt(i32 noundef %22, i32 noundef %23, i32 noundef %24, ptr noundef %4, i32 noundef 4) %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %21 %28 = call i32 @perror(ptr noundef @.str.1) br label %29 29: ; preds = %27, %21 %30 = load i32, ptr %5, align 4 %31 = call i32 @bind(i32 noundef %30, ptr noundef %3, i32 noundef 12) %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %35 33: ; preds = %29 %34 = call i32 @perror(ptr noundef @.str.2) br label %35 35: ; preds = %33, %29 %36 = load i32, ptr %5, align 4 %37 = call i32 @listen(i32 noundef %36, i32 noundef 10) %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %41 39: ; preds = %35 %40 = call i32 @perror(ptr noundef @.str.3) br label %41 41: ; preds = %39, %35 %42 = load i32, ptr %5, align 4 ret i32 %42 } declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(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/tmpw0zl5zte.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"socket_serveur\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Can not set SO_REUSEADDR option\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"bind socket_serveur\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"listen socket_serveur\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @creer_serveur(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %6, ptr %7, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @htons(i32 noundef %8) %10 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 store i32 %9, ptr %10, align 4 %11 = load i32, ptr @INADDR_ANY, align 4 %12 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i32 0, i32 0 store i32 %11, ptr %13, align 4 store i32 1, ptr %4, align 4 %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %21 19: ; preds = %1 %20 = call i32 @perror(ptr noundef @.str) br label %21 21: ; preds = %19, %1 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr @SOL_SOCKET, align 4 %24 = load i32, ptr @SO_REUSEADDR, align 4 %25 = call i32 @setsockopt(i32 noundef %22, i32 noundef %23, i32 noundef %24, ptr noundef %4, i32 noundef 4) %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %21 %28 = call i32 @perror(ptr noundef @.str.1) br label %29 29: ; preds = %27, %21 %30 = load i32, ptr %5, align 4 %31 = call i32 @bind(i32 noundef %30, ptr noundef %3, i32 noundef 12) %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %35 33: ; preds = %29 %34 = call i32 @perror(ptr noundef @.str.2) br label %35 35: ; preds = %33, %29 %36 = load i32, ptr %5, align 4 %37 = call i32 @listen(i32 noundef %36, i32 noundef 10) %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %41 39: ; preds = %35 %40 = call i32 @perror(ptr noundef @.str.3) br label %41 41: ; preds = %39, %35 %42 = load i32, ptr %5, align 4 ret i32 %42 } declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(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/tmp9ztqlt2u.c' source_filename = "/tmp/tmp9ztqlt2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NO\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i8086ReadBoolConfig(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %11 = load i32, ptr %6, align 4 store i32 %11, ptr %9, align 4 %12 = call i64 @calloc(i32 noundef 256, i32 noundef 1) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i64 @i8086ReadStrConfig(ptr noundef %14, ptr noundef %15, ptr noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %69 19: ; preds = %3 %20 = load ptr, ptr %7, align 8 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %8, align 4 store i32 0, ptr %10, align 4 br label %22 22: ; preds = %30, %19 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %43 30: ; preds = %22 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %10, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = call signext i8 @toupper(i8 noundef signext %35) %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %10, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %10, align 4 br label %22, !llvm.loop !6 43: ; preds = %22 %44 = load i32, ptr %8, align 4 %45 = icmp eq i32 %44, 1 br i1 %45, label %46, label %61 46: ; preds = %43 %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 0 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 48 br i1 %51, label %58, label %52 52: ; preds = %46 %53 = load ptr, ptr %7, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 0 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 78 br i1 %57, label %58, label %59 58: ; preds = %52, %46 store i32 0, ptr %9, align 4 br label %60 59: ; preds = %52 store i32 1, ptr %9, align 4 br label %60 60: ; preds = %59, %58 br label %68 61: ; preds = %43 %62 = load ptr, ptr %7, align 8 %63 = call i64 @strcmp(ptr noundef %62, ptr noundef @.str) %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %66 65: ; preds = %61 store i32 0, ptr %9, align 4 br label %67 66: ; preds = %61 store i32 1, ptr %9, align 4 br label %67 67: ; preds = %66, %65 br label %68 68: ; preds = %67, %60 br label %69 69: ; preds = %68, %3 %70 = load ptr, ptr %7, align 8 %71 = call i32 @free(ptr noundef %70) %72 = load i32, ptr %9, align 4 ret i32 %72 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i64 @i8086ReadStrConfig(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ztqlt2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NO\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i8086ReadBoolConfig(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %11 = load i32, ptr %6, align 4 store i32 %11, ptr %9, align 4 %12 = call i64 @calloc(i32 noundef 256, i32 noundef 1) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i64 @i8086ReadStrConfig(ptr noundef %14, ptr noundef %15, ptr noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %75 19: ; preds = %3 %20 = load ptr, ptr %7, align 8 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %8, align 4 store i32 0, ptr %10, align 4 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %.lr.ph, label %49 .lr.ph: ; preds = %19 br label %29 29: ; preds = %.lr.ph, %29 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = call signext i8 @toupper(i8 noundef signext %34) %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %10, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 store i8 %35, ptr %39, align 1 %40 = load i32, ptr %10, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %10, align 4 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %10, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 0 br i1 %48, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %49 49: ; preds = %._crit_edge, %19 %50 = load i32, ptr %8, align 4 %51 = icmp eq i32 %50, 1 br i1 %51, label %52, label %67 52: ; preds = %49 %53 = load ptr, ptr %7, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 0 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 48 br i1 %57, label %64, label %58 58: ; preds = %52 %59 = load ptr, ptr %7, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 0 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 78 br i1 %63, label %64, label %65 64: ; preds = %58, %52 store i32 0, ptr %9, align 4 br label %66 65: ; preds = %58 store i32 1, ptr %9, align 4 br label %66 66: ; preds = %65, %64 br label %74 67: ; preds = %49 %68 = load ptr, ptr %7, align 8 %69 = call i64 @strcmp(ptr noundef %68, ptr noundef @.str) %70 = icmp eq i64 %69, 0 br i1 %70, label %71, label %72 71: ; preds = %67 store i32 0, ptr %9, align 4 br label %73 72: ; preds = %67 store i32 1, ptr %9, align 4 br label %73 73: ; preds = %72, %71 br label %74 74: ; preds = %73, %66 br label %75 75: ; preds = %74, %3 %76 = load ptr, ptr %7, align 8 %77 = call i32 @free(ptr noundef %76) %78 = load i32, ptr %9, align 4 ret i32 %78 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i64 @i8086ReadStrConfig(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpt20d07d0.c' source_filename = "/tmp/tmpt20d07d0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_decode() %3 = call i32 (...) @test_encode() %4 = add nsw i32 %2, %3 ret i32 %4 } declare i32 @test_decode(...) #1 declare i32 @test_encode(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt20d07d0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_decode() %3 = call i32 (...) @test_encode() %4 = add nsw i32 %2, %3 ret i32 %4 } declare i32 @test_decode(...) #1 declare i32 @test_encode(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwz_fbikk.c' source_filename = "/tmp/tmpwz_fbikk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_string_test(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = call ptr @strdup(ptr noundef %6) %8 = load ptr, ptr %4, align 8 store ptr %7, ptr %8, align 8 %9 = load i32, ptr %5, align 4 ret i32 %9 } 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/tmpwz_fbikk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_string_test(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = call ptr @strdup(ptr noundef %6) %8 = load ptr, ptr %4, align 8 store ptr %7, ptr %8, align 8 %9 = load i32, ptr %5, align 4 ret i32 %9 } 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/tmpyop6gv61.c' source_filename = "/tmp/tmpyop6gv61.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"file \22%s\22, line %d, assertion \22n>0\22 failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ddugovic/polyglot/refs/heads/master/util.c\00", align 1 @.str.2 = private unnamed_addr constant [50 x i8] c"file \22%s\22, line %d, assertion \22r>=0&&r<n\22 failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_random_int(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 = icmp sgt i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = call i32 @my_fatal(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 69) br label %8 8: ; preds = %6, %1 %9 = call double (...) @my_random_double() %10 = load i32, ptr %2, align 4 %11 = sitofp i32 %10 to double %12 = fmul double %9, %11 %13 = call i64 @floor(double noundef %12) %14 = trunc i64 %13 to i32 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp sge i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %8 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %23, label %21 21: ; preds = %17, %8 %22 = call i32 @my_fatal(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 72) br label %23 23: ; preds = %21, %17 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i32 @my_fatal(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @floor(double noundef) #1 declare double @my_random_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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyop6gv61.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"file \22%s\22, line %d, assertion \22n>0\22 failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ddugovic/polyglot/refs/heads/master/util.c\00", align 1 @.str.2 = private unnamed_addr constant [50 x i8] c"file \22%s\22, line %d, assertion \22r>=0&&r<n\22 failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_random_int(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 = icmp sgt i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = call i32 @my_fatal(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 69) br label %8 8: ; preds = %6, %1 %9 = call double (...) @my_random_double() %10 = load i32, ptr %2, align 4 %11 = sitofp i32 %10 to double %12 = fmul double %9, %11 %13 = call i64 @floor(double noundef %12) %14 = trunc i64 %13 to i32 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp sge i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %8 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %23, label %21 21: ; preds = %17, %8 %22 = call i32 @my_fatal(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 72) br label %23 23: ; preds = %21, %17 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i32 @my_fatal(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @floor(double noundef) #1 declare double @my_random_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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2k3xickj.c' source_filename = "/tmp/tmp2k3xickj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"0x%02X 0x%02X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [3 x i32], align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = 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 %10 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0 store i32 128, ptr %10, align 4 %11 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 1 store i32 0, ptr %11, align 4 %12 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 2 store i32 63, ptr %12, align 4 store i32 0, ptr %8, align 4 br label %13 13: ; preds = %45, %2 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %14, 3 br i1 %15, label %16, label %48 16: ; preds = %13 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %19 %21 = load i32, ptr %20, align 4 %22 = shl i32 %21, 8 %23 = xor i32 %17, %22 store i32 %23, ptr %7, align 4 store i32 0, ptr %9, align 4 br label %24 24: ; preds = %41, %16 %25 = load i32, ptr %9, align 4 %26 = icmp slt i32 %25, 8 br i1 %26, label %27, label %44 27: ; preds = %24 %28 = load i32, ptr %7, align 4 %29 = and i32 %28, 32768 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i32, ptr %7, align 4 %33 = shl i32 %32, 1 %34 = xor i32 %33, 4129 store i32 %34, ptr %7, align 4 br label %38 35: ; preds = %27 %36 = load i32, ptr %7, align 4 %37 = shl i32 %36, 1 store i32 %37, ptr %7, align 4 br label %38 38: ; preds = %35, %31 %39 = load i32, ptr %7, align 4 %40 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %39) br label %41 41: ; preds = %38 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %9, align 4 br label %24, !llvm.loop !6 44: ; preds = %24 br label %45 45: ; preds = %44 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 br label %13, !llvm.loop !8 48: ; preds = %13 %49 = load i32, ptr %7, align 4 %50 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %49) %51 = load i32, ptr %7, align 4 %52 = ashr i32 %51, 8 %53 = and i32 %52, 255 %54 = load i32, ptr %7, align 4 %55 = and i32 %54, 255 %56 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %53, i32 noundef %55) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2k3xickj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"0x%02X 0x%02X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [3 x i32], align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = 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 %10 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0 store i32 128, ptr %10, align 4 %11 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 1 store i32 0, ptr %11, align 4 %12 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 2 store i32 63, ptr %12, align 4 store i32 0, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 3 br i1 %14, label %.lr.ph2, label %50 .lr.ph2: ; preds = %2 br label %15 15: ; preds = %.lr.ph2, %45 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %18 %20 = load i32, ptr %19, align 4 %21 = shl i32 %20, 8 %22 = xor i32 %16, %21 store i32 %22, ptr %7, align 4 store i32 0, ptr %9, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp slt i32 %23, 8 br i1 %24, label %.lr.ph, label %44 .lr.ph: ; preds = %15 br label %25 25: ; preds = %.lr.ph, %39 %26 = load i32, ptr %7, align 4 %27 = and i32 %26, 32768 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %25 %30 = load i32, ptr %7, align 4 %31 = shl i32 %30, 1 %32 = xor i32 %31, 4129 store i32 %32, ptr %7, align 4 br label %36 33: ; preds = %25 %34 = load i32, ptr %7, align 4 %35 = shl i32 %34, 1 store i32 %35, ptr %7, align 4 br label %36 36: ; preds = %33, %29 %37 = load i32, ptr %7, align 4 %38 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %37) br label %39 39: ; preds = %36 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp slt i32 %42, 8 br i1 %43, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %44 44: ; preds = %._crit_edge, %15 br label %45 45: ; preds = %44 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp slt i32 %48, 3 br i1 %49, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %50 50: ; preds = %._crit_edge3, %2 %51 = load i32, ptr %7, align 4 %52 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %51) %53 = load i32, ptr %7, align 4 %54 = ashr i32 %53, 8 %55 = and i32 %54, 255 %56 = load i32, ptr %7, align 4 %57 = and i32 %56, 255 %58 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %55, i32 noundef %57) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpvfthcz7o.c' source_filename = "/tmp/tmpvfthcz7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"int is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gint(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 @printf(ptr noundef @.str, i32 noundef %3) ret i32 10 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvfthcz7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"int is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gint(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 @printf(ptr noundef @.str, i32 noundef %3) ret i32 10 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy5f59drb.c' source_filename = "/tmp/tmpy5f59drb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Hello! You have invoked f1().\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f1() #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/tmpy5f59drb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Hello! You have invoked f1().\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f1() #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/tmp4f0ig5gz.c' source_filename = "/tmp/tmp4f0ig5gz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SQLITE_OK = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"ERROR, failed to open database: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [144 x i8] c"create table messages (message_id integer primary key autoincrement, source text, sub_source text, type integer, date_time text, read integer);\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"ERROR creating '%s' table in the database.\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"message\00", align 1 @.str.4 = private unnamed_addr constant [113 x i8] c"create table client (client_id integer primary key autoincrement, state integer, date_time text, username text);\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"client\00", align 1 @.str.6 = private unnamed_addr constant [123 x i8] c"create table clients_actions (client_id integer foreign key, command text, parameters text, data integer, date_time text);\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"clients_actions\00", align 1 @.str.8 = private unnamed_addr constant [98 x i8] c"create table response_type (reponse_type_id integer primary key autoincrement, description text);\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"response_type\00", align 1 @.str.10 = private unnamed_addr constant [157 x i8] c"create table responses (reponses_id integer primary key autoincrement, response_type_id integer foreign key, date_time text, attack_id integer foreign key);\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"responses\00", align 1 @.str.12 = private unnamed_addr constant [120 x i8] c"create table attack (attack_id integer primary key autoincrement, source_name text, date_time text, victim_id integer);\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"attack\00", align 1 @.str.14 = private unnamed_addr constant [129 x i8] c"create table sensor (sensor_id integer primary key autoincrement, state integer, date_time, text, mac_addr text, username text);\00", align 1 @.str.15 = private unnamed_addr constant [7 x i8] c"sensor\00", align 1 @.str.16 = private unnamed_addr constant [107 x i8] c"create table invalid_frames (sensor_id integer foreign key, fail_count integer, invalid_protocol integer);\00", align 1 @.str.17 = private unnamed_addr constant [15 x i8] c"invalid_frames\00", align 1 @.str.18 = private unnamed_addr constant [284 x i8] c"create table frames (frame_id integer primary key autoincrement, sourceID integer, frame_type integer, frame_subtype integer, protected integer, addr_1 text, addr_2 text, addr_3 text, addr_4 text, to_dest integer, from_dest integer, retry integer, frag_num integer, seq_num integer);\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"frames\00", align 1 @.str.20 = private unnamed_addr constant [166 x i8] c"create table banlist (banlist_id integer primary key autoincrement, mac_addr text, is_AP integer, ban_creation_time text, ban_length_sec integer, is_active integer);\00", align 1 @.str.21 = private unnamed_addr constant [8 x i8] c"banlist\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @init_database(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @sqlite3_open(ptr noundef %7, ptr noundef %4) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr @SQLITE_OK, align 4 %11 = icmp ne i32 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %1 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %4, align 8 %15 = call ptr @sqlite3_errmsg(ptr noundef %14) %16 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %15) %17 = load ptr, ptr %4, align 8 %18 = call i32 @sqlite3_close(ptr noundef %17) %19 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %19, ptr %2, align 4 br label %114 20: ; preds = %1 %21 = load ptr, ptr %4, align 8 %22 = call i32 @sqlite3_exec(ptr noundef %21, ptr noundef @.str.1, ptr noundef null, ptr noundef null, ptr noundef %5) %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i32, ptr @stderr, align 4 %27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.2, ptr noundef @.str.3) %28 = call i32 @sqlite3_free(ptr noundef %5) br label %29 29: ; preds = %25, %20 store ptr null, ptr %5, align 8 %30 = load ptr, ptr %4, align 8 %31 = call i32 @sqlite3_exec(ptr noundef %30, ptr noundef @.str.4, ptr noundef null, ptr noundef null, ptr noundef %5) %32 = load ptr, ptr %5, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %38 34: ; preds = %29 %35 = load i32, ptr @stderr, align 4 %36 = call i32 @fprintf(i32 noundef %35, ptr noundef @.str.2, ptr noundef @.str.5) %37 = call i32 @sqlite3_free(ptr noundef %5) br label %38 38: ; preds = %34, %29 store ptr null, ptr %5, align 8 %39 = load ptr, ptr %4, align 8 %40 = call i32 @sqlite3_exec(ptr noundef %39, ptr noundef @.str.6, ptr noundef null, ptr noundef null, ptr noundef %5) %41 = load ptr, ptr %5, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %47 43: ; preds = %38 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str.2, ptr noundef @.str.7) %46 = call i32 @sqlite3_free(ptr noundef %5) br label %47 47: ; preds = %43, %38 store ptr null, ptr %5, align 8 %48 = load ptr, ptr %4, align 8 %49 = call i32 @sqlite3_exec(ptr noundef %48, ptr noundef @.str.8, ptr noundef null, ptr noundef null, ptr noundef %5) %50 = load ptr, ptr %5, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %56 52: ; preds = %47 %53 = load i32, ptr @stderr, align 4 %54 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str.2, ptr noundef @.str.9) %55 = call i32 @sqlite3_free(ptr noundef %5) br label %56 56: ; preds = %52, %47 store ptr null, ptr %5, align 8 %57 = load ptr, ptr %4, align 8 %58 = call i32 @sqlite3_exec(ptr noundef %57, ptr noundef @.str.10, ptr noundef null, ptr noundef null, ptr noundef %5) %59 = load ptr, ptr %5, align 8 %60 = icmp ne ptr %59, null br i1 %60, label %61, label %65 61: ; preds = %56 %62 = load i32, ptr @stderr, align 4 %63 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str.2, ptr noundef @.str.11) %64 = call i32 @sqlite3_free(ptr noundef %5) br label %65 65: ; preds = %61, %56 store ptr null, ptr %5, align 8 %66 = load ptr, ptr %4, align 8 %67 = call i32 @sqlite3_exec(ptr noundef %66, ptr noundef @.str.12, ptr noundef null, ptr noundef null, ptr noundef %5) %68 = load ptr, ptr %5, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %70, label %74 70: ; preds = %65 %71 = load i32, ptr @stderr, align 4 %72 = call i32 @fprintf(i32 noundef %71, ptr noundef @.str.2, ptr noundef @.str.13) %73 = call i32 @sqlite3_free(ptr noundef %5) br label %74 74: ; preds = %70, %65 store ptr null, ptr %5, align 8 %75 = load ptr, ptr %4, align 8 %76 = call i32 @sqlite3_exec(ptr noundef %75, ptr noundef @.str.14, ptr noundef null, ptr noundef null, ptr noundef %5) %77 = load ptr, ptr %5, align 8 %78 = icmp ne ptr %77, null br i1 %78, label %79, label %83 79: ; preds = %74 %80 = load i32, ptr @stderr, align 4 %81 = call i32 @fprintf(i32 noundef %80, ptr noundef @.str.2, ptr noundef @.str.15) %82 = call i32 @sqlite3_free(ptr noundef %5) br label %83 83: ; preds = %79, %74 store ptr null, ptr %5, align 8 %84 = load ptr, ptr %4, align 8 %85 = call i32 @sqlite3_exec(ptr noundef %84, ptr noundef @.str.16, ptr noundef null, ptr noundef null, ptr noundef %5) %86 = load ptr, ptr %5, align 8 %87 = icmp ne ptr %86, null br i1 %87, label %88, label %92 88: ; preds = %83 %89 = load i32, ptr @stderr, align 4 %90 = call i32 @fprintf(i32 noundef %89, ptr noundef @.str.2, ptr noundef @.str.17) %91 = call i32 @sqlite3_free(ptr noundef %5) br label %92 92: ; preds = %88, %83 store ptr null, ptr %5, align 8 %93 = load ptr, ptr %4, align 8 %94 = call i32 @sqlite3_exec(ptr noundef %93, ptr noundef @.str.18, ptr noundef null, ptr noundef null, ptr noundef %5) %95 = load ptr, ptr %5, align 8 %96 = icmp ne ptr %95, null br i1 %96, label %97, label %101 97: ; preds = %92 %98 = load i32, ptr @stderr, align 4 %99 = call i32 @fprintf(i32 noundef %98, ptr noundef @.str.2, ptr noundef @.str.19) %100 = call i32 @sqlite3_free(ptr noundef %5) br label %101 101: ; preds = %97, %92 store ptr null, ptr %5, align 8 %102 = load ptr, ptr %4, align 8 %103 = call i32 @sqlite3_exec(ptr noundef %102, ptr noundef @.str.20, ptr noundef null, ptr noundef null, ptr noundef %5) %104 = load ptr, ptr %5, align 8 %105 = icmp ne ptr %104, null br i1 %105, label %106, label %110 106: ; preds = %101 %107 = load i32, ptr @stderr, align 4 %108 = call i32 @fprintf(i32 noundef %107, ptr noundef @.str.2, ptr noundef @.str.21) %109 = call i32 @sqlite3_free(ptr noundef %5) br label %110 110: ; preds = %106, %101 store ptr null, ptr %5, align 8 %111 = load ptr, ptr %4, align 8 %112 = call i32 @sqlite3_close(ptr noundef %111) %113 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %113, ptr %2, align 4 br label %114 114: ; preds = %110, %12 %115 = load i32, ptr %2, align 4 ret i32 %115 } declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @sqlite3_errmsg(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 declare i32 @sqlite3_exec(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sqlite3_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/tmp4f0ig5gz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SQLITE_OK = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"ERROR, failed to open database: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [144 x i8] c"create table messages (message_id integer primary key autoincrement, source text, sub_source text, type integer, date_time text, read integer);\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"ERROR creating '%s' table in the database.\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"message\00", align 1 @.str.4 = private unnamed_addr constant [113 x i8] c"create table client (client_id integer primary key autoincrement, state integer, date_time text, username text);\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"client\00", align 1 @.str.6 = private unnamed_addr constant [123 x i8] c"create table clients_actions (client_id integer foreign key, command text, parameters text, data integer, date_time text);\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"clients_actions\00", align 1 @.str.8 = private unnamed_addr constant [98 x i8] c"create table response_type (reponse_type_id integer primary key autoincrement, description text);\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"response_type\00", align 1 @.str.10 = private unnamed_addr constant [157 x i8] c"create table responses (reponses_id integer primary key autoincrement, response_type_id integer foreign key, date_time text, attack_id integer foreign key);\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"responses\00", align 1 @.str.12 = private unnamed_addr constant [120 x i8] c"create table attack (attack_id integer primary key autoincrement, source_name text, date_time text, victim_id integer);\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"attack\00", align 1 @.str.14 = private unnamed_addr constant [129 x i8] c"create table sensor (sensor_id integer primary key autoincrement, state integer, date_time, text, mac_addr text, username text);\00", align 1 @.str.15 = private unnamed_addr constant [7 x i8] c"sensor\00", align 1 @.str.16 = private unnamed_addr constant [107 x i8] c"create table invalid_frames (sensor_id integer foreign key, fail_count integer, invalid_protocol integer);\00", align 1 @.str.17 = private unnamed_addr constant [15 x i8] c"invalid_frames\00", align 1 @.str.18 = private unnamed_addr constant [284 x i8] c"create table frames (frame_id integer primary key autoincrement, sourceID integer, frame_type integer, frame_subtype integer, protected integer, addr_1 text, addr_2 text, addr_3 text, addr_4 text, to_dest integer, from_dest integer, retry integer, frag_num integer, seq_num integer);\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"frames\00", align 1 @.str.20 = private unnamed_addr constant [166 x i8] c"create table banlist (banlist_id integer primary key autoincrement, mac_addr text, is_AP integer, ban_creation_time text, ban_length_sec integer, is_active integer);\00", align 1 @.str.21 = private unnamed_addr constant [8 x i8] c"banlist\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @init_database(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @sqlite3_open(ptr noundef %7, ptr noundef %4) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr @SQLITE_OK, align 4 %11 = icmp ne i32 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %1 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %4, align 8 %15 = call ptr @sqlite3_errmsg(ptr noundef %14) %16 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %15) %17 = load ptr, ptr %4, align 8 %18 = call i32 @sqlite3_close(ptr noundef %17) %19 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %19, ptr %2, align 4 br label %114 20: ; preds = %1 %21 = load ptr, ptr %4, align 8 %22 = call i32 @sqlite3_exec(ptr noundef %21, ptr noundef @.str.1, ptr noundef null, ptr noundef null, ptr noundef %5) %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i32, ptr @stderr, align 4 %27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.2, ptr noundef @.str.3) %28 = call i32 @sqlite3_free(ptr noundef %5) br label %29 29: ; preds = %25, %20 store ptr null, ptr %5, align 8 %30 = load ptr, ptr %4, align 8 %31 = call i32 @sqlite3_exec(ptr noundef %30, ptr noundef @.str.4, ptr noundef null, ptr noundef null, ptr noundef %5) %32 = load ptr, ptr %5, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %38 34: ; preds = %29 %35 = load i32, ptr @stderr, align 4 %36 = call i32 @fprintf(i32 noundef %35, ptr noundef @.str.2, ptr noundef @.str.5) %37 = call i32 @sqlite3_free(ptr noundef %5) br label %38 38: ; preds = %34, %29 store ptr null, ptr %5, align 8 %39 = load ptr, ptr %4, align 8 %40 = call i32 @sqlite3_exec(ptr noundef %39, ptr noundef @.str.6, ptr noundef null, ptr noundef null, ptr noundef %5) %41 = load ptr, ptr %5, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %47 43: ; preds = %38 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str.2, ptr noundef @.str.7) %46 = call i32 @sqlite3_free(ptr noundef %5) br label %47 47: ; preds = %43, %38 store ptr null, ptr %5, align 8 %48 = load ptr, ptr %4, align 8 %49 = call i32 @sqlite3_exec(ptr noundef %48, ptr noundef @.str.8, ptr noundef null, ptr noundef null, ptr noundef %5) %50 = load ptr, ptr %5, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %56 52: ; preds = %47 %53 = load i32, ptr @stderr, align 4 %54 = call i32 @fprintf(i32 noundef %53, ptr noundef @.str.2, ptr noundef @.str.9) %55 = call i32 @sqlite3_free(ptr noundef %5) br label %56 56: ; preds = %52, %47 store ptr null, ptr %5, align 8 %57 = load ptr, ptr %4, align 8 %58 = call i32 @sqlite3_exec(ptr noundef %57, ptr noundef @.str.10, ptr noundef null, ptr noundef null, ptr noundef %5) %59 = load ptr, ptr %5, align 8 %60 = icmp ne ptr %59, null br i1 %60, label %61, label %65 61: ; preds = %56 %62 = load i32, ptr @stderr, align 4 %63 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str.2, ptr noundef @.str.11) %64 = call i32 @sqlite3_free(ptr noundef %5) br label %65 65: ; preds = %61, %56 store ptr null, ptr %5, align 8 %66 = load ptr, ptr %4, align 8 %67 = call i32 @sqlite3_exec(ptr noundef %66, ptr noundef @.str.12, ptr noundef null, ptr noundef null, ptr noundef %5) %68 = load ptr, ptr %5, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %70, label %74 70: ; preds = %65 %71 = load i32, ptr @stderr, align 4 %72 = call i32 @fprintf(i32 noundef %71, ptr noundef @.str.2, ptr noundef @.str.13) %73 = call i32 @sqlite3_free(ptr noundef %5) br label %74 74: ; preds = %70, %65 store ptr null, ptr %5, align 8 %75 = load ptr, ptr %4, align 8 %76 = call i32 @sqlite3_exec(ptr noundef %75, ptr noundef @.str.14, ptr noundef null, ptr noundef null, ptr noundef %5) %77 = load ptr, ptr %5, align 8 %78 = icmp ne ptr %77, null br i1 %78, label %79, label %83 79: ; preds = %74 %80 = load i32, ptr @stderr, align 4 %81 = call i32 @fprintf(i32 noundef %80, ptr noundef @.str.2, ptr noundef @.str.15) %82 = call i32 @sqlite3_free(ptr noundef %5) br label %83 83: ; preds = %79, %74 store ptr null, ptr %5, align 8 %84 = load ptr, ptr %4, align 8 %85 = call i32 @sqlite3_exec(ptr noundef %84, ptr noundef @.str.16, ptr noundef null, ptr noundef null, ptr noundef %5) %86 = load ptr, ptr %5, align 8 %87 = icmp ne ptr %86, null br i1 %87, label %88, label %92 88: ; preds = %83 %89 = load i32, ptr @stderr, align 4 %90 = call i32 @fprintf(i32 noundef %89, ptr noundef @.str.2, ptr noundef @.str.17) %91 = call i32 @sqlite3_free(ptr noundef %5) br label %92 92: ; preds = %88, %83 store ptr null, ptr %5, align 8 %93 = load ptr, ptr %4, align 8 %94 = call i32 @sqlite3_exec(ptr noundef %93, ptr noundef @.str.18, ptr noundef null, ptr noundef null, ptr noundef %5) %95 = load ptr, ptr %5, align 8 %96 = icmp ne ptr %95, null br i1 %96, label %97, label %101 97: ; preds = %92 %98 = load i32, ptr @stderr, align 4 %99 = call i32 @fprintf(i32 noundef %98, ptr noundef @.str.2, ptr noundef @.str.19) %100 = call i32 @sqlite3_free(ptr noundef %5) br label %101 101: ; preds = %97, %92 store ptr null, ptr %5, align 8 %102 = load ptr, ptr %4, align 8 %103 = call i32 @sqlite3_exec(ptr noundef %102, ptr noundef @.str.20, ptr noundef null, ptr noundef null, ptr noundef %5) %104 = load ptr, ptr %5, align 8 %105 = icmp ne ptr %104, null br i1 %105, label %106, label %110 106: ; preds = %101 %107 = load i32, ptr @stderr, align 4 %108 = call i32 @fprintf(i32 noundef %107, ptr noundef @.str.2, ptr noundef @.str.21) %109 = call i32 @sqlite3_free(ptr noundef %5) br label %110 110: ; preds = %106, %101 store ptr null, ptr %5, align 8 %111 = load ptr, ptr %4, align 8 %112 = call i32 @sqlite3_close(ptr noundef %111) %113 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %113, ptr %2, align 4 br label %114 114: ; preds = %110, %12 %115 = load i32, ptr %2, align 4 ret i32 %115 } declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @sqlite3_errmsg(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 declare i32 @sqlite3_exec(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sqlite3_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/tmp2ykb0cg7.c' source_filename = "/tmp/tmp2ykb0cg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @smbus_read_byte() #0 { %1 = alloca i8, align 1 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = call zeroext i8 @__builtin_inb(i32 noundef 4660) store i8 %4, ptr %1, align 1 %5 = call zeroext i8 @__builtin_inb(i32 noundef 17767) store i8 %5, ptr %2, align 1 %6 = load i8, ptr %2, align 1 %7 = zext i8 %6 to i32 store i32 %7, ptr %3, align 4 %8 = load i8, ptr %1, align 1 %9 = zext i8 %8 to i32 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %12 11: ; preds = %0 store i32 -1, ptr %3, align 4 br label %12 12: ; preds = %11, %0 ret void } declare zeroext i8 @__builtin_inb(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/tmp2ykb0cg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @smbus_read_byte() #0 { %1 = alloca i8, align 1 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = call zeroext i8 @__builtin_inb(i32 noundef 4660) store i8 %4, ptr %1, align 1 %5 = call zeroext i8 @__builtin_inb(i32 noundef 17767) store i8 %5, ptr %2, align 1 %6 = load i8, ptr %2, align 1 %7 = zext i8 %6 to i32 store i32 %7, ptr %3, align 4 %8 = load i8, ptr %1, align 1 %9 = zext i8 %8 to i32 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %12 11: ; preds = %0 store i32 -1, ptr %3, align 4 br label %12 12: ; preds = %11, %0 ret void } declare zeroext i8 @__builtin_inb(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/tmppsovv0hz.c' source_filename = "/tmp/tmppsovv0hz.c" target datalayout = "e-m:e-p270: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/tmppsovv0hz.c" target datalayout = "e-m:e-p270: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/tmpsml68qaa.c' source_filename = "/tmp/tmpsml68qaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"square grains total \00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"fraction of \0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c" added grains \00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"world total\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"%4d %13.2e %12.2e %12.2e\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"That's all.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 2.000000e+16, ptr %2, align 8 store i32 1, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store double 1.000000e+00, ptr %3, align 8 store double 1.000000e+00, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = load double, ptr %3, align 8 %12 = load double, ptr %4, align 8 %13 = load double, ptr %4, align 8 %14 = fdiv double %13, 2.000000e+16 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %10, double noundef %11, double noundef %12, double noundef %14) br label %16 16: ; preds = %19, %0 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %17, 64 br i1 %18, label %19, label %33 19: ; preds = %16 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load double, ptr %3, align 8 %23 = fmul double 2.000000e+00, %22 store double %23, ptr %3, align 8 %24 = load double, ptr %4, align 8 %25 = load double, ptr %3, align 8 %26 = fadd double %24, %25 store double %26, ptr %4, align 8 %27 = load i32, ptr %5, align 4 %28 = load double, ptr %3, align 8 %29 = load double, ptr %4, align 8 %30 = load double, ptr %4, align 8 %31 = fdiv double %30, 2.000000e+16 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %27, double noundef %28, double noundef %29, double noundef %31) br label %16, !llvm.loop !6 33: ; preds = %16 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsml68qaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"square grains total \00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"fraction of \0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c" added grains \00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"world total\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"%4d %13.2e %12.2e %12.2e\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"That's all.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 2.000000e+16, ptr %2, align 8 store i32 1, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store double 1.000000e+00, ptr %3, align 8 store double 1.000000e+00, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = load double, ptr %3, align 8 %12 = load double, ptr %4, align 8 %13 = load double, ptr %4, align 8 %14 = fdiv double %13, 2.000000e+16 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %10, double noundef %11, double noundef %12, double noundef %14) %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %16, 64 br i1 %17, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %18 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load double, ptr %3, align 8 %22 = fmul double 2.000000e+00, %21 store double %22, ptr %3, align 8 %23 = load double, ptr %4, align 8 %24 = load double, ptr %3, align 8 %25 = fadd double %23, %24 store double %25, ptr %4, align 8 %26 = load i32, ptr %5, align 4 %27 = load double, ptr %3, align 8 %28 = load double, ptr %4, align 8 %29 = load double, ptr %4, align 8 %30 = fdiv double %29, 2.000000e+16 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26, double noundef %27, double noundef %28, double noundef %30) %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %32, 64 br i1 %33, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %34 34: ; preds = %._crit_edge, %0 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}