llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpwribkkca.c' source_filename = "/tmp/tmpwribkkca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"division by zero\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checkizero(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @xlfail(ptr noundef @.str) br label %7 7: ; preds = %5, %1 ret void } declare i32 @xlfail(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwribkkca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"division by zero\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checkizero(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @xlfail(ptr noundef @.str) br label %7 7: ; preds = %5, %1 ret void } declare i32 @xlfail(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1a8kyt4q.c' source_filename = "/tmp/tmp1a8kyt4q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matmul(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i8 84, ptr %13, align 1 store i8 78, ptr %14, align 1 store double 1.000000e+00, ptr %15, align 8 store double 0.000000e+00, ptr %16, align 8 %20 = load i32, ptr %9, align 4 store i32 %20, ptr %17, align 4 %21 = load i32, ptr %9, align 4 store i32 %21, ptr %18, align 4 %22 = load i32, ptr %7, align 4 store i32 %22, ptr %19, align 4 %23 = load ptr, ptr %10, align 8 %24 = load ptr, ptr %11, align 8 %25 = load ptr, ptr %12, align 8 %26 = call i32 @dgemm_(ptr noundef %13, ptr noundef %14, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %15, ptr noundef %23, ptr noundef %17, ptr noundef %24, ptr noundef %18, ptr noundef %16, ptr noundef %25, ptr noundef %19) ret void } declare i32 @dgemm_(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/tmp1a8kyt4q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matmul(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i8, align 1 %14 = alloca i8, align 1 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i8 84, ptr %13, align 1 store i8 78, ptr %14, align 1 store double 1.000000e+00, ptr %15, align 8 store double 0.000000e+00, ptr %16, align 8 %20 = load i32, ptr %9, align 4 store i32 %20, ptr %17, align 4 %21 = load i32, ptr %9, align 4 store i32 %21, ptr %18, align 4 %22 = load i32, ptr %7, align 4 store i32 %22, ptr %19, align 4 %23 = load ptr, ptr %10, align 8 %24 = load ptr, ptr %11, align 8 %25 = load ptr, ptr %12, align 8 %26 = call i32 @dgemm_(ptr noundef %13, ptr noundef %14, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %15, ptr noundef %23, ptr noundef %17, ptr noundef %24, ptr noundef %18, ptr noundef %16, ptr noundef %25, ptr noundef %19) ret void } declare i32 @dgemm_(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/tmp4zj0y1q8.c' source_filename = "/tmp/tmp4zj0y1q8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"\0AMenu de opcoes:\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"------------------------------\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"1 - Gerar arquivo\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"2 - Exibir o arquivo\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"3 - Atualizar o arquivo\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"4 - Sair do programa\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Entre com o codigo da opcao: \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"cls\00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"\0AEncerrando...\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @menu() #0 { %1 = alloca i8, align 1 br label %2 2: ; preds = %20, %0 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.4) %8 = call i32 @printf(ptr noundef @.str.5) %9 = call i32 @printf(ptr noundef @.str.6) %10 = call i32 @scanf(ptr noundef @.str.7, ptr noundef %1) %11 = call i32 @system(ptr noundef @.str.8) br label %12 12: ; preds = %2 %13 = load i8, ptr %1, align 1 %14 = sext i8 %13 to i32 %15 = icmp slt i32 %14, 1 br i1 %15, label %20, label %16 16: ; preds = %12 %17 = load i8, ptr %1, align 1 %18 = sext i8 %17 to i32 %19 = icmp sgt i32 %18, 4 br label %20 20: ; preds = %16, %12 %21 = phi i1 [ true, %12 ], [ %19, %16 ] br i1 %21, label %2, label %22, !llvm.loop !6 22: ; preds = %20 %23 = load i8, ptr %1, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (...) @gera() br label %28 28: ; preds = %26, %22 %29 = load i8, ptr %1, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 2 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 (...) @exibe() br label %34 34: ; preds = %32, %28 %35 = load i8, ptr %1, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 3 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 (...) @atualiza() br label %40 40: ; preds = %38, %34 %41 = call i32 @puts(ptr noundef @.str.9) %42 = call i32 @system(ptr noundef @.str.10) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @gera(...) #1 declare i32 @exibe(...) #1 declare i32 @atualiza(...) #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/tmp4zj0y1q8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"\0AMenu de opcoes:\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"------------------------------\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"1 - Gerar arquivo\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"2 - Exibir o arquivo\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"3 - Atualizar o arquivo\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"4 - Sair do programa\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Entre com o codigo da opcao: \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"cls\00", align 1 @.str.9 = private unnamed_addr constant [15 x i8] c"\0AEncerrando...\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @menu() #0 { %1 = alloca i8, align 1 br label %2 2: ; preds = %20, %0 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.4) %8 = call i32 @printf(ptr noundef @.str.5) %9 = call i32 @printf(ptr noundef @.str.6) %10 = call i32 @scanf(ptr noundef @.str.7, ptr noundef %1) %11 = call i32 @system(ptr noundef @.str.8) br label %12 12: ; preds = %2 %13 = load i8, ptr %1, align 1 %14 = sext i8 %13 to i32 %15 = icmp slt i32 %14, 1 br i1 %15, label %20, label %16 16: ; preds = %12 %17 = load i8, ptr %1, align 1 %18 = sext i8 %17 to i32 %19 = icmp sgt i32 %18, 4 br label %20 20: ; preds = %16, %12 %21 = phi i1 [ true, %12 ], [ %19, %16 ] br i1 %21, label %2, label %22, !llvm.loop !6 22: ; preds = %20 %23 = load i8, ptr %1, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (...) @gera() br label %28 28: ; preds = %26, %22 %29 = load i8, ptr %1, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 2 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 (...) @exibe() br label %34 34: ; preds = %32, %28 %35 = load i8, ptr %1, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 3 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 (...) @atualiza() br label %40 40: ; preds = %38, %34 %41 = call i32 @puts(ptr noundef @.str.9) %42 = call i32 @system(ptr noundef @.str.10) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @gera(...) #1 declare i32 @exibe(...) #1 declare i32 @atualiza(...) #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/tmpb1cdiy2v.c' source_filename = "/tmp/tmpb1cdiy2v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ST7735_Color565(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 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = and i32 %7, 248 %9 = shl i32 %8, 8 %10 = load i32, ptr %5, align 4 %11 = and i32 %10, 252 %12 = shl i32 %11, 3 %13 = or i32 %9, %12 %14 = load i32, ptr %4, align 4 %15 = ashr i32 %14, 3 %16 = or i32 %13, %15 ret i32 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb1cdiy2v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ST7735_Color565(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 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = and i32 %7, 248 %9 = shl i32 %8, 8 %10 = load i32, ptr %5, align 4 %11 = and i32 %10, 252 %12 = shl i32 %11, 3 %13 = or i32 %9, %12 %14 = load i32, ptr %4, align 4 %15 = ashr i32 %14, 3 %16 = or i32 %13, %15 ret i32 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp84s2yl3u.c' source_filename = "/tmp/tmp84s2yl3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_small_structs(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) #0 { %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 store ptr %0, ptr %16, align 8 store ptr %1, ptr %17, align 8 store ptr %2, ptr %18, align 8 store ptr %3, ptr %19, align 8 store ptr %4, ptr %20, align 8 store ptr %5, ptr %21, align 8 store ptr %6, ptr %22, align 8 store ptr %7, ptr %23, align 8 store ptr %8, ptr %24, align 8 store ptr %9, ptr %25, align 8 store ptr %10, ptr %26, align 8 store ptr %11, ptr %27, align 8 store ptr %12, ptr %28, align 8 store ptr %13, ptr %29, align 8 store ptr %14, ptr %30, align 8 %31 = load ptr, ptr %20, align 8 %32 = call i32 @init_bit_flags(ptr noundef %31, i32 noundef 1, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 1, i32 noundef 0) %33 = load ptr, ptr %21, align 8 %34 = call i32 @init_bit_flags_combo(ptr noundef %33, i32 noundef 1, i32 noundef 0, i8 noundef signext 121, i32 noundef 1, i32 noundef 0, i8 noundef signext 110, i32 noundef 1, i32 noundef 0) %35 = load ptr, ptr %22, align 8 %36 = call i32 @init_three_chars(ptr noundef %35, i8 noundef signext 97, i8 noundef signext 98, i8 noundef signext 99) %37 = load ptr, ptr %23, align 8 %38 = call i32 @init_five_chars(ptr noundef %37, i8 noundef signext 108, i8 noundef signext 109, i8 noundef signext 110, i8 noundef signext 111, i8 noundef signext 112) %39 = load ptr, ptr %24, align 8 %40 = call i32 @init_int_char_combo(ptr noundef %39, i32 noundef 123, i8 noundef signext 122) %41 = load ptr, ptr %16, align 8 %42 = call i32 @init_struct_rep(ptr noundef %41, i32 noundef 2) %43 = load ptr, ptr %17, align 8 %44 = call i32 @init_struct_rep(ptr noundef %43, i32 noundef 4) %45 = load ptr, ptr %18, align 8 %46 = call i32 @init_struct_rep(ptr noundef %45, i32 noundef 5) %47 = load ptr, ptr %19, align 8 %48 = call i32 @init_struct_rep(ptr noundef %47, i32 noundef 6) %49 = load ptr, ptr %25, align 8 %50 = call i32 @init_one_double(ptr noundef %49, double noundef 1.050000e+01) %51 = load ptr, ptr %26, align 8 %52 = call i32 @init_one_double(ptr noundef %51, double noundef -3.375000e+00) %53 = load ptr, ptr %27, align 8 %54 = call i32 @init_one_double(ptr noundef %53, double noundef 0x408518C000000000) %55 = load ptr, ptr %28, align 8 %56 = call i32 @init_two_floats(ptr noundef %55, double noundef 4.523400e+01, double noundef 4.360000e+01) %57 = load ptr, ptr %29, align 8 %58 = call i32 @init_two_floats(ptr noundef %57, double noundef 7.801000e+01, double noundef 1.221000e+02) %59 = load ptr, ptr %30, align 8 %60 = call i32 @init_two_floats(ptr noundef %59, double noundef 0xC093416147AE147B, double noundef -1.992100e+02) ret void } declare i32 @init_bit_flags(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @init_bit_flags_combo(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef) #1 declare i32 @init_three_chars(ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 declare i32 @init_five_chars(ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 declare i32 @init_int_char_combo(ptr noundef, i32 noundef, i8 noundef signext) #1 declare i32 @init_struct_rep(ptr noundef, i32 noundef) #1 declare i32 @init_one_double(ptr noundef, double noundef) #1 declare i32 @init_two_floats(ptr noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp84s2yl3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_small_structs(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) #0 { %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 store ptr %0, ptr %16, align 8 store ptr %1, ptr %17, align 8 store ptr %2, ptr %18, align 8 store ptr %3, ptr %19, align 8 store ptr %4, ptr %20, align 8 store ptr %5, ptr %21, align 8 store ptr %6, ptr %22, align 8 store ptr %7, ptr %23, align 8 store ptr %8, ptr %24, align 8 store ptr %9, ptr %25, align 8 store ptr %10, ptr %26, align 8 store ptr %11, ptr %27, align 8 store ptr %12, ptr %28, align 8 store ptr %13, ptr %29, align 8 store ptr %14, ptr %30, align 8 %31 = load ptr, ptr %20, align 8 %32 = call i32 @init_bit_flags(ptr noundef %31, i32 noundef 1, i32 noundef 0, i32 noundef 1, i32 noundef 0, i32 noundef 1, i32 noundef 0) %33 = load ptr, ptr %21, align 8 %34 = call i32 @init_bit_flags_combo(ptr noundef %33, i32 noundef 1, i32 noundef 0, i8 noundef signext 121, i32 noundef 1, i32 noundef 0, i8 noundef signext 110, i32 noundef 1, i32 noundef 0) %35 = load ptr, ptr %22, align 8 %36 = call i32 @init_three_chars(ptr noundef %35, i8 noundef signext 97, i8 noundef signext 98, i8 noundef signext 99) %37 = load ptr, ptr %23, align 8 %38 = call i32 @init_five_chars(ptr noundef %37, i8 noundef signext 108, i8 noundef signext 109, i8 noundef signext 110, i8 noundef signext 111, i8 noundef signext 112) %39 = load ptr, ptr %24, align 8 %40 = call i32 @init_int_char_combo(ptr noundef %39, i32 noundef 123, i8 noundef signext 122) %41 = load ptr, ptr %16, align 8 %42 = call i32 @init_struct_rep(ptr noundef %41, i32 noundef 2) %43 = load ptr, ptr %17, align 8 %44 = call i32 @init_struct_rep(ptr noundef %43, i32 noundef 4) %45 = load ptr, ptr %18, align 8 %46 = call i32 @init_struct_rep(ptr noundef %45, i32 noundef 5) %47 = load ptr, ptr %19, align 8 %48 = call i32 @init_struct_rep(ptr noundef %47, i32 noundef 6) %49 = load ptr, ptr %25, align 8 %50 = call i32 @init_one_double(ptr noundef %49, double noundef 1.050000e+01) %51 = load ptr, ptr %26, align 8 %52 = call i32 @init_one_double(ptr noundef %51, double noundef -3.375000e+00) %53 = load ptr, ptr %27, align 8 %54 = call i32 @init_one_double(ptr noundef %53, double noundef 0x408518C000000000) %55 = load ptr, ptr %28, align 8 %56 = call i32 @init_two_floats(ptr noundef %55, double noundef 4.523400e+01, double noundef 4.360000e+01) %57 = load ptr, ptr %29, align 8 %58 = call i32 @init_two_floats(ptr noundef %57, double noundef 7.801000e+01, double noundef 1.221000e+02) %59 = load ptr, ptr %30, align 8 %60 = call i32 @init_two_floats(ptr noundef %59, double noundef 0xC093416147AE147B, double noundef -1.992100e+02) ret void } declare i32 @init_bit_flags(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @init_bit_flags_combo(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef) #1 declare i32 @init_three_chars(ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 declare i32 @init_five_chars(ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 declare i32 @init_int_char_combo(ptr noundef, i32 noundef, i8 noundef signext) #1 declare i32 @init_struct_rep(ptr noundef, i32 noundef) #1 declare i32 @init_one_double(ptr noundef, double noundef) #1 declare i32 @init_two_floats(ptr noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa9osuhsh.c' source_filename = "/tmp/tmpa9osuhsh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @line_reversal(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = add nsw i32 %16, 7 %18 = and i32 %17, -8 %19 = ashr i32 %18, 3 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %9, align 4 %22 = mul nsw i32 %20, %21 %23 = add nsw i32 %22, 3 %24 = and i32 %23, -4 store i32 %24, ptr %10, align 4 %25 = load i32, ptr %7, align 4 %26 = ashr i32 %25, 1 store i32 %26, ptr %11, align 4 store ptr null, ptr %13, align 8 store ptr null, ptr %14, align 8 store ptr null, ptr %15, align 8 %27 = load ptr, ptr %5, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %83 29: ; preds = %4 %30 = load i32, ptr %6, align 4 %31 = icmp sgt i32 %30, 0 br i1 %31, label %32, label %83 32: ; preds = %29 %33 = load i32, ptr %7, align 4 %34 = icmp sgt i32 %33, 1 br i1 %34, label %35, label %83 35: ; preds = %32 %36 = load i32, ptr %10, align 4 %37 = call i64 @malloc(i32 noundef %36) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %15, align 8 %39 = load ptr, ptr %15, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %82 41: ; preds = %35 %42 = load ptr, ptr %5, align 8 store ptr %42, ptr %13, align 8 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %7, align 4 %46 = sub nsw i32 %45, 1 %47 = mul nsw i32 %44, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %43, i64 %48 store ptr %49, ptr %14, align 8 store i32 0, ptr %12, align 4 br label %50 50: ; preds = %76, %41 %51 = load i32, ptr %12, align 4 %52 = load i32, ptr %11, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %79 54: ; preds = %50 %55 = load ptr, ptr %15, align 8 %56 = load ptr, ptr %13, align 8 %57 = load i32, ptr %10, align 4 %58 = call i32 @memcpy(ptr noundef %55, ptr noundef %56, i32 noundef %57) %59 = load ptr, ptr %13, align 8 %60 = load ptr, ptr %14, align 8 %61 = load i32, ptr %10, align 4 %62 = call i32 @memcpy(ptr noundef %59, ptr noundef %60, i32 noundef %61) %63 = load ptr, ptr %14, align 8 %64 = load ptr, ptr %15, align 8 %65 = load i32, ptr %10, align 4 %66 = call i32 @memcpy(ptr noundef %63, ptr noundef %64, i32 noundef %65) %67 = load i32, ptr %10, align 4 %68 = load ptr, ptr %13, align 8 %69 = sext i32 %67 to i64 %70 = getelementptr inbounds i8, ptr %68, i64 %69 store ptr %70, ptr %13, align 8 %71 = load i32, ptr %10, align 4 %72 = load ptr, ptr %14, align 8 %73 = sext i32 %71 to i64 %74 = sub i64 0, %73 %75 = getelementptr inbounds i8, ptr %72, i64 %74 store ptr %75, ptr %14, align 8 br label %76 76: ; preds = %54 %77 = load i32, ptr %12, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %12, align 4 br label %50, !llvm.loop !6 79: ; preds = %50 %80 = load ptr, ptr %15, align 8 %81 = call i32 @free(ptr noundef %80) br label %82 82: ; preds = %79, %35 br label %83 83: ; preds = %82, %32, %29, %4 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa9osuhsh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @line_reversal(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = add nsw i32 %16, 7 %18 = and i32 %17, -8 %19 = ashr i32 %18, 3 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %9, align 4 %22 = mul nsw i32 %20, %21 %23 = add nsw i32 %22, 3 %24 = and i32 %23, -4 store i32 %24, ptr %10, align 4 %25 = load i32, ptr %7, align 4 %26 = ashr i32 %25, 1 store i32 %26, ptr %11, align 4 store ptr null, ptr %13, align 8 store ptr null, ptr %14, align 8 store ptr null, ptr %15, align 8 %27 = load ptr, ptr %5, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %85 29: ; preds = %4 %30 = load i32, ptr %6, align 4 %31 = icmp sgt i32 %30, 0 br i1 %31, label %32, label %85 32: ; preds = %29 %33 = load i32, ptr %7, align 4 %34 = icmp sgt i32 %33, 1 br i1 %34, label %35, label %85 35: ; preds = %32 %36 = load i32, ptr %10, align 4 %37 = call i64 @malloc(i32 noundef %36) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %15, align 8 %39 = load ptr, ptr %15, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %84 41: ; preds = %35 %42 = load ptr, ptr %5, align 8 store ptr %42, ptr %13, align 8 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %7, align 4 %46 = sub nsw i32 %45, 1 %47 = mul nsw i32 %44, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %43, i64 %48 store ptr %49, ptr %14, align 8 store i32 0, ptr %12, align 4 %50 = load i32, ptr %12, align 4 %51 = load i32, ptr %11, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %.lr.ph, label %81 .lr.ph: ; preds = %41 br label %53 53: ; preds = %.lr.ph, %75 %54 = load ptr, ptr %15, align 8 %55 = load ptr, ptr %13, align 8 %56 = load i32, ptr %10, align 4 %57 = call i32 @memcpy(ptr noundef %54, ptr noundef %55, i32 noundef %56) %58 = load ptr, ptr %13, align 8 %59 = load ptr, ptr %14, align 8 %60 = load i32, ptr %10, align 4 %61 = call i32 @memcpy(ptr noundef %58, ptr noundef %59, i32 noundef %60) %62 = load ptr, ptr %14, align 8 %63 = load ptr, ptr %15, align 8 %64 = load i32, ptr %10, align 4 %65 = call i32 @memcpy(ptr noundef %62, ptr noundef %63, i32 noundef %64) %66 = load i32, ptr %10, align 4 %67 = load ptr, ptr %13, align 8 %68 = sext i32 %66 to i64 %69 = getelementptr inbounds i8, ptr %67, i64 %68 store ptr %69, ptr %13, align 8 %70 = load i32, ptr %10, align 4 %71 = load ptr, ptr %14, align 8 %72 = sext i32 %70 to i64 %73 = sub i64 0, %72 %74 = getelementptr inbounds i8, ptr %71, i64 %73 store ptr %74, ptr %14, align 8 br label %75 75: ; preds = %53 %76 = load i32, ptr %12, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %12, align 4 %78 = load i32, ptr %12, align 4 %79 = load i32, ptr %11, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %53, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %75 br label %81 81: ; preds = %._crit_edge, %41 %82 = load ptr, ptr %15, align 8 %83 = call i32 @free(ptr noundef %82) br label %84 84: ; preds = %81, %35 br label %85 85: ; preds = %84, %32, %29, %4 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8vx6vbe_.c' source_filename = "/tmp/tmp8vx6vbe_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @fork() store i32 %3, ptr %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 (...) @child() br label %10 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = call i32 @parent(i32 noundef %8) br label %10 10: ; preds = %7, %5 ret i32 0 } declare i32 @fork(...) #1 declare i32 @child(...) #1 declare i32 @parent(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/tmp8vx6vbe_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @fork() store i32 %3, ptr %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 (...) @child() br label %10 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = call i32 @parent(i32 noundef %8) br label %10 10: ; preds = %7, %5 ret i32 0 } declare i32 @fork(...) #1 declare i32 @child(...) #1 declare i32 @parent(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/tmpqqtla3br.c' source_filename = "/tmp/tmpqqtla3br.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"/dev/smartpoll\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"send_num_mask failed\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Mask is : %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"power_up_iso failed\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"ATR: \00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%x \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"Select file failed\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c"Selected file 0x3f00\0A\00", align 1 @.str.9 = private unnamed_addr constant [50 x i8] c"Sucessfully verified the PIN for the master file\0A\00", align 1 @.str.10 = private unnamed_addr constant [20 x i8] c"Create file failed\0A\00", align 1 @.str.11 = private unnamed_addr constant [40 x i8] c"Created a file 0x2030 of size 20 bytes\0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"Selected file 0x2030\0A\00", align 1 @.str.13 = private unnamed_addr constant [20 x i8] c"read_binary failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"Data (b4 write): \00", align 1 @.str.15 = private unnamed_addr constant [22 x i8] c"Wrote to file 0x2030\0A\00", align 1 @.str.16 = private unnamed_addr constant [21 x i8] c"Data (after write): \00", align 1 @.str.17 = private unnamed_addr constant [20 x i8] c"Delete file failed\0A\00", align 1 @.str.18 = private unnamed_addr constant [21 x i8] c"Deleted file 0x2030\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 [100 x i8], align 16 %8 = alloca [100 x i8], align 16 %9 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %10 = call i32 @serial_init(ptr noundef @.str) store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %13 = call i64 @send_num_mask(i32 noundef %11, ptr noundef %12) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %152 17: ; preds = %0 %18 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18) %20 = load i32, ptr %2, align 4 %21 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %22 = call i32 @power_up_iso(i32 noundef %20, ptr noundef %21) store i32 %22, ptr %3, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %17 %25 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %1, align 4 br label %152 26: ; preds = %17 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %4, align 4 br label %28 28: ; preds = %39, %26 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %42 32: ; preds = %28 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 %34 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %37) br label %39 39: ; preds = %32 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %4, align 4 br label %28, !llvm.loop !6 42: ; preds = %28 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %44 = load i32, ptr %2, align 4 %45 = call i64 @select_file(i32 noundef %44, i32 noundef 16128) %46 = icmp slt i64 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %42 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 -1, ptr %1, align 4 br label %152 49: ; preds = %42 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %51 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 store i8 71, ptr %51, align 16 %52 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 1 store i8 70, ptr %52, align 1 %53 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 2 store i8 85, ptr %53, align 2 %54 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 3 store i8 57, ptr %54, align 1 %55 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 4 store i8 56, ptr %55, align 4 %56 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 5 store i8 73, ptr %56, align 1 %57 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 6 store i8 -112, ptr %57, align 2 %58 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 7 store i8 99, ptr %58, align 1 %59 = load i32, ptr %2, align 4 %60 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %61 = call i64 @verify_PIN(i32 noundef %59, ptr noundef %60) %62 = icmp slt i64 %61, 0 br i1 %62, label %63, label %64 63: ; preds = %49 store i32 -1, ptr %1, align 4 br label %152 64: ; preds = %49 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %66 = load i32, ptr %2, align 4 %67 = call i64 @create_file_tpef(i32 noundef %66, i32 noundef 8240, i32 noundef 20, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) %68 = icmp slt i64 %67, 0 br i1 %68, label %69, label %71 69: ; preds = %64 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 -1, ptr %1, align 4 br label %152 71: ; preds = %64 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %73 = load i32, ptr %2, align 4 %74 = call i64 @select_file(i32 noundef %73, i32 noundef 8240) %75 = icmp slt i64 %74, 0 br i1 %75, label %76, label %78 76: ; preds = %71 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 -1, ptr %1, align 4 br label %152 78: ; preds = %71 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %80 = load i32, ptr %2, align 4 %81 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %82 = call i32 @read_binary(i32 noundef %80, i32 noundef 0, i32 noundef 20, ptr noundef %81) store i32 %82, ptr %6, align 4 %83 = icmp slt i32 %82, 0 br i1 %83, label %84, label %86 84: ; preds = %78 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) store i32 -1, ptr %1, align 4 br label %152 86: ; preds = %78 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) store i32 0, ptr %4, align 4 br label %88 88: ; preds = %99, %86 %89 = load i32, ptr %4, align 4 %90 = load i32, ptr %6, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %92, label %102 92: ; preds = %88 %93 = load i32, ptr %4, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %94 %96 = load i8, ptr %95, align 1 %97 = zext i8 %96 to i32 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %97) br label %99 99: ; preds = %92 %100 = load i32, ptr %4, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %4, align 4 br label %88, !llvm.loop !8 102: ; preds = %88 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %104 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %105 = call i32 @memset(ptr noundef %104, i32 noundef 5, i32 noundef 7) %106 = load i32, ptr %2, align 4 %107 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %108 = call i64 @update_binary(i32 noundef %106, i32 noundef 5, i32 noundef 7, ptr noundef %107) %109 = icmp slt i64 %108, 0 br i1 %109, label %110, label %111 110: ; preds = %102 store i32 -1, ptr %1, align 4 br label %152 111: ; preds = %102 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %113 = load i32, ptr %2, align 4 %114 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %115 = call i32 @read_binary(i32 noundef %113, i32 noundef 0, i32 noundef 20, ptr noundef %114) store i32 %115, ptr %6, align 4 %116 = icmp slt i32 %115, 0 br i1 %116, label %117, label %118 117: ; preds = %111 store i32 -1, ptr %1, align 4 br label %152 118: ; preds = %111 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) store i32 0, ptr %4, align 4 br label %120 120: ; preds = %131, %118 %121 = load i32, ptr %4, align 4 %122 = load i32, ptr %6, align 4 %123 = icmp slt i32 %121, %122 br i1 %123, label %124, label %134 124: ; preds = %120 %125 = load i32, ptr %4, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %126 %128 = load i8, ptr %127, align 1 %129 = zext i8 %128 to i32 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %129) br label %131 131: ; preds = %124 %132 = load i32, ptr %4, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %4, align 4 br label %120, !llvm.loop !9 134: ; preds = %120 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %136 = load i32, ptr %2, align 4 %137 = call i64 @select_file(i32 noundef %136, i32 noundef 16128) %138 = icmp slt i64 %137, 0 br i1 %138, label %139, label %141 139: ; preds = %134 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 -1, ptr %1, align 4 br label %152 141: ; preds = %134 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %143 = load i32, ptr %2, align 4 %144 = call i64 @delete_file(i32 noundef %143, i32 noundef 8240) %145 = icmp slt i64 %144, 0 br i1 %145, label %146, label %148 146: ; preds = %141 %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) store i32 -1, ptr %1, align 4 br label %152 148: ; preds = %141 %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %150 = load i32, ptr %2, align 4 %151 = call i32 @serial_deinit(i32 noundef %150) br label %152 152: ; preds = %148, %146, %139, %117, %110, %84, %76, %69, %63, %47, %24, %15 %153 = load i32, ptr %1, align 4 ret i32 %153 } declare i32 @serial_init(ptr noundef) #1 declare i64 @send_num_mask(i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @power_up_iso(i32 noundef, ptr noundef) #1 declare i64 @select_file(i32 noundef, i32 noundef) #1 declare i64 @verify_PIN(i32 noundef, ptr noundef) #1 declare i64 @create_file_tpef(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read_binary(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @update_binary(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @delete_file(i32 noundef, i32 noundef) #1 declare i32 @serial_deinit(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/tmpqqtla3br.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"/dev/smartpoll\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"send_num_mask failed\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Mask is : %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"power_up_iso failed\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"ATR: \00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%x \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"Select file failed\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c"Selected file 0x3f00\0A\00", align 1 @.str.9 = private unnamed_addr constant [50 x i8] c"Sucessfully verified the PIN for the master file\0A\00", align 1 @.str.10 = private unnamed_addr constant [20 x i8] c"Create file failed\0A\00", align 1 @.str.11 = private unnamed_addr constant [40 x i8] c"Created a file 0x2030 of size 20 bytes\0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"Selected file 0x2030\0A\00", align 1 @.str.13 = private unnamed_addr constant [20 x i8] c"read_binary failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"Data (b4 write): \00", align 1 @.str.15 = private unnamed_addr constant [22 x i8] c"Wrote to file 0x2030\0A\00", align 1 @.str.16 = private unnamed_addr constant [21 x i8] c"Data (after write): \00", align 1 @.str.17 = private unnamed_addr constant [20 x i8] c"Delete file failed\0A\00", align 1 @.str.18 = private unnamed_addr constant [21 x i8] c"Deleted file 0x2030\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 [100 x i8], align 16 %8 = alloca [100 x i8], align 16 %9 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %10 = call i32 @serial_init(ptr noundef @.str) store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %13 = call i64 @send_num_mask(i32 noundef %11, ptr noundef %12) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %158 17: ; preds = %0 %18 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18) %20 = load i32, ptr %2, align 4 %21 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %22 = call i32 @power_up_iso(i32 noundef %20, ptr noundef %21) store i32 %22, ptr %3, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %17 %25 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %1, align 4 br label %158 26: ; preds = %17 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph, label %44 .lr.ph: ; preds = %26 br label %31 31: ; preds = %.lr.ph, %38 %32 = load i32, ptr %4, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36) br label %38 38: ; preds = %31 %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 = load i32, ptr %3, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %26 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %46 = load i32, ptr %2, align 4 %47 = call i64 @select_file(i32 noundef %46, i32 noundef 16128) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %44 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 -1, ptr %1, align 4 br label %158 51: ; preds = %44 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %53 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 store i8 71, ptr %53, align 16 %54 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 1 store i8 70, ptr %54, align 1 %55 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 2 store i8 85, ptr %55, align 2 %56 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 3 store i8 57, ptr %56, align 1 %57 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 4 store i8 56, ptr %57, align 4 %58 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 5 store i8 73, ptr %58, align 1 %59 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 6 store i8 -112, ptr %59, align 2 %60 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 7 store i8 99, ptr %60, align 1 %61 = load i32, ptr %2, align 4 %62 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %63 = call i64 @verify_PIN(i32 noundef %61, ptr noundef %62) %64 = icmp slt i64 %63, 0 br i1 %64, label %65, label %66 65: ; preds = %51 store i32 -1, ptr %1, align 4 br label %158 66: ; preds = %51 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %68 = load i32, ptr %2, align 4 %69 = call i64 @create_file_tpef(i32 noundef %68, i32 noundef 8240, i32 noundef 20, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) %70 = icmp slt i64 %69, 0 br i1 %70, label %71, label %73 71: ; preds = %66 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 -1, ptr %1, align 4 br label %158 73: ; preds = %66 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %75 = load i32, ptr %2, align 4 %76 = call i64 @select_file(i32 noundef %75, i32 noundef 8240) %77 = icmp slt i64 %76, 0 br i1 %77, label %78, label %80 78: ; preds = %73 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 -1, ptr %1, align 4 br label %158 80: ; preds = %73 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %82 = load i32, ptr %2, align 4 %83 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %84 = call i32 @read_binary(i32 noundef %82, i32 noundef 0, i32 noundef 20, ptr noundef %83) store i32 %84, ptr %6, align 4 %85 = icmp slt i32 %84, 0 br i1 %85, label %86, label %88 86: ; preds = %80 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) store i32 -1, ptr %1, align 4 br label %158 88: ; preds = %80 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) store i32 0, ptr %4, align 4 %90 = load i32, ptr %4, align 4 %91 = load i32, ptr %6, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %.lr.ph2, label %106 .lr.ph2: ; preds = %88 br label %93 93: ; preds = %.lr.ph2, %100 %94 = load i32, ptr %4, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %95 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %98) br label %100 100: ; preds = %93 %101 = load i32, ptr %4, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %4, align 4 %103 = load i32, ptr %4, align 4 %104 = load i32, ptr %6, align 4 %105 = icmp slt i32 %103, %104 br i1 %105, label %93, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %100 br label %106 106: ; preds = %._crit_edge3, %88 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %108 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %109 = call i32 @memset(ptr noundef %108, i32 noundef 5, i32 noundef 7) %110 = load i32, ptr %2, align 4 %111 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %112 = call i64 @update_binary(i32 noundef %110, i32 noundef 5, i32 noundef 7, ptr noundef %111) %113 = icmp slt i64 %112, 0 br i1 %113, label %114, label %115 114: ; preds = %106 store i32 -1, ptr %1, align 4 br label %158 115: ; preds = %106 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %117 = load i32, ptr %2, align 4 %118 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %119 = call i32 @read_binary(i32 noundef %117, i32 noundef 0, i32 noundef 20, ptr noundef %118) store i32 %119, ptr %6, align 4 %120 = icmp slt i32 %119, 0 br i1 %120, label %121, label %122 121: ; preds = %115 store i32 -1, ptr %1, align 4 br label %158 122: ; preds = %115 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) store i32 0, ptr %4, align 4 %124 = load i32, ptr %4, align 4 %125 = load i32, ptr %6, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %.lr.ph5, label %140 .lr.ph5: ; preds = %122 br label %127 127: ; preds = %.lr.ph5, %134 %128 = load i32, ptr %4, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %129 %131 = load i8, ptr %130, align 1 %132 = zext i8 %131 to i32 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %132) br label %134 134: ; preds = %127 %135 = load i32, ptr %4, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %4, align 4 %137 = load i32, ptr %4, align 4 %138 = load i32, ptr %6, align 4 %139 = icmp slt i32 %137, %138 br i1 %139, label %127, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %134 br label %140 140: ; preds = %._crit_edge6, %122 %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %142 = load i32, ptr %2, align 4 %143 = call i64 @select_file(i32 noundef %142, i32 noundef 16128) %144 = icmp slt i64 %143, 0 br i1 %144, label %145, label %147 145: ; preds = %140 %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 -1, ptr %1, align 4 br label %158 147: ; preds = %140 %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %149 = load i32, ptr %2, align 4 %150 = call i64 @delete_file(i32 noundef %149, i32 noundef 8240) %151 = icmp slt i64 %150, 0 br i1 %151, label %152, label %154 152: ; preds = %147 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) store i32 -1, ptr %1, align 4 br label %158 154: ; preds = %147 %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %156 = load i32, ptr %2, align 4 %157 = call i32 @serial_deinit(i32 noundef %156) br label %158 158: ; preds = %154, %152, %145, %121, %114, %86, %78, %71, %65, %49, %24, %15 %159 = load i32, ptr %1, align 4 ret i32 %159 } declare i32 @serial_init(ptr noundef) #1 declare i64 @send_num_mask(i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @power_up_iso(i32 noundef, ptr noundef) #1 declare i64 @select_file(i32 noundef, i32 noundef) #1 declare i64 @verify_PIN(i32 noundef, ptr noundef) #1 declare i64 @create_file_tpef(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read_binary(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @update_binary(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @delete_file(i32 noundef, i32 noundef) #1 declare i32 @serial_deinit(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/tmp9p_d_kat.c' source_filename = "/tmp/tmp9p_d_kat.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x9d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isupper_0x9d() #0 { %1 = call i64 @isupper(i32 noundef 157) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 790, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isupper(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/tmp9p_d_kat.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x9d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isupper_0x9d() #0 { %1 = call i64 @isupper(i32 noundef 157) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 790, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isupper(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/tmp7fqoig_p.c' source_filename = "/tmp/tmp7fqoig_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xfunlock(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 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7fqoig_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xfunlock(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 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk0kiwe5s.c' source_filename = "/tmp/tmpk0kiwe5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sa_log_abort(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 @sa_log_output(ptr noundef %3) %5 = call i32 (...) @abort() #3 unreachable } declare i32 @sa_log_output(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk0kiwe5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sa_log_abort(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 @sa_log_output(ptr noundef %3) %5 = call i32 (...) @abort() #3 unreachable } declare i32 @sa_log_output(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnv4lqp7t.c' source_filename = "/tmp/tmpnv4lqp7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @real_sleep(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 store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %9, %1 %6 = load i32, ptr %3, align 4 %7 = call i32 @sleep(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %5 br label %5, !llvm.loop !6 10: ; preds = %5 ret void } declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnv4lqp7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @real_sleep(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 store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %5, %1 %6 = load i32, ptr %3, align 4 %7 = call i32 @sleep(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %5, label %9, !llvm.loop !6 9: ; preds = %5 ret void } declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpke5or_r6.c' source_filename = "/tmp/tmpke5or_r6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LONG_MIN = dso_local global i64 0, align 8 @LONG_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strtol(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp sgt i32 %15, 36 br i1 %16, label %23, label %17 17: ; preds = %3 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 2 br i1 %22, label %23, label %24 23: ; preds = %20, %3 store i64 0, ptr %4, align 8 br label %225 24: ; preds = %20, %17 br label %25 25: ; preds = %44, %24 %26 = load ptr, ptr %5, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 32 br i1 %29, label %42, label %30 30: ; preds = %25 %31 = load ptr, ptr %5, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp sge i32 %33, 9 br i1 %34, label %35, label %40 35: ; preds = %30 %36 = load ptr, ptr %5, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp sle i32 %38, 13 br label %40 40: ; preds = %35, %30 %41 = phi i1 [ false, %30 ], [ %39, %35 ] br label %42 42: ; preds = %40, %25 %43 = phi i1 [ true, %25 ], [ %41, %40 ] br i1 %43, label %44, label %47 44: ; preds = %42 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %5, align 8 br label %25, !llvm.loop !6 47: ; preds = %42 %48 = load ptr, ptr %5, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 switch i32 %50, label %55 [ i32 45, label %51 i32 43, label %52 ] 51: ; preds = %47 store i32 1, ptr %8, align 4 br label %52 52: ; preds = %47, %51 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %5, align 8 br label %55 55: ; preds = %47, %52 %56 = load ptr, ptr %5, align 8 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 48 br i1 %59, label %60, label %87 60: ; preds = %55 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %5, align 8 %63 = load ptr, ptr %5, align 8 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 120 br i1 %66, label %72, label %67 67: ; preds = %60 %68 = load ptr, ptr %5, align 8 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 88 br i1 %71, label %72, label %81 72: ; preds = %67, %60 %73 = load i32, ptr %7, align 4 %74 = icmp eq i32 %73, 0 br i1 %74, label %78, label %75 75: ; preds = %72 %76 = load i32, ptr %7, align 4 %77 = icmp eq i32 %76, 16 br i1 %77, label %78, label %81 78: ; preds = %75, %72 store i32 16, ptr %7, align 4 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds i8, ptr %79, i32 1 store ptr %80, ptr %5, align 8 br label %86 81: ; preds = %75, %67 %82 = load i32, ptr %7, align 4 %83 = icmp eq i32 %82, 0 br i1 %83, label %84, label %85 84: ; preds = %81 store i32 8, ptr %7, align 4 br label %85 85: ; preds = %84, %81 br label %86 86: ; preds = %85, %78 br label %92 87: ; preds = %55 %88 = load i32, ptr %7, align 4 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %91 90: ; preds = %87 store i32 10, ptr %7, align 4 br label %91 91: ; preds = %90, %87 br label %92 92: ; preds = %91, %86 store i64 0, ptr %9, align 8 %93 = load i32, ptr %8, align 4 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %98 95: ; preds = %92 %96 = load i64, ptr @LONG_MIN, align 8 %97 = sub i64 0, %96 br label %100 98: ; preds = %92 %99 = load i64, ptr @LONG_MAX, align 8 br label %100 100: ; preds = %98, %95 %101 = phi i64 [ %97, %95 ], [ %99, %98 ] store i64 %101, ptr %10, align 8 %102 = load i64, ptr %10, align 8 %103 = load i32, ptr %7, align 4 %104 = sext i32 %103 to i64 %105 = urem i64 %102, %104 %106 = trunc i64 %105 to i32 store i32 %106, ptr %11, align 4 %107 = load i32, ptr %7, align 4 %108 = sext i32 %107 to i64 %109 = load i64, ptr %10, align 8 %110 = udiv i64 %109, %108 store i64 %110, ptr %10, align 8 store i32 0, ptr %12, align 4 br label %111 111: ; preds = %192, %100 %112 = load ptr, ptr %5, align 8 %113 = load i8, ptr %112, align 1 %114 = icmp ne i8 %113, 0 br i1 %114, label %115, label %195 115: ; preds = %111 %116 = load ptr, ptr %5, align 8 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = icmp sge i32 %118, 48 br i1 %119, label %120, label %130 120: ; preds = %115 %121 = load ptr, ptr %5, align 8 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp sle i32 %123, 57 br i1 %124, label %125, label %130 125: ; preds = %120 %126 = load ptr, ptr %5, align 8 %127 = load i8, ptr %126, align 1 %128 = sext i8 %127 to i32 %129 = sub nsw i32 %128, 48 store i32 %129, ptr %13, align 4 br label %165 130: ; preds = %120, %115 %131 = load ptr, ptr %5, align 8 %132 = load i8, ptr %131, align 1 %133 = sext i8 %132 to i32 %134 = icmp sge i32 %133, 65 br i1 %134, label %135, label %146 135: ; preds = %130 %136 = load ptr, ptr %5, align 8 %137 = load i8, ptr %136, align 1 %138 = sext i8 %137 to i32 %139 = icmp sle i32 %138, 90 br i1 %139, label %140, label %146 140: ; preds = %135 %141 = load ptr, ptr %5, align 8 %142 = load i8, ptr %141, align 1 %143 = sext i8 %142 to i32 %144 = add nsw i32 10, %143 %145 = sub nsw i32 %144, 65 store i32 %145, ptr %13, align 4 br label %164 146: ; preds = %135, %130 %147 = load ptr, ptr %5, align 8 %148 = load i8, ptr %147, align 1 %149 = sext i8 %148 to i32 %150 = icmp sge i32 %149, 97 br i1 %150, label %151, label %162 151: ; preds = %146 %152 = load ptr, ptr %5, align 8 %153 = load i8, ptr %152, align 1 %154 = sext i8 %153 to i32 %155 = icmp sle i32 %154, 122 br i1 %155, label %156, label %162 156: ; preds = %151 %157 = load ptr, ptr %5, align 8 %158 = load i8, ptr %157, align 1 %159 = sext i8 %158 to i32 %160 = add nsw i32 10, %159 %161 = sub nsw i32 %160, 97 store i32 %161, ptr %13, align 4 br label %163 162: ; preds = %151, %146 br label %195 163: ; preds = %156 br label %164 164: ; preds = %163, %140 br label %165 165: ; preds = %164, %125 %166 = load i32, ptr %13, align 4 %167 = load i32, ptr %7, align 4 %168 = icmp sge i32 %166, %167 br i1 %168, label %169, label %170 169: ; preds = %165 br label %195 170: ; preds = %165 %171 = load i32, ptr %12, align 4 %172 = icmp ne i32 %171, 0 br i1 %172, label %185, label %173 173: ; preds = %170 %174 = load i64, ptr %9, align 8 %175 = load i64, ptr %10, align 8 %176 = icmp ugt i64 %174, %175 br i1 %176, label %185, label %177 177: ; preds = %173 %178 = load i64, ptr %9, align 8 %179 = load i64, ptr %10, align 8 %180 = icmp eq i64 %178, %179 br i1 %180, label %181, label %186 181: ; preds = %177 %182 = load i32, ptr %13, align 4 %183 = load i32, ptr %11, align 4 %184 = icmp sgt i32 %182, %183 br i1 %184, label %185, label %186 185: ; preds = %181, %173, %170 store i32 1, ptr %12, align 4 br label %192 186: ; preds = %181, %177 %187 = load i64, ptr %9, align 8 %188 = mul i64 %187, 10 %189 = load i32, ptr %13, align 4 %190 = sext i32 %189 to i64 %191 = add i64 %188, %190 store i64 %191, ptr %9, align 8 br label %192 192: ; preds = %186, %185 %193 = load ptr, ptr %5, align 8 %194 = getelementptr inbounds i8, ptr %193, i32 1 store ptr %194, ptr %5, align 8 br label %111, !llvm.loop !8 195: ; preds = %169, %162, %111 %196 = load i32, ptr %12, align 4 %197 = icmp ne i32 %196, 0 br i1 %197, label %198, label %207 198: ; preds = %195 %199 = load i32, ptr %8, align 4 %200 = icmp ne i32 %199, 0 br i1 %200, label %201, label %203 201: ; preds = %198 %202 = load i64, ptr @LONG_MIN, align 8 br label %205 203: ; preds = %198 %204 = load i64, ptr @LONG_MAX, align 8 br label %205 205: ; preds = %203, %201 %206 = phi i64 [ %202, %201 ], [ %204, %203 ] store i64 %206, ptr %14, align 8 br label %217 207: ; preds = %195 %208 = load i32, ptr %8, align 4 %209 = icmp ne i32 %208, 0 br i1 %209, label %210, label %213 210: ; preds = %207 %211 = load i64, ptr %9, align 8 %212 = sub i64 0, %211 br label %215 213: ; preds = %207 %214 = load i64, ptr %9, align 8 br label %215 215: ; preds = %213, %210 %216 = phi i64 [ %212, %210 ], [ %214, %213 ] store i64 %216, ptr %14, align 8 br label %217 217: ; preds = %215, %205 %218 = load ptr, ptr %6, align 8 %219 = icmp ne ptr %218, null br i1 %219, label %220, label %223 220: ; preds = %217 %221 = load ptr, ptr %5, align 8 %222 = load ptr, ptr %6, align 8 store ptr %221, ptr %222, align 8 br label %223 223: ; preds = %220, %217 %224 = load i64, ptr %14, align 8 store i64 %224, ptr %4, align 8 br label %225 225: ; preds = %223, %23 %226 = load i64, ptr %4, align 8 ret i64 %226 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpke5or_r6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LONG_MIN = dso_local global i64 0, align 8 @LONG_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strtol(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp sgt i32 %15, 36 br i1 %16, label %23, label %17 17: ; preds = %3 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 2 br i1 %22, label %23, label %24 23: ; preds = %20, %3 store i64 0, ptr %4, align 8 br label %227 24: ; preds = %20, %17 br label %25 25: ; preds = %44, %24 %26 = load ptr, ptr %5, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 32 br i1 %29, label %42, label %30 30: ; preds = %25 %31 = load ptr, ptr %5, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp sge i32 %33, 9 br i1 %34, label %35, label %40 35: ; preds = %30 %36 = load ptr, ptr %5, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp sle i32 %38, 13 br label %40 40: ; preds = %35, %30 %41 = phi i1 [ false, %30 ], [ %39, %35 ] br label %42 42: ; preds = %40, %25 %43 = phi i1 [ true, %25 ], [ %41, %40 ] br i1 %43, label %44, label %47 44: ; preds = %42 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %5, align 8 br label %25, !llvm.loop !6 47: ; preds = %42 %48 = load ptr, ptr %5, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 switch i32 %50, label %55 [ i32 45, label %51 i32 43, label %52 ] 51: ; preds = %47 store i32 1, ptr %8, align 4 br label %52 52: ; preds = %51, %47 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %5, align 8 br label %55 55: ; preds = %52, %47 %56 = load ptr, ptr %5, align 8 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 48 br i1 %59, label %60, label %87 60: ; preds = %55 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %5, align 8 %63 = load ptr, ptr %5, align 8 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 120 br i1 %66, label %72, label %67 67: ; preds = %60 %68 = load ptr, ptr %5, align 8 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 88 br i1 %71, label %72, label %81 72: ; preds = %67, %60 %73 = load i32, ptr %7, align 4 %74 = icmp eq i32 %73, 0 br i1 %74, label %78, label %75 75: ; preds = %72 %76 = load i32, ptr %7, align 4 %77 = icmp eq i32 %76, 16 br i1 %77, label %78, label %81 78: ; preds = %75, %72 store i32 16, ptr %7, align 4 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds i8, ptr %79, i32 1 store ptr %80, ptr %5, align 8 br label %86 81: ; preds = %75, %67 %82 = load i32, ptr %7, align 4 %83 = icmp eq i32 %82, 0 br i1 %83, label %84, label %85 84: ; preds = %81 store i32 8, ptr %7, align 4 br label %85 85: ; preds = %84, %81 br label %86 86: ; preds = %85, %78 br label %92 87: ; preds = %55 %88 = load i32, ptr %7, align 4 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %91 90: ; preds = %87 store i32 10, ptr %7, align 4 br label %91 91: ; preds = %90, %87 br label %92 92: ; preds = %91, %86 store i64 0, ptr %9, align 8 %93 = load i32, ptr %8, align 4 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %98 95: ; preds = %92 %96 = load i64, ptr @LONG_MIN, align 8 %97 = sub i64 0, %96 br label %100 98: ; preds = %92 %99 = load i64, ptr @LONG_MAX, align 8 br label %100 100: ; preds = %98, %95 %101 = phi i64 [ %97, %95 ], [ %99, %98 ] store i64 %101, ptr %10, align 8 %102 = load i64, ptr %10, align 8 %103 = load i32, ptr %7, align 4 %104 = sext i32 %103 to i64 %105 = urem i64 %102, %104 %106 = trunc i64 %105 to i32 store i32 %106, ptr %11, align 4 %107 = load i32, ptr %7, align 4 %108 = sext i32 %107 to i64 %109 = load i64, ptr %10, align 8 %110 = udiv i64 %109, %108 store i64 %110, ptr %10, align 8 store i32 0, ptr %12, align 4 %111 = load ptr, ptr %5, align 8 %112 = load i8, ptr %111, align 1 %113 = icmp ne i8 %112, 0 br i1 %113, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %100 br label %114 114: ; preds = %.lr.ph, %191 %115 = load ptr, ptr %5, align 8 %116 = load i8, ptr %115, align 1 %117 = sext i8 %116 to i32 %118 = icmp sge i32 %117, 48 br i1 %118, label %119, label %129 119: ; preds = %114 %120 = load ptr, ptr %5, align 8 %121 = load i8, ptr %120, align 1 %122 = sext i8 %121 to i32 %123 = icmp sle i32 %122, 57 br i1 %123, label %124, label %129 124: ; preds = %119 %125 = load ptr, ptr %5, align 8 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = sub nsw i32 %127, 48 store i32 %128, ptr %13, align 4 br label %164 129: ; preds = %119, %114 %130 = load ptr, ptr %5, align 8 %131 = load i8, ptr %130, align 1 %132 = sext i8 %131 to i32 %133 = icmp sge i32 %132, 65 br i1 %133, label %134, label %145 134: ; preds = %129 %135 = load ptr, ptr %5, align 8 %136 = load i8, ptr %135, align 1 %137 = sext i8 %136 to i32 %138 = icmp sle i32 %137, 90 br i1 %138, label %139, label %145 139: ; preds = %134 %140 = load ptr, ptr %5, align 8 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = add nsw i32 10, %142 %144 = sub nsw i32 %143, 65 store i32 %144, ptr %13, align 4 br label %163 145: ; preds = %134, %129 %146 = load ptr, ptr %5, align 8 %147 = load i8, ptr %146, align 1 %148 = sext i8 %147 to i32 %149 = icmp sge i32 %148, 97 br i1 %149, label %150, label %161 150: ; preds = %145 %151 = load ptr, ptr %5, align 8 %152 = load i8, ptr %151, align 1 %153 = sext i8 %152 to i32 %154 = icmp sle i32 %153, 122 br i1 %154, label %155, label %161 155: ; preds = %150 %156 = load ptr, ptr %5, align 8 %157 = load i8, ptr %156, align 1 %158 = sext i8 %157 to i32 %159 = add nsw i32 10, %158 %160 = sub nsw i32 %159, 97 store i32 %160, ptr %13, align 4 br label %162 161: ; preds = %150, %145 br label %197 162: ; preds = %155 br label %163 163: ; preds = %162, %139 br label %164 164: ; preds = %163, %124 %165 = load i32, ptr %13, align 4 %166 = load i32, ptr %7, align 4 %167 = icmp sge i32 %165, %166 br i1 %167, label %168, label %169 168: ; preds = %164 br label %197 169: ; preds = %164 %170 = load i32, ptr %12, align 4 %171 = icmp ne i32 %170, 0 br i1 %171, label %184, label %172 172: ; preds = %169 %173 = load i64, ptr %9, align 8 %174 = load i64, ptr %10, align 8 %175 = icmp ugt i64 %173, %174 br i1 %175, label %184, label %176 176: ; preds = %172 %177 = load i64, ptr %9, align 8 %178 = load i64, ptr %10, align 8 %179 = icmp eq i64 %177, %178 br i1 %179, label %180, label %185 180: ; preds = %176 %181 = load i32, ptr %13, align 4 %182 = load i32, ptr %11, align 4 %183 = icmp sgt i32 %181, %182 br i1 %183, label %184, label %185 184: ; preds = %180, %172, %169 store i32 1, ptr %12, align 4 br label %191 185: ; preds = %180, %176 %186 = load i64, ptr %9, align 8 %187 = mul i64 %186, 10 %188 = load i32, ptr %13, align 4 %189 = sext i32 %188 to i64 %190 = add i64 %187, %189 store i64 %190, ptr %9, align 8 br label %191 191: ; preds = %185, %184 %192 = load ptr, ptr %5, align 8 %193 = getelementptr inbounds i8, ptr %192, i32 1 store ptr %193, ptr %5, align 8 %194 = load ptr, ptr %5, align 8 %195 = load i8, ptr %194, align 1 %196 = icmp ne i8 %195, 0 br i1 %196, label %114, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %191 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %100 br label %197 197: ; preds = %.loopexit, %168, %161 %198 = load i32, ptr %12, align 4 %199 = icmp ne i32 %198, 0 br i1 %199, label %200, label %209 200: ; preds = %197 %201 = load i32, ptr %8, align 4 %202 = icmp ne i32 %201, 0 br i1 %202, label %203, label %205 203: ; preds = %200 %204 = load i64, ptr @LONG_MIN, align 8 br label %207 205: ; preds = %200 %206 = load i64, ptr @LONG_MAX, align 8 br label %207 207: ; preds = %205, %203 %208 = phi i64 [ %204, %203 ], [ %206, %205 ] store i64 %208, ptr %14, align 8 br label %219 209: ; preds = %197 %210 = load i32, ptr %8, align 4 %211 = icmp ne i32 %210, 0 br i1 %211, label %212, label %215 212: ; preds = %209 %213 = load i64, ptr %9, align 8 %214 = sub i64 0, %213 br label %217 215: ; preds = %209 %216 = load i64, ptr %9, align 8 br label %217 217: ; preds = %215, %212 %218 = phi i64 [ %214, %212 ], [ %216, %215 ] store i64 %218, ptr %14, align 8 br label %219 219: ; preds = %217, %207 %220 = load ptr, ptr %6, align 8 %221 = icmp ne ptr %220, null br i1 %221, label %222, label %225 222: ; preds = %219 %223 = load ptr, ptr %5, align 8 %224 = load ptr, ptr %6, align 8 store ptr %223, ptr %224, align 8 br label %225 225: ; preds = %222, %219 %226 = load i64, ptr %14, align 8 store i64 %226, ptr %4, align 8 br label %227 227: ; preds = %225, %23 %228 = load i64, ptr %4, align 8 ret i64 %228 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1ue2d7md.c' source_filename = "/tmp/tmp1ue2d7md.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i32 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33 store i32 %31, ptr %34, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, -1200755673 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 br label %48 48: ; preds = %51, %47 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 br label %48, !llvm.loop !8 59: ; preds = %48 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ue2d7md.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i32 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32 store i32 %30, ptr %33, align 4 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, -1200755673 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %38 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %.lr.ph2, label %61 .lr.ph2: ; preds = %48 br label %51 51: ; preds = %.lr.ph2, %51 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %59, 1 br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %61 61: ; preds = %._crit_edge3, %48 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpy92uodbg.c' source_filename = "/tmp/tmpy92uodbg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recieve_entry(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @recieve(ptr noundef %5) store i64 %6, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = inttoptr i64 %7 to ptr %9 = call i32 @pthread_exit(ptr noundef %8) %10 = load ptr, ptr %2, align 8 ret ptr %10 } declare i64 @recieve(ptr noundef) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy92uodbg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recieve_entry(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @recieve(ptr noundef %5) store i64 %6, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = inttoptr i64 %7 to ptr %9 = call i32 @pthread_exit(ptr noundef %8) %10 = load ptr, ptr %2, align 8 ret ptr %10 } declare i64 @recieve(ptr noundef) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjrsa71m4.c' source_filename = "/tmp/tmpjrsa71m4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRSTROKEANDFILLPATH_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @core4_swap(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @core4_swap(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjrsa71m4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRSTROKEANDFILLPATH_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @core4_swap(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @core4_swap(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjgwgurwa.c' source_filename = "/tmp/tmpjgwgurwa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i32 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33 store i32 %31, ptr %34, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, 1175584138 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 br label %48 48: ; preds = %51, %47 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 br label %48, !llvm.loop !8 59: ; preds = %48 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjgwgurwa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i32 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32 store i32 %30, ptr %33, align 4 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, 1175584138 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %38 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %.lr.ph2, label %61 .lr.ph2: ; preds = %48 br label %51 51: ; preds = %.lr.ph2, %51 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %59, 1 br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %61 61: ; preds = %._crit_edge3, %48 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5hb1496i.c' source_filename = "/tmp/tmp5hb1496i.c" target datalayout = "e-m:e-p270: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 [5 x i8] c"yes\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"no\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 [1005 x i8], align 16 store i32 0, ptr %1, align 4 br label %7 7: ; preds = %42, %0 %8 = getelementptr inbounds [1005 x i8], ptr %6, i64 0, i64 0 %9 = load i32, ptr @stdin, align 4 %10 = call ptr @fgets(ptr noundef %8, i32 noundef 1005, i32 noundef %9) %11 = icmp ne ptr %10, null br i1 %11, label %12, label %43 12: ; preds = %7 store i32 0, ptr %4, align 4 store i32 0, ptr %2, align 4 br label %13 13: ; preds = %31, %12 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [1005 x i8], ptr %6, i64 0, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %34 20: ; preds = %13 %21 = load i32, ptr %2, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [1005 x i8], ptr %6, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 97 br i1 %26, label %27, label %30 27: ; preds = %20 %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 = %27, %20 br label %31 31: ; preds = %30 %32 = load i32, ptr %2, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %2, align 4 br label %13, !llvm.loop !6 34: ; preds = %13 %35 = load i32, ptr %4, align 4 %36 = srem i32 %35, 3 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @printf(ptr noundef @.str) br label %42 40: ; preds = %34 %41 = call i32 @printf(ptr noundef @.str.1) br label %42 42: ; preds = %40, %38 br label %7, !llvm.loop !8 43: ; preds = %7 ret i32 0 } declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5hb1496i.c" target datalayout = "e-m:e-p270: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 [5 x i8] c"yes\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"no\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 [1005 x i8], align 16 store i32 0, ptr %1, align 4 %7 = getelementptr inbounds [1005 x i8], ptr %6, i64 0, i64 0 %8 = load i32, ptr @stdin, align 4 %9 = call ptr @fgets(ptr noundef %7, i32 noundef 1005, i32 noundef %8) %10 = icmp ne ptr %9, null br i1 %10, label %.lr.ph2, label %50 .lr.ph2: ; preds = %0 br label %11 11: ; preds = %.lr.ph2, %46 store i32 0, ptr %4, align 4 store i32 0, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [1005 x i8], ptr %6, i64 0, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %.lr.ph, label %38 .lr.ph: ; preds = %11 br label %18 18: ; preds = %.lr.ph, %29 %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [1005 x i8], ptr %6, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 97 br i1 %24, label %25, label %28 25: ; preds = %18 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %28 28: ; preds = %25, %18 br label %29 29: ; preds = %28 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 %32 = load i32, ptr %2, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1005 x i8], ptr %6, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 0 br i1 %37, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %38 38: ; preds = %._crit_edge, %11 %39 = load i32, ptr %4, align 4 %40 = srem i32 %39, 3 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %38 %43 = call i32 @printf(ptr noundef @.str) br label %46 44: ; preds = %38 %45 = call i32 @printf(ptr noundef @.str.1) br label %46 46: ; preds = %44, %42 %47 = load i32, ptr @stdin, align 4 %48 = call ptr @fgets(ptr noundef %7, i32 noundef 1005, i32 noundef %47) %49 = icmp ne ptr %48, null br i1 %49, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %50 50: ; preds = %._crit_edge3, %0 ret i32 0 } declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpfvu17bao.c' source_filename = "/tmp/tmpfvu17bao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"\1B[31m[ERR]\1B[0m %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [321 x i8] c"Usage: \0A-h\09this help\0A-l\09start login server,default use etc/start_login.sh\0A-g\09start game server,default use etc/start_game.sh\0A-b\09start battle server,default use etc/start_battle.sh\0A-m\09start monitor server,default use etc/start_monitor.sh\0A-w\09start world server,default use etc/start_world.sh\0A-s\09[name]\09stop server by name\0A\00", align 1 @stderr = 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 void @ShowUsage() #0 { %1 = alloca [1024 x i8], align 16 br label %2 2: ; preds = %0 call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 1024, i1 false) %3 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @snprintf(ptr noundef %3, i32 noundef 1024, ptr noundef @.str, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %7 = call i32 @fprintf(i32 noundef %5, ptr noundef %6) %8 = load i32, ptr @EXIT_FAILURE, align 4 %9 = call i32 @exit(i32 noundef %8) #4 unreachable 10: ; No predecessors! ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 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 = { 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfvu17bao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"\1B[31m[ERR]\1B[0m %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [321 x i8] c"Usage: \0A-h\09this help\0A-l\09start login server,default use etc/start_login.sh\0A-g\09start game server,default use etc/start_game.sh\0A-b\09start battle server,default use etc/start_battle.sh\0A-m\09start monitor server,default use etc/start_monitor.sh\0A-w\09start world server,default use etc/start_world.sh\0A-s\09[name]\09stop server by name\0A\00", align 1 @stderr = 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 void @ShowUsage() #0 { %1 = alloca [1024 x i8], align 16 br label %2 2: ; preds = %0 call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 1024, i1 false) %3 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @snprintf(ptr noundef %3, i32 noundef 1024, ptr noundef @.str, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = getelementptr inbounds [1024 x i8], ptr %1, i64 0, i64 0 %7 = call i32 @fprintf(i32 noundef %5, ptr noundef %6) %8 = load i32, ptr @EXIT_FAILURE, align 4 %9 = call i32 @exit(i32 noundef %8) #4 unreachable 10: ; No predecessors! ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 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 = { 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkzq6rpwf.c' source_filename = "/tmp/tmpkzq6rpwf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"!! Segment not present \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @idt_int11() #0 { %1 = call i32 @print(ptr noundef @.str) ret void } declare i32 @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/tmpkzq6rpwf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"!! Segment not present \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @idt_int11() #0 { %1 = call i32 @print(ptr noundef @.str) ret void } declare i32 @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/tmp8pezsj4n.c' source_filename = "/tmp/tmp8pezsj4n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"/usr/libexec/dumpemacs\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Failed to dump emacs\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"/usr/bin/emacs-x86_64\00", align 1 @EX_OSERR = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"execv(%s) failed\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 [2 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @is_emacs_valid(i32 noundef 0) %9 = icmp ne i32 %8, 0 br i1 %9, label %27, label %10 10: ; preds = %2 %11 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 store ptr @.str, ptr %11, align 16 %12 = call i64 (...) @geteuid() %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 1 store ptr @.str.1, ptr %15, align 8 %16 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 2 store ptr null, ptr %16, align 16 br label %19 17: ; preds = %10 %18 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 1 store ptr null, ptr %18, align 8 br label %19 19: ; preds = %17, %14 %20 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 %21 = call i32 @runit(ptr noundef %20, i32 noundef 0) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %19 %25 = call i32 @errx(i32 noundef 1, ptr noundef @.str.2) br label %26 26: ; preds = %24, %19 br label %27 27: ; preds = %26, %2 %28 = load ptr, ptr %5, align 8 %29 = call i32 @execv(ptr noundef @.str.3, ptr noundef %28) store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %27 %33 = load i32, ptr @EX_OSERR, align 4 %34 = call i32 @err(i32 noundef %33, ptr noundef @.str.4, ptr noundef @.str.3) br label %35 35: ; preds = %32, %27 %36 = load i32, ptr @EX_OSERR, align 4 ret i32 %36 } declare i32 @is_emacs_valid(i32 noundef) #1 declare i64 @geteuid(...) #1 declare i32 @runit(ptr noundef, i32 noundef) #1 declare i32 @errx(i32 noundef, ptr noundef) #1 declare i32 @execv(ptr noundef, ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8pezsj4n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"/usr/libexec/dumpemacs\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Failed to dump emacs\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"/usr/bin/emacs-x86_64\00", align 1 @EX_OSERR = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"execv(%s) failed\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 [2 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @is_emacs_valid(i32 noundef 0) %9 = icmp ne i32 %8, 0 br i1 %9, label %27, label %10 10: ; preds = %2 %11 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 store ptr @.str, ptr %11, align 16 %12 = call i64 (...) @geteuid() %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 1 store ptr @.str.1, ptr %15, align 8 %16 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 2 store ptr null, ptr %16, align 16 br label %19 17: ; preds = %10 %18 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 1 store ptr null, ptr %18, align 8 br label %19 19: ; preds = %17, %14 %20 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0 %21 = call i32 @runit(ptr noundef %20, i32 noundef 0) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %19 %25 = call i32 @errx(i32 noundef 1, ptr noundef @.str.2) br label %26 26: ; preds = %24, %19 br label %27 27: ; preds = %26, %2 %28 = load ptr, ptr %5, align 8 %29 = call i32 @execv(ptr noundef @.str.3, ptr noundef %28) store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %27 %33 = load i32, ptr @EX_OSERR, align 4 %34 = call i32 @err(i32 noundef %33, ptr noundef @.str.4, ptr noundef @.str.3) br label %35 35: ; preds = %32, %27 %36 = load i32, ptr @EX_OSERR, align 4 ret i32 %36 } declare i32 @is_emacs_valid(i32 noundef) #1 declare i64 @geteuid(...) #1 declare i32 @runit(ptr noundef, i32 noundef) #1 declare i32 @errx(i32 noundef, ptr noundef) #1 declare i32 @execv(ptr noundef, ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpksz8v4bu.c' source_filename = "/tmp/tmpksz8v4bu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_toupper(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 = trunc i32 %4 to i8 %6 = call i64 @ft_islower(i8 noundef zeroext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %9, 97 %11 = add nsw i32 65, %10 store i32 %11, ptr %2, align 4 br label %14 12: ; preds = %1 %13 = load i32, ptr %3, align 4 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %12, %8 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i64 @ft_islower(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpksz8v4bu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_toupper(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 = trunc i32 %4 to i8 %6 = call i64 @ft_islower(i8 noundef zeroext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %9, 97 %11 = add nsw i32 65, %10 store i32 %11, ptr %2, align 4 br label %14 12: ; preds = %1 %13 = load i32, ptr %3, align 4 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %12, %8 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i64 @ft_islower(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr93rbj9w.c' source_filename = "/tmp/tmpr93rbj9w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fb_ConsoleViewEx(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 i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %9, align 4 %10 = call i32 @fb_GetSize(i32 noundef 0, ptr noundef %8) %11 = load i32, ptr %8, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 25, ptr %8, align 4 br label %14 14: ; preds = %13, %3 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %14 store i32 1, ptr %7, align 4 br label %27 18: ; preds = %14 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 store i32 1, ptr %7, align 4 %22 = load i32, ptr %9, align 4 store i32 %22, ptr %4, align 4 br label %26 23: ; preds = %18 %24 = call i32 (...) @fb_ConsoleGetTopRow() %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %26 26: ; preds = %23, %21 br label %27 27: ; preds = %26, %17 %28 = load i32, ptr %5, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 1, ptr %7, align 4 br label %40 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %31 store i32 1, ptr %7, align 4 %35 = load i32, ptr %8, align 4 store i32 %35, ptr %5, align 4 br label %39 36: ; preds = %31 %37 = call i32 (...) @fb_ConsoleGetBotRow() %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %36, %34 br label %40 40: ; preds = %39, %30 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %58, label %44 44: ; preds = %40 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %45, 1 br i1 %46, label %58, label %47 47: ; preds = %44 %48 = load i32, ptr %5, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %58, label %50 50: ; preds = %47 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %8, align 4 %53 = icmp sgt i32 %51, %52 br i1 %53, label %58, label %54 54: ; preds = %50 %55 = load i32, ptr %5, align 4 %56 = load i32, ptr %8, align 4 %57 = icmp sgt i32 %55, %56 br i1 %57, label %58, label %59 58: ; preds = %54, %50, %47, %44, %40 store i32 0, ptr %7, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %59 59: ; preds = %58, %54 %60 = load i32, ptr %7, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %75 62: ; preds = %59 %63 = load i32, ptr %4, align 4 %64 = sub nsw i32 %63, 1 %65 = load i32, ptr %5, align 4 %66 = sub nsw i32 %65, 1 %67 = call i32 @fb_ConsoleSetTopBotRows(i32 noundef %64, i32 noundef %66) %68 = call i32 (...) @fb_ViewUpdate() %69 = load i32, ptr %6, align 4 %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %62 %72 = load i32, ptr %4, align 4 %73 = call i32 @fb_Locate(i32 noundef %72, i32 noundef 1, i32 noundef -1, i32 noundef 0, i32 noundef 0) br label %74 74: ; preds = %71, %62 br label %75 75: ; preds = %74, %59 %76 = load i32, ptr %4, align 4 %77 = load i32, ptr %5, align 4 %78 = shl i32 %77, 16 %79 = add nsw i32 %76, %78 ret i32 %79 } declare i32 @fb_GetSize(i32 noundef, ptr noundef) #1 declare i32 @fb_ConsoleGetTopRow(...) #1 declare i32 @fb_ConsoleGetBotRow(...) #1 declare i32 @fb_ConsoleSetTopBotRows(i32 noundef, i32 noundef) #1 declare i32 @fb_ViewUpdate(...) #1 declare i32 @fb_Locate(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr93rbj9w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fb_ConsoleViewEx(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 i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %9, align 4 %10 = call i32 @fb_GetSize(i32 noundef 0, ptr noundef %8) %11 = load i32, ptr %8, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 25, ptr %8, align 4 br label %14 14: ; preds = %13, %3 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %14 store i32 1, ptr %7, align 4 br label %27 18: ; preds = %14 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %18 store i32 1, ptr %7, align 4 %22 = load i32, ptr %9, align 4 store i32 %22, ptr %4, align 4 br label %26 23: ; preds = %18 %24 = call i32 (...) @fb_ConsoleGetTopRow() %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %26 26: ; preds = %23, %21 br label %27 27: ; preds = %26, %17 %28 = load i32, ptr %5, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 1, ptr %7, align 4 br label %40 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %31 store i32 1, ptr %7, align 4 %35 = load i32, ptr %8, align 4 store i32 %35, ptr %5, align 4 br label %39 36: ; preds = %31 %37 = call i32 (...) @fb_ConsoleGetBotRow() %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %36, %34 br label %40 40: ; preds = %39, %30 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %58, label %44 44: ; preds = %40 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %45, 1 br i1 %46, label %58, label %47 47: ; preds = %44 %48 = load i32, ptr %5, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %58, label %50 50: ; preds = %47 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %8, align 4 %53 = icmp sgt i32 %51, %52 br i1 %53, label %58, label %54 54: ; preds = %50 %55 = load i32, ptr %5, align 4 %56 = load i32, ptr %8, align 4 %57 = icmp sgt i32 %55, %56 br i1 %57, label %58, label %59 58: ; preds = %54, %50, %47, %44, %40 store i32 0, ptr %7, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %59 59: ; preds = %58, %54 %60 = load i32, ptr %7, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %75 62: ; preds = %59 %63 = load i32, ptr %4, align 4 %64 = sub nsw i32 %63, 1 %65 = load i32, ptr %5, align 4 %66 = sub nsw i32 %65, 1 %67 = call i32 @fb_ConsoleSetTopBotRows(i32 noundef %64, i32 noundef %66) %68 = call i32 (...) @fb_ViewUpdate() %69 = load i32, ptr %6, align 4 %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %62 %72 = load i32, ptr %4, align 4 %73 = call i32 @fb_Locate(i32 noundef %72, i32 noundef 1, i32 noundef -1, i32 noundef 0, i32 noundef 0) br label %74 74: ; preds = %71, %62 br label %75 75: ; preds = %74, %59 %76 = load i32, ptr %4, align 4 %77 = load i32, ptr %5, align 4 %78 = shl i32 %77, 16 %79 = add nsw i32 %76, %78 ret i32 %79 } declare i32 @fb_GetSize(i32 noundef, ptr noundef) #1 declare i32 @fb_ConsoleGetTopRow(...) #1 declare i32 @fb_ConsoleGetBotRow(...) #1 declare i32 @fb_ConsoleSetTopBotRows(i32 noundef, i32 noundef) #1 declare i32 @fb_ViewUpdate(...) #1 declare i32 @fb_Locate(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptzf5qqis.c' source_filename = "/tmp/tmptzf5qqis.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setZeroes(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load i32, ptr %5, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %13, %3 br label %223 17: ; preds = %13 store i32 1, ptr %9, align 4 store i32 0, ptr %7, align 4 br label %18 18: ; preds = %33, %17 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %36 22: ; preds = %18 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 0 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %22 store i32 0, ptr %9, align 4 br label %36 32: ; preds = %22 br label %33 33: ; preds = %32 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %18, !llvm.loop !6 36: ; preds = %31, %18 store i32 1, ptr %10, align 4 store i32 0, ptr %7, align 4 br label %37 37: ; preds = %52, %36 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %55 41: ; preds = %37 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 0 %48 = load i32, ptr %47, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %51 50: ; preds = %41 store i32 0, ptr %10, align 4 br label %55 51: ; preds = %41 br label %52 52: ; preds = %51 %53 = load i32, ptr %7, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %7, align 4 br label %37, !llvm.loop !8 55: ; preds = %50, %37 store i32 1, ptr %7, align 4 br label %56 56: ; preds = %88, %55 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr %5, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %60, label %91 60: ; preds = %56 store i32 1, ptr %8, align 4 br label %61 61: ; preds = %84, %60 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr %6, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %65, label %87 65: ; preds = %61 %66 = load ptr, ptr %4, align 8 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = load i32, ptr %8, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 %74 = load i32, ptr %73, align 4 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %83 76: ; preds = %65 %77 = load ptr, ptr %4, align 8 %78 = load i32, ptr %7, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %77, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = getelementptr inbounds i32, ptr %81, i64 0 store i32 0, ptr %82, align 4 br label %87 83: ; preds = %65 br label %84 84: ; preds = %83 %85 = load i32, ptr %8, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %8, align 4 br label %61, !llvm.loop !9 87: ; preds = %76, %61 br label %88 88: ; preds = %87 %89 = load i32, ptr %7, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %7, align 4 br label %56, !llvm.loop !10 91: ; preds = %56 store i32 1, ptr %7, align 4 br label %92 92: ; preds = %124, %91 %93 = load i32, ptr %7, align 4 %94 = load i32, ptr %6, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %96, label %127 96: ; preds = %92 store i32 1, ptr %8, align 4 br label %97 97: ; preds = %120, %96 %98 = load i32, ptr %8, align 4 %99 = load i32, ptr %5, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %101, label %123 101: ; preds = %97 %102 = load ptr, ptr %4, align 8 %103 = load i32, ptr %8, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds ptr, ptr %102, i64 %104 %106 = load ptr, ptr %105, align 8 %107 = load i32, ptr %7, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %106, i64 %108 %110 = load i32, ptr %109, align 4 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %119 112: ; preds = %101 %113 = load ptr, ptr %4, align 8 %114 = getelementptr inbounds ptr, ptr %113, i64 0 %115 = load ptr, ptr %114, align 8 %116 = load i32, ptr %7, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %115, i64 %117 store i32 0, ptr %118, align 4 br label %123 119: ; preds = %101 br label %120 120: ; preds = %119 %121 = load i32, ptr %8, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %8, align 4 br label %97, !llvm.loop !11 123: ; preds = %112, %97 br label %124 124: ; preds = %123 %125 = load i32, ptr %7, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %7, align 4 br label %92, !llvm.loop !12 127: ; preds = %92 store i32 1, ptr %7, align 4 br label %128 128: ; preds = %153, %127 %129 = load i32, ptr %7, align 4 %130 = load i32, ptr %5, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %132, label %156 132: ; preds = %128 %133 = load ptr, ptr %4, align 8 %134 = load i32, ptr %7, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds ptr, ptr %133, i64 %135 %137 = load ptr, ptr %136, align 8 %138 = getelementptr inbounds i32, ptr %137, i64 0 %139 = load i32, ptr %138, align 4 %140 = icmp eq i32 %139, 0 br i1 %140, label %141, label %152 141: ; preds = %132 %142 = load ptr, ptr %4, align 8 %143 = load i32, ptr %7, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds ptr, ptr %142, i64 %144 %146 = load ptr, ptr %145, align 8 %147 = load i32, ptr %6, align 4 %148 = sext i32 %147 to i64 %149 = mul i64 %148, 4 %150 = trunc i64 %149 to i32 %151 = call i32 @memset(ptr noundef %146, i32 noundef 0, i32 noundef %150) br label %152 152: ; preds = %141, %132 br label %153 153: ; preds = %152 %154 = load i32, ptr %7, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %7, align 4 br label %128, !llvm.loop !13 156: ; preds = %128 store i32 1, ptr %7, align 4 br label %157 157: ; preds = %189, %156 %158 = load i32, ptr %7, align 4 %159 = load i32, ptr %6, align 4 %160 = icmp slt i32 %158, %159 br i1 %160, label %161, label %192 161: ; preds = %157 %162 = load ptr, ptr %4, align 8 %163 = getelementptr inbounds ptr, ptr %162, i64 0 %164 = load ptr, ptr %163, align 8 %165 = load i32, ptr %7, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds i32, ptr %164, i64 %166 %168 = load i32, ptr %167, align 4 %169 = icmp ne i32 %168, 0 br i1 %169, label %170, label %171 170: ; preds = %161 br label %189 171: ; preds = %161 store i32 1, ptr %8, align 4 br label %172 172: ; preds = %185, %171 %173 = load i32, ptr %8, align 4 %174 = load i32, ptr %5, align 4 %175 = icmp slt i32 %173, %174 br i1 %175, label %176, label %188 176: ; preds = %172 %177 = load ptr, ptr %4, align 8 %178 = load i32, ptr %8, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds ptr, ptr %177, i64 %179 %181 = load ptr, ptr %180, align 8 %182 = load i32, ptr %7, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds i32, ptr %181, i64 %183 store i32 0, ptr %184, align 4 br label %185 185: ; preds = %176 %186 = load i32, ptr %8, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %8, align 4 br label %172, !llvm.loop !14 188: ; preds = %172 br label %189 189: ; preds = %188, %170 %190 = load i32, ptr %7, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %7, align 4 br label %157, !llvm.loop !15 192: ; preds = %157 %193 = load i32, ptr %9, align 4 %194 = icmp eq i32 %193, 0 br i1 %194, label %195, label %204 195: ; preds = %192 %196 = load ptr, ptr %4, align 8 %197 = getelementptr inbounds ptr, ptr %196, i64 0 %198 = load ptr, ptr %197, align 8 %199 = load i32, ptr %6, align 4 %200 = sext i32 %199 to i64 %201 = mul i64 %200, 4 %202 = trunc i64 %201 to i32 %203 = call i32 @memset(ptr noundef %198, i32 noundef 0, i32 noundef %202) br label %204 204: ; preds = %195, %192 %205 = load i32, ptr %10, align 4 %206 = icmp eq i32 %205, 0 br i1 %206, label %207, label %223 207: ; preds = %204 store i32 0, ptr %7, align 4 br label %208 208: ; preds = %219, %207 %209 = load i32, ptr %7, align 4 %210 = load i32, ptr %5, align 4 %211 = icmp slt i32 %209, %210 br i1 %211, label %212, label %222 212: ; preds = %208 %213 = load ptr, ptr %4, align 8 %214 = load i32, ptr %7, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds ptr, ptr %213, i64 %215 %217 = load ptr, ptr %216, align 8 %218 = getelementptr inbounds i32, ptr %217, i64 0 store i32 0, ptr %218, align 4 br label %219 219: ; preds = %212 %220 = load i32, ptr %7, align 4 %221 = add nsw i32 %220, 1 store i32 %221, ptr %7, align 4 br label %208, !llvm.loop !16 222: ; preds = %208 br label %223 223: ; preds = %16, %222, %204 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptzf5qqis.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setZeroes(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load i32, ptr %5, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %13, %3 br label %243 17: ; preds = %13 store i32 1, ptr %9, align 4 store i32 0, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %.loopexit3 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %32 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 0 %24 = load ptr, ptr %23, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %21 store i32 0, ptr %9, align 4 br label %38 31: ; preds = %21 br label %32 32: ; preds = %31 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %21, label %..loopexit3_crit_edge, !llvm.loop !6 ..loopexit3_crit_edge: ; preds = %32 br label %.loopexit3 .loopexit3: ; preds = %..loopexit3_crit_edge, %17 br label %38 38: ; preds = %.loopexit3, %30 store i32 1, ptr %10, align 4 store i32 0, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %.lr.ph4, label %.loopexit2 .lr.ph4: ; preds = %38 br label %42 42: ; preds = %.lr.ph4, %53 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = getelementptr inbounds i32, ptr %47, i64 0 %49 = load i32, ptr %48, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %52 51: ; preds = %42 store i32 0, ptr %10, align 4 br label %59 52: ; preds = %42 br label %53 53: ; preds = %52 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %5, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %42, label %..loopexit2_crit_edge, !llvm.loop !8 ..loopexit2_crit_edge: ; preds = %53 br label %.loopexit2 .loopexit2: ; preds = %..loopexit2_crit_edge, %38 br label %59 59: ; preds = %.loopexit2, %51 store i32 1, ptr %7, align 4 %60 = load i32, ptr %7, align 4 %61 = load i32, ptr %5, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %.lr.ph6, label %99 .lr.ph6: ; preds = %59 br label %63 63: ; preds = %.lr.ph6, %93 store i32 1, ptr %8, align 4 %64 = load i32, ptr %8, align 4 %65 = load i32, ptr %6, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %.lr.ph5, label %.loopexit1 .lr.ph5: ; preds = %63 br label %67 67: ; preds = %.lr.ph5, %86 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = load i32, ptr %8, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 %76 = load i32, ptr %75, align 4 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %85 78: ; preds = %67 %79 = load ptr, ptr %4, align 8 %80 = load i32, ptr %7, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds ptr, ptr %79, i64 %81 %83 = load ptr, ptr %82, align 8 %84 = getelementptr inbounds i32, ptr %83, i64 0 store i32 0, ptr %84, align 4 br label %92 85: ; preds = %67 br label %86 86: ; preds = %85 %87 = load i32, ptr %8, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %8, align 4 %89 = load i32, ptr %8, align 4 %90 = load i32, ptr %6, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %67, label %..loopexit1_crit_edge, !llvm.loop !9 ..loopexit1_crit_edge: ; preds = %86 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %63 br label %92 92: ; preds = %.loopexit1, %78 br label %93 93: ; preds = %92 %94 = load i32, ptr %7, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %7, align 4 %96 = load i32, ptr %7, align 4 %97 = load i32, ptr %5, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %63, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %93 br label %99 99: ; preds = %._crit_edge, %59 store i32 1, ptr %7, align 4 %100 = load i32, ptr %7, align 4 %101 = load i32, ptr %6, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %.lr.ph10, label %139 .lr.ph10: ; preds = %99 br label %103 103: ; preds = %.lr.ph10, %133 store i32 1, ptr %8, align 4 %104 = load i32, ptr %8, align 4 %105 = load i32, ptr %5, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %.lr.ph8, label %.loopexit .lr.ph8: ; preds = %103 br label %107 107: ; preds = %.lr.ph8, %126 %108 = load ptr, ptr %4, align 8 %109 = load i32, ptr %8, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds ptr, ptr %108, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = load i32, ptr %7, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i32, ptr %112, i64 %114 %116 = load i32, ptr %115, align 4 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %125 118: ; preds = %107 %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds ptr, ptr %119, i64 0 %121 = load ptr, ptr %120, align 8 %122 = load i32, ptr %7, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %121, i64 %123 store i32 0, ptr %124, align 4 br label %132 125: ; preds = %107 br label %126 126: ; preds = %125 %127 = load i32, ptr %8, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %8, align 4 %129 = load i32, ptr %8, align 4 %130 = load i32, ptr %5, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %107, label %..loopexit_crit_edge, !llvm.loop !11 ..loopexit_crit_edge: ; preds = %126 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %103 br label %132 132: ; preds = %.loopexit, %118 br label %133 133: ; preds = %132 %134 = load i32, ptr %7, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %7, align 4 %136 = load i32, ptr %7, align 4 %137 = load i32, ptr %6, align 4 %138 = icmp slt i32 %136, %137 br i1 %138, label %103, label %._crit_edge11, !llvm.loop !12 ._crit_edge11: ; preds = %133 br label %139 139: ; preds = %._crit_edge11, %99 store i32 1, ptr %7, align 4 %140 = load i32, ptr %7, align 4 %141 = load i32, ptr %5, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %.lr.ph13, label %170 .lr.ph13: ; preds = %139 br label %143 143: ; preds = %.lr.ph13, %164 %144 = load ptr, ptr %4, align 8 %145 = load i32, ptr %7, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds ptr, ptr %144, i64 %146 %148 = load ptr, ptr %147, align 8 %149 = getelementptr inbounds i32, ptr %148, i64 0 %150 = load i32, ptr %149, align 4 %151 = icmp eq i32 %150, 0 br i1 %151, label %152, label %163 152: ; preds = %143 %153 = load ptr, ptr %4, align 8 %154 = load i32, ptr %7, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds ptr, ptr %153, i64 %155 %157 = load ptr, ptr %156, align 8 %158 = load i32, ptr %6, align 4 %159 = sext i32 %158 to i64 %160 = mul i64 %159, 4 %161 = trunc i64 %160 to i32 %162 = call i32 @memset(ptr noundef %157, i32 noundef 0, i32 noundef %161) br label %163 163: ; preds = %152, %143 br label %164 164: ; preds = %163 %165 = load i32, ptr %7, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %7, align 4 %167 = load i32, ptr %7, align 4 %168 = load i32, ptr %5, align 4 %169 = icmp slt i32 %167, %168 br i1 %169, label %143, label %._crit_edge14, !llvm.loop !13 ._crit_edge14: ; preds = %164 br label %170 170: ; preds = %._crit_edge14, %139 store i32 1, ptr %7, align 4 %171 = load i32, ptr %7, align 4 %172 = load i32, ptr %6, align 4 %173 = icmp slt i32 %171, %172 br i1 %173, label %.lr.ph19, label %210 .lr.ph19: ; preds = %170 br label %174 174: ; preds = %.lr.ph19, %204 %175 = load ptr, ptr %4, align 8 %176 = getelementptr inbounds ptr, ptr %175, i64 0 %177 = load ptr, ptr %176, align 8 %178 = load i32, ptr %7, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds i32, ptr %177, i64 %179 %181 = load i32, ptr %180, align 4 %182 = icmp ne i32 %181, 0 br i1 %182, label %183, label %184 183: ; preds = %174 br label %204 184: ; preds = %174 store i32 1, ptr %8, align 4 %185 = load i32, ptr %8, align 4 %186 = load i32, ptr %5, align 4 %187 = icmp slt i32 %185, %186 br i1 %187, label %.lr.ph16, label %203 .lr.ph16: ; preds = %184 br label %188 188: ; preds = %.lr.ph16, %197 %189 = load ptr, ptr %4, align 8 %190 = load i32, ptr %8, align 4 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds ptr, ptr %189, i64 %191 %193 = load ptr, ptr %192, align 8 %194 = load i32, ptr %7, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds i32, ptr %193, i64 %195 store i32 0, ptr %196, align 4 br label %197 197: ; preds = %188 %198 = load i32, ptr %8, align 4 %199 = add nsw i32 %198, 1 store i32 %199, ptr %8, align 4 %200 = load i32, ptr %8, align 4 %201 = load i32, ptr %5, align 4 %202 = icmp slt i32 %200, %201 br i1 %202, label %188, label %._crit_edge17, !llvm.loop !14 ._crit_edge17: ; preds = %197 br label %203 203: ; preds = %._crit_edge17, %184 br label %204 204: ; preds = %203, %183 %205 = load i32, ptr %7, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %7, align 4 %207 = load i32, ptr %7, align 4 %208 = load i32, ptr %6, align 4 %209 = icmp slt i32 %207, %208 br i1 %209, label %174, label %._crit_edge20, !llvm.loop !15 ._crit_edge20: ; preds = %204 br label %210 210: ; preds = %._crit_edge20, %170 %211 = load i32, ptr %9, align 4 %212 = icmp eq i32 %211, 0 br i1 %212, label %213, label %222 213: ; preds = %210 %214 = load ptr, ptr %4, align 8 %215 = getelementptr inbounds ptr, ptr %214, i64 0 %216 = load ptr, ptr %215, align 8 %217 = load i32, ptr %6, align 4 %218 = sext i32 %217 to i64 %219 = mul i64 %218, 4 %220 = trunc i64 %219 to i32 %221 = call i32 @memset(ptr noundef %216, i32 noundef 0, i32 noundef %220) br label %222 222: ; preds = %213, %210 %223 = load i32, ptr %10, align 4 %224 = icmp eq i32 %223, 0 br i1 %224, label %225, label %243 225: ; preds = %222 store i32 0, ptr %7, align 4 %226 = load i32, ptr %7, align 4 %227 = load i32, ptr %5, align 4 %228 = icmp slt i32 %226, %227 br i1 %228, label %.lr.ph22, label %242 .lr.ph22: ; preds = %225 br label %229 229: ; preds = %.lr.ph22, %236 %230 = load ptr, ptr %4, align 8 %231 = load i32, ptr %7, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds ptr, ptr %230, i64 %232 %234 = load ptr, ptr %233, align 8 %235 = getelementptr inbounds i32, ptr %234, i64 0 store i32 0, ptr %235, align 4 br label %236 236: ; preds = %229 %237 = load i32, ptr %7, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %7, align 4 %239 = load i32, ptr %7, align 4 %240 = load i32, ptr %5, align 4 %241 = icmp slt i32 %239, %240 br i1 %241, label %229, label %._crit_edge23, !llvm.loop !16 ._crit_edge23: ; preds = %236 br label %242 242: ; preds = %._crit_edge23, %225 br label %243 243: ; preds = %242, %222, %16 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7}
; ModuleID = '/tmp/tmp7s79u0xc.c' source_filename = "/tmp/tmp7s79u0xc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getInt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @cpy(ptr noundef %3, ptr noundef %4, i32 noundef 4) %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @cpy(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/tmp7s79u0xc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getInt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @cpy(ptr noundef %3, ptr noundef %4, i32 noundef 4) %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @cpy(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/tmpsa4uj0tb.c' source_filename = "/tmp/tmpsa4uj0tb.c" target datalayout = "e-m:e-p270: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/tmpsa4uj0tb.c" target datalayout = "e-m:e-p270: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/tmp2ssad4m9.c' source_filename = "/tmp/tmp2ssad4m9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<g class='grid' style='stroke:grey'>\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"<path d='M %d -1000 v 2000'/>\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"<path d='M -1000 %d h 2000'/>\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"</g>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @draw_grid() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1000, ptr %1, align 4 br label %4 4: ; preds = %10, %0 %5 = load i32, ptr %1, align 4 %6 = icmp sle i32 %5, 1000 br i1 %6, label %7, label %13 7: ; preds = %4 %8 = load i32, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8) br label %10 10: ; preds = %7 %11 = load i32, ptr %1, align 4 %12 = add nsw i32 %11, 100 store i32 %12, ptr %1, align 4 br label %4, !llvm.loop !6 13: ; preds = %4 store i32 -1000, ptr %2, align 4 br label %14 14: ; preds = %20, %13 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %15, 1000 br i1 %16, label %17, label %23 17: ; preds = %14 %18 = load i32, ptr %2, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18) br label %20 20: ; preds = %17 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 100 store i32 %22, ptr %2, align 4 br label %14, !llvm.loop !8 23: ; preds = %14 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2ssad4m9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<g class='grid' style='stroke:grey'>\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"<path d='M %d -1000 v 2000'/>\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"<path d='M -1000 %d h 2000'/>\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"</g>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @draw_grid() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1000, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp sle i32 %4, 1000 br i1 %5, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %9 %7 = load i32, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7) br label %9 9: ; preds = %6 %10 = load i32, ptr %1, align 4 %11 = add nsw i32 %10, 100 store i32 %11, ptr %1, align 4 %12 = load i32, ptr %1, align 4 %13 = icmp sle i32 %12, 1000 br i1 %13, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 store i32 -1000, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %15, 1000 br i1 %16, label %.lr.ph2, label %25 .lr.ph2: ; preds = %14 br label %17 17: ; preds = %.lr.ph2, %20 %18 = load i32, ptr %2, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18) br label %20 20: ; preds = %17 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 100 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp sle i32 %23, 1000 br i1 %24, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %20 br label %25 25: ; preds = %._crit_edge3, %14 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkwj3q0kc.c' source_filename = "/tmp/tmpkwj3q0kc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_data_message(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 i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %21, %3 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %24 12: ; preds = %8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %19) br label %21 21: ; preds = %12 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 br label %8, !llvm.loop !6 24: ; preds = %8 %25 = load ptr, ptr %6, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.1) ret void } declare i32 @fprintf(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/tmpkwj3q0kc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_data_message(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 i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %26 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %20 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %11 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %3 %27 = load ptr, ptr %6, align 8 %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.1) ret void } declare i32 @fprintf(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/tmpiiqwc__w.c' source_filename = "/tmp/tmpiiqwc__w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"MJD = %d epoch = %ld, time = %02d:%02d:%02d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getAotomTime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = and i32 %11, 255 %13 = mul nsw i32 %12, 256 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 2 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = and i32 %17, 255 %19 = add nsw i32 %13, %18 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = sub i32 %20, 40587 %22 = mul i32 %21, 86400 %23 = zext i32 %22 to i64 store i64 %23, ptr %4, align 8 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 3 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = and i32 %27, 255 store i32 %28, ptr %5, align 4 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 4 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = and i32 %32, 255 store i32 %33, ptr %6, align 4 %34 = load ptr, ptr %2, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 5 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = and i32 %37, 255 store i32 %38, ptr %7, align 4 %39 = load i32, ptr %5, align 4 %40 = mul i32 %39, 3600 %41 = load i32, ptr %6, align 4 %42 = mul i32 %41, 60 %43 = add i32 %40, %42 %44 = load i32, ptr %7, align 4 %45 = add i32 %43, %44 %46 = zext i32 %45 to i64 %47 = load i64, ptr %4, align 8 %48 = add i64 %47, %46 store i64 %48, ptr %4, align 8 %49 = load i32, ptr %3, align 4 %50 = load i64, ptr %4, align 8 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %7, align 4 %54 = call i32 @printf(ptr noundef @.str, i32 noundef %49, i64 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %53) %55 = load i64, ptr %4, align 8 ret i64 %55 } declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiiqwc__w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"MJD = %d epoch = %ld, time = %02d:%02d:%02d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getAotomTime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = and i32 %11, 255 %13 = mul nsw i32 %12, 256 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 2 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = and i32 %17, 255 %19 = add nsw i32 %13, %18 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = sub i32 %20, 40587 %22 = mul i32 %21, 86400 %23 = zext i32 %22 to i64 store i64 %23, ptr %4, align 8 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 3 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = and i32 %27, 255 store i32 %28, ptr %5, align 4 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 4 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = and i32 %32, 255 store i32 %33, ptr %6, align 4 %34 = load ptr, ptr %2, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 5 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = and i32 %37, 255 store i32 %38, ptr %7, align 4 %39 = load i32, ptr %5, align 4 %40 = mul i32 %39, 3600 %41 = load i32, ptr %6, align 4 %42 = mul i32 %41, 60 %43 = add i32 %40, %42 %44 = load i32, ptr %7, align 4 %45 = add i32 %43, %44 %46 = zext i32 %45 to i64 %47 = load i64, ptr %4, align 8 %48 = add i64 %47, %46 store i64 %48, ptr %4, align 8 %49 = load i32, ptr %3, align 4 %50 = load i64, ptr %4, align 8 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %7, align 4 %54 = call i32 @printf(ptr noundef @.str, i32 noundef %49, i64 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %53) %55 = load i64, ptr %4, align 8 ret i64 %55 } declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpszp4ajkb.c' source_filename = "/tmp/tmpszp4ajkb.c" target datalayout = "e-m:e-p270: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/tmpszp4ajkb.c" target datalayout = "e-m:e-p270: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/tmpbayd_5tt.c' source_filename = "/tmp/tmpbayd_5tt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mazeGenerator(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 13, ptr %3, align 4 store i32 13, ptr %4, align 4 store i64 0, ptr %5, align 8 br label %11 11: ; preds = %71, %1 %12 = load i64, ptr %5, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = icmp ult i64 %12, %14 br i1 %15, label %16, label %74 16: ; preds = %11 store i64 0, ptr %6, align 8 br label %17 17: ; preds = %67, %16 %18 = load i64, ptr %6, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = icmp ult i64 %18, %20 br i1 %21, label %22, label %70 22: ; preds = %17 %23 = load i64, ptr %5, align 8 %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %57 25: ; preds = %22 %26 = load i64, ptr %5, align 8 %27 = load i32, ptr %3, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = icmp ne i64 %26, %29 br i1 %30, label %31, label %57 31: ; preds = %25 %32 = load i64, ptr %6, align 8 %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %57 34: ; preds = %31 %35 = load i64, ptr %6, align 8 %36 = load i32, ptr %4, align 4 %37 = sub nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = icmp ne i64 %35, %38 br i1 %39, label %40, label %57 40: ; preds = %34 %41 = load i64, ptr %5, align 8 %42 = urem i64 %41, 2 %43 = icmp eq i64 %42, 1 br i1 %43, label %44, label %57 44: ; preds = %40 %45 = load i64, ptr %6, align 8 %46 = urem i64 %45, 2 %47 = icmp eq i64 %46, 1 br i1 %47, label %48, label %57 48: ; preds = %44 %49 = load ptr, ptr %2, align 8 %50 = load i64, ptr %5, align 8 %51 = load i32, ptr %4, align 4 %52 = sext i32 %51 to i64 %53 = mul i64 %50, %52 %54 = load i64, ptr %6, align 8 %55 = add i64 %53, %54 %56 = getelementptr inbounds i8, ptr %49, i64 %55 store i8 46, ptr %56, align 1 br label %66 57: ; preds = %44, %40, %34, %31, %25, %22 %58 = load ptr, ptr %2, align 8 %59 = load i64, ptr %5, align 8 %60 = load i32, ptr %4, align 4 %61 = sext i32 %60 to i64 %62 = mul i64 %59, %61 %63 = load i64, ptr %6, align 8 %64 = add i64 %62, %63 %65 = getelementptr inbounds i8, ptr %58, i64 %64 store i8 35, ptr %65, align 1 br label %66 66: ; preds = %57, %48 br label %67 67: ; preds = %66 %68 = load i64, ptr %6, align 8 %69 = add i64 %68, 1 store i64 %69, ptr %6, align 8 br label %17, !llvm.loop !6 70: ; preds = %17 br label %71 71: ; preds = %70 %72 = load i64, ptr %5, align 8 %73 = add i64 %72, 1 store i64 %73, ptr %5, align 8 br label %11, !llvm.loop !8 74: ; preds = %11 %75 = call i32 (...) @rand() %76 = srem i32 %75, 4 switch i32 %76, label %149 [ i32 0, label %77 i32 1, label %93 i32 2, label %109 i32 3, label %129 ] 77: ; preds = %74 store i32 0, ptr %7, align 4 %78 = call i32 (...) @rand() %79 = load i32, ptr %4, align 4 %80 = sdiv i32 %79, 2 %81 = sub nsw i32 %80, 1 %82 = srem i32 %78, %81 %83 = mul nsw i32 2, %82 %84 = add nsw i32 %83, 1 store i32 %84, ptr %8, align 4 %85 = load ptr, ptr %2, align 8 %86 = load i32, ptr %7, align 4 %87 = load i32, ptr %4, align 4 %88 = mul nsw i32 %86, %87 %89 = load i32, ptr %8, align 4 %90 = add nsw i32 %88, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %85, i64 %91 store i8 46, ptr %92, align 1 store i32 1, ptr %7, align 4 br label %149 93: ; preds = %74 %94 = call i32 (...) @rand() %95 = load i32, ptr %3, align 4 %96 = sdiv i32 %95, 2 %97 = sub nsw i32 %96, 1 %98 = srem i32 %94, %97 %99 = mul nsw i32 2, %98 %100 = add nsw i32 %99, 1 store i32 %100, ptr %7, align 4 store i32 0, ptr %8, align 4 %101 = load ptr, ptr %2, align 8 %102 = load i32, ptr %7, align 4 %103 = load i32, ptr %4, align 4 %104 = mul nsw i32 %102, %103 %105 = load i32, ptr %8, align 4 %106 = add nsw i32 %104, %105 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %101, i64 %107 store i8 46, ptr %108, align 1 store i32 1, ptr %8, align 4 br label %149 109: ; preds = %74 %110 = load i32, ptr %3, align 4 %111 = sub nsw i32 %110, 1 store i32 %111, ptr %7, align 4 %112 = call i32 (...) @rand() %113 = load i32, ptr %4, align 4 %114 = sdiv i32 %113, 2 %115 = sub nsw i32 %114, 1 %116 = srem i32 %112, %115 %117 = mul nsw i32 2, %116 %118 = add nsw i32 %117, 1 store i32 %118, ptr %8, align 4 %119 = load ptr, ptr %2, align 8 %120 = load i32, ptr %7, align 4 %121 = load i32, ptr %4, align 4 %122 = mul nsw i32 %120, %121 %123 = load i32, ptr %8, align 4 %124 = add nsw i32 %122, %123 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i8, ptr %119, i64 %125 store i8 46, ptr %126, align 1 %127 = load i32, ptr %3, align 4 %128 = sub nsw i32 %127, 2 store i32 %128, ptr %7, align 4 br label %149 129: ; preds = %74 %130 = call i32 (...) @rand() %131 = load i32, ptr %3, align 4 %132 = sdiv i32 %131, 2 %133 = sub nsw i32 %132, 1 %134 = srem i32 %130, %133 %135 = mul nsw i32 2, %134 %136 = add nsw i32 %135, 1 store i32 %136, ptr %7, align 4 %137 = load i32, ptr %4, align 4 %138 = sub nsw i32 %137, 1 store i32 %138, ptr %8, align 4 %139 = load ptr, ptr %2, align 8 %140 = load i32, ptr %7, align 4 %141 = load i32, ptr %4, align 4 %142 = mul nsw i32 %140, %141 %143 = load i32, ptr %8, align 4 %144 = add nsw i32 %142, %143 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds i8, ptr %139, i64 %145 store i8 46, ptr %146, align 1 %147 = load i32, ptr %4, align 4 %148 = sub nsw i32 %147, 2 store i32 %148, ptr %8, align 4 br label %149 149: ; preds = %74, %129, %109, %93, %77 %150 = load i32, ptr %3, align 4 %151 = load i32, ptr %4, align 4 %152 = load ptr, ptr %2, align 8 %153 = load i32, ptr %7, align 4 %154 = load i32, ptr %8, align 4 %155 = call i32 @dfsMaze(i32 noundef %150, i32 noundef %151, ptr noundef %152, i32 noundef %153, i32 noundef %154, ptr noundef %9, ptr noundef %10) %156 = load ptr, ptr %2, align 8 %157 = load i32, ptr %9, align 4 %158 = load i32, ptr %4, align 4 %159 = mul nsw i32 %157, %158 %160 = load i32, ptr %10, align 4 %161 = add nsw i32 %159, %160 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i8, ptr %156, i64 %162 store i8 46, ptr %163, align 1 ret void } declare i32 @rand(...) #1 declare i32 @dfsMaze(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbayd_5tt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mazeGenerator(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 13, ptr %3, align 4 store i32 13, ptr %4, align 4 store i64 0, ptr %5, align 8 %11 = load i64, ptr %5, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = icmp ult i64 %11, %13 br i1 %14, label %.lr.ph2, label %80 .lr.ph2: ; preds = %1 br label %15 15: ; preds = %.lr.ph2, %73 store i64 0, ptr %6, align 8 %16 = load i64, ptr %6, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = icmp ult i64 %16, %18 br i1 %19, label %.lr.ph, label %72 .lr.ph: ; preds = %15 br label %20 20: ; preds = %.lr.ph, %65 %21 = load i64, ptr %5, align 8 %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %55 23: ; preds = %20 %24 = load i64, ptr %5, align 8 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = icmp ne i64 %24, %27 br i1 %28, label %29, label %55 29: ; preds = %23 %30 = load i64, ptr %6, align 8 %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %55 32: ; preds = %29 %33 = load i64, ptr %6, align 8 %34 = load i32, ptr %4, align 4 %35 = sub nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = icmp ne i64 %33, %36 br i1 %37, label %38, label %55 38: ; preds = %32 %39 = load i64, ptr %5, align 8 %40 = urem i64 %39, 2 %41 = icmp eq i64 %40, 1 br i1 %41, label %42, label %55 42: ; preds = %38 %43 = load i64, ptr %6, align 8 %44 = urem i64 %43, 2 %45 = icmp eq i64 %44, 1 br i1 %45, label %46, label %55 46: ; preds = %42 %47 = load ptr, ptr %2, align 8 %48 = load i64, ptr %5, align 8 %49 = load i32, ptr %4, align 4 %50 = sext i32 %49 to i64 %51 = mul i64 %48, %50 %52 = load i64, ptr %6, align 8 %53 = add i64 %51, %52 %54 = getelementptr inbounds i8, ptr %47, i64 %53 store i8 46, ptr %54, align 1 br label %64 55: ; preds = %42, %38, %32, %29, %23, %20 %56 = load ptr, ptr %2, align 8 %57 = load i64, ptr %5, align 8 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = mul i64 %57, %59 %61 = load i64, ptr %6, align 8 %62 = add i64 %60, %61 %63 = getelementptr inbounds i8, ptr %56, i64 %62 store i8 35, ptr %63, align 1 br label %64 64: ; preds = %55, %46 br label %65 65: ; preds = %64 %66 = load i64, ptr %6, align 8 %67 = add i64 %66, 1 store i64 %67, ptr %6, align 8 %68 = load i64, ptr %6, align 8 %69 = load i32, ptr %4, align 4 %70 = sext i32 %69 to i64 %71 = icmp ult i64 %68, %70 br i1 %71, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %72 72: ; preds = %._crit_edge, %15 br label %73 73: ; preds = %72 %74 = load i64, ptr %5, align 8 %75 = add i64 %74, 1 store i64 %75, ptr %5, align 8 %76 = load i64, ptr %5, align 8 %77 = load i32, ptr %3, align 4 %78 = sext i32 %77 to i64 %79 = icmp ult i64 %76, %78 br i1 %79, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %80 80: ; preds = %._crit_edge3, %1 %81 = call i32 (...) @rand() %82 = srem i32 %81, 4 switch i32 %82, label %155 [ i32 0, label %83 i32 1, label %99 i32 2, label %115 i32 3, label %135 ] 83: ; preds = %80 store i32 0, ptr %7, align 4 %84 = call i32 (...) @rand() %85 = load i32, ptr %4, align 4 %86 = sdiv i32 %85, 2 %87 = sub nsw i32 %86, 1 %88 = srem i32 %84, %87 %89 = mul nsw i32 2, %88 %90 = add nsw i32 %89, 1 store i32 %90, ptr %8, align 4 %91 = load ptr, ptr %2, align 8 %92 = load i32, ptr %7, align 4 %93 = load i32, ptr %4, align 4 %94 = mul nsw i32 %92, %93 %95 = load i32, ptr %8, align 4 %96 = add nsw i32 %94, %95 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %91, i64 %97 store i8 46, ptr %98, align 1 store i32 1, ptr %7, align 4 br label %155 99: ; preds = %80 %100 = call i32 (...) @rand() %101 = load i32, ptr %3, align 4 %102 = sdiv i32 %101, 2 %103 = sub nsw i32 %102, 1 %104 = srem i32 %100, %103 %105 = mul nsw i32 2, %104 %106 = add nsw i32 %105, 1 store i32 %106, ptr %7, align 4 store i32 0, ptr %8, align 4 %107 = load ptr, ptr %2, align 8 %108 = load i32, ptr %7, align 4 %109 = load i32, ptr %4, align 4 %110 = mul nsw i32 %108, %109 %111 = load i32, ptr %8, align 4 %112 = add nsw i32 %110, %111 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %107, i64 %113 store i8 46, ptr %114, align 1 store i32 1, ptr %8, align 4 br label %155 115: ; preds = %80 %116 = load i32, ptr %3, align 4 %117 = sub nsw i32 %116, 1 store i32 %117, ptr %7, align 4 %118 = call i32 (...) @rand() %119 = load i32, ptr %4, align 4 %120 = sdiv i32 %119, 2 %121 = sub nsw i32 %120, 1 %122 = srem i32 %118, %121 %123 = mul nsw i32 2, %122 %124 = add nsw i32 %123, 1 store i32 %124, ptr %8, align 4 %125 = load ptr, ptr %2, align 8 %126 = load i32, ptr %7, align 4 %127 = load i32, ptr %4, align 4 %128 = mul nsw i32 %126, %127 %129 = load i32, ptr %8, align 4 %130 = add nsw i32 %128, %129 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i8, ptr %125, i64 %131 store i8 46, ptr %132, align 1 %133 = load i32, ptr %3, align 4 %134 = sub nsw i32 %133, 2 store i32 %134, ptr %7, align 4 br label %155 135: ; preds = %80 %136 = call i32 (...) @rand() %137 = load i32, ptr %3, align 4 %138 = sdiv i32 %137, 2 %139 = sub nsw i32 %138, 1 %140 = srem i32 %136, %139 %141 = mul nsw i32 2, %140 %142 = add nsw i32 %141, 1 store i32 %142, ptr %7, align 4 %143 = load i32, ptr %4, align 4 %144 = sub nsw i32 %143, 1 store i32 %144, ptr %8, align 4 %145 = load ptr, ptr %2, align 8 %146 = load i32, ptr %7, align 4 %147 = load i32, ptr %4, align 4 %148 = mul nsw i32 %146, %147 %149 = load i32, ptr %8, align 4 %150 = add nsw i32 %148, %149 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i8, ptr %145, i64 %151 store i8 46, ptr %152, align 1 %153 = load i32, ptr %4, align 4 %154 = sub nsw i32 %153, 2 store i32 %154, ptr %8, align 4 br label %155 155: ; preds = %135, %115, %99, %83, %80 %156 = load i32, ptr %3, align 4 %157 = load i32, ptr %4, align 4 %158 = load ptr, ptr %2, align 8 %159 = load i32, ptr %7, align 4 %160 = load i32, ptr %8, align 4 %161 = call i32 @dfsMaze(i32 noundef %156, i32 noundef %157, ptr noundef %158, i32 noundef %159, i32 noundef %160, ptr noundef %9, ptr noundef %10) %162 = load ptr, ptr %2, align 8 %163 = load i32, ptr %9, align 4 %164 = load i32, ptr %4, align 4 %165 = mul nsw i32 %163, %164 %166 = load i32, ptr %10, align 4 %167 = add nsw i32 %165, %166 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i8, ptr %162, i64 %168 store i8 46, ptr %169, align 1 ret void } declare i32 @rand(...) #1 declare i32 @dfsMaze(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpiwzr47r_.c' source_filename = "/tmp/tmpiwzr47r_.c" target datalayout = "e-m:e-p270: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/tmpiwzr47r_.c" target datalayout = "e-m:e-p270: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/tmplbn9az4k.c' source_filename = "/tmp/tmplbn9az4k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dyOutFlushAndClose(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @dyOutFlush(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @dyOutClose(i32 noundef %6) %8 = load i32, ptr %3, align 4 ret i32 %8 } declare i32 @dyOutFlush(i32 noundef) #1 declare i32 @dyOutClose(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/tmplbn9az4k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dyOutFlushAndClose(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @dyOutFlush(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @dyOutClose(i32 noundef %6) %8 = load i32, ptr %3, align 4 ret i32 %8 } declare i32 @dyOutFlush(i32 noundef) #1 declare i32 @dyOutClose(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/tmpjcqn9z7m.c' source_filename = "/tmp/tmpjcqn9z7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"Size: %0.3fKB,\09Time: %lf ms,\09percent: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_cache() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca float, align 4 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store double 1.024000e+03, ptr %3, align 8 store i32 4096, ptr %4, align 4 %15 = call ptr @malloc(i32 noundef 2000000000) store ptr %15, ptr %5, align 8 store float 0.000000e+00, ptr %9, align 4 store i32 3166000, ptr %11, align 4 store double 0.000000e+00, ptr %12, align 8 store double 0.000000e+00, ptr %13, align 8 store i32 0, ptr %14, align 4 br label %16 16: ; preds = %38, %0 %17 = load double, ptr %3, align 8 %18 = fcmp olt double %17, 2.000000e+09 br i1 %18, label %19, label %63 19: ; preds = %16 %20 = call i64 (...) @rdtsc() store i64 %20, ptr %6, align 8 store i32 0, ptr %14, align 4 store i32 0, ptr %1, align 4 br label %21 21: ; preds = %35, %19 %22 = load i32, ptr %1, align 4 %23 = sitofp i32 %22 to double %24 = load double, ptr %3, align 8 %25 = fcmp olt double %23, %24 br i1 %25, label %26, label %38 26: ; preds = %21 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %1, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = add i8 %31, 1 store i8 %32, ptr %30, align 1 %33 = load i32, ptr %14, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %14, align 4 br label %35 35: ; preds = %26 %36 = load i32, ptr %1, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %1, align 4 br label %21, !llvm.loop !6 38: ; preds = %21 %39 = call i64 (...) @rdtsc() store i64 %39, ptr %7, align 8 %40 = load i64, ptr %7, align 8 %41 = load i64, ptr %6, align 8 %42 = sub nsw i64 %40, %41 store i64 %42, ptr %8, align 8 %43 = load double, ptr %10, align 8 store double %43, ptr %12, align 8 %44 = load i64, ptr %8, align 8 %45 = sitofp i64 %44 to double %46 = load i32, ptr %11, align 4 %47 = sitofp i32 %46 to double %48 = fdiv double %45, %47 store double %48, ptr %10, align 8 %49 = load double, ptr %3, align 8 %50 = fptrunc double %49 to float %51 = fdiv float %50, 1.024000e+03 store float %51, ptr %9, align 4 %52 = load double, ptr %10, align 8 %53 = load double, ptr %12, align 8 %54 = fdiv double %52, %53 store double %54, ptr %13, align 8 %55 = load i32, ptr @stdout, align 4 %56 = load float, ptr %9, align 4 %57 = load double, ptr %10, align 8 %58 = load double, ptr %3, align 8 %59 = fdiv double %58, 2.000000e+09 %60 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str, float noundef %56, double noundef %57, double noundef %59) %61 = load double, ptr %3, align 8 %62 = fmul double %61, 2.000000e+00 store double %62, ptr %3, align 8 br label %16, !llvm.loop !8 63: ; preds = %16 ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i64 @rdtsc(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, float noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjcqn9z7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"Size: %0.3fKB,\09Time: %lf ms,\09percent: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_cache() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca float, align 4 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store double 1.024000e+03, ptr %3, align 8 store i32 4096, ptr %4, align 4 %15 = call ptr @malloc(i32 noundef 2000000000) store ptr %15, ptr %5, align 8 store float 0.000000e+00, ptr %9, align 4 store i32 3166000, ptr %11, align 4 store double 0.000000e+00, ptr %12, align 8 store double 0.000000e+00, ptr %13, align 8 store i32 0, ptr %14, align 4 %16 = load double, ptr %3, align 8 %17 = fcmp olt double %16, 2.000000e+09 br i1 %17, label %.lr.ph2, label %67 .lr.ph2: ; preds = %0 br label %18 18: ; preds = %.lr.ph2, %40 %19 = call i64 (...) @rdtsc() store i64 %19, ptr %6, align 8 store i32 0, ptr %14, align 4 store i32 0, ptr %1, align 4 %20 = load i32, ptr %1, align 4 %21 = sitofp i32 %20 to double %22 = load double, ptr %3, align 8 %23 = fcmp olt double %21, %22 br i1 %23, label %.lr.ph, label %40 .lr.ph: ; preds = %18 br label %24 24: ; preds = %.lr.ph, %33 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %1, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = add i8 %29, 1 store i8 %30, ptr %28, align 1 %31 = load i32, ptr %14, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %14, align 4 br label %33 33: ; preds = %24 %34 = load i32, ptr %1, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %1, align 4 %36 = load i32, ptr %1, align 4 %37 = sitofp i32 %36 to double %38 = load double, ptr %3, align 8 %39 = fcmp olt double %37, %38 br i1 %39, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %40 40: ; preds = %._crit_edge, %18 %41 = call i64 (...) @rdtsc() store i64 %41, ptr %7, align 8 %42 = load i64, ptr %7, align 8 %43 = load i64, ptr %6, align 8 %44 = sub nsw i64 %42, %43 store i64 %44, ptr %8, align 8 %45 = load double, ptr %10, align 8 store double %45, ptr %12, align 8 %46 = load i64, ptr %8, align 8 %47 = sitofp i64 %46 to double %48 = load i32, ptr %11, align 4 %49 = sitofp i32 %48 to double %50 = fdiv double %47, %49 store double %50, ptr %10, align 8 %51 = load double, ptr %3, align 8 %52 = fptrunc double %51 to float %53 = fdiv float %52, 1.024000e+03 store float %53, ptr %9, align 4 %54 = load double, ptr %10, align 8 %55 = load double, ptr %12, align 8 %56 = fdiv double %54, %55 store double %56, ptr %13, align 8 %57 = load i32, ptr @stdout, align 4 %58 = load float, ptr %9, align 4 %59 = load double, ptr %10, align 8 %60 = load double, ptr %3, align 8 %61 = fdiv double %60, 2.000000e+09 %62 = call i32 @fprintf(i32 noundef %57, ptr noundef @.str, float noundef %58, double noundef %59, double noundef %61) %63 = load double, ptr %3, align 8 %64 = fmul double %63, 2.000000e+00 store double %64, ptr %3, align 8 %65 = load double, ptr %3, align 8 %66 = fcmp olt double %65, 2.000000e+09 br i1 %66, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %67 67: ; preds = %._crit_edge3, %0 ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i64 @rdtsc(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, float noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9hgtx1jn.c' source_filename = "/tmp/tmp9hgtx1jn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9hgtx1jn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsdaphnpq.c' source_filename = "/tmp/tmpsdaphnpq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f%f\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Saida: %.2f\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Saiu!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store float 1.000000e+00, ptr %3, align 4 store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %1, align 4 br label %4 4: ; preds = %44, %0 %5 = load float, ptr %2, align 4 %6 = fcmp une float %5, -1.000000e+00 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load float, ptr %1, align 4 %9 = fcmp une float %8, -1.000000e+00 br label %10 10: ; preds = %7, %4 %11 = phi i1 [ false, %4 ], [ %9, %7 ] br i1 %11, label %12, label %45 12: ; preds = %10 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2) %14 = load float, ptr %2, align 4 %15 = fcmp une float %14, 0.000000e+00 br i1 %15, label %16, label %34 16: ; preds = %12 %17 = load float, ptr %2, align 4 %18 = fcmp une float %17, -1.000000e+00 br i1 %18, label %19, label %34 19: ; preds = %16 %20 = load float, ptr %1, align 4 %21 = fcmp une float %20, 0.000000e+00 br i1 %21, label %22, label %34 22: ; preds = %19 %23 = load float, ptr %1, align 4 %24 = fcmp une float %23, -1.000000e+00 br i1 %24, label %25, label %34 25: ; preds = %22 %26 = load float, ptr %1, align 4 %27 = load float, ptr %2, align 4 %28 = fdiv float %26, %27 %29 = fpext float %28 to double %30 = load float, ptr %3, align 4 %31 = fpext float %30 to double %32 = call double @llvm.fmuladd.f64(double %29, double 3.600000e+00, double %31) %33 = fptrunc double %32 to float store float %33, ptr %3, align 4 br label %34 34: ; preds = %25, %22, %19, %16, %12 %35 = load float, ptr %2, align 4 %36 = fcmp oeq float %35, 0.000000e+00 br i1 %36, label %37, label %44 37: ; preds = %34 %38 = load float, ptr %1, align 4 %39 = fcmp oeq float %38, 0.000000e+00 br i1 %39, label %40, label %44 40: ; preds = %37 %41 = load float, ptr %3, align 4 %42 = fpext float %41 to double %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %42) store float 0.000000e+00, ptr %3, align 4 br label %44 44: ; preds = %40, %37, %34 br label %4, !llvm.loop !6 45: ; preds = %10 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsdaphnpq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f%f\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Saida: %.2f\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Saiu!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store float 1.000000e+00, ptr %3, align 4 store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %1, align 4 br label %4 4: ; preds = %44, %0 %5 = load float, ptr %2, align 4 %6 = fcmp une float %5, -1.000000e+00 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load float, ptr %1, align 4 %9 = fcmp une float %8, -1.000000e+00 br label %10 10: ; preds = %7, %4 %11 = phi i1 [ false, %4 ], [ %9, %7 ] br i1 %11, label %12, label %45 12: ; preds = %10 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2) %14 = load float, ptr %2, align 4 %15 = fcmp une float %14, 0.000000e+00 br i1 %15, label %16, label %34 16: ; preds = %12 %17 = load float, ptr %2, align 4 %18 = fcmp une float %17, -1.000000e+00 br i1 %18, label %19, label %34 19: ; preds = %16 %20 = load float, ptr %1, align 4 %21 = fcmp une float %20, 0.000000e+00 br i1 %21, label %22, label %34 22: ; preds = %19 %23 = load float, ptr %1, align 4 %24 = fcmp une float %23, -1.000000e+00 br i1 %24, label %25, label %34 25: ; preds = %22 %26 = load float, ptr %1, align 4 %27 = load float, ptr %2, align 4 %28 = fdiv float %26, %27 %29 = fpext float %28 to double %30 = load float, ptr %3, align 4 %31 = fpext float %30 to double %32 = call double @llvm.fmuladd.f64(double %29, double 3.600000e+00, double %31) %33 = fptrunc double %32 to float store float %33, ptr %3, align 4 br label %34 34: ; preds = %25, %22, %19, %16, %12 %35 = load float, ptr %2, align 4 %36 = fcmp oeq float %35, 0.000000e+00 br i1 %36, label %37, label %44 37: ; preds = %34 %38 = load float, ptr %1, align 4 %39 = fcmp oeq float %38, 0.000000e+00 br i1 %39, label %40, label %44 40: ; preds = %37 %41 = load float, ptr %3, align 4 %42 = fpext float %41 to double %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %42) store float 0.000000e+00, ptr %3, align 4 br label %44 44: ; preds = %40, %37, %34 br label %4, !llvm.loop !6 45: ; preds = %10 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_pt2p78_.c' source_filename = "/tmp/tmp_pt2p78_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_pt2p78_.c" target datalayout = "e-m:e-p270: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/tmpp_1d4u7z.c' source_filename = "/tmp/tmpp_1d4u7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"hex string = '\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printhex(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %19, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %22 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17) br label %19 19: ; preds = %11 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %7, !llvm.loop !6 22: ; preds = %7 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp_1d4u7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"hex string = '\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printhex(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %18 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqfi3tkz7.c' source_filename = "/tmp/tmpqfi3tkz7.c" target datalayout = "e-m:e-p270: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/tmpqfi3tkz7.c" target datalayout = "e-m:e-p270: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/tmp6caigo9o.c' source_filename = "/tmp/tmp6caigo9o.c" target datalayout = "e-m:e-p270: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/tmp6caigo9o.c" target datalayout = "e-m:e-p270: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/tmp88lgqb6w.c' source_filename = "/tmp/tmp88lgqb6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"\0AFuncao: x^3-10\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"k\09\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"ak\09\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"f(ak)\09\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"bk\09\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"f(bk)\09\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"xk\09\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"f(xk)\09\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"E\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"%.3f\09\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"%.3f\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"---\00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 1, ptr %9, align 4 store i32 0, ptr %10, align 4 store float 2.000000e+00, ptr %1, align 4 store float 3.000000e+00, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %20 20: ; preds = %80, %0 %21 = load i32, ptr %9, align 4 %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %84 23: ; preds = %20 %24 = load i32, ptr %10, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %24) %26 = load float, ptr %1, align 4 %27 = fpext float %26 to double %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %27) %29 = load float, ptr %1, align 4 %30 = call double @f(float noundef %29) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %30) %32 = load float, ptr %2, align 4 %33 = fpext float %32 to double %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %33) %35 = load float, ptr %2, align 4 %36 = call double @f(float noundef %35) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %36) %38 = load float, ptr %1, align 4 %39 = load float, ptr %2, align 4 %40 = fadd float %38, %39 %41 = fdiv float %40, 2.000000e+00 store float %41, ptr %5, align 4 %42 = load float, ptr %5, align 4 %43 = fpext float %42 to double %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %43) %45 = load float, ptr %5, align 4 %46 = call double @f(float noundef %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %46) %48 = load i32, ptr %10, align 4 %49 = icmp sgt i32 %48, 0 br i1 %49, label %50, label %66 50: ; preds = %23 %51 = load float, ptr %5, align 4 %52 = load float, ptr %4, align 4 %53 = fsub float %51, %52 %54 = call float @fabs(float noundef %53) %55 = load float, ptr %5, align 4 %56 = call float @fabs(float noundef %55) %57 = fdiv float %54, %56 store float %57, ptr %3, align 4 %58 = load float, ptr %3, align 4 %59 = fpext float %58 to double %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %59) %61 = load float, ptr %3, align 4 %62 = call float @pow(i32 noundef 10, i32 noundef -3) %63 = fcmp ole float %61, %62 br i1 %63, label %64, label %65 64: ; preds = %50 store i32 0, ptr %9, align 4 br label %65 65: ; preds = %64, %50 br label %68 66: ; preds = %23 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %68 68: ; preds = %66, %65 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %70 = load float, ptr %1, align 4 %71 = call double @f(float noundef %70) %72 = load float, ptr %5, align 4 %73 = call double @f(float noundef %72) %74 = fmul double %71, %73 %75 = fcmp ogt double %74, 0.000000e+00 br i1 %75, label %76, label %78 76: ; preds = %68 %77 = load float, ptr %5, align 4 store float %77, ptr %1, align 4 br label %80 78: ; preds = %68 %79 = load float, ptr %5, align 4 store float %79, ptr %2, align 4 br label %80 80: ; preds = %78, %76 %81 = load float, ptr %5, align 4 store float %81, ptr %4, align 4 %82 = load i32, ptr %10, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %10, align 4 br label %20, !llvm.loop !6 84: ; preds = %20 ret void } declare i32 @printf(ptr noundef, ...) #1 declare double @f(float noundef) #1 declare float @fabs(float noundef) #1 declare float @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp88lgqb6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"\0AFuncao: x^3-10\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"k\09\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"ak\09\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"f(ak)\09\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"bk\09\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"f(bk)\09\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"xk\09\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"f(xk)\09\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"E\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"%.3f\09\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"%.3f\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"---\00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 1, ptr %9, align 4 store i32 0, ptr %10, align 4 store float 2.000000e+00, ptr %1, align 4 store float 3.000000e+00, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %20 = load i32, ptr %9, align 4 %21 = icmp eq i32 %20, 1 br i1 %21, label %.lr.ph, label %85 .lr.ph: ; preds = %0 br label %22 22: ; preds = %.lr.ph, %79 %23 = load i32, ptr %10, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %23) %25 = load float, ptr %1, align 4 %26 = fpext float %25 to double %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %26) %28 = load float, ptr %1, align 4 %29 = call double @f(float noundef %28) %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %29) %31 = load float, ptr %2, align 4 %32 = fpext float %31 to double %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %32) %34 = load float, ptr %2, align 4 %35 = call double @f(float noundef %34) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %35) %37 = load float, ptr %1, align 4 %38 = load float, ptr %2, align 4 %39 = fadd float %37, %38 %40 = fdiv float %39, 2.000000e+00 store float %40, ptr %5, align 4 %41 = load float, ptr %5, align 4 %42 = fpext float %41 to double %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %42) %44 = load float, ptr %5, align 4 %45 = call double @f(float noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %45) %47 = load i32, ptr %10, align 4 %48 = icmp sgt i32 %47, 0 br i1 %48, label %49, label %65 49: ; preds = %22 %50 = load float, ptr %5, align 4 %51 = load float, ptr %4, align 4 %52 = fsub float %50, %51 %53 = call float @fabs(float noundef %52) %54 = load float, ptr %5, align 4 %55 = call float @fabs(float noundef %54) %56 = fdiv float %53, %55 store float %56, ptr %3, align 4 %57 = load float, ptr %3, align 4 %58 = fpext float %57 to double %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %58) %60 = load float, ptr %3, align 4 %61 = call float @pow(i32 noundef 10, i32 noundef -3) %62 = fcmp ole float %60, %61 br i1 %62, label %63, label %64 63: ; preds = %49 store i32 0, ptr %9, align 4 br label %64 64: ; preds = %63, %49 br label %67 65: ; preds = %22 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %67 67: ; preds = %65, %64 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %69 = load float, ptr %1, align 4 %70 = call double @f(float noundef %69) %71 = load float, ptr %5, align 4 %72 = call double @f(float noundef %71) %73 = fmul double %70, %72 %74 = fcmp ogt double %73, 0.000000e+00 br i1 %74, label %75, label %77 75: ; preds = %67 %76 = load float, ptr %5, align 4 store float %76, ptr %1, align 4 br label %79 77: ; preds = %67 %78 = load float, ptr %5, align 4 store float %78, ptr %2, align 4 br label %79 79: ; preds = %77, %75 %80 = load float, ptr %5, align 4 store float %80, ptr %4, align 4 %81 = load i32, ptr %10, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %10, align 4 %83 = load i32, ptr %9, align 4 %84 = icmp eq i32 %83, 1 br i1 %84, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %79 br label %85 85: ; preds = %._crit_edge, %0 ret void } declare i32 @printf(ptr noundef, ...) #1 declare double @f(float noundef) #1 declare float @fabs(float noundef) #1 declare float @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpq_xkbevw.c' source_filename = "/tmp/tmpq_xkbevw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EACCES = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rmdir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @EACCES, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_xkbevw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EACCES = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rmdir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @EACCES, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpugsk1ebl.c' source_filename = "/tmp/tmpugsk1ebl.c" target datalayout = "e-m:e-p270: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/tmpugsk1ebl.c" target datalayout = "e-m:e-p270: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/tmp0xds05ua.c' source_filename = "/tmp/tmp0xds05ua.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__wait4(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load i32, ptr @ENOSYS, align 4 %10 = call i32 @__set_errno(i32 noundef %9) ret i32 -1 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0xds05ua.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__wait4(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load i32, ptr @ENOSYS, align 4 %10 = call i32 @__set_errno(i32 noundef %9) ret i32 -1 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpasb4l3fb.c' source_filename = "/tmp/tmpasb4l3fb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @userdel_cmdline_parser_ext(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i32 @userdel_cmdline_parser_internal(i32 noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef 0) store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 ret i32 %15 } declare i32 @userdel_cmdline_parser_internal(i32 noundef, ptr 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/tmpasb4l3fb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @userdel_cmdline_parser_ext(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i32 @userdel_cmdline_parser_internal(i32 noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef 0) store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 ret i32 %15 } declare i32 @userdel_cmdline_parser_internal(i32 noundef, ptr 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/tmp935yvh2c.c' source_filename = "/tmp/tmp935yvh2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_normal_01(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store double 0x400921FB54442D18, ptr %9, align 8 store i32 1, ptr %12, align 4 %13 = load i32, ptr %4, align 4 store i32 %13, ptr %11, align 4 %14 = load i32, ptr %11, align 4 %15 = load i32, ptr %12, align 4 %16 = sub nsw i32 %14, %15 %17 = add nsw i32 %16, 1 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %41 19: ; preds = %3 %20 = load ptr, ptr %5, align 8 %21 = call ptr @r8vec_uniform_01_new(i32 noundef 2, ptr noundef %20) store ptr %21, ptr %10, align 8 %22 = load ptr, ptr %10, align 8 %23 = getelementptr inbounds double, ptr %22, i64 0 %24 = load double, ptr %23, align 8 %25 = call double @log(double noundef %24) #3 %26 = fmul double -2.000000e+00, %25 %27 = call double @sqrt(double noundef %26) #3 %28 = load ptr, ptr %10, align 8 %29 = getelementptr inbounds double, ptr %28, i64 1 %30 = load double, ptr %29, align 8 %31 = fmul double 0x401921FB54442D18, %30 %32 = call double @cos(double noundef %31) #3 %33 = fmul double %27, %32 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %11, align 4 %36 = sub nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %34, i64 %37 store double %33, ptr %38, align 8 %39 = load ptr, ptr %10, align 8 %40 = call i32 @free(ptr noundef %39) br label %217 41: ; preds = %3 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr %12, align 4 %44 = sub nsw i32 %42, %43 %45 = add nsw i32 %44, 1 %46 = srem i32 %45, 2 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %118 48: ; preds = %41 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %12, align 4 %51 = sub nsw i32 %49, %50 %52 = add nsw i32 %51, 1 %53 = sdiv i32 %52, 2 store i32 %53, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = mul nsw i32 2, %54 %56 = load ptr, ptr %5, align 8 %57 = call ptr @r8vec_uniform_01_new(i32 noundef %55, ptr noundef %56) store ptr %57, ptr %10, align 8 store i32 0, ptr %7, align 4 br label %58 58: ; preds = %112, %48 %59 = load i32, ptr %7, align 4 %60 = load i32, ptr %8, align 4 %61 = mul nsw i32 2, %60 %62 = sub nsw i32 %61, 2 %63 = icmp sle i32 %59, %62 br i1 %63, label %64, label %115 64: ; preds = %58 %65 = load ptr, ptr %10, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 %69 = load double, ptr %68, align 8 %70 = call double @log(double noundef %69) #3 %71 = fmul double -2.000000e+00, %70 %72 = call double @sqrt(double noundef %71) #3 %73 = load ptr, ptr %10, align 8 %74 = load i32, ptr %7, align 4 %75 = add nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %73, i64 %76 %78 = load double, ptr %77, align 8 %79 = fmul double 0x401921FB54442D18, %78 %80 = call double @cos(double noundef %79) #3 %81 = fmul double %72, %80 %82 = load ptr, ptr %6, align 8 %83 = load i32, ptr %12, align 4 %84 = load i32, ptr %7, align 4 %85 = add nsw i32 %83, %84 %86 = sub nsw i32 %85, 1 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %82, i64 %87 store double %81, ptr %88, align 8 %89 = load ptr, ptr %10, align 8 %90 = load i32, ptr %7, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %89, i64 %91 %93 = load double, ptr %92, align 8 %94 = call double @log(double noundef %93) #3 %95 = fmul double -2.000000e+00, %94 %96 = call double @sqrt(double noundef %95) #3 %97 = load ptr, ptr %10, align 8 %98 = load i32, ptr %7, align 4 %99 = add nsw i32 %98, 1 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds double, ptr %97, i64 %100 %102 = load double, ptr %101, align 8 %103 = fmul double 0x401921FB54442D18, %102 %104 = call double @sin(double noundef %103) #3 %105 = fmul double %96, %104 %106 = load ptr, ptr %6, align 8 %107 = load i32, ptr %12, align 4 %108 = load i32, ptr %7, align 4 %109 = add nsw i32 %107, %108 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %106, i64 %110 store double %105, ptr %111, align 8 br label %112 112: ; preds = %64 %113 = load i32, ptr %7, align 4 %114 = add nsw i32 %113, 2 store i32 %114, ptr %7, align 4 br label %58, !llvm.loop !6 115: ; preds = %58 %116 = load ptr, ptr %10, align 8 %117 = call i32 @free(ptr noundef %116) br label %216 118: ; preds = %41 %119 = load i32, ptr %11, align 4 %120 = sub nsw i32 %119, 1 store i32 %120, ptr %11, align 4 %121 = load i32, ptr %11, align 4 %122 = load i32, ptr %12, align 4 %123 = sub nsw i32 %121, %122 %124 = add nsw i32 %123, 1 %125 = sdiv i32 %124, 2 %126 = add nsw i32 %125, 1 store i32 %126, ptr %8, align 4 %127 = load i32, ptr %8, align 4 %128 = mul nsw i32 2, %127 %129 = load ptr, ptr %5, align 8 %130 = call ptr @r8vec_uniform_01_new(i32 noundef %128, ptr noundef %129) store ptr %130, ptr %10, align 8 store i32 0, ptr %7, align 4 br label %131 131: ; preds = %185, %118 %132 = load i32, ptr %7, align 4 %133 = load i32, ptr %8, align 4 %134 = mul nsw i32 2, %133 %135 = sub nsw i32 %134, 4 %136 = icmp sle i32 %132, %135 br i1 %136, label %137, label %188 137: ; preds = %131 %138 = load ptr, ptr %10, align 8 %139 = load i32, ptr %7, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds double, ptr %138, i64 %140 %142 = load double, ptr %141, align 8 %143 = call double @log(double noundef %142) #3 %144 = fmul double -2.000000e+00, %143 %145 = call double @sqrt(double noundef %144) #3 %146 = load ptr, ptr %10, align 8 %147 = load i32, ptr %7, align 4 %148 = add nsw i32 %147, 1 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds double, ptr %146, i64 %149 %151 = load double, ptr %150, align 8 %152 = fmul double 0x401921FB54442D18, %151 %153 = call double @cos(double noundef %152) #3 %154 = fmul double %145, %153 %155 = load ptr, ptr %6, align 8 %156 = load i32, ptr %12, align 4 %157 = load i32, ptr %7, align 4 %158 = add nsw i32 %156, %157 %159 = sub nsw i32 %158, 1 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %155, i64 %160 store double %154, ptr %161, align 8 %162 = load ptr, ptr %10, align 8 %163 = load i32, ptr %7, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds double, ptr %162, i64 %164 %166 = load double, ptr %165, align 8 %167 = call double @log(double noundef %166) #3 %168 = fmul double -2.000000e+00, %167 %169 = call double @sqrt(double noundef %168) #3 %170 = load ptr, ptr %10, align 8 %171 = load i32, ptr %7, align 4 %172 = add nsw i32 %171, 1 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds double, ptr %170, i64 %173 %175 = load double, ptr %174, align 8 %176 = fmul double 0x401921FB54442D18, %175 %177 = call double @sin(double noundef %176) #3 %178 = fmul double %169, %177 %179 = load ptr, ptr %6, align 8 %180 = load i32, ptr %12, align 4 %181 = load i32, ptr %7, align 4 %182 = add nsw i32 %180, %181 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds double, ptr %179, i64 %183 store double %178, ptr %184, align 8 br label %185 185: ; preds = %137 %186 = load i32, ptr %7, align 4 %187 = add nsw i32 %186, 2 store i32 %187, ptr %7, align 4 br label %131, !llvm.loop !8 188: ; preds = %131 %189 = load i32, ptr %8, align 4 %190 = mul nsw i32 2, %189 %191 = sub nsw i32 %190, 2 store i32 %191, ptr %7, align 4 %192 = load ptr, ptr %10, align 8 %193 = load i32, ptr %7, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds double, ptr %192, i64 %194 %196 = load double, ptr %195, align 8 %197 = call double @log(double noundef %196) #3 %198 = fmul double -2.000000e+00, %197 %199 = call double @sqrt(double noundef %198) #3 %200 = load ptr, ptr %10, align 8 %201 = load i32, ptr %7, align 4 %202 = add nsw i32 %201, 1 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds double, ptr %200, i64 %203 %205 = load double, ptr %204, align 8 %206 = fmul double 0x401921FB54442D18, %205 %207 = call double @cos(double noundef %206) #3 %208 = fmul double %199, %207 %209 = load ptr, ptr %6, align 8 %210 = load i32, ptr %12, align 4 %211 = load i32, ptr %7, align 4 %212 = add nsw i32 %210, %211 %213 = sub nsw i32 %212, 1 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds double, ptr %209, i64 %214 store double %208, ptr %215, align 8 br label %216 216: ; preds = %188, %115 br label %217 217: ; preds = %216, %19 ret void } declare ptr @r8vec_uniform_01_new(i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 declare i32 @free(ptr noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp935yvh2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_normal_01(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store double 0x400921FB54442D18, ptr %9, align 8 store i32 1, ptr %12, align 4 %13 = load i32, ptr %4, align 4 store i32 %13, ptr %11, align 4 %14 = load i32, ptr %11, align 4 %15 = load i32, ptr %12, align 4 %16 = sub nsw i32 %14, %15 %17 = add nsw i32 %16, 1 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %41 19: ; preds = %3 %20 = load ptr, ptr %5, align 8 %21 = call ptr @r8vec_uniform_01_new(i32 noundef 2, ptr noundef %20) store ptr %21, ptr %10, align 8 %22 = load ptr, ptr %10, align 8 %23 = getelementptr inbounds double, ptr %22, i64 0 %24 = load double, ptr %23, align 8 %25 = call double @log(double noundef %24) #3 %26 = fmul double -2.000000e+00, %25 %27 = call double @sqrt(double noundef %26) #3 %28 = load ptr, ptr %10, align 8 %29 = getelementptr inbounds double, ptr %28, i64 1 %30 = load double, ptr %29, align 8 %31 = fmul double 0x401921FB54442D18, %30 %32 = call double @cos(double noundef %31) #3 %33 = fmul double %27, %32 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %11, align 4 %36 = sub nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %34, i64 %37 store double %33, ptr %38, align 8 %39 = load ptr, ptr %10, align 8 %40 = call i32 @free(ptr noundef %39) br label %225 41: ; preds = %3 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr %12, align 4 %44 = sub nsw i32 %42, %43 %45 = add nsw i32 %44, 1 %46 = srem i32 %45, 2 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %122 48: ; preds = %41 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %12, align 4 %51 = sub nsw i32 %49, %50 %52 = add nsw i32 %51, 1 %53 = sdiv i32 %52, 2 store i32 %53, ptr %8, align 4 %54 = load i32, ptr %8, align 4 %55 = mul nsw i32 2, %54 %56 = load ptr, ptr %5, align 8 %57 = call ptr @r8vec_uniform_01_new(i32 noundef %55, ptr noundef %56) store ptr %57, ptr %10, align 8 store i32 0, ptr %7, align 4 %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %8, align 4 %60 = mul nsw i32 2, %59 %61 = sub nsw i32 %60, 2 %62 = icmp sle i32 %58, %61 br i1 %62, label %.lr.ph2, label %119 .lr.ph2: ; preds = %48 br label %63 63: ; preds = %.lr.ph2, %111 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %7, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 %68 = load double, ptr %67, align 8 %69 = call double @log(double noundef %68) #3 %70 = fmul double -2.000000e+00, %69 %71 = call double @sqrt(double noundef %70) #3 %72 = load ptr, ptr %10, align 8 %73 = load i32, ptr %7, align 4 %74 = add nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %72, i64 %75 %77 = load double, ptr %76, align 8 %78 = fmul double 0x401921FB54442D18, %77 %79 = call double @cos(double noundef %78) #3 %80 = fmul double %71, %79 %81 = load ptr, ptr %6, align 8 %82 = load i32, ptr %12, align 4 %83 = load i32, ptr %7, align 4 %84 = add nsw i32 %82, %83 %85 = sub nsw i32 %84, 1 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds double, ptr %81, i64 %86 store double %80, ptr %87, align 8 %88 = load ptr, ptr %10, align 8 %89 = load i32, ptr %7, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds double, ptr %88, i64 %90 %92 = load double, ptr %91, align 8 %93 = call double @log(double noundef %92) #3 %94 = fmul double -2.000000e+00, %93 %95 = call double @sqrt(double noundef %94) #3 %96 = load ptr, ptr %10, align 8 %97 = load i32, ptr %7, align 4 %98 = add nsw i32 %97, 1 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %96, i64 %99 %101 = load double, ptr %100, align 8 %102 = fmul double 0x401921FB54442D18, %101 %103 = call double @sin(double noundef %102) #3 %104 = fmul double %95, %103 %105 = load ptr, ptr %6, align 8 %106 = load i32, ptr %12, align 4 %107 = load i32, ptr %7, align 4 %108 = add nsw i32 %106, %107 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %105, i64 %109 store double %104, ptr %110, align 8 br label %111 111: ; preds = %63 %112 = load i32, ptr %7, align 4 %113 = add nsw i32 %112, 2 store i32 %113, ptr %7, align 4 %114 = load i32, ptr %7, align 4 %115 = load i32, ptr %8, align 4 %116 = mul nsw i32 2, %115 %117 = sub nsw i32 %116, 2 %118 = icmp sle i32 %114, %117 br i1 %118, label %63, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %111 br label %119 119: ; preds = %._crit_edge3, %48 %120 = load ptr, ptr %10, align 8 %121 = call i32 @free(ptr noundef %120) br label %224 122: ; preds = %41 %123 = load i32, ptr %11, align 4 %124 = sub nsw i32 %123, 1 store i32 %124, ptr %11, align 4 %125 = load i32, ptr %11, align 4 %126 = load i32, ptr %12, align 4 %127 = sub nsw i32 %125, %126 %128 = add nsw i32 %127, 1 %129 = sdiv i32 %128, 2 %130 = add nsw i32 %129, 1 store i32 %130, ptr %8, align 4 %131 = load i32, ptr %8, align 4 %132 = mul nsw i32 2, %131 %133 = load ptr, ptr %5, align 8 %134 = call ptr @r8vec_uniform_01_new(i32 noundef %132, ptr noundef %133) store ptr %134, ptr %10, align 8 store i32 0, ptr %7, align 4 %135 = load i32, ptr %7, align 4 %136 = load i32, ptr %8, align 4 %137 = mul nsw i32 2, %136 %138 = sub nsw i32 %137, 4 %139 = icmp sle i32 %135, %138 br i1 %139, label %.lr.ph, label %196 .lr.ph: ; preds = %122 br label %140 140: ; preds = %.lr.ph, %188 %141 = load ptr, ptr %10, align 8 %142 = load i32, ptr %7, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds double, ptr %141, i64 %143 %145 = load double, ptr %144, align 8 %146 = call double @log(double noundef %145) #3 %147 = fmul double -2.000000e+00, %146 %148 = call double @sqrt(double noundef %147) #3 %149 = load ptr, ptr %10, align 8 %150 = load i32, ptr %7, align 4 %151 = add nsw i32 %150, 1 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds double, ptr %149, i64 %152 %154 = load double, ptr %153, align 8 %155 = fmul double 0x401921FB54442D18, %154 %156 = call double @cos(double noundef %155) #3 %157 = fmul double %148, %156 %158 = load ptr, ptr %6, align 8 %159 = load i32, ptr %12, align 4 %160 = load i32, ptr %7, align 4 %161 = add nsw i32 %159, %160 %162 = sub nsw i32 %161, 1 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %158, i64 %163 store double %157, ptr %164, align 8 %165 = load ptr, ptr %10, align 8 %166 = load i32, ptr %7, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds double, ptr %165, i64 %167 %169 = load double, ptr %168, align 8 %170 = call double @log(double noundef %169) #3 %171 = fmul double -2.000000e+00, %170 %172 = call double @sqrt(double noundef %171) #3 %173 = load ptr, ptr %10, align 8 %174 = load i32, ptr %7, align 4 %175 = add nsw i32 %174, 1 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds double, ptr %173, i64 %176 %178 = load double, ptr %177, align 8 %179 = fmul double 0x401921FB54442D18, %178 %180 = call double @sin(double noundef %179) #3 %181 = fmul double %172, %180 %182 = load ptr, ptr %6, align 8 %183 = load i32, ptr %12, align 4 %184 = load i32, ptr %7, align 4 %185 = add nsw i32 %183, %184 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds double, ptr %182, i64 %186 store double %181, ptr %187, align 8 br label %188 188: ; preds = %140 %189 = load i32, ptr %7, align 4 %190 = add nsw i32 %189, 2 store i32 %190, ptr %7, align 4 %191 = load i32, ptr %7, align 4 %192 = load i32, ptr %8, align 4 %193 = mul nsw i32 2, %192 %194 = sub nsw i32 %193, 4 %195 = icmp sle i32 %191, %194 br i1 %195, label %140, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %188 br label %196 196: ; preds = %._crit_edge, %122 %197 = load i32, ptr %8, align 4 %198 = mul nsw i32 2, %197 %199 = sub nsw i32 %198, 2 store i32 %199, ptr %7, align 4 %200 = load ptr, ptr %10, align 8 %201 = load i32, ptr %7, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds double, ptr %200, i64 %202 %204 = load double, ptr %203, align 8 %205 = call double @log(double noundef %204) #3 %206 = fmul double -2.000000e+00, %205 %207 = call double @sqrt(double noundef %206) #3 %208 = load ptr, ptr %10, align 8 %209 = load i32, ptr %7, align 4 %210 = add nsw i32 %209, 1 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds double, ptr %208, i64 %211 %213 = load double, ptr %212, align 8 %214 = fmul double 0x401921FB54442D18, %213 %215 = call double @cos(double noundef %214) #3 %216 = fmul double %207, %215 %217 = load ptr, ptr %6, align 8 %218 = load i32, ptr %12, align 4 %219 = load i32, ptr %7, align 4 %220 = add nsw i32 %218, %219 %221 = sub nsw i32 %220, 1 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds double, ptr %217, i64 %222 store double %216, ptr %223, align 8 br label %224 224: ; preds = %196, %119 br label %225 225: ; preds = %224, %19 ret void } declare ptr @r8vec_uniform_01_new(i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #2 declare i32 @free(ptr noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkwsa9si6.c' source_filename = "/tmp/tmpkwsa9si6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"%s / %s = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"There are no solutions for %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_pairs(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [6 x i8], align 1 %5 = alloca [6 x i8], align 1 %6 = alloca [11 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %7, align 4 store i32 1234, ptr %8, align 4 store i32 6, ptr %10, align 4 br label %12 12: ; preds = %67, %1 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 98766 br i1 %14, label %15, label %70 15: ; preds = %12 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %3, align 4 %18 = mul nsw i32 %16, %17 store i32 %18, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp sgt i32 %19, 1233 br i1 %20, label %21, label %67 21: ; preds = %15 %22 = load i32, ptr %9, align 4 %23 = icmp slt i32 %22, 98766 br i1 %23, label %24, label %67 24: ; preds = %21 %25 = load i32, ptr %8, align 4 %26 = icmp slt i32 %25, 10000 br i1 %26, label %27, label %32 27: ; preds = %24 %28 = getelementptr inbounds [6 x i8], ptr %5, i64 0, i64 0 %29 = load i32, ptr %10, align 4 %30 = load i32, ptr %8, align 4 %31 = call i32 @snprintf(ptr noundef %28, i32 noundef %29, ptr noundef @.str, i32 noundef %30) br label %37 32: ; preds = %24 %33 = getelementptr inbounds [6 x i8], ptr %5, i64 0, i64 0 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr %8, align 4 %36 = call i32 @snprintf(ptr noundef %33, i32 noundef %34, ptr noundef @.str.1, i32 noundef %35) br label %37 37: ; preds = %32, %27 %38 = load i32, ptr %9, align 4 %39 = icmp slt i32 %38, 10000 br i1 %39, label %40, label %45 40: ; preds = %37 %41 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %9, align 4 %44 = call i32 @snprintf(ptr noundef %41, i32 noundef %42, ptr noundef @.str, i32 noundef %43) br label %50 45: ; preds = %37 %46 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %9, align 4 %49 = call i32 @snprintf(ptr noundef %46, i32 noundef %47, ptr noundef @.str.1, i32 noundef %48) br label %50 50: ; preds = %45, %40 %51 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0 %52 = getelementptr inbounds [6 x i8], ptr %5, i64 0, i64 0 %53 = call i32 @strcpy(ptr noundef %51, ptr noundef %52) %54 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0 %55 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %56 = call i32 @strcat(ptr noundef %54, ptr noundef %55) %57 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0 %58 = call i32 @check_duplicates(ptr noundef %57) store i32 %58, ptr %11, align 4 %59 = load i32, ptr %11, align 4 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %66 61: ; preds = %50 %62 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %63 = getelementptr inbounds [6 x i8], ptr %5, i64 0, i64 0 %64 = load i32, ptr %3, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %62, ptr noundef %63, i32 noundef %64) store i32 1, ptr %7, align 4 br label %66 66: ; preds = %61, %50 br label %67 67: ; preds = %66, %21, %15 %68 = load i32, ptr %8, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %8, align 4 br label %12, !llvm.loop !6 70: ; preds = %12 %71 = load i32, ptr %7, align 4 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %76 73: ; preds = %70 %74 = load i32, ptr %3, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %74) br label %76 76: ; preds = %73, %70 %77 = load i32, ptr %2, align 4 ret i32 %77 } declare i32 @snprintf(ptr noundef, 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 @check_duplicates(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkwsa9si6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"%s / %s = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"There are no solutions for %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_pairs(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [6 x i8], align 1 %5 = alloca [6 x i8], align 1 %6 = alloca [11 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %7, align 4 store i32 1234, ptr %8, align 4 store i32 6, ptr %10, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %12, 98766 br i1 %13, label %.lr.ph, label %71 .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %66 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %3, align 4 %17 = mul nsw i32 %15, %16 store i32 %17, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp sgt i32 %18, 1233 br i1 %19, label %20, label %66 20: ; preds = %14 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %21, 98766 br i1 %22, label %23, label %66 23: ; preds = %20 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 %24, 10000 br i1 %25, label %26, label %31 26: ; preds = %23 %27 = getelementptr inbounds [6 x i8], ptr %5, i64 0, i64 0 %28 = load i32, ptr %10, align 4 %29 = load i32, ptr %8, align 4 %30 = call i32 @snprintf(ptr noundef %27, i32 noundef %28, ptr noundef @.str, i32 noundef %29) br label %36 31: ; preds = %23 %32 = getelementptr inbounds [6 x i8], ptr %5, i64 0, i64 0 %33 = load i32, ptr %10, align 4 %34 = load i32, ptr %8, align 4 %35 = call i32 @snprintf(ptr noundef %32, i32 noundef %33, ptr noundef @.str.1, i32 noundef %34) br label %36 36: ; preds = %31, %26 %37 = load i32, ptr %9, align 4 %38 = icmp slt i32 %37, 10000 br i1 %38, label %39, label %44 39: ; preds = %36 %40 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %9, align 4 %43 = call i32 @snprintf(ptr noundef %40, i32 noundef %41, ptr noundef @.str, i32 noundef %42) br label %49 44: ; preds = %36 %45 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %46 = load i32, ptr %10, align 4 %47 = load i32, ptr %9, align 4 %48 = call i32 @snprintf(ptr noundef %45, i32 noundef %46, ptr noundef @.str.1, i32 noundef %47) br label %49 49: ; preds = %44, %39 %50 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0 %51 = getelementptr inbounds [6 x i8], ptr %5, i64 0, i64 0 %52 = call i32 @strcpy(ptr noundef %50, ptr noundef %51) %53 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0 %54 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %55 = call i32 @strcat(ptr noundef %53, ptr noundef %54) %56 = getelementptr inbounds [11 x i8], ptr %6, i64 0, i64 0 %57 = call i32 @check_duplicates(ptr noundef %56) store i32 %57, ptr %11, align 4 %58 = load i32, ptr %11, align 4 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %65 60: ; preds = %49 %61 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0 %62 = getelementptr inbounds [6 x i8], ptr %5, i64 0, i64 0 %63 = load i32, ptr %3, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %61, ptr noundef %62, i32 noundef %63) store i32 1, ptr %7, align 4 br label %65 65: ; preds = %60, %49 br label %66 66: ; preds = %65, %20, %14 %67 = load i32, ptr %8, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %8, align 4 %69 = load i32, ptr %8, align 4 %70 = icmp slt i32 %69, 98766 br i1 %70, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %71 71: ; preds = %._crit_edge, %1 %72 = load i32, ptr %7, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %77 74: ; preds = %71 %75 = load i32, ptr %3, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %75) br label %77 77: ; preds = %74, %71 %78 = load i32, ptr %2, align 4 ret i32 %78 } declare i32 @snprintf(ptr noundef, 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 @check_duplicates(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2wtfarvo.c' source_filename = "/tmp/tmp2wtfarvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @optind = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"Error Inicial\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @optind, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sge i32 %8, %9 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr @optind, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = call i32 @copyRootDirPaths(ptr noundef %17) %19 = call i32 @reinitialize(i32 noundef -1) store i32 %19, ptr %7, align 4 %20 = load i32, ptr @stdout, align 4 %21 = call i32 @fflush(i32 noundef %20) br label %22 22: ; preds = %33, %13 %23 = call i32 @FD_ZERO(ptr noundef %6) %24 = load i32, ptr @STDIN_FILENO, align 4 %25 = call i32 @FD_SET(i32 noundef %24, ptr noundef %6) %26 = load i32, ptr %7, align 4 %27 = call i32 @FD_SET(i32 noundef %26, ptr noundef %6) %28 = load i32, ptr %7, align 4 %29 = call i64 @FD_ISSET(i32 noundef %28, ptr noundef %6) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %22 %32 = call i32 @processInotifyEvents(ptr noundef %7) br label %33 33: ; preds = %31, %22 br label %22 } declare i32 @printf(ptr noundef) #1 declare i32 @copyRootDirPaths(ptr noundef) #1 declare i32 @reinitialize(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @processInotifyEvents(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2wtfarvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @optind = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"Error Inicial\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @optind, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sge i32 %8, %9 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr @optind, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = call i32 @copyRootDirPaths(ptr noundef %17) %19 = call i32 @reinitialize(i32 noundef -1) store i32 %19, ptr %7, align 4 %20 = load i32, ptr @stdout, align 4 %21 = call i32 @fflush(i32 noundef %20) br label %22 22: ; preds = %33, %13 %23 = call i32 @FD_ZERO(ptr noundef %6) %24 = load i32, ptr @STDIN_FILENO, align 4 %25 = call i32 @FD_SET(i32 noundef %24, ptr noundef %6) %26 = load i32, ptr %7, align 4 %27 = call i32 @FD_SET(i32 noundef %26, ptr noundef %6) %28 = load i32, ptr %7, align 4 %29 = call i64 @FD_ISSET(i32 noundef %28, ptr noundef %6) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %22 %32 = call i32 @processInotifyEvents(ptr noundef %7) br label %33 33: ; preds = %31, %22 br label %22 } declare i32 @printf(ptr noundef) #1 declare i32 @copyRootDirPaths(ptr noundef) #1 declare i32 @reinitialize(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @processInotifyEvents(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd984r91e.c' source_filename = "/tmp/tmpd984r91e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @walk(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %9 = load i64, ptr %5, align 8 store i64 %9, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 br label %11 11: ; preds = %23, %2 %12 = load i64, ptr %6, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %6, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %24 15: ; preds = %11 %16 = load ptr, ptr %7, align 8 store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %7, align 8 %18 = call ptr @getnext(ptr noundef %17) store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %23, label %21 21: ; preds = %15 %22 = load ptr, ptr %8, align 8 store ptr %22, ptr %3, align 8 br label %26 23: ; preds = %15 br label %11, !llvm.loop !6 24: ; preds = %11 %25 = load ptr, ptr %7, align 8 store ptr %25, ptr %3, align 8 br label %26 26: ; preds = %24, %21 %27 = load ptr, ptr %3, align 8 ret ptr %27 } declare ptr @getnext(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpd984r91e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @walk(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %9 = load i64, ptr %5, align 8 store i64 %9, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 %11 = load i64, ptr %6, align 8 %12 = add i64 %11, -1 store i64 %12, ptr %6, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %18 14: ; preds = %18 %15 = load i64, ptr %6, align 8 %16 = add i64 %15, -1 store i64 %16, ptr %6, align 8 %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %._crit_edge, !llvm.loop !6 18: ; preds = %.lr.ph, %14 %19 = load ptr, ptr %7, align 8 store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %7, align 8 %21 = call ptr @getnext(ptr noundef %20) store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %14, label %24 24: ; preds = %18 %25 = load ptr, ptr %8, align 8 store ptr %25, ptr %3, align 8 br label %28 ._crit_edge: ; preds = %14 br label %26 26: ; preds = %._crit_edge, %2 %27 = load ptr, ptr %7, align 8 store ptr %27, ptr %3, align 8 br label %28 28: ; preds = %26, %24 %29 = load ptr, ptr %3, align 8 ret ptr %29 } declare ptr @getnext(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0hbtrwvc.c' source_filename = "/tmp/tmp0hbtrwvc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"fun_stub_base_5_call:a = %d, b = %d, c = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"fun_stub_base_5_stub return %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fun_stub_base_5_call(i8 noundef signext %0, i32 noundef %1, i8 noundef signext %2) #0 { %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store i32 %1, ptr %5, align 4 store i8 %2, ptr %6, align 1 %8 = load i8, ptr %4, align 1 %9 = sext i8 %8 to i32 %10 = load i32, ptr %5, align 4 %11 = load i8, ptr %6, align 1 %12 = sext i8 %11 to i32 %13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %12) %14 = load i8, ptr %4, align 1 %15 = load i32, ptr %5, align 4 %16 = load i8, ptr %6, align 1 %17 = call i32 @fun_stub_base_5_stub(i8 noundef signext %14, i32 noundef %15, i8 noundef signext %16) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %18) %20 = load i32, ptr %7, align 4 ret i32 %20 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @fun_stub_base_5_stub(i8 noundef signext, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0hbtrwvc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"fun_stub_base_5_call:a = %d, b = %d, c = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"fun_stub_base_5_stub return %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fun_stub_base_5_call(i8 noundef signext %0, i32 noundef %1, i8 noundef signext %2) #0 { %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store i32 %1, ptr %5, align 4 store i8 %2, ptr %6, align 1 %8 = load i8, ptr %4, align 1 %9 = sext i8 %8 to i32 %10 = load i32, ptr %5, align 4 %11 = load i8, ptr %6, align 1 %12 = sext i8 %11 to i32 %13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %12) %14 = load i8, ptr %4, align 1 %15 = load i32, ptr %5, align 4 %16 = load i8, ptr %6, align 1 %17 = call i32 @fun_stub_base_5_stub(i8 noundef signext %14, i32 noundef %15, i8 noundef signext %16) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %18) %20 = load i32, ptr %7, align 4 ret i32 %20 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @fun_stub_base_5_stub(i8 noundef signext, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdy6d5ii_.c' source_filename = "/tmp/tmpdy6d5ii_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"We're so creative.\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Goodbye, world!\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"macro:a: %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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %6 6: ; preds = %0 store i32 47, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %7) br label %9 9: ; preds = %6 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdy6d5ii_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"We're so creative.\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Goodbye, world!\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"macro:a: %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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %6 6: ; preds = %0 store i32 47, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %7) br label %9 9: ; preds = %6 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzlrw5wni.c' source_filename = "/tmp/tmpzlrw5wni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Case %d: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) store i32 1, ptr %3, align 4 br label %6 6: ; preds = %38, %0 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %10, label %41 10: ; preds = %6 %11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2) %12 = load i32, ptr %1, align 4 %13 = srem i32 %12, 2 %14 = icmp ne i32 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %10 %16 = load i32, ptr %1, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %1, align 4 br label %18 18: ; preds = %15, %10 %19 = load i32, ptr %2, align 4 %20 = srem i32 %19, 2 %21 = icmp ne i32 %20, 0 br i1 %21, label %25, label %22 22: ; preds = %18 %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %22, %18 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %1, align 4 %29 = sub nsw i32 %27, %28 %30 = sdiv i32 %29, 2 %31 = add nsw i32 %30, 1 %32 = load i32, ptr %1, align 4 %33 = load i32, ptr %2, align 4 %34 = add nsw i32 %32, %33 %35 = mul nsw i32 %31, %34 %36 = sdiv i32 %35, 2 %37 = call i32 @printf(ptr noundef @.str.2, i32 noundef %26, i32 noundef %36) br label %38 38: ; preds = %25 %39 = load i32, ptr %3, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %3, align 4 br label %6, !llvm.loop !6 41: ; preds = %6 ret void } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzlrw5wni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Case %d: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) store i32 1, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %.lr.ph, label %43 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %37 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2) %11 = load i32, ptr %1, align 4 %12 = srem i32 %11, 2 %13 = icmp ne i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %9 %15 = load i32, ptr %1, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %1, align 4 br label %17 17: ; preds = %14, %9 %18 = load i32, ptr %2, align 4 %19 = srem i32 %18, 2 %20 = icmp ne i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %17 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %2, align 4 br label %24 24: ; preds = %21, %17 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %1, align 4 %28 = sub nsw i32 %26, %27 %29 = sdiv i32 %28, 2 %30 = add nsw i32 %29, 1 %31 = load i32, ptr %1, align 4 %32 = load i32, ptr %2, align 4 %33 = add nsw i32 %31, %32 %34 = mul nsw i32 %30, %33 %35 = sdiv i32 %34, 2 %36 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25, i32 noundef %35) br label %37 37: ; preds = %24 %38 = load i32, ptr %3, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %3, align 4 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp sle i32 %40, %41 br i1 %42, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %0 ret void } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqet9gkdq.c' source_filename = "/tmp/tmpqet9gkdq.c" target datalayout = "e-m:e-p270: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 [31 x i8] c"usage: numamon [args] [delay]\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c" -f forcibly overwrite counters\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c" -i count IO (default memory)\0A\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c" -a print absolute counter values (with delay)\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c" -s setup counters and exit\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c" -c clear counters and exit\0A\00", align 1 @.str.6 = private unnamed_addr constant [42 x i8] c" -m Print memory traffic (default)\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c" -C cpu{,cpu} only print for cpus\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c" -v Be verbose\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqet9gkdq.c" target datalayout = "e-m:e-p270: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 [31 x i8] c"usage: numamon [args] [delay]\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c" -f forcibly overwrite counters\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c" -i count IO (default memory)\0A\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c" -a print absolute counter values (with delay)\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c" -s setup counters and exit\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c" -c clear counters and exit\0A\00", align 1 @.str.6 = private unnamed_addr constant [42 x i8] c" -m Print memory traffic (default)\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c" -C cpu{,cpu} only print for cpus\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c" -v Be verbose\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdksdfjwk.c' source_filename = "/tmp/tmpdksdfjwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca 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 store i32 0, ptr %4, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %2, align 4 br label %8 8: ; preds = %11, %0 %9 = call i32 (...) @__VERIFIER_nondet_int() %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %1, align 4 br label %8, !llvm.loop !6 14: ; preds = %8 %15 = load i32, ptr %1, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sgt i32 %15, %16 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = load i32, ptr %1, align 4 store i32 %19, ptr %2, align 4 br label %20 20: ; preds = %18, %14 store i32 0, ptr %1, align 4 br label %21 21: ; preds = %24, %20 %22 = call i32 (...) @__VERIFIER_nondet_int() %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %30 24: ; preds = %21 %25 = load i32, ptr %1, align 4 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %1, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %1, align 4 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %21, !llvm.loop !8 30: ; preds = %21 store i32 0, ptr %6, align 4 %31 = load i32, ptr %1, align 4 store i32 %31, ptr %5, align 4 br label %32 32: ; preds = %30, %47 %33 = load i32, ptr %4, align 4 %34 = icmp sge i32 %33, 0 %35 = zext i1 %34 to i32 %36 = call i32 @__VERIFIER_assert(i32 noundef %35) %37 = load i32, ptr %4, align 4 %38 = sub nsw i32 %37, 1 store i32 %38, ptr %4, align 4 %39 = load i32, ptr %1, align 4 %40 = sub nsw i32 %39, 1 store i32 %40, ptr %1, align 4 %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 %5, align 4 %45 = icmp sge i32 %43, %44 br i1 %45, label %46, label %47 46: ; preds = %32 br label %48 47: ; preds = %32 br label %32 48: ; preds = %46 ret void } declare i32 @__VERIFIER_nondet_int(...) #1 declare i32 @__VERIFIER_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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdksdfjwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca 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 store i32 0, ptr %4, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (...) @__VERIFIER_nondet_int() store i32 %7, ptr %2, align 4 %8 = call i32 (...) @__VERIFIER_nondet_int() %9 = icmp ne i32 %8, 0 br i1 %9, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %1, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %1, align 4 %13 = call i32 (...) @__VERIFIER_nondet_int() %14 = icmp ne i32 %13, 0 br i1 %14, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 %16 = load i32, ptr %1, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sgt i32 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i32, ptr %1, align 4 store i32 %20, ptr %2, align 4 br label %21 21: ; preds = %19, %15 store i32 0, ptr %1, align 4 %22 = call i32 (...) @__VERIFIER_nondet_int() %23 = icmp ne i32 %22, 0 br i1 %23, label %.lr.ph2, label %32 .lr.ph2: ; preds = %21 br label %24 24: ; preds = %.lr.ph2, %24 %25 = load i32, ptr %1, align 4 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %1, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %1, align 4 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 %30 = call i32 (...) @__VERIFIER_nondet_int() %31 = icmp ne i32 %30, 0 br i1 %31, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %24 br label %32 32: ; preds = %._crit_edge3, %21 store i32 0, ptr %6, align 4 %33 = load i32, ptr %1, align 4 store i32 %33, ptr %5, align 4 br label %34 34: ; preds = %34, %32 %35 = load i32, ptr %4, align 4 %36 = icmp sge i32 %35, 0 %37 = zext i1 %36 to i32 %38 = call i32 @__VERIFIER_assert(i32 noundef %37) %39 = load i32, ptr %4, align 4 %40 = sub nsw i32 %39, 1 store i32 %40, ptr %4, align 4 %41 = load i32, ptr %1, align 4 %42 = sub nsw i32 %41, 1 store i32 %42, ptr %1, align 4 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp sge i32 %45, %46 br i1 %47, label %48, label %34 48: ; preds = %34 br label %49 49: ; preds = %48 ret void } declare i32 @__VERIFIER_nondet_int(...) #1 declare i32 @__VERIFIER_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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpq05cn8xa.c' source_filename = "/tmp/tmpq05cn8xa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuusage_get_jiffies_stat(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr null, ptr %3, align 8 %4 = load i32, ptr %2, align 4 %5 = call ptr @proc_get_jiffies_stat(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 ret ptr %6 } declare ptr @proc_get_jiffies_stat(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/tmpq05cn8xa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuusage_get_jiffies_stat(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr null, ptr %3, align 8 %4 = load i32, ptr %2, align 4 %5 = call ptr @proc_get_jiffies_stat(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 ret ptr %6 } declare ptr @proc_get_jiffies_stat(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/tmp4j1zjui4.c' source_filename = "/tmp/tmp4j1zjui4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @rpathy_value() %3 = icmp eq i32 %2, 57 %4 = xor i1 %3, true %5 = zext i1 %4 to i32 ret i32 %5 } declare i32 @rpathy_value(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4j1zjui4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @rpathy_value() %3 = icmp eq i32 %2, 57 %4 = xor i1 %3, true %5 = zext i1 %4 to i32 ret i32 %5 } declare i32 @rpathy_value(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbq43mshz.c' source_filename = "/tmp/tmpbq43mshz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getlinee(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %28, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = call i32 (...) @getchar() store i32 %13, ptr %6, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %6, align 4 %18 = icmp ne i32 %17, 10 br label %19 19: ; preds = %16, %12, %7 %20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ] br i1 %20, label %21, label %31 21: ; preds = %19 %22 = load i32, ptr %6, align 4 %23 = trunc i32 %22 to i8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %21 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 br label %7, !llvm.loop !6 31: ; preds = %19 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 10 br i1 %38, label %39, label %44 39: ; preds = %31 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 10, ptr %43, align 1 br label %44 44: ; preds = %39, %31 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %5, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 0, ptr %50, align 1 %51 = load i32, ptr %5, align 4 ret i32 %51 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbq43mshz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getlinee(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %28, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = call i32 (...) @getchar() store i32 %13, ptr %6, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %6, align 4 %18 = icmp ne i32 %17, 10 br label %19 19: ; preds = %16, %12, %7 %20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ] br i1 %20, label %21, label %31 21: ; preds = %19 %22 = load i32, ptr %6, align 4 %23 = trunc i32 %22 to i8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %21 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 br label %7, !llvm.loop !6 31: ; preds = %19 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 10 br i1 %38, label %39, label %44 39: ; preds = %31 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 10, ptr %43, align 1 br label %44 44: ; preds = %39, %31 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %5, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 0, ptr %50, align 1 %51 = load i32, ptr %5, align 4 ret i32 %51 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzkyb31cj.c' source_filename = "/tmp/tmpzkyb31cj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"preferences\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Preferences\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @roadmap_preferences_edit() #0 { %1 = call i32 @roadmap_preferences_show(ptr noundef @.str, ptr noundef @.str.1) ret void } declare i32 @roadmap_preferences_show(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/tmpzkyb31cj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"preferences\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Preferences\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @roadmap_preferences_edit() #0 { %1 = call i32 @roadmap_preferences_show(ptr noundef @.str, ptr noundef @.str.1) ret void } declare i32 @roadmap_preferences_show(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/tmp815somj2.c' source_filename = "/tmp/tmp815somj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Usage: %s filename\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) %13 = load i32, ptr @EXIT_SUCCESS, align 4 %14 = call i32 @exit(i32 noundef %13) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @printFileDetails(ptr noundef %18) %20 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %20 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printFileDetails(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp815somj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Usage: %s filename\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) %13 = load i32, ptr @EXIT_SUCCESS, align 4 %14 = call i32 @exit(i32 noundef %13) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @printFileDetails(ptr noundef %18) %20 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %20 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printFileDetails(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpz74umhqn.c' source_filename = "/tmp/tmpz74umhqn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @corrcoef(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store float 0.000000e+00, ptr %14, align 4 store float 0.000000e+00, ptr %15, align 4 store float 0.000000e+00, ptr %16, align 4 store float 0.000000e+00, ptr %17, align 4 store float 0.000000e+00, ptr %18, align 4 store i64 0, ptr %11, align 8 br label %19 19: ; preds = %36, %5 %20 = load i64, ptr %11, align 8 %21 = load i64, ptr %9, align 8 %22 = icmp ult i64 %20, %21 br i1 %22, label %23, label %39 23: ; preds = %19 %24 = load ptr, ptr %7, align 8 %25 = load i64, ptr %11, align 8 %26 = getelementptr inbounds float, ptr %24, i64 %25 %27 = load float, ptr %26, align 4 %28 = load float, ptr %18, align 4 %29 = fadd float %28, %27 store float %29, ptr %18, align 4 %30 = load ptr, ptr %8, align 8 %31 = load i64, ptr %11, align 8 %32 = getelementptr inbounds float, ptr %30, i64 %31 %33 = load float, ptr %32, align 4 %34 = load float, ptr %17, align 4 %35 = fadd float %34, %33 store float %35, ptr %17, align 4 br label %36 36: ; preds = %23 %37 = load i64, ptr %11, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %11, align 8 br label %19, !llvm.loop !6 39: ; preds = %19 %40 = load i64, ptr %9, align 8 %41 = uitofp i64 %40 to float %42 = load float, ptr %18, align 4 %43 = fdiv float %42, %41 store float %43, ptr %18, align 4 %44 = load i64, ptr %9, align 8 %45 = uitofp i64 %44 to float %46 = load float, ptr %17, align 4 %47 = fdiv float %46, %45 store float %47, ptr %17, align 4 store i64 0, ptr %11, align 8 br label %48 48: ; preds = %77, %39 %49 = load i64, ptr %11, align 8 %50 = load i64, ptr %9, align 8 %51 = icmp ult i64 %49, %50 br i1 %51, label %52, label %80 52: ; preds = %48 %53 = load ptr, ptr %7, align 8 %54 = load i64, ptr %11, align 8 %55 = getelementptr inbounds float, ptr %53, i64 %54 %56 = load float, ptr %55, align 4 %57 = load float, ptr %18, align 4 %58 = fsub float %56, %57 store float %58, ptr %13, align 4 %59 = load ptr, ptr %8, align 8 %60 = load i64, ptr %11, align 8 %61 = getelementptr inbounds float, ptr %59, i64 %60 %62 = load float, ptr %61, align 4 %63 = load float, ptr %17, align 4 %64 = fsub float %62, %63 store float %64, ptr %12, align 4 %65 = load float, ptr %13, align 4 %66 = load float, ptr %13, align 4 %67 = load float, ptr %16, align 4 %68 = call float @llvm.fmuladd.f32(float %65, float %66, float %67) store float %68, ptr %16, align 4 %69 = load float, ptr %12, align 4 %70 = load float, ptr %12, align 4 %71 = load float, ptr %14, align 4 %72 = call float @llvm.fmuladd.f32(float %69, float %70, float %71) store float %72, ptr %14, align 4 %73 = load float, ptr %13, align 4 %74 = load float, ptr %12, align 4 %75 = load float, ptr %15, align 4 %76 = call float @llvm.fmuladd.f32(float %73, float %74, float %75) store float %76, ptr %15, align 4 br label %77 77: ; preds = %52 %78 = load i64, ptr %11, align 8 %79 = add i64 %78, 1 store i64 %79, ptr %11, align 8 br label %48, !llvm.loop !8 80: ; preds = %48 %81 = load i32, ptr %6, align 4 %82 = icmp eq i32 %81, 0 br i1 %82, label %83, label %91 83: ; preds = %80 %84 = load float, ptr %15, align 4 %85 = load float, ptr %16, align 4 %86 = load float, ptr %14, align 4 %87 = fmul float %85, %86 %88 = call float @sqrt(float noundef %87) %89 = fdiv float %84, %88 %90 = load ptr, ptr %10, align 8 store float %89, ptr %90, align 4 br label %91 91: ; preds = %83, %80 %92 = load i32, ptr %6, align 4 %93 = icmp ne i32 %92, 0 br i1 %93, label %94, label %100 94: ; preds = %91 %95 = load float, ptr %15, align 4 %96 = load i64, ptr %9, align 8 %97 = uitofp i64 %96 to float %98 = fdiv float %95, %97 %99 = load ptr, ptr %10, align 8 store float %98, ptr %99, align 4 br label %100 100: ; preds = %94, %91 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare float @sqrt(float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz74umhqn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @corrcoef(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store float 0.000000e+00, ptr %14, align 4 store float 0.000000e+00, ptr %15, align 4 store float 0.000000e+00, ptr %16, align 4 store float 0.000000e+00, ptr %17, align 4 store float 0.000000e+00, ptr %18, align 4 store i64 0, ptr %11, align 8 %19 = load i64, ptr %11, align 8 %20 = load i64, ptr %9, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %.lr.ph, label %41 .lr.ph: ; preds = %5 br label %22 22: ; preds = %.lr.ph, %35 %23 = load ptr, ptr %7, align 8 %24 = load i64, ptr %11, align 8 %25 = getelementptr inbounds float, ptr %23, i64 %24 %26 = load float, ptr %25, align 4 %27 = load float, ptr %18, align 4 %28 = fadd float %27, %26 store float %28, ptr %18, align 4 %29 = load ptr, ptr %8, align 8 %30 = load i64, ptr %11, align 8 %31 = getelementptr inbounds float, ptr %29, i64 %30 %32 = load float, ptr %31, align 4 %33 = load float, ptr %17, align 4 %34 = fadd float %33, %32 store float %34, ptr %17, align 4 br label %35 35: ; preds = %22 %36 = load i64, ptr %11, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %11, align 8 %38 = load i64, ptr %11, align 8 %39 = load i64, ptr %9, align 8 %40 = icmp ult i64 %38, %39 br i1 %40, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %5 %42 = load i64, ptr %9, align 8 %43 = uitofp i64 %42 to float %44 = load float, ptr %18, align 4 %45 = fdiv float %44, %43 store float %45, ptr %18, align 4 %46 = load i64, ptr %9, align 8 %47 = uitofp i64 %46 to float %48 = load float, ptr %17, align 4 %49 = fdiv float %48, %47 store float %49, ptr %17, align 4 store i64 0, ptr %11, align 8 %50 = load i64, ptr %11, align 8 %51 = load i64, ptr %9, align 8 %52 = icmp ult i64 %50, %51 br i1 %52, label %.lr.ph2, label %84 .lr.ph2: ; preds = %41 br label %53 53: ; preds = %.lr.ph2, %78 %54 = load ptr, ptr %7, align 8 %55 = load i64, ptr %11, align 8 %56 = getelementptr inbounds float, ptr %54, i64 %55 %57 = load float, ptr %56, align 4 %58 = load float, ptr %18, align 4 %59 = fsub float %57, %58 store float %59, ptr %13, align 4 %60 = load ptr, ptr %8, align 8 %61 = load i64, ptr %11, align 8 %62 = getelementptr inbounds float, ptr %60, i64 %61 %63 = load float, ptr %62, align 4 %64 = load float, ptr %17, align 4 %65 = fsub float %63, %64 store float %65, ptr %12, align 4 %66 = load float, ptr %13, align 4 %67 = load float, ptr %13, align 4 %68 = load float, ptr %16, align 4 %69 = call float @llvm.fmuladd.f32(float %66, float %67, float %68) store float %69, ptr %16, align 4 %70 = load float, ptr %12, align 4 %71 = load float, ptr %12, align 4 %72 = load float, ptr %14, align 4 %73 = call float @llvm.fmuladd.f32(float %70, float %71, float %72) store float %73, ptr %14, align 4 %74 = load float, ptr %13, align 4 %75 = load float, ptr %12, align 4 %76 = load float, ptr %15, align 4 %77 = call float @llvm.fmuladd.f32(float %74, float %75, float %76) store float %77, ptr %15, align 4 br label %78 78: ; preds = %53 %79 = load i64, ptr %11, align 8 %80 = add i64 %79, 1 store i64 %80, ptr %11, align 8 %81 = load i64, ptr %11, align 8 %82 = load i64, ptr %9, align 8 %83 = icmp ult i64 %81, %82 br i1 %83, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %78 br label %84 84: ; preds = %._crit_edge3, %41 %85 = load i32, ptr %6, align 4 %86 = icmp eq i32 %85, 0 br i1 %86, label %87, label %95 87: ; preds = %84 %88 = load float, ptr %15, align 4 %89 = load float, ptr %16, align 4 %90 = load float, ptr %14, align 4 %91 = fmul float %89, %90 %92 = call float @sqrt(float noundef %91) %93 = fdiv float %88, %92 %94 = load ptr, ptr %10, align 8 store float %93, ptr %94, align 4 br label %95 95: ; preds = %87, %84 %96 = load i32, ptr %6, align 4 %97 = icmp ne i32 %96, 0 br i1 %97, label %98, label %104 98: ; preds = %95 %99 = load float, ptr %15, align 4 %100 = load i64, ptr %9, align 8 %101 = uitofp i64 %100 to float %102 = fdiv float %99, %101 %103 = load ptr, ptr %10, align 8 store float %102, ptr %103, align 4 br label %104 104: ; preds = %98, %95 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare float @sqrt(float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp3_kg64nf.c' source_filename = "/tmp/tmp3_kg64nf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xf9\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0xf9() #0 { %1 = call i64 @isdigit(i32 noundef 249) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1250, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3_kg64nf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xf9\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0xf9() #0 { %1 = call i64 @isdigit(i32 noundef 249) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1250, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkz2kprd3.c' source_filename = "/tmp/tmpkz2kprd3.c" target datalayout = "e-m:e-p270: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/tmpkz2kprd3.c" target datalayout = "e-m:e-p270: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/tmps_q_zi39.c' source_filename = "/tmp/tmps_q_zi39.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heapBuild(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %10 = load i32, ptr %6, align 4 %11 = sdiv i32 %10, 2 store i32 %11, ptr %9, align 4 br label %12 12: ; preds = %22, %4 %13 = load i32, ptr %9, align 4 %14 = icmp sge i32 %13, 1 br i1 %14, label %15, label %25 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = load ptr, ptr %8, align 8 %21 = call i32 @minHeapRestore(ptr noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %20) br label %22 22: ; preds = %15 %23 = load i32, ptr %9, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %9, align 4 br label %12, !llvm.loop !6 25: ; preds = %12 ret void } declare i32 @minHeapRestore(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps_q_zi39.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heapBuild(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %10 = load i32, ptr %6, align 4 %11 = sdiv i32 %10, 2 store i32 %11, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = icmp sge i32 %12, 1 br i1 %13, label %.lr.ph, label %26 .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %21 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = load ptr, ptr %8, align 8 %20 = call i32 @minHeapRestore(ptr noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, ptr noundef %19) br label %21 21: ; preds = %14 %22 = load i32, ptr %9, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %9, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp sge i32 %24, 1 br i1 %25, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %4 ret void } declare i32 @minHeapRestore(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl7857cta.c' source_filename = "/tmp/tmpl7857cta.c" target datalayout = "e-m:e-p270: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/tmpl7857cta.c" target datalayout = "e-m:e-p270: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/tmpwkepvejf.c' source_filename = "/tmp/tmpwkepvejf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_operando(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %8, align 4 store i32 %9, ptr %6, align 4 store ptr null, ptr %7, align 8 br label %10 10: ; preds = %30, %2 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %12, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %11, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i64 @isalpha(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %28, label %19 19: ; preds = %10 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %21, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = load i8, ptr %24, align 1 %26 = call i64 @isdigit(i8 noundef signext %25) %27 = icmp ne i64 %26, 0 br label %28 28: ; preds = %19, %10 %29 = phi i1 [ true, %10 ], [ %27, %19 ] br i1 %29, label %30, label %34 30: ; preds = %28 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %31, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4 br label %10, !llvm.loop !6 34: ; preds = %28 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr %6, align 4 %38 = sub nsw i32 %36, %37 %39 = sext i32 %38 to i64 %40 = mul i64 %39, 1 %41 = trunc i64 %40 to i32 %42 = call i64 @malloc(i32 noundef %41) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %7, align 8 br label %44 44: ; preds = %51, %34 %45 = load i32, ptr %5, align 4 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %6, align 4 %49 = sub nsw i32 %47, %48 %50 = icmp slt i32 %45, %49 br i1 %50, label %51, label %65 51: ; preds = %44 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %6, align 4 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %53, %54 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %52, i64 %56 %58 = load i8, ptr %57, align 1 %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 %58, ptr %62, align 1 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %5, align 4 br label %44, !llvm.loop !8 65: ; preds = %44 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %5, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 store i8 0, ptr %69, align 1 %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr %70, align 4 %72 = add nsw i32 %71, -1 store i32 %72, ptr %70, align 4 %73 = load ptr, ptr %7, align 8 ret ptr %73 } declare i64 @isalpha(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwkepvejf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_operando(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %8, align 4 store i32 %9, ptr %6, align 4 store ptr null, ptr %7, align 8 br label %10 10: ; preds = %30, %2 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %12, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %11, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i64 @isalpha(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %28, label %19 19: ; preds = %10 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %21, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = load i8, ptr %24, align 1 %26 = call i64 @isdigit(i8 noundef signext %25) %27 = icmp ne i64 %26, 0 br label %28 28: ; preds = %19, %10 %29 = phi i1 [ true, %10 ], [ %27, %19 ] br i1 %29, label %30, label %34 30: ; preds = %28 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %31, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4 br label %10, !llvm.loop !6 34: ; preds = %28 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr %6, align 4 %38 = sub nsw i32 %36, %37 %39 = sext i32 %38 to i64 %40 = mul i64 %39, 1 %41 = trunc i64 %40 to i32 %42 = call i64 @malloc(i32 noundef %41) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %7, align 8 %44 = load i32, ptr %5, align 4 %45 = load ptr, ptr %4, align 8 %46 = load i32, ptr %45, align 4 %47 = load i32, ptr %6, align 4 %48 = sub nsw i32 %46, %47 %49 = icmp slt i32 %44, %48 br i1 %49, label %.lr.ph, label %70 .lr.ph: ; preds = %34 br label %50 50: ; preds = %.lr.ph, %50 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %52, %53 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %51, i64 %55 %57 = load i8, ptr %56, align 1 %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 %57, ptr %61, align 1 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %5, align 4 %64 = load i32, ptr %5, align 4 %65 = load ptr, ptr %4, align 8 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr %6, align 4 %68 = sub nsw i32 %66, %67 %69 = icmp slt i32 %64, %68 br i1 %69, label %50, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %50 br label %70 70: ; preds = %._crit_edge, %34 %71 = load ptr, ptr %7, align 8 %72 = load i32, ptr %5, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 store i8 0, ptr %74, align 1 %75 = load ptr, ptr %4, align 8 %76 = load i32, ptr %75, align 4 %77 = add nsw i32 %76, -1 store i32 %77, ptr %75, align 4 %78 = load ptr, ptr %7, align 8 ret ptr %78 } declare i64 @isalpha(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbhj_03ok.c' source_filename = "/tmp/tmpbhj_03ok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DashZigZag(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 store ptr %0, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds double, ptr %9, i64 2 %11 = load double, ptr %10, align 8 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds double, ptr %12, i64 0 %14 = load double, ptr %13, align 8 %15 = fsub double %11, %14 store double %15, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds double, ptr %16, i64 3 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %20, align 8 %22 = fsub double %18, %21 store double %22, ptr %4, align 8 %23 = load double, ptr %3, align 8 %24 = load double, ptr %3, align 8 %25 = load double, ptr %4, align 8 %26 = load double, ptr %4, align 8 %27 = fmul double %25, %26 %28 = call double @llvm.fmuladd.f64(double %23, double %24, double %27) %29 = call double @sqrt(double noundef %28) #4 store double %29, ptr %5, align 8 %30 = load ptr, ptr %2, align 8 %31 = getelementptr inbounds double, ptr %30, i64 6 %32 = load double, ptr %31, align 8 store double %32, ptr %6, align 8 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds double, ptr %33, i64 5 %35 = load double, ptr %34, align 8 %36 = call double @llvm.fmuladd.f64(double %35, double 2.000000e+00, double 5.000000e-01) %37 = fptosi double %36 to i32 store i32 %37, ptr %7, align 4 %38 = load double, ptr %5, align 8 %39 = load i32, ptr %7, align 4 %40 = mul nsw i32 %39, 2 %41 = sitofp i32 %40 to double %42 = fdiv double %38, %41 store double %42, ptr %8, align 8 %43 = load ptr, ptr %2, align 8 %44 = getelementptr inbounds double, ptr %43, i64 0 %45 = load double, ptr %44, align 8 %46 = load ptr, ptr %2, align 8 %47 = getelementptr inbounds double, ptr %46, i64 1 %48 = load double, ptr %47, align 8 %49 = call i32 @SetTransferMatrix(double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef %45, double noundef %48) %50 = load double, ptr %3, align 8 %51 = load double, ptr %5, align 8 %52 = fdiv double %50, %51 %53 = load double, ptr %4, align 8 %54 = load double, ptr %5, align 8 %55 = fdiv double %53, %54 %56 = load double, ptr %4, align 8 %57 = fneg double %56 %58 = load double, ptr %5, align 8 %59 = fdiv double %57, %58 %60 = load double, ptr %3, align 8 %61 = load double, ptr %5, align 8 %62 = fdiv double %60, %61 %63 = call i32 @SetTransferMatrix(double noundef %52, double noundef %55, double noundef %59, double noundef %62, double noundef 0.000000e+00, double noundef 0.000000e+00) %64 = load double, ptr %8, align 8 %65 = load double, ptr %8, align 8 %66 = load ptr, ptr %2, align 8 %67 = getelementptr inbounds double, ptr %66, i64 4 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %2, align 8 %70 = getelementptr inbounds double, ptr %69, i64 4 %71 = load double, ptr %70, align 8 %72 = fmul double %68, %71 %73 = call double @llvm.fmuladd.f64(double %64, double %65, double %72) %74 = call double @sqrt(double noundef %73) #4 store double %74, ptr %8, align 8 %75 = load double, ptr %8, align 8 %76 = load double, ptr %6, align 8 %77 = fmul double 2.000000e+00, %76 %78 = fdiv double %75, %77 %79 = fptosi double %78 to i32 store i32 %79, ptr %7, align 4 %80 = load i32, ptr %7, align 4 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %83 82: ; preds = %1 store i32 1, ptr %7, align 4 br label %83 83: ; preds = %82, %1 %84 = load double, ptr %8, align 8 %85 = load double, ptr %6, align 8 %86 = fmul double 2.000000e+00, %85 %87 = load i32, ptr %7, align 4 %88 = sitofp i32 %87 to double %89 = fneg double %86 %90 = call double @llvm.fmuladd.f64(double %89, double %88, double %84) %91 = call i64 @fabs(double noundef %90) %92 = load double, ptr %8, align 8 %93 = load double, ptr %6, align 8 %94 = fmul double 2.000000e+00, %93 %95 = load i32, ptr %7, align 4 %96 = add nsw i32 %95, 1 %97 = sitofp i32 %96 to double %98 = fneg double %94 %99 = call double @llvm.fmuladd.f64(double %98, double %97, double %92) %100 = call i64 @fabs(double noundef %99) %101 = icmp sgt i64 %91, %100 br i1 %101, label %102, label %105 102: ; preds = %83 %103 = load i32, ptr %7, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %7, align 4 br label %105 105: ; preds = %102, %83 %106 = load double, ptr %8, align 8 %107 = load i32, ptr %7, align 4 %108 = mul nsw i32 2, %107 %109 = sitofp i32 %108 to double %110 = fdiv double %106, %109 store double %110, ptr %6, align 8 %111 = load double, ptr %6, align 8 %112 = load double, ptr %6, align 8 %113 = fdiv double %112, 2.000000e+00 %114 = call i32 @SetDashSize(double noundef %111, double noundef %113) %115 = load ptr, ptr %2, align 8 %116 = load double, ptr %5, align 8 %117 = call i32 @ZigZagHelp(ptr noundef %115, double noundef %116) ret void } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @SetTransferMatrix(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #3 declare i64 @fabs(double noundef) #3 declare i32 @SetDashSize(double noundef, double noundef) #3 declare i32 @ZigZagHelp(ptr noundef, double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbhj_03ok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DashZigZag(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 store ptr %0, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds double, ptr %9, i64 2 %11 = load double, ptr %10, align 8 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds double, ptr %12, i64 0 %14 = load double, ptr %13, align 8 %15 = fsub double %11, %14 store double %15, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds double, ptr %16, i64 3 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %20, align 8 %22 = fsub double %18, %21 store double %22, ptr %4, align 8 %23 = load double, ptr %3, align 8 %24 = load double, ptr %3, align 8 %25 = load double, ptr %4, align 8 %26 = load double, ptr %4, align 8 %27 = fmul double %25, %26 %28 = call double @llvm.fmuladd.f64(double %23, double %24, double %27) %29 = call double @sqrt(double noundef %28) #4 store double %29, ptr %5, align 8 %30 = load ptr, ptr %2, align 8 %31 = getelementptr inbounds double, ptr %30, i64 6 %32 = load double, ptr %31, align 8 store double %32, ptr %6, align 8 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds double, ptr %33, i64 5 %35 = load double, ptr %34, align 8 %36 = call double @llvm.fmuladd.f64(double %35, double 2.000000e+00, double 5.000000e-01) %37 = fptosi double %36 to i32 store i32 %37, ptr %7, align 4 %38 = load double, ptr %5, align 8 %39 = load i32, ptr %7, align 4 %40 = mul nsw i32 %39, 2 %41 = sitofp i32 %40 to double %42 = fdiv double %38, %41 store double %42, ptr %8, align 8 %43 = load ptr, ptr %2, align 8 %44 = getelementptr inbounds double, ptr %43, i64 0 %45 = load double, ptr %44, align 8 %46 = load ptr, ptr %2, align 8 %47 = getelementptr inbounds double, ptr %46, i64 1 %48 = load double, ptr %47, align 8 %49 = call i32 @SetTransferMatrix(double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef %45, double noundef %48) %50 = load double, ptr %3, align 8 %51 = load double, ptr %5, align 8 %52 = fdiv double %50, %51 %53 = load double, ptr %4, align 8 %54 = load double, ptr %5, align 8 %55 = fdiv double %53, %54 %56 = load double, ptr %4, align 8 %57 = fneg double %56 %58 = load double, ptr %5, align 8 %59 = fdiv double %57, %58 %60 = load double, ptr %3, align 8 %61 = load double, ptr %5, align 8 %62 = fdiv double %60, %61 %63 = call i32 @SetTransferMatrix(double noundef %52, double noundef %55, double noundef %59, double noundef %62, double noundef 0.000000e+00, double noundef 0.000000e+00) %64 = load double, ptr %8, align 8 %65 = load double, ptr %8, align 8 %66 = load ptr, ptr %2, align 8 %67 = getelementptr inbounds double, ptr %66, i64 4 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %2, align 8 %70 = getelementptr inbounds double, ptr %69, i64 4 %71 = load double, ptr %70, align 8 %72 = fmul double %68, %71 %73 = call double @llvm.fmuladd.f64(double %64, double %65, double %72) %74 = call double @sqrt(double noundef %73) #4 store double %74, ptr %8, align 8 %75 = load double, ptr %8, align 8 %76 = load double, ptr %6, align 8 %77 = fmul double 2.000000e+00, %76 %78 = fdiv double %75, %77 %79 = fptosi double %78 to i32 store i32 %79, ptr %7, align 4 %80 = load i32, ptr %7, align 4 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %83 82: ; preds = %1 store i32 1, ptr %7, align 4 br label %83 83: ; preds = %82, %1 %84 = load double, ptr %8, align 8 %85 = load double, ptr %6, align 8 %86 = fmul double 2.000000e+00, %85 %87 = load i32, ptr %7, align 4 %88 = sitofp i32 %87 to double %89 = fneg double %86 %90 = call double @llvm.fmuladd.f64(double %89, double %88, double %84) %91 = call i64 @fabs(double noundef %90) %92 = load double, ptr %8, align 8 %93 = load double, ptr %6, align 8 %94 = fmul double 2.000000e+00, %93 %95 = load i32, ptr %7, align 4 %96 = add nsw i32 %95, 1 %97 = sitofp i32 %96 to double %98 = fneg double %94 %99 = call double @llvm.fmuladd.f64(double %98, double %97, double %92) %100 = call i64 @fabs(double noundef %99) %101 = icmp sgt i64 %91, %100 br i1 %101, label %102, label %105 102: ; preds = %83 %103 = load i32, ptr %7, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %7, align 4 br label %105 105: ; preds = %102, %83 %106 = load double, ptr %8, align 8 %107 = load i32, ptr %7, align 4 %108 = mul nsw i32 2, %107 %109 = sitofp i32 %108 to double %110 = fdiv double %106, %109 store double %110, ptr %6, align 8 %111 = load double, ptr %6, align 8 %112 = load double, ptr %6, align 8 %113 = fdiv double %112, 2.000000e+00 %114 = call i32 @SetDashSize(double noundef %111, double noundef %113) %115 = load ptr, ptr %2, align 8 %116 = load double, ptr %5, align 8 %117 = call i32 @ZigZagHelp(ptr noundef %115, double noundef %116) ret void } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @SetTransferMatrix(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #3 declare i64 @fabs(double noundef) #3 declare i32 @SetDashSize(double noundef, double noundef) #3 declare i32 @ZigZagHelp(ptr noundef, double 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfhlggj0i.c' source_filename = "/tmp/tmpfhlggj0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfhlggj0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpktutm07w.c' source_filename = "/tmp/tmpktutm07w.c" target datalayout = "e-m:e-p270: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/tmpktutm07w.c" target datalayout = "e-m:e-p270: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/tmp4ebf5w68.c' source_filename = "/tmp/tmp4ebf5w68.c" target datalayout = "e-m:e-p270: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/tmp4ebf5w68.c" target datalayout = "e-m:e-p270: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/tmprj_m5k_3.c' source_filename = "/tmp/tmprj_m5k_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @SIG_BLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__sigjmp_save(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 = icmp ne i32 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %2 %8 = load i32, ptr @SIG_BLOCK, align 4 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i64 0 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i32 0, i32 1 %12 = call i64 @__sigprocmask(i32 noundef %8, ptr noundef null, ptr noundef %11) %13 = icmp eq i64 %12, 0 br label %14 14: ; preds = %7, %2 %15 = phi i1 [ false, %2 ], [ %13, %7 ] %16 = zext i1 %15 to i32 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 0 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i32 0, i32 0 store i32 %16, ptr %19, align 4 ret i32 0 } declare i64 @__sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprj_m5k_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @SIG_BLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__sigjmp_save(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 = icmp ne i32 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %2 %8 = load i32, ptr @SIG_BLOCK, align 4 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i64 0 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i32 0, i32 1 %12 = call i64 @__sigprocmask(i32 noundef %8, ptr noundef null, ptr noundef %11) %13 = icmp eq i64 %12, 0 br label %14 14: ; preds = %7, %2 %15 = phi i1 [ false, %2 ], [ %13, %7 ] %16 = zext i1 %15 to i32 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 0 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i32 0, i32 0 store i32 %16, ptr %19, align 4 ret i32 0 } declare i64 @__sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiwat7jsv.c' source_filename = "/tmp/tmpiwat7jsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_NORMALIZE = dso_local global i32 0, align 4 @GL_POLYGON = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @myDisc(float noundef %0, i32 noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca i32, align 4 store float %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %10 = load i32, ptr @GL_NORMALIZE, align 4 %11 = call i32 @glEnable(i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = sitofp i32 %12 to float %14 = fpext float %13 to double %15 = fdiv double 0x401921FB543DA7A8, %14 %16 = fptrunc double %15 to float store float %16, ptr %8, align 4 %17 = call i32 (...) @glPushMatrix() store float 0.000000e+00, ptr %6, align 4 %18 = load i32, ptr @GL_POLYGON, align 4 %19 = call i32 @glBegin(i32 noundef %18) %20 = call i32 @glNormal3f(double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) store i32 0, ptr %9, align 4 br label %21 21: ; preds = %44, %2 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %47 25: ; preds = %21 %26 = load float, ptr %3, align 4 %27 = load float, ptr %8, align 4 %28 = load i32, ptr %9, align 4 %29 = sitofp i32 %28 to float %30 = fmul float %27, %29 %31 = call float @cos(float noundef %30) %32 = fmul float %26, %31 store float %32, ptr %5, align 4 %33 = load float, ptr %3, align 4 %34 = load float, ptr %8, align 4 %35 = load i32, ptr %9, align 4 %36 = sitofp i32 %35 to float %37 = fmul float %34, %36 %38 = call float @sin(float noundef %37) %39 = fmul float %33, %38 store float %39, ptr %7, align 4 %40 = load float, ptr %5, align 4 %41 = load float, ptr %6, align 4 %42 = load float, ptr %7, align 4 %43 = call i32 @glVertex3f(float noundef %40, float noundef %41, float noundef %42) br label %44 44: ; preds = %25 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 br label %21, !llvm.loop !6 47: ; preds = %21 %48 = call i32 (...) @glEnd() %49 = call i32 (...) @glPopMatrix() %50 = load i32, ptr @GL_NORMALIZE, align 4 %51 = call i32 @glDisable(i32 noundef %50) ret void } declare i32 @glEnable(i32 noundef) #1 declare i32 @glPushMatrix(...) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glNormal3f(double noundef, double noundef, double noundef) #1 declare float @cos(float noundef) #1 declare float @sin(float noundef) #1 declare i32 @glVertex3f(float noundef, float noundef, float noundef) #1 declare i32 @glEnd(...) #1 declare i32 @glPopMatrix(...) #1 declare i32 @glDisable(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/tmpiwat7jsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_NORMALIZE = dso_local global i32 0, align 4 @GL_POLYGON = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @myDisc(float noundef %0, i32 noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca i32, align 4 store float %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %10 = load i32, ptr @GL_NORMALIZE, align 4 %11 = call i32 @glEnable(i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = sitofp i32 %12 to float %14 = fpext float %13 to double %15 = fdiv double 0x401921FB543DA7A8, %14 %16 = fptrunc double %15 to float store float %16, ptr %8, align 4 %17 = call i32 (...) @glPushMatrix() store float 0.000000e+00, ptr %6, align 4 %18 = load i32, ptr @GL_POLYGON, align 4 %19 = call i32 @glBegin(i32 noundef %18) %20 = call i32 @glNormal3f(double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) store i32 0, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %49 .lr.ph: ; preds = %2 br label %24 24: ; preds = %.lr.ph, %43 %25 = load float, ptr %3, align 4 %26 = load float, ptr %8, align 4 %27 = load i32, ptr %9, align 4 %28 = sitofp i32 %27 to float %29 = fmul float %26, %28 %30 = call float @cos(float noundef %29) %31 = fmul float %25, %30 store float %31, ptr %5, align 4 %32 = load float, ptr %3, align 4 %33 = load float, ptr %8, align 4 %34 = load i32, ptr %9, align 4 %35 = sitofp i32 %34 to float %36 = fmul float %33, %35 %37 = call float @sin(float noundef %36) %38 = fmul float %32, %37 store float %38, ptr %7, align 4 %39 = load float, ptr %5, align 4 %40 = load float, ptr %6, align 4 %41 = load float, ptr %7, align 4 %42 = call i32 @glVertex3f(float noundef %39, float noundef %40, float noundef %41) br label %43 43: ; preds = %24 %44 = load i32, ptr %9, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %9, align 4 %46 = load i32, ptr %9, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %2 %50 = call i32 (...) @glEnd() %51 = call i32 (...) @glPopMatrix() %52 = load i32, ptr @GL_NORMALIZE, align 4 %53 = call i32 @glDisable(i32 noundef %52) ret void } declare i32 @glEnable(i32 noundef) #1 declare i32 @glPushMatrix(...) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glNormal3f(double noundef, double noundef, double noundef) #1 declare float @cos(float noundef) #1 declare float @sin(float noundef) #1 declare i32 @glVertex3f(float noundef, float noundef, float noundef) #1 declare i32 @glEnd(...) #1 declare i32 @glPopMatrix(...) #1 declare i32 @glDisable(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/tmpbdtgpl4b.c' source_filename = "/tmp/tmpbdtgpl4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 store i32 %6, ptr %4, align 4 br label %7 7: ; preds = %19, %0 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %2, align 4 %10 = mul nsw i32 %9, 2 %11 = icmp sle i32 %8, %10 br i1 %11, label %12, label %22 12: ; preds = %7 %13 = load i32, ptr %4, align 4 %14 = call i32 @check_prime(i32 noundef %13) store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %12 br label %22 18: ; preds = %12 br label %19 19: ; preds = %18 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 br label %7, !llvm.loop !6 22: ; preds = %17, %7 %23 = load i32, ptr %4, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @check_prime(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbdtgpl4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, 2 %10 = icmp sle i32 %7, %9 br i1 %10, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %18 %12 = load i32, ptr %4, align 4 %13 = call i32 @check_prime(i32 noundef %12) store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %11 br label %25 17: ; preds = %11 br label %18 18: ; preds = %17 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %2, align 4 %23 = mul nsw i32 %22, 2 %24 = icmp sle i32 %21, %23 br i1 %24, label %11, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %18 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %25 25: ; preds = %.loopexit, %16 %26 = load i32, ptr %4, align 4 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @check_prime(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpk6fo4sx9.c' source_filename = "/tmp/tmpk6fo4sx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigar_rpc_strerror(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 i64 @clnt_sperrno(i32 noundef %3) %5 = inttoptr i64 %4 to ptr ret ptr %5 } declare i64 @clnt_sperrno(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/tmpk6fo4sx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigar_rpc_strerror(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 i64 @clnt_sperrno(i32 noundef %3) %5 = inttoptr i64 %4 to ptr ret ptr %5 } declare i64 @clnt_sperrno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_4ckl5lv.c' source_filename = "/tmp/tmp_4ckl5lv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shptest test_number\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"test0.shp\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"test1.shp\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"test2.shp\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"test3.shp\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"test4.shp\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"test5.shp\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"test6.shp\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"test7.shp\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"test8.shp\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"test9.shp\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"test10.shp\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"test11.shp\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"test12.shp\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"test13.shp\00", align 1 @.str.15 = private unnamed_addr constant [27 x i8] c"Test `%s' not recognised.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %11 %18 = call i32 @Test_WritePoints(i32 noundef 0, ptr noundef @.str.1) br label %142 19: ; preds = %11 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %27 25: ; preds = %19 %26 = call i32 @Test_WritePoints(i32 noundef 1, ptr noundef @.str.2) br label %141 27: ; preds = %19 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) %32 = icmp eq i32 %31, 2 br i1 %32, label %33, label %35 33: ; preds = %27 %34 = call i32 @Test_WritePoints(i32 noundef 11, ptr noundef @.str.3) br label %140 35: ; preds = %27 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 @atoi(ptr noundef %38) %40 = icmp eq i32 %39, 3 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 @Test_WritePoints(i32 noundef 21, ptr noundef @.str.4) br label %139 43: ; preds = %35 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = call i32 @atoi(ptr noundef %46) %48 = icmp eq i32 %47, 4 br i1 %48, label %49, label %51 49: ; preds = %43 %50 = call i32 @Test_WriteMultiPoints(i32 noundef 8, ptr noundef @.str.5) br label %138 51: ; preds = %43 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 1 %54 = load ptr, ptr %53, align 8 %55 = call i32 @atoi(ptr noundef %54) %56 = icmp eq i32 %55, 5 br i1 %56, label %57, label %59 57: ; preds = %51 %58 = call i32 @Test_WriteMultiPoints(i32 noundef 18, ptr noundef @.str.6) br label %137 59: ; preds = %51 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 1 %62 = load ptr, ptr %61, align 8 %63 = call i32 @atoi(ptr noundef %62) %64 = icmp eq i32 %63, 6 br i1 %64, label %65, label %67 65: ; preds = %59 %66 = call i32 @Test_WriteMultiPoints(i32 noundef 28, ptr noundef @.str.7) br label %136 67: ; preds = %59 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds ptr, ptr %68, i64 1 %70 = load ptr, ptr %69, align 8 %71 = call i32 @atoi(ptr noundef %70) %72 = icmp eq i32 %71, 7 br i1 %72, label %73, label %75 73: ; preds = %67 %74 = call i32 @Test_WriteArcPoly(i32 noundef 3, ptr noundef @.str.8) br label %135 75: ; preds = %67 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 1 %78 = load ptr, ptr %77, align 8 %79 = call i32 @atoi(ptr noundef %78) %80 = icmp eq i32 %79, 8 br i1 %80, label %81, label %83 81: ; preds = %75 %82 = call i32 @Test_WriteArcPoly(i32 noundef 13, ptr noundef @.str.9) br label %134 83: ; preds = %75 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds ptr, ptr %84, i64 1 %86 = load ptr, ptr %85, align 8 %87 = call i32 @atoi(ptr noundef %86) %88 = icmp eq i32 %87, 9 br i1 %88, label %89, label %91 89: ; preds = %83 %90 = call i32 @Test_WriteArcPoly(i32 noundef 23, ptr noundef @.str.10) br label %133 91: ; preds = %83 %92 = load ptr, ptr %5, align 8 %93 = getelementptr inbounds ptr, ptr %92, i64 1 %94 = load ptr, ptr %93, align 8 %95 = call i32 @atoi(ptr noundef %94) %96 = icmp eq i32 %95, 10 br i1 %96, label %97, label %99 97: ; preds = %91 %98 = call i32 @Test_WriteArcPoly(i32 noundef 5, ptr noundef @.str.11) br label %132 99: ; preds = %91 %100 = load ptr, ptr %5, align 8 %101 = getelementptr inbounds ptr, ptr %100, i64 1 %102 = load ptr, ptr %101, align 8 %103 = call i32 @atoi(ptr noundef %102) %104 = icmp eq i32 %103, 11 br i1 %104, label %105, label %107 105: ; preds = %99 %106 = call i32 @Test_WriteArcPoly(i32 noundef 15, ptr noundef @.str.12) br label %131 107: ; preds = %99 %108 = load ptr, ptr %5, align 8 %109 = getelementptr inbounds ptr, ptr %108, i64 1 %110 = load ptr, ptr %109, align 8 %111 = call i32 @atoi(ptr noundef %110) %112 = icmp eq i32 %111, 12 br i1 %112, label %113, label %115 113: ; preds = %107 %114 = call i32 @Test_WriteArcPoly(i32 noundef 25, ptr noundef @.str.13) br label %130 115: ; preds = %107 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds ptr, ptr %116, i64 1 %118 = load ptr, ptr %117, align 8 %119 = call i32 @atoi(ptr noundef %118) %120 = icmp eq i32 %119, 13 br i1 %120, label %121, label %123 121: ; preds = %115 %122 = call i32 @Test_WriteArcPoly(i32 noundef 31, ptr noundef @.str.14) br label %129 123: ; preds = %115 %124 = load ptr, ptr %5, align 8 %125 = getelementptr inbounds ptr, ptr %124, i64 1 %126 = load ptr, ptr %125, align 8 %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef %126) %128 = call i32 @exit(i32 noundef 10) #3 unreachable 129: ; preds = %121 br label %130 130: ; preds = %129, %113 br label %131 131: ; preds = %130, %105 br label %132 132: ; preds = %131, %97 br label %133 133: ; preds = %132, %89 br label %134 134: ; preds = %133, %81 br label %135 135: ; preds = %134, %73 br label %136 136: ; preds = %135, %65 br label %137 137: ; preds = %136, %57 br label %138 138: ; preds = %137, %49 br label %139 139: ; preds = %138, %41 br label %140 140: ; preds = %139, %33 br label %141 141: ; preds = %140, %25 br label %142 142: ; preds = %141, %17 %143 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @Test_WritePoints(i32 noundef, ptr noundef) #1 declare i32 @Test_WriteMultiPoints(i32 noundef, ptr noundef) #1 declare i32 @Test_WriteArcPoly(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" } 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/tmp_4ckl5lv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shptest test_number\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"test0.shp\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"test1.shp\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"test2.shp\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"test3.shp\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"test4.shp\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"test5.shp\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"test6.shp\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"test7.shp\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"test8.shp\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"test9.shp\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"test10.shp\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"test11.shp\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"test12.shp\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"test13.shp\00", align 1 @.str.15 = private unnamed_addr constant [27 x i8] c"Test `%s' not recognised.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %11 %18 = call i32 @Test_WritePoints(i32 noundef 0, ptr noundef @.str.1) br label %142 19: ; preds = %11 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %27 25: ; preds = %19 %26 = call i32 @Test_WritePoints(i32 noundef 1, ptr noundef @.str.2) br label %141 27: ; preds = %19 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) %32 = icmp eq i32 %31, 2 br i1 %32, label %33, label %35 33: ; preds = %27 %34 = call i32 @Test_WritePoints(i32 noundef 11, ptr noundef @.str.3) br label %140 35: ; preds = %27 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 @atoi(ptr noundef %38) %40 = icmp eq i32 %39, 3 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 @Test_WritePoints(i32 noundef 21, ptr noundef @.str.4) br label %139 43: ; preds = %35 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = call i32 @atoi(ptr noundef %46) %48 = icmp eq i32 %47, 4 br i1 %48, label %49, label %51 49: ; preds = %43 %50 = call i32 @Test_WriteMultiPoints(i32 noundef 8, ptr noundef @.str.5) br label %138 51: ; preds = %43 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 1 %54 = load ptr, ptr %53, align 8 %55 = call i32 @atoi(ptr noundef %54) %56 = icmp eq i32 %55, 5 br i1 %56, label %57, label %59 57: ; preds = %51 %58 = call i32 @Test_WriteMultiPoints(i32 noundef 18, ptr noundef @.str.6) br label %137 59: ; preds = %51 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 1 %62 = load ptr, ptr %61, align 8 %63 = call i32 @atoi(ptr noundef %62) %64 = icmp eq i32 %63, 6 br i1 %64, label %65, label %67 65: ; preds = %59 %66 = call i32 @Test_WriteMultiPoints(i32 noundef 28, ptr noundef @.str.7) br label %136 67: ; preds = %59 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds ptr, ptr %68, i64 1 %70 = load ptr, ptr %69, align 8 %71 = call i32 @atoi(ptr noundef %70) %72 = icmp eq i32 %71, 7 br i1 %72, label %73, label %75 73: ; preds = %67 %74 = call i32 @Test_WriteArcPoly(i32 noundef 3, ptr noundef @.str.8) br label %135 75: ; preds = %67 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 1 %78 = load ptr, ptr %77, align 8 %79 = call i32 @atoi(ptr noundef %78) %80 = icmp eq i32 %79, 8 br i1 %80, label %81, label %83 81: ; preds = %75 %82 = call i32 @Test_WriteArcPoly(i32 noundef 13, ptr noundef @.str.9) br label %134 83: ; preds = %75 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds ptr, ptr %84, i64 1 %86 = load ptr, ptr %85, align 8 %87 = call i32 @atoi(ptr noundef %86) %88 = icmp eq i32 %87, 9 br i1 %88, label %89, label %91 89: ; preds = %83 %90 = call i32 @Test_WriteArcPoly(i32 noundef 23, ptr noundef @.str.10) br label %133 91: ; preds = %83 %92 = load ptr, ptr %5, align 8 %93 = getelementptr inbounds ptr, ptr %92, i64 1 %94 = load ptr, ptr %93, align 8 %95 = call i32 @atoi(ptr noundef %94) %96 = icmp eq i32 %95, 10 br i1 %96, label %97, label %99 97: ; preds = %91 %98 = call i32 @Test_WriteArcPoly(i32 noundef 5, ptr noundef @.str.11) br label %132 99: ; preds = %91 %100 = load ptr, ptr %5, align 8 %101 = getelementptr inbounds ptr, ptr %100, i64 1 %102 = load ptr, ptr %101, align 8 %103 = call i32 @atoi(ptr noundef %102) %104 = icmp eq i32 %103, 11 br i1 %104, label %105, label %107 105: ; preds = %99 %106 = call i32 @Test_WriteArcPoly(i32 noundef 15, ptr noundef @.str.12) br label %131 107: ; preds = %99 %108 = load ptr, ptr %5, align 8 %109 = getelementptr inbounds ptr, ptr %108, i64 1 %110 = load ptr, ptr %109, align 8 %111 = call i32 @atoi(ptr noundef %110) %112 = icmp eq i32 %111, 12 br i1 %112, label %113, label %115 113: ; preds = %107 %114 = call i32 @Test_WriteArcPoly(i32 noundef 25, ptr noundef @.str.13) br label %130 115: ; preds = %107 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds ptr, ptr %116, i64 1 %118 = load ptr, ptr %117, align 8 %119 = call i32 @atoi(ptr noundef %118) %120 = icmp eq i32 %119, 13 br i1 %120, label %121, label %123 121: ; preds = %115 %122 = call i32 @Test_WriteArcPoly(i32 noundef 31, ptr noundef @.str.14) br label %129 123: ; preds = %115 %124 = load ptr, ptr %5, align 8 %125 = getelementptr inbounds ptr, ptr %124, i64 1 %126 = load ptr, ptr %125, align 8 %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef %126) %128 = call i32 @exit(i32 noundef 10) #3 unreachable 129: ; preds = %121 br label %130 130: ; preds = %129, %113 br label %131 131: ; preds = %130, %105 br label %132 132: ; preds = %131, %97 br label %133 133: ; preds = %132, %89 br label %134 134: ; preds = %133, %81 br label %135 135: ; preds = %134, %73 br label %136 136: ; preds = %135, %65 br label %137 137: ; preds = %136, %57 br label %138 138: ; preds = %137, %49 br label %139 139: ; preds = %138, %41 br label %140 140: ; preds = %139, %33 br label %141 141: ; preds = %140, %25 br label %142 142: ; preds = %141, %17 %143 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @Test_WritePoints(i32 noundef, ptr noundef) #1 declare i32 @Test_WriteMultiPoints(i32 noundef, ptr noundef) #1 declare i32 @Test_WriteArcPoly(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" } 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/tmptsc3v1_8.c' source_filename = "/tmp/tmptsc3v1_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" @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rewind(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @SEEK_SET, align 4 %5 = call i32 @fseek(ptr noundef %3, i32 noundef 0, i32 noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 @clearerr(ptr noundef %6) ret void } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @clearerr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptsc3v1_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" @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rewind(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @SEEK_SET, align 4 %5 = call i32 @fseek(ptr noundef %3, i32 noundef 0, i32 noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 @clearerr(ptr noundef %6) ret void } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @clearerr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw10cja04.c' source_filename = "/tmp/tmpw10cja04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @permute(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 %7 = 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 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %8, %9 br i1 %10, label %11, label %14 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) br label %36 14: ; preds = %3 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %7, align 4 br label %16 16: ; preds = %33, %14 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %20, label %36 20: ; preds = %16 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %7, align 4 %24 = call i32 @swap_char(ptr noundef %21, i32 noundef %22, i32 noundef %23) %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 %28 = load i32, ptr %6, align 4 call void @permute(ptr noundef %25, i32 noundef %27, i32 noundef %28) %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %7, align 4 %32 = call i32 @swap_char(ptr noundef %29, i32 noundef %30, i32 noundef %31) br label %33 33: ; preds = %20 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %16, !llvm.loop !6 36: ; preds = %11, %16 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @swap_char(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw10cja04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @permute(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 %7 = 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 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %8, %9 br i1 %10, label %11, label %14 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) br label %38 14: ; preds = %3 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %14 br label %19 19: ; preds = %.lr.ph, %32 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %7, align 4 %23 = call i32 @swap_char(ptr noundef %20, i32 noundef %21, i32 noundef %22) %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 %27 = load i32, ptr %6, align 4 call void @permute(ptr noundef %24, i32 noundef %26, i32 noundef %27) %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %7, align 4 %31 = call i32 @swap_char(ptr noundef %28, i32 noundef %29, i32 noundef %30) br label %32 32: ; preds = %19 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp sle i32 %35, %36 br i1 %37, label %19, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %32 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %14 br label %38 38: ; preds = %.loopexit, %11 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @swap_char(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1vooq6nx.c' source_filename = "/tmp/tmp1vooq6nx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Voyage encryption tool\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Input file open error\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"=> Input file opened...\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Output file open error\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Output file opened\0A\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"File read error\0A\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"File write error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [64 x ptr], align 16 %11 = 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 %12 = load i32, ptr @stdout, align 4 %13 = load i32, ptr @_IONBF, align 4 %14 = call i32 @setvbuf(i32 noundef %12, ptr noundef null, i32 noundef %13, i32 noundef 0) %15 = call ptr (...) @keygen() store ptr %15, ptr %11, align 8 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 3 br i1 %17, label %18, label %22 18: ; preds = %2 %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 = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1) store ptr %26, ptr %6, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %32 28: ; preds = %22 %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.2) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %22 %33 = load i32, ptr @stdout, align 4 %34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.3) br label %35 35: ; preds = %32 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.4) store ptr %39, ptr %7, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %45 41: ; preds = %35 %42 = load i32, ptr @stderr, align 4 %43 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.5) %44 = call i32 @exit(i32 noundef 1) #3 unreachable 45: ; preds = %35 %46 = load i32, ptr @stdout, align 4 %47 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str.6) br label %48 48: ; preds = %45 br label %49 49: ; preds = %78, %48 %50 = load ptr, ptr %6, align 8 %51 = call i64 @feof(ptr noundef %50) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %79 53: ; preds = %49 %54 = getelementptr inbounds [64 x ptr], ptr %10, i64 0, i64 0 %55 = load ptr, ptr %6, align 8 %56 = call i32 @fread(ptr noundef %54, i32 noundef 1, i32 noundef 64, ptr noundef %55) store i32 %56, ptr %8, align 4 %57 = icmp ne i32 %56, 100 br i1 %57, label %58, label %67 58: ; preds = %53 %59 = load ptr, ptr %6, align 8 %60 = call i64 @ferror(ptr noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %66 62: ; preds = %58 %63 = load i32, ptr @stderr, align 4 %64 = call i32 @fprintf(i32 noundef %63, ptr noundef @.str.7) %65 = call i32 @exit(i32 noundef 1) #3 unreachable 66: ; preds = %58 br label %67 67: ; preds = %66, %53 %68 = getelementptr inbounds [64 x ptr], ptr %10, i64 0, i64 0 %69 = load i32, ptr %8, align 4 %70 = load ptr, ptr %7, align 8 %71 = call i32 @fwrite(ptr noundef %68, i32 noundef 1, i32 noundef %69, ptr noundef %70) store i32 %71, ptr %9, align 4 %72 = load i32, ptr %8, align 4 %73 = icmp ne i32 %71, %72 br i1 %73, label %74, label %78 74: ; preds = %67 %75 = load i32, ptr @stderr, align 4 %76 = call i32 @fprintf(i32 noundef %75, ptr noundef @.str.8) %77 = call i32 @exit(i32 noundef 1) #3 unreachable 78: ; preds = %67 br label %49, !llvm.loop !6 79: ; preds = %49 %80 = load ptr, ptr %6, align 8 %81 = call i32 @fclose(ptr noundef %80) %82 = load ptr, ptr %7, align 8 %83 = call i32 @fclose(ptr noundef %82) ret i32 0 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @keygen(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp1vooq6nx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Voyage encryption tool\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Input file open error\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"=> Input file opened...\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Output file open error\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Output file opened\0A\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"File read error\0A\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"File write error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [64 x ptr], align 16 %11 = 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 %12 = load i32, ptr @stdout, align 4 %13 = load i32, ptr @_IONBF, align 4 %14 = call i32 @setvbuf(i32 noundef %12, ptr noundef null, i32 noundef %13, i32 noundef 0) %15 = call ptr (...) @keygen() store ptr %15, ptr %11, align 8 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 3 br i1 %17, label %18, label %22 18: ; preds = %2 %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 = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1) store ptr %26, ptr %6, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %32 28: ; preds = %22 %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.2) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %22 %33 = load i32, ptr @stdout, align 4 %34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.3) br label %35 35: ; preds = %32 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.4) store ptr %39, ptr %7, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %45 41: ; preds = %35 %42 = load i32, ptr @stderr, align 4 %43 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.5) %44 = call i32 @exit(i32 noundef 1) #3 unreachable 45: ; preds = %35 %46 = load i32, ptr @stdout, align 4 %47 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str.6) br label %48 48: ; preds = %45 %49 = load ptr, ptr %6, align 8 %50 = call i64 @feof(ptr noundef %49) %51 = icmp eq i64 %50, 0 br i1 %51, label %.lr.ph, label %81 .lr.ph: ; preds = %48 br label %56 52: ; preds = %70 %53 = load ptr, ptr %6, align 8 %54 = call i64 @feof(ptr noundef %53) %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %._crit_edge, !llvm.loop !6 56: ; preds = %.lr.ph, %52 %57 = getelementptr inbounds [64 x ptr], ptr %10, i64 0, i64 0 %58 = load ptr, ptr %6, align 8 %59 = call i32 @fread(ptr noundef %57, i32 noundef 1, i32 noundef 64, ptr noundef %58) store i32 %59, ptr %8, align 4 %60 = icmp ne i32 %59, 100 br i1 %60, label %61, label %70 61: ; preds = %56 %62 = load ptr, ptr %6, align 8 %63 = call i64 @ferror(ptr noundef %62) %64 = icmp ne i64 %63, 0 br i1 %64, label %65, label %69 65: ; preds = %61 %66 = load i32, ptr @stderr, align 4 %67 = call i32 @fprintf(i32 noundef %66, ptr noundef @.str.7) %68 = call i32 @exit(i32 noundef 1) #3 unreachable 69: ; preds = %61 br label %70 70: ; preds = %69, %56 %71 = getelementptr inbounds [64 x ptr], ptr %10, i64 0, i64 0 %72 = load i32, ptr %8, align 4 %73 = load ptr, ptr %7, align 8 %74 = call i32 @fwrite(ptr noundef %71, i32 noundef 1, i32 noundef %72, ptr noundef %73) store i32 %74, ptr %9, align 4 %75 = load i32, ptr %8, align 4 %76 = icmp ne i32 %74, %75 br i1 %76, label %77, label %52 77: ; preds = %70 %78 = load i32, ptr @stderr, align 4 %79 = call i32 @fprintf(i32 noundef %78, ptr noundef @.str.8) %80 = call i32 @exit(i32 noundef 1) #3 unreachable ._crit_edge: ; preds = %52 br label %81 81: ; preds = %._crit_edge, %48 %82 = load ptr, ptr %6, align 8 %83 = call i32 @fclose(ptr noundef %82) %84 = load ptr, ptr %7, align 8 %85 = call i32 @fclose(ptr noundef %84) ret i32 0 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @keygen(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpib7e82z8.c' source_filename = "/tmp/tmpib7e82z8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c" N\C3\BAmero Sorteado: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sorteio_chapeu() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %6, %0 %3 = call i32 (...) @rand() %4 = srem i32 %3, 19 %5 = sub nsw i32 %4, 9 store i32 %5, ptr %1, align 4 br label %6 6: ; preds = %2 %7 = load i32, ptr %1, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %2, label %9, !llvm.loop !6 9: ; preds = %6 %10 = load i32, ptr %1, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @rand(...) #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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpib7e82z8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c" N\C3\BAmero Sorteado: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sorteio_chapeu() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %6, %0 %3 = call i32 (...) @rand() %4 = srem i32 %3, 19 %5 = sub nsw i32 %4, 9 store i32 %5, ptr %1, align 4 br label %6 6: ; preds = %2 %7 = load i32, ptr %1, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %2, label %9, !llvm.loop !6 9: ; preds = %6 %10 = load i32, ptr %1, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @rand(...) #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"}
; ModuleID = '/tmp/tmpv56n8iay.c' source_filename = "/tmp/tmpv56n8iay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @right_uns_shfit32() %3 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @right_uns_shfit32(...) #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/tmpv56n8iay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @right_uns_shfit32() %3 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @right_uns_shfit32(...) #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/tmpvli5tylj.c' source_filename = "/tmp/tmpvli5tylj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvli5tylj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm9h3bvgv.c' source_filename = "/tmp/tmpm9h3bvgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chr_idx(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %24, %2 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %5, align 8 %9 = getelementptr inbounds i8, ptr %7, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %6 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr %4, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %18, %20 br label %22 22: ; preds = %13, %6 %23 = phi i1 [ false, %6 ], [ %21, %13 ] br i1 %23, label %24, label %27 24: ; preds = %22 %25 = load i64, ptr %5, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %5, align 8 br label %6, !llvm.loop !6 27: ; preds = %22 %28 = load ptr, ptr %3, align 8 %29 = load i64, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load i8, ptr %4, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %32, %34 br i1 %35, label %36, label %38 36: ; preds = %27 %37 = load i64, ptr %5, align 8 br label %39 38: ; preds = %27 br label %39 39: ; preds = %38, %36 %40 = phi i64 [ %37, %36 ], [ -1, %38 ] ret i64 %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpm9h3bvgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chr_idx(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %24, %2 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %5, align 8 %9 = getelementptr inbounds i8, ptr %7, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %6 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr %4, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %18, %20 br label %22 22: ; preds = %13, %6 %23 = phi i1 [ false, %6 ], [ %21, %13 ] br i1 %23, label %24, label %27 24: ; preds = %22 %25 = load i64, ptr %5, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %5, align 8 br label %6, !llvm.loop !6 27: ; preds = %22 %28 = load ptr, ptr %3, align 8 %29 = load i64, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load i8, ptr %4, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %32, %34 br i1 %35, label %36, label %38 36: ; preds = %27 %37 = load i64, ptr %5, align 8 br label %39 38: ; preds = %27 br label %39 39: ; preds = %38, %36 %40 = phi i64 [ %37, %36 ], [ -1, %38 ] ret i64 %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpuphiq1ek.c' source_filename = "/tmp/tmpuphiq1ek.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CEC_MSG_GIVE_TUNER_DEVICE_STATUS = dso_local global i64 0, align 8 @CEC_MSG_TUNER_DEVICE_STATUS = dso_local global i32 0, align 4 @CEC_OP_STATUS_REQ_OFF = dso_local global i64 0, 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/tmpuphiq1ek.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CEC_MSG_GIVE_TUNER_DEVICE_STATUS = dso_local global i64 0, align 8 @CEC_MSG_TUNER_DEVICE_STATUS = dso_local global i32 0, align 4 @CEC_OP_STATUS_REQ_OFF = dso_local global i64 0, 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/tmpvxwnrad6.c' source_filename = "/tmp/tmpvxwnrad6.c" target datalayout = "e-m:e-p270: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/tmpvxwnrad6.c" target datalayout = "e-m:e-p270: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/tmpse81gn7m.c' source_filename = "/tmp/tmpse81gn7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pg size %ld\0A\00", align 1 @_SC_PAGE_SIZE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @_SC_PAGE_SIZE, align 4 %3 = call i32 @sysconf(i32 noundef %2) %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sysconf(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/tmpse81gn7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pg size %ld\0A\00", align 1 @_SC_PAGE_SIZE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @_SC_PAGE_SIZE, align 4 %3 = call i32 @sysconf(i32 noundef %2) %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sysconf(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/tmp2xdmx1cg.c' source_filename = "/tmp/tmp2xdmx1cg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_end_of_slashes(ptr noundef nonnull %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i8, ptr %7, i32 1 store ptr %8, ptr %4, align 8 %9 = load i8, ptr %8, align 1 store i8 %9, ptr %5, align 1 br label %10 10: ; preds = %21, %1 %11 = load i8, ptr %5, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %25 14: ; preds = %10 %15 = load i8, ptr %5, align 1 %16 = call i32 @ch_is_slash(i8 noundef signext %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 store ptr %19, ptr %2, align 8 br label %26 20: ; preds = %14 br label %21 21: ; preds = %20 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 %24 = load i8, ptr %23, align 1 store i8 %24, ptr %5, align 1 br label %10, !llvm.loop !6 25: ; preds = %10 store ptr null, ptr %2, align 8 br label %26 26: ; preds = %25, %18 %27 = load ptr, ptr %2, align 8 ret ptr %27 } declare i32 @ch_is_slash(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2xdmx1cg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_end_of_slashes(ptr noundef nonnull %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i8, ptr %7, i32 1 store ptr %8, ptr %4, align 8 %9 = load i8, ptr %8, align 1 store i8 %9, ptr %5, align 1 %10 = load i8, ptr %5, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %20 %14 = load i8, ptr %5, align 1 %15 = call i32 @ch_is_slash(i8 noundef signext %14) %16 = icmp ne i32 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %2, align 8 br label %28 19: ; preds = %13 br label %20 20: ; preds = %19 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 %23 = load i8, ptr %22, align 1 store i8 %23, ptr %5, align 1 %24 = load i8, ptr %5, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %27 27: ; preds = %._crit_edge, %1 store ptr null, ptr %2, align 8 br label %28 28: ; preds = %27, %17 %29 = load ptr, ptr %2, align 8 ret ptr %29 } declare i32 @ch_is_slash(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppsumr47f.c' source_filename = "/tmp/tmppsumr47f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReadWordIndex(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [10000 x i8], align 16 store ptr %0, ptr %3, align 8 %5 = getelementptr inbounds [10000 x i8], ptr %4, i64 0, i64 0 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ReadWord(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i64 @feof(ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 -1, ptr %2, align 4 br label %15 12: ; preds = %1 %13 = getelementptr inbounds [10000 x i8], ptr %4, i64 0, i64 0 %14 = call i32 @SearchVocab(ptr noundef %13) store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %12, %11 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @ReadWord(ptr noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @SearchVocab(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppsumr47f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReadWordIndex(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [10000 x i8], align 16 store ptr %0, ptr %3, align 8 %5 = getelementptr inbounds [10000 x i8], ptr %4, i64 0, i64 0 %6 = load ptr, ptr %3, align 8 %7 = call i32 @ReadWord(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i64 @feof(ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %1 store i32 -1, ptr %2, align 4 br label %15 12: ; preds = %1 %13 = getelementptr inbounds [10000 x i8], ptr %4, i64 0, i64 0 %14 = call i32 @SearchVocab(ptr noundef %13) store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %12, %11 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @ReadWord(ptr noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @SearchVocab(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpibuhei5v.c' source_filename = "/tmp/tmpibuhei5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"/pwdmanlib/certs/server.pem\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"/pwdmanlib/certs/server.key\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"/pwdmanlib/certs2/rootCA.pem\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"initServerCTX() error: ctx is NULL\00", align 1 @SSL_VERIFY_PEER = dso_local global i32 0, align 4 @SSL_VERIFY_FAIL_IF_NO_PEER_CERT = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [20 x i8] c"SSL_accept() error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @configServerSSL(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr @.str, ptr %5, align 8 store ptr @.str.1, ptr %6, align 8 store ptr @.str.2, ptr %7, align 8 store ptr null, ptr %8, align 8 %11 = call i32 (...) @initSSL() %12 = call ptr (...) @initServerCTX() store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %9, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %1 %16 = call i32 @printSSLErr(ptr noundef @.str.3) br label %17 17: ; preds = %15, %1 %18 = load ptr, ptr %9, align 8 %19 = load i32, ptr @SSL_VERIFY_PEER, align 4 %20 = load i32, ptr @SSL_VERIFY_FAIL_IF_NO_PEER_CERT, align 4 %21 = or i32 %19, %20 %22 = call i32 @SSL_CTX_set_verify(ptr noundef %18, i32 noundef %21, ptr noundef null) %23 = load ptr, ptr %9, align 8 %24 = call i32 @SSL_CTX_set_verify_depth(ptr noundef %23, i32 noundef 4) %25 = load ptr, ptr %9, align 8 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %6, align 8 %28 = call i32 @loadCerts(ptr noundef %25, ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %9, align 8 %30 = call ptr @SSL_new(ptr noundef %29) store ptr %30, ptr %10, align 8 %31 = load ptr, ptr %10, align 8 %32 = call i32 @showCerts(ptr noundef %31) %33 = load ptr, ptr %10, align 8 %34 = load i32, ptr %2, align 4 %35 = call i32 @SSL_set_fd(ptr noundef %33, i32 noundef %34) %36 = load ptr, ptr %10, align 8 %37 = call i32 @SSL_accept(ptr noundef %36) store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp sle i32 %38, 0 br i1 %39, label %40, label %47 40: ; preds = %17 %41 = load i32, ptr @stderr, align 4 %42 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.4) %43 = load ptr, ptr %10, align 8 %44 = load ptr, ptr %9, align 8 %45 = call i32 @shutdownSSL(ptr noundef %43, ptr noundef %44) %46 = call i32 @exit(i32 noundef 1) #3 unreachable 47: ; preds = %17 %48 = load ptr, ptr %10, align 8 ret ptr %48 } declare i32 @initSSL(...) #1 declare ptr @initServerCTX(...) #1 declare i32 @printSSLErr(ptr noundef) #1 declare i32 @SSL_CTX_set_verify(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @SSL_CTX_set_verify_depth(ptr noundef, i32 noundef) #1 declare i32 @loadCerts(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @SSL_new(ptr noundef) #1 declare i32 @showCerts(ptr noundef) #1 declare i32 @SSL_set_fd(ptr noundef, i32 noundef) #1 declare i32 @SSL_accept(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @shutdownSSL(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpibuhei5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"/pwdmanlib/certs/server.pem\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"/pwdmanlib/certs/server.key\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"/pwdmanlib/certs2/rootCA.pem\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"initServerCTX() error: ctx is NULL\00", align 1 @SSL_VERIFY_PEER = dso_local global i32 0, align 4 @SSL_VERIFY_FAIL_IF_NO_PEER_CERT = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [20 x i8] c"SSL_accept() error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @configServerSSL(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr @.str, ptr %5, align 8 store ptr @.str.1, ptr %6, align 8 store ptr @.str.2, ptr %7, align 8 store ptr null, ptr %8, align 8 %11 = call i32 (...) @initSSL() %12 = call ptr (...) @initServerCTX() store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %9, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %1 %16 = call i32 @printSSLErr(ptr noundef @.str.3) br label %17 17: ; preds = %15, %1 %18 = load ptr, ptr %9, align 8 %19 = load i32, ptr @SSL_VERIFY_PEER, align 4 %20 = load i32, ptr @SSL_VERIFY_FAIL_IF_NO_PEER_CERT, align 4 %21 = or i32 %19, %20 %22 = call i32 @SSL_CTX_set_verify(ptr noundef %18, i32 noundef %21, ptr noundef null) %23 = load ptr, ptr %9, align 8 %24 = call i32 @SSL_CTX_set_verify_depth(ptr noundef %23, i32 noundef 4) %25 = load ptr, ptr %9, align 8 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %6, align 8 %28 = call i32 @loadCerts(ptr noundef %25, ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %9, align 8 %30 = call ptr @SSL_new(ptr noundef %29) store ptr %30, ptr %10, align 8 %31 = load ptr, ptr %10, align 8 %32 = call i32 @showCerts(ptr noundef %31) %33 = load ptr, ptr %10, align 8 %34 = load i32, ptr %2, align 4 %35 = call i32 @SSL_set_fd(ptr noundef %33, i32 noundef %34) %36 = load ptr, ptr %10, align 8 %37 = call i32 @SSL_accept(ptr noundef %36) store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp sle i32 %38, 0 br i1 %39, label %40, label %47 40: ; preds = %17 %41 = load i32, ptr @stderr, align 4 %42 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.4) %43 = load ptr, ptr %10, align 8 %44 = load ptr, ptr %9, align 8 %45 = call i32 @shutdownSSL(ptr noundef %43, ptr noundef %44) %46 = call i32 @exit(i32 noundef 1) #3 unreachable 47: ; preds = %17 %48 = load ptr, ptr %10, align 8 ret ptr %48 } declare i32 @initSSL(...) #1 declare ptr @initServerCTX(...) #1 declare i32 @printSSLErr(ptr noundef) #1 declare i32 @SSL_CTX_set_verify(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @SSL_CTX_set_verify_depth(ptr noundef, i32 noundef) #1 declare i32 @loadCerts(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @SSL_new(ptr noundef) #1 declare i32 @showCerts(ptr noundef) #1 declare i32 @SSL_set_fd(ptr noundef, i32 noundef) #1 declare i32 @SSL_accept(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @shutdownSSL(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpofesg1yb.c' source_filename = "/tmp/tmpofesg1yb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_TEXTURE_2D = dso_local global i32 0, align 4 @GL_LESS = dso_local global i32 0, align 4 @GL_DEPTH_TEST = dso_local global i32 0, align 4 @GL_SMOOTH = dso_local global i32 0, align 4 @__const.init.mat_specular = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16 @__const.init.mat_shininess = private unnamed_addr constant [1 x double] [double 5.000000e+01], align 8 @__const.init.light_position = private unnamed_addr constant [4 x double] [double 1.000000e+01, double -1.000000e+00, double 3.000000e+00, double 1.000000e+00], align 16 @GL_FRONT = dso_local global i32 0, align 4 @GL_SPECULAR = dso_local global i32 0, align 4 @GL_SHININESS = dso_local global i32 0, align 4 @GL_LIGHT0 = dso_local global i32 0, align 4 @GL_POSITION = dso_local global i32 0, align 4 @GL_PROJECTION = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init() #0 { %1 = alloca [4 x double], align 16 %2 = alloca [1 x double], align 8 %3 = alloca [4 x double], align 16 %4 = call i32 (...) @LoadTexture() %5 = load i32, ptr @GL_TEXTURE_2D, align 4 %6 = call i32 @glEnable(i32 noundef %5) %7 = call i32 @glClearColor(float noundef 0x3FE81817C0000000, float noundef 0x3FE81817C0000000, float noundef 0x3FE81817C0000000, float noundef 0.000000e+00) %8 = call i32 @glClearDepth(double noundef 1.000000e+00) %9 = load i32, ptr @GL_LESS, align 4 %10 = call i32 @glDepthFunc(i32 noundef %9) %11 = load i32, ptr @GL_DEPTH_TEST, align 4 %12 = call i32 @glEnable(i32 noundef %11) %13 = load i32, ptr @GL_SMOOTH, align 4 %14 = call i32 @glShadeModel(i32 noundef %13) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.init.mat_specular, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 @__const.init.mat_shininess, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.init.light_position, i64 32, i1 false) %15 = load i32, ptr @GL_FRONT, align 4 %16 = load i32, ptr @GL_SPECULAR, align 4 %17 = getelementptr inbounds [4 x double], ptr %1, i64 0, i64 0 %18 = call i32 @glMaterialfv(i32 noundef %15, i32 noundef %16, ptr noundef %17) %19 = load i32, ptr @GL_FRONT, align 4 %20 = load i32, ptr @GL_SHININESS, align 4 %21 = getelementptr inbounds [1 x double], ptr %2, i64 0, i64 0 %22 = call i32 @glMaterialfv(i32 noundef %19, i32 noundef %20, ptr noundef %21) %23 = load i32, ptr @GL_LIGHT0, align 4 %24 = load i32, ptr @GL_POSITION, align 4 %25 = getelementptr inbounds [4 x double], ptr %3, i64 0, i64 0 %26 = call i32 @glLightfv(i32 noundef %23, i32 noundef %24, ptr noundef %25) %27 = load i32, ptr @GL_PROJECTION, align 4 %28 = call i32 @glMatrixMode(i32 noundef %27) %29 = call i32 (...) @glLoadIdentity() %30 = call i32 @gluPerspective(float noundef 4.500000e+01, double noundef 0x3FFAAAAAAAAAAAAB, float noundef 0x3FB99999A0000000, float noundef 1.000000e+02) %31 = call i32 @glutIgnoreKeyRepeat(i32 noundef 1) ret void } declare i32 @LoadTexture(...) #1 declare i32 @glEnable(i32 noundef) #1 declare i32 @glClearColor(float noundef, float noundef, float noundef, float noundef) #1 declare i32 @glClearDepth(double noundef) #1 declare i32 @glDepthFunc(i32 noundef) #1 declare i32 @glShadeModel(i32 noundef) #1 ; 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) #2 declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @glLightfv(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @gluPerspective(float noundef, double noundef, float noundef, float noundef) #1 declare i32 @glutIgnoreKeyRepeat(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpofesg1yb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_TEXTURE_2D = dso_local global i32 0, align 4 @GL_LESS = dso_local global i32 0, align 4 @GL_DEPTH_TEST = dso_local global i32 0, align 4 @GL_SMOOTH = dso_local global i32 0, align 4 @__const.init.mat_specular = private unnamed_addr constant [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00], align 16 @__const.init.mat_shininess = private unnamed_addr constant [1 x double] [double 5.000000e+01], align 8 @__const.init.light_position = private unnamed_addr constant [4 x double] [double 1.000000e+01, double -1.000000e+00, double 3.000000e+00, double 1.000000e+00], align 16 @GL_FRONT = dso_local global i32 0, align 4 @GL_SPECULAR = dso_local global i32 0, align 4 @GL_SHININESS = dso_local global i32 0, align 4 @GL_LIGHT0 = dso_local global i32 0, align 4 @GL_POSITION = dso_local global i32 0, align 4 @GL_PROJECTION = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init() #0 { %1 = alloca [4 x double], align 16 %2 = alloca [1 x double], align 8 %3 = alloca [4 x double], align 16 %4 = call i32 (...) @LoadTexture() %5 = load i32, ptr @GL_TEXTURE_2D, align 4 %6 = call i32 @glEnable(i32 noundef %5) %7 = call i32 @glClearColor(float noundef 0x3FE81817C0000000, float noundef 0x3FE81817C0000000, float noundef 0x3FE81817C0000000, float noundef 0.000000e+00) %8 = call i32 @glClearDepth(double noundef 1.000000e+00) %9 = load i32, ptr @GL_LESS, align 4 %10 = call i32 @glDepthFunc(i32 noundef %9) %11 = load i32, ptr @GL_DEPTH_TEST, align 4 %12 = call i32 @glEnable(i32 noundef %11) %13 = load i32, ptr @GL_SMOOTH, align 4 %14 = call i32 @glShadeModel(i32 noundef %13) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.init.mat_specular, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 @__const.init.mat_shininess, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.init.light_position, i64 32, i1 false) %15 = load i32, ptr @GL_FRONT, align 4 %16 = load i32, ptr @GL_SPECULAR, align 4 %17 = getelementptr inbounds [4 x double], ptr %1, i64 0, i64 0 %18 = call i32 @glMaterialfv(i32 noundef %15, i32 noundef %16, ptr noundef %17) %19 = load i32, ptr @GL_FRONT, align 4 %20 = load i32, ptr @GL_SHININESS, align 4 %21 = getelementptr inbounds [1 x double], ptr %2, i64 0, i64 0 %22 = call i32 @glMaterialfv(i32 noundef %19, i32 noundef %20, ptr noundef %21) %23 = load i32, ptr @GL_LIGHT0, align 4 %24 = load i32, ptr @GL_POSITION, align 4 %25 = getelementptr inbounds [4 x double], ptr %3, i64 0, i64 0 %26 = call i32 @glLightfv(i32 noundef %23, i32 noundef %24, ptr noundef %25) %27 = load i32, ptr @GL_PROJECTION, align 4 %28 = call i32 @glMatrixMode(i32 noundef %27) %29 = call i32 (...) @glLoadIdentity() %30 = call i32 @gluPerspective(float noundef 4.500000e+01, double noundef 0x3FFAAAAAAAAAAAAB, float noundef 0x3FB99999A0000000, float noundef 1.000000e+02) %31 = call i32 @glutIgnoreKeyRepeat(i32 noundef 1) ret void } declare i32 @LoadTexture(...) #1 declare i32 @glEnable(i32 noundef) #1 declare i32 @glClearColor(float noundef, float noundef, float noundef, float noundef) #1 declare i32 @glClearDepth(double noundef) #1 declare i32 @glDepthFunc(i32 noundef) #1 declare i32 @glShadeModel(i32 noundef) #1 ; 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) #2 declare i32 @glMaterialfv(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @glLightfv(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @gluPerspective(float noundef, double noundef, float noundef, float noundef) #1 declare i32 @glutIgnoreKeyRepeat(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_vwae4ya.c' source_filename = "/tmp/tmp_vwae4ya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convertToTitle(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %7 = call i64 @malloc(i32 noundef 10) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %12, %1 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %26 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = sub nsw i32 %13, 1 %15 = srem i32 %14, 26 %16 = add nsw i32 %15, 65 %17 = trunc i32 %16 to i8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = sext i32 %19 to i64 %22 = getelementptr inbounds i8, ptr %18, i64 %21 store i8 %17, ptr %22, align 1 %23 = load i32, ptr %2, align 4 %24 = sub nsw i32 %23, 1 %25 = sdiv i32 %24, 26 store i32 %25, ptr %2, align 4 br label %9, !llvm.loop !6 26: ; preds = %9 store i32 0, ptr %5, align 4 br label %27 27: ; preds = %58, %26 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = sdiv i32 %29, 2 %31 = icmp slt i32 %28, %30 br i1 %31, label %32, label %61 32: ; preds = %27 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 store i8 %37, ptr %6, align 1 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %5, align 4 %41 = sub nsw i32 %39, %40 %42 = sub nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %38, i64 %43 %45 = load i8, ptr %44, align 1 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %5, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 store i8 %45, ptr %49, align 1 %50 = load i8, ptr %6, align 1 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %5, align 4 %54 = sub nsw i32 %52, %53 %55 = sub nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %51, i64 %56 store i8 %50, ptr %57, align 1 br label %58 58: ; preds = %32 %59 = load i32, ptr %5, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %5, align 4 br label %27, !llvm.loop !8 61: ; preds = %27 %62 = load ptr, ptr %3, align 8 ret ptr %62 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_vwae4ya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convertToTitle(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %7 = call i64 @malloc(i32 noundef 10) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 store i32 0, ptr %4, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %2, align 4 %13 = sub nsw i32 %12, 1 %14 = srem i32 %13, 26 %15 = add nsw i32 %14, 65 %16 = trunc i32 %15 to i8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = sext i32 %18 to i64 %21 = getelementptr inbounds i8, ptr %17, i64 %20 store i8 %16, ptr %21, align 1 %22 = load i32, ptr %2, align 4 %23 = sub nsw i32 %22, 1 %24 = sdiv i32 %23, 26 store i32 %24, ptr %2, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %27 27: ; preds = %._crit_edge, %1 store i32 0, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = sdiv i32 %29, 2 %31 = icmp slt i32 %28, %30 br i1 %31, label %.lr.ph2, label %65 .lr.ph2: ; preds = %27 br label %32 32: ; preds = %.lr.ph2, %58 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 store i8 %37, ptr %6, align 1 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %5, align 4 %41 = sub nsw i32 %39, %40 %42 = sub nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %38, i64 %43 %45 = load i8, ptr %44, align 1 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %5, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 store i8 %45, ptr %49, align 1 %50 = load i8, ptr %6, align 1 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %5, align 4 %54 = sub nsw i32 %52, %53 %55 = sub nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %51, i64 %56 store i8 %50, ptr %57, align 1 br label %58 58: ; preds = %32 %59 = load i32, ptr %5, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %5, align 4 %61 = load i32, ptr %5, align 4 %62 = load i32, ptr %4, align 4 %63 = sdiv i32 %62, 2 %64 = icmp slt i32 %61, %63 br i1 %64, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %58 br label %65 65: ; preds = %._crit_edge3, %27 %66 = load ptr, ptr %3, align 8 ret ptr %66 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnn7allsz.c' source_filename = "/tmp/tmpnn7allsz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curs_pl(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 %6 = load ptr, ptr %4, align 8 %7 = call i32 @sum(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp sle i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %5, align 4 br label %11 11: ; preds = %10, %2 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sub nsw i32 0, %13 %15 = call i32 @move_cursor(ptr noundef %12, i32 noundef %14, i32 noundef 0) %16 = load ptr, ptr %3, align 8 %17 = call i32 @cr(ptr noundef %16) ret void } declare i32 @sum(ptr noundef) #1 declare i32 @move_cursor(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @cr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnn7allsz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curs_pl(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 %6 = load ptr, ptr %4, align 8 %7 = call i32 @sum(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp sle i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %5, align 4 br label %11 11: ; preds = %10, %2 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sub nsw i32 0, %13 %15 = call i32 @move_cursor(ptr noundef %12, i32 noundef %14, i32 noundef 0) %16 = load ptr, ptr %3, align 8 %17 = call i32 @cr(ptr noundef %16) ret void } declare i32 @sum(ptr noundef) #1 declare i32 @move_cursor(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @cr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_bmnlnmd.c' source_filename = "/tmp/tmp_bmnlnmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Oh, no, it's %d!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 13, ptr %2, align 4 %3 = call i32 @peasoup(ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @peasoup(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_bmnlnmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Oh, no, it's %d!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 13, ptr %2, align 4 %3 = call i32 @peasoup(ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @peasoup(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0qyqn6nk.c' source_filename = "/tmp/tmp0qyqn6nk.c" target datalayout = "e-m:e-p270: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/tmp0qyqn6nk.c" target datalayout = "e-m:e-p270: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/tmprcxhng0g.c' source_filename = "/tmp/tmprcxhng0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Podaj sw\C3\B3j wzrost: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lf\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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %6 = load double, ptr %3, align 8 %7 = fdiv double %6, 2.540000e+00 store double %7, ptr %2, align 8 %8 = load double, ptr %2, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprcxhng0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Podaj sw\C3\B3j wzrost: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lf\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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %6 = load double, ptr %3, align 8 %7 = fdiv double %6, 2.540000e+00 store double %7, ptr %2, align 8 %8 = load double, ptr %2, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8_g6_bbd.c' source_filename = "/tmp/tmp8_g6_bbd.c" target datalayout = "e-m:e-p270: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/tmp8_g6_bbd.c" target datalayout = "e-m:e-p270: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/tmp74pedofo.c' source_filename = "/tmp/tmp74pedofo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NextStr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %18 7: ; preds = %1 br label %8 8: ; preds = %13, %7 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = call i64 @isBlank(i8 noundef signext %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 br label %8, !llvm.loop !6 16: ; preds = %8 %17 = load ptr, ptr %3, align 8 store ptr %17, ptr %2, align 8 br label %18 18: ; preds = %16, %6 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare i64 @isBlank(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp74pedofo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NextStr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %21 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = call i64 @isBlank(i8 noundef signext %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %.lr.ph, label %19 .lr.ph: ; preds = %7 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %3, align 8 %15 = load ptr, ptr %3, align 8 %16 = load i8, ptr %15, align 1 %17 = call i64 @isBlank(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %19 19: ; preds = %._crit_edge, %7 %20 = load ptr, ptr %3, align 8 store ptr %20, ptr %2, align 8 br label %21 21: ; preds = %19, %6 %22 = load ptr, ptr %2, align 8 ret ptr %22 } declare i64 @isBlank(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsyl2pgyv.c' source_filename = "/tmp/tmpsyl2pgyv.c" target datalayout = "e-m:e-p270: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/tmpsyl2pgyv.c" target datalayout = "e-m:e-p270: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/tmpzey0i7c3.c' source_filename = "/tmp/tmpzey0i7c3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i32 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33 store i32 %31, ptr %34, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, -344616211 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 br label %48 48: ; preds = %51, %47 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 br label %48, !llvm.loop !8 59: ; preds = %48 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzey0i7c3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %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 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i32 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32 store i32 %30, ptr %33, align 4 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, -344616211 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %38 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %.lr.ph2, label %61 .lr.ph2: ; preds = %48 br label %51 51: ; preds = %.lr.ph2, %51 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %59, 1 br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %61 61: ; preds = %._crit_edge3, %48 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpyxztu720.c' source_filename = "/tmp/tmpyxztu720.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hung_ai(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load i32, ptr %10, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %5 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @run_away(ptr noundef %14, ptr noundef %15) br label %22 17: ; preds = %5 %18 = load ptr, ptr %7, align 8 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %9, align 4 %21 = call i32 @hunt(ptr noundef %18, ptr noundef %19, i32 noundef %20) br label %22 22: ; preds = %17, %13 ret void } declare i32 @run_away(ptr noundef, ptr noundef) #1 declare i32 @hunt(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/tmpyxztu720.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hung_ai(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load i32, ptr %10, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %5 %14 = load ptr, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @run_away(ptr noundef %14, ptr noundef %15) br label %22 17: ; preds = %5 %18 = load ptr, ptr %7, align 8 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %9, align 4 %21 = call i32 @hunt(ptr noundef %18, ptr noundef %19, i32 noundef %20) br label %22 22: ; preds = %17, %13 ret void } declare i32 @run_away(ptr noundef, ptr noundef) #1 declare i32 @hunt(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/tmp4ts779lg.c' source_filename = "/tmp/tmp4ts779lg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8180_spib_bulkwrite(ptr noundef %0, i16 noundef zeroext %1, ptr noundef %2, i16 noundef zeroext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca ptr, align 8 %8 = alloca i16, align 2 %9 = alloca i32, align 4 %10 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store ptr %2, ptr %7, align 8 store i16 %3, ptr %8, align 2 store i8 -128, ptr %10, align 1 %11 = call i32 (...) @OAL_OBTAIN_SEMAPHORE() %12 = load ptr, ptr %5, align 8 %13 = load i16, ptr %6, align 2 %14 = load i8, ptr %10, align 1 %15 = load ptr, ptr %7, align 8 %16 = load i16, ptr %8, align 2 %17 = call i32 @spi_bulkwrite(ptr noundef %12, i16 noundef zeroext %13, i8 noundef zeroext %14, ptr noundef %15, i16 noundef zeroext %16) store i32 %17, ptr %9, align 4 %18 = call i32 (...) @OAL_RELEASE_SEMAPHORE() %19 = load i32, ptr %9, align 4 ret i32 %19 } declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1 declare i32 @spi_bulkwrite(ptr noundef, i16 noundef zeroext, i8 noundef zeroext, ptr noundef, i16 noundef zeroext) #1 declare i32 @OAL_RELEASE_SEMAPHORE(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4ts779lg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8180_spib_bulkwrite(ptr noundef %0, i16 noundef zeroext %1, ptr noundef %2, i16 noundef zeroext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca ptr, align 8 %8 = alloca i16, align 2 %9 = alloca i32, align 4 %10 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store ptr %2, ptr %7, align 8 store i16 %3, ptr %8, align 2 store i8 -128, ptr %10, align 1 %11 = call i32 (...) @OAL_OBTAIN_SEMAPHORE() %12 = load ptr, ptr %5, align 8 %13 = load i16, ptr %6, align 2 %14 = load i8, ptr %10, align 1 %15 = load ptr, ptr %7, align 8 %16 = load i16, ptr %8, align 2 %17 = call i32 @spi_bulkwrite(ptr noundef %12, i16 noundef zeroext %13, i8 noundef zeroext %14, ptr noundef %15, i16 noundef zeroext %16) store i32 %17, ptr %9, align 4 %18 = call i32 (...) @OAL_RELEASE_SEMAPHORE() %19 = load i32, ptr %9, align 4 ret i32 %19 } declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1 declare i32 @spi_bulkwrite(ptr noundef, i16 noundef zeroext, i8 noundef zeroext, ptr noundef, i16 noundef zeroext) #1 declare i32 @OAL_RELEASE_SEMAPHORE(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp41gjny6u.c' source_filename = "/tmp/tmp41gjny6u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EACCES = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open(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 @EACCES, align 4 store i32 %5, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp41gjny6u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EACCES = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open(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 @EACCES, align 4 store i32 %5, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}